Messages in this thread | | | Date | Thu, 20 Jan 2000 09:15:11 +1300 | From | Andrew McMillan <> | Subject | PCI in docking station |
| |
I have a PCI bus in my docking station for my laptop which doesn't work well with Linux. Does the following information give anyone any clues as to what is happening?
Under Win9x the following PCI devices are recognised in the laptop: - Cirrus Logic 755X (IRQ 11) - Intel 82371AB/EB PCI Bus Master IDE1 (IRQ14) - Intel 82371AB/EB PCI Bus Master IDE1 (IRQ15) - TI PCI-1131 CardBus Controller (IRQ11) - TI PCI-1131 CardBus Controller (IRQ11) With the docking station attached, the following also show up: - Compaq Netelligent 10/100 TX PCI UTP Controller (IRQ11) - Primary CMD PCI-0646 Bus Master IDE Controller (IRQ11) - Secondary CMD PCI-0646 Bus Master IDE Controller (IRQ11) - TI PCI-1131 CardBus Controller (IRQ11) - TI PCI-1131 CardBus Controller (IRQ11)
This all seems reasonable, and after upgrading my BIOS and other such tricks it all works under Windows, as long as I hold my mouth the right way and conduct regular sacrifices to the appropriate deities. The BIOS in the laptop is Phoenix NoteBios dated 03/02/98.
Under Linux I can access /dev/hde in the docking station, but I can't use the network card and I can't see why that should be!
When I modprobe the TLAN driver I get: Jan 20 09:00:27 localhost kernel: TLAN driver, v1.0, (C) 1997-8 Caldera, Inc. Jan 20 09:00:27 localhost kernel: PCI: Enabling bus mastering for device 01:60 Jan 20 09:00:27 localhost kernel: TLAN: eth1 irq=11 io=e800, Compaq Netelligent 10/100 TX PCI UTP, Rev. 16
But then when I ifconfig it the log says: Jan 20 09:02:42 localhost kernel: TLAN: Cannot open eth1 because IRQ 11 is already in use.
I have looked at the code for all of the drivers that I can see and they all seem to try to open the device with IRQ shared if it is a PCI device so why am I getting an "IRQ11 already in use" message?
I have had a network card in the docking station working but it was an ne2k-pci card and I want the 100MB network nowadays. I have also tried Tulip based cards which didn't give this error, they gave different ones, basically happening at the ifconfig stage (either they would hang or go into a tight error loop indicating a PCI error).
Kernels I have tried which have had these problems with include most of 2.0.35-38, 2.1.129-2.2.14, 2.3.18-2.3.39. 2.3.40pre4 doesn't find the second PCI bus at all.
Here are some output from various things under 2.2.14: # /sbin/lspci 00:00.0 Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 01) 00:01.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01) 00:01.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) 00:01.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) 00:01.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01) 00:02.0 VGA compatible controller: Cirrus Logic GD 7556 Video/Graphics LCD/CRT Ctrlr 00:03.0 CardBus bridge: Texas Instruments PCI1131 (rev 01) 00:03.1 CardBus bridge: Texas Instruments PCI1131 (rev 01) 00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 02) 01:0c.0 Network controller: Compaq Computer Corporation Netelligent 10/100 (rev 10) 01:0e.0 IDE interface: CMD Technology Inc PCI0646 (rev 01) 01:0f.0 CardBus bridge: Texas Instruments PCI1131 (rev 01) 01:0f.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)
# cat /proc/pci PCI devices found: Bus 0, device 0, function 0: Host bridge: Intel 82439TX (rev 1). Medium devsel. Master Capable. Latency=32. Bus 0, device 1, function 0: ISA bridge: Intel 82371AB PIIX4 ISA (rev 1). Medium devsel. Fast back-to-back capable. Master Capable. No bursts. Bus 0, device 1, function 1: IDE interface: Intel 82371AB PIIX4 IDE (rev 1). Medium devsel. Fast back-to-back capable. Master Capable. Latency=64. I/O at 0xfcd0 [0xfcd1]. Bus 0, device 1, function 2: USB Controller: Intel 82371AB PIIX4 USB (rev 1). Medium devsel. Fast back-to-back capable. Master Capable. Latency=64. I/O at 0xfce0 [0xfce1]. Bus 0, device 1, function 3: Bridge: Intel 82371AB PIIX4 ACPI (rev 1). Medium devsel. Fast back-to-back capable. Bus 0, device 2, function 0: VGA compatible controller: Cirrus Logic Unknown device (rev 0). Vendor id=1013. Device id=4c. Medium devsel. IRQ 11. Non-prefetchable 32 bit memory at 0xfd000000 [0xfd000000]. Bus 0, device 3, function 0: CardBus bridge: Texas Instruments PCI1131 (rev 1). Medium devsel. Master Capable. Latency=168. Min Gnt=192.Max Lat=7. Bus 0, device 3, function 1: CardBus bridge: Texas Instruments PCI1131 (rev 1). Medium devsel. Master Capable. Latency=168. Min Gnt=192.Max Lat=7. Bus 1, device 15, function 0: CardBus bridge: Texas Instruments PCI1131 (rev 1). Medium devsel. Master Capable. No bursts. Min Gnt=64.Max Lat=3. Bus 1, device 15, function 1: CardBus bridge: Texas Instruments PCI1131 (rev 1). Medium devsel. Master Capable. No bursts. Min Gnt=64.Max Lat=3. Bus 0, device 15, function 0: PCI bridge: DEC DC21152 (rev 2). Medium devsel. Fast back-to-back capable. Master Capable. Latency=64. Min Gnt=4. Bus 1, device 12, function 0: Network controller: Compaq Netelligent 10/100 (rev 16). Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=64. I/O at 0xe800 [0xe801]. Non-prefetchable 32 bit memory at 0xfcfff800 [0xfcfff800]. Bus 1, device 14, function 0: IDE interface: CMD 646 (rev 1). Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=64. Min Gnt=2.Max Lat=4. I/O at 0xe4d0 [0xe4d1]. I/O at 0xe4d8 [0xe4d9]. I/O at 0xe4e0 [0xe4e1]. I/O at 0xe4e8 [0xe4e9]. I/O at 0xe400 [0xe401].
# cat interrupts CPU0 0: 824714 XT-PIC timer 1: 17392 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 18757 XT-PIC xirc2ps_cs 5: 1 XT-PIC Crystal audio controller 8: 1 XT-PIC rtc 11: 134505 XT-PIC ide2 12: 137019 XT-PIC PS/2 Mouse 13: 1 XT-PIC fpu 14: 738789 XT-PIC ide0 15: 5 XT-PIC ide1 NMI: 0
-- # cat ioports 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0220-0223 : Crystal audio controller 02e8-02ef : xirc2ps_cs 0300-030f : xirc2ps_cs 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(set) e4d0-e4d7 : ide2 e4da-e4da : ide2 e800-e80f : TLAN fcd0-fcd7 : ide0 fcd8-fcdf : ide1
Any help anyone can offer is greatly appreciated.
Regards, Andrew McMillan.
_____________________________________________________________________ Andrew McMillan, e-mail: Andrew@cat-it.co.nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |