public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* initramfs unpacking failed: junk in compressed archive
@ 2009-06-08 11:56 Michael Tokarev
  2009-06-11 23:56 ` Michael Tokarev
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2009-06-08 11:56 UTC (permalink / raw)
  To: Linux-kernel; +Cc: H. Peter Anvin

[Cc'd HPA since he touched this code recently]

My second issue with 2.6.30-rc8, this time without any
additional patches.

It fails to decompress gzip-compressed initramfs here, says this
way before many other things and continues booting, failing down
the line obviously, but the root cause is already gone off the
screen (previously it paniced if it were unable to unpack initramfs).

the key error message is like in $subject.

I've added a printk right when it sets the above error in unpack_to_rootfs(),
right after the ckeck for "state != Reset".  The `state' value is 0 there,
for "Start".

The kernel is x86-64, machine is AMD x2-64 with 4G RAM.
The problem does not occur when running in a KVM virtual machine with only
512 megs of ram, the same kernel and the same initramfs (so this eliminates
corrupt initramfs, which also passes `gzip -t' test).

The same config (mkinitrd/modules/etc) worked for me on every kernel since
a stone age maybe (early 2.6 series).

I'll do some more experiments with it later today, hopefully - like
trying 32bits kernel, reducing amount of memory etc.

Thanks.

/mjt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-11 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 11:56 initramfs unpacking failed: junk in compressed archive Michael Tokarev
2009-06-11 23:56 ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox