From owner-freebsd-net@FreeBSD.ORG Thu Feb 23 10:07:07 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4EA616A420 for ; Thu, 23 Feb 2006 10:07:07 +0000 (GMT) (envelope-from inacker@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6213343D45 for ; Thu, 23 Feb 2006 10:07:07 +0000 (GMT) (envelope-from inacker@gmail.com) Received: by zproxy.gmail.com with SMTP id m22so11327nzf for ; Thu, 23 Feb 2006 02:07:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=StCUxeGkPpINegmwAA2UKxluxMLqFmLc1UGuFAA9n3/fxIfet8PO2fMdJxeXKURzWqEooFnyMl5l6zHyGDnYcAhl1VxeLMLCb/BRUgaasiW/SqLJl2mkFMrkoPNHGZ2oBeK6e4Cn5tyP3LzvETDer1AOVv5wHfKmTzXnSC/TF2w= Received: by 10.36.220.49 with SMTP id s49mr2241136nzg; Thu, 23 Feb 2006 02:07:06 -0800 (PST) Received: by 10.36.177.15 with HTTP; Thu, 23 Feb 2006 02:07:06 -0800 (PST) Message-ID: <2829dda20602230207q574df45fs7a7a9daf7145ab4a@mail.gmail.com> Date: Thu, 23 Feb 2006 11:07:06 +0100 From: "Sebastian Inacker" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Kernel panic within dummynet-code(?) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 10:07:07 -0000 Hello Networkers. I got a kernel panic on FreeBSD 6.0-RELEASE, which is probably caused by a not initialised pointer "p =3D (void *) 0x0" within the dummynet-code. I analysed the crash dump and got (kgdb) f 9 #9 0xc06d3670 in dummynet (unused=3D0x0) at ../../../netinet/ip_dummynet= .c:785 (kgdb) i loc p =3D (void *) 0x0 h =3D (struct dn_heap *) 0x4 heaps =3D {0xc093cf40, 0xc093cf60, 0xc093cf50} i =3D 22 pe =3D (struct dn_pipe *) 0x4 (see backtrack[1] of the crash dump). Some frames before I do have problems with subr_turnstile.c and kern_mutex.c, which could be caused by a problem in dummynet - but I'm not sure. The machine does use dummynet (with DUMMYNET and HZ=3D1000) for bandwidth management, but the problem - if it is within dummynet - have to be a special case, because it crashes not as regulary as it would do in other cases. I'd be glad, if someone can help me. I would be glad also if I could help to fix a maybe existing bug. [1] To save bandwidth: The complete backtrack of that kernel panic is on , if that's helpfull. Just ask for more informations if needed.