2001-07-07 12:17:45

by Albert Weichselbraun

[permalink] [raw]
Subject: rtl8139 dhcp-autoconfiguration problem

hi,

i'm experiencing problems using dhcp-autoconfiguration with rtl8139-network
cards and kernels >2.2.17.
- it seems to be, that the kernel tries to mount the nfs-root-directory,
before fetching the nodes-ip-address via dhcp (the logs from dhcpd
indicate, that the node doesn't even try to fetch an ip-address).

<dmesg kernel="2.2.20-pre7" net="rtl8139">
...
rtl8139.c:v1.07 5/6/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
eth0: RealTek RTL8139 Fast Ethernet at 0xe000, IRQ 15, 00:02:44:16:41:0b.
Root-NFS: No NFS server available, giving up.
...
</dmesg>

<dmesg kernel="2.2.20-pre7" net="8139too">
...
eth0: 8139too FastEthernet driver 0.9.14-2.2 Jeff Garzik <[email protected]>
eth0: Linux-2.2 bug reports to Jens David <[email protected]>
eth0: RealTek RTL8139 Fast Ethernet board found at 0xe08000000, IRQ 10
eth0: Chip is 'RTL-8139B' - MAC address '00:00:21:fa:20:ce'.
Root-NFS: No NFS server available, giving up.
...
</dmesg>

<dmesg kernel="2.4.5" net="8139too">
...
8139too Fast Ethernet driver 0.9.17
PCI: Found IRQ 10 for device 00:09.0
eth0: RealTek RTL8139 Fast Ethernet at 0xe0800000, 00:00:21:fa:20:ce, IRQ 10
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32 Kbytes
TCP: Hash table configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Root-NFS: No NFS server available, giving up.
...
</dmesg>

using the same kernel-config with kernels <= 2.2.17 works without any
problems.

<dmesg kernel="2.2.17" net="rtl18139">
...
rtl8139.c:v1.07 5/6/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
eth0: RealTek RTL8139 Fast Ethernet at 0xe000, IRQ 15, 00:02:44:16:41:0b.
Sending DHCP requests .. OK
IP-Config: Got DHCP answer from 192.168.109.51
IP-Config: Complete:
device=eth0, addr=192.168.109.46, mask=255.255.255.128, gw=192.168.109.1,
host=192.168.109.46, domain=in-vienna.iaeste.or.at, nis-domain=(none),
bootserver=192.168.109.51, rootserver=192.168.109.51, rootpath=
Looking up port of RPC 100003/2 on 192.168.109.51
Looking up port of RPC 100005/1 on 192.168.109.51
VFS: Mounted root (NFS filesystem).
Freeing unused kernel memory: 40k freed
...
</dmesg>

the kernel-config and dmesg output are available under
http://www.iaeste.or.at/cc/8139/

any hints, what might be wrong?

greets,
albert


2001-07-07 13:01:23

by Albert Weichselbraun

[permalink] [raw]
Subject: Re: rtl8139 dhcp-autoconfiguration problem


On 2001-07-07 at 08:26:49 -0400, Jeff Garzik wrote:
> Can you try 2.4.6 please?
done.
- sorry, but 2.4.6 doesn't work either.

<dmesg kernel="2.4.6" net="8139too">
...
8139too Fast Ethernet driver 0.9.18-pre4
PCI: Found IRQ 10 for device 00:09.0
eth0: RealTek RTL8139 Fast Ethernet at 0xe0800000, 00:00:21:fa:20:ce, IRQ 10
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32 Kbytes
TCP: Hash table configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Root-NFS: No NFS server available, giving up.
...
</dmesg>

greets,
albert

2001-07-07 13:03:33

by Jeff Garzik

[permalink] [raw]
Subject: Re: rtl8139 dhcp-autoconfiguration problem

Albert Weichselbraun wrote:
>
> On 2001-07-07 at 08:26:49 -0400, Jeff Garzik wrote:
> > Can you try 2.4.6 please?
> done.
> - sorry, but 2.4.6 doesn't work either.
>
> <dmesg kernel="2.4.6" net="8139too">
> ...
> 8139too Fast Ethernet driver 0.9.18-pre4
> PCI: Found IRQ 10 for device 00:09.0
> eth0: RealTek RTL8139 Fast Ethernet at 0xe0800000, 00:00:21:fa:20:ce, IRQ 10
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> IP: routing cache hash table of 4096 buckets, 32 Kbytes
> TCP: Hash table configured (established 32768 bind 32768)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> Root-NFS: No NFS server available, giving up.
> ...
> </dmesg>

did you boot with ip=bootp or ip=dhcp or ip=rarp?

--
Jeff Garzik | A recent study has shown that too much soup
Building 1024 | can cause malaise in laboratory mice.
MandrakeSoft |

2001-07-07 13:21:44

by Albert Weichselbraun

[permalink] [raw]
Subject: Re: rtl8139 dhcp-autoconfiguration problem

hi,

> did you boot with ip=bootp or ip=dhcp or ip=rarp?
no, i didn't - it seems to be that this is required for kernels >2.2.17.
-> now it works - thanks a lot!

greets,
albert