Forum Discussion
Altera_Forum
Honored Contributor
20 years agoDE2-uclinux,Kernel panic - not syncing: VFS:unknow
Hello,Everyone!
My board is DE2.Its configurations are as follows: SDRAM,8Mbytes;CFI Flash:1M. I build the uclinux kernel ,the size if vmlinuz.bin is smaller than 800KBytes. We upload the kernel sucessfully. But when we run,the messages tell: -------------------------------------------------------------------- Built 1 zonelists Kernel command line: root=/dev/sdram ro PID hash table entries: 64 (order: 6, 1024 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 7324k/8192k RAM, 0k/0k ROM (633k kernel code, 116k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Linux NoNET1.0 for Linux 2.6 Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x81004000 (irq = 1) is a jtag_uart io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) -------------------------------------------------------------------- Will any one give me a hand? Thanks in advance!8 Replies
- Altera_Forum
Honored Contributor
you need a root fs.
follow the wiki, step 1-3 http://nioswiki.jot.com/wikihome/operating...ms/%c2%b5clinux (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux) First, try out the prebuilt kernel. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jul 14 2006, 09:47 AM you need a root fs.follow the wiki, step 1-3
http://nioswiki.jot.com/wikihome/operating...ms/%c2%b5clinux (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux)
first, try out the prebuilt kernel.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16907)
--- quote end ---
--- Quote End --- Thanks hippo!Months ago ,I build the toolchain, it failed. So if i want to build root fs it under NIOS2 IDE provided by Altera,Will you give us any hints? 我对hippo老兄的景仰真是有如滔滔江水一发而不可收拾。
- Altera_Forum
Honored Contributor
do not try buildroot !! it would take a lot of efferts.
I had packed the nios2 corss gcc, it would be easier to use. http://nioswiki.jot.com/wikihome/operating...binarytoolchain (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/binarytoolchain) - Altera_Forum
Honored Contributor
--- Quote Start --- you need a root fs. follow the wiki, step 1-3 http://nioswiki.jot.com/wikihome/operating...ms/%c2%b5clinux (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux) First, try out the prebuilt kernel. --- Quote End --- hello: hipp0,the http://nioswiki.jot.com/wikihome/operating...ms/%c2%b5clinux (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux) is closed,and I can't open it.I have the same question,and the there is nothing in romfs,and when I download the zImage to DE2,the problem is this "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)",so I also need a root fs,but the web page is closed,please tell me what to do? - Altera_Forum
Honored Contributor
-Michael - Altera_Forum
Honored Contributor
Thank you for give me zhe web paga,but there is no method to resolve my question,my problem is the romfs,because the romfs file is empty,when you make,it says to "there is nothing to do with romfs",so how to resolved it?Thank you,Michael!
- Altera_Forum
Honored Contributor
I have resolve the question!Thank you all the same!!!
- Altera_Forum
Honored Contributor
hello i have the same question which troubled me for several days, saying:
kernel panic - not syncing:vfs:unable to mount root fs on unknown-block<0,0> would you tell me how to solve it, thank you so much