The kernel crashes frequently in shmem_writepage(), strongly suggesting faulty hardware

Solution Unverified - Updated -

Issue

  • The kernel crashes frequently in shmem_writepage()
BUG: unable to handle kernel paging request at 0000020000000000
PGD 0 P4D 0 
Oops: 0000 [#1] SMP NOPTI
CPU: 18 PID: 194 Comm: kswapd0 Kdump: loaded Not tainted 4.18.0-553.33.1.el8_10.x86_64 #1
Hardware name: Dell Inc. OptiPlex SFF Plus 7010/XXXXXX, BIOS 1.12.0 01/29/2024
RIP: 0010:shmem_writepage+0x37/0x350
Code: 55 53 48 83 ec 08 48 8b 57 08 48 8d 42 ff 83 e2 01 48 0f 44 c7 48 8b 00 a8 01 0f 84 61 02 00 00 48 8b 47 18 48 89 f5 48 89 fb <4c> 8b 20 41 f6 44 24 91 20 0f 85 8b 01 00 00 48 83 3d fa 23 62 02
RSP: 0000:ffffaf098415fa08 EFLAGS: 00010202
RAX: 0000020000000000 RBX: ffffe526d4f10040 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffaf098415fa48 RDI: ffffe526d4f10040
RBP: ffffaf098415fa48 R08: ffffaf098415f9b8 R09: 0000000000000001
R10: ffff92ef53a7a6d0 R11: 0000000000000000 R12: 0000000000000a00
R13: ffff92ef2ba59728 R14: ffff92f4eb90e288 R15: ffffaf098415fb70
FS:  0000000000000000(0000) GS:ffff92f66fa80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000020000000000 CR3: 0000000125dcc000 CR4: 0000000000750ee0
PKRU: 55555554
Call Trace:
 ? __die_body+0x1a/0x60
 ? no_context+0x1ba/0x3f0
 ? __bad_area_nosemaphore+0x157/0x180
 ? do_page_fault+0x37/0x12d
 ? page_fault+0x1e/0x30
 ? shmem_writepage+0x37/0x350
 ? clear_page_dirty_for_io+0x1b/0x1a0
 __shmem_writeback+0xc1/0x190 [i915]
 shmem_shrink+0x3f/0x50 [i915]
 i915_gem_shrink+0x56b/0x760 [i915]
 ? update_load_avg+0x7e/0x710
 i915_gem_shrinker_scan+0xab/0xc0 [i915]
 do_shrink_slab+0x11d/0x330
 shrink_slab+0xbe/0x2f0
 shrink_node+0x257/0x710
 balance_pgdat+0x2d7/0x550
 kswapd+0x20b/0x3d0
 ? finish_wait+0x80/0x80
 ? balance_pgdat+0x550/0x550
 kthread+0x134/0x150
 ? set_kthread_struct+0x50/0x50
 ret_from_fork+0x1f/0x40
Modules linked in: ...
CR2: 0000020000000000

Environment

  • Red Hat Enterprise Linux 8.10.z
  • Dell OptiPlex SFF Plus 7010

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content