malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT .. raw_ip.c:740

Bjoern A. Zeeb bzeeb-lists at
Wed Sep 15 11:50:10 PDT 2004


on a machine 61 days uptime I've just seen this in all the dmesg.

The kernel is from
FreeBSD 5.2-CURRENT #4: Fri Jul 16 11:53:55 UTC 2004
sources from about 0-3 days before.

looks partly similar to kern/68323.

I cannot see any changes in raw_ip.c > line 560 within the last
two months but a lot of other things have changed since then.

--- cut ---
malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following non-sleepable locks held:
exclusive sleep mutex rip r = 0 (0xc06871cc) locked @ /u2/src/HEAD/src/sys/netinet/raw_ip.c:740
KDB: stack backtrace:
kdb_backtrace(1,c2b1ec00,c2444b40,14,cb48ab50) at kdb_backtrace+0x29
witness_warn(5,0,c05ff4da,c05e4685) at witness_warn+0x182
uma_zalloc_arg(c2444b40,cb48ab74,2) at uma_zalloc_arg+0x38
m_prepend(c2b1ec00,14,2,c2b899e0,c289c370) at m_prepend+0x52
rip_output(c2b1ec00,c2b899e0,23efea9,580,c2b1ec00) at rip_output+0x99
rip_ctlinput(c2b899e0,0,c2b1ec00,c289c370,0) at rip_ctlinput+0x7a2
sosend(c2b899e0,c289c370,cb48ac54,c2b1ec00,0) at sosend+0x5b0
kern_sendit(c29a22c0,3,cb48accc,0,0) at kern_sendit+0xd1
socketpair(c29a22c0,3,cb48accc,0,804f2d4) at socketpair+0x479
sendto(c29a22c0,cb48ad14,6,151,296) at sendto+0x4d
syscall(2f,2f,2f,804ed54,804ed54) at syscall+0x1eb
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x280e42bf, esp = 0xbfbee80c, ebp = 0xbfbee848 ---
--- cut ---

PS: I will not be able to test anything related to this before next
tue - sorry. if you need further information please let me know and
I'll see what I can do.

Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

More information about the freebsd-current mailing list