Subject: Re: 'rtk0: watchdog timeout' Dell Inspiron 3500 laptop pcmcia card
To: None <port-i386@NetBSD.org>
From: David Lord <netbsd@lordynet.org>
List: port-i386
Date: 10/24/2007 21:21:09
On 22 Oct 2007, at 22:20, David Lord wrote:
> I've just been attempting to get prepared to update this laptop to
> 4.0rc3 from 4.0rc2 but found my network connection is now only one-
> way. Ftp or nfs transfers to the laptop are about 6 MB/s but on
> outgoing connections I just get 'rtk0: watchdog timeout' after a few
> 100k of transfer.
>
> On NetBSD 3.x then 4.0Beta2 I didn't notice any problem but mostly
> network traffic would be into the notebook. Generic kernel causes
> various problems such as complete lockups so I'm using a custom
> kernel that has as much unused from Generic removed. I've been really
> pleased as I eventually have sound working and glxgears gives 80fps
> which are both an improvement over all the Linux distros I've tried.
>
> I'll go back to nearest to generic and previous non acpi kernel as on
> LiveCD to do some more checking.
>
> What else should I be looking for?
After more checking (see below) it seems it's the card and/or NetBSD
rtk driver at fault. Same Realtek 8139 when running Ubuntu seems ok,
whilst 8169 in same card slot on NetBSD is also ok.
Are there any settings I can try with driver to get this working?
David
#############################################################
NetBSD / Realtek 8139
NetBSD 4.0_RC3 (GENERIC_LAPTOP) #0: Tue Oct 16 01:21:52 PDT 2007
builds@wb34:/home/builds/ab/netbsd-4-0-RC3/i386/200710160011Z-obj/home/builds/ab/netbsd-4-0-RC3/src/sys/arch/i386/compile/GENERIC_LAPTOP
total memory = 255 MB
rbus: rbus_min_start set to 0x40000000
avail memory = 243 MB
.....
rtk0 at cardbus0 function 0: Realtek 8139 10/100BaseTX
rtk0: Ethernet address 00:03:2f:37:99:ce
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
########
ftp for 10 MB file
10249338 bytes received in 00:01 (6.67 MB/s)
720896 bytes sent in 00:48 (14.45 KB/s)
196608 bytes sent in 00:21 (8.87 KB/s)
#############################################################
Ubuntu 7.10 / Realtek 8139
[ 0.000000] Linux version 2.6.22-14-server (buildd@palmer) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:34:23 GMT 2007 (Ubuntu 2.6.22-14.46-server)
.....
[ 122.296047] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 122.296274] 8139cp 0000:02:00.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
[ 122.296389] 8139cp 0000:02:00.0: Try the "8139too" driver instead.
[ 122.354168] 8139too Fast Ethernet driver 0.9.28
[ 122.354431] PCI: Enabling device 0000:02:00.0 (0000 -> 0003)
[ 122.354551] PCI: Setting latency timer of device 0000:02:00.0 to 64
[ 122.355353] eth0: RealTek RTL8139 at 0xd0928000, 00:03:2f:37:99:ce, IRQ 10
[ 122.355446] eth0: Identified 8139 chip type 'RTL-8139C'
[ 123.785972] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
########
ftp for 10 MB file
10249338 bytes received in 1.29 secs (7772.5 kB/s)
10249338 bytes sent in 0.89 secs (11269.7 kB/s) ???
#############################################################
NetBSD / Realtek 8169
NetBSD 4.0_RC3 (GENERIC_LAPTOP) #0: Tue Oct 16 01:21:52 PDT 2007
builds@wb34:/home/builds/ab/netbsd-4-0-RC3/i386/200710160011Z-obj/home/builds/ab/netbsd-4-0-RC3/src/sys/arch/i386/compile/GENERIC_LAPTOP
total memory = 255 MB
rbus: rbus_min_start set to 0x40000000
avail memory = 243 MB
.....
re0 at cardbus0 function 0: Realtek 10/100/1000baseT
re0: Ethernet address 00:40:f4:e8:1b:c1
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
########
ftp for 10 MB file
10249338 bytes received in 00:01 (7.32 MB/s)
10249338 bytes sent in 00:03 (2.93 MB/s)