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 18:21:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/07/16 17:11, Dennis Luehring wrote:
> Am 07.11.2016 um 16:56 schrieb Laszlo Ersek:
>>> >so the second one couldn't be a problem with running out of memory -
>>> and
>>> >its not alpha related same error happens with ppc64,sparc64,mips64...
>> The second one*is*  related to running out of memory. Initrd
>> decompression takes unintuitive amounts of memory. And, in practice,
>> exactly the second error message was seen with the aarch64 target, until
>> Rich Jones raised the guest RAM size that libguestfs passed to QEMU.
>>
>> You can try it for yourself: stick with the small (14MB) initrd, and,
>> say, quadruple the guest RAM size. I'm pretty sure it will succeed.
> 
> can't give the quest more then 4.2GB ram - my host does not have more
> available - but
> 
> small(~14MB) initrd.cpio + 4GB ram still gives
> 
> "Initramfsunpacking failed: junk in compressed archive"
> 
> and there is just *one* 14MB init-binary file in the cpio - nothing
> more, no compression
> 

I stand corrected then; the problem you see must be genuinely different
from what Rich saw with the libguestfs appliance initrd.

Maybe the decompressor code doesn't expect to find only one file in the
initrd. Just guessing.

Laszlo



reply via email to

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