[Kernel-packages] [Bug 1840945] Re: Concatenated lz4 initrds don't work

2019-08-23 Thread Alkis Georgopoulos
@xnox, thank you, in #3 I was testing date.img as a plain cpio without compression, while with your updated lz4/xz commands, it appears that when date.img matches the compression of initrd.img, then it works fine. So the problem only happens when mixed compressions are used. Btw, the reason I w

[Kernel-packages] [Bug 1840945] Re: Concatenated lz4 initrds don't work

2019-08-23 Thread Dimitri John Ledkov
`| lz4 > date.img` is incorrect One must use `lz4 -9 -l` For xz one should use `xz --check=crc32` -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1840945 Title: Concatenated lz4 initrds

[Kernel-packages] [Bug 1840945] Re: Concatenated lz4 initrds don't work

2019-08-23 Thread Alkis Georgopoulos
I tried all the COMPRESS= methods available in /etc/initramfs- tools/initramfs.conf in both eoan and bionic. For each one, I ran: date > date.txt echo date.txt | cpio -oH newc > date.img update-initramfs -u cat initrd.lz4 date.img > initrd.img kvm -m 512 -kernel vmlinuz -initrd initrd.img -append

[Kernel-packages] [Bug 1840945] Re: Concatenated lz4 initrds don't work

2019-08-21 Thread Alkis Georgopoulos
This is about loading the kernel/initrd, so running apport-collect on the host won't provide any useful info, and running it inside the initramfs isn't possible. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of