qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] alpha platform is missing files after initrd load


From: Laszlo Ersek
Subject: Re: [Qemu-devel] alpha platform is missing files after initrd load
Date: Mon, 7 Nov 2016 15:12:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/07/16 08:37, Dennis Luehring wrote:
> Am 04.11.2016 um 22:08 schrieb Richard Henderson:
>> No, it was less specific than that.  Something like "unpacking failed:
>> error".
>>
>>> >And, apparently, it used to be handled with a panic() call, but then
>>> that
>>> >was deemed "policy", and downgraded to a KERN_EMERG message:
>> Ouch.  A silly decision, but definitely an uphill fight to get it
>> changed.
> 
> 
> using a big(~370MB) initrd.cpio with not enough ram (1GB) in qemu i get
> this kernel message
> 
> "Initramfs unpacking failed: write error"
> 
> using a small(~14MB) initrd.cpio with just a staticaly linked c based
> init for the kernel also with 1GB ram (more then enough) gives me this
> kernel message:
> 
> "Initramfs unpacking failed: junk in compressed archive"
> 
> and i currently can't say if only the first is evil or both
> 
> both cpios created with "find . | cpio -H newc -o initrd.cpio"

The second error message is incorrect in its own right (it's just
another symptom of running out of memory; the compressed archive is
valid in fact). But, fixing that would require a more intrusive change I
guess, i.e., to distinguish these two kinds of problems properly.

Thanks
Laszlo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]