LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-22-2012, 09:33 AM   #1
wenlan
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 05-23-2012, 04:34 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,276

Rep: Reputation: 61
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.
 
Old 05-24-2012, 05:14 AM   #3
whitebank
LQ Newbie
 
Registered: May 2012
Posts: 5

Rep: Reputation: Disabled
Hello, I hope this blog could help your problem
http://mini2440vietnam.blogspot.com/
Good luck, friend
 
Old 07-05-2012, 09:19 PM   #4
zhen wang
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
hei,I think this question is related to bootloader,the bootloader provide to the kernel boot parameters is error.
 
Old 07-06-2012, 06:37 AM   #5
anshuman84
Member
 
Registered: May 2008
Location: Bangalore
Posts: 31

Rep: Reputation: 6
Quote:
Originally Posted by wenlan View Post
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 .
 
Old 07-07-2012, 06:52 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

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


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
[SOLVED] AT91SAM9263-ek: U-Boot kernel CRC error on second boot JW Cyrus Linux - Embedded & Single-board computer 2 08-23-2010 10:08 AM
When I boot with PXE Boot into openSuse, error says 'invalid or corrupt kernel image' rfelsburg Suse/Novell 0 05-13-2010 08:51 PM
error when boot the linux kernel:Internal error: Oops: 7 [#1] JammyWei Linux - Embedded & Single-board computer 2 06-25-2008 02:23 AM
no /boot/loader and no /boot/kernel/kernel error message on a free bsd install chownuseradd Linux - Newbie 1 02-09-2008 08:05 PM
error on boot of new kernel. grub error. Pcghost Linux - General 4 05-10-2003 09:37 AM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
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