3com vortex on dell crashing with Linux
Richard Black
rjb@dcs.gla.ac.uk
Fri Dec 10 06:08:41 1999
This is a multipart MIME message.
--==_Exmh_2367704523240
Content-Type: text/plain; charset=us-ascii
kjd@duda.org said:
> Hi there,
> I have a bunch of Dells (Dimension XPS T500) with 3com vortex running
> RedHat-6.1 (kernel 2.2.12) experiencing the same symptoms you
> described last August in
>
> http://www.tux.org/hypermail/linux-vortex-bug/1999-Aug/0028.html
>
> (I've included the full text you wrote below).
>
> I get a crash every few days. The current solution I'm considering is
> to throw away all my 3com nics.
>
> Did you ever track this one down? Do you have any suggestions?
Yes. I did track it down, and I also provided a fix to the vortex bug list,
but the fix has not been incorporated. My fix works. Before it each machine
had a crash every one or two days. Since I wrote the patch below I have not
had a single crash -- 106 days uptime.
> Thanks very much for any help you can provide,
Patches to version 3c59x.c:v0.99L 5/28/99 below.
Enjoy.
Richard.
--==_Exmh_2367704523240
Content-Type: text/plain ; name="foo"; charset=us-ascii
Content-Description: foo
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="foo"
LS0tIDNjNTl4LmMJMTk5OS8wOC8yNSAxOTozODoyMQkxLjIKKysrIDNjNTl4LmMJMTk5OS8w
OC8yNiAwOTowMDoxMQkxLjQKQEAgLTExNiwxMSArMTE2LDExIEBACiAjZWxzZQogI2RlZmlu
ZSBQQ0lfU1VQUE9SVF9WRVIyCiAjZW5kaWYKICNpZiBMSU5VWF9WRVJTSU9OX0NPREUgPCAw
eDIwMTU5Ci0jZGVmaW5lIERFVl9GUkVFX1NLQihza2IpIGRldl9rZnJlZV9za2IgKHNrYiwg
RlJFRV9XUklURSk7CisjZGVmaW5lIERFVl9GUkVFX1NLQihza2IpIGRldl9rZnJlZV9za2Ig
KHNrYiwgRlJFRV9XUklURSkKICNlbHNlICAvKiBHcnJyLCBpbmNvbXBhdGlibGUgY2hhbmdl
cyBzaG91bGQgY2hhbmdlIHRoZSBuYW1lLiAqLwotI2RlZmluZSBERVZfRlJFRV9TS0Ioc2ti
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