You are not logged in.

#1 2012-03-10 09:43:57

PReP
Member
From: Sweden
Registered: 2010-06-13
Posts: 359
Website

[SOLVED] Init -> Activating Swap (Failed)

I just updated my system,
and after a recent reboot i noticed the init trying to activate swap, and failing.

Thing is, i don't use a swap partition, and hasn't since i installed Arch on this machine,
But i don't remember it  (init, udev or the recent kernel?) trying anyways.

This is not causing any problems from what i can see,
but for sake of tidiness, what has changed,
and shouldn't it - not even try - activating a swap partition when one is not set and/or existing at all? smile

/etc/fstab:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>

tmpfs                  /tmp          tmpfs     nodev,nosuid        0      0


UUID=02709134-c074-4e66-8aa6-ed2d43a1cdf4 / ext4 defaults,noatime 0 1
UUID=d4b8ac62-9fb2-4798-9ff3-d3e179ff253e /home ext4 defaults,noatime 0 1


/dev/sda2 /mnt/win7 ntfs-3g defaults 0 0
/dev/sda4 /mnt/wind ntfs-3g defaults 0 0

/dev/sdb2 /mnt/winf ntfs-3g defaults 0 0

/dev/sdc1 /mnt/wine ntfs-3g defaults 0 0
/dev/sdc2 /mnt/wint ntfs-3g defaults 0 0

/dev/sdd1 /mnt/wing ntfs-3g defaults,noauto,nofail 0 0

Last edited by PReP (2012-03-10 11:22:30)


. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)

Offline

#2 2012-03-10 10:00:07

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Init -> Activating Swap (Failed)

I know there's some kernel parameters that can be compiled in for enabling/disabling swap support; but I doubt they would actually try "forcing" the usage of swapspace.

Perhaps try adding "noswap" to your kernel line in your bootloader config and see if the warning/error vanishes.


Burninate!

Offline

#3 2012-03-10 10:39:48

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,680

Re: [SOLVED] Init -> Activating Swap (Failed)

Perhaps its the same issue as this

Offline

#4 2012-03-10 11:22:05

PReP
Member
From: Sweden
Registered: 2010-06-13
Posts: 359
Website

Re: [SOLVED] Init -> Activating Swap (Failed)

It might actually be.

I just found that a few of my non-UUID mounted partitions had switched around,
Probably because of my switch to AHCI instead of Legacy-IDE in the BIOS yesterday.

When i fixed them, "Activating Swap" went "[DONE]" again, though i still have no swap partition
- but that is what it might have said before aswell, thus it was just the "[FAILED]" that caught my eye.

I found this quote in the thread skunktrader linked, that might explain this partially:

"TomeGun: There was recently a bug report about this (against util-linux-2.21-1). It turned out that the problem was actually that mounting local filesystems mistakenly printed FAILED, even though it succeeded. "

I should probably leave this as solved at this time,


Thanks to the community for sharing ideas, as usual smile


. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)

Offline

Board footer

Powered by FluxBB