xl driver problems
Karel Miklav
karel.miklav at siol.net
Sat Oct 30 13:49:45 PDT 2004
FreeBSD 5.3 RC1
ThinkPad 600E
3Com Megahertz NIC, model 3CXFEM656C
I have this NIC that works perfectly under all sorts of Windows, but not
under Knoppix nor any of the latest FreeBSD releases. It should work
fine with the xl driver and indeed, this driver is probed succesfuly
during boot, but I'm not able to follow what's going wrong after that.
cardbus0: Resource not specified in CIS: id=18, size=80
xl0: <3Com 3c656C Fast Etherlink XL> port 0x1000-0x10ff mem
0x88000000-0x8800007
f,0x88000080-0x880000ff irq 11 at device 0.0 on cardbus0
xl0: reset didn't complete
xl0: command never completed!
xl0: command never completed!
xl0: eeprom failed to come ready
xl0: failed to read station address
device_attach: xl0 attach returned 6
cardbus0: Resource not specified in CIS: id=10, size=100
cardbus0: Resource not specified in CIS: id=14, size=100
cardbus0: <simple comms> at device 0.1 (no driver attached)
cbb0: CardBus card activation failed
With hw.cardbus.cis_debug=1 I got this:
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.0
Product name: 3Com Corporation | 3CXFEM656C-LAN | LAN | 1 |
Manufacturer ID: 02016465
Functions: Network Adaptor, Multi-Functioned
TUPLE: Unknown(0x1c) [2]: 02 ff
cardbus0: Opening BAR: type=IO, bar=10, len=0100
cardbus0: Opening BAR: type=MEM, bar=14, len=0080
TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00
TUPLE: Unknown(0x05) [15]: 41 ba 01 b5 1e 01 b5 1e 02 30 f8 ff 04 01 02
CIS reading done
cardbus0: Resource not specified in CIS: id=18, size=80
cardbus0: Non-prefetchable memory at 88000000-880000ff
cardbus0: IO port at 1000-10ff
xl0: <3Com 3c656C Fast Etherlink XL> port 0x1000-0x10ff mem
0x88000000-0x8800007
f,0x88000080-0x880000ff irq 11 at device 0.0 on cardbus0
xl0: reset didn't complete
xl0: command never completed!
xl0: command never completed!
xl0: eeprom failed to come ready
xl0: failed to read station address
device_attach: xl0 attach returned 6
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.0
Product name: 3Com Corporation | 3CXFEM656C-MDM | MDM | 1 |
Manufacturer ID: 02016565
Functions: Serial Port, Multi-Functioned
TUPLE: Unknown(0x1c) [2]: 02 ff
cardbus0: Opening BAR: type=MEM, bar=18, len=0080
TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00
TUPLE: Unknown(0x05) [14]: 41 b2 01 b5 1e 01 b5 1e 30 f8 ff 08 01 02
Function Extension: 011f3f000400000400
Function Extension: 0206003f1c03030f060000ff
Function Extension: 1306000f006a00ff
Function Extension: 2306000f000200ff
CIS reading done
cardbus0: Resource not specified in CIS: id=10, size=100
cardbus0: Resource not specified in CIS: id=14, size=100
cardbus0: Non-prefetchable memory at 88000000-8800017f
cardbus0: IO port at 1000-10ff
cardbus0: <simple comms> at device 0.1 (no driver attached)
cbb0: CardBus card activation failed
It should be a simple resource allocation problem. I've tried all sorts
of tricks with ThinkPad firmware, enabling/disabling devices with PS2
utility, tuning kernel but nothing. I've had the same episode with
soundcard which suddenly started working after two months of poking when
I reset the firmware.
I know, I should get another card; but if someone knows what's the
problem, I'd be glad to hear about it.
--
Regards,
Karel
--
> pciconf -lv
agp0 at pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
device = '82443BX/ZX 440BX/ZX CPU to PCI Bridge (AGP Implemented)'
class = bridge
subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03
hdr=0x01
vendor = 'Intel Corporation'
device = '82443BX/ZX 440BX/ZX AGPset PCI-to-PCI bridge'
class = bridge
subclass = PCI-PCI
cbb0 at pci0:2:0: class=0x060700 card=0x00eb1014 chip=0xac1d104c rev=0x00
hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1251 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
cbb1 at pci0:2:1: class=0x060700 card=0x00eb1014 chip=0xac1d104c rev=0x00
hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1251 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
none0 at pci0:6:0: class=0x040100 card=0x10101014 chip=0x60011013 rev=0x01
hdr=0x00
vendor = 'Cirrus Logic'
device = 'Crystal CS4610/11 SoundFusion PCI Audio Accelerator'
class = multimedia
subclass = audio
isab0 at pci0:7:0: class=0x068000 card=0x00000000 chip=0x71108086 rev=0x02
hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge'
class = bridge
subclass = PCI-unknown
atapci0 at pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086
rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller'
class = mass storage
subclass = ATA
uhci0 at pci0:7:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01
hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M USB Interface'
class = serial bus
subclass = USB
none1 at pci0:7:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02
hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M Power Management Controller'
class = bridge
subclass = PCI-unknown
none2 at pci1:0:0: class=0x030000 card=0x00dd1014 chip=0x000510c8 rev=0x20
hdr=0x00
vendor = 'Neomagic Corporation'
device = 'NM2200 MagicMedia 256AV'
class = display
subclass = VGA
xl0 at pci2:0:0: class=0x020000 card=0x656c10b7 chip=0x656410b7 rev=0x10
hdr=0x00
vendor = '3COM Corp, Networking Division'
device = '3CCFEM656 [id 6564] Cyclone CardBus PC Card'
class = network
subclass = ethernet
none3 at pci2:0:1: class=0x078000 card=0x656c10b7 chip=0x656510b7 rev=0x10
hdr=0x00
vendor = '3COM Corp, Networking Division'
device = '3CCFEM656C Global 10/10 Fast Ethernet+56K Modem CardBus
PC Card'
class = simple comms
> dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RC1 #6: Sat Oct 30 22:44:18 CEST 2004
root at tp.unitedpeople.info:/usr/src/sys/i386/compile/TP600E
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (363.96-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x66a Stepping = 10
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 134021120 (127 MB)
avail memory = 125689856 (119 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IBM TP600R> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x9, GLK> port 0x66,0x62 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xef08-0xef0b on acpi0
cpu0: <ACPI CPU (3 Cx states)> port 0x530-0x537 on acpi0
acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_tz1: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_tz2: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_tz3: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
0x40000000-0x43ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
cbb0: <TI1251 PCI-CardBus Bridge> mem 0x50102000-0x50102fff irq 11 at
device 2.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1251 PCI-CardBus Bridge> mem 0x50101000-0x50101fff irq 10 at
device 2.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci0: <multimedia, audio> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppi0: <Parallel I/O> on ppbus0
pcm0: <CS423x-PCI> port 0x220-0x233,0x388-0x38b,0x530-0x537 irq 5 drq
0,1 on acpi0
pcm0: [GIANT-LOCKED]
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 363962041 Hz quality 800
Timecounters tick every 10.000 msec
Interrupt storm detected on "irq11: cbb0"; throttling interrupt source
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
cardbus0: Resource not specified in CIS: id=18, size=80
xl0: <3Com 3c656C Fast Etherlink XL> port 0x1000-0x10ff mem
0x88000000-0x8800007f,0x88000080-0x880000ff irq 11 at device 0.0 on cardbus0
xl0: reset didn't complete
xl0: command never completed!
xl0: command never completed!
xl0: eeprom failed to come ready
xl0: failed to read station address
device_attach: xl0 attach returned 6
cardbus0: Resource not specified in CIS: id=10, size=100
cardbus0: Resource not specified in CIS: id=14, size=100
cardbus0: <simple comms> at device 0.1 (no driver attached)
cbb0: CardBus card activation failed
ad0: 38204MB <SAMSUNG MP0402H/UC100-11> [77622/16/63] at ata0-master UDMA33
acd0: CDROM <TOSHIBA CD-ROM XM-1902B/1717> at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s2a
More information about the freebsd-mobile
mailing list