Re: FreeBSD 7-STABLE mbuf corruption

2011-09-15 Thread Arnaud Lacombe
Hi, [added -current@ to the CC list, as the issue is still present in 9.0-BETA2] On Wed, Sep 7, 2011 at 7:19 PM, Arnaud Lacombe wrote: > Hi, > > On Mon, Sep 5, 2011 at 2:59 AM, Arnaud Lacombe wrote: >> Hi folks, >> >> We have been trying to track down a bad mbuf management for about two >> week

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-14 Thread Ryan Stone
On Wed, Sep 14, 2011 at 7:40 AM, John Baldwin wrote: > You should probably commit that. I've been meaning to post it to -current to see if somebody could come up with a better approach to solving the problem, but if you're happy with it, I'll submit it to re@. > I wonder if it should be a KASSER

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-14 Thread Ryan Stone
On Wed, Sep 14, 2011 at 7:40 AM, John Baldwin wrote: > You should probably commit that. I've been meaning to post it to -current to see if somebody could come up with a better approach to solving the problem, but if you're happy with it, I'll submit it to re@. > I wonder if it should be a KASSER

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-14 Thread John Baldwin
On Wednesday, September 14, 2011 9:15:38 am Adrian Chadd wrote: > On 14 September 2011 19:40, John Baldwin wrote: > > > You should probably commit that. I wonder if it should be a KASSERT() also > > so > > that it outright panics on a kernel with INVARIANTS enabled so developers > > will > > g

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-14 Thread Adrian Chadd
On 14 September 2011 19:40, John Baldwin wrote: > You should probably commit that.  I wonder if it should be a KASSERT() also so > that it outright panics on a kernel with INVARIANTS enabled so developers will > go fix their code as it seems to me to likely be a bug to enqueue a task that > many

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-14 Thread John Baldwin
On Tuesday, September 13, 2011 6:29:05 pm Ryan Stone wrote: > On Tue, Sep 13, 2011 at 2:36 PM, Arnaud Lacombe wrote: > > It did not crash, yet. The only downside is that after 3h30 and ~4h, > > igb(4) queues' handler started spinning infinitely, breaking network > > connectivity. > > I saw a simi

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-13 Thread Ryan Stone
On Tue, Sep 13, 2011 at 2:36 PM, Arnaud Lacombe wrote: > It did not crash, yet. The only downside is that after 3h30 and ~4h, > igb(4) queues' handler started spinning infinitely, breaking network > connectivity. I saw a similar issue on HEAD last week. The attached patch fix the problem for me.

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-13 Thread Arnaud Lacombe
Hi, On Tue, Sep 13, 2011 at 2:36 PM, Arnaud Lacombe wrote: > Hi, > > On Wed, Sep 7, 2011 at 7:57 PM, Jack Vogel wrote: >> I have seen this, but I don't have any hot ideas right off the top of my >> head yet :( >> > I've been running for 19h now the following patches: >  - backport of kmacy@'s bu

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-08 Thread Arnaud Lacombe
Hi, On Wed, Sep 7, 2011 at 8:18 PM, Sean Bruno wrote: > [...] > In addition to some txeof() handling patches ... Jack can see if this is > still relevant in the freebsd7 universe. Note that Yahoo is "special" > and we pluck and chuck code/drivers/whatever at will so I don't know how > this code w

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-07 Thread Arnaud Lacombe
Hi, On Wed, Sep 7, 2011 at 8:18 PM, Sean Bruno wrote: > On Wed, 2011-09-07 at 16:19 -0700, Arnaud Lacombe wrote: >> Hi, >> >> On Mon, Sep 5, 2011 at 2:59 AM, Arnaud Lacombe wrote: >> > Hi folks, >> > >> > We have been trying to track down a bad mbuf management for about two >> > weeks on a custo

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-07 Thread Sean Bruno
On Wed, 2011-09-07 at 16:19 -0700, Arnaud Lacombe wrote: > Hi, > > On Mon, Sep 5, 2011 at 2:59 AM, Arnaud Lacombe 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 wit

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-07 Thread Jack Vogel
I have seen this, but I don't have any hot ideas right off the top of my head yet :( Jack On Wed, Sep 7, 2011 at 4:19 PM, Arnaud Lacombe wrote: > Hi, > > On Mon, Sep 5, 2011 at 2:59 AM, Arnaud Lacombe wrote: > > Hi folks, > > > > We have been trying to track down a bad mbuf management for abo

Re: FreeBSD 7-STABLE mbuf corruption

2011-09-07 Thread Arnaud Lacombe
Hi, On Mon, Sep 5, 2011 at 2:59 AM, Arnaud Lacombe 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). >

FreeBSD 7-STABLE mbuf corruption

2011-09-05 Thread Arnaud Lacombe
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