systemctl
Great! Didn't know about that. Tested here and worked.
I just don't know if it won't crash when updating systemd too.
Note that the wiki page you linked to on pm-utils has large warning notices at the top because it is not really current with updates and changes to the system, especially systemd.
One thing is to say that the module isn't updated, other is to corrupt and let your system unbootable.
I am talking about a BIG RED warning.
I will consider the thread as solved with this lesson:
- Don't use pm-utils
- Use systemctl hibernate
And:
- Don't update libsystemd, systemd or linux and than hibernate (or the other way around).
EDIT: Edited the wiki: https://wiki.archlinux.org/index.php/Pm-utils
]]>While I agree, I don't think hibernating and then updating should cause this kind of corruption.
Yeah I was under the inital impression that the OP had potentially updated before hibernating. So if that had been the case and the kernel was upgraded, it would have explained the instability and potentially the corruption. Alas, it doesn't sound as though that was the case.
]]>See https://wiki.archlinux.org/index.php/Po … th_systemd. Note that the wiki page you linked to on pm-utils has large warning notices at the top because it is not really current with updates and changes to the system, especially systemd.
]]>[2014-06-09 21:22] [PACMAN] Running 'pacman --color auto -S -u'
[2014-06-09 21:22] [PACMAN] starting full system upgrade
[2014-06-09 21:22] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2014-06-09 21:22] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2014-06-09 21:22] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2014-06-09 21:22] [ALPM-SCRIPTLET] ==> Starting build: 3.15.0-1-ARCH
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2014-06-09 21:22] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2014-06-09 21:22] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-06-09 21:22] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> Starting build: 3.15.0-1-ARCH
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2014-06-09 21:23] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2014-06-09 21:23] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-06-09 21:23] [PACMAN] upgraded linux (3.14.6-1 -> 3.15-1)
[2014-06-09 21:23] [PACMAN] upgraded bbswitch (0.8-8 -> 0.8-10)
[2014-06-09 21:23] [PACMAN] upgraded x265 (1.0-1 -> 1.1-1)
[2014-06-09 21:23] [PACMAN] upgraded ffmpeg (1:2.2.3-1 -> 1:2.2.3-2)
[2014-06-09 21:23] [PACMAN] upgraded libsystemd (213-6 -> 213-8)
[2014-06-09 21:23] [PACMAN] upgraded lirc-utils (1:0.9.0-71 -> 1:0.9.0-72)
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
Freezed when updating systemd, 213-6 -> 213-8. Now I am sure.
This time got these files with size 0 in /usr/lib:
./libavdevice.so.55.10.100
./libavfilter.so.4.2.100
./libavcodec.so.55.52.102
./libswresample.so.0.18.100
./libpostproc.so.52.3.100
./libswscale.so.2.5.102
./libavformat.so.55.33.100
./syslinux/bios/liblua.c32
./syslinux/bios/libcom32.c32
./syslinux/bios/libgpl.c32
./syslinux/bios/libutil.c32
./syslinux/bios/libmenu.c32
./syslinux/efi32/liblua.c32
./syslinux/efi32/libcom32.c32
./syslinux/efi32/libgpl.c32
./syslinux/efi32/libutil.c32
./syslinux/efi32/libmenu.c32
./syslinux/efi64/liblua.c32
./syslinux/efi64/libcom32.c32
./syslinux/efi64/libgpl.c32
./syslinux/efi64/libutil.c32
./syslinux/efi64/libmenu.c32
./libavresample.so.1.2.0
./liblirc_client.so.0.2.1
./perl5/core_perl/CORE/libperl.so
./perl5/core_perl/lib.pm
./libx265.so.1.1
./libqpdf.so.13.1.2
./libavutil.so.52.66.100
./pkgconfig/libswresample.pc
./pkgconfig/libavutil.pc
./pkgconfig/libavformat.pc
./pkgconfig/libqpdf.pc
./pkgconfig/libavcodec.pc
./pkgconfig/libavresample.pc
./pkgconfig/libpostproc.pc
./pkgconfig/libavfilter.pc
./pkgconfig/libswscale.pc
./pkgconfig/libavdevice.pc
Had to reinstall the kernel too.
Apparently the files corrupted depends on what was being updated.
It's the second time this happens...
Today, when updating systemd-213-6-x86_64, systemd-sysvcompat-213-6-x86_64 and libsystemd-213-6-x86_64, my notebook freezed. Couldn't go from X to ttys, move mouse or type anything. After a few minutes I powered off.
On boot, after entering my pass (I use dm-crypt for the entire Arch partition), it showed some lines about fixing the journal and then droped to a console, saying I had no init script.
Had to use a live pen to reinstall systemd and libsystemd. Some lib files were corrupted (zero size for file), and some systemd files had disappeard.
The first time it happend, these files got corrupted:
libgudev-1.0.so.0.2.0
libsystemd-daemon.so.0.0.12
libsystemd-id128.so.0.0.28
libsystemd-journal.so.0.11.5
libsystemd-login.so.0.9.3
libsystemd.so.0.2.0
libudev.so.1.4.1
(besides some libcups*)
If I remember, I was updating to systemd-213-4-x86_64.
Today I only took note after reinstalling systemd and libsystemd, but after this, these files were still corrupted:
ldconfig: File /usr/lib/libhunspell-1.3.so.0 is empty, not checked.
ldconfig: File /usr/lib/libfontembed.so is empty, not checked.
ldconfig: File /usr/lib/libhunspell-1.3.so is empty, not checked.
ldconfig: File /usr/lib/libhunspell.so is empty, not checked.
ldconfig: File /usr/lib/libhpmud.so.0.0.6 is empty, not checked.
ldconfig: File /usr/lib/libfontembed.so.1 is empty, not checked.
ldconfig: File /usr/lib/libhpmud.so is empty, not checked.
ldconfig: File /usr/lib/libhpip.so is empty, not checked.
ldconfig: File /usr/lib/libhpip.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libcupsfilters.so is empty, not checked.
ldconfig: File /usr/lib/libhunspell-1.3.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libcupsfilters.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libhpip.so.0 is empty, not checked.
ldconfig: File /usr/lib/libfontembed.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libhpmud.so.0 is empty, not checked.
ldconfig: File /usr/lib/libcupsfilters.so.1 is empty, not checked.
This problem started only after I encrypted my partition, but I am not sure it's related.
I use pm-hibernate to be able to "secure suspend".
The systemd-213-5-x86_64 update caused no error.
Maybe it only happens if I am running after a resume and not in a fresh boot?
Thanks for the attention and for any help.
EDIT: Added code tags attending WonderWoofy's request.
EDIT2: I am using EXT4.