Skip to contentSkip to conversation

rtl8139 dhcp-autoconfiguration problem

DISCUSSION Albert Weichselbraun 2 participants 4 messages Jul 7, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Jeff Garzik

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

#2 lore raw
In reply to Albert Weichselbraun
Quoted 6 lines · Albert Weichselbraun
Quoted 1 line · Jeff Garzik

Can you try 2.4.6 please?

done.
- sorry, but 2.4.6 doesn't work either.

Quoted 13 lines

<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?

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