hibernation crash with loop device mounted

許宏偉 <[email protected]> Mon, 19 Aug 2013 11:05:20 +0800
Newsgroups gmane.linux.swsusp.devel
Message-ID <CAL_V3tfYQdNT0OVhTRTP01NiEZ9=aXQu2wbGoY7AY10w5_1a0A@mail.gmail.com>
Dear all,
I found that  tuxonice sometimes causes hibernation crashes while mounting
a loop image(device).
The  crash message  like following. Does any one know why the system crash
if I use a loop image(loop devie).

   97.803341] Enabling non-boot CPUs ...
[   97.803362] smpboot: Booting Node 0 Processor 1 APIC 0x1
[   97.817472] CPU1 is up
[   97.817495] smpboot: Booting Node 0 Processor 2 APIC 0x2
[   97.831594] CPU2 is up
[   97.831602] smpboot: Booting Node 0 Processor 3 APIC 0x3
[   97.845702] CPU3 is up
[   97.845711] smpboot: Booting Node 0 Processor 4 APIC 0x4
[   97.859807] CPU4 is up
[   97.859816] smpboot: Booting Node 0 Processor 5 APIC 0x5
[   97.873920] CPU5 is up
[   97.873928] smpboot: Booting Node 0 Processor 6 APIC 0x6
[   97.888045] CPU6 is up
[   97.888053] smpboot: Booting Node 0 Processor 7 APIC 0x7
[   97.902185] CPU7 is up
[   97.907814] ACPI: Waking up from system sleep state S4
[   97.908427] PM: noirq thaw of devices complete after 0.073 msecs
[   97.908509] PM: early thaw of devices complete after 0.058 msecs
[   97.909406] serial 00:09: activated
[   97.909430] dpm_run_callback(): pnp_bus_resume+0x0/0xa0 returns -19
[   97.909433] PM: Device 00:0a failed to thaw: error -19
[   97.909434] dpm_run_callback(): pnp_bus_resume+0x0/0xa0 returns -19
[   97.909434] PM: Device 00:0b failed to thaw: error -19
[   97.921561] i915 0000:00:02.0: More than 8 outputs detected
[   98.213890] ata4: SATA link down (SStatus 0 SControl 300)
[   98.215894] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   98.217896] ata5: SATA link down (SStatus 0 SControl 300)
[   98.227298] ata1.00: configured for UDMA/133
[   98.227589] PM: thaw of devices complete after 318.694 msecs
[   98.551127] Post atomic.
[   98.554707] Writing kernel & process data...
[   98.578905] ...20%...40%...60%...80%
[   99.426729] ------------[ cut here ]------------
[   99.432676] kernel BUG at
/media/BKUP2/Oxalis-testBuild/kernel/android-3.9/block/blk-core.c:1854!
[   99.443274] invalid opcode: 0000 [#1] SMP
[   99.448486] Modules linked in:
[   99.452494] CPU 2
[   99.454578] Pid: 1991, comm: loop0 Tainted: G        W    3.9.1+ #1
INSYDE SharkBay/Type2 - Board Product Name1
[   99.467289] RIP: 0010:[<ffffffff812c22d1>]  [<ffffffff812c22d1>]
submit_bio+0x131/0x170
[   99.476924] RSP: 0000:ffff88004359d8f8  EFLAGS: 00010246
[   99.483475] RAX: 0000000000000000 RBX: ffff88002a1cbf00 RCX:
ffff88004359d970
[   99.488389] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[   99.499659] RDX: 0000000000000001 RSI: ffff88002a1cbf00 RDI:
0000000000000000
[   99.508290] RBP: 0000000000000000 R08: 0000000000000000 R09:
0000000000000040
[   99.516934] R10: 0000000000000400 R11: dead000000200200 R12:
ffff88004359da60
[   99.525555] R13: ffff88003e099810 R14: ffff88002a1cbf00 R15:
ffffffff8120aea0
[   99.534167] FS:  0000000000000000(0000) GS:ffff880100280000(0000)
knlGS:0000000000000000
[   99.543899] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

[   99.550943] CR2: 0000000000000000 CR3: 0000000001bbd000 CR4:
00000000001407e0
[   99.559563] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   99.568187] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   99.576808] Process loop0 (pid: 1991, threadinfo ffff88004359c000, task
ffff880046349b80)
[   99.586624] Stack:
[   99.589425]  ffffffff8120aea0 ffffffff811194d5 ffff880044061e60
ffffffff00000000
[   99.598416]  ffffea0001328200 ffffea0001328200 0000000000000001
00000000d66b5cea
[   99.607396]  ffffea0001328200 0000000000000000 ffff88004359da60
ffffffff811a5c3f
[   99.616374] Call Trace:
[   99.619677]  [<ffffffff8120aea0>] ? ext4_get_block_write+0x20/0x20
[   99.627227]  [<ffffffff811194d5>] ? add_to_page_cache_locked+0x75/0xd0
[   99.635175]  [<ffffffff811a5c3f>] ? mpage_readpages+0xff/0x120
[   99.642331]  [<ffffffff8120aea0>] ? ext4_get_block_write+0x20/0x20
[   99.649890]  [<ffffffff812c05b9>] ? queue_unplugged+0x49/0xf0
[   99.656960]  [<ffffffff8115a722>] ? alloc_pages_current+0xc2/0x180
[   99.664526]  [<ffffffff8112471b>] ? __do_page_cache_readahead+0x17b/0x220
[   99.672792]  [<ffffffff81124b01>] ? ra_submit+0x21/0x30
[   99.679287]  [<ffffffff81195e65>] ?
__generic_file_splice_read+0x365/0x4f0
[   99.687663]  [<ffffffff81194600>] ? page_cache_pipe_buf_release+0x20/0x20
[   99.695932]  [<ffffffff8108636f>] ? load_balance+0xef/0x730
[   99.702827]  [<ffffffff81196029>] ? generic_file_splice_read+0x39/0x70
[   99.710812]  [<ffffffff81194c61>] ? splice_direct_to_actor+0xa1/0x1b0
[   99.718696]  [<ffffffff81856b50>] ? __schedule+0x280/0x890
[   99.725485]  [<ffffffff8143dc50>] ? loop_thread+0x280/0x280
[   99.732377]  [<ffffffff8143d7b1>] ? do_bio_filebacked+0xf1/0x310
[   99.739764]  [<ffffffff8143daa2>] ? loop_thread+0xd2/0x280
[   99.746559]  [<ffffffff8106f000>] ? abort_exclusive_wait+0xb0/0xb0
[   99.754140]  [<ffffffff8143d9d0>] ? do_bio_filebacked+0x310/0x310
[   99.761623]  [<ffffffff8106e4e8>] ? kthread+0xb8/0xc0
[   99.767909]  [<ffffffff8106e430>] ?
kthread_freezable_should_stop+0x60/0x60
[   99.776366]  [<ffffffff8186069c>] ? ret_from_fork+0x7c/0xb0
[   99.783253]  [<ffffffff8106e430>] ?
kthread_freezable_should_stop+0x60/0x60
[   99.791719] Code: 25 80 b8 00 00 8b 96 cc 01 00 00 48 81 c6 78 03 00 00
89 2c 24 e8 1c d2 58 00 e9 5b ff ff ff 48 a9 00 00
[   99.814418] RIP  [<ffffffff812c22d1>] submit_bio+0x131/0x170
[   99.821465]  RSP <ffff88004359d8f8>
[   99.826043] ---[ end trace 222f1b873d427f58 ]---
[  100.045732] Kernel panic - not syncing: Fatal exception
[  100.239090] drm_kms_helper: panic occurred, switching back to text
console
[  100.247552] ------------[ cut here ]------------

_______________________________________________
TuxOnIce-devel mailing list
[email protected]
http://lists.tuxonice.net/listinfo/tuxonice-devel