Date: Thu, 23 Feb 2006 23:28:44 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Sebastian Inacker <inacker@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Kernel panic within dummynet-code(?) Message-ID: <20060223212843.GC47860@ip.net.ua> In-Reply-To: <2829dda20602230207q574df45fs7a7a9daf7145ab4a@mail.gmail.com> References: <2829dda20602230207q574df45fs7a7a9daf7145ab4a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060223212843.GC47860>