Messages in this thread | | | Date | Thu, 12 Oct 2000 14:51:26 +0200 | From | Dag Bakke <> | Subject | Re: Updated 2.4 TODO List - more on PCI resources...] |
| |
Linus Torvalds wrote: > > On Wed, 11 Oct 2000, Dag B wrote: > >
[snip]
> > Expansion ROM at 18000000 [disabled] [size=32M] > > Capabilities: [dc] Power Management version 1 > > There's something really wrong going on with your ethernet controller. It > seems to try to take up all available space. > > Please add a debug printk() to drivers/pci/setup-res.c to the very end of
Linus, I realized there was one more test to do before deeming the hardware sane.
PCMCIA (16-bit) in my laptop is tested and works fine with three different types of cards. Another Xircom card behaved just the same (non-functional) in my latop. My Xircom card was tested in another laptop and found working.
Today I took my card *and* disk and tested it in an identical laptop. It works.
So it appears that the *cardbus* logic is broken on my machine. Plain, old hardware defect. And I have been wasting your time. Sorry about that.
In any case, debug output follows for both the non-working and the working case. Feel free to pin-point the hw-bug or flat out ignore it.....
Thanks,
Dag B
Non-working case: [....] PCI: Using configuration type 1 PCI: Probing PCI hardware Scanning bus 00 Found 00:00 [8086/7190] 000600 00 Found 00:08 [8086/7191] 000604 01 Found 00:18 [104c/ac1c] 000607 02 Found 00:19 [104c/ac1c] 000607 02 Found 00:38 [8086/7110] 000680 00 Found 00:39 [8086/7111] 000101 00 PCI: IDE base address fixup for 00:07.1 Found 00:3a [8086/7112] 000c03 00 Found 00:3b [8086/7113] 000680 00 Found 00:68 [10b7/9050] 000200 00 Fixups for bus 00 PCI: Scanning for ghost devices on bus 0 Scanning behind PCI bridge 00:01.0, config 010100, pass 0 Scanning bus 01 Found 01:00 [10c8/0005] 000300 00 Found 01:01 [10c8/8005] 000401 00 Fixups for bus 01 PCI: Scanning for ghost devices on bus 1 Bus scan for 01 returning with max=01 Scanning behind PCI bridge 00:03.0, config 000000, pass 0 Scanning behind PCI bridge 00:03.1, config 000000, pass 0 Scanning behind PCI bridge 00:01.0, config 010100, pass 1 Scanning behind PCI bridge 00:03.0, config 000000, pass 1 Scanning behind PCI bridge 00:03.1, config 000000, pass 1 Bus scan for 00 returning with max=09 PCI: IRQ init PCI: Interrupt Routing Table found at 0xc00fbda0 00:07 slot=00 0:00/0000 1:00/0000 2:00/0000 3:63/def8 01:00 slot=00 0:60/def8 1:61/def8 2:00/0000 3:00/0000 00:03 slot=00 0:63/def8 1:63/def8 2:00/0000 3:00/0000 00:0d slot=00 0:62/def8 1:00/0000 2:00/0000 3:00/0000 00:11 slot=00 0:62/def8 1:62/def8 2:62/def8 3:62/def8 PCI: Bus 01 already known PCI: Using IRQ router default [8086/1234] at 00:07.0 PCI: IRQ fixup PCI: Allocating resources PCI: Resource f4000000-f7ffffff (f=1208, d=0, p=0) PCI: Resource 00000860-0000086f (f=101, d=0, p=0) PCI: Resource 0000ece0-0000ecff (f=101, d=0, p=0) PCI: Resource 0000ec80-0000ecbf (f=101, d=0, p=0) PCI: Resource f9000000-f9ffffff (f=1208, d=0, p=0) PCI: Resource fdc00000-fdffffff (f=200, d=0, p=0) PCI: Resource fdb00000-fdbfffff (f=200, d=0, p=0) PCI: Resource f8c00000-f8ffffff (f=1208, d=0, p=0) PCI: Resource fda00000-fdafffff (f=200, d=0, p=0) bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff device 3Com Corporation 3c905 100BaseTX [Boomerang] resource 6 size 00010000 bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff Limiting direct PCI/PCI transfers. [....] cs: cb_alloc(bus 6): vendor 0x115d, device 0x0003 Found 06:00 [115d/0003] 000200 00 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0003 resource 1 size 04000800 PCI: Failed to allocate resource 1 for PCI device 115d:0003 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0003 resource 2 size 04000800 PCI: Failed to allocate resource 2 for PCI device 115d:0003 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0003 resource 6 size 04004000 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0003 resource 6 size 04004000 PCI: Failed to allocate resource 6 for PCI device 115d:0003 PCI: Enabling device 06:00.0 (0000 -> 0003) Found 06:01 [115d/0103] 000300 00 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0103 resource 1 size 04000800 PCI: Failed to allocate resource 1 for PCI device 115d:0103 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0103 resource 2 size 04000800 PCI: Failed to allocate resource 2 for PCI device 115d:0103 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0103 resource 6 size 04004000 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 3 100 00001c00-00001cff device PCI device 115d:0103 resource 6 size 04004000 PCI: Failed to allocate resource 6 for PCI device 115d:0103 PCI: Enabling device 06:00.1 (0000 -> 0003) cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean.
One or more flipped bits somewhere?
The working case looks like this: [...] PCI: Using configuration type 1 PCI: Probing PCI hardware Scanning bus 00 Found 00:00 [8086/7190] 000600 00 Found 00:08 [8086/7191] 000604 01 Found 00:18 [104c/ac1c] 000607 02 Found 00:19 [104c/ac1c] 000607 02 Found 00:38 [8086/7110] 000680 00 Found 00:39 [8086/7111] 000101 00 PCI: IDE base address fixup for 00:07.1 Found 00:3a [8086/7112] 000c03 00 Found 00:3b [8086/7113] 000680 00 Found 00:68 [10b7/9050] 000200 00 Fixups for bus 00 PCI: Scanning for ghost devices on bus 0 Scanning behind PCI bridge 00:01.0, config 010100, pass 0 Scanning bus 01 Found 01:00 [10c8/0005] 000300 00 Found 01:01 [10c8/8005] 000401 00 Fixups for bus 01 PCI: Scanning for ghost devices on bus 1 Bus scan for 01 returning with max=01 Scanning behind PCI bridge 00:03.0, config 000000, pass 0 Scanning behind PCI bridge 00:03.1, config 000000, pass 0 Scanning behind PCI bridge 00:01.0, config 010100, pass 1 Scanning behind PCI bridge 00:03.0, config 000000, pass 1 Scanning behind PCI bridge 00:03.1, config 000000, pass 1 Bus scan for 00 returning with max=09 PCI: IRQ init PCI: Interrupt Routing Table found at 0xc00fbda0 00:07 slot=00 0:00/0000 1:00/0000 2:00/0000 3:63/def8 01:00 slot=00 0:60/def8 1:61/def8 2:00/0000 3:00/0000 00:03 slot=00 0:63/def8 1:63/def8 2:00/0000 3:00/0000 00:0d slot=00 0:62/def8 1:00/0000 2:00/0000 3:00/0000 00:11 slot=00 0:62/def8 1:62/def8 2:62/def8 3:62/def8 PCI: Bus 01 already known PCI: Using IRQ router default [8086/1234] at 00:07.0 PCI: IRQ fixup PCI: Allocating resources PCI: Resource f4000000-f7ffffff (f=1208, d=0, p=0) PCI: Resource 00000860-0000086f (f=101, d=0, p=0) PCI: Resource 0000ece0-0000ecff (f=101, d=0, p=0) PCI: Resource 0000ec80-0000ecbf (f=101, d=0, p=0) PCI: Resource fb000000-fbffffff (f=1208, d=0, p=0) PCI: Resource fdc00000-fdffffff (f=200, d=0, p=0) PCI: Resource fdb00000-fdbfffff (f=200, d=0, p=0) PCI: Resource fac00000-faffffff (f=1208, d=0, p=0) PCI: Resource fda00000-fdafffff (f=200, d=0, p=0) bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff device 3Com Corporation 3c905 100BaseTX [Boomerang] resource 6 size 00010000 bus res 0 100 00000000-0000ffff bus res 1 200 00000000-ffffffff Limiting direct PCI/PCI transfers. [...] cs: cb_alloc(bus 6): vendor 0x115d, device 0x0003 Found 06:00 [115d/0003] 000200 00 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 0 1200 1c000000-1fffffff PCI: Enabling device 06:00.0 (0000 -> 0003) Found 06:01 [115d/0103] 000700 00 bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 2 100 00001800-000018ff bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 0 1200 1c000000-1fffffff bus res 1 200 20000000-23ffffff bus res 0 1200 1c000000-1fffffff PCI: Enabling device 06:00.1 (0000 -> 0003) cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x290-0x297 0x378-0x37f 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean.
lspci -v: [...] 00:03.0 CardBus bridge: Texas Instruments PCI1225 (rev 01) Subsystem: Dell Computer Corporation: Unknown device 0088 Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at 10000000 (32-bit, non-prefetchable) [size=4K] Bus: primary=00, secondary=02, subordinate=02, sec-latency=176 Memory window 0: 14000000-17fff000 (prefetchable) Memory window 1: 18000000-1bfff000 I/O window 0: 00001000-000010ff I/O window 1: 00001400-000014ff 16-bit legacy interface ports at 0001
00:03.1 CardBus bridge: Texas Instruments PCI1225 (rev 01) Subsystem: Dell Computer Corporation: Unknown device 0088 Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at 10001000 (32-bit, non-prefetchable) [size=4K] Bus: primary=00, secondary=06, subordinate=06, sec-latency=176 Memory window 0: 1c000000-1ffff000 (prefetchable) Memory window 1: 20000000-23fff000 I/O window 0: 00001800-000018ff I/O window 1: 00001c00-00001cff 16-bit legacy interface ports at 0001 [...] 06:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03) Subsystem: Xircom Cardbus Ethernet 10/100 Flags: medium devsel, IRQ 11 I/O ports at 1800 [size=128] Memory at 20000000 (32-bit, non-prefetchable) [size=2K] Memory at 20000800 (32-bit, non-prefetchable) [size=2K] Expansion ROM at 1c000000 [size=16K] Capabilities: [dc] Power Management version 1
06:00.1 Serial controller: Xircom Cardbus Ethernet + 56k Modem (rev 03) (prog-if 02 [16550]) Subsystem: Xircom CBEM56G-100 Ethernet + 56k Modem Flags: medium devsel, IRQ 11 I/O ports at 1880 [size=8] Memory at 20001000 (32-bit, non-prefetchable) [size=2K] Memory at 20001800 (32-bit, non-prefetchable) [size=2K] Expansion ROM at 1c004000 [size=16K] Capabilities: [dc] Power Management version 1
Dag B - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |