All of lore.kernel.org
 help / color / mirror / Atom feed
* IP-Config: Failed to open eth0
@ 2006-08-31  3:37 kabbin
  2006-08-31  9:06 ` kabbin
  2006-08-31 14:10 ` Debug Output Abot Botbot
  0 siblings, 2 replies; 6+ messages in thread
From: kabbin @ 2006-08-31  3:37 UTC (permalink / raw)
  To: Linux-omap-open-source

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IP-Config: Failed to open eth0
  2006-08-31  3:37 IP-Config: Failed to open eth0 kabbin
@ 2006-08-31  9:06 ` kabbin
  2006-08-31 11:20   ` Ladislav Michl
  2006-08-31 14:10 ` Debug Output Abot Botbot
  1 sibling, 1 reply; 6+ messages in thread
From: kabbin @ 2006-08-31  9:06 UTC (permalink / raw)
  To: Linux-omap-open-source

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 <nico@cam.org>
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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IP-Config: Failed to open eth0
  2006-08-31  9:06 ` kabbin
@ 2006-08-31 11:20   ` Ladislav Michl
  2006-09-01  2:17     ` kabbin
  0 siblings, 1 reply; 6+ messages in thread
From: Ladislav Michl @ 2006-08-31 11:20 UTC (permalink / raw)
  To: kabbin; +Cc: Linux-omap-open-source

On Thu, Aug 31, 2006 at 05:06:34PM +0800, kabbin wrote:
> 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 <nico@cam.org>
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Debug Output
  2006-08-31  3:37 IP-Config: Failed to open eth0 kabbin
  2006-08-31  9:06 ` kabbin
@ 2006-08-31 14:10 ` Abot Botbot
  1 sibling, 0 replies; 6+ messages in thread
From: Abot Botbot @ 2006-08-31 14:10 UTC (permalink / raw)
  To: Linux-omap-open-source

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IP-Config: Failed to open eth0
  2006-08-31 11:20   ` Ladislav Michl
@ 2006-09-01  2:17     ` kabbin
  2006-09-01  2:43       ` kabbin
  0 siblings, 1 reply; 6+ messages in thread
From: kabbin @ 2006-09-01  2:17 UTC (permalink / raw)
  To: Linux-omap-open-source


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 <ladis@linux-mips.org> 說:

> On Thu, Aug 31, 2006 at 05:06:34PM +0800, kabbin wrote:
> > 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 <nico@cam.org>
> > 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IP-Config: Failed to open eth0
  2006-09-01  2:17     ` kabbin
@ 2006-09-01  2:43       ` kabbin
  0 siblings, 0 replies; 6+ messages in thread
From: kabbin @ 2006-09-01  2:43 UTC (permalink / raw)
  To: Linux-omap-open-source


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.
 
> --- Ladislav Michl <ladis@linux-mips.org> 說:
> 
> > On Thu, Aug 31, 2006 at 05:06:34PM +0800, kabbin wrote:
> > > 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 <nico@cam.org>
> > > 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-01  2:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31  3:37 IP-Config: Failed to open eth0 kabbin
2006-08-31  9:06 ` kabbin
2006-08-31 11:20   ` Ladislav Michl
2006-09-01  2:17     ` kabbin
2006-09-01  2:43       ` kabbin
2006-08-31 14:10 ` Debug Output Abot Botbot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.