From owner-freebsd-current@FreeBSD.ORG Sat Oct 20 13:09:03 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BD0616A418 for ; Sat, 20 Oct 2007 13:09:03 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: from smtp.elcom.ru (smtp.elcom.ru [84.53.200.28]) by mx1.freebsd.org (Postfix) with ESMTP id 5A90E13C44B for ; Sat, 20 Oct 2007 13:09:03 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: by smtp.elcom.ru (Postfix, from userid 65534) id F41613D8663; Sat, 20 Oct 2007 17:08:59 +0400 (MSD) Received: from VMHOST (dsl-212-78.elcom.ru [84.53.212.78]) by smtp.elcom.ru (Postfix) with ESMTP id C8A673D8630 for ; Sat, 20 Oct 2007 17:08:59 +0400 (MSD) Date: Sat, 20 Oct 2007 17:09:04 +0400 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <11010603075.20071020170904@masm.elcom.ru> To: All MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: problem with sleep & ng_socket in FreeBSD 7 prerelease X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2007 13:09:03 -0000 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 @ /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@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656