Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1728046

Re: [PATCH 0/2] Fix resume failure due to PCID

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] Fix resume failure due to PCID
Date 2017-09-07 11:00 +0200
Message-ID <un0Pg-61N-13@gated-at.bofh.it> (permalink)
References <umVcR-29h-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 06, 2017 at 07:54:52PM -0700, Andy Lutomirski wrote:
> Patch 1 is the fix.  Patch 2 is a comment that would have kept me from
> chasing down a false lead.
> 
> I've tested patch 2 using CPU hotplug and suspend/resume.  I haven't
> tested hibernation or kexec because I don't know how.  (If I do
> systemctl hibernate on my laptop, it happily writes out a hiberation
> image somewhere and then it equally happily ignores it on the next
> boot.

Do you have this in cmdline?

        resume=         [SWSUSP]
                        Specify the partition device for software suspend
                        Format:
                        {/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}



> I don't know how to test kexec.)

You boot with something like this:

crashkernel=512M-2G:128M,2G-64G:256M,64G-:512M

Check dmesg to see whether it managed to reserve memory. Then you do:

# kexec --noefi -l bzImage --initrd=initrd.img --reuse-cmdline

# kexec -e

That last one loads it.

Anyway, something like that. I have this in my notes saying it worked at
some point.

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Fix resume failure due to PCID Andy Lutomirski <luto@kernel.org> - 2017-09-07 05:00 +0200
  Re: [PATCH 0/2] Fix resume failure due to PCID Linus Torvalds <torvalds@linux-foundation.org> - 2017-09-07 05:30 +0200
    Re: [PATCH 0/2] Fix resume failure due to PCID Andy Lutomirski <luto@amacapital.net> - 2017-09-07 06:20 +0200
  Re: [PATCH 0/2] Fix resume failure due to PCID Borislav Petkov <bp@suse.de> - 2017-09-07 11:00 +0200

csiph-web