Skip to contentSkip to conversation

2.6.0-test9-mm3 initrd strangeness

DISCUSSION Tim Kelsey 2 participants 3 messages Nov 13, 2003

lore
Share & tools
lore

Tim Kelsey

author
#0 lore raw

This is my first mailing list post so Sorry for any breach of etiquette.

I am experiencing problems with 2.6.0-test9-mm3 and initrd ramdisks
I have support for ramdisks and initrd compiled directly into the kernel and have an initrd image gzipped and placed in /boot called initrd-crypt.gz

When booting off a 2.4.22 kernel the image is loaded and linuxrc is executed perfectly but with a 2.6.0-test9-mm3 kernel i get the following msg at boot time

	RAMDISK: Compressed image found at block 0
	RAMDISK: incomplete Write (-1 != 32768) 4194304

Any comments, advice, opinions greatly appreciated also if someone could explain what those numbers actually mean i would be very grateful

Many Thanx,

Tim Kelsey
Systems Admin, Midland Internet

#1 lore raw
Quoted 9 lines · Tim Kelsey

I am experiencing problems with 2.6.0-test9-mm3 and initrd ramdisks
I have support for ramdisks and initrd compiled directly into the kernel and have an initrd image gzipped and placed in /boot called initrd-crypt.gz

When booting off a 2.4.22 kernel the image is loaded and linuxrc is executed perfectly but with a 2.6.0-test9-mm3 kernel i get the following msg at boot time

	RAMDISK: Compressed image found at block 0
	RAMDISK: incomplete Write (-1 != 32768) 4194304

Any comments, advice, opinions greatly appreciated also if someone could explain what those numbers actually mean i would be very grateful

Seems like your ramdisk is full, the default size is 4096k. Change the CONFIG_BLK_DEV_RAM_SIZE parameter or boot with ramdisk_size=<value>.

Cheers,
Michael.

Signature · 2 lines
Michael Schroeder                                   [email protected]
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
author
#2 lore raw

Thanx,

My image was too big, i have now changed the initrd size in the kernel config as you said and it works perfectly now.

Thanx very much for your help

Tim Kelsey

Quoted 26 lines · On Thu, 13 Nov 2003 15:47:38 +0100 Michael Schroeder <[email protected]> wrote:
Quoted 9 lines · Tim Kelsey

I am experiencing problems with 2.6.0-test9-mm3 and initrd ramdisks
I have support for ramdisks and initrd compiled directly into the kernel and have an initrd image gzipped and placed in /boot called initrd-crypt.gz

When booting off a 2.4.22 kernel the image is loaded and linuxrc is executed perfectly but with a 2.6.0-test9-mm3 kernel i get the following msg at boot time

	RAMDISK: Compressed image found at block 0
	RAMDISK: incomplete Write (-1 != 32768) 4194304

Any comments, advice, opinions greatly appreciated also if someone could explain what those numbers actually mean i would be very grateful

Seems like your ramdisk is full, the default size is 4096k. Change the CONFIG_BLK_DEV_RAM_SIZE parameter or boot with ramdisk_size=<value>.

Cheers,
Michael.

Signature · 7 lines
Michael Schroeder                                   [email protected]
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/