netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Campbell <brad@fnarfbargle.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Patrick McHardy <kaber@trash.net>,
	Bart De Schuymer <bdschuym@pandora.be>,
	kvm@vger.kernel.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	netfilter-devel@vger.kernel.org
Subject: Re: KVM induced panic on 2.6.38[2367] & 2.6.39
Date: Thu, 09 Jun 2011 01:02:13 +0800	[thread overview]
Message-ID: <4DEFAB15.2060905@fnarfbargle.com> (raw)
In-Reply-To: <1307505541.3102.12.camel@edumazet-laptop>

On 08/06/11 11:59, Eric Dumazet wrote:

> Well, a bisection definitely should help, but needs a lot of time in
> your case.

Yes. compile, test, crash, walk out to the other building to press 
reset, lather, rinse, repeat.

I need a reset button on the end of a 50M wire, or a hardware watchdog!

Actually it's not so bad. If I turn off slub debugging the kernel panics 
and reboots itself.

This.. :
[    2.913034] netconsole: remote ethernet address 00:16:cb:a7:dd:d1
[    2.913066] netconsole: device eth0 not up yet, forcing it
[    3.660062] Refined TSC clocksource calibration: 3213.422 MHz.
[    3.660118] Switching to clocksource tsc
[   63.200273] r8169 0000:03:00.0: eth0: unable to load firmware patch 
rtl_nic/rtl8168e-1.fw (-2)
[   63.223513] r8169 0000:03:00.0: eth0: link down
[   63.223556] r8169 0000:03:00.0: eth0: link down

..is slowing down reboots considerably. 3.0-rc does _not_ like some 
timing hardware in my machine. Having said that, at least it does not 
randomly panic on SCSI like 2.6.39 does.

Ok, I've ruled out TCPMSS. Found out where it was being set and neutered 
it. I've replicated it with only the single DNAT rule.


> Could you try following patch, because this is the 'usual suspect' I had
> yesterday :
>
> diff --git a/net/core/skbuff.c b/net/core/skbuff.c
> index 46cbd28..9f548f9 100644
> --- a/net/core/skbuff.c
> +++ b/net/core/skbuff.c
> @@ -792,6 +792,7 @@ int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail,
>   		fastpath = atomic_read(&skb_shinfo(skb)->dataref) == delta;
>   	}
>
> +#if 0
>   	if (fastpath&&
>   	size + sizeof(struct skb_shared_info)<= ksize(skb->head)) {
>   		memmove(skb->head + size, skb_shinfo(skb),
> @@ -802,7 +803,7 @@ int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail,
>   		off = nhead;
>   		goto adjust_others;
>   	}
> -
> +#endif
>   	data = kmalloc(size + sizeof(struct skb_shared_info), gfp_mask);
>   	if (!data)
>   		goto nodata;
>
>
>

Nope.. that's not it. <sigh> That might have changed the characteristic 
of the fault slightly, but unfortunately I got caught with a couple of 
fsck's, so I only got to test it 3 times tonight.

It's unfortunate that this is a production system, so I can only take it 
down between about 9pm and 1am. That would normally be pretty 
productive, except that an fsck of a 14TB ext4 can take 30 minutes if it 
panics at the wrong time.

I'm out of time tonight, but I'll have a crack at some bisection 
tomorrow night. Now I just have to go back far enough that it works, and 
be near enough not to have to futz around with /proc /sys or drivers.

I really, really, really appreciate you guys helping me with this. It 
has been driving me absolutely bonkers. If I'm ever in the same town as 
any of you, dinner and drinks are on me.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-06-08 17:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110601011527.GN19505@random.random>
     [not found] ` <alpine.LSU.2.00.1105312120530.22808@sister.anvils>
     [not found]   ` <4DE5DCA8.7070704@fnarfbargle.com>
     [not found]     ` <4DE5E29E.7080009@redhat.com>
     [not found]       ` <4DE60669.9050606@fnarfbargle.com>
     [not found]         ` <4DE60918.3010008@redhat.com>
     [not found]           ` <4DE60940.1070107@redhat.com>
     [not found]             ` <4DE61A2B.7000008@fnarfbargle.com>
     [not found]               ` <20110601111841.GB3956@zip.com.au>
     [not found]                 ` <4DE62801.9080804@fnarfbargle.com>
     [not found]                   ` <20110601230342.GC3956@zip.com.au>
     [not found]                     ` <4DE8E3ED.7080004@fnarfbargle.com>
     [not found]                       ` <isavsg$3or$1@dough.gmane.org>
2011-06-03 16:07                         ` KVM induced panic on 2.6.38[2367] & 2.6.39 Brad Campbell
2011-06-06 20:10                           ` Bart De Schuymer
2011-06-06 20:23                             ` Eric Dumazet
2011-06-07  3:33                             ` Brad Campbell
2011-06-07 13:30                               ` Patrick McHardy
2011-06-07 14:40                                 ` Brad Campbell
2011-06-07 15:35                                   ` Patrick McHardy
2011-06-07 18:31                                     ` Eric Dumazet
2011-06-07 22:57                                       ` Patrick McHardy
2011-06-08  0:18                                         ` Brad Campbell
2011-06-08  3:59                                           ` Eric Dumazet
2011-06-08 17:02                                             ` Brad Campbell [this message]
2011-06-08 21:22                                               ` Eric Dumazet
2011-06-10  2:52                                               ` Simon Horman
2011-06-10 12:37                                                 ` Mark Lord
2011-06-10 16:43                                                   ` Henrique de Moraes Holschuh
2011-06-12 15:38                                                 ` Avi Kivity
2011-06-07 23:43                                     ` Brad Campbell
2011-06-07 18:04                                   ` Bart De Schuymer
2011-06-08  0:15                                     ` Brad Campbell
     [not found]                       ` <4DEB3AE4.8040700@redhat.com>
     [not found]                         ` <4DEB8872.2060801@fnarfbargle.com>
2011-06-05 13:58                           ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DEFAB15.2060905@fnarfbargle.com \
    --to=brad@fnarfbargle.com \
    --cc=bdschuym@pandora.be \
    --cc=eric.dumazet@gmail.com \
    --cc=kaber@trash.net \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).