From owner-freebsd-current@FreeBSD.ORG Wed Sep 15 20:35:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4AC316A4CE for ; Wed, 15 Sep 2004 20:35:51 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60E6C43D31 for ; Wed, 15 Sep 2004 20:35:51 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i8FKZUit094786; Wed, 15 Sep 2004 16:35:30 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i8FKZUBO094783; Wed, 15 Sep 2004 16:35:30 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 15 Sep 2004 16:35:30 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Bjoern A. Zeeb" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD current mailing list Subject: Re: malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT .. raw_ip.c:740 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 20:35:51 -0000 On Wed, 15 Sep 2004, Bjoern A. Zeeb wrote: > Hi, > > 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. I believe this one is fixed in -CURRENT, as the M_TRYWAIT argument to M_PREPEND() in raw_ip.c was converted to an M_DONTWAIT. That change was committed on 7/20/2004 (1.136), so it looks like it was made just a few days after the tree you're running with was checked out. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > > --- 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. > > -- > Greetings > Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >