Bug 4415 - Зависает гибернация на ROSA Fresh R4 и ноутбуках HP dv8t.
: Зависает гибернация на ROSA Fresh R4 и ноутбуках HP dv8t.
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: -Enter Bugs Here-
: Fresh
: All Linux
: High minor
: ---
Assigned To: Stanislav Fomin
: Stanislav Fomin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-22 14:23 MSD by Stanislav Fomin
Modified: 2015-06-24 16:35 MSD (History)
2 users (show)

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Fomin 2014-09-22 14:23:38 MSD
Наблюдается на лептопе
http://hw.rosalinux.ru/index.php?probe=7285342b02

Свежеустановленная Fresh R4.

dmesg перед зависанием в засыпании

[ 1674.540180] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[ 1729.445527] PM: Syncing filesystems ... done.
[ 1729.467262] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 1729.470328] PM: Preallocating image memory... done (allocated 932406 pages)
[ 1730.104889] PM: Allocated 3729624 kbytes in 0.63 seconds (5920.03 MB/s)
[ 1730.104955] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 1730.106573] Suspending console(s) (use no_console_suspend to debug)


В ROSA Fresh R3 такого не было (т.е было, но иногда, а сейчас — гарантированно).

Планирую исследовать разные ядра, и играть с правилами udev (отключать асинхронность суспенда у устройств).
Comment 1 Stanislav Fomin 2014-09-22 15:37:47 MSD
Наблюдаю также зависание при гибернации на другом типе ноутов
http://hw.rosalinux.ru/index.php?probe=afd36f932f
Comment 2 Stanislav Fomin 2014-09-22 15:58:48 MSD
Лог с http://hw.rosalinux.ru/index.php?probe=afd36f932f — похож (т.е. почти сразу после Freezing remaining freezable tasks)
[  351.401838] PM: Syncing filesystems ... done.
[  351.670196] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  351.673260] PM: Preallocating image memory... done (allocated 554288 pages)
[  351.848002] PM: Allocated 2217152 kbytes in 0.17 seconds (13042.07 MB/s)
[  351.848036] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  351.850517] parport_pc 00:08: disabled
Comment 3 Stanislav Fomin 2014-09-22 16:08:25 MSD
(In reply to comment #2)
> Лог с http://hw.rosalinux.ru/index.php?probe=afd36f932f — похож (т.е. почти
> сразу после Freezing remaining freezable tasks)
Этот же ноут с 3.10-ым ядром — засыпает успешно

[  201.105285] PM: Syncing filesystems ... done.
[  201.519615] Freezing user space processes ... (elapsed 0.01 seconds) done.
[  201.531737] PM: Preallocating image memory... done (allocated 566958 pages)
[  201.744866] PM: Allocated 2267832 kbytes in 0.21 seconds (10799.20 MB/s)
[  201.744899] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[  201.755976] Suspending console(s) (use no_console_suspend to debug)
[  201.757466] parport_pc 00:08: disabled
[  201.836007] mei_me 0000:00:16.0: suspend
[  201.876171] iwlwifi 0000:44:00.0: RF_KILL bit toggled to enable radio.
[  202.049611] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D3hot
[  202.364360] PM: freeze of devices complete after 608.238 msecs
[  202.364687] PM: late freeze of devices complete after 0.321 msecs
[  202.365593] PM: noirq freeze of devices complete after 0.904 msecs
[  202.365823] ACPI: Preparing to enter system sleep state S4
[  202.371005] PM: Saving platform NVS memory
[  202.372135] Disabling non-boot CPUs ...
[  202.373935] smpboot: CPU 1 is now offline
[  202.376158] smpboot: CPU 2 is now offline
[  202.378124] smpboot: CPU 3 is now offline
[  202.378713] PM: Creating hibernation image:
[  202.542748] PM: Need to copy 602874 pages
[  203.755208] PM: Hibernation image created (602874 pages copied)
[  202.379986] microcode: CPU0 sig=0x20655, pf=0x10, revision=0x4
[  202.380046] Enabling non-boot CPUs ...
[  202.380104] smpboot: Booting Node 0 Processor 1 APIC 0x1
[  202.394133] microcode: CPU1 sig=0x20655, pf=0x10, revision=0x4
[  202.394176] CPU1 is up
[  202.394194] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  202.407759] microcode: CPU2 sig=0x20655, pf=0x10, revision=0x4
[  202.407769] CPU2 is up
[  202.407787] smpboot: Booting Node 0 Processor 3 APIC 0x5
[  202.421277] microcode: CPU3 sig=0x20655, pf=0x10, revision=0x4
[  202.421289] CPU3 is up
[  202.423621] ACPI: Waking up from system sleep state S4
[  202.485506] acpi LNXPOWER:01: Turning OFF
[  203.188036] PM: noirq thaw of devices complete after 702.448 msecs
[  203.188306] PM: early thaw of devices complete after 0.196 msecs
[  203.198065] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[  203.244227] [drm] PCIE GART of 512M enabled (table at 0x000000000025D000).
[  203.244392] radeon 0000:01:00.0: WB enabled
[  203.244395] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8801b18a3c00
[  203.244396] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801b18a3c0c
[  203.245146] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffc9001131c418
[  203.261695] [drm] ring test on 0 succeeded in 1 usecs
[  203.261763] [drm] ring test on 3 succeeded in 0 usecs
[  203.379088] tpm_tis 00:03: TPM is disabled/deactivated (0x7)
[  203.379810] parport_pc 00:08: activated
[  203.438901] [drm] ring test on 5 succeeded in 1 usecs
[  203.438903] [drm] UVD initialized successfully.
[  203.438932] [drm] ib test on ring 0 succeeded in 0 usecs
[  203.438956] [drm] ib test on ring 3 succeeded in 1 usecs
[  203.500073] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  203.502071] ata3: SATA link down (SStatus 0 SControl 300)
[  203.502422] ata1.00: unexpected _GTF length (8)
[  203.505051] ata5: SATA link down (SStatus 0 SControl 300)
[  203.505108] ata1.00: unexpected _GTF length (8)
[  203.505286] ata1.00: configured for UDMA/133
[  203.507056] ata6: SATA link down (SStatus 0 SControl 300)
[  203.509053] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[  203.512537] ata2.00: unexpected _GTF length (8)
[  203.519391] ata2.00: unexpected _GTF length (8)
[  203.519400] ata2.00: configured for UDMA/100
[  203.751114] firewire_core 0000:46:06.0: rediscovered device fw0
[  205.036712] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx
[  205.036717] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[  213.591031] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
[  213.591035] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000004 last fence id 0x0000000000000002)
[  213.591038] [drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35).
[  213.591042] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35).
[  215.463609] PM: thaw of devices complete after 12274.105 msecs
[  215.482212] PM: Using 3 thread(s) for compression.
[  215.482212] PM: Compressing and saving image data (604052 pages)...
[  215.485290] PM: Image saving progress:   0%
[  215.896572] PM: Image saving progress:  10%
[  216.479936] PM: Image saving progress:  20%
[  217.091525] PM: Image saving progress:  30%
[  217.572464] PM: Image saving progress:  40%
[  218.139338] PM: Image saving progress:  50%
[  218.706502] PM: Image saving progress:  60%
[  222.573253] PM: Image saving progress:  70%
[  223.160349] PM: Image saving progress:  80%
[  223.720809] PM: Image saving progress:  90%
[  224.165924] PM: Image saving progress: 100%
[  225.606785] PM: Image saving done.
[  225.608052] PM: Wrote 2416208 kbytes in 10.12 seconds (238.75 MB/s)
[  225.642923] PM: S|
[  225.744131] Suspending console(s) (use no_console_suspend to debug)
Comment 4 Stanislav Fomin 2014-09-22 17:27:24 MSD
Подозреваемый найден — в 3.10 нашем ядре модули
mei и mei_me были модулями, а в 3.14 — он стал builtin.

С вырубленными модулями и даже с незаблеклистенными, но отдельномодульными mei гибернация проходит (экспериментировал на самособранном апстримовом ядре). 

Женя соберет теперь наше ядро кошерно, проверим на нем.
Comment 5 FirstLevel 2014-10-09 11:19:02 MSD
Прошу проверить проблему на новом релизе 2014.1
http://mirror.rosalab.ru/rosa/rosa2014.1/iso/ROSA.Fresh.R4/
Comment 6 Stanislav Fomin 2015-06-24 16:35:25 MSD
Сейчас вроде ОК. Хотя не всегда. Закроем.