LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-01-2012, 08:34 AM   #1
DavidA
LQ Newbie
 
Registered: Aug 2011
Location: UK
Posts: 11

Rep: Reputation: Disabled
Help needed with kernel parameters to mount NFS root file system


Hi

I am doing my first embedded Linux project on a Freescale p4080DS board. I am using U-Boot and OpenEmbedded Linux. I want to configure U-Boot to boot the kernel from Flash and to make the kernel mount a remote nfs root file system. With my current settings, the kernel displays the following command line settings at boot time:

Kernel command line: console=ttyS0,115200 root=/dev/nfs rw ip=172.29.68.13:172.29.68.252:192.168.1.20:255.255.255.04080ds:eth0ff nfsroot=172.29.68.252:/<mypath>/rootfs/devel-image

where <mypath> hides my actual path for the sake of this post.

but the boot hangs after:

RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
VFS: Mounted root (nfs filesystem) on device 0:15.
Trying to move old root to /initrd ... /initrd does not exist. Ignored.
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 268k freed

Can anyone see anything wrong with my kernel command line please?

Best regards

David
 
Old 05-01-2012, 11:39 AM   #2
Aesvan
LQ Newbie
 
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
Don't see anything wrong with your kernel config line as long as your Root filesystem lives under
/<mypath>/rootfs/devel-image.

I currently do something similar with a P4080 board. Unfortunately the printout you posted doesn't show it attempting to mount the root filesystem over NFS. I'm not sure if that occurred before the
RAMDISK: gzip image found at block 0 output.

I assume you have.

ROOT_NFS = yes
Depends on: NETWORK_FILESYSTEMS [=y] && NFS_FS [=y]=y [=y] && IP_PNP [=y]

I remember using Freescales DPAA and it being off by default.
 
Old 05-02-2012, 10:39 AM   #3
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
I'm confused to why it shows it mounted 2 root: one ext2 root in some (block) device and one in nfs.
It seems it's expecting initrd in one rootfs, but it's missing.
 
  


Reply



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
kernel panic unable to mount root file system corky383 Linux - Newbie 7 12-01-2011 04:37 AM
Kernel Panic - Not Syncing VFS: unable to mount root file system bianchi77 Linux - Kernel 2 07-17-2009 03:56 AM
Kernel panic-not syncing unable to mount the root file system on unknown block(0,0) cybersrin Linux - Hardware 2 08-14-2007 12:00 AM
Kernel Panic - Not Syncing VFS: unable to mount root file system push Slackware 8 08-28-2006 07:17 AM
root file system on NFS... kernel vs. userland GUIPenguin Linux - General 0 03-22-2006 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:50 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
Open Source Consulting | Domain Registration