thinkpad 770 -current ccb IRQ (hence ep0) broken between 20040204-20040310?

bsdforums_account at melliferous.com bsdforums_account at melliferous.com
Mon Mar 15 07:59:41 PST 2004


Hi,

I have a thinkpad 770 type 9549 - (see appended dmesg and pciconf -vl below for details) whose ep0 device (3com 3ccfe574bt) stopped being detected after a routine kernel/world rebuild on March 10th. I think it arises from this dmesg snippet

cbb0: <TI1250 PCI-CardBus Bridge> mem 0x20822000-0x20822fff at device 2.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12
cbb0: <TI1250 PCI-CardBus Bridge> mem 0x20821000-0x20821fff at device 2.1 on pci0
cardbus1: <CardBus bus> on cbb0
pccard1: <16-bit PCCard bus> on cbb0
: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12

I am posting to this list after lightweight search on other forums/threads for people experiencing the same thing.

The 770 was flashed to the latest IBM provided bios about 10 months ago. Also, I am aware that this is fairly old and relatively specialized hardware, so since it is being used as a baby firewall machine, i have left out any ACPI or APM functionality.

The system was working fine (with no/zero/nada loader.conf or pccard.conf/devd.conf tweaking) and tracking cvsup under freebsd-current up to and including its last successful kernel build February 4th, 2004.

On March 10th, in response to the TCP d.o.s. security advisory I rebuilt kernel/world.

On reboot pf caused the machine to panic, when I turned off pf the cause of the panic was traced to the ep0 network interface not existing anymore. It had prior to the rebuild. I was and am using very lightly modified GENERIC without OLDCARD.

After a fruitless cursory search of the lists to see if this was a well known issue, and hoping that I had just hit a "moment" in 5-current, I waited a week for stabilization.

I rebuilt again 20040313 - and there seemed a fair amount of code updated - and a sizable number of changes when running mergemaster. The machine came back up without issues - but still without ep0. And still with all sorts of pci issues in dmesg.

I believe the issue originates from cbb not getting an IRQ (see dmesg below). Although I have an ee background I have strayed from the true path and have only a very vague idea of what this means.

I see a lot of traffic about ACPI issues and BIOS pnp in the lists, the closest I can find to my specific issue is this thread

http://www.bsdforums.org/forums/sho...8&highlight=cbb

which does not resolve the specific or a general issue.

In conclusion,

1. Does anyone have any ideas on a quick fix?

2. Or where I should drag my sorry ass to find the not-so-quick fix

3.Worst case scenario where - can anyone suggest a robust pcmcia NIC that works OOTB on generic 5-current on a thinkpad 770?

Thanks in advance for any help!

------------------------------

here is 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.2-CURRENT #8: Sat Mar 13 10:48:13 EST 2004
listless at goodol770.listless.net:/usr/obj/usr/src/sys/goodol770
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0947000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (quarter-micron) (233.87-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x581 Stepping = 1
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 234684416 (223 MB)
avail memory = 219971584 (209 MB)
Intel Pentium detected, installing workaround for F00F bug
cpu0 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Found  table, 5 entries at 0xc00f9f90
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
: ROUTE_INTERRUPT failed.
: ROUTE_INTERRUPT failed.
: ROUTE_INTERRUPT failed.
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xfcf0-0xfcff at device 1.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x8400-0x841f irq 11 at device 1.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
aue0: LINKSYS Inc. LINKSYS USB Adapter, rev 1.10/1.01, addr 2
aue0: Ethernet address: 00:04:5a:9c:e6:62
miibus0: <MII bus> on aue0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
piix0: <PIIX Timecounter> port 0xefa0-0xefaf at device 1.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
cbb0: <TI1250 PCI-CardBus Bridge> mem 0x20822000-0x20822fff at device 2.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12
cbb0: <TI1250 PCI-CardBus Bridge> mem 0x20821000-0x20821fff at device 2.1 on pci0
cardbus1: <CardBus bus> on cbb0
pccard1: <16-bit PCCard bus> on cbb0
: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12
pci0: <display, VGA> at device 3.0 (no driver attached)
pci0: <multimedia> at device 5.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
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
unknown: <PNP0303> can't assign resources (port)
unknown: <IBM3780> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <IBM0071> can't assign resources (port)
unknown: <PNP0e03> can't assign resources (port)
unknown: <PNP0680> can't assign resources (port)
unknown: <PNP0680> can't assign resources (port)
Timecounter "TSC" frequency 233865195 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38154MB <TOSHIBA MK4018GAP> [77520/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a


-------------------------
here is pciconf -vl

hostb0 at pci0:0:0: class=0x060000 card=0x00000000 chip=0x71008086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82439TX System Controller (MTXC), part of 430TX chipset'
class = bridge
subclass = HOST-PCI
isab0 at pci0:1:0: class=0x068000 card=0x00000000 chip=0x71108086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge'
class = bridge
subclass = PCI-unknown
atapci0 at pci0:1: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:1: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
piix0 at pci0:1:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82371AB/EB/MB PIIX4/4E/4M Power Management Controller'
class = bridge
subclass = PCI-unknown
none0 at pci0:2:0: class=0x060700 card=0x00921014 chip=0xac16104c rev=0x01 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1250 PC Card CardBus Controller'
class = bridge
subclass = PCI-CardBus
none1 at pci0:2:1: class=0x060700 card=0x00921014 chip=0xac16104c rev=0x01 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1250 PC Card CardBus Controller'
class = bridge
subclass = PCI-CardBus
none2 at pci0:3:0: class=0x030000 card=0x00931014 chip=0x93971023 rev=0xf3 hdr=0x00
vendor = 'Trident Microsystems'
device = 'Cyber9397 Video Accelerator'
class = display
subclass = VGA
none3 at pci0:5:0: class=0x048000 card=0x00a91014 chip=0x007d1014 rev=0x00 hdr=0x00
vendor = 'International Business Machines Corp.'
device = '3780IDSP MPEG-2 Decoder'
class = multimedia



More information about the freebsd-mobile mailing list