On Sat, Jan 15, 2022 at 07:50:34PM +0100, Stefan Sperling wrote:
> On Sat, Jan 15, 2022 at 10:03:07AM -0700, Theo de Raadt wrote:
> > Additionally, the /boot code must be able to see that the disk contains
> > a hibernate signature, and this may not work if your swap partition
> > is at such a far into the disk.
> >
> > #                size           offset  fstype [fsize bsize   cpg]
> >   a:          1875.7G             1024    RAID
> >   b:            32.0G       3933688463    swap                    # none
> >
>
> This looks like a CRYPTO softraid volume and a separate swap partition.
> There is probably no swap partition configured inside softraid?
>
> Moving swap inside the softraid volume (as the installer would create
> by default) should be better. I have just successfully tested hibernate
> with such a setup on one my laptops, running -current and using EFI boot.
> Where the outer disklabel looks like this:
>
> #                size           offset  fstype [fsize bsize   cpg]
>   c:        500118192                0  unused
>   d:        500117105             1024    RAID
>   i:              960               64   MSDOS
>

Could be! OP should show his swap configuration.

Reply via email to