You are not logged in.

#451 2012-05-19 15:06:13

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

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

andreagi wrote:
nous wrote:

please, run 'pacman -Syy' to refresh the pfkernel database and retry.

Thanks, it is working: you are right, sorry for not having thought on that.

It's probably my fault, as I often forget to update the repo database with repo-add...

Offline

#452 2012-06-08 19:25:08

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

nous wrote:
kostett wrote:

nous, thanks for your maintainer's work, but could you include into kernel the hibernate's allocator? I have some problems with using tuxonice (modules version). Also, if you know russian language, you'll can read the thread (clickable), where I described my problem completely. Thank you.

Are the tuxonice_* modules loaded? Run 'lsmod|grep tuxonice' to check. If not, modprobe tuxonice_swap and retry. You might need to recreate the initramfs, if something went wrong during the installation and you missed it ('mkinitcpio -p linux-pf').

Have you followed all the installation steps from the linux-pf wiki page?

[root@lenovo-sielab kostett]# lsmod|grep tuxonice
tuxonice_userui         7024  0
tuxonice_swap           5695  0
tuxonice_bio           32335  1 tuxonice_swap
tuxonice_compress       4357  0
[root@lenovo-sielab kostett]#

so, I think that wiki's info is old and not actual now.. it would be good if someone made an update for pf-kernel article and TuxOnIce article, I'm really interested doing hibernation by tuxonice

Offline

#453 2012-06-08 20:04:22

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

kostett wrote:

so, I think that wiki's info is old and not actual now.. it would be good if someone made an update for pf-kernel article and TuxOnIce article, I'm really interested doing hibernation by tuxonice

I followed the wiki about one month ago re setting up linux-pf to use toi hibernation and it works w/o a problem…

Offline

#454 2012-06-09 07:08:01

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

jakob wrote:

I followed the wiki about one month ago re setting up linux-pf to use toi hibernation and it works w/o a problem…

could you tell me what articles have you used for set up TuxOnIce? Maybe, I was reading the wrong articles

Offline

#455 2012-06-09 14:44:19

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

kostett wrote:

could you tell me what articles have you used for set up TuxOnIce? Maybe, I was reading the wrong articles

You may be right that there did sth change! I basically used tha TuxOnIce, linux-pf und Suspending to Disk wiki articles. But none of these has the important hint to put

## Prevent the corruption of the snapshot at resume time (make do):
ProcSetting no_multithreaded_io 1

into tuxonice.conf in /etc/hibernate/ to avoid error -22 during resume.

Offline

#456 2012-06-09 16:59:53

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

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

jakob wrote:
kostett wrote:

could you tell me what articles have you used for set up TuxOnIce? Maybe, I was reading the wrong articles

You may be right that there did sth change! I basically used tha TuxOnIce, linux-pf und Suspending to Disk wiki articles. But none of these has the important hint to put

## Prevent the corruption of the snapshot at resume time (make do):
ProcSetting no_multithreaded_io 1

into tuxonice.conf in /etc/hibernate/ to avoid error -22 during resume.

That existed as a notice at the linux-pf wiki page, but it seems someone has removed it. Does resume still fail without it?

Offline

#457 2012-06-09 18:35:01

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

nous wrote:

That existed as a notice at the linux-pf wiki page, but it seems someone has removed it. Does resume still fail without it?

Just tried it out. Indeed, the option isn't necessary anymore! Wow! Which means that TOI works flawlessly as before on 2.6.38 again w/ compression and multithreading! Nice one!

Offline

#458 2012-06-09 18:49:00

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

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

jakob wrote:
nous wrote:

That existed as a notice at the linux-pf wiki page, but it seems someone has removed it. Does resume still fail without it?

Just tried it out. Indeed, the option isn't necessary anymore! Wow! Which means that TOI works flawlessly as before on 2.6.38 again w/ compression and multithreading! Nice one!

I'm getting this, as of 3.3.6-pf:

