Comment 6 for bug 561426

Revision history for this message
Amit Kucheria (amitk) wrote :

From the strace:

brk(0) = 0x12000
brk(0x33000) = 0x33000
open("/dev/mem", O_RDONLY|O_LARGEFILE) = 3
mmap2(NULL, 65536, PROT_READ, MAP_SHARED, 3, 0xf0) = 0x40200000
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++

We shouldn't be mapping /dev/mem on the arm devices w/o word alignment. Is this a byte-aligned access? That could throw this error as shown in http://<email address hidden>/msg18053.html