You are not logged in.

#1 2012-08-14 13:30:56

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

[SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

Hi,
I get this error on boot since I upgraded the kernel to the 3.5 version:

ERROR: resume: hibernation device "/dev/sda3" not found

I guess that the kernel parameter "resume=/dev/sda3" is no more recognised because sda3 is the root partition; I've always used a swap file.
Obviously resume from hibernation isn't working anymore.
Downgrading the kernel to the [core] version (3.4.8) fixes the issue.
Does anyone know how to fix it?

Last edited by punkeroso (2012-08-30 10:55:18)

Offline

#2 2012-08-28 09:47:30

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

Still present in 3.5.3 in [core].
Can someone move this thread to Kernel & Hardware?

Offline

#3 2012-08-28 15:30:35

pilotkeller
Member
From: Canada
Registered: 2011-12-22
Posts: 513
Website

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

I'm afraid I can't do that dave... I'll be honnest though; nobody ever really visits these threads. This could take weeks to be seen and moved by a mod. lol

Offline

#4 2012-08-28 15:32:16

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

punkeroso wrote:

Still present in 3.5.3 in [core].
Can someone move this thread to Kernel & Hardware?

Done!

BTW: There is a "Report" button for a purpose!!!


To know or not to know ...
... the questions remain forever.

Offline

#5 2012-08-29 14:38:53

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

bernarcher wrote:
punkeroso wrote:

Still present in 3.5.3 in [core].
Can someone move this thread to Kernel & Hardware?

Done!

BTW: There is a "Report" button for a purpose!!!

Thanks, but I thought that it was only for abuse/spam!
Now I hope someone else knows how to fix this issue!

Offline

#6 2012-08-29 15:19:13

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

Offline

#7 2012-08-29 15:23:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

Just curious, is there a reason why you choose a swap file over a parititon?  In my mind, it would seem that either way would essentially take up the same amount of space... it just wouldn't necessarily *look* like it when overviewing your partitions.

Offline

#8 2012-08-29 16:27:35

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

WonderWoofy wrote:

Just curious, is there a reason why you choose a swap file over a parititon?  In my mind, it would seem that either way would essentially take up the same amount of space... it just wouldn't necessarily *look* like it when overviewing your partitions.

I use a swap file mainly because it offers the ability to vary its size on-the-fly. If you upgrade the system memory, you should resize 2 partitions in order to still be able to hibernate the system.

Offline

#9 2012-08-30 07:36:18

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

Just to say I also have this problem, and the upgrade broke my fbsplash as well.

I _do_ use the swap partition.

Offline

#10 2012-08-30 08:56:02

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 749

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

I guess you need the resume_offset= kernel parameter.

https://wiki.archlinux.org/index.php/Sw … e_resuming

Offline

#11 2012-08-30 09:01:26

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

lahwaacz wrote:

I guess you need the resume_offset= kernel parameter.

https://wiki.archlinux.org/index.php/Sw … e_resuming

I do have that kernel parameter. But the offset without the device is simply useless.
As I wrote in the first post, before the upgrade, hibernation was working flawlessly.

Offline

#12 2012-08-30 09:24:40

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 749

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

punkeroso wrote:
lahwaacz wrote:

I guess you need the resume_offset= kernel parameter.

https://wiki.archlinux.org/index.php/Sw … e_resuming

I do have that kernel parameter. But the offset without the device is simply useless.
As I wrote in the first post, before the upgrade, hibernation was working flawlessly.

OK, this is weird... I also use hibernation into swap file and everything is working fine, even on kernel 3.5.
Please post /etc/mkinitcpio.conf, it might be relevant.

Offline

#13 2012-08-30 09:41:53

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

lahwaacz wrote:

OK, this is weird... I also use hibernation into swap file and everything is working fine, even on kernel 3.5.
Please post /etc/mkinitcpio.conf, it might be relevant.

MODULES="ahci scsi_mod libata sd_mod ext4"
BINARIES=""
FILES=""
HOOKS="base resume fglrx"

As I told you, with old 3.4.x kernel, everything was working fine, so couln't be any configuration file...

Offline

#14 2012-08-30 10:23:10

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 749

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

punkeroso wrote:

As I told you, with old 3.4.x kernel, everything was working fine, so couln't be any configuration file...

It can be (and it most certainly is) caused by some configuration because of some changes in the kernel. You can try adding the 'udev' hook. Here is my configuration (which works fine for me):

MODULES="radeon"
BINARIES=""
FILES=""
HOOKS="base udev autodetect pata scsi sata resume filesystems fsck usbinput"

Offline

#15 2012-08-30 10:35:09

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

I have a hook for udev and it makes no difference to the error

Offline

#16 2012-08-30 10:52:06

punkeroso
Member
From: Rome, Italy
Registered: 2007-01-19
Posts: 105

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

lahwaacz wrote:

It can be (and it most certainly is) caused by some configuration because of some changes in the kernel. You can try adding the 'udev' hook. Here is my configuration (which works fine for me):

Adding the udev hook did the trick! They must have changed something in the kernel so now I need the udev hook in order to make the hibernation work.
Thank you lahwaacz for your suggetions.

fdservices wrote:

I have a hook for udev and it makes no difference to the error

Have you tried using the uuid in the resume parameter instead of /dev/sdxy?

Offline

#17 2012-08-30 16:08:12

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: [SOLVED]linux 3.5 - ERROR: resume: hibernation device "/dev/sda3" not

OK, fixed it.

It seems that the new kernel is far more picky than before. After I removed some redundant software and checked all the settings, it all works again, except for fbsplash which does not work for hibernating.

I may try to fix that, or I may not bother.

Offline

Board footer

Powered by FluxBB