Skip to contentSkip to conversation

IP-Config: Failed to open eth0

DISCUSSION kabbin 3 participants 6 messages Aug 31, 2006 – Sep 1, 2006

lore
Share & tools
lore

kabbin

author
#0 lore raw

Hello

    I use arm-linux-gcc 3.4.1 to build kernel 2.6.10 for omap2420h4 

but I cannot mount NFS

I got the following message:

/*******************************************************************************

NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2

IP-Config: Failed to open eth0
IP-Config: Complete:

      device=bond0, addr=140.92.60.146, mask=255.255.255.0, gw=255.255.255.255,
     host=tqm, domain=, nis-domain=(none),
     bootserver=140.92.60.138, rootserver=140.92.60.138, rootpath=

Looking up port of RPC 100003/2 on 140.92.60.138
portmap: server 140.92.60.138 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 100005/1 on 140.92.60.138
portmap: server 140.92.60.138 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 140.92.60.138 not responding, timed out
Root-NFS: Server returned error -5 while mounting /data/fs-mp3/
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))

/********************************************************************************** Is there something wrong with my kernel configuration?
Could anybody help me, please? Thanks .

___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/

author
#1 lore raw

Dear all:
I cannot boot from NFS. Could anyone help me please? My board is omap2420h4, kernel 2.6.10

Does following means that the network driver configuration is wrong? Why Invalid ethernet MAC address ? I have setenv ethaddr already.

I got :

Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
eth0: Invalid ethernet MAC address. Please set using ifconfig .
.
.
.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2
IP-Config: Failed to open eth0
IP-Config: Guessing netmask 255.255.0.0
IP-Config: Complete:

      device=bond0, addr=140.92.60.146, mask=255.255.0.0, gw=255.255.255.255,
     host=140.92.60.146, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=140.92.60.138, rootpath=

Looking up port of RPC 100003/2 on 140.92.60.138
portmap: server 140.92.60.138 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 100005/1 on 140.92.60.138
portmap: server 140.92.60.138 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 140.92.60.138 not responding, timed out
Root-NFS: Server returned error -5 while mounting data/fs-mp3/
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: Cannot open root device "nfs" or unknown-block(2,0) Please append a correct "root=" boot option

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/

#2 lore raw
Quoted 7 lines · kabbin

Dear all:
I cannot boot from NFS. Could anyone help me please? My board is omap2420h4, kernel 2.6.10

Does following means that the network driver configuration is wrong? Why Invalid ethernet MAC address ? I have setenv ethaddr already.

Quoted 6 lines

I got :

Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
eth0: Invalid ethernet MAC address. Please set using ifconfig

Did you read that hint? ifconfig (8) lives on your NFS root you so you have serious problem ;-) You can either use initrd as workaround or preferably set MAC address corectly. Assuming you are using U-boot:
http://www.denx.de/wiki/bin/view/DULG/EthernetDoesNotWorkInLinux
You can also look at U-Boot source code:
board/voiceblue/eeprom.c

Best regards,
ladis

author
#3 lore raw

Thanks for your help.
I have read the post, as Wolfgang Denk said, It's a bug in the Linux ethernet driver.

http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-July/023579.html

But Could somebody tell me how to fix to bug? I cannot find a answer in the mail list.

By the way, as my board is omap2420h4, and I could not find the file:
//uboot/board/omap2420h4/eeprom.c

Best regards.

--- Ladislav Michl <[email protected]> 說:

Quoted 23 lines · kabbin
Quoted 8 lines

Dear all:
I cannot boot from NFS. Could anyone help me please? My board is omap2420h4, kernel 2.6.10

Does following means that the network driver configuration is wrong? Why Invalid ethernet MAC address ? I have setenv ethaddr already.

Quoted 6 lines

I got :

Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
eth0: Invalid ethernet MAC address. Please set using ifconfig

Did you read that hint? ifconfig (8) lives on your NFS root you so you have serious problem ;-) You can either use initrd as workaround or preferably set MAC address corectly. Assuming you are using U-boot:
http://www.denx.de/wiki/bin/view/DULG/EthernetDoesNotWorkInLinux
You can also look at U-Boot source code:
board/voiceblue/eeprom.c

Quoted 3 lines

Best regards,
ladis

___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/

author
#4 lore raw

Hello
Could you tell me how can I set the MAC address ?
What does it mean to use ifconfig ?
(I have set ethaddr already, so tftp work fine) Thanks. Best regards.

Quoted 28 lines

--- Ladislav Michl <[email protected]> 說:

Quoted 3 lines · kabbin
Quoted 2 lines

Dear all:
I cannot boot from NFS. Could anyone help me please? My board is omap2420h4, kernel

2.6.10

Quoted 22 lines
Quoted 6 lines

Does following means that the network driver configuration is wrong? Why Invalid ethernet MAC address ? I have setenv ethaddr already.

Quoted 6 lines

I got :

Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
eth0: Invalid ethernet MAC address. Please set using ifconfig

Did you read that hint? ifconfig (8) lives on your NFS root you so you have serious problem ;-) You can either use initrd as workaround or preferably set MAC address corectly. Assuming you are using U-boot:
http://www.denx.de/wiki/bin/view/DULG/EthernetDoesNotWorkInLinux
You can also look at U-Boot source code:
board/voiceblue/eeprom.c

Best regards,
ladis

___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/

#5 lore raw

Debug Output

In reply to kabbin

Hello all,

I'm trying to edit the RF6 refference framework application to suit my
purposes. At the moment I want to get a feel for how many samples go through their filter with each message from the GPP. My algorithm works on a sample by sample basis, so I'm guessing I want to do my loop multiple times per message from the GPP. My questions is, how can I output basic debug material to the console? Can I just throw printf statements in any place in the code and see the output in the console? I see statments like "UTL_logDebug( "Application started." );" etc, where does that output end up?

Thanks,
Andy

_________________________________________________________________
Windows Live Spaces is here! It�s easy to create your own personal Web site.
http://spaces.live.com/signup.aspx