LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-04-2011, 11:44 AM   #1
smintz
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=10.50.2.235, mask=255.255.255.0, gw=10.50.2.1,
host=abydos, domain=, nis-domain=(none),
bootserver=10.50.2.80, rootserver=10.50.2.80, rootpath=
Looking up port of RPC 100003/2 on 10.50.2.80
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 10.50.2.80
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;
nfsroot=/tftpboot/L5000/rootfs

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

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

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
  


Reply


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 07:18 PM
Compiled Kernel: Kernel panic Unable to mount root fs on 08:02 pobrika Linux - Software 3 05-23-2008 03:29 PM
compiling kernel problem --- Kernel panic: unable to mount root fs ........ anthonymts123 Linux - General 5 07-31-2006 03:29 AM
Kernel panic - Unable to mount fs dave`2005 Slackware 12 04-14-2006 09:00 AM


All times are GMT -5. The time now is 04:47 PM.

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