Cardbus not working for 3com 656B netcard

Davon Shire davon at shires.org
Thu Sep 16 20:49:53 PDT 2004


Ok This is an update on my Problem getting this network card working.

as stated previously..:

> Hello everyone,
>   back in the days of 5.1.xxx my 3com CFM656B
> (That's not the exact model
> number sorry but it's in my machine at home at the
> moment.) worked
> beautifully. I had changed to the 5.1 branch of
> FreeBSD because finally I
> could use something other than a ratty Linksys
> 10mbps pccard in my laptop.
>   I cvsup'd religeously and the world built well
> (usually) and the kernels
> kernelled and I was a righteous FreeBSD guru. But
> then.. 5.2.1 hit and my
> 3com netcard no longer functioned. I searched high
> and low for fixes,
> answers cvsup every chance I had and never once did
> the card work again.
>   Everything shows normal in the dmesg but the bus
> never resets and the system
> can't get the station address. I checked interrupts
> and the card bus is
> there sharing life with the pccard interface at irq
> 10.
>   If I'm using 5.1 of the OS (which I reinstalled
> the other day because i'm
> trying to get my new Linksys wifi card running) the
> 3com works and data
> flows at a reasonable rate.
>   Does anyone know of a fix for the cardbus since
> that's the only thing I can
> find that seems like it's out of wack? same hardware
> works fine with 5.1 but
> 5.2> is toiletville.
>   My 10mbps linksys card still works but it is a 16
> bit pccard and nothing and
> no cards that I have that are 32bit cardbus work at
> all.
>   This is on a IBM Iseries thinkpad 1141. It's been
> my main work horse since I
> bought it in 2000.
>   Please help make a ratty old laptop useful again.
> I'll do what I can to
> provide information to get this problem fixed. Since
> I see current is now
> trying to breath life into FreeBSD-6.0 and I would
> hate to see this problem
> continue.
>   Thank you in advance for everything.
>
> Sincerely
>   Davon

The card is a 3CCFEM656B.

Earlier Dave McCammon siggested this patch..

http://lists.freebsd.org/pipermail/freebsd-mobile/2004-September/004726.html

Which I applied to FreeBSD 5.3Beta4 cleanly but it made no difference.
I checked vmstat -i and found cbb0 and uhci0 on irq 10. So Just in case there
was a conflict I removed the uhci driver so cbb0 was the only thing on irq 10.

I put the card in after I booted up and set all the debug for cis,cardbus and cbb


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-BETA4 #6: Thu Sep 16 22:17:35 CDT 2004
    root at pony.shires.org:/usr/src/sys/i386/compile/PONY
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Celeron (548.87-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 201195520 (191 MB)
avail memory = 187215872 (178 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IBM ATLANTA> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x66,0x62 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf008-0xf00b on acpi0
cpu0: <ACPI CPU (2 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
acpi link get: empty IRQ resource
pci0: <ACPI PCI bus> on pcib0
pci0: <multimedia, audio> at device 0.1 (no driver attached)
pci0: <simple comms> at device 0.2 (no driver attached)
pci0: <display, VGA> at device 2.0 (no driver attached)
cbb0: <O2Micro OZ6812/6872 PCI-CardBus Bridge> irq 10 at device 3.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x8040-0x804f,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)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
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
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 548865192 Hz quality 800
Timecounters tick every 10.000 msec
ATAPI_RESET time = 130us
ad0: 19077MB <IBM-DJSA-220/JS4OAC9A> [38760/16/63] at ata0-master UDMA33
acd0: DVDROM <MATSHITADVD-ROM SR-8171/059d> at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s2a
Status is 0x30000821
cbb0: card inserted: event=0x00000000, state=30000821
cbb0: cbb_power: 3V
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.0
Product name: 3Com Corporation | 3CCFEM656B-LAN | LAN | 1 |
Manufacturer ID: 02016265
Functions: Network Adaptor, Multi-Functioned
TUPLE: Unknown(0x1c) [2]: 02 ff
cardbus0: Opening BAR: type=IO, bar=10, len=0080
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-107f
xl0: <3Com 3c656B Fast Etherlink XL> port 0x1000-0x107f mem
0x88000000-0x8800007f,0x88000080-0x880000ff irq 10 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 | 3CCFEM656B-MDM | MDM | 1 |
Manufacturer ID: 02016365
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=80
cardbus0: Resource not specified in CIS: id=14, size=80
cardbus0: Non-prefetchable memory at 88000000-880000ff
cardbus0: IO port at 1000-107f
cardbus0: <simple comms> at device 0.1 (no driver attached)
cbb0: cbb_power: 0V
cbb0: CardBus card activation failed

vmstat -i

interrupt                          total       rate
irq0: clk                          34998         99
irq1: atkbd0                         478          1
irq8: rtc                          44800        127
irq10: cbb0                            1          0
irq13: npx0                            1          0
irq14: ata0                         1092          3
Total                              81370        231

As I said before this worked flawlessly with FreeBSD 5.1, it also works with
Windows 98se, Gentoo Linux and a --> Salami on Rye. <-- (This is humor for
those humor impaired)

Any assistance would be appreciated.

Thank you again.

Davon



More information about the freebsd-questions mailing list