From owner-freebsd-current@FreeBSD.ORG Mon Jun 21 18:52:16 2010 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 0B5DE106564A; Mon, 21 Jun 2010 18:52:16 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.29]) by mx1.freebsd.org (Postfix) with ESMTP id 84EF28FC13; Mon, 21 Jun 2010 18:52:15 +0000 (UTC) Received: from [78.34.140.134] (helo=r500.local) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1OQm6P-0008Qd-CW; Mon, 21 Jun 2010 20:52:13 +0200 Date: Mon, 21 Jun 2010 20:52:28 +0200 From: Fabian Keil To: Lawrence Stewart Message-ID: <20100621205228.0e5332cc@r500.local> In-Reply-To: <4C1EE644.3070105@freebsd.org> References: <4C1492D0.6020704@freebsd.org> <4C1C3922.2050102@freebsd.org> <20100619195823.53a7baaa@r500.local> <4C1DED16.8020209@freebsd.org> <20100620131544.495ddecd@r500.local> <4C1E019F.6060802@freebsd.org> <20100620142841.4803dac3@r500.local> <4C1E0E14.3090506@freebsd.org> <20100620151554.58e486db@r500.local> <20100620161242.59381341@r500.local> <20100620213601.050fcf3e@r500.local> <6CE5B32B-2C82-436D-82E3-489D2D22C7EA@lavabit.com> <4C1EE644.3070105@freebsd.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/G66arsCBtb_DrBlKhgyKUd_"; protocol="application/pgp-signature" X-Df-Sender: 775067 Cc: freebsd-current@freebsd.org Subject: Re: [CFT] SIFTR - Statistical Information For TCP Research: Uncle Lawrence needs YOU! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 18:52:16 -0000 --Sig_/G66arsCBtb_DrBlKhgyKUd_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Lawrence Stewart wrote: > On 06/21/10 05:44, Rui Paulo wrote: > > > > On 20 Jun 2010, at 20:36, Fabian Keil wrote: > > > >> Fabian Keil wrote: > >> > >>> Fabian Keil wrote: > >> > >>>> My custom kernel normally doesn't have INVARIANTS and WITNESS > >>>> enabled, so I'll try to enable them next. > >>> > >>> The culprit seem to be non-default KTR settings in the kernel > >>> while loading alq as a module. > >> > >> Actually whether or not alq is loaded as a module doesn't > >> seem to matter, with: > >> > >> options KTR > >> options KTR_ENTRIES=3D262144 > >> options KTR_COMPILE=3D(KTR_SCHED) > >> options KTR_MASK=3D(KTR_SCHED) > >> options KTR_CPUMASK=3D0x3 > >> options ALQ > >> options KTR_ALQ > >> > >> enabling siftr panics the system, too. > > > > That's probably because your module was built with different compile ti= me options than the ones used in the kernel. These options may change struc= ture sizes, function parameters, etc. and that easily causes panics. >=20 > hmm I wonder if my instructions to build SIFTR manually are causing your= =20 > problems. Fabian, is the siftr.ko module you're loading built as part of= =20 > a "make buildkernel", or did you follow my instructions and "cd=20 > /sys/modules/siftr ; make ; kldload ./siftr.ko"? The latter. > If the latter is true, perhaps try and explicitly build SIFTR as part of= =20 > "make buildkernel" and see if loading the module built that way still=20 > triggers the panic when enabled (the module will be in=20 > /usr/obj//sys//modules//sys/modules/s= iftr/siftr.ko=20 > or if you "make installkernel" it'll be in /boot/kernel/kernel/siftr.ko). That seems to work. Fabian --Sig_/G66arsCBtb_DrBlKhgyKUd_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwftPEACgkQBYqIVf93VJ1ZjQCghr/4lTHsXky8y4KkctgsjJiy 4AcAniqqNaVSIuEIPKzCnbYuUetrk4TX =nwK5 -----END PGP SIGNATURE----- --Sig_/G66arsCBtb_DrBlKhgyKUd_--