netdev
[Top] [All Lists]

Re: r8169 - panic and a fix

To: Francois Romieu <romieu@xxxxxxxxxxxxx>
Subject: Re: r8169 - panic and a fix
From: Srihari Vijayaraghavan <sriharivijayaraghavan@xxxxxxxxxxxx>
Date: Sat, 11 Sep 2004 11:47:23 +1000
Cc: netdev@xxxxxxxxxxx
In-reply-to: <200409100008.06541.sriharivijayaraghavan@xxxxxxxxxxxx>
References: <200409082224.23829.sriharivijayaraghavan@xxxxxxxxxxxx> <20040908190603.GA19634@xxxxxxxxxxxxxxxxxxxxxxxxxx> <200409100008.06541.sriharivijayaraghavan@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.6.2
On Fri, 10 Sep 2004 12:08 am, Srihari Vijayaraghavan wrote:
> ...
> I am doing this task, and will post the results a little later.
>
> > --- drivers/net/r8169.c     2004-09-08 20:15:01.000000000 +0200
> > +++ dirvers/net/r8169.c     2004-09-08 20:49:58.000000000 +0200
> > @@ -52,6 +52,7 @@ VERSION 1.2       <2002/11/30>
>

Francois,

(Sorry I have to reply to my own email, that is because of the private emails 
we had.)

Thanks for your debug patch (against 2.6.9-rc1-bk17) and complete r8169.c, 
although I only used the debug patch. I have attached your debug patch for 
completeness.

The bad news is that I see no "Assertion failed!" messages from the kernel. 
Here is the complete kernel BUG and subsequent panic messages:

NET: Registered protocol family 1
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at skbuff:91
invalid operand: 0000 [1]
CPU 0
Modules linked in: r8169 af_packet ipt_REJECT ipt_state ip_conntrack 
iptable_filter ip_tables ide_cd cdrom via_rhine mii cr
c32 floppy radeon reiserfs dm_mod uhci_hcd ehci_hcd usbcore button rtc unix
Pid: 1421, comm: ifup Not tainted 2.6.9-rc1-bk17-r8169
RIP: 0010:[<ffffffff80255b72>] <ffffffff80255b72>{skb_over_panic+50}
RSP: 0000:ffffffff8039bc28  EFLAGS: 00010292
RAX: 0000000000000036 RBX: 0000000000000c00 RCX: 000000000001ffff
RDX: 0000000000000006 RSI: 0000000000000000 RDI: ffffffff802fa2a0
RBP: 000001003a233360 R08: 0000000000000036 R09: 0000000000000003
R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000000bfc
R13: 0000000000000000 R14: 0000000000000000 R15: 0000010036fb6000
FS:  0000002a9556cd60(0000) GS:ffffffff803f3040(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000039cbd054d0 CR3: 0000000000101000 CR4: 00000000000006e0
Process ifup (pid: 1421, threadinfo 0000010036ed6000, task 000001003f76e0b0)
Stack: 000000000000000a ffffffffa00fb380 0000000000000bfc ffffffffa00fb7e0
       000001008039bc68 000001003a233000 000001003fc36a80 0000000000008001
       ffffff0000052000 0000000000000014
Call Trace:<IRQ> <ffffffffa00fb380>{:r8169:rtl8169_rx_interrupt+688}
       <ffffffffa00fb7e0>{:r8169:pci_unmap_single+0} 
<ffffffffa00fb4f3>{:r8169:rtl8169_interrupt+147}
       <ffffffff8011252c>{handle_IRQ_event+44} <ffffffff801126c3>{do_IRQ+147}
       <ffffffff80110051>{ret_from_intr+0}  <EOI> 
<ffffffff80153e9e>{__alloc_pages+830}
       <ffffffff8014fbdc>{wake_up_page+12} <ffffffff8014fbd9>{wake_up_page+9}
       <ffffffff8015dc84>{do_wp_page+132} 
<ffffffff8015ea2a>{handle_mm_fault+330}
       <ffffffff8012116e>{do_page_fault+350} <ffffffff80132744>{do_fork+324}
       <ffffffff802a3a30>{thread_return+41} <ffffffff8011030d>{error_exit+0}


Code: 0f 0b f4 47 2d 80 ff ff ff ff 5b 00 48 83 c4 08 c3 66 66 66
RIP <ffffffff80255b72>{skb_over_panic+50} RSP <ffffffff8039bc28>
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!

(As you would have probably guessed the vanilla 2.6.9-rc1 r8169.c on 
2.6.9-rc1-bk17 works just fine.)

Thank you.
Hari.

Attachment: r8169-dbg.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>