Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
util-linux
util-linux-lscpu_dmi_do_not_crash_on_SLE12_SP3_...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-lscpu_dmi_do_not_crash_on_SLE12_SP3_arm.patch of Package util-linux
On some kernel versions accessing /dev/mem causes a kernel oops (bsc#1033718) Avoid the issue by not building the code on ARM64. diff --git a/sys-utils/lscpu-dmi.c b/sys-utils/lscpu-dmi.c index 71d6874c919d..407145fc1731 100644 --- a/sys-utils/lscpu-dmi.c +++ b/sys-utils/lscpu-dmi.c @@ -259,7 +259,8 @@ int read_hypervisor_dmi(void) rc = hypervisor_decode_sysfw(); if (rc > HYPER_NONE) return rc; - +/* workaround for buggy SP3 kernel on ARM */ +#ifndef __aarch64__ /* First try EFI (ia64, Intel-based Mac) */ switch (address_from_efi(&fp)) { case EFI_NOT_FOUND: @@ -277,6 +278,7 @@ int read_hypervisor_dmi(void) goto done; free(buf); buf = NULL; +#endif memory_scan: #if defined(__x86_64__) || defined(__i386__) /* Fallback to memory scan (x86, x86_64) */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor