[vortex] Re: Bug in 3c59x driver ?

Goffredo Baroncelli kreijack@earthling.net
Mon Nov 26 16:48:02 2001


Il 16:39, luned́ 26 novembre 2001, hai scritto:

> On Sun, 25 Nov 2001, Goffredo Baroncelli wrote:
> > If my host is ping-ed by another host ( eg: ping <my-host> ) *AND* I do:
> >
> > # ifconfig eth0 down
> > # rmmod 3c59x
> > # insmod 3c59x
> > # ifconfig eth0 up
> >
> > after last command my machine hang !

My machine == <my-host>
<Another host> never hang !

> What driver version are you using?

>From /usr/src/linux-2.4.14/drivers/net/3c59x.c

#define DRV_NAME	"3c59x"
#define DRV_VERSION	"LK1.1.16"
#define DRV_RELDATE	"19 July 2001"

The kernel is a plain 2.4.14 + ext3 patch

> >
> > while ((rx_status = inw(ioaddr + RxStatus)) > 0) {
> > 	[....]
>
> What is the status?

rx_status= 8188 ( dec ) = 0x1ffc ( hex )
inside the loop ( of course )

The kernel 2.4.16-pre1 have the same problem.
I have tested with BNC cable and UTP cross-link cable; the problem is always 
same.
When the machine hang, the key sequence CTRL-ALT-SYS_RQ-U ( umount/force 
mount ro ) not work; but the key sequence CTRL-ALT-SYS_RQ-B ( force boot ) 
work. I not know if the sequence CTRL-ALT-SYS_RQ-S ( sync ) work or none.