Skip to contentSkip to conversation

BUG REPORT: 2.4.4 hang on large network transfers with RTL-8139

DISCUSSION Anton Voloshin 3 participants 3 messages May 29, 2001

lore
Share & tools
lore
#0 lore raw

Hello,

I've got a kernel hang (can easily be reproduced on my computer). It happens on relatively large outgoing network traffic. For instance, on trying to upload some large file from workstation to other machine via SMB or FTP.

On 2.4.4 hang was after sending about 20Kb.
On 2.4.5 it seems to hang after 870+ Kb.
When sending data via slow link (e.g. local Ethernet -> remote modem), everything is Ok.

Network card is (taken from /proc/pci):

Bus 1, device 11, function 0:

    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 16).
      IRQ 10.
      Master Capable.  Latency=208.  Min Gnt=32.Max Lat=64.
      I/O at 0x7800 [0x78ff].
      Non-prefetchable 32 bit memory at 0xfebfff00 [0xfebfffff].

2.4.3 works Ok, 2.4.4 and 2.4.5 both has this problem.

Lamer's assumption: maybe troubles with sendfile() after zero-copy patches?

Signature · 1 line
Anton <[email protected]>
#1 lore raw
Quoted 21 lines · Anton Voloshin

Hello,

I've got a kernel hang (can easily be reproduced on my computer). It happens on relatively large outgoing network traffic. For instance, on trying to upload some large file from workstation to other machine via SMB or FTP.

On 2.4.4 hang was after sending about 20Kb.
On 2.4.5 it seems to hang after 870+ Kb.
When sending data via slow link (e.g. local Ethernet -> remote modem), everything is Ok.

Network card is (taken from /proc/pci):

Bus 1, device 11, function 0:

    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 16).
      IRQ 10.
      Master Capable.  Latency=208.  Min Gnt=32.Max Lat=64.
      I/O at 0x7800 [0x78ff].
      Non-prefetchable 32 bit memory at 0xfebfff00 [0xfebfffff].
Quoted 4 lines

2.4.3 works Ok, 2.4.4 and 2.4.5 both has this problem.

Lamer's assumption: maybe troubles with sendfile() after zero-copy patches?

Actually I get the same problem (I kind of have to run 2.4.5-ac2 however). I just try not to download or upload large files over fast links.

Glenn Shannon

#2 lore raw
In reply to Anton Voloshin
Quoted 2 lines · Anton Voloshin

2.4.3 works Ok, 2.4.4 and 2.4.5 both has this problem.
Lamer's assumption: maybe troubles with sendfile() after zero-copy patches?

no, the patch in 2.4.3-ac7 caused a lot of problems for a lot of people. Simply compile 8139too.c from an old kernel on to the latest/greatest and you have best of both worlds ;-)

People are working on this issue!

Danny

Signature · 2 lines
Holland Hosting
www.hoho.nl      [email protected]