On Thu, Jun 27, 2024 at 05:56:40PM +0100, Laurence Tratt wrote: > On Thu, Jun 27, 2024 at 09:32:05AM GMT, Mike Larkin wrote: > > Hello Mike, > > Thanks for your fast reply! > > >> On my Framework laptop, I used to be able to `ZZZ`, but that has now not > >> worked for several weeks. I couldn't work out why at first, because the > >> battery ran out, but this time I was looking for it. The machine seemed > >> to `ZZZ` but after a while failed, leaving this in dmesg: > >> > >> failed to allocate hibernate memory > >> > >> Suspend (`zzz`) continues to work well. There is about 20GiB of memory > >> free, so I'm unsure what can't be allocated. dmesg below. > > Happens all the time or just after running for a while? > > > > We need to be able to allocate a bunch of contiguous memory, so if you > > have free memory but its fragmented, we may not be able to allocate what > > we need and then show that error. > > > > Eg, can you reliably ZZZ on this machine right after boot reliably? > > Yes, I seem to be able to ZZZ after boot (tried three times). So I guess > it's fragmentation, but I must admit I thought I had bucket-loads (60%) of > spare RAM, and wasn't getting close to using it all! Next time it fails, I > guess it's worth me killing off a couple of big processes (e.g. browsers) > to see if that helps matters along? > > > Laurie >
I'll try to bake something up for you to text next week. -ml