From owner-freebsd-current@FreeBSD.ORG Thu Oct 8 13:56:48 2009 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 912951065670 for ; Thu, 8 Oct 2009 13:56:48 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3038FC14 for ; Thu, 8 Oct 2009 13:56:48 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id DD69B46B1A; Thu, 8 Oct 2009 09:56:47 -0400 (EDT) Date: Thu, 8 Oct 2009 14:56:47 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Kamigishi Rei In-Reply-To: <4AC61ED6.1090802@haruhiism.net> Message-ID: References: <4AC61ED6.1090802@haruhiism.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-Current Subject: Believed fixed (was: Re: Another panic (during netisr?)) 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: Thu, 08 Oct 2009 13:56:48 -0000 On Fri, 2 Oct 2009, Kamigishi Rei wrote: > Hello, hope you're having a nice day, > > This is on FreeBSD 8.0-BETA3 (Ameagari) #23 r196460: Mon Aug 24 00:36:33 JST > 2009; not sure if it has been witnessed or fixed. I've been running it > without restarts to test the stability and here we go: Since debugging this went offline, the quick summary for the list is: it looks like a race condition in the read-write locking for tcbinfo in 8.x/9.x was responsible, and I've now committed a fix to head and merged to stable/8 this morning. If this recurs with the fix, please let me know, because that would mean we fixed the wrong bug. :-) Robert > > Unread portion of the kernel message buffer: > panic: tcp_input: so == NULL > cpuid = 0 > Uptime: 39d15h40m53s > > (kgdb) #0 doadump () at pcpu.h:223 > #1 0xffffffff805ab6d3 in boot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:416 > #2 0xffffffff805abb2c in panic (fmt=Variable "fmt" is not available. > ) > at /usr/src/sys/kern/kern_shutdown.c:579 > #3 0xffffffff80725543 in tcp_input (m=0xffffff00672a8300, off0=Variable > "off0" is not available. > ) > at /usr/src/sys/netinet/tcp_input.c:737 > #4 0xffffffff806bea9c in ip_input (m=0xffffff00672a8300) > at /usr/src/sys/netinet/ip_input.c:775 > #5 0xffffffff8065d478 in netisr_dispatch_src (proto=1, source=Variable > "source" is not available. > ) > at /usr/src/sys/net/netisr.c:917 > #6 0xffffffff80655b7d in ether_demux (ifp=0xffffff0001656000, > m=0xffffff00672a8300) at /usr/src/sys/net/if_ethersubr.c:895 > #7 0xffffffff80655fa5 in ether_input (ifp=0xffffff0001656000, > m=0xffffff00672a8300) at /usr/src/sys/net/if_ethersubr.c:754 > #8 0xffffffff80347f64 in em_rxeof (adapter=0xffffff80002b0000, count=4) > at /usr/src/sys/dev/e1000/if_em.c:4605 > #9 0xffffffff80349d05 in em_poll (ifp=0xffffff0001656000, cmd=Variable "cmd" > is not available. > ) > at /usr/src/sys/dev/e1000/if_em.c:1657 > #10 0xffffffff8059fa17 in netisr_poll () at /usr/src/sys/kern/kern_poll.c:448 > #11 0xffffffff8065cd56 in swi_net (arg=0xffffffff80eb7800) > at /usr/src/sys/net/netisr.c:748 > #12 0xffffffff80585398 in intr_event_execute_handlers (p=Variable "p" is not > available. > ) > at /usr/src/sys/kern/kern_intr.c:1165 > #13 0xffffffff80585ff2 in ithread_loop (arg=0xffffff00014d8660) > at /usr/src/sys/kern/kern_intr.c:1178 > #14 0xffffffff805832ea in fork_exit ( > callout=0xffffffff80585f40 , arg=0xffffff00014d8660, > frame=0xffffff8000032c80) at /usr/src/sys/kern/kern_fork.c:838 > #15 0xffffffff8087a24e in fork_trampoline () > at /usr/src/sys/amd64/amd64/exception.S:561 > > -- > Kamigishi Rei > KREI-RIPE > fujibayashi.jp > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >