Bug 6129 - r8169 Drops packets and hangs the network after ACPI standby, only with netconsole
Summary: r8169 Drops packets and hangs the network after ACPI standby, only with netco...
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Francois Romieu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 01:24 UTC by Avuton Olrich
Modified: 2006-11-11 03:03 UTC (History)
3 users (show)

See Also:
Kernel Version: v2.6.15-v2.6.16-rc4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
kernel-config (31.75 KB, text/plain)
2006-02-25 01:26 UTC, Avuton Olrich
Details
dmesg output (13.57 KB, text/plain)
2006-03-02 10:27 UTC, Avuton Olrich
Details
Requested ifconfig (825 bytes, text/plain)
2006-03-02 10:28 UTC, Avuton Olrich
Details
Requested interrupts (570 bytes, text/plain)
2006-03-02 10:28 UTC, Avuton Olrich
Details
Requested lsmod (531 bytes, text/plain)
2006-03-02 10:29 UTC, Avuton Olrich
Details
Requested lspci-vx (9.29 KB, text/plain)
2006-03-02 10:29 UTC, Avuton Olrich
Details

Description Avuton Olrich 2006-02-25 01:24:54 UTC
Most recent kernel where this bug did not occur:     
Distribution: Gentoo     
     
Steps to reproduce: After going to standby this card will start dropping    
packets intermittantly. Then it will go back to normal. Cycle. The obvious    
workaround for the time being is to write a script to remove the module before    
suspending and modprobe it afterwards. I'm not sure when this bug began as it    
has been here since I've had the card, but it definitely exists everywhere in   
between v2.6.15-v2.6.16-rc4. 
 
hdparm -vvv: 
01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit 
Ethernet (rev 10) 
        Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- 
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- 
        Latency: 32 (8000ns min, 16000ns max), Cache Line Size 10 
        Interrupt: pin A routed to IRQ 20 
        Region 0: I/O ports at c000 [size=256] 
        Region 1: Memory at e7000000 (32-bit, non-prefetchable) [size=256] 
        [virtual] Expansion ROM at 30000000 [disabled] [size=128K] 
        Capabilities: [dc] Power Management version 2 
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+) 
                Status: D0 PME-Enable- DSel=0 DScale=0 PME- 
 
I will attach the config.
Comment 1 Avuton Olrich 2006-02-25 01:26:03 UTC
Created attachment 7470 [details]
kernel-config
Comment 2 Francois Romieu 2006-02-27 16:30:39 UTC
Can you try 2.6.16-rc5 ? A few r8169 patches went in.

If it does not work better, please send:
- complete dmesg from boot;
- lspci -vx;
- compiler revision (should appear in the very first lines of dmesg);
- lsmod;
- /proc/interrupts after resume;
- ifconfig after resume.

-- 
Ueimor
Comment 3 Avuton Olrich 2006-02-28 01:16:21 UTC
It appears to be fixed! I didn't test to see if this was reproducable but I 
will reopen if it comes back up. Thanks for the quick response. 
Comment 4 Avuton Olrich 2006-03-02 10:25:47 UTC
Very sorry it still exists :( After further testing the problem has popped back 
up. 
 
 
Comment 5 Avuton Olrich 2006-03-02 10:27:31 UTC
Created attachment 7499 [details]
dmesg output
Comment 6 Avuton Olrich 2006-03-02 10:28:10 UTC
Created attachment 7500 [details]
Requested ifconfig
Comment 7 Avuton Olrich 2006-03-02 10:28:41 UTC
Created attachment 7501 [details]
Requested interrupts
Comment 8 Avuton Olrich 2006-03-02 10:29:10 UTC
Created attachment 7502 [details]
Requested lsmod
Comment 9 Avuton Olrich 2006-03-02 10:29:38 UTC
Created attachment 7503 [details]
Requested lspci-vx
Comment 10 Francois Romieu 2006-03-02 10:38:39 UTC
Is it still reproducible without NETCONSOLE and PREEMPT ?

-- 
Ueimor
Comment 11 Avuton Olrich 2006-03-02 12:55:53 UTC
Recompiled with 'no preemption', loaded the netconsole module the first time, 
this time was a failure. Rebooted without the netconsole module and this time 
it appears to be a sucess.  
Comment 12 Avuton Olrich 2006-03-28 20:38:11 UTC
I just had a crash on this computer and wasn't able to get a panic, due to 
netconsole begin off, due to this bug. Anything I can do to help further?
Comment 13 Francois Romieu 2006-03-29 12:14:54 UTC
Olrich:
[...]
> Anything I can do to help further?

Does passing 'pci=routeirq' as a command line option when the kernel boots make
a difference ?

-- 
Ueimor

Comment 14 Francois Romieu 2006-03-29 13:47:01 UTC
Francois:
[...]
> Does passing 'pci=routeirq' as a command line option when the kernel boots make
> a difference ?

Btw, please add an updated lspci -vvv to verify that PME is set.

-- 
Ueimor
Comment 15 Adrian Bunk 2006-11-11 03:03:29 UTC
Please reopen this bug if:
- it is still present in kernel 2.6.19-rc5 and
- you can provide the requested information.

Note You need to log in before you can comment on or make changes to this bug.