WARNING: CPU: 1 PID: 14022 at kernel/memremap.c:98 memremap in Red Hat Enterprise Linux 7.5
Issue
- Below messages is logged when accessing /dev/mem.
[ 66.553635] ------------[ cut here ]------------
[ 66.553642] WARNING: CPU: 0 PID: 1592 at kernel/memremap.c:98 memremap+0x9a/0x1b0
[ 66.553644] memremap attempted on mixed range 0x000000000009f000 size: 0x1000
[ 66.553645] Kernel panic - not syncing: panic_on_warn set ...
[ 66.553670] CPU: 0 PID: 1592 Comm: strings Kdump: loaded Not tainted 3.10.0-862.el7.x86_64 #1
[ 66.553691] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 66.553706] Call Trace:
[ 66.553717] [<ffffffffb630d768>] dump_stack+0x19/0x1b
[ 66.553732] [<ffffffffb6307a6a>] panic+0xe8/0x21f
[ 66.553753] [<ffffffffb5d9225a>] ? memremap+0x9a/0x1b0
[ 66.553769] [<ffffffffb5c916fa>] __warn+0xfa/0x100
[ 66.553783] [<ffffffffb5c9175f>] warn_slowpath_fmt+0x5f/0x80
[ 66.553798] [<ffffffffb5d9225a>] memremap+0x9a/0x1b0
[ 66.553813] [<ffffffffb5c6f7d9>] xlate_dev_mem_ptr+0x29/0x40
[ 66.553830] [<ffffffffb604e708>] read_mem+0x78/0x170
[ 66.553844] [<ffffffffb5e1ab3f>] vfs_read+0x9f/0x170
[ 66.553858] [<ffffffffb5e1ba0f>] SyS_read+0x7f/0xf0
[ 66.553874] [<ffffffffb631f7d5>] system_call_fastpath+0x1c/0x21
Environment
- Red Hat Enterprise Linux 7.5
- 3.10.0-862.2.3.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.