From owner-freebsd-net@FreeBSD.ORG Thu Feb 23 21:30:25 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 6255E16A420 for ; Thu, 23 Feb 2006 21:30:25 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 825FB43D45 for ; Thu, 23 Feb 2006 21:30:23 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1NLUL7Y014945; Thu, 23 Feb 2006 23:30:21 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 02286-02; Thu, 23 Feb 2006 23:29:51 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1NLSahh014876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 Feb 2006 23:28:36 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k1NLSiJU076198; Thu, 23 Feb 2006 23:28:44 +0200 (EET) (envelope-from ru) Date: Thu, 23 Feb 2006 23:28:44 +0200 From: Ruslan Ermilov To: Sebastian Inacker Message-ID: <20060223212843.GC47860@ip.net.ua> References: <2829dda20602230207q574df45fs7a7a9daf7145ab4a@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: <2829dda20602230207q574df45fs7a7a9daf7145ab4a@mail.gmail.com> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ip.net.ua Cc: freebsd-net@freebsd.org Subject: Re: 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 21:30:25 -0000 --eAbsdosE1cNLO4uF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2006 at 11:07:06AM +0100, Sebastian Inacker wrote: > Hello Networkers. >=20 > 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. >=20 > I analysed the crash dump and got >=20 > (kgdb) f 9 > #9 0xc06d3670 in dummynet (unused=3D0x0) at ../../../netinet/ip_dummyn= et.c:785 >=20 > (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 >=20 > (see backtrack[1] of the crash dump). >=20 > 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. >=20 > 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. >=20 > I'd be glad, if someone can help me. > I would be glad also if I could help to fix a maybe existing bug. >=20 There were several dummynet(4) fixes in RELENG_6, try with them first. One that can be responsible for what you're seeing was insufficient locking. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --eAbsdosE1cNLO4uF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD/ikLqRfpzJluFF4RApujAJ9Eu3SZ9Ra3g1omMRGADFwsfeXsLACfVHAY sSUvU7anq5u6rboTvbqelPA= =CPFx -----END PGP SIGNATURE----- --eAbsdosE1cNLO4uF--