Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 08-04-2011, 10:44 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
tftpboot problems, kernel panic, unable to mount port, etc

I am trying to load an OS using OpenSuse64. I installed the tftp server using YaST utility which did return a successful install. When I set my environment and try to boot off the nfs server, I get these multiple error messages:

bcm5892-mac-mdio: probed
PHY eth0: link status:0 Autoneg 1 10base-HD
IP-Config: Complete:
device=eth0, addr=, mask=, gw=,
host=abydos, domain=, nis-domain=(none),
bootserver=, rootserver=, rootpath=
Looking up port of RPC 100003/2 on
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /tftpboot/L5000/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
b300 1931264 mmcblk0 driver: mmcblk
b301 1929244 mmcblk0p1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

here is my partial set environment:
setenv bootnfs 'tftp 42000000 L5000/uimage1;

the error: "Root-NFS: Server returned error -5 while mounting /tftpboot/L5000/rootfs" is odd, because my uimage1 resides in:

so, being a relative newbie, I am at a loss how to get a suxccessful load
Old 08-08-2011, 10:55 AM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Without a littel more context, it is hard to interpret what you've posted. It looks like you're trying use an NFS root filesystem. Does the kernel in question have built-in support for this? Is the NFS server correctly exporting the target's root filesystem? Can you mount it with a 'norma'l NFS client? I'm not acquainted with the environment variable 'bootnfs'; in what context is that used? bootloader?
Are you sure you're not confusing the purpose of NFS with that of tftp? Both have roles in diskless booting, but are distinct components. Tftp is often used by bootloaders like PXE to load the kernel (and sometimes initrd) image(s) from a network server. NFS may then be used to mount the kernel's root filesystem. Two separate issues, two separate systems.

--- rod.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian 6.0 - custom kernel compile Kernel panic - not syncing: VFS: Unable to mount Bono Debian 5 05-06-2011 06:18 PM
Compiled Kernel: Kernel panic Unable to mount root fs on 08:02 pobrika Linux - Software 3 05-23-2008 02:29 PM
compiling kernel problem --- Kernel panic: unable to mount root fs ........ anthonymts123 Linux - General 5 07-31-2006 02:29 AM
Kernel panic - Unable to mount fs dave`2005 Slackware 12 04-14-2006 08:00 AM

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration