creating new root file system

I am a newbie and started to play around recently. I followed the steps from the linux guide to create a ram disk image and test it. But the kernel is is not able to mount the new root file system.
I got the error message:
Couldn't find valid RAM disk image starting at 0.
No filesystem could mount root, tried: ext2 cramfs msdos vfat
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

Also when I tried to transfer the initrd.bin file using tftp,
my computer is disconnecting from the wired network and is again connecting back to the wired connection with self-assigned ip address.I am using this address as the serverip. As a result of this disconnection and reconnection there are a few retrys as seen it the output.
I attached the output as a text file.

Any help would be appreciated.

output.txt7.1 KB

Re: creating new root file system

Your loading the initrd to 0x21000000 which is also the load address of the kernel. So the initrd is overwritten with kernel data. So load it to 0x21400000 for example and it should work.

Re: creating new root file system

I tried to copy the image to 21400000 address. This time I got the following error.
RAMDISK: Compressed image found at block 0
Unable to handle kernel paging request at virtual address 496d6165
pgd = c0004000
[496d6165] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.22-taskit3 #1)
PC is at inflate_codes+0xbc/0x468
LR is at 0x45774973
pc : [] lr : [<45774973>] psr: a0000013
sp : c0377e58 ip : 00000045 fp : c0377e94
r10: 00000000 r9 : 00000006 r8 : 000004f6
r7 : 00000000 r6 : ffffff91 r5 : c14308f0 r4 : 00000056
r3 : 00000000 r2 : 496d6165 r1 : c02c3998 r0 : 000000d2
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc0376258)
Stack: (0xc0377e58 to 0xc0378000)
7e40: 0000003f 000001ff
7e60: 00000009 c1491808 c16e8008 00000005 00000007 0000002e 00000000 c3d41000
7e80: 00000137 00000119 c0377ee8 c0377e98 c000a664 c0009acc c0220770 c3d7a804
7ea0: c0377eb0 0000001e 0000007f 00000005 00000006 c1491808 00000009 c16e8008
7ec0: 00000000 00000000 c02c3998 c02c3994 c02c39b4 c02c39b8 00000001 c0377f38
7ee0: c0377eec c000aecc c000a0c0 00000000 00000000 00000000 00000000 c0377f08
7f00: c0081894 00000000 c02c8b1f 5c2d2f7c 00000000 c02c3988 00000000 c0376000
7f20: c001ee48 c001f864 00000000 c0377f64 c0377f3c c000b82c c000a6fc c0377f38
7f40: 00000000 c02c3988 00000000 c0376000 c001ee48 00000000 c0377f80 c0377f68
7f60: c0009260 c000b7fc c0377f74 c02c3978 00000000 c0377ff4 c0377f84 c0008bf0
7f80: c0009194 ffffffff ffffffff 00000000 00000001 ffffffff 00000000 00000000
7fa0: 00000000 c0377fb0 c0022e24 c0033bb4 00000000 00000000 c00089c0 c0039de8
7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7fe0: 00000000 00000000 00000000 c0377ff8 c0039de8 c00089d0 ffffffff ffffffff
[] (inflate_codes+0x0/0x468) from [] (inflate_dynamic+0x5b4/0x62c)
[] (inflate_dynamic+0x0/0x62c) from [] (rd_load_image+0x7e0/0xfa4)
[] (rd_load_image+0x0/0xfa4) from [] (initrd_load+0x40/0x318)
[] (initrd_load+0x0/0x318) from [] (prepare_namespace+0xdc/0x164)
[] (prepare_namespace+0x0/0x164) from [] (kernel_init+0x230/0x28c)
r5:00000000 r4:c02c3978
[] (kernel_init+0x0/0x28c) from [] (do_exit+0x0/0x760)
Code: e51b2038 e0073002 e51b202c e1a03183 (e7d24003)
Kernel panic - not syncing: Attempted to kill init!

Am I missing something? I have no clue on how to fix this.

Thanks in advance.

Re: creating new root file system

You have run the command "64M" in U-Boot? If you have not, only 32M RAM are configured, but you tell Linux with the bootargs, that 64MB are available.

Syndicate content