[Bug 1032032] New: devmem2 tries to read 64-bit value on 64-bit systems where 32-bit is expected
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032 Bug ID: 1032032 Summary: devmem2 tries to read 64-bit value on 64-bit systems where 32-bit is expected Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: josua.m@t-online.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- back in the 32bit days, devmem2 was able to read either: byte (8) half-word (16) word (32) However 64-bit architectures break this behaviour, leading to unexpected page faults such as: devmem2 0xf0610fcc w /dev/mem opened.[ 4976.694831] Unhandled fault: alignment fault (0x92000021) at 0x0000007f8b106fcc Memory mapped at address 0x7f8b106000. Bus error (core dumped) Suggested solution: use stdint.h to provide results as they were on 32-bit systems, on all of them. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032#c2
--- Comment #2 from Josua Mayer
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032#c3
Josua Mayer
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032#c4
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032#c5
Josua Mayer
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032#c6
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032
http://bugzilla.opensuse.org/show_bug.cgi?id=1032032#c7
Guillaume GARDET
participants (1)
-
bugzilla_noreply@novell.com