FS#48020 - [mkinitcpio] upgrading lvm2 corrupt the initramfs-linux.img
Attached to Project:
Arch Linux
Opened by dummys (dummys) - Wednesday, 03 February 2016, 19:08 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 13 February 2016, 19:44 GMT
Opened by dummys (dummys) - Wednesday, 03 February 2016, 19:08 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 13 February 2016, 19:44 GMT
|
Details
Description:
After doing 1day of test it appears that this is the lvm2 package that corrupt the initramfs and cause an error at boot: https://imgur.com/ZU2T26R Downgrading to lvm2-2.02.138-1-x86_64.pkg.tar.xz, deleting initramfs/fallback, mkinitcpio -p linux solved the problem. Additional info: latest kernel, computer Macbookpro62 /dev/sda4 -> luks -> lvm content of my mkinitcpio.conf What did you need more ? Steps to reproduce: install lvm2-2.02.141-1-x86_64.pkg.tar.xz recreate mkinitcpio -p linux reboot |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 13 February 2016, 19:44 GMT
Reason for closing: Not a bug
Saturday, 13 February 2016, 19:44 GMT
Reason for closing: Not a bug
mkinitcpio.conf
Same with mkinitcpio: mkinitcpio 18-2 -> 19-1
content of df -h just to say that /boot is not full and is mounted:
-> $ df -h
Filesystem Size Used Avail Use% Mounted on
dev 3.9G 0 3.9G 0% /dev
run 3.9G 864K 3.9G 1% /run
/dev/mapper/vgcrypt-root 24G 19G 3.7G 84% /
tmpfs 3.9G 8.1M 3.9G 1% /dev/shm
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/vgcrypt-home 192G 151G 32G 83% /home
/dev/sda1 197M 108M 90M 55% /boot
tmpfs 3.9G 5.4M 3.9G 1% /tmp
/dev/mapper/data 408G 349G 38G 91% /data
What can I do ? Did I need to open an other bug ? I'm really lost with this issue, I'm trying to solve it since 00h00 yesterday. I tested ton of solution with help of #archlinux and I'm really stuck.
The only way to get back a sain system is: downgrade kernel-4.3.3-1/headers/linux-firmware/virtualbox-host-modules/lvm2/devmapper/mkinicpio, then rm /boot/initramfs*, removing "intel_agp i915" in .conf, mkinitcpio -p linux, adding back intel+i915, mkinitcpio -p linux, then initramfs is booting I'm lost. please Help
$ while true; do mkinitcpio --config ./mkinitcpio.conf -g foo.img &>/dev/null && stat -c %s foo.img; done
8658585
8658813
8658803
8658857
8658761
8658928
8658833
8658743
8658819
...
The above implies gzip, but this is true of other compression methods that I tried: lz4, xz, lzop, and bzip2
Without compression, the image size remains constant between runs.
> I tested with compression=cat, same issue
There's now a lot of context in this bug report -- what precisely do you mean by this?
Is this some aging hard drive?
Not so aging,less than 1 year. It's a Samsung 850pro SSD 256GB.
smartctl output attached
Trim is enable with systemd fstrim timer.
I formated my /boot and recopying my stuff. Then it was booting, then pacman -Syu and all is ok. You can close all my bug.
Thanks for help anyway Dave :D