Re: Warnings when suspending to disk

From: Greg Kroah-Hartman
Date: Mon May 30 2022 - 15:35:39 EST


On Mon, May 30, 2022 at 12:16:24PM -0400, Mikulas Patocka wrote:
> Hi
>
> The commit 7f99cb5e60392fc3494c610776e733b68784280c ("x86/CPU/AMD: Use
> default_groups in kobj_type") causes the following warnings to be printed
> during suspend to disk and resume from disk. There are many of these
> warnings, 3 for each core.

And if you revert that change it goes back to not warning?

that is odd.

>
> The machine is two six-core Opterons 8435.
>
> Mikulas
>
>
> [ 31.349584] PM: hibernation: hibernation entry
> [ 31.350319] Filesystems sync: 0.000 seconds
> [ 31.350417] Freezing user space processes ... (elapsed 0.001 seconds) done.
> [ 31.351994] OOM killer disabled.
> [ 31.357889] PM: hibernation: Preallocating image memory
> [ 34.791852] PM: hibernation: Allocated 735563 pages for snapshot
> [ 34.792065] PM: hibernation: Allocated 2942252 kbytes in 3.43 seconds (857.79 MB/s)
> [ 34.792296] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
> [ 34.793791] printk: Suspending console(s) (use no_console_suspend to debug)
> [ 34.795159] serial 00:03: disabled
> [ 34.795248] serial 00:02: disabled
> [ 34.824316] mptbase: ioc0: pci-suspend: pdev=0x00000000f4bc4e1a, slot=0000:02:06.0, Entering operating state [D3]
> [ 35.470390] amdgpu 0000:07:00.0: amdgpu: BACO reset
> [ 35.533783] Disabling non-boot CPUs ...
> [ 35.535798] smpboot: CPU 1 is now offline
> [ 35.537754] ------------[ cut here ]------------
> [ 35.537764] kernfs: can not remove 'threshold_limit', no directory

Before you suspend, is this directory (and the other ones) really there?

Are they not getting created now properly somehow? Any warning messages
at boot time?

thanks,

greg k-h