Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 22 Jul 2001 17:18:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 22 Jul 2001 17:17:59 -0400 Received: from cx97923-a.phnx3.az.home.com ([24.9.112.194]:13468 "EHLO grok.yi.org") by vger.kernel.org with ESMTP id ; Sun, 22 Jul 2001 17:17:48 -0400 Message-ID: <3B5B42FE.D80E8128@candelatech.com> Date: Sun, 22 Jul 2001 14:17:50 -0700 From: Ben Greear Organization: Candela Technologies X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Linus Torvalds CC: Jeff Garzik , linux-kernel@vger.kernel.org Subject: Re: [BUG REPORT] Sony VAIO, 2.4.7: CardBus failures with Tulip & 3c575 cards. In-Reply-To: <200107222059.f6MKx2212465@penguin.transmeta.com> Content-Type: multipart/mixed; boundary="------------75E2E2B8AF346B3DF2C4FB8A" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Original-Recipient: rfc822;linux-kernel-outgoing This is a multi-part message in MIME format. --------------75E2E2B8AF346B3DF2C4FB8A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Linus Torvalds wrote: > > In article <3B5B1F77.D8B45FFA@candelatech.com> you write: > > > >This report contains information about my failure to get my > >CardBus NICs working correctly. Hardware involved is: > > > >Sony VAIO PCG-FX210 laptop (800Mhz Duron...) > >DFE-650 16-bit PCMCIA NIC x2 > >3Com Megahertz 32-bit 3CCFE575BT NIC x2 > >AmbiCom 32-bit 8100 NIC (tulip) x2 > > This looks suspiciously like your slot #1 gets the PCI interrupt routing > wrong. > > Note especially the kernel reports: > > Linux Kernel Card Services 3.1.22 > options: [pci] [cardbus] [pm] > PCI: Assigned IRQ 9 for device 00:0a.0 > PCI: Assigned IRQ 10 for device 00:0a.1 > IRQ routing conflict for 00:07.5, have irq 5, want irq 10 > IRQ routing conflict for 00:07.6, have irq 5, want irq 10 > PCI: Sharing IRQ 10 with 00:10.0 > > it really looks like your slot 1 controller (00:0a.1) really wants irq5, > based on the fact that other devices are reported to have irq5. > > However, if they _really_ have irq5 already routed, I'm surprised that > the PCI irq router "r->get()" function didn't pick up on that fact, and > that the "set" function apparently didn't work correctly. Would this explain why I can get the 16-bit card to pass traffic, though in a limited fashion? > > So I'd guess that when you insert a card in slot #1, you get a constant > stream of interrupts on irq5, which is not where the kernel is expecting > them, so your machine locks up. > > Can you do the following: > - run dump_pirq on your machine (attached) It wasn't attached to the email I received. Could you either send it again or tell me where to find it? > - run "lspci -vvxxx" as root That is attached. > > send me and Jeff the output. Jeff also suggested enabling debugging in > yenta.c and that might be useful too. I'll do that now and will send shortly. Thanks, Ben > > Linus > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Ben Greear President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear --------------75E2E2B8AF346B3DF2C4FB8A Content-Type: text/plain; charset=us-ascii; name="lspci_verbose.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lspci_verbose.txt" 00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03) Subsystem: Sony Corporation: Unknown device 803d Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00: 06 11 05 03 06 00 10 a2 03 00 00 06 00 08 00 00 10: 08 00 00 f8 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 3d 80 30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 16 f4 fb b4 47 89 08 08 e8 e0 00 00 04 08 08 08 60: 3f aa c0 a0 00 12 00 00 40 2c 65 03 00 7f 00 00 70: c6 88 cc 0c 0e 81 e2 00 01 f4 11 02 00 00 00 04 80: 0f 40 00 00 c0 00 00 00 02 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 a0: 02 c0 20 00 03 02 00 1f 00 00 00 00 2b 12 00 63 b0: db 63 22 50 11 ff 00 0e 47 00 00 00 00 00 00 00 c0: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 03 03 00 22 00 00 00 00 00 00 00 00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b115 (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00: 06 11 15 b1 07 00 30 22 00 00 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 00 90 90 00 00 20: 10 f4 f0 f5 f0 ff 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 0c 00 40: cb cd 00 44 24 72 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 01 00 02 02 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22) Subsystem: Sony Corporation: Unknown device 803d Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- 16bInt- PostWrite+ 16-bit legacy interface ports at 0001 00: 4c 10 51 ac 07 00 10 02 00 00 07 06 08 a8 82 00 10: 00 00 00 10 a0 00 00 22 00 02 05 b0 00 00 40 10 20: 00 f0 7f 10 00 00 80 10 00 f0 bf 10 00 20 00 00 30: fc 20 00 00 00 24 00 00 fc 24 00 00 09 01 00 05 40: 4d 10 e3 80 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 61 b0 44 08 00 00 00 00 00 00 00 00 22 12 2c 01 90: c0 a3 66 61 00 00 00 00 00 00 00 00 00 00 00 00 a0: 01 00 11 fe 00 80 c0 00 03 08 00 00 1f 00 00 00 b0: 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:0a.1 CardBus bridge: Texas Instruments PCI1420 Subsystem: Sony Corporation: Unknown device 80e3 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- 16bInt- PostWrite+ 16-bit legacy interface ports at 0001 00: 4c 10 51 ac 07 00 10 02 00 00 07 06 08 a8 82 00 10: 00 10 00 10 a0 00 00 e2 00 06 09 b0 00 00 c0 10 20: 00 f0 ff 10 00 00 00 11 00 f0 3f 11 00 28 00 00 30: fc 28 00 00 00 2c 00 00 fc 2c 00 00 0a 02 00 05 40: 4d 10 e3 80 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 61 b0 44 08 00 00 00 00 00 00 00 00 22 12 2c 01 90: c0 a3 66 61 00 00 00 00 00 00 00 00 00 00 00 00 a0: 01 00 11 fe 00 80 c0 00 03 08 00 00 1f 00 00 00 b0: 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:0e.0 FireWire (IEEE 1394): Texas Instruments: Unknown device 8020 (prog-if 10 [OHCI]) Subsystem: Sony Corporation: Unknown device 80e3 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [50] AGP version 1.0 Status: RQ=255 SBA+ 64bit- FW- Rate=x1,x2 Command: RQ=0 SBA- AGP- 64bit- FW- Rate= Capabilities: [5c] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00: 02 10 4d 4c 87 00 90 02 64 00 00 03 08 42 00 00 10: 00 00 00 f5 01 90 00 00 00 00 10 f4 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 e3 80 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 08 00 40: 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 02 5c 10 00 03 02 00 ff 00 00 00 00 01 00 01 06 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02:00.0 Ethernet controller: 3Com Corporation 3CCFE575BT Cyclone CardBus (rev 01) Subsystem: 3Com Corporation 3C575 Megahertz 10/100 LAN Cardbus PC Card Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-