You are not logged in.
Hi,
Every now and then I get a start up message telling me that the system failed to start the swap partition. However, once the system is up and running, swap is working just fine. Should I be worried about that message or is it safe to ignore it? Does anyone know why that is happening?
Last edited by motaito (2015-03-19 18:40:21)
Offline
Post your fstab. Anything interesting in systemd's journal?
Offline
My fstab looks like this:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda1
UUID=0925-619C /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sda2
UUID=6c35788a-07f6-4bf8-b86b-e66e500b6fa0 / ext4 defaults,noatime 0 1
# /dev/sda3
UUID=a3a7a31d-1a8c-4886-a3ca-64625f628840 none swap defaults 0 0
# /dev/sda4
UUID=d35698d5-48a4-46b2-aa78-c1fc35748ffc /home ext4 defaults,noatime 0 2
# /dev/sda5
UUID=2ba2b71e-19b3-46a3-9f81-72634cc9f96a /game ext4 defaults,noatime 0 2
In journal I get:
journalctl -b | grep -i failed
Mar 19 17:44:24 kurama kernel: ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.EC__._REG] (Node ffff8802268af2f8), AE_NOT_EXIST (20141107/psparse-536)
Mar 19 17:44:28 kurama systemd[1]: Failed to activate swap Swap Partition.
Mar 19 17:44:28 kurama systemd[1]: Unit dev-sda3.swap entered failed state.
Mar 19 17:44:28 kurama swapon[297]: swapon: /dev/sda3: swapon failed: Device or resource busy
Mar 19 17:44:53 kurama dbus[354]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.NetworkManager.service': Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory.
Mar 19 17:44:53 kurama dbus[354]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.NetworkManager.service': Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory.
Mar 19 17:44:57 kurama pulseaudio[709]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
In the very same session after getting that message I also have:
swapon -s
Filename Type Size Used Priority
/dev/sda3 partition 8388604 0 -1
I can use an application where I know it will use swap and swap works just fine. So, I am inclined not to worry about the message. However, I don't really like it. If everything is fine, the message should not appear...
Thanks for you help!
Offline
remove the swap entry on fstab, it should mount automatically now
Offline
remove the swap entry on fstab, it should mount automatically now
Offline
Nice, that seams to have solved the problem. I rebooted a couple times and did not get the error again. From the wiki entry I thought that if systemd-fstab-generator finds a swap partition in fstab the second mechanism will not trigger. But it seams the error was that systemd-gpt-auto-generator tried to activate swap again and failed because it was already active. I have it now removed (commented) in /etc/fstab and it seams to work as expected without any errors.
Thanks for the help!
Offline