hyperion:[root]:~# uname -a
Linux hyperion 3.4-pf #3 SMP PREEMPT Wed Jun 6 10:22:43 EEST 2012 x86_64 GNU/Linux
hyperion:[root]:~# dmesg |grep -i tuxonice
[    1.575160] TuxOnIce 3.2.1 (http://tuxonice.net)
[    1.575260] TuxOnIce: No storage allocators have been registered. Hibernating will be disabled.
[    1.575303] TuxOnIce: No storage allocators have been registered. Hibernating will be disabled.
[    1.575305] TuxOnIce: No storage allocators have been registered.
[    3.482189] TuxOnIce: No image found.
hyperion:[root]:~# lsmod|grep tuxonice
tuxonice_userui         8296  0 
tuxonice_swap           6851  0 
tuxonice_bio           35195  1 tuxonice_swap
tuxonice_compress       5385  0 
hyperion:[root]:~# hibernate
hibernate: No suitable suspend methods were found on your machine.
hibernate: You need to install a kernel with support for suspending to
hibernate: disk or RAM and reboot, then try again.
hyperion:[root]:~# 

This on a desktop box with the stock linux-pf from the pfkernel repo. Built-in TOI on my laptop works well. Anyone else having this? I'm busting my head here and I haven't touched any configuration files... The TOI modules are present in /etc/mkinitcpio.conf too.

If this gets confirmed, I'm putting the modules back into the kernel.

Offline

#459 2012-06-10 16:59:05

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

ooops, I have a problem

[root@lenovo-sielab kostett]# mkinitcpio 
==> Starting dry run: 3.4-pf
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [pata]
  -> Running build hook: [scsi]
  -> Running build hook: [sata]
  -> Running build hook: [userui]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [usbinput]
  -> Running build hook: [fsck]
==> ERROR: module not found: `lzo'
==> Generating module dependencies
==> Dry run complete, use -g IMAGE to generate a real image
[root@lenovo-sielab kostett]# pacman -Si linux-pf
Repository            : pfkernel
Name                  : linux-pf
Version               : 3.4.1-2

linux-pf in repository pfkernel haven't lzo module? What I must to do to fix it problem?

Offline

#460 2012-06-10 17:12:59

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

I think this error only occurs because LZO isnt built as a module, but directly into linux-pf. At least I get the same error, too, but w/o a problem…

Offline

#461 2012-06-10 18:07:13

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

jakob wrote:

I think this error only occurs because LZO isnt built as a module, but directly into linux-pf. At least I get the same error, too, but w/o a problem…

OK, I has removed that module from mkinitcpio config, thank you
***
so, about the wiki page about installation linux-pf..
my /boot/grub/menu.lst is empty, my /boot/grub/grub.cfg have that section for the kernel

menuentry 'Arch Linux GNU/Linux, с Linux pf kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-pf kernel-true-ce2f05ca-da6f-4e60-a762-3ad083e19c4c' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos4'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 --hint='hd0,msdos4'  13780b8e-2b94-47a8-8d96-51c028ff1dea
        else
          search --no-floppy --fs-uuid --set=root 13780b8e-2b94-47a8-8d96-51c028ff1dea
        fi
        echo    'Загружается Linux pf kernel …'
        linux   /vmlinuz-linux-pf root=UUID=ce2f05ca-da6f-4e60-a762-3ad083e19c4c resume=/dev/sda6 ro quiet
        echo    'Загружается начальный виртуальный диск …'
        initrd  /initramfs-linux-pf.img
}

but in wiki

title  Linux-pf 3.2
root   (hd0,4)
kernel (hd0,0)/vmlinuz-linux-pf root=/dev/disk/by-label/ROOT ro vga=0x318 lapic resume=/dev/disk/by-label/SWAP video=vesafb:ywrap,mtrr:3 fastboot quiet
initrd (hd0,0)/initramfs-linux-pf.img

I didn't understand anything..

Last edited by kostett (2012-06-10 18:43:06)

Offline

#462 2012-06-10 19:31:15

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

While you are using grub2, the wiki gives the settings for grub-legacy or rather grub 0.97, which is still the default for Arch, isnt it?

Last edited by jakob (2012-06-10 19:33:57)

Offline

#463 2012-06-11 07:43:18

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

jakob wrote:

While you are using grub2, the wiki gives the settings for grub-legacy or rather grub 0.97, which is still the default for Arch, isnt it?

i has installed archlinux a long time ago and really i don't remember a type a boot system used by archlinux by default
so, sb can help me to set up my grub2 to use linux-pf with TOI? because grub2 is in repos also as grub1

Offline

#464 2012-06-11 10:23:24

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

Well, the wiki has all the relevant information to set up both of these bootloaders, or you should be able to find the relevant information in the web. Otherwise, there's a great Linux distribution enabling you to use hibernation by default which is called Ubuntu smile

Offline

#465 2012-06-11 15:44:10

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

jakob wrote:

Well, the wiki has all the relevant information to set up both of these bootloaders, or you should be able to find the relevant information in the web. Otherwise, there's a great Linux distribution enabling you to use hibernation by default which is called Ubuntu smile

thank you, but I don't want to do steps back and hibernation in ubuntu hasn't any visualization, but i require it as main - i want to know what my computer doing now
i'll try to read grub2 manuals and i add in linux-pf wiki article info about set up grub2 if i'll understand how to do it

Offline

#466 2012-06-11 19:46:26

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

soo... i try to set up grub1 as in wiki and nothing work, i have error

[kostett@lenovo-sielab ~]$ sudo cat /var/log/dmesg.log | grep TuxOnIce
Пароль: 
[    0.677861] TuxOnIce 3.2.1 (http://tuxonice.net)
[    0.678029] TuxOnIce: No storage allocators have been registered. Hibernating will be disabled.
[    0.678056] TuxOnIce: No storage allocators have been registered. Hibernating will be disabled.
[    0.678058] TuxOnIce: No storage allocators have been registered.

in my menu.lst is

[kostett@lenovo-sielab ~]$ sudo cat /boot/grub/menu.lst
Пароль: 
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution

# general configuration:
timeout   5
default saved
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz-linux-pf]
root   (hd0,3)
kernel /vmlinuz-linux-pf root=/dev/sda7 ro vga=864 lapic resume=/dev/sda6 fastboot quiet
initrd /initramfs-linux-pf.img

# (1) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

linux-pf loaded without any errors, only TOI printed in the begining of tty his error
what i do wrong? or i must to set up TOI fully before it will began to finding his swap patrition, is it?

Last edited by kostett (2012-06-11 19:47:42)

Offline

#467 2012-06-11 20:17:13

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

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

kostett wrote:

linux-pf loaded without any errors, only TOI printed in the begining of tty his error
what i do wrong? or i must to set up TOI fully before it will began to finding his swap patrition, is it?

I get the same error since 3.3.6; perhaps even earlier. For some reason TOI stopped working modularized. I'll put it temporarily back in kernel and release new binaries tomorrow.

Offline

#468 2012-06-11 20:24:50

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

sorry for multipost.. i trye to set up tuxonice, i did all steps from wiki but this error didn't disappear, my configs
menu.lst: see in previous post
grub.cfg:

[root@lenovo-sielab kostett]# cat /boot/grub/grub.cfg
cat: /boot/grub/grub.cfg: Нет такого файла или каталога //en: no such file or folder

tuxonice.conf:

[root@lenovo-sielab kostett]# cat /etc/hibernate/tuxonice.conf
# Example tuxonice.conf file.
# 
# See hibernate.conf(5) for help on the configuration items.
#
# NOTE: TuxOnIce is an improved version of suspend-to-disk which currently
#       requires patching your kernel. For more information, see www.tuxonice.net
# 
#       If you do not wish to patch your kernel but still be able to suspend to
#       disk, see disk.conf instead.

### TuxOnIce
UseTuxOnIce yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzo
Encryptor none
# ImageSizeLimit 200

ProcSetting user_interface/program "/usr/sbin/tuxoniceui"      # Text interface

## useful for initrd usage:
SuspendDevice swap:/dev/sda6

## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
# PowerdownMethod 5

## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50

## Or traditionally like this:
# TuxOnIceAllSettings 0 0 2056 65535 5

## Or even from the results of hibernate --save-settings with this:
# TuxOnIceAllSettingsFile /etc/hibernate/suspend-settings.conf

## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes

## Specify a userui like this:
# ProcSetting userui_program /usr/local/sbin/tuxoniceui_text

# Scale CPU to full speed to make sure we suspend as fast as possible.
FullSpeedCPU yes

## Prevent the corruption of the snapshot at resume time (make do):
ProcSetting no_multithreaded_io 1

Include common.conf

hibernate.conf:

[root@lenovo-sielab kostett]# cat /etc/hibernate/hibernate.conf 
# hibernate.conf is split into separate configuration files.
# 
# Each file is tried in the order below, until an available suspend
# method is found.
# 
# Options specific to a particular suspend method should be placed in the
# appropriate configuration file (tuxonice.conf, ususpend.conf, disk.conf
# or ram.conf).
# Options common to all suspend methods should be placed in common.conf.
#
# See hibernate.conf(5) for help on the configuration items.

TryMethod tuxonice.conf
#TryMethod disk.conf
#TryMethod ram.conf

fdisk -l output:

[root@lenovo-sielab kostett]# fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, всего 488397168 секторов //en: total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa109e488
//en: Device Bootable Begin End Blocks ID Filesystem
Устр-во Загр     Начало       Конец       Блоки   Id  Система
/dev/sda1   *          63   104856254    52428096    7  HPFS/NTFS/exFAT
/dev/sda2       486125568   488397167     1135800   12  Compaq диагностика //en: Compaq diagnostic patrition
/dev/sda3       105267198   486125567   190429185    5  Расширенный //en: Extended
/dev/sda4       104856255   105257879      200812+  83  Linux
/dev/sda5       115032064   386672639   135820288   83  Linux
/dev/sda6       105267200   115032063     4882432   82  Linux своп / Solaris //en: Linux swap / Solaris
/dev/sda7       386674688   486125567    49725440   83  Linux

Пункты таблицы разделов расположены не в дисковом порядке //en: List sorted not by disk placement

fstab:

[root@lenovo-sielab kostett]# cat /etc/fstab
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs /tmp tmpfs nodev,nosuid,size=1G 0 0
/dev/sda4 /boot ext4 defaults  0 1
/dev/sda5 /home ext4 defaults 0 1
/dev/sda6 swap swap defaults 0 0
/dev/sda7 / ext4 defaults 0 1
/dev/sda1 /windisk/ ntfs-3g users,rw,umask=000 0 1

Offline

#469 2012-06-11 20:27:09

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

nous wrote:
kostett wrote:

linux-pf loaded without any errors, only TOI printed in the begining of tty his error
what i do wrong? or i must to set up TOI fully before it will began to finding his swap patrition, is it?

I get the same error since 3.3.6; perhaps even earlier. For some reason TOI stopped working modularized. I'll put it temporarily back in kernel and release new binaries tomorrow.

oh, thank you, i waiting
//in my GMT+4 your tommorow is now (:

Offline

#470 2012-06-12 06:38:01

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

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

Meh... TOI not being activated was due to deselected "Wait for initrd/ramfs to run by default" option. I'm bumping 3.4.1 to pkgrel 3; otherwise the kernel is exactly the same. People who don't wish to update, can append "toi_initramfs_resume_only=1" to kernel boot parameters for the same effect.

Offline

#471 2012-06-12 08:08:34

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

nous, thanks, i appended "toi_initramfs_resume_only=1" to kernel boot parameters and warning on the start disappeared.. buuut

[kostett@lenovo-sielab ~]$ sudo hibernate -F /etc/hibernate/tuxonice.conf
hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - Freezing processes failed. Wacky driver problems :( (see dmesg)

dmesg:

[ 1106.984279] usbcore: deregistering interface driver uvcvideo
[ 1107.339939] TuxOnIce: No image found.
[ 1107.379350] TuxOnIce 3.2.1, with support for usm, compression, block i/o, swap storage, userui, file storage.
[ 1107.379551] Initiating a hibernation cycle.
[ 1107.537054] Console is 50x160.
[ 1107.537149] Using configuration file /etc/splash/tuxonice/1280x800.cfg.
[ 1107.537258] No silent picture specified in the theme config.
[ 1107.538235] Framebuffer support initialised successfully.
[ 1107.540848] Starting other threads.Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 1107.552111] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 1107.789215] Restarting kernel threads ... done.
[ 1107.869235] Freezing remaining freezable tasks ... 
[ 1127.878068] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze, wq_busy=0):
[ 1127.878073] flush-8:0       R running      0   692      2 0x00000000
[ 1127.878077]  f286784c c0159637 9ab54411 f5c67df8 f5c67f80 9ac482fe 00000106 00000003
[ 1127.878084]  9ac482fe 00000106 9ad3bfc0 00000106 00000046 00000092 00000000 f5c67780
[ 1127.878090]  00000040 f286784c c013d5f7 f2867864 c04c370e 00000000 f5c67780 00000000
[ 1127.878097] Call Trace:
[ 1127.878106]  [<c0159637>] ? hrtimer_interrupt+0x157/0x260
[ 1127.878111]  [<c013d5f7>] ? irq_exit+0x67/0xb0
[ 1127.878116]  [<c04c370e>] smp_apic_timer_interrupt+0x5e/0x8d
[ 1127.878121]  [<c04c2b41>] apic_timer_interrupt+0x31/0x38
[ 1127.878128]  [<c01ea0d4>] ? zone_watermark_ok+0x34/0x40
[ 1127.878132]  [<c01ebc50>] ? get_page_from_freelist+0x350/0x520
[ 1127.878136]  [<c01f85c9>] ? try_to_free_pages+0x79/0x120
[ 1127.878140]  [<c013d5f7>] ? irq_exit+0x67/0xb0
[ 1127.878144]  [<c0155050>] ? abort_exclusive_wait+0x80/0x80
[ 1127.878148]  [<c01ec743>] __alloc_pages_nodemask+0x473/0x780
[ 1127.878153]  [<c01e6248>] find_or_create_page+0x48/0xa0
[ 1127.878158]  [<c0260f51>] __getblk+0x121/0x300
[ 1127.878163]  [<c02221f8>] ? kmem_cache_alloc+0x58/0x120
[ 1127.878187]  [<f878cd7a>] ext4_read_block_bitmap_nowait+0x4a/0x330 [ext4]
[ 1127.878196]  [<f878d07d>] ext4_read_block_bitmap+0x1d/0x60 [ext4]
[ 1127.878208]  [<f87c5511>] ext4_mb_mark_diskspace_used+0x41/0x5c0 [ext4]
[ 1127.878218]  [<f87c1887>] ? ext4_mb_use_preallocated+0x247/0x2a0 [ext4]
[ 1127.878229]  [<f87c6c9c>] ext4_mb_new_blocks+0x2ec/0x5f0 [ext4]
[ 1127.878239]  [<f87bc9fc>] ext4_ext_map_blocks+0x76c/0x1be0 [ext4]
[ 1127.878243]  [<c02221f8>] ? kmem_cache_alloc+0x58/0x120
[ 1127.878247]  [<c01e7d23>] ? mempool_alloc_slab+0x13/0x20
[ 1127.878254]  [<c02e6f93>] ? bfq_bfqq_expire+0x1c3/0x750
[ 1127.878264]  [<f8792fcf>] ext4_map_blocks+0x18f/0x2e0 [ext4]
[ 1127.878268]  [<c02e87b5>] ? bfq_dispatch_requests+0x675/0xab0
[ 1127.878272]  [<c01e555b>] ? find_get_pages_tag+0xbb/0x130
[ 1127.878281]  [<f8797026>] mpage_da_map_and_submit+0xa6/0x670 [ext4]
[ 1127.878285]  [<c01efd97>] ? pagevec_lookup_tag+0x27/0x30
[ 1127.878294]  [<f87977c9>] ? write_cache_pages_da+0xe9/0x380 [ext4]
[ 1127.878304]  [<f87b0e5f>] ? ext4_journal_start_sb+0x5f/0x1c0 [ext4]
[ 1127.878313]  [<f8797d67>] ? ext4_da_writepages+0x307/0x600 [ext4]
[ 1127.878322]  [<f87916ab>] ? ext4_meta_trans_blocks+0x3b/0x90 [ext4]
[ 1127.878331]  [<f8797da3>] ext4_da_writepages+0x343/0x600 [ext4]
[ 1127.878336]  [<c01ef3cb>] do_writepages+0x1b/0x40
[ 1127.878341]  [<c0257b90>] writeback_single_inode+0xd0/0x310
[ 1127.878345]  [<c024af24>] ? iput+0x34/0x1b0
[ 1127.878348]  [<c02580d9>] writeback_sb_inodes+0x159/0x1f0
[ 1127.878353]  [<c02581ec>] __writeback_inodes_wb+0x7c/0xb0
[ 1127.878357]  [<c02584ca>] wb_writeback+0x2aa/0x2e0
[ 1127.878360]  [<c01ee25a>] ? global_dirty_limits+0x2a/0x130
[ 1127.878363]  [<c0256783>] ? over_bground_thresh+0x23/0xb0
[ 1127.878367]  [<c0258d84>] wb_do_writeback+0x164/0x1e0
[ 1127.878372]  [<c0258e69>] bdi_writeback_thread+0x69/0x250
[ 1127.878375]  [<c0258e00>] ? wb_do_writeback+0x1e0/0x1e0
[ 1127.878379]  [<c0154912>] kthread+0x72/0x80
[ 1127.878382]  [<c01548a0>] ? kthread_freezable_should_stop+0x50/0x50
[ 1127.878386]  [<c04c357e>] kernel_thread_helper+0x6/0x10
[ 1127.878399] su              T ef82bf00     0  2591   1939 0x00000004
[ 1127.878403]  ee309e48 00000086 c014757b ef82bf00 00000202 c06bf300 f505ae10 ee06a300
[ 1127.878410]  ef81dc20 c06bf300 c06bf300 00000066 ee204000 00000034 00000001 00000095
[ 1127.878416]  f5c6c300 ee06a180 f4b88300 c0146022 c0146022 f4b14510 f4b1451c 00000000
[ 1127.878422] Call Trace:
[ 1127.878426]  [<c014757b>] ? do_notify_parent_cldstop+0x13b/0x170
[ 1127.878430]  [<c0146022>] ? __sigqueue_free+0x32/0x40
[ 1127.878433]  [<c0146022>] ? __sigqueue_free+0x32/0x40
[ 1127.878436]  [<c0146022>] ? __sigqueue_free+0x32/0x40
[ 1127.878440]  [<c0145c57>] ? recalc_sigpending+0x17/0x50
[ 1127.878444]  [<c0146855>] ? task_clear_jobctl_pending+0x45/0x50
[ 1127.878447]  [<c04c1533>] schedule+0x23/0x60
[ 1127.878450]  [<c014794a>] do_signal_stop+0xba/0x1d0
[ 1127.878454]  [<c01488ee>] get_signal_to_deliver+0x17e/0x620
[ 1127.878458]  [<c0102b82>] do_signal+0x52/0x830
[ 1127.878461]  [<c014806e>] ? group_send_sig_info+0x5e/0x70
[ 1127.878465]  [<c0148190>] ? kill_pid_info+0x60/0x90
[ 1127.878468]  [<c0149696>] ? sys_kill+0x96/0x220
[ 1127.878473]  [<c013b392>] ? sys_wait4+0x72/0xe0
[ 1127.878476]  [<c0138e00>] ? task_stopped_code+0x50/0x50
[ 1127.878480]  [<c01035a5>] do_notify_resume+0x65/0x80
[ 1127.878483]  [<c04c2779>] work_notifysig+0x20/0x27
[ 1127.878486] bash            T f495b9c0     0  2599   2591 0x00000004
[ 1127.878490]  ef921e48 00000086 c014757b f495b9c0 00000202 c06bf300 f505ae10 ee23ee60
[ 1127.878496]  ee06a180 c06bf300 c06bf300 00000066 ee308000 00000039 00000001 00000095
[ 1127.878502]  f5c6c300 ee23ece0 c05fa480 c0146022 c0146022 f4b14480 f4b1448c 00000000
[ 1127.878508] Call Trace:
[ 1127.878511]  [<c014757b>] ? do_notify_parent_cldstop+0x13b/0x170
[ 1127.878515]  [<c0146022>] ? __sigqueue_free+0x32/0x40
[ 1127.878518]  [<c0146022>] ? __sigqueue_free+0x32/0x40
[ 1127.878521]  [<c0146022>] ? __sigqueue_free+0x32/0x40
[ 1127.878524]  [<c0145c57>] ? recalc_sigpending+0x17/0x50
[ 1127.878528]  [<c0146855>] ? task_clear_jobctl_pending+0x45/0x50
[ 1127.878531]  [<c04c1533>] schedule+0x23/0x60
[ 1127.878534]  [<c014794a>] do_signal_stop+0xba/0x1d0
[ 1127.878537]  [<c01488ee>] get_signal_to_deliver+0x17e/0x620
[ 1127.878541]  [<c0102b82>] do_signal+0x52/0x830
[ 1127.878544]  [<c014806e>] ? group_send_sig_info+0x5e/0x70
[ 1127.878548]  [<c01480b0>] ? __kill_pgrp_info+0x30/0x60
[ 1127.878551]  [<c01496f9>] ? sys_kill+0xf9/0x220
[ 1127.878555]  [<c012b0d3>] ? do_page_fault+0x193/0x430
[ 1127.878558]  [<c012b0d3>] ? do_page_fault+0x193/0x430
[ 1127.878563]  [<c02f4741>] ? copy_to_user+0x31/0x50
[ 1127.878566]  [<c0149e86>] ? sys_rt_sigaction+0x76/0x90
[ 1127.878570]  [<c01035a5>] do_notify_resume+0x65/0x80
[ 1127.878573]  [<c04c2779>] work_notifysig+0x20/0x27
[ 1127.878576] 
[ 1127.878578] Restarting kernel threads ... done.
[ 1128.038830] Restarting tasks ... Restarting kernel threads ... done.
[ 1128.054369] done.
[ 1128.623298] video LNXVIDEO:01: Restoring backlight state
[ 1128.657079] TuxOnIce debugging info:
[ 1128.657082] - TuxOnIce core  : 3.2.1
[ 1128.657083] - Kernel Version : 3.4-pf
[ 1128.657084] - Compiler vers. : 4.7
[ 1128.657085] - Attempt number : 3
[ 1128.657086] - Parameters     : 17 700424 0 1 -2 0
[ 1128.657087] - Overall expected compression percentage: 0.
[ 1128.657088] - Compressor is 'lzo'.
[ 1128.657089] - Block I/O active.
[ 1128.657090]   Used 0 pages from swap on /dev/sda6.
[ 1128.657091] - Max outstanding reads 1. Max writes 0.
[ 1128.657092]   Memory_needed: 1024 x (4096 + 228 + 68) = 4497408 bytes.
[ 1128.657093]   Free mem throttle point reached 0.
[ 1128.657094] - Swap Allocator enabled.
[ 1128.657095]   Swap available for image: 1220607 pages.
[ 1128.657096] - File Allocator active.
[ 1128.657097]   Storage available for image: 0 pages.
[ 1128.657098] - No I/O speed stats available.
[ 1128.657099] - Extra pages    : 0 used/7000.
[ 1128.657100] - Result         : Hibernation was aborted.
[ 1128.657101]                  : Freezing filesystems and/or tasks failed.
[ 1128.658020] Pid: 4926, comm: dash Not tainted 3.4-pf #6
[ 1128.658022] Call Trace:
[ 1128.658031]  [<c0167ad3>] free_update_stats+0x73/0x80
[ 1128.658034]  [<c0167b8c>] toi_free_page+0x4c/0x60
[ 1128.658058]  [<f803291d>] forget_signature_page+0x3d/0xf0 [tuxonice_bio]
[ 1128.658063]  [<f802ffcf>] toi_bio_cleanup+0x2f/0x70 [tuxonice_bio]
[ 1128.658066]  [<c0167649>] toi_cleanup_modules+0x39/0x60
[ 1128.658070]  [<c01696b0>] toi_finish_anything+0x10/0x70
[ 1128.658072]  [<c0168043>] toi_attr_store+0x63/0x2a0
[ 1128.658077]  [<c02f4895>] ? _copy_from_user+0x35/0x50
[ 1128.658081]  [<c029102b>] sysfs_write_file+0x9b/0xf0
[ 1128.658084]  [<c0290f90>] ? sysfs_open_file+0x230/0x230
[ 1128.658090]  [<c0233118>] vfs_write+0x88/0x160
[ 1128.658093]  [<c0290f90>] ? sysfs_open_file+0x230/0x230
[ 1128.658096]  [<c023340d>] sys_write+0x3d/0x80
[ 1128.658099]  [<c04c2fdf>] sysenter_do_call+0x12/0x28
[ 1128.658104] Idx  Allocs   Frees   Tests   Fails     Max Description
[ 1128.658107]  38       0       1       0       0       0 setting swap signature
[ 1129.491272] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (090c:3371)
[ 1129.492506] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:1d.7/usb3/3-3/3-3:1.0/input/input13
[ 1129.493536] usbcore: registered new interface driver uvcvideo
[ 1129.493540] USB Video Class driver (1.1.1)

what is a problem there?
//so, i have no splash/ in etc/

Last edited by kostett (2012-06-12 08:30:35)

Offline

#472 2012-06-12 10:50:35

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

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

kostett wrote:

nous, thanks, i appended "toi_initramfs_resume_only=1" to kernel boot parameters and warning on the start disappeared.. buuut

[kostett@lenovo-sielab ~]$ sudo hibernate -F /etc/hibernate/tuxonice.conf
hibernate: TuxOnIce reported the following errors:
- TuxOnIce was aborted (see dmesg).
- Freezing processes failed. Wacky driver problems sad (see dmesg)

That's rather system specific (dmesg reported of an unfreezable task). Does it persist?

Offline

#473 2012-06-12 11:18:50

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

yes, it appears permanently.. i rebooted my computer and nothing changed
my problem is typical? or i'm first who have it?

Offline

#474 2012-06-12 15:36:26

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

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

kostett wrote:

yes, it appears permanently.. i rebooted my computer and nothing changed
my problem is typical? or i'm first who have it?

Uncomment AlwaysForce and AlwaysKill in /etc/hibernate/common.conf.

Offline

#475 2012-06-12 18:35:52

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

firstly, i tryed to to run hibernate

[kostett@lenovo-sielab broadcom-wl]$ sudo hibernate
Пароль: 
hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - Freezing processes failed. Wacky driver problems :( (see dmesg)
/usr/sbin/hibernate: 59: /usr/sbin/hibernate: /sbin/rmmod: not found
[kostett@lenovo-sielab broadcom-wl]$ ls -lF /sbin/rmmod 
lrwxrwxrwx 2 root root 4 мая   11 05:46 /sbin/rmmod -> kmod

then i do some actions which you hint to do myself

[kostett@lenovo-sielab broadcom-wl]$ sudo nano /etc/hibernate/common.conf 
Пароль: 
[kostett@lenovo-sielab broadcom-wl]$ sudo hibernate
hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - Freezing processes failed. Wacky driver problems :( (see dmesg)

nothing changed sad

Offline

Board footer

Powered by FluxBB