page allocation failure during suspend
System doesn't come back from suspend (S3) properly. The monitors turn on but they show all white with tiny purple spots (presumably uninitialized memory). There's slight movement in these distortions. I was able to blindly switch to a tty, authenticate, and reboot the system.
After the reboot I found two page allocation failure
messages in the logs. The first one was during the suspend phase (pasted below), the second one during resume (see attached log).
So far this has happened two or three times. Can't remember when the first time was exactly though. One or two weeks ago probably. According to my install history I used 5.18.12, 5.18.14 and 5.19.1 in that time frame.
Aug 16 13:20:43 LaughingMan kernel: kworker/u8:38: page allocation failure: order:0, mode:0x100c02(GFP_NOIO|__GFP_HIGHMEM|__GFP_HARDWALL), nodemask=(null),cpuset=/,mems_allowed=0
Aug 16 13:20:43 LaughingMan kernel: CPU: 3 PID: 159371 Comm: kworker/u8:38 Tainted: G OE 5.19.1-2-MANJARO #1 d0bce6547dc2cdae0c72b0657b54e863bcf4e102
Aug 16 13:20:43 LaughingMan kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H77 Pro4/MVP, BIOS P1.30 05/10/2012
Aug 16 13:20:43 LaughingMan kernel: Workqueue: events_unbound async_run_entry_fn
Aug 16 13:20:43 LaughingMan kernel: Call Trace:
Aug 16 13:20:43 LaughingMan kernel: <TASK>
Aug 16 13:20:43 LaughingMan kernel: dump_stack_lvl+0x48/0x60
Aug 16 13:20:43 LaughingMan kernel: warn_alloc+0x155/0x180
Aug 16 13:20:43 LaughingMan kernel: __alloc_pages_slowpath.constprop.0+0xcfd/0xd60
Aug 16 13:20:43 LaughingMan kernel: __alloc_pages+0x224/0x250
Aug 16 13:20:43 LaughingMan kernel: ttm_pool_alloc+0x2b3/0x5b0 [ttm 945435e039058d83d03f5aa05e745dd3d28455e8]
Aug 16 13:20:43 LaughingMan kernel: ? kvmalloc_node+0xa4/0xd0
Aug 16 13:20:43 LaughingMan kernel: amdgpu_ttm_tt_populate+0x39/0x90 [amdgpu 5c0bb21f229ec17b118e384c328fcf3227c4d4b5]
Aug 16 13:20:43 LaughingMan kernel: ttm_tt_populate+0xa1/0x140 [ttm 945435e039058d83d03f5aa05e745dd3d28455e8]
Aug 16 13:20:43 LaughingMan kernel: ttm_bo_handle_move_mem+0x1ac/0x1c0 [ttm 945435e039058d83d03f5aa05e745dd3d28455e8]
Aug 16 13:20:43 LaughingMan kernel: ttm_mem_evict_first+0x218/0x4d0 [ttm 945435e039058d83d03f5aa05e745dd3d28455e8]
Aug 16 13:20:43 LaughingMan kernel: ttm_resource_manager_evict_all+0xa7/0x1d0 [ttm 945435e039058d83d03f5aa05e745dd3d28455e8]
Aug 16 13:20:43 LaughingMan kernel: amdgpu_device_suspend+0x99/0xf0 [amdgpu 5c0bb21f229ec17b118e384c328fcf3227c4d4b5]
Aug 16 13:20:43 LaughingMan kernel: pci_pm_suspend+0x77/0x160
Aug 16 13:20:43 LaughingMan kernel: ? pci_pm_freeze+0xc0/0xc0
Aug 16 13:20:43 LaughingMan kernel: dpm_run_callback+0x4a/0x150
Aug 16 13:20:43 LaughingMan kernel: __device_suspend+0x10a/0x4e0
Aug 16 13:20:43 LaughingMan kernel: async_suspend+0x1e/0x90
Aug 16 13:20:43 LaughingMan kernel: async_run_entry_fn+0x34/0x130
Aug 16 13:20:43 LaughingMan kernel: process_one_work+0x1c7/0x380
Aug 16 13:20:43 LaughingMan kernel: worker_thread+0x51/0x390
Aug 16 13:20:43 LaughingMan kernel: ? rescuer_thread+0x3b0/0x3b0
Aug 16 13:20:43 LaughingMan kernel: kthread+0xde/0x110
Aug 16 13:20:43 LaughingMan kernel: ? kthread_complete_and_exit+0x20/0x20
Aug 16 13:20:43 LaughingMan kernel: ret_from_fork+0x22/0x30
Aug 16 13:20:43 LaughingMan kernel: </TASK>
Aug 16 13:20:43 LaughingMan kernel: Mem-Info:
Aug 16 13:20:43 LaughingMan kernel: active_anon:5719 inactive_anon:2858261 isolated_anon:0
active_file:120 inactive_file:78 isolated_file:0
unevictable:937 dirty:0 writeback:7
slab_reclaimable:64869 slab_unreclaimable:45299
mapped:82388 shmem:119073 pagetables:25790 bounce:0
kernel_misc_reclaimable:0
free:70736 free_pcp:228 free_cma:0
Aug 16 13:20:43 LaughingMan kernel: Node 0 active_anon:22876kB inactive_anon:11433044kB active_file:480kB inactive_file:312kB unevictable:3748kB isolated(anon):0kB isolated(file):0kB mapped:329552kB dirty:0kB writeback:28kB shmem:476292kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_t>
Aug 16 13:20:43 LaughingMan kernel: Node 0 DMA free:13312kB boost:0kB min:60kB low:72kB high:84kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15984kB managed:15360kB mlocked:0kB bounce:0kB fre>
Aug 16 13:20:43 LaughingMan kernel: lowmem_reserve[]: 0 3110 15830 15830 15830
Aug 16 13:20:43 LaughingMan kernel: Node 0 DMA32 free:93592kB boost:29844kB min:43108kB low:46424kB high:49740kB reserved_highatomic:0KB active_anon:16kB inactive_anon:1642320kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3294672kB managed:3229136kB >
Aug 16 13:20:43 LaughingMan kernel: lowmem_reserve[]: 0 0 12720 12720 12720
Aug 16 13:20:43 LaughingMan kernel: Node 0 Normal free:176040kB boost:122056kB min:176308kB low:189868kB high:203428kB reserved_highatomic:0KB active_anon:22860kB inactive_anon:9790724kB active_file:348kB inactive_file:372kB unevictable:3748kB writepending:28kB present:13359104kB >
Aug 16 13:20:43 LaughingMan kernel: lowmem_reserve[]: 0 0 0 0 0
Aug 16 13:20:43 LaughingMan kernel: Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB (U) 2*2048kB (UM) 2*4096kB (M) = 13312kB
Aug 16 13:20:43 LaughingMan kernel: Node 0 DMA32: 21510*4kB (UM) 944*8kB (UM) 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 93592kB
Aug 16 13:20:43 LaughingMan kernel: Node 0 Normal: 44010*4kB (UM) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 176040kB
Aug 16 13:20:43 LaughingMan kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Aug 16 13:20:43 LaughingMan kernel: 119255 total pagecache pages
Aug 16 13:20:43 LaughingMan kernel: 0 pages in swap cache
Aug 16 13:20:43 LaughingMan kernel: Swap cache stats: add 0, delete 0, find 0/0
Aug 16 13:20:43 LaughingMan kernel: Free swap = 0kB
Aug 16 13:20:43 LaughingMan kernel: Total swap = 0kB
Aug 16 13:20:43 LaughingMan kernel: 4167440 pages RAM
Aug 16 13:20:43 LaughingMan kernel: 0 pages HighMem/MovableOnly
Aug 16 13:20:43 LaughingMan kernel: 98155 pages reserved
Aug 16 13:20:43 LaughingMan kernel: 0 pages cma reserved
Aug 16 13:20:43 LaughingMan kernel: 0 pages hwpoisoned
Aug 16 13:20:43 LaughingMan kernel: [drm] evicting device resources failed
Hardware description:
- CPU: Intel i5-3450
- GPU: Radeon R9 390 (Hawaii Pro)
- System Memory: 16 GiB
- Display(s): HP x27i (1440p) + Asus VS248H (1080p)
- Type of Display Connection: HDMI (HP) + DVI (Asus)
System information:
- Distro name and Version: Manjrao
- Kernel version: 5.19.1-2-MANJARO
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
No clear reproduction, sadly.