Skip to contentSkip to conversation

using initramfs with ppc

DISCUSSION Pawel Studencki 2 participants 2 messages Apr 18, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I use a custom board with 8xx and kernel 2.6.11 and try to mount root fs
based on cramfs. I still have problems with mounting VFS:

VFS: Cannot open root device "mtdblock1" or
unknown-block(31,1)
Please append a correct "root=" boot option

Kernel panic - not syncing: VFS: Unable to mount root

fs on
unknown-block(31,1)

I found, that perhaps the reason is initramfs. How do you use initramfs on
ppc?
Is it possible to turn off initramfs? If I've understood correct "Documentation/early-userspace/README", there is possibility to boot direct
from flash.

My filesystem for initramfs is very simple in default "initramfs_list" file:

dir /dev 0755 0 0
nod /dev/console 0600 0 0 c 5 1
dir /root 0700 0 0

do I have to append special files or directories?

thanks for any hints.

regards
Pawel

__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

#1 lore raw
Quoted 7 lines · Pawel Studencki

Hello,

I use a custom board with 8xx and kernel 2.6.11 and try to mount root fs
based on cramfs. I still have problems with mounting VFS:

Quoted 8 lines

VFS: Cannot open root device "mtdblock1" or unknown-block(31,1)
Please append a correct "root=" boot option

Kernel panic - not syncing: VFS: Unable to mount root

fs on
unknown-block(31,1)

I found, that perhaps the reason is initramfs.

Unlikely.

Please, check that you have mtdblock device enabled in config, also that you have configured your flash support, and mtdblock1 partition actually exists.

Signature · 1 line
Eugene