| 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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
05-22-2012, 09:33 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2012
Posts: 4
Rep: 
|
boot linux kernel error
I like linux ,also like the embed system design technology.
so i brought a development board(FriendlyARM mini2440),i have compiled the linux Kernel many times.
also it all doesn't work.
when i compiled the linux Kernel(linux-2.6.29) to a zImage and downloaded to board.
at the same time the rootfs.img download to board.
when boot the kernel it show that "Root-NFS: No NFS server available, giving up." ,"VFS: Unable to mount root fs via NFS, trying floppy."
"VFS: Cannot open root device "mtdblock3" or unknown-block(2,0)"
how can i do to this problem?
At last thanks for you spent the time to read my questions.
|
|
|
|
05-23-2012, 04:34 AM
|
#2
|
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,256
Rep:
|
This sort of problem can be very hard to find, there can be many things that give this sort of error. One place to start looking is the compiling process, did you compile the kernel with initrd.gz and ram support, this will need to be compiled into the kernel, not as a module.
|
|
|
|
07-05-2012, 09:19 PM
|
#4
|
|
LQ Newbie
Registered: Jul 2012
Posts: 2
Rep: 
|
hei,I think this question is related to bootloader,the bootloader provide to the kernel boot parameters is error.
|
|
|
|
07-06-2012, 06:37 AM
|
#5
|
|
Member
Registered: May 2008
Location: Bangalore
Posts: 31
Rep:
|
Quote:
Originally Posted by wenlan
I like linux ,also like the embed system design technology.
so i brought a development board(FriendlyARM mini2440),i have compiled the linux Kernel many times.
also it all doesn't work.
when i compiled the linux Kernel(linux-2.6.29) to a zImage and downloaded to board.
at the same time the rootfs.img download to board.
when boot the kernel it show that "Root-NFS: No NFS server available, giving up." ,"VFS: Unable to mount root fs via NFS, trying floppy."
"VFS: Cannot open root device "mtdblock3" or unknown-block(2,0)"
how can i do to this problem?
At last thanks for you spent the time to read my questions.
|
First of all you need to understand the Whole scenario. Here the problem is your kernel unable to find the filesystem need to be mounted after kernel boots up. So here you need to check your bootloader boot parameters to provide proper location to your filesystem.
Another suggestion it seems like your boot parameter is searching for mtdblock device for filesystem but you are using NFS (network file system). Which is the main culprit here. Search in google how to give boot parameters for NFS .
|
|
|
|
07-07-2012, 06:52 PM
|
#6
|
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,265
|
You can set kernel commandline parameters either from the bootloader (maybe), or by building them into the kernel. In your kernel config, search for CONFIG_CMDLINE. Add a parameter like init=/bin/init (point to the init binary in your rootfs).
--- rod.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:13 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|