lkml.org 
[lkml]   [1996]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 3c59x driver 0.25 [still] falls off network
On Wed, 17 Jul 1996, Linus Torvalds wrote:

>
>
> On Tue, 16 Jul 1996, Ove Ewerlid wrote:
> >
> > Well, after removing the tbusy-optimization from the 0.25 driver things
> > have worked very well for me (all in all 5 different 3c595 on 4
> > machines).
>
> Thanks for the hint, Ove. Could you try this alternative patch rather
> than the one you did? This still keeps the optimization, but it rewrites
> the logic to do it another way without clearing "tbusy" when it does do
> the optimization, and that was definitely wrong (it kept tbusy cleared
> after the packet, even though it didn't have size for any larger
> packets).
>
> Others seeing problems with the 3c59x driver (both the old and the newer
> one), could you please test this patch too (it's against 0.25 in 2.0.7,
> but it should patch cleanly against any of the newer kernels with the
> 0.25 driver).
>
> (Umm, I don't even _have_ a 3c59x card, so this patch is obviously untested.
> But you all know I write perfect code even when I don't test it, don't you?)

Well, after installing the patch, and putting a single medium-traffic WWW
domain on it, it crashed in about 2 hours.

The machine:

P133 w/32MB of RAM, ASUS motherboard
NCR53c810 SCSI, HP 2.1G drive
3c590 w/8k

From /proc/pci:

PCI devices found:
Bus 0, device 12, function 0:
Ethernet controller: 3Com 3C590 10bT (rev 0).
Medium devsel. IRQ 11. Master Capable. Latency=248. Min Gnt=3.Max Lat=8.
I/O at 0xe000.
Bus 0, device 11, function 0:
SCSI storage controller: NCR 53c810 (rev 2).
Medium devsel. IRQ 10. Master Capable. Latency=64.
I/O at 0xe400.
Non-prefetchable 32 bit memory at 0xfbfef000.
Bus 0, device 7, function 1:
IDE interface: Intel 82371 Triton PIIX (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
I/O at 0xe800.
Bus 0, device 7, function 0:
ISA bridge: Intel 82371 Triton PIIX (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 0, function 0:
Host bridge: Intel 82437 (rev 2).
Medium devsel. Master Capable. Latency=32.


From system bootup:
Jul 18 14:13:34 zoot kernel: eth0: 3Com 3c590 Vortex 10Mbps at 0xe000, 00:a0:24:82:16:ba, IRQ 11
Jul 18 14:13:34 zoot kernel: Internal config register is 1020010, transceivers 0xe138.
Jul 18 14:13:34 zoot kernel: 8K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT interface.
Jul 18 14:13:34 zoot kernel: 3c59x.c:v0.25 5/17/96 becker@cesdis.gsfc.nasa.gov
[snip]
Jul 18 14:13:34 zoot kernel: eth0: Initial media type 10baseT.
Jul 18 14:13:34 zoot kernel: eth0: vortex_open() InternalConfig 01020010.
Jul 18 14:13:34 zoot kernel: eth0: vortex_open() irq 11 media status 8800.
Jul 18 14:13:34 zoot kernel: eth0: Media selection timer tick happened, 10baseT.
Jul 18 14:13:34 zoot kernel: eth0: Media 10baseT has link beat, 88c0.
Jul 18 14:13:34 zoot kernel: eth0: Media selection timer finished, 10baseT.


Time to install the old 3c509's again...If you need more info or a guinnea
pig, let me know...


[patch snipped]

- Marc


\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2011 Jasper Spaans