You are not logged in.

#351 2012-03-14 16:11:32

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

I am getting this just after GRUB and before Arch starts booting:

[TuxOnIce] No storage allocators have been registered.

which apparently breaks my hibernation. What is this?

I have this in my /etc/mkinitcpio.conf

MODULES="pata_amd ahci libahci ehci-hcd ohci-hcd lzo tuxonice_compress tuxonice_swap tuxonice_userui"

Offline

#352 2012-03-15 17:04:04

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:
Lockheed wrote:

I am getting this just after GRUB and before Arch starts booting:

[TuxOnIce] No storage allocators have been registered.

which apparently breaks my hibernation. What is this?

I have this in my /etc/mkinitcpio.conf

MODULES="pata_amd ahci libahci ehci-hcd ohci-hcd lzo tuxonice_compress tuxonice_swap tuxonice_userui"

I replicated your mkinitcpio.conf, but it made no difference.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#353 2012-03-15 19:19:29

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:
nous wrote:
Lockheed wrote:

I am getting this just after GRUB and before Arch starts booting:

[TuxOnIce] No storage allocators have been registered.

which apparently breaks my hibernation. What is this?

I have this in my /etc/mkinitcpio.conf

MODULES="pata_amd ahci libahci ehci-hcd ohci-hcd lzo tuxonice_compress tuxonice_swap tuxonice_userui"

I replicated your mkinitcpio.conf, but it made no difference.

I too get the "No storage allocators have been registered" message, but resuming goes fine. Silly question: have you run "mkinitcpio -p linux-pf" after editing /etc/mkinitcpio.conf?

Offline

#354 2012-03-15 20:18:51

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Yes, I have.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#355 2012-03-15 20:39:13

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

Yes, I have.

If you're using the stock linux-pf kernel, this is really strange. If you configure the kernel yourself, you've probably missed something. Anyway, you can always try to compile in-kernel the swap allocator and lzo.

Offline

#356 2012-03-16 13:37:41

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Wiki article on linux-pf.

Offline

#357 2012-03-16 13:49:48

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:
Lockheed wrote:

Yes, I have.

If you're using the stock linux-pf kernel, this is really strange. If you configure the kernel yourself, you've probably missed something. Anyway, you can always try to compile in-kernel the swap allocator and lzo.

I recompiled the kernel with all-inclusive (which defeats the purpose of the 'L' option) and now it apparently hibernates fine. However, on resume the hibernation image is being totally ignored and system boots like after restart.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#358 2012-03-16 17:47:28

post-factum
Member
From: /ukraine/kyiv
Registered: 2008-09-12
Posts: 82
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

Wiki article on linux-pf.

Added link to official page. Thanks!


Linux spock 4.4.0-pf1 #1 SMP PREEMPT Mon Jan 18 11:03:05 UTC 2016 x86_64 GNU/Linux

Offline

#359 2012-03-16 17:48:18

post-factum
Member
From: /ukraine/kyiv
Registered: 2008-09-12
Posts: 82
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

I recompiled the kernel with all-inclusive (which defeats the purpose of the 'L' option) and now it apparently hibernates fine. However, on resume the hibernation image is being totally ignored and system boots like after restart.

Missing resume hook?


Linux spock 4.4.0-pf1 #1 SMP PREEMPT Mon Jan 18 11:03:05 UTC 2016 x86_64 GNU/Linux

Offline

#360 2012-03-16 17:50:36

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

I recompiled the kernel with all-inclusive (which defeats the purpose of the 'L' option) and now it apparently hibernates fine. However, on resume the hibernation image is being totally ignored and system boots like after restart.

Darn, I'm gonna take this personally.

Please, upload somewhere your /etc/hibernate/tuxonice.conf, /etc/hibernate/hibernate.conf, /boot/grub/menu.lst (or grub.cfg), /etc/mkinitcpio.conf and dmesg after a failed suspend/resume cycle.

[EDIT] I'm guessing you use hibernate-script to activate the process.

Last edited by nous (2012-03-16 17:51:40)

Offline

#361 2012-03-16 19:47:48

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

[EDIT] I'm guessing you use hibernate-script to activate the process.

I am typing "sudo hibernation". Does it make any difference?


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#362 2012-03-16 22:33:06

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:
nous wrote:

