Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 23:49:36 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        "FreeBSD questions" <freebsd-stable@freebsd.org>
Subject:   RELENG_6: hangs with if_wi in pccard.
Message-ID:  <op.sxe78ykb8527sy@outgoing.local>

next in thread | raw e-mail | index | archive | help
Hello,

I've have something weird. If I put my if_wi card in my laptop it totally  
hangs. I cannot go into the debugger and witness doesn't complain. This  
was working fine in FreeBSD 5.4.
But if I first put in my if_ep card and than my if_wi card everything  
works fine.

But if I than remove the if_wi card I get this:
Sep 20 13:53:25 laptop kernel: taskqueue_drain with the following  
non-sleepable locks held:
Sep 20 13:53:25 laptop kernel: exclusive sleep mutex wi0 (network driver)  
r = 0 (0xc0f25b68) locked @  
/usr/src/sys/modules/wi/../../dev/wi/if_wi.c:888
Sep 20 13:53:25 laptop kernel: KDB: stack backtrace:
Sep 20 13:53:25 laptop kernel:  
kdb_backtrace(c06b22bc,c6af1be8,1,267,c0f23650) at kdb_backtrace+0x2e
Sep 20 13:53:25 laptop kernel:  
witness_warn(5,0,c061b313,c0f24ef8,c0f71b74) at witness_warn+0x1d3
Sep 20 13:53:25 laptop kernel:  
taskqueue_drain(c0e27b80,c0f23650,600,0,c0f23400) at taskqueue_drain+0x2b
Sep 20 13:53:25 laptop kernel:  
if_detach(c0f23400,c0f25000,c6af1c58,c075c7c9,c0f23400) at if_detach+0x22
Sep 20 13:53:25 laptop kernel:  
ether_ifdetach(c0f23400,0,c076ffea,20e,c0f23400) at ether_ifdetach+0x30
Sep 20 13:53:25 laptop kernel:  
wi_detach(c0e26200,c0e90050,c063f068,961,c0e26100) at wi_detach+0x89
Sep 20 13:53:25 laptop kernel:  
device_detach(c0e26200,c6af1c9c,c04d33c9,c0e5cc80,c0e96000) at  
device_detach+0x8e
Sep 20 13:53:25 laptop kernel:  
pccard_detach_card(c0e5cc80,c0e85924,c063b538) at pccard_detach_card+0x44
Sep 20 13:53:25 laptop kernel:  
exca_removal(c0e96004,12c,c0e963f0,30000016,c0e96000) at exca_removal+0x53
Sep 20 13:53:25 laptop kernel:  
cbb_removal(c0e96000,0,c060fbd4,1d3,c0e963f0) at cbb_removal+0x35
Sep 20 13:53:25 laptop kernel:  
cbb_event_thread(c0e96000,c6af1d38,c0615c5c,30d,62735f64) at  
cbb_event_thread+0xb4
Sep 20 13:53:25 laptop kernel: fork_exit(c0459740,c0e96000,c6af1d38) at  
fork_exit+0xc1
Sep 20 13:53:25 laptop kernel: fork_trampoline() at fork_trampoline+0x8
Sep 20 13:53:25 laptop kernel: --- trap 0x1, eip = 0, esp = 0xc6af1d6c,  
ebp = 0 ---
Sep 20 13:53:25 laptop kernel: wi0: detached

My dmesg is:
Copyright (c) 1992-2005 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 6.0-BETA4 #14: Sat Sep 17 14:41:11 CEST 2005
     root@laptop.klop.ws:/usr/obj/usr/src/sys/LAPTOP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 100622336 (95 MB)
avail memory = 93089792 (88 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 7 Entries> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 0.1 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
cbb0: <TI1250 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 11 at  
device 12.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1250 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at  
device 12.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
isab0: <PCI-ISA bridge> at device 14.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <GENERIC ATA controller> port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1000-0x100f at device 14.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, USB> at device 14.2 (no driver attached)
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2  
on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
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: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding  
disabled, default to accept, logging unlimited
ep0: <3Com Megahertz 589E> at port 0x100-0x10f irq 11 function 0 config 1  
on pccard0
ep0: Ethernet address: 00:50:da:d1:01:25
Interrupt storm detected on "irq11: cbb0 cbb1+"; throttling interrupt  
source
wi0: <  IEEE 802.11 Wireless LAN/PC Card> at port 0x180-0x1bf irq 11  
function 0 config 1 on pccard1
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:60:b3:71:86:1c
ad0: 9590MB <FUJITSU MHN2100AT 7256> at ata0-master PIO4
acd0: CDROM <CD-224E/9.0B> at ata0-slave PIO4
Trying to mount root from ufs:/dev/ad0s1a

If somebody needs more info please tell me.

Ronald.

-- 
  Ronald Klop
  Amsterdam, The Netherlands



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.sxe78ykb8527sy>