lkml.org 
[lkml]   [2011]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [bug?] r8169: hangs under heavy load
Eric Dumazet wrote:
> Le samedi 26 novembre 2011 à 01:44 +0100, Francois Romieu a écrit :

>> diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
>> index 6f06aa1..54be9e1 100644
>> --- a/drivers/net/ethernet/realtek/r8169.c
>> +++ b/drivers/net/ethernet/realtek/r8169.c
>> @@ -5820,8 +5820,7 @@ static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance)
>> case RTL_GIGA_MAC_VER_11:
>> case RTL_GIGA_MAC_VER_22:
>> case RTL_GIGA_MAC_VER_26:
>> - netif_stop_queue(dev);
>> - rtl8169_tx_timeout(dev);
>> + rtl8169_schedule_work(dev, rtl8169_reset_task);
>> goto done;
>> /* Testers needed. */
>> case RTL_GIGA_MAC_VER_17:
>
> Please Jonathan, Gerd, try this fix !

Thanks, Eric. Unfortunately I don't have the hardware.

Gerd, would you be able to try this patch? It works like this:

apt-get install git build-essential
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
... apply the fix, for example using "patch -p1" ...
make localmodconfig; # minimal configuration
make deb-pkg
dpkg -i ../<name of package>
reboot

Feel free to email me privately if you have any questions.

Regards,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-11-27 10:31    [W:0.146 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site