From owner-freebsd-current@FreeBSD.ORG Sat Jun 19 17:58:12 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 487DD106564A; Sat, 19 Jun 2010 17:58:12 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id C7DD18FC08; Sat, 19 Jun 2010 17:58:11 +0000 (UTC) Received: from [78.34.189.21] (helo=r500.local) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1OQ2J0-0002GI-3R; Sat, 19 Jun 2010 19:58:10 +0200 Date: Sat, 19 Jun 2010 19:58:23 +0200 From: Fabian Keil To: Lawrence Stewart Message-ID: <20100619195823.53a7baaa@r500.local> In-Reply-To: <4C1C3922.2050102@freebsd.org> References: <4C1492D0.6020704@freebsd.org> <4C1C3922.2050102@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_/tZ7KxyfI78_if3E+m95.tpX"; 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: Sat, 19 Jun 2010 17:58:12 -0000 --Sig_/tZ7KxyfI78_if3E+m95.tpX Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Lawrence Stewart wrote: > On 06/13/10 18:12, Lawrence Stewart wrote: > > The time has come to solicit some external testing for my SIFTR tool. > > I'm hoping to commit it within a week or so unless problems are discove= red. > > I'm interested in all feedback and reports of success/failure, along > > with details of the architecture tested and number of CPUs if you would > > be so kind. I got the following hand-transcribed panic maybe a second after sysctl net.inet.siftr.enabled=3D1 Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 [...] current process =3D 12 (swi4: clock) [ thread pid 12 tid 100006 ] Stopped at siftr_chkpkt+0xd0: addq $0x1,0x8(%r14) db> where Tracing pid 12 tid 100006 td 0xffffff00034037e0 siftr_chkpt() at siftr_chkpkt+0xd0 pfil_run_hooks() at pfil_run_hooks+0xb4 ip_output() at ip_output+0x382 tcp_output() tcp_output+0xa41 tcp_timer_rexmt() at tcp_timer_rexmt+0x251 softclock() at softclock+0x291 intr_event_execute_handlers() at intr_event_execute_handlers+0x66 ithread_loop at ithread_loop+0x8e fork_exit() at fork_exit+0x112 fork_trampoline() at fork_trampoline+0xe --- trap 0, rip =3D 0, rsp =3D 0xffffff800003ad30, rbp =3D 0 --- This is from the third attempt, the second time I got a different backtrace that also contained some *_iwn_* functions, the first time I had X running, so I didn't get anything. Unfortunately at that point the system seems to be too busted to dump core. I'm using: FreeBSD 9.0-CURRENT #99 r+b768fe1: Sat Jun 19 15:01:37 CEST 2010 fk@r500.local:/usr/obj/usr/src/sys/ZOEY amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz (1995.01-MHz K8-class = CPU) Origin =3D "GenuineIntel" Id =3D 0x6fd Family =3D 6 Model =3D f Stepp= ing =3D 13 Features=3D0xbfebfbff Features2=3D0xe39d AMD Features=3D0x20100800 AMD Features2=3D0x1 TSC: P-state invariant real memory =3D 2147483648 (2048 MB) avail memory =3D 1976610816 (1885 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard I'm not using vanilla sources, but none of the modifications should matter here. I have powerd running and did not yet try without it. The system has bge0 and iwn0, but bge0 is mainly down. pf is compiled into the kernel, siftr is loaded as a module. The panic seems to occur without logging a single packet first: fk@r500 ~ $cat /var/log/siftr.log=20 enable_time_secs=3D1276966161 enable_time_usecs=3D945080 siftrve= r=3D1.2.3 hz=3D100 tcp_rtt_scale=3D32 sysname=3DFreeBSD sysver=3D9= 00014 ipmode=3D4 enable_time_secs=3D1276966586 enable_time_usecs=3D314023 siftrve= r=3D1.2.3 hz=3D100 tcp_rtt_scale=3D32 sysname=3DFreeBSD sysver=3D9= 00014 ipmode=3D4 I get the impression that this is reproducible, but only tried three times (the last time with everything mounted read-only). Fabian --Sig_/tZ7KxyfI78_if3E+m95.tpX Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwdBUUACgkQBYqIVf93VJ02AgCgqy+IOAFvqJXv80sL/R0svXX7 tyEAn1H7tgORbRAcmzX17mZ2oyLdOoow =GNZV -----END PGP SIGNATURE----- --Sig_/tZ7KxyfI78_if3E+m95.tpX--