Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 19:19:46 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        freebsd-net@freebsd.org
Cc:        Jack Vogel <jfvogel@gmail.com>
Subject:   Re: FreeBSD 7-STABLE mbuf corruption
Message-ID:  <CACqU3MXf52tLajTfVCEiGGhtCuXsesrdM65LfsoGecuZj2tNwA@mail.gmail.com>
In-Reply-To: <CACqU3MUs9Z9GeuGe=8iVp=MWV6eG-tO%2BkHb1znatsTq2uEqwvA@mail.gmail.com>
References:  <CACqU3MUs9Z9GeuGe=8iVp=MWV6eG-tO%2BkHb1znatsTq2uEqwvA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, Sep 5, 2011 at 2:59 AM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Hi folks,
>
> We have been trying to track down a bad mbuf management for about two
> weeks on a customized 7.1 base. I have finally been able to reproduce
> it with a stock FreeBSD 7-STABLE (kernel from r225276, userland from
> 7.4).
>
> With the help of the attached patches, I have just been able to
> trigger the following panic:
>
> panic: Corrupted unused flags, expected 0xffffffff00000000, got 0x0, flags 0x3
> cpuid = 1
> Uptime: 3d10h5m3s
> Cannot dump. No dump device defined
>
General form of the crash is:

panic: Corrupted unused flags, expected 0xffffffff00000000, got
0xbabe0000000000, flags 0xbabe0000babe00
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper(c0874e29,0,c0835757,f4574c48,0,...) at
db_trace_self_wrapper+0x26
panic(c0835757,0,ffffffff,0,babe00,...) at panic+0x10b
igb_txeof(c6a25008,0,c0837083,5ea,17c,...) at igb_txeof+0x399
igb_msix_que(c6a2b800,0,c084d367,4b6,c69dd068,...) at igb_msix_que+0x7b
ithread_loop(c6a29090,f4574d38,c084d0db,31c,c6a16828,...) at ithread_loop+0xc3
fork_exit(c061d520,c6a29090,f4574d38) at fork_exit+0xa6
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xf4574d70, ebp = 0 ---
Uptime: 1m42s

It happens particularly easily when the box receives wall of SYN
(about 1000 cnx attempts at once) every 5s or so.

 - Arnaud

>
> [cut stuff no one cares about...]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MXf52tLajTfVCEiGGhtCuXsesrdM65LfsoGecuZj2tNwA>