linux-mips
[Top] [All Lists]

CRAMFS Ramdisk image as Rootfs

To: <linux-mips@linux-mips.org>
Subject: CRAMFS Ramdisk image as Rootfs
From: <hemanth.venkatesh@wipro.com>
Date: Wed, 19 Jul 2006 19:43:03 +0530
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AcarPJ0J09gYqrEETqyoWap0XUe/Hg==
Thread-topic: CRAMFS Ramdisk image as Rootfs

Hi All,

 

I was trying to mount cramfs image as Ramdisk rootfs for 2.6.14 kernel. Even though the kernel seems to detect the cramfs image, it is not able to mount it as rootfs. It throws the error “cramfs: bad root offset 4864” The target is little endian, and  RHEL host on which the image was built is also little endian.

 

The other images like EXT2 for ramdisk don’t seem to get detected at all, and just throws error “VFS: Unable to mount root fs on unknown-block(1,0)”.  Anyone faced similar issue before or knows what could be causing the problem.

 

go r root=/dev/ram rd_start=0x85000000 rd_size=5009408 rootfstype=cramfs

 

Initializing IPsec netlink socket

NET: Registered protocol family 1

NET: Registered protocol family 17

md: Autodetecting RAID arrays.

md: autorun ...

md: ... autorun DONE.

WIPRO path_lookup retval 0

WIPRO security_sb_mount  retval 0

WIPRO do_new_mount retval 0

WIPRO do_mount retval 0

RAMDISK: cramfs filesystem found at block 0

RAMDISK: Loading 4892KiB [1 disk] into ram disk... done.

cramfs: bad root offset 4864

 

Thanks

Hemanth

<Prev in Thread] Current Thread [Next in Thread>