Review your favorite Linux distribution.
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 06-19-2009, 01:26 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Kernel panic when using NFS!


I've installed a NFS server on my host pc and run my embedded linux board using NFS as rootfs. I've loaded the kernel successfully but it will hang (kernel panic) because the NFS server returned an error.

The NFS server is verified working by mounting it using this command "mount -t nfs <server ip>:/home/nfsroot /mnt"

This is the kernel parameter used "console=ttyAM root=/dev/nfs ip= nfsroot=:"

Here's the message log:
ep93xx-rtc ep93xx-rtc: setting system clock to 1970-01-01 00:01:34 UTC(94)
device=eth0, addr=, mask=, gw=,
host=, domain=, nis-domain=(none),
bootserver=, rootserver=, rootpath=
Looking up port of RPC 100003/2 on
scsi 0:0:0:0: Direct-Access SanDisk Cruzer Micro 0.1 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 4001760 512-byte hardware sectors (2049 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 4001760 512-byte hardware sectors (2049 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
rpcbind: server not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on
Root-NFS: Server returned error -13 while mounting /tftpboot/:
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:
1f00 16384 mtdblock0 (driver?)
0800 2000880 sda driver:sd
0801 1999749 sda1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

Also, the connection between the two devices is working. I can ping from the host pc to client and ping from client using RedBoot bootloader to host pc.

What could be the problem? Hope to here response from this forum.


Last edited by cs-e9302_user; 06-19-2009 at 01:28 AM.
Old 06-19-2009, 02:46 AM   #2
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
It has been a while since I tried this, but the article below helped me a lot when I was playing with it. I don't use Arch, but it should be a similar setup on any distribution. I hope it helps in some way.
Old 06-23-2009, 03:15 PM   #3
LQ Newbie
Registered: Jun 2008
Location: SF Bay Area
Distribution: Ubuntu
Posts: 15

Rep: Reputation: 1
Originally Posted by cs-e9302_user View Post

Root-NFS: Server returned error -13 while mounting /tftpboot/:
That '/tftpboot/:' seems a little fishy to me. Also, I believe that error (-13) means permission denied. Could you post up your '/etc/exports'?

For development purposes, just put '/home/nfsroot *(rw,no_root_squash,no_all_squash)' in your exports file.

I suggest first booting over NFS with an isolated switch (no gateway, etc). You can move over to your regular network once you have that working.


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
pxe nfs boot, kernel panic - portmap error davidcollins001 Linux - Networking 0 04-29-2007 12:20 PM
Kernel panic when booting via NFS ashwinikr Linux - Kernel 3 01-04-2007 03:43 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:53 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