From owner-freebsd-stable@FreeBSD.ORG Tue Sep 20 21:49:41 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9461116A41F for ; Tue, 20 Sep 2005 21:49:41 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id F37C943D46 for ; Tue, 20 Sep 2005 21:49:40 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out3.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1EHpzg-0007Pc-7C for ; Tue, 20 Sep 2005 23:49:40 +0200 Received: (qmail 16022 invoked from network); 20 Sep 2005 21:49:38 -0000 Received: from localhost.thuis.klop.ws (HELO outgoing.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 20 Sep 2005 21:49:38 -0000 To: "FreeBSD questions" Date: Tue, 20 Sep 2005 23:49:36 +0200 From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.02 (FreeBSD, build 1272) Subject: RELENG_6: hangs with if_wi in pccard. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 21:49:41 -0000 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 real memory = 100622336 (95 MB) avail memory = 93089792 (88 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 pcib1: at device 0.1 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x7ffff000-0x7fffffff irq 11 at device 12.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1000-0x100f at device 14.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 14.2 (no driver attached) pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: 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 at ata0-master PIO4 acd0: CDROM 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