[coreboot-gerrit] Change in coreboot[master]: util/cbmem: mmap underflow on low addresses

Julius Werner (Code Review) gerrit at coreboot.org
Mon May 15 19:59:03 CEST 2017


Julius Werner has posted comments on this change. ( https://review.coreboot.org/19679 )

Change subject: util/cbmem: mmap underflow on low addresses
......................................................................


Patch Set 3:

> $ sudo ./cbmem -l
> Failed to mmap /dev/mem: Operation not permitted

EPERM means you're violating STRICT_DEVMEM, that check happens before the crash. Either compile a kernel without STRICT_DEVMEM or try this on a machine where the relevant physical address range would not be normal memory.

-- 
To view, visit https://review.coreboot.org/19679
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I32b0c15b2f1aa43fc57656d5d2d5f0e4e90e94ef
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie at chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Julius Werner <jwerner at chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <philippe.mathieu.daude at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-HasComments: No



More information about the coreboot-gerrit mailing list