kernel 2.6.33 fail to mount rootfs on ramdisk

Shawn Jin shawnxjin at gmail.com
Wed Aug 11 17:16:32 EST 2010


On Tue, Aug 10, 2010 at 11:55 PM, Shawn Jin <shawnxjin at gmail.com> wrote:
> Hi,
>
> The kernel 2.6.33 failed to mount the rootfs on the ramdisk. I enabled
> the ramdisk block device support and ext2 filesystem as shown below.
>
> CONFIG_BLK_DEV_RAM=y
> CONFIG_BLK_DEV_RAM_COUNT=16
> CONFIG_BLK_DEV_RAM_SIZE=4096
> CONFIG_EXT2_FS=y
>
> Are these adequate configurations for kernel to support rootfs on
> ramdisk? What have I missed? The ramdisk image is from DENX's SELF.
> The boot message is shown below.

I figured that out. What I missed is CONFIG_BLK_DEV_INITRD.

Thanks,
-Shawn.


More information about the Linuxppc-dev mailing list