kern/116747: [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile 1400 wireless card

Harald Hanche-Olsen hanche at math.ntnu.no
Sat Mar 15 09:40:03 PDT 2008


The following reply was made to PR kern/116747; it has been noted by GNATS.

From: Harald Hanche-Olsen <hanche at math.ntnu.no>
To: bug-followup at FreeBSD.org, roar.pettersen at FreeBSD.org
Cc:  
Subject: Re: kern/116747: [ndis] FreeBSD 7.0-CURRENT crash with Dell
 TrueMobile 1400 wireless card
Date: Sat, 15 Mar 2008 17:07:10 +0100 (CET)

 (I wasn't sure whether to append to this pr or file my own: My problem
 seems related but is not identical. Anyway, here goes:)
 
 I have an old-ish laptop with the Dell TrueMobile 1180 Internal
 802.11b Mini PCI Card. I get a kernel panic not after kld_load
 bcmwl5_sys.ko, but only after trying to run ifconfig on the interface
 instead:
 
 System: FreeBSD odin 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
 
 [The system is freshly installed, and bcmwl5_sys.ko is freshly
  generated on the new system.]
 
 First, when running "kldload bcmwl5_sys.ko" I get these messages on
 the console:
 
 ndis0: <Dell TrueMobile 1180 Internal 802.11b Mini PCI Card> mem 0xffc000-0xf8ffdfff irq 9 at device 3.0 on pci2
 ndis0: [ITHREAD]
 ndis0: NDIS API version: 5.0
 ndis0: NDIS ERROR: c000138d (unknown error)
 ndis0: NDIS ERROR: c000138d (unknown error)
 ndis0: using obsoleted if_watchdog interface
 ndis0: Ethernet address: 00:90:4b:b0:07:5b
 
 Next, when I run "ifconfig ndis0 odin ssid foonet mode 11b" I get
 ndis0: NDIS ERROR: c000138d (unknown error)
 ndis0: NDIS ERROR: c000138d (unknown error)
 
 [IIRC, I used to get these under 6.2 as well, so I assume they're
 harmless]
 
 and then the kernel panic.  Output from kgdb below.
 
 # kgdb /boot/kernel/kernel /var/crash/vmcore.1
 [...]
 
 Unread portion of the kernel message buffer:
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 0; apic id = 00
 fault virtual address	= 0x0
 fault code		= supervisor read, page not present
 instruction pointer	= 0x20:0xc0a46e7c
 stack pointer	        = 0x28:0xf0890b04
 frame pointer	        = 0x28:0xf0890b3c
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 848 (ndis0 taskq)
 trap number		= 12
 panic: page fault
 cpuid = 0
 Uptime: 4m58s
 Physical memory: 755 MB
 Dumping 272 MB: 257 241 225 209 193 177 161 145 129 113 97 81 65 49 33 17 1
 
 #0  doadump () at pcpu.h:195
 195	pcpu.h: No such file or directory.
 	in pcpu.h
 (kgdb) where
 #0  doadump () at pcpu.h:195
 #1  0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
 #2  0xc0754719 in panic (fmt=Variable "fmt" is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:563
 #3  0xc0a4905c in trap_fatal (frame=0xf0890ac4, eva=0)
     at /usr/src/sys/i386/i386/trap.c:899
 #4  0xc0a492e0 in trap_pfault (frame=0xf0890ac4, usermode=0, eva=0)
     at /usr/src/sys/i386/i386/trap.c:812
 #5  0xc0a49c8c in trap (frame=0xf0890ac4) at /usr/src/sys/i386/i386/trap.c:490
 #6  0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 #7  0xc0a46e7c in memcpy () at /usr/src/sys/i386/i386/support.s:692
 Previous frame inner to this frame (corrupt stack?)
 (kgdb) # 
 


More information about the freebsd-net mailing list