problem with sleep & ng_socket in FreeBSD 7 prerelease

From: Victor M. Blood <freebsd_at_masm.elcom.ru>
Date: Sat, 20 Oct 2007 17:09:04 +0400
Hi, All.

netgraph compiled as module
# cd /sys/modules/netgraph
# make depend
# make
# make install
...
# cat /boot/loader.conf
..
netgraph_load="YES"
ng_pppoe_load="YES"
ng_socket_load="YES"
ng_ether_load="YES"
...

This problem pops in time then pppoed starts ppp

uma_zalloc_arg: zone "16" with the following non-sleepable locks held:
exclusive sleep mutex ng_socket r = 0 (0xc182a4d4) locked _at_ /usr/src/sys/modules/netgraph/socket/../../../netgraph/ng_socket.c:484
KDB: stack backtrace:
db_trace_self_wrapper(c06edc0d,c8175b88,c0589d8d,c06edfc7,c8175b9c,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c06edfc7,c8175b9c,4,1,0,...) at kdb_backtrace+0x29
witness_warn(5,0,c0700fb1,c06d8418,c8175bbc,...) at witness_warn+0x1cd
uma_zalloc_arg(c1055680,0,102,2,0,...) at uma_zalloc_arg+0x34
malloc(3,c072d920,102,1e4,0,...) at malloc+0xd7
ng_getsockaddr(c18c1000,c8175c70,c183b4c8,0,c8175c6c,...) at ng_getsockaddr+0x87
kern_getsockname(c1756a50,0,c8175c70,c8175c6c,80,...) at kern_getsockname+0x53
getsockname(c1756a50,c8175cfc,c,c06f07ab,c0720760,...) at getsockname+0x52
syscall(c8175d38) at syscall+0x2f3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (32, FreeBSD ELF32, getsockname), eip = 0x283322e7, esp = 0xbfbfe03c, ebp = 0xbfbfebf8 ---


-- 
With all regards, Victor M. Blood.     mailto: freebsd_at_masm.elcom.ru
FTN: 2:5024/1.95_at_Fidonet.org, ICQ#3567656
Received on Sat Oct 20 2007 - 11:09:03 UTC

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