[TuxOnIce-users] Freeze on resume and BUG() after this

Dmitry Nezhevenko dion at inhex.net
Wed Dec 29 07:31:18 EST 2010


Hi,

I've checked kernel 2.6.36 with tuxonice-3.2-rc2 and got exactly same
crash on resume. Any updates on this? 

( sorry for top posting, just want to quote full email because it was sent
long time ago) 

Regards

On Mon, Sep 13, 2010 at 10:27:31PM +0300, Dmitry Nezhevenko wrote:
> Hi,
> 
> I'm trying to use TuxOnIce on laptop and currently it fails on resume. It
> looks like just freeze after reading all data from HDD.
> 
> This is 2.6.35.4 with only tuxonice-3.2-rc2-for-2.6.35.patch.bz2.  Swap
> device placed on top of dmcrypt+lvm with crypt key on USB stick. I can
> confirm that I can hibernate and resume using exactly same ToI-patched
> kernel with original swsusp. 
> 
> I've enabled netconsole and turned on as much logging as I found :). So
> when HDD became inactive, ToI still tries to read something with followed
> messages:
> 
> [  268.279504] Seeking to use pfn 505980.
> [  268.279510] 1218 pages still to do, 2 workers running.
> [  268.279518] Seeking to use pfn 505981.
> [  268.279525] 1217 pages still to do, 2 workers running.
> [  268.279531] Seeking to use pfn 505982.
> 
> And finally after a few minutes it calls BUG():
> 
> 
> [  276.422926] Finished I/O loop but still work to do?
> [  276.422927] Finish at = 33253. io_count = 1.
> [  276.425697] I/O bitmap still records work to do.472599.
> [  276.427102] ------------[ cut here ]------------
> [  276.428471] kernel BUG at kernel/power/tuxonice_io.c:826!
> [  276.429687] invalid opcode: 0000 [#1] SMP 
> [  276.429687] last sysfs file: /sys/power/tuxonice/do_hibernate
> [  276.429687] Modules linked in: md4 iptable_nat nf_nat xt_recent ipt_LOG xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables acpi_cpufreq mperf fuse loop joydev arc4 ecb snd_hda_codec_intelhdmi snd_hda_codec_realtek uvcvideo videodev v4l1_compat asus_laptop snd_hda_intel snd_hda_codec sparse_keymap led_class iwlagn psmouse evdev serio_raw tpm_tis iwlcore pcspkr tpm mac80211 snd_hwdep tpm_bios snd_pcm_oss battery cfg80211 snd_mixer_oss ac processor snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd rfkill soundcore snd_page_alloc sha256_generic aes_i586 aes_generic cbc dm_crypt dm_mod btrfs zlib_deflate crc32c libcrc32c reiserfs lzo lzo_compress tuxonice_userui tuxonice_swap tuxonice_bio tuxonice_core ext3 jbd mbcache i915 drm_kms_helper drm i2c_algo_bit i2c_core netconsole configfs sg sr_mod sd_mod cdrom crc_t10dif usb_storage uhci_hcd ahci libahci libata ehci_hcd video scsi_mod thermal usbcore r8169 output thermal_sys but
> ton mii nls_base [last unloaded: scsi_wait_scan]
> [  276.429687] 
> [  276.429687] Pid: 3565, comm: pm-hibernate Not tainted 2.6.35.4+ #2 F6A       /F6A                 
> [  276.429687] EIP: 0060:[<f91cc16b>] EFLAGS: 00010292 CPU: 0
> [  276.429687] EIP is at do_rw_loop+0x36e/0x386 [tuxonice_core]
> [  276.429687] EAX: 00000041 EBX: 00000000 ECX: f5ecbea4 EDX: f91d2cb2
> [  276.429687] ESI: 00073617 EDI: f91d2c57 EBP: 000081e5 ESP: f5ecbea0
> [  276.429687]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> [  276.429687] Process pm-hibernate (pid: 3565, ti=f5eca000 task=f5d41ce0 task.ti=f5eca000)
> [  276.429687] Stack:
> [  276.429687]  f91d2cb2 00073617 f91d2c67 000081e5 00000001 00000001 00000000 0000d154
> [  276.429687] <0> f91d5830 00004f6f 000081e5 f91cc251 00004f6f 0000d154 00000002 f5d67f20
> [  276.429687] <0> ffff853c 00000000 f590d8b0 c13ba8b0 00000000 f91cc2de f590d000 f91d0087
> [  276.429687] Call Trace:
> [  276.429687]  [<f91cc251>] ? read_pageset+0xce/0x143 [tuxonice_core]
> [  276.429687]  [<f91cc2de>] ? read_pageset2+0x18/0x35 [tuxonice_core]
> [  276.429687]  [<f91d0087>] ? copyback_post+0x5e/0x77 [tuxonice_core]
> [  276.429687]  [<f91caea2>] ? do_toi_step+0x3b8/0x593 [tuxonice_core]
> [  276.429687]  [<f91cb184>] ? toi_try_hibernate+0x66/0xfe [tuxonice_core]
> [  276.429687]  [<f91c9f4e>] ? toi_attr_store+0x1c0/0x200 [tuxonice_core]
> [  276.429687]  [<c10f2b00>] ? sysfs_write_file+0xb8/0xe5
> [  276.429687]  [<c10f2a48>] ? sysfs_write_file+0x0/0xe5
> [  276.429687]  [<c10b33cd>] ? vfs_write+0x7f/0xda
> [  276.429687]  [<c10b34bb>] ? sys_write+0x3c/0x60
> [  276.429687]  [<c1002f1f>] ? sysenter_do_call+0x12/0x28
> [  276.429687] Code: 6e 4c c1 e8 54 bf e8 c7 83 f8 ff 89 c6 74 23 a1 c0 6a 1d f9 50 55 68 67 2c 1d f9 e8 5b 58 0a c8 56 68 b2 2c 1d f9 e8 50 58 0a c8 <0f> 0b 83 c4 14 eb fe a1 ac 6a 1d f9 85 c0 0f 44 c3 5b 5e 5b 5e 
> [  276.429687] EIP: [<f91cc16b>] do_rw_loop+0x36e/0x386 [tuxonice_core] SS:ESP 0068:f5ecbea0
> [  276.498271] ---[ end trace cf109c6c79f10341 ]---
> 
> Also there is some strange soft lockup BUG in log:
> 
> [  256.443736] BUG: soft lockup - CPU#0 stuck for 62s! [events/0:9]
> ...
> [  256.443736] Call Trace:
> [  256.443736]  [<c10331d0>] ? do_softirq+0x2e/0x38
> [  256.443736]  [<c10332ce>] ? irq_exit+0x26/0x58
> [  256.443736]  [<c12735a1>] ? call_function_single_interrupt+0x31/0x38
> [  256.443736]  [<c10200d8>] ? hugetlb_get_unmapped_area+0x1a3/0x20a
> [  256.443736]  [<c102ea31>] ? release_console_sem+0x142/0x196
> [  256.443736]  [<c103edb7>] ? worker_thread+0x0/0x1c5
> [  256.443736]  [<c103eefc>] ? worker_thread+0x145/0x1c5
> [  256.443736]  [<c115ada7>] ? fb_flashcursor+0x0/0xdc
> [  256.443736]  [<c1041cde>] ? autoremove_wake_function+0x0/0x29
> [  256.443736]  [<c103edb7>] ? worker_thread+0x0/0x1c5
> [  256.443736]  [<c104198b>] ? kthread+0x5f/0x64
> [  256.443736]  [<c104192c>] ? kthread+0x0/0x64
> [  256.443736]  [<c10034be>] ? kernel_thread_helper+0x6/0x10
> 
> 
> I've removed huge amount of "Reading/writing device" and "pages still to
> do" lines from netconsole output:
> 	http://dion.org.ua/uploads/2010/09/netconsole_small.log
> 
> Full netconsole log (almost 1Mb bzipped):
> 	http://dion.org.ua/uploads/2010/09/netconsole.log.bz2 
> 
> Any ideas?
> 
 
-- 
WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.tuxonice.net/pipermail/tuxonice-users/attachments/20101229/b09b54c9/attachment.pgp>


More information about the TuxOnIce-users mailing list