ndis panic on current from (March 29)

From: Nikolay Pavlov <quetzal_at_zone3000.net>
Date: Fri, 6 Apr 2007 21:35:29 +0300
Hi. I have a panic on my notebook with current from March 29.
I've got it while shutting down. Here is details:

root_at_orion:/usr/obj/usr/src/sys/GENERIC# kgdb kernel.debug /var/crash/vmcore.1
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
<118>Writing entropy file:
<118>.
<118>Terminated
<118>.
<5>ndis0: link state changed to DOWN
<118>Apr  5 23:08:44 orion syslogd: exiting on signal 15
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex ntoskrnl dispatch lock (NDIS lock) r = 0 (0xc0d31554) locked _at_ /usr/src/sys/modules/ndis/../../compat/ndis/subr_ntoskrnl.c:3599
KDB: stack backtrace:
db_trace_self_wrapper(c094ddcd) at db_trace_self_wrapper+0x25
kdb_backtrace(1,c3ef2900,c,e288ec14,e288ec08,...) at kdb_backtrace+0x29
witness_warn(5,0,c097456d) at witness_warn+0x192
trap(e288ec14) at trap+0x10b
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc06d0605, esp = 0xe288ec54, ebp = 0xe288ec60 ---
_callout_stop_safe(deadc0de,0,c428d508,e288ec98,c0d293bb,...) at _callout_stop_safe+0x19
ntoskrnl_remove_timer(c0d31554,0,c0d2dbc2,e0f,e288eccc,...) at ntoskrnl_remove_timer+0xf
ntoskrnl_timercall(c428d508) at ntoskrnl_timercall+0x27
softclock(0) at softclock+0x22f
ithread_execute_handlers(c3ef2900,c3f31280) at ithread_execute_handlers+0x121
ithread_loop(c3e9fbe0,e288ed38) at ithread_loop+0x67
fork_exit(c06aea04,c3e9fbe0,e288ed38) at fork_exit+0xac
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe288ed70, ebp = 0 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x20315f47
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc06d0605
stack pointer           = 0x28:0xe288ec54
frame pointer           = 0x28:0xe288ec60
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         = 12 (swi4: clock sio)
panic: from debugger
cpuid = 0
Uptime: 1h29m53s
Physical memory: 1003 MB
Dumping 170 MB: 155 139 123 107 91 75 59 43 27 11

#0  doadump () at pcpu.h:172
172             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:172
#1  0xc06c2f68 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc06c3272 in panic (fmt=0xc090923c "from debugger") at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc047780e in db_panic (addr=-1066596859, have_addr=0, count=-1, modif=0xe288ea4c "") at /usr/src/sys/ddb/db_command.c:433
#4  0xc04777a7 in db_command (last_cmdp=0xc0a23a44, cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:401
#5  0xc0477862 in db_command_loop () at /usr/src/sys/ddb/db_command.c:453
#6  0xc04794ad in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:222
#7  0xc06e2170 in kdb_trap (type=12, code=0, tf=0xe288ec14) at /usr/src/sys/kern/subr_kdb.c:502
#8  0xc08c0b39 in trap_fatal (frame=0xe288ec14, eva=540106567) at /usr/src/sys/i386/i386/trap.c:859
#9  0xc08c01bf in trap (frame=0xe288ec14) at /usr/src/sys/i386/i386/trap.c:276
#10 0xc08aa5eb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#11 0xc06d0605 in _callout_stop_safe (c=0xdeadc0de, safe=0) at /usr/src/sys/kern/kern_timeout.c:489
#12 0xc0d2908b in ?? ()
#13 0xdeadc0de in ?? ()
#14 0x00000000 in ?? ()
#15 0xc428d508 in ?? ()
#16 0xe288ec98 in ?? ()
#17 0xc0d293bb in ?? ()
#18 0xc0d31554 in ?? ()
#19 0x00000000 in ?? ()
#20 0xc0d2dbc2 in ?? ()
#21 0x00000e0f in ?? ()
#22 0xe288eccc in ?? ()
#23 0xc06d018a in softclock (dummy=0xc0d31554) at /usr/src/sys/kern/kern_timeout.c:238
Previous frame inner to this frame (corrupt stack?)

Notebook Dell Inspiron 1300 with GENERIC kernel.

ndis0_at_pci2:3:0: class=0x028000 card=0x00051028 chip=0x431914e4 rev=0x02 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'Dell Wireless 1470 DualBand WLAN'
    class      = network

/etc/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
#
# office network; allow all valid ciphers
network={
        ssid="xxxxxxx"
        scan_ssid=1
        key_mgmt=WPA-PSK
        psk="xxxxxxxxxxxxxxxxxxxx"
}

/etc/rc.conf:

ifconfig_ndis0="ssid xxxxxxx"
ifconfig_ndis0="wpa inet 10.1.1.232 netmask 0xffffff00"

Also i have found that if i don't use it for some time i have to up/down
ndis interface to be able to use it again.

-- 
======================================================================  
- Best regards, Nikolay Pavlov. <<<-----------------------------------    
======================================================================  
Received on Fri Apr 06 2007 - 17:02:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC