[Bug 95771] Crash when trying to hibernate

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=95771

--- Comment #3 from higuita <higuita@xxxxxxx> ---
> Does building the kernel without CONFIG_HSA_AMD avoid this one?

yes, looks like it helps... so the something in the HSA is sometimes breaking
the hibernation.

i'm now in kernel 4.0.4 and it seems that i can almost hibernate... it manage
to dump the memory to the swap, turn off the machine successful. 

the problem is now loading the hibernated image from the swap, i'm getting
consistent crashes. here is the dump:

[    7.926169] sd 5:0:0:0: [sdd] Attached SCSI disk
[    8.259718]  sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 >
[    8.277704] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.293411] Freezing user space processes ... (elapsed 0.000 seconds) done.
[   10.573914] PM: Using 3 thread(s) for decompression.
[   10.573914] PM: Loading and decompressing image data (338911 pages)...
[   11.510076] random: nonblocking pool is initialized
[   11.659242] PM: Image loading progress:   0%
[   13.442604] PM: Image loading progress:  10%
[   15.286665] PM: Image loading progress:  20%
[   15.590044] BUG: unable to handle kernel paging request at ffff88005e70d000
[   15.610900] IP: [<ffffffff810c89d3>] load_image_lzo+0x783/0xc30
[   15.628633] PGD 2146067 PUD 21efff067 PMD 21effd067 PTE 0
[   15.644832] Oops: 0002 [#1] SMP 
[   15.654499] Modules linked in:
[   15.663633] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.0.4-slack #8
[   15.682639] Hardware name: System manufacturer System Product
Name/A88X-PLUS, BIOS 2302 04/02/2015
[   15.709452] task: ffff880217940000 ti: ffff880217948000 task.ti:
ffff880217948000
[   15.731844] RIP: 0010:[<ffffffff810c89d3>]  [<ffffffff810c89d3>]
load_image_lzo+0x783/0xc30
[   15.756849] RSP: 0000:ffff88021794bce8  EFLAGS: 00010246
[   15.772734] RAX: 0000000a00000002 RBX: 0000000000014dc5 RCX:
ffff88005e70d000
[   15.794084] RDX: 0000000000000000 RSI: ffffc900047a50b0 RDI:
ffff88005e70d008
[   15.815435] RBP: 0000000000008463 R08: 0000000000000000 R09:
ffff880215cd7178
[   15.836784] R10: ffff88021794bc64 R11: ffff880215cd7178 R12:
ffffc9000474c000
[   15.858133] R13: ffff88021794bdf8 R14: ffffc900047a0058 R15:
0000000000005000
[   15.879484] FS:  0000000000000000(0000) GS:ffff88021ec80000(0000)
knlGS:0000000000000000
[   15.903693] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   15.920881] CR2: ffff88005e70d000 CR3: 0000000001e0c000 CR4:
00000000000406e0
[   15.942231] Stack:
[   15.948229]  ffffc9000475d000 0000000308574740 ffff880215ca0900
ffffea0000000001
[   15.970409]  ffff88021794be10 00052bdf00000000 ffff88021794bdf8
0000014000000000
[   15.992594]  0000006700002000 00000001fafc9615 ffff880215ca0930
ffff880215ca0918
[   16.014775] Call Trace:
[   16.022078]  [<ffffffff810bb750>] ? wait_woken+0x90/0x90
[   16.037973]  [<ffffffff810c9b90>] ? swsusp_read+0x250/0x340
[   16.054639]  [<ffffffff810c5110>] ? hibernation_restore+0x140/0x140
[   16.073387]  [<ffffffff819b6b32>] ? printk+0x4d/0x52
[   16.088231]  [<ffffffff810c5110>] ? hibernation_restore+0x140/0x140
[   16.106979]  [<ffffffff810c535d>] ? software_resume+0x24d/0x2b0
[   16.124687]  [<ffffffff810002e8>] ? do_one_initcall+0x98/0x1f0
[   16.142132]  [<ffffffff8109c700>] ? parse_args+0x180/0x410
[   16.158540]  [<ffffffff81f1d001>] ? kernel_init_freeable+0x172/0x1f8
[   16.177546]  [<ffffffff819b4370>] ? rest_init+0x70/0x70
[   16.193172]  [<ffffffff819b437e>] ? kernel_init+0xe/0xf0
[   16.209057]  [<ffffffff819c1a88>] ? ret_from_fork+0x58/0x90
[   16.225722]  [<ffffffff819b4370>] ? rest_init+0x70/0x70
[   16.241346] Code: ff eb 16 0f 1f 44 00 00 49 81 c7 00 10 00 00 4d 39 7e 48
0f 86 73 02 00 00 4b 8d 74 37 58 49 8b 4d 08 31 d2 48 8b 06 48 8d 79 08 <48> 89
01 48 8b 86 f8 0f 00 00 48 83 e7 f8 48 89 81 f8 0f 00 00 
[   16.298669] RIP  [<ffffffff810c89d3>] load_image_lzo+0x783/0xc30
[   16.316649]  RSP <ffff88021794bce8>
[   16.327070] CR2: ffff88005e70d000
[   16.336971] ---[ end trace adca2fce0a7255b9 ]---
[   16.350821] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000009
[   16.350821] 
[   16.378227] Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range:
0xffffffff80000000-0xffffffff9fffffff)
[   16.408684] ---[ end Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000009
[   16.408684] 

Don't know is i should open a new bug for this crash and transform this bug in
"HSA breaks hibernation" or if i should keep keeps the 2 dumps in this bug
report.

Thanks for the help

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux