Believed fixed (was: Re: Another panic (during netisr?))

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Thu, 8 Oct 2009 14:56:47 +0100 (BST)
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 <ithread_loop>, 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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Thu Oct 08 2009 - 11:56:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC