This is very verbose. Sorry. I much prefer to toss all the pieces on the table at the same time. Dag B [1.] One line summary of the problem: -test7/8 version of xircom_tulip_cb does not enable my Xircom Realport (RBEM56G-100) Nor any of the other kernels I have tried... [2.] Full description of the problem/report: My Xircom Realport (RBEM56G-100) is causing headaches. It works with NT4/SP5 on my Dell CPi laptop, so the hardware is functional. (Tested this morning. ) When loading the xircom_tulip_cb.c:v0.91 driver, things looks ok, until you study the MAC address, which is all zeros. What follows is the output from -test7 and test8: -test7: Linux PCMCIA Card Services 3.1.11 options: [pci] [cardbus] [pm] Yenta IRQ list 0098, PCI irq11 Socket status: 30000006 Yenta IRQ list 0098, PCI irq11 Socket status: 30000020 devfs: v0.102 (20000622) Richard Gooch ([EMAIL PROTECTED]) devfs: boot_options: 0x0 kmem_create: Forcing size word alignment - nfs_fh cs: cb_alloc(bus 4): vendor 0x115d, device 0x0003 PCI: Failed to allocate resource 1 for PCI device 115d:0003 PCI: Failed to allocate resource 2 for PCI device 115d:0003 PCI: Failed to allocate resource 6 for PCI device 115d:0003 PCI: Enabling device 04:00.0 (0000 -> 0003) PCI: Failed to allocate resource 1 for PCI device 115d:0103 PCI: Failed to allocate resource 2 for PCI device 115d:0103 PCI: Failed to allocate resource 6 for PCI device 115d:0103 PCI: Enabling device 04:00.1 (0000 -> 0003) [snip] tulip_attach(04:00.0) PCI: Setting latency timer of device 04:00.0 to 64 xircom_tulip_cb.c:v0.91 4/14/99 [EMAIL PROTECTED] (modified by [EMAIL PROTECTED] for XIRCOM CBE, fixed by Doug Ledford) eth1: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x1800, 00:00:00:00:00:00, IRQ 11. -test8: Linux PCMCIA Card Services 3.1.20 options: [pci] [cardbus] [pm] Yenta IRQ list 0298, PCI irq11 Socket status: 30000006 devfs: v0.102 (20000622) Richard Gooch ([EMAIL PROTECTED]) devfs: boot_options: 0x2 kmem_create: Forcing size word alignment - nfs_fh Yenta IRQ list 0298, PCI irq11 Socket status: 30000020 cs: cb_alloc(bus 4): vendor 0x115d, device 0x0003 PCI: Failed to allocate resource 1 for PCI device 115d:0003 PCI: Failed to allocate resource 2 for PCI device 115d:0003 PCI: Failed to allocate resource 6 for PCI device 115d:0003 PCI: Enabling device 04:00.0 (0000 -> 0003) PCI: Failed to allocate resource 1 for PCI device 115d:0103 PCI: Failed to allocate resource 2 for PCI device 115d:0103 PCI: Failed to allocate resource 6 for PCI device 115d:0103 PCI: Enabling device 04:00.1 (0000 -> 0003) VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 204k freed Warning: unable to open an initial console. cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x300-0x307 0x378-0x37f 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean. eth0: first available media type: MII tulip_attach(04:00.0) PCI: Setting latency timer of device 04:00.0 to 64 xircom_tulip_cb.c:v0.91 4/14/99 [EMAIL PROTECTED] (modified by [EMAIL PROTECTED] for XIRCOM CBE, fixed by Doug Ledford) eth1: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x1800, 00:00:00:00:00:00, IRQ 11. I can use ifconfig to set a hw-address (does the card really support this?), but if I try to set an IP-address, the system hangs hard. Donald Becker's tulip-diag says: dagblap:/tmp# ./tulip-diag -p 0x1800 -t 4 -ee tulip-diag.c:v2.03 7/31/2000 Donald Becker ([EMAIL PROTECTED]) http://www.scyld.com/diag/index.html Assuming a Digital DS21143 Tulip adapter at 0x1800. Port selection is MII, half-duplex. Transmit stopped, Receive stopped, half-duplex. The Rx process state is 'Stopped'. The Tx process state is 'Stopped'. PCI bus error!: Parity Error. The transmit threshold is 128. The NWay status register is 000000c6. EEPROM size is 8. WARNING: The EEPROM is missing or erased! This interface is missing the EEPROM. This is likely the non-primary interface on a multiport board. EEPROM contents: ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ID block CRC 0xfa (vs. 0xff). Full contents CRC 0x6a15 (read as 0xffff). Internal autonegotiation state is 'Invalid state'. This is a 10/100BaseTX/56K modem combo card. Loading serial_cb produces nothing. And the card still works under that other OS... [3.] Keywords (i.e., modules, networking, kernel): Xircom, cardbus, xircom_tulip_cb, mac, hwaddress [4.] Kernel version (from /proc/version): 2.4.0-test8 (gcc version 2.95.2 19991024 (release)) [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) [6.] A small shell script or example program which triggers the problem (if possible) [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux dagblap 2.4.0-test8 #1 Mon Sep 11 21:36:49 CEST 2000 i686 unknown Kernel modules 2.3.15 Gnu C 2.95.2 Binutils 2.10.0.24 Linux C Library 2.1.3 Dynamic linker ldd (GNU libc) 2.1.3 Procps 2.0.7 Mount 2.10o Net-tools 1.57 Console-tools 0.2.3 Sh-utils 2.0 Modules Loaded xircom_tulip_cb [7.2.] Processor information (from /proc/cpuinfo): PII366 [7.3.] Module information (from /proc/modules): xircom_tulip_cb [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) # cat /proc/ioports 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02e8-02ef : serial(auto) 0376-0376 : ide1 03c0-03df : vesafb 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0800-083f : Intel Corporation 82371AB PIIX4 ACPI 0840-085f : Intel Corporation 82371AB PIIX4 ACPI 0860-086f : Intel Corporation 82371AB PIIX4 IDE 0860-0867 : ide0 0868-086f : ide1 0cf8-0cff : PCI conf1 1000-10ff : PCI CardBus #02 1400-14ff : PCI CardBus #02 1800-18ff : PCI CardBus #04 1800-187f : PCI device 115d:0003 1800-187f : eth1 1880-1887 : PCI device 115d:0103 1c00-1cff : PCI CardBus #04 c000-cfff : PCI Bus #01 ec80-ecbf : 3Com Corporation 3c905 100BaseTX [Boomerang] ec80-ecbf : eth0 ece0-ecff : Intel Corporation 82371AB PIIX4 USB # cat /proc/iomem 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000ce000-000ce7ff : Extension ROM 000ce800-000cefff : Extension ROM 000cf000-000cf7ff : Extension ROM 000cf800-000cffff : Extension ROM 000f0000-000fffff : System ROM 00100000-05feffff : System RAM 00100000-00272a67 : Kernel code 00272a68-0029a077 : Kernel data 05ff0000-05ffffff : ACPI Tables 10000000-10000fff : Texas Instruments PCI1225 10001000-10001fff : Texas Instruments PCI1225 (#2) 100a0000-100fffff : reserved 10400000-107fffff : PCI CardBus #02 10800000-10bfffff : PCI CardBus #02 10c00000-10ffffff : PCI CardBus #04 11000000-113fffff : PCI CardBus #04 f4000000-f7ffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge f9000000-fbffffff : PCI Bus #01 fac00000-faffffff : Neomagic Corporation [MagicMedia 256AV Audio] fb000000-fbffffff : Neomagic Corporation [MagicMedia 256AV] fb000000-fb25ffff : vesafb fd000000-feffffff : PCI Bus #01 fda00000-fdafffff : Neomagic Corporation [MagicMedia 256AV Audio] fdb00000-fdbfffff : Neomagic Corporation [MagicMedia 256AV] fdc00000-fdffffff : Neomagic Corporation [MagicMedia 256AV] ffe00000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) You really want all that? :-) # lspci -vvv 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 32 Region 0: Memory at f4000000 (32-bit, prefetchable) [size=64M] Capabilities: [a0] AGP version 1.0 Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none> 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) (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- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: fd000000-feffffff Prefetchable memory behind bridge: f9000000-fbffffff BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+ 00:03.0 CardBus bridge: Texas Instruments PCI1225 (rev 01) Subsystem: Dell Computer Corporation: Unknown device 0088 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 168, cache line size 20 Interrupt: pin A routed to IRQ 11 Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K] Bus: primary=00, secondary=02, subordinate=02, sec-latency=176 Memory window 0: 10400000-107ff000 (prefetchable) Memory window 1: 10800000-10bff000 I/O window 0: 00001000-000010ff I/O window 1: 00001400-000014ff BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 00:03.1 CardBus bridge: Texas Instruments PCI1225 (rev 01) Subsystem: Dell Computer Corporation: Unknown device 0088 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 168, cache line size 20 Interrupt: pin A routed to IRQ 11 Region 0: Memory at 10001000 (32-bit, non-prefetchable) [size=4K] Bus: primary=00, secondary=04, subordinate=04, sec-latency=176 Memory window 0: 10c00000-10fff000 (prefetchable) Memory window 1: 11000000-113ff000 I/O window 0: 00001800-000018ff I/O window 1: 00001c00-00001cff BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+ 16-bit legacy interface ports at 0001 00:07.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master]) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 Region 4: I/O ports at 0860 [size=16] 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI]) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 Interrupt: pin D routed to IRQ 11 Region 4: I/O ports at ece0 [size=32] 00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02) Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- 00:0d.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] Subsystem: Dell Computer Corporation: Unknown device 0075 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (750ns min, 2000ns max) Interrupt: pin A routed to IRQ 10 Region 0: I/O ports at ec80 [size=64] Expansion ROM at f3000000 [disabled] [size=64K] 01:00.0 VGA compatible controller: Neomagic Corporation [MagicMedia 256AV] (rev 20) (prog-if 00 [VGA]) Subsystem: Dell Computer Corporation: Unknown device 0088 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (4000ns min, 63750ns max) Interrupt: pin A routed to IRQ 11 Region 0: Memory at fb000000 (32-bit, prefetchable) [size=16M] Region 1: Memory at fdc00000 (32-bit, non-prefetchable) [size=4M] Region 2: Memory at fdb00000 (32-bit, non-prefetchable) [size=1M] Capabilities: [dc] 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- 01:00.1 Multimedia audio controller: Neomagic Corporation [MagicMedia 256AV Audio] (rev 20) Subsystem: Dell Computer Corporation: Unknown device 0088 Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin B routed to IRQ 5 Region 0: Memory at fac00000 (32-bit, prefetchable) [size=4M] Region 1: Memory at fda00000 (32-bit, non-prefetchable) [size=1M] Capabilities: [dc] 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- 04:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03) Subsystem: Xircom Cardbus Ethernet 10/100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+ Latency: 64 (5000ns min, 10000ns max) Interrupt: pin A routed to IRQ 11 Region 0: I/O ports at 1800 [size=128] Region 1: [virtual] Memory at 11000000 (32-bit, non-prefetchable) [size=4M] Region 2: [virtual] Memory at 11000000 (32-bit, non-prefetchable) [size=4M] Expansion ROM at 11000000 [disabled] [size=4M] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- 04:00.1 VGA compatible controller: Xircom Cardbus Ethernet + 56k Modem (rev 03) (prog-if 02) Subsystem: Xircom CBEM56G-100 Ethernet + 56k Modem Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+ Interrupt: pin A routed to IRQ 11 Region 0: I/O ports at 1880 [size=8] Region 1: [virtual] Memory at 11000000 (32-bit, non-prefetchable) [size=4M] Region 2: [virtual] Memory at 11000000 (32-bit, non-prefetchable) [size=4M] Expansion ROM at 11000000 [disabled] [size=4M] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- [7.6.] SCSI information (from /proc/scsi/scsi) [7.7.] Other information that might be relevant to the problem (please look in /proc and include all information that you think to be relevant): # cat /proc/interrupts CPU0 0: 141440 XT-PIC timer 1: 3 XT-PIC keyboard 2: 0 XT-PIC cascade 10: 1802 XT-PIC eth0 11: 0 XT-PIC Texas Instruments PCI1225, Texas Instruments PCI1225 (#2) 12: 0 XT-PIC PS/2 Mouse 13: 0 XT-PIC fpu 14: 1166 XT-PIC ide0 15: 3 XT-PIC ide1 NMI: 0 ERR: 0 [X.] Other notes, patches, fixes, workarounds: The BIOS rev. of this laptop is A09. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/