From nobody@FreeBSD.org  Fri Jun 25 13:02:38 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B8CCE16A4CF
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Jun 2004 13:02:38 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9BB8A43D2F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Jun 2004 13:02:38 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5PD2cDU057679
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Jun 2004 13:02:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i5PD2cOm057678;
	Fri, 25 Jun 2004 13:02:38 GMT
	(envelope-from nobody)
Message-Id: <200406251302.i5PD2cOm057678@www.freebsd.org>
Date: Fri, 25 Jun 2004 13:02:38 GMT
From: Nikolai Saoukh <nms@otdel-1.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: (WITNESS report): malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the non-sleepable locks held
X-Send-Pr-Version: www-2.3

>Number:         68323
>Category:       kern
>Synopsis:       (WITNESS report): malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the non-sleepable locks held
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    rwatson
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 25 13:10:11 GMT 2004
>Closed-Date:    Mon Jan 03 23:16:51 GMT 2005
>Last-Modified:  Mon Jan 03 23:16:51 GMT 2005
>Originator:     Nikolai Saoukh
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
none
>Environment:
FreeBSD otdel-1.org 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Jun 24 11:11:43 MSD 2004 nms@otdel-1.org:/usr/obj/usr/src/sys/XXX i386 
>Description:
Jun 25 16:32:04 xxx kernel: malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following non-sleepable locks held:
Jun 25 16:32:04 xxx kernel: exclusive sleep mutex rip r = 0 (0xc068f50c) locked @ /usr/src/sys/netinet/raw_ip.c:736
Jun 25 16:32:04 xxx kernel: Stack backtrace:
Jun 25 16:32:04 xxx kernel: backtrace(1,c36bd600,c0c21b00,14,de72babc) at backtrace+0x12
Jun 25 16:32:04 xxx kernel: witness_warn(5,0,c061cf8c,c06024aa) at witness_warn+0x18e
Jun 25 16:32:04 xxx kernel: uma_zalloc_arg(c0c21b00,de72bae0,2) at uma_zalloc_arg+0x38
Jun 25 16:32:04 xxx kernel: m_prepend(c36bd600,14,2,c35ca768,0) at m_prepend+0x52
Jun 25 16:32:04 xxx kernel: rip_output(c36bd600,c35ca768,2d936c3,0,c38fc840) at rip_output+0x95
Jun 25 16:32:04 xxx kernel: rip_send(c35ca768,0,c36bd600,0,0) at rip_send+0x93
Jun 25 16:32:04 xxx kernel: sosend(c35ca768,0,0,c36bd600,0) at sosend+0x5a5
Jun 25 16:32:04 xxx kernel: ng_ksocket_rcvdata(c3806780,c38e5180,c0606f29,3,c3105580) at ng_ksocket_rcvdata+0x1ce
Jun 25 16:32:04 xxx kernel: ng_apply_item(c5f3e100,c38e5180,116,c38e5180,c36bd600) at ng_apply_item+0x1c4
Jun 25 16:32:04 xxx kernel: ng_snd_item(c38e5180,0,c36bd600,2,1) at ng_snd_item+0x753
Jun 25 16:32:04 xxx kernel: ng_pptpgre_xmit(c5f06b00,0,c5f06b00,c5e2a414,6) at ng_pptpgre_xmit+0x477
Jun 25 16:32:04 xxx kernel: ng_pptpgre_send_ack_timeout(c34e8ba0) at ng_pptpgre_send_ack_timeout+0x1e7
Jun 25 16:32:04 xxx kernel: softclock(0) at softclock+0x176
Jun 25 16:32:04 xxx kernel: ithread_loop(c3103080,de72bd48,c3103080,c049520c,0) at ithread_loop+0x134
Jun 25 16:32:04 xxx kernel: fork_exit(c049520c,c3103080,de72bd48) at fork_exit+0x98
Jun 25 16:32:04 xxx kernel: fork_trampoline() at fork_trampoline+0x8
Jun 25 16:32:04 xxx kernel: --- trap 0x1, eip = 0, esp = 0xde72bd7c, ebp = 0 ---

>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Mon Aug 30 20:51:40 GMT 2004 
State-Changed-Why:  
Does still happen with a recent CURRENT? 

Problems with CURRENT should be reported on the freebsd-current 
mailinglist first. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68323 

From: "Nikolai SAOUKH" <nms@otdel-1.org>
To: "Tilman Linneweh" <arved@FreeBSD.org>, <freebsd-bugs@FreeBSD.org>
Cc:  
Subject: Re: kern/68323: (WITNESS report): malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the non-sleepable locks held
Date: Tue, 31 Aug 2004 08:31:32 +0400

 Unfortunately our configureation changed and we can not try it again.
 
 Thanks
 
 ----- Original Message ----- 
 From: "Tilman Linneweh" <arved@FreeBSD.org>
 To: <nms@otdel-1.org>; <arved@FreeBSD.org>; <freebsd-bugs@FreeBSD.org>
 Sent: Tuesday, August 31, 2004 12:52 AM
 Subject: Re: kern/68323: (WITNESS report): malloc(M_WAITOK) of "Mbuf",
 forcing M_NOWAIT with the non-sleepable locks held
 
 
 | Synopsis: (WITNESS report): malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT
 with the non-sleepable locks held
 |
 | State-Changed-From-To: open->feedback
 | State-Changed-By: arved
 | State-Changed-When: Mon Aug 30 20:51:40 GMT 2004
 | State-Changed-Why:
 | Does still happen with a recent CURRENT?
 |
 | Problems with CURRENT should be reported on the freebsd-current
 | mailinglist first.
 |
 | http://www.freebsd.org/cgi/query-pr.cgi?pr=68323
 |
State-Changed-From-To: feedback->closed 
State-Changed-By: rwatson 
State-Changed-When: Mon Jan 3 23:14:00 GMT 2005 
State-Changed-Why:  
This bug is believed fixed as of raw_ip.c:1.136 committed July 20, 
2004, with the fix appearing in 5.3-RELEASE and later.  Thanks for 
the bug report! 



Responsible-Changed-From-To: freebsd-bugs->rwatson 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Mon Jan 3 23:14:00 GMT 2005 
Responsible-Changed-Why:  
Grab this PR. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=68323 
>Unformatted:
