[opensuse-kernel] Nosave pages and resuming
Since I switched from MBR partitioning and Grub to GPT partitioning and Grub2 my system fails to resume from time to time. dmesg output (only "PM:" lines): $ journalctl --dmesg | grep PM: Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x000a0000-0x000fffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0253e000-0x0253efff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0255e000-0x0255efff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0256d000-0x0256dfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbc4f000-0xcbc93fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbc94000-0xcbd08fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbd0b000-0xcbe10fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe12000-0xcbe12fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe13000-0xcbe1afff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe1b000-0xcbe1bfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe1c000-0xcbe1dfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe1e000-0xcbe25fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe26000-0xcbe46fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe47000-0xcbe89fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcc000000-0xcf7fffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcf800000-0xdfffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xe0000000-0xe3ffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xe4000000-0xfed1bfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xfed20000-0xfeffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xff000000-0xffffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbc4f000-0xcbc93fff] (282624 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe12000-0xcbe12fff] (4096 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe1b000-0xcbe1bfff] (4096 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe1e000-0xcbe25fff] (32768 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe47000-0xcbe89fff] (274432 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Checking hibernation image partition /dev/disk/by-uuid/7c287338-bb71-41e1-a5cf-789f6fea25d3 Jan 07 18:38:57 linux-3yod kernel: PM: Hibernation image not present or could not be loaded. Jan 07 18:38:58 linux-3yod kernel: PM: Starting manual resume from disk Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image partition 8:2 present Jan 07 18:38:58 linux-3yod kernel: PM: Looking for hibernation image. Jan 07 18:38:58 linux-3yod kernel: PM: Image signature found, resuming Jan 07 18:38:58 linux-3yod kernel: PM: Preparing processes for restore. Jan 07 18:38:58 linux-3yod kernel: PM: Loading hibernation image. Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x000a0000-0x000fffff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0253e000-0x0253efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0255e000-0x0255efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0256d000-0x0256dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbc4f000-0xcbd08fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbd0b000-0xcbe10fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbe12000-0xcbe89fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcc000000-0xffffffff] Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps created Jan 07 18:38:58 linux-3yod kernel: PM: Using 3 thread(s) for decompression. PM: Loading and decompressing image data (1886398 pages)... Jan 07 18:38:58 linux-3yod kernel: PM: Image loading progress: 0% Jan 07 18:38:58 linux-3yod kernel: PM: 0x0254d000 in e820 nosave region: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Read 7545592 kbytes in 0.28 seconds (26948.54 MB/s) Jan 07 18:38:58 linux-3yod kernel: PM: Error -14 resuming Jan 07 18:38:58 linux-3yod kernel: PM: Failed to load hibernation image, recovering. Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps freed Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image not present or could not be loaded. Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x000a0000-0x000fffff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0253e000-0x0253efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0255e000-0x0255efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0256d000-0x0256dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbc4f000-0xcbd08fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbd0b000-0xcbe10fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbe12000-0xcbe89fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcc000000-0xffffffff] Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps created Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps freed Jan 07 18:38:58 linux-3yod kernel: PM: Starting manual resume from disk Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image partition 8:2 present Jan 07 18:38:58 linux-3yod kernel: PM: Looking for hibernation image. Jan 07 18:38:58 linux-3yod kernel: PM: Image not found (code -22) Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image not present or could not be loaded. My system: * openSUSE 13.2 * Kernel 3.12.5 (Kernels >= 3.13 do not suspend; this problem is probably causes by "radeon" driver for my ATI Radeon HD 3450 graphics card) * Intel DH55TC mainboard After looking in the kernel sources (kernel/power/snapshot.c) I found, that there is some issue with "nosave pages". Is there something I can do? Greetings, Björn -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi Bjoern, My original thinking is your case the same with another case on kernel upstream: https://bugzilla.kernel.org/show_bug.cgi?id=77571#c24 But, after trace the dmesg from your machine. I found there have a strange thing for the 0x0000000002551000 address looks a E820_RAM type that should not registered to nosave region. Please file a openSUSE bug against this situation. I need more time to trace this thing and may need your help to run some debugging patch. Thanks a lot! Joey Lee On Wed, Jan 07, 2015 at 07:36:53PM +0100, Bjoern Voigt wrote:
Since I switched from MBR partitioning and Grub to GPT partitioning and Grub2 my system fails to resume from time to time.
dmesg output (only "PM:" lines):
$ journalctl --dmesg | grep PM: Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x000a0000-0x000fffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0253e000-0x0253efff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0255e000-0x0255efff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0x0256d000-0x0256dfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbc4f000-0xcbc93fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbc94000-0xcbd08fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbd0b000-0xcbe10fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe12000-0xcbe12fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe13000-0xcbe1afff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe1b000-0xcbe1bfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe1c000-0xcbe1dfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe1e000-0xcbe25fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe26000-0xcbe46fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcbe47000-0xcbe89fff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcc000000-0xcf7fffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xcf800000-0xdfffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xe0000000-0xe3ffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xe4000000-0xfed1bfff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xfed20000-0xfeffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registered nosave memory: [mem 0xff000000-0xffffffff] Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbc4f000-0xcbc93fff] (282624 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe12000-0xcbe12fff] (4096 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe1b000-0xcbe1bfff] (4096 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe1e000-0xcbe25fff] (32768 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Registering ACPI NVS region [mem 0xcbe47000-0xcbe89fff] (274432 bytes) Jan 07 18:38:57 linux-3yod kernel: PM: Checking hibernation image partition /dev/disk/by-uuid/7c287338-bb71-41e1-a5cf-789f6fea25d3 Jan 07 18:38:57 linux-3yod kernel: PM: Hibernation image not present or could not be loaded. Jan 07 18:38:58 linux-3yod kernel: PM: Starting manual resume from disk Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image partition 8:2 present Jan 07 18:38:58 linux-3yod kernel: PM: Looking for hibernation image. Jan 07 18:38:58 linux-3yod kernel: PM: Image signature found, resuming Jan 07 18:38:58 linux-3yod kernel: PM: Preparing processes for restore. Jan 07 18:38:58 linux-3yod kernel: PM: Loading hibernation image. Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x000a0000-0x000fffff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0253e000-0x0253efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0255e000-0x0255efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0256d000-0x0256dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbc4f000-0xcbd08fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbd0b000-0xcbe10fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbe12000-0xcbe89fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcc000000-0xffffffff] Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps created Jan 07 18:38:58 linux-3yod kernel: PM: Using 3 thread(s) for decompression. PM: Loading and decompressing image data (1886398 pages)... Jan 07 18:38:58 linux-3yod kernel: PM: Image loading progress: 0% Jan 07 18:38:58 linux-3yod kernel: PM: 0x0254d000 in e820 nosave region: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Read 7545592 kbytes in 0.28 seconds (26948.54 MB/s) Jan 07 18:38:58 linux-3yod kernel: PM: Error -14 resuming Jan 07 18:38:58 linux-3yod kernel: PM: Failed to load hibernation image, recovering. Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps freed Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image not present or could not be loaded. Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x000a0000-0x000fffff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0253e000-0x0253efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0254d000-0x0254dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0255e000-0x0255efff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0x0256d000-0x0256dfff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbc4f000-0xcbd08fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbd0b000-0xcbe10fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcbe12000-0xcbe89fff] Jan 07 18:38:58 linux-3yod kernel: PM: Marking nosave pages: [mem 0xcc000000-0xffffffff] Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps created Jan 07 18:38:58 linux-3yod kernel: PM: Basic memory bitmaps freed Jan 07 18:38:58 linux-3yod kernel: PM: Starting manual resume from disk Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image partition 8:2 present Jan 07 18:38:58 linux-3yod kernel: PM: Looking for hibernation image. Jan 07 18:38:58 linux-3yod kernel: PM: Image not found (code -22) Jan 07 18:38:58 linux-3yod kernel: PM: Hibernation image not present or could not be loaded.
My system:
* openSUSE 13.2 * Kernel 3.12.5 (Kernels >= 3.13 do not suspend; this problem is probably causes by "radeon" driver for my ATI Radeon HD 3450 graphics card) * Intel DH55TC mainboard
After looking in the kernel sources (kernel/power/snapshot.c) I found, that there is some issue with "nosave pages". Is there something I can do?
Greetings, Björn
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Bjoern Voigt
-
joeyli