[CRIU] Criu illegal instruction on ARM6 (Raspberry Pi zero) ...
Mark O'Neill
mao at tumblingdice.co.uk
Mon Aug 23 18:43:45 MSK 2021
Hello
I don't know if I have come through to the right place.
I am trying to build criu 3.15 for Raspberry Pi zero. Compilation from
source is fine but restorer.c generates an illegal instruction when criu
is run. I have checked your makefile and it seems to be detecting ARM6
architecture okay. Not sure how to proceed. The error occurs at in
restorer.c at this point:
I have highlighted the ARM instruction which is throwing the error.
--- C code ---
-- Starting program: /usr/local/sbin/criu
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/arm-linux-gnueabihf/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x00033938 in pagemap_cache_init () at criu/pagemap-cache.c:192
(gdb)
--- assembler ---
0x33934 <pagemap_cache_init> push {r4, lr} │
│ >0x33938 <pagemap_cache_init+4> movw r0, #54136 ; 0xd378 │
│ 0x3393c <pagemap_cache_init+8> movt r0, #16 │
│ 0x33940 <pagemap_cache_init+12> bl 0x32e14 <getenv at plt> │
│ 0x33944 <pagemap_cache_init+16> movw r3, #50396 ; 0xc4dc │
│ 0x33948 <pagemap_cache_init+20> movt r3, #19 │
│ 0x3394c <pagemap_cache_init+24> subs r0, r0, #0 │
│ 0x33950 <pagemap_cache_init+28> movne r0, #1 │
│ 0x33954 <pagemap_cache_init+32> strb r0, [r3, #1] │
│ 0x33958 <pagemap_cache_init+36> pop {r4, pc} │
│ 0x3395c <_start> mov r11, #0 │
│ 0x33960 <_start+4> mov lr, #0 │
│ 0x33964 <_start+8> pop {r1} ; (ldr r1, [sp], #4) │
│ 0x33968 <_start+12> mov r2, sp
Regards
Mark O'Neill
---
Dr Mark O'Neill
Technical Director
t: +44 (0) 191 213 2002
m: +44 (0) 7515 270 216
e: mao at tumblingdice.co.uk
w: www.tumblingdice.co.uk [1]
Tumbling Dice Ltd registered office: 39 Delaval Terrace, Gosforth,
Newcastle upon Tyne, NE3 4RT, United Kingdom. Registered in England:
04969187. VAT registration: 888 9205 60.
Links:
------
[1] http://www.tumblingdice.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20210823/dc55e005/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7a4dc2c3.jpeg
Type: image/jpeg
Size: 9979 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20210823/dc55e005/attachment.jpeg>
More information about the CRIU
mailing list