From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4a3968c766f6e11c,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-03-10 14:23:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!news0.telusplanet.net.POSTED!not-for-mail From: "Joe Smith" Newsgroups: comp.os.linux.alpha Subject: Dlink 530tx / TX errors X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Sun, 10 Mar 2002 22:23:10 GMT NNTP-Posting-Host: 209.53.63.146 X-Trace: news0.telusplanet.net 1015798990 209.53.63.146 (Sun, 10 Mar 2002 15:23:10 MST) NNTP-Posting-Date: Sun, 10 Mar 2002 15:23:10 MST Xref: archiver1.google.com comp.os.linux.alpha:5047 Help!!!!!!! - Frustration is setting in with the dlink 530tx . I'm currently running the via-rhine driver from kernel 2.4.18 on alpha linux. Intermittently the following errror posts in dmesg: Mar 9 19:14:41 sun kernel: eth1: Transmit timed out, status 0000, PHY status 782d, resetting... After that the network slows down to a crawl and via-diag lists the card in half duplex mode. This problem has been going on for me since the 2.2 kernels and interesting enough I have the exact same card in a x86 box running the exact same kernel and the problem never arrises. Therefore I suspect this problem to be alpha specific and maybe due to some missalignments ( Guessing ) . viadiag output ( when adapter is functioning properly): [root@sun admin]# ./viadiag -aa via-diag.c:v2.06 5/22/2001 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a VIA VT3065 Rhine-II adapter at 0x8000. Station address 00:50:ba:2b:1a:3d. Tx enabled, Rx enabled, full-duplex (0x0c5a). Receive mode is 0x6c: Normal unicast and hashed multicast. Transmit mode is 0x20: Normal transmit, 256 byte threshold. VIA VT3065 Rhine-II chip registers at 0x8000 0x000: 2bba5000 206c3d1a 00000c1a 4eff0000 80000000 00000000 8203e0b0 8203e1e0 0x020: 80000400 00000600 84ff7010 8203e0c0 80000000 00000600 81967010 8203e0d0 0x040: 00000000 00e0804a 813f409a 8203e100 00000000 00000000 01d901d9 ffffffff 0x060: 00000000 00000000 00000000 00061008 782d8100 08000080 02470000 00000000 No interrupt sources are pending (0000). [root@sun admin]# ./viadiag -m via-diag.c:v2.06 5/22/2001 Donald Becker (becker@scyld.com) http://www.scyld.com/diag/index.html Index #1: Found a VIA VT3065 Rhine-II adapter at 0x8000. Station address 00:50:ba:2b:1a:3d. Tx enabled, Rx enabled, full-duplex (0x0c5a). Receive mode is 0x6c: Normal unicast and hashed multicast. Transmit mode is 0x20: Normal transmit, 256 byte threshold. No interrupt sources are pending (0000). MII PHY found at address 8, status 0x782d. MII PHY #8 transceiver registers: 3000 782d 0016 f880 01e1 45e1 ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff 0022 ff40 02d0 ffc0 0010 ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff. [root@sun /etc]# cat modules.conf alias eth0 tulip alias eth1 via-rhine alias parport_lowlevel parport_pc alias sound gus pre-install sound insmod sound dmabuf=1 options gus io=0x240 irq=5 dma=5 options eth0 tulip options eth1 via-rhine debug=7 rx_copybreak=1518 ^^ I've tried loading the module with and without rx_copybreak option --- Grrr no difference. I read some older messages that people find the linuxfet drivers work better. However, those don't want to compile under redhat 6.2 -- I suspect that may be compiler related. I really don't want to take a chance breaking my compiler by upgrading it. Here's the output of the compile: [root@sun src]# make *** Clean up older object files *** rm -f core *.o *~ ***** Compile the driver source files to generate linuxfet.o gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fom it-frame-pointer -fno-strict-aliasing -pipe -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c linuxfet.c In file included from linuxfet.h:35, from linuxfet.c:19: /usr/src/linux/include/linux/malloc.h:4: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. In file included from /usr/src/linux/include/asm/semaphore.h:11, from /usr/src/linux/include/linux/fs.h:200, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from linuxfet.h:26, from linuxfet.c:19: /usr/src/linux/include/asm/current.h:4: global register variable follows a function definition /usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used for global register variable I'm at my wits end with this and I'm thinking at this point a different ethernet card is required. Can anyone help me before I take this card and smash it with a hammer into tiny peices, throw it back in the box and fire it off to dlink. Best Regards Joe Smith ( system@labtop.com )