[EDIT] I'm guessing you use hibernate-script to activate the process.

I am typing "sudo hibernation". Does it make any difference?

No, if you actually meant "sudo hibernate". Do you have the "resume" hook in /etc/mkinitcpio.conf as post-factum asked?

Offline

#363 2012-03-17 07:00:45

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Ok, here we go:
http://pastebin.com/jhxgM0Kv
http://pastebin.com/4ywsq91y
http://pastebin.com/juP8eQFJ
http://pastebin.com/LnUHz5V1
http://pastebin.com/dD0B7Etn
http://pastebin.com/wjbxNkwx

Also, I noticed during hibernation there is no "Writing image to disk: XX%" (or something similar) which I used to see few weeks back.
I suspect this has something to do with what has been mentioned earlier:

[TuxOnIce] No storage allocators have been registered.

I did not have this msg few weeks back.

Last edited by Lockheed (2012-03-17 07:09:05)


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#364 2012-03-17 08:00:45

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

Ok, here we go:
...
http://pastebin.com/LnUHz5V1
...

The MODULES array here only contains "lzo". Add "tuxonice_compress" and "tuxonice_swap". Then run "mkinitcpio -p linux-pf".

Offline

#365 2012-03-17 08:15:47

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I always had just 'lzo' there, and apart from the BFS messing with tux, things were working fine.  But let's give it a try.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#366 2012-03-17 14:31:14

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

After adding that to MODULES array, instead of the usual text messages upon hibernation (missing the % part), I am getting this:
http://imageshack.us/photo/my-images/29 … 42948.jpg/


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#367 2012-03-18 20:37:48

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

After adding that to MODULES array, instead of the usual text messages upon hibernation (missing the % part), I am getting this:
http://imageshack.us/photo/my-images/29 … 42948.jpg/

Try commenting out the following in your /etc/hibernate/common.conf:

UnloadBlacklistedModules yes
EnableVbetool yes
RestoreVbeStateFrom /var/lib/vbetool/vbestate
VbetoolPost yes
RestoreVCSAData yes

Offline

#368 2012-03-19 18:32:22

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,471

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I'm using 3.2.7 and it works very well, including toi with compression and threads workaround.

it seems to me that load average is higher than the normal kernel,is that normal?
Not that the system seems busy, it is very snappy, just the numbers are higher and i wonder why.

Online

#369 2012-03-19 19:06:24

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

kokoko3k wrote:

I'm using 3.2.7 and it works very well, including toi with compression and threads workaround.

it seems to me that load average is higher than the normal kernel,is that normal?
Not that the system seems busy, it is very snappy, just the numbers are higher and i wonder why.

That's roughly the way BFS works; it sacrifices a little performance in favour of responsiveness. But I still doubt that's even measurable on modern systems.

Last edited by nous (2012-03-20 21:32:03)

Offline

#370 2012-03-22 11:32:28

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:
Lockheed wrote:

After adding that to MODULES array, instead of the usual text messages upon hibernation (missing the % part), I am getting this:
http://imageshack.us/photo/my-images/29 … 42948.jpg/

Try commenting out the following in your /etc/hibernate/common.conf:

UnloadBlacklistedModules yes
EnableVbetool yes
RestoreVbeStateFrom /var/lib/vbetool/vbestate
VbetoolPost yes
RestoreVCSAData yes

I thought that's going to solve it, but not so. Now the screen goes blank for a second, and comes back to the desktop without hibernating.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#371 2012-03-22 19:45:45

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:
nous wrote:
Lockheed wrote:

After adding that to MODULES array, instead of the usual text messages upon hibernation (missing the % part), I am getting this:
http://imageshack.us/photo/my-images/29 … 42948.jpg/

Try commenting out the following in your /etc/hibernate/common.conf:

UnloadBlacklistedModules yes
EnableVbetool yes
RestoreVbeStateFrom /var/lib/vbetool/vbestate
VbetoolPost yes
RestoreVCSAData yes

I thought that's going to solve it, but not so. Now the screen goes blank for a second, and comes back to the desktop without hibernating.

What error does /var/log/hibernate.log or dmesg show?

Offline

