Re: 32 bit s2disk on 64 bit kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, June 16, 2011, Brad Campbell wrote:
> <oops, sent this to the wrong list..>

Not really, the list is exactly right. :-)

> I run an entirely 32 bit userspace on a 64bit kernel. I've compiled suspend-utils from todays git 
> tree. trying to use s2disk results in the following :
> 
> Is this a supported configuration?

No, it isn't.

> brad@bklaptop:~$ sudo s2disk
> s2disk: Could not use the resume device (try swapon -a). Reason: Invalid argument
> brad@bklaptop:~$ dmesg | tail -n3
> [  823.530812] video LNXVIDEO:00: Restoring backlight state
> [  834.100071] iwlagn 0000:02:00.0: iwlagn_tx_agg_start on ra = 00:26:f2:94:ba:59 tid = 0
> [  842.392066] iwlagn 0000:02:00.0: iwlagn_tx_agg_start on ra = 00:26:f2:94:ba:59 tid = 0
> 
> snip of strace
> open("resume", O_RDWR|O_LARGEFILE)      = 3
> stat64("/dev/snapshot", {st_mode=S_IFCHR|0660, st_rdev=makedev(10, 231), ...}) = 0
> open("/dev/snapshot", O_RDONLY|O_LARGEFILE) = 4
> ioctl(4, 0x400c330d, 0xffe07a3c)        = -1 EINVAL (Invalid argument)
> ioctl(4, 0x4004330a, 0x805)             = -1 EINVAL (Invalid argument)
> write(2, "s2disk: Could not use the resume"..., 82s2disk: Could not use the resume device (try 
> swapon -a). Reason: Invalid argument
> 
> echo mem > /sys/power/state
> .. works fine, but no compression, status or encryption.

That is a totally different thing, it simply preserves the contents of RAM.

Thanks,
Rafael
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux