ndis0 panics -current

Niki Denev nike_d at cytexbg.com
Wed Apr 28 09:34:10 PDT 2004


Hello,

Here is what i get with today cvsupped and rebuilt -CURRENT on IBM TP X31,
Kernel is GENERIC, dmesg, loader.conf, and the WinXP Centrino drivers
can be found at : http://www.totalterror.net/freebsd/
Basically all i do is to load the if_ndis module (ndis.ko preloaded in 
loader.conf) , set the ssid and wepkey and bring the interface up, and it 
seems that just before the "ndis0: link up" console message, the machine 
panics.

-----------------------------------------------------------------
[root at phobos /usr/src/sys/modules/if_ndis]# make clean && make
...
[root at phobos /usr/src/sys/modules/if_ndis]# make load
/sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
pci0: driver added
pci0:29:7: reprobing on driver added
pci0:31:3: reprobing on driver added
pci0:31:6: reprobing on driver added
pci1: driver added
pci2: driver added
pci2:2:0: reprobing on driver added
ndis0: <Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter> mem 0xc0200000-0xc02
00fff irq 11 at device 2.0 on pci2
ndis0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc0200000
ndis0: [GIANT-LOCKED]
can't re-use a leaf (ESS_ID)!
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:04:23:92:33:23
ndis0: 11b rates: 11Mbps 2Mbps 1Mbps
Loaded /usr/src/sys/modules/if_ndis/if_ndis.ko, id=9
[root at phobos] /usr/src/sys/modules/if_ndis]# ifconfig ndis0 ssid my_ssid wepmode on wepkey 0x************************** up
ndis0: set filter failed: 6 
ndis0: set filter failed: 6
ndis0: set filter failed: 6
[root at phobos] /usr/src/sys/modules/if_ndis]#panic: lock (sleep mutex) Giant not locked @ /usr/src/sys/dev/if_ndis/if_ndis.c:1035
at line 1038 in file /usr/src/sys/kern/subr_witness.c
cpuid = 0;
Debugger("panic")
Stopped at      Debugger+0x46: xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c07c28d5) at Debugger+0x46
__panic(c07c5ee6,40e,c07c6487,c07da514,c07c1f57) at __panic+0x13d
witness_unlock(c0880980,0,c4a32f5f,40b) at witness_unlock+0xc6
_mtx_unlock_flags(c0880980,0,c4a32f5f,40b,0) at _mtx_unlock_flags+0x67
ndis_ticktask(c4cf4000,c43991b8,c09cd054,0,d7e3ed34) at ndis_ticktask+0x1e
ndis_runq(c09d1d1c,d7e3ed48,c09d1d1c,c09cd054,0) at ndis_runq+0x79
fork_exit(c09cd054,c09d1d1c,d7e3ed48) at fork_exit+0xa8
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd7e3ed7c, ebp = 0 ---
db>
----------------------------------------------------------------
p.s. the trace is written by hand
because i don't have com port.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040428/04d6094d/attachment.bin


More information about the freebsd-current mailing list