#372 2012-03-23 08:18:34

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Starting suspend at Thu Mar 22 11:19:59 WET 2012
hibernate: [00] Executing MiscLaunchAuxFunc1 ... 
Executing sync; echo 3 > /proc/sys/vm/drop_caches...
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureTuxOnIceCapable ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [97] Executing ChangeToTuxOnIceVT ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [98] Executing TuxOnIceConfigSet ... 
hibernate: [99] Executing DoTuxOnIce ... 
hibernate: Activating TuxOnIce ...
hibernate: [98] Executing FullSpeedCPUResume ... 
hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
Resumed at Thu Mar 22 11:20:07 WET 2012
Starting suspend at Thu Mar 22 11:20:15 WET 2012
hibernate: [00] Executing MiscLaunchAuxFunc1 ... 
Executing sync; echo 3 > /proc/sys/vm/drop_caches...
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureTuxOnIceCapable ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [97] Executing ChangeToTuxOnIceVT ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [98] Executing TuxOnIceConfigSet ... 
hibernate: [99] Executing DoTuxOnIce ... 
hibernate: Activating TuxOnIce ...
hibernate: [98] Executing FullSpeedCPUResume ... 
hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
Resumed at Thu Mar 22 11:20:22 WET 2012
Starting suspend at Thu Mar 22 11:23:20 WET 2012
hibernate: [00] Executing MiscLaunchAuxFunc1 ... 
Executing sync; echo 3 > /proc/sys/vm/drop_caches...
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureTuxOnIceCapable ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [97] Executing ChangeToTuxOnIceVT ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [98] Executing TuxOnIceConfigSet ... 
hibernate: [99] Executing DoTuxOnIce ... 
hibernate: Activating TuxOnIce ...
hibernate: [98] Executing FullSpeedCPUResume ... 
hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
Resumed at Thu Mar 22 11:23:27 WET 2012

Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#373 2012-03-23 08:43:47

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,471

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

why: "Executing sync; echo 3 > /proc/sys/vm/drop_caches..." ?
seems that toi is trying to make the image a lot smaller, did you expected it (maybe you have a too low value for image size, just guessing...) ?

Last edited by kokoko3k (2012-03-23 08:44:58)

Online

#374 2012-03-23 08:44:46

Lockheed
Member
Registered: 2010-03-16
Posts: 1,429

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

All I want is it being compressed with lzo.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#375 2012-03-23 22:08:44

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:
Starting suspend at Thu Mar 22 11:19:59 WET 2012
hibernate: [00] Executing MiscLaunchAuxFunc1 ... 
Executing sync; echo 3 > /proc/sys/vm/drop_caches...
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureTuxOnIceCapable ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [97] Executing ChangeToTuxOnIceVT ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [98] Executing TuxOnIceConfigSet ... 
hibernate: [99] Executing DoTuxOnIce ... 
hibernate: Activating TuxOnIce ...
hibernate: [98] Executing FullSpeedCPUResume ... 
hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
Resumed at Thu Mar 22 11:20:07 WET 2012
Starting suspend at Thu Mar 22 11:20:15 WET 2012
hibernate: [00] Executing MiscLaunchAuxFunc1 ... 
Executing sync; echo 3 > /proc/sys/vm/drop_caches...
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureTuxOnIceCapable ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [97] Executing ChangeToTuxOnIceVT ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [98] Executing TuxOnIceConfigSet ... 
hibernate: [99] Executing DoTuxOnIce ... 
hibernate: Activating TuxOnIce ...
hibernate: [98] Executing FullSpeedCPUResume ... 
hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
Resumed at Thu Mar 22 11:20:22 WET 2012
Starting suspend at Thu Mar 22 11:23:20 WET 2012
hibernate: [00] Executing MiscLaunchAuxFunc1 ... 
Executing sync; echo 3 > /proc/sys/vm/drop_caches...
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureTuxOnIceCapable ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [97] Executing ChangeToTuxOnIceVT ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [98] Executing TuxOnIceConfigSet ... 
hibernate: [99] Executing DoTuxOnIce ... 
hibernate: Activating TuxOnIce ...
hibernate: [98] Executing FullSpeedCPUResume ... 
hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
Resumed at Thu Mar 22 11:23:27 WET 2012

Isn't there any info from dmesg after a failed hibernation cycle? Also, try the "SwitchToTextMode yes" option in /etc/hibernate.common.conf.

Offline

Board footer

Powered by FluxBB