2008-04-23 08:19:21     Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-23 08:19:21     Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

alex lee (CHINA)

Message: 54783   

 

How can I deal with this problem.

 

It occured when my uClinux kernel start.

 

"Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)"

 

Is this problem  evocable when I made  menuconfig.

QuoteReplyEditDelete

 

 

2008-04-23 08:46:32     Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Manolo van Ee (NETHERLANDS)

Message: 54784    The problem is that the root filesystem could not be found.

Did you use the default configuration?

If so, maybe you did not upload the correct image.

QuoteReplyEditDelete

 

 

2008-04-23 09:37:12     Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

blue hash (UNITED STATES)

Message: 54785    Print your kernel bootlog.

QuoteReplyEditDelete

 

 

2008-04-23 21:53:40     Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

alex lee (CHINA)

Message: 54813   

 

Hi.  Manolo van Ee, thank u very much for ur answer. I'm a rookie,so if I ask something unprofessional below,please don't be angry.

 

I didn't use the default config.Because the image which uses the default config is too large for me.It's almost  3.8M,but my total flash memory is 3M,so I need a image smaller than 2 M.

 

For this reason I changed the root filesystem  from ext2 to romfs by closing the option of ext2 and open that of romfs in the config.I don't know other methods to  minish the kernel.

 

So please tell me my fault and which options should be closed ,if I want to minish the image to 2 M.

 

Thank u for  advance.

QuoteReplyEditDelete

 

 

2008-04-24 06:58:44     Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Manolo van Ee (NETHERLANDS)

Message: 54851    Hi Alex,

Don't worry, we're all here to help each other.

 

Are you using the latest  2008R1 release?

If not, you'd better change to it.

 

Furthermore, I see on my 2008R1 release that for romfs you need the program genromfs which is not included in the dist.

Anyway, I don't know much about romfs, but if you're using the uboot uImage, which is compressed, I don't think that using romfs will make the image much smaller than using ext2.

 

You should deselect applications and maybe remove some libraries to get down to the size you want.

QuoteReplyEditDelete

 

 

2008-04-24 08:41:13     Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Robin Getz (UNITED STATES)

Message: 54854    Alex:

 

Have a look at the FAQ:

http://docs.blackfin.uclinux.org/doku.php?id=faq  "My image to too large to burn in flash".

 

It is unlikely that moving to romfs will help.

 

-robin

Attachments

    Outcomes