From: Denys Fedoryshchenko <denys@visp.net.lb>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: <netdev@vger.kernel.org>, <hadi@cyberus.ca>
Subject: Re: 2.6.38.x, 2.6.39 sfq? kernel panic in sfq_enqueue
Date: Mon, 23 May 2011 17:27:41 +0300 [thread overview]
Message-ID: <47b6835144d208dca4c6675f6510fcad@visp.net.lb> (raw)
In-Reply-To: <1306155058.20687.8.camel@edumazet-laptop>
On Mon, 23 May 2011 14:50:58 +0200, Eric Dumazet wrote:
>
> Oh well, false alarm, I am still trying to understand the case.
>
> Some other reports would be appreciated, because here is the strange
> thing :
>
> [ 4461.969603] Code: b6 70 10
> 3b b3 08 01 00 00
> 0f 8d df 01 00 00 jge ....
>
> 41 8b 74 24 28 mov 0x28(%r12),%esi qdisc_pkt_len(skb)
> 01 b3 b4 00 00 00 sch->qstats.backlog +=
> qdisc_pkt_len(skb);
>
> RAX = slot
> R12 = SKB
>
> 48 8b 70 08 mov 0x8(%rax),%rsi slot->skblist_prev
> 49 89 04 24 mov %rax,(%r12) skb->next = (struct
> sk_buff *)slot;
> 49 89 74 24 08 mov %rsi,0x8(%r12) skb->prev =
> slot->skblist_prev;
> 48 8b 70 08 mov 0x8(%rax),%rsi slot->skblist_prev
> (refetch)
>
> <4c> 89 26 mov %r12,(%rsi) slot->skblist_prev->next
> = skb; // CRASH
>
> 0f b6 f2 movzbl %dl,%esi
> 4c 89 60 08 mov %r12,0x8(%rax) slot->skblist_prev =
> skb;
> 48 8d 3c 76 lea
> 48 8d bc fb 90 01 00
>
>
>
> And in your report RAX = R12 !!! (ffff8801172a7d08) I cant see how it
> can happen (Its not even a valid skb address, since an SKB should be
> 64bytes aligned)
>
> If available a disassembly of sfq_enqueue() would be appreciated too
> ;)
>
> Thanks !
By objdump or he must recompile kernel with DEBUG_INFO and use gdb?
next prev parent reply other threads:[~2011-05-23 14:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 10:01 2.6.38.x, 2.6.39 sfq? kernel panic in sfq_enqueue Denys Fedoryshchenko
2011-05-23 12:32 ` Eric Dumazet
2011-05-23 12:50 ` Eric Dumazet
2011-05-23 13:23 ` Eric Dumazet
2011-05-23 14:27 ` Denys Fedoryshchenko [this message]
2011-05-23 15:05 ` Eric Dumazet
2011-05-23 22:35 ` Denys Fedoryshchenko
2011-05-24 13:17 ` Eric Dumazet
2011-05-24 13:26 ` Denys Fedoryshchenko
-- strict thread matches above, loose matches on Subject: below --
2011-05-24 16:09 Vadym Abramchuk
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=47b6835144d208dca4c6675f6510fcad@visp.net.lb \
--to=denys@visp.net.lb \
--cc=eric.dumazet@gmail.com \
--cc=hadi@cyberus.ca \
--cc=netdev@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