[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvz-criu
Subject:    [CRIU] Criu illegal instruction on ARM6 (Raspberry Pi zero) ...
From:       "Mark O'Neill" <mao () tumblingdice ! co ! uk>
Date:       2021-08-23 15:43:45
Message-ID: 6976388b04abe6a0e7d72a56e5134f66 () tumblingdice ! co ! uk
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@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
[Attachment #5 (multipart/related)]

[Attachment #7 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" \
/></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'> \
Hello<br /> <div id="signature"><br />I don't know if I have come through to the \
right place.<br /><br />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:<br /><br />I have highlighted the ARM instruction which is throwing the \
error.<br /><br />--- C code ---<br /> <div id="v1signature">-- Starting program: \
/usr/local/sbin/criu<br />[Thread debugging using libthread_db enabled]<br />Using \
host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".<br /><br \
/>Program received signal SIGILL, Illegal instruction.<br />0x00033938 in \
pagemap_cache_init () at criu/pagemap-cache.c:192<br />(gdb)<br /><br />--- assembler \
---<br /><br />0x33934 &lt;pagemap_cache_init&gt; push {r4, lr} │<br />│ \
<strong>&gt;0x33938 &lt;pagemap_cache_init+4&gt; movw r0, #54136 ; 0xd378</strong> \
│<br />│ 0x3393c &lt;pagemap_cache_init+8&gt; movt r0, #16 │<br />│ 0x33940 \
&lt;pagemap_cache_init+12&gt; bl 0x32e14 &lt;getenv@plt&gt; │<br />│ 0x33944 \
&lt;pagemap_cache_init+16&gt; movw r3, #50396 ; 0xc4dc │<br />│ 0x33948 \
&lt;pagemap_cache_init+20&gt; movt r3, #19 │<br />│ 0x3394c \
&lt;pagemap_cache_init+24&gt; subs r0, r0, #0 │<br />│ 0x33950 \
&lt;pagemap_cache_init+28&gt; movne r0, #1 │<br />│ 0x33954 \
&lt;pagemap_cache_init+32&gt; strb r0, [r3, #1] │<br />│ 0x33958 \
&lt;pagemap_cache_init+36&gt; pop {r4, pc} │<br />│ 0x3395c &lt;_start&gt; mov \
r11, #0 │<br />│ 0x33960 &lt;_start+4&gt; mov lr, #0 │<br />│ 0x33964 \
&lt;_start+8&gt; pop {r1} ; (ldr r1, [sp], #4) │<br />│ 0x33968 &lt;_start+12&gt; \
mov r2, sp<br /><br /><br />Regards<br /><br />Mark O'Neill</div> <br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span \
style="font-family: verdana,geneva,sans-serif;"><strong>---<br /><br /><span \
style="font-size: 10pt;">Dr Mark O'Neill</span><br /></strong><span style="font-size: \
10pt;">Technical Director</span></span><br /><br /><span style="font-family: \
verdana,geneva,sans-serif; font-size: 10pt;"><span style="color: #689f00;"><strong>t: \
</strong></span>+44 (0) 191 213 2002</span><br /><span style="font-family: \
verdana,geneva,sans-serif; font-size: 10pt;"><span style="color: #689f00;"><strong> \
m:</strong></span> +44 (0) 7515 270 216</span><br /><span style="font-family: \
verdana,geneva,sans-serif;"><span style="color: #689f00;"><strong>e:</strong></span> \
mao@tumblingdice.co.uk</span><br /><span style="font-family: \
verdana,geneva,sans-serif; font-size: 10pt;"><span style="color: \
#689f00;"><strong>w:</strong></span> <a href="http://www.tumblingdice.co.uk" \
rel="noreferrer">www.tumblingdice.co.uk</a></span><br /><br /><img \
src="cid:7a4dc2c3a53d5a9fae9b5bb32f458263@tumblingdice.co.uk" width="160" height="48" \
/><br /> <p><span style="color: #808080; font-family: verdana,geneva,sans-serif; \
font-size: 8pt;">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.</span></p> </div>
</div>
</body></html>


["7a4dc2c3.jpeg" (7a4dc2c3.jpeg)]

JFIFHHExifMM*bj(1r2~iGIMP \
2.8.102016:07:15 11:15:000210 0100    \
0"*(2eHHJFIFC		
  
 $.' ",#(7),01444'9=82<.342C			

2!!222222222222222222222222222222222222222222222222220"	
  }!1AQa"q2#BR$3br	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz \
	  \
w!1AQaq"2B	#3Rbr \
$4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz \
?ntI.`WF*ۯ.|K.է]B<m<Z \
O/,&p  \
(|/YLF:>lC٫s7&t&xDQ|y8RW6|$#=CggǵF<-4W֏oo`l(9>΄^ڴ|:Wr;Tqᕸ// \
F>S4$}\&rN~|9  http://ns.adobe.com/xap/1.0/<?xpacket \
begin='' id='W5M0MpCehiHzreSzNTczkc9d'?> <x:xmpmeta xmlns:x='adobe:ns:meta/'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

 <rdf:Description xmlns:xmp='http://ns.adobe.com/xap/1.0/'>
  <xmp:CreatorTool>Adobe Photoshop CC 2015 (Macintosh)</xmp:CreatorTool>
  <xmp:CreateDate>2015-07-15T10:26:38+01:00</xmp:CreateDate>
  <xmp:MetadataDate>2015-07-15T10:26:38+01:00</xmp:MetadataDate>
  <xmp:ModifyDate>2015-07-15T10:26:38+01:00</xmp:ModifyDate>
 </rdf:Description>

 <rdf:Description xmlns:xmpMM='http://ns.adobe.com/xap/1.0/mm/'>
  <xmpMM:InstanceID>xmp.iid:a4efcda2-4f62-41cd-b828-5c7552c9b318</xmpMM:InstanceID>
  <xmpMM:OriginalDocumentID>xmp.did:11131526-d3ae-4c17-b164-20fe2d6e13f7</xmpMM:OriginalDocumentID>
  <xmpMM:InstanceID>xmp.iid:a4efcda2-4f62-41cd-b828-5c7552c9b318</xmpMM:InstanceID>
  <xmpMM:DocumentID rdf:resource='adobe:docid:photoshop:f5a4f09f-6b61-1178-874c-aff9e90c897d' \
/>  <xmpMM:OriginalDocumentID>xmp.did:11131526-d3ae-4c17-b164-20fe2d6e13f7</xmpMM:OriginalDocumentID>
  <xmpMM:History>
   <rdf:Seq>
   </rdf:Seq>
  </xmpMM:History>
 </rdf:Description>

 <rdf:Description xmlns:photoshop='http://ns.adobe.com/photoshop/1.0/'>
  <photoshop:ColorMode>3</photoshop:ColorMode>
  <photoshop:ICCProfile>sRGB IEC61966-2.1</photoshop:ICCProfile>
  <photoshop:DocumentAncestors>
   <rdf:Bag>
    <rdf:li>xmp.did:5d1e8afc-8d6a-4f76-b461-3fc8434cfe18</rdf:li>
   </rdf:Bag>
  </photoshop:DocumentAncestors>
  <photoshop:ColorMode>3</photoshop:ColorMode>
  <photoshop:ICCProfile>sRGB IEC61966-2.1</photoshop:ICCProfile>
  <photoshop:DocumentAncestors>
   <rdf:Seq>
    <rdf:li>xmp.did:5d1e8afc-8d6a-4f76-b461-3fc8434cfe18</rdf:li>
   </rdf:Seq>
  </photoshop:DocumentAncestors>
 </rdf:Description>

 <rdf:Description xmlns:dc='http://purl.org/dc/elements/1.1/'>
  <dc:format>image/jpeg</dc:format>
 </rdf:Description>

 <rdf:Description xmlns:exif='http://ns.adobe.com/exif/1.0/'>
  <exif:Orientation>Top-left</exif:Orientation>
  <exif:XResolution>72.0000</exif:XResolution>
  <exif:YResolution>72.0000</exif:YResolution>
  <exif:ResolutionUnit>Centimetre</exif:ResolutionUnit>
  <exif:Software>Adobe Photoshop CC 2015 (Macintosh)</exif:Software>
  <exif:DateTime>2015:07:15 10:26:38</exif:DateTime>
  <exif:Compression>JPEG compression</exif:Compression>
  <exif:XResolution>72</exif:XResolution>
  <exif:YResolution>72</exif:YResolution>
  <exif:ResolutionUnit>Inch</exif:ResolutionUnit>
  <exif:ExifVersion>Exif Version 2.1</exif:ExifVersion>
  <exif:FlashPixVersion>FlashPix Version 1.0</exif:FlashPixVersion>
  <exif:ColorSpace>sRGB</exif:ColorSpace>
  <exif:PixelXDimension>300</exif:PixelXDimension>
  <exif:PixelYDimension>300</exif:PixelYDimension>
 </rdf:Description>

</rdf:RDF>
</x:xmpmeta>
<?xpacket end='r'?>
XICC_PROFILEHLinomntrRGB XYZ 	1acspMSFTIEC \
sRGB-HP  \
cprtP3desclwtptbk \
ptrXYZgXYZ,bXYZ@dmndTpdmddvuedLview \
$lumimeas$tech0rTRC<gTRC<bTRC<textCopyright \
(c) 1998 Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB \
IEC61966-2.1XYZ QXYZ \
XYZ o8XYZ bXYZ $ \
descIEC http://www.iec.chIEC \
http://www.iec.chdesc.IEC \
61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour \
space - sRGBdesc,Reference Viewing Condition in \
IEC61966-2.1,Reference Viewing Condition in \
IEC61966-2.1view_.\XYZ \
L	VPWmeassig CRT curv \
#(-27;@EJOTY^chmrw|
 %+28>ELRY`gnu|&/8AK \
T]gqz!-8COZfr~ \
-;HUcq~ \
+:IXgw'7HYj{+=Oat2FZn		%	:	O	d	y						
 
'
=
T
j





"9Qi*C\u


&
@
Z
t




.Id	%A^z	&Ca~1Om&Ed \
#Cc'Ij4Vx&IlAe@e \
Ek*Qw;c*R{Gp@j>i \
 A l   !!H!u!!!"'"U"""# #8#f## \
#$$M$|$$%	%8%h%%%&'&W&&&''I'z''( \
(?(q(())8)k))**5*h**++6+i++,,9,n,,--A-v--..L.../$/Z///050l0011J1112*2c223
 3F3334+4e4455M55 \
5676r667$7`7788P8899B999:6:t::;-;k;;<'<e<<="=a==> >`> \
>?!?a??@#@d@@A)AjAAB0BrBBC:C}CDDGDDEEUEEF"FgFFG5G{GHHKHHIIcII \
> J7J}JKKSKKL*LrLMMJMMN%NnNOOIOOP'PqPQQPQQR1R|RSS_SSTBTTU(UuU \
> VV\VVWDWWX/X}XYYiYZZVZZ[E[[\5\\]']x]^^l^__a_``W``aOaabIbb \
> cCccd@dde=eef=ffg=ggh?hhiCiijHjjkOkklWlmm`mnnknooxop+ppq:qqrKrss]sttptu(uuv>vvwVwxxnxy*yyzFz{{c{ \
> |!||}A}~~b~ #G
k͂0WGrׇ;iΉ3dʋ0cʍ1fΏ6n֑?zM \
_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
0q?.g=p'e0Jp;TPO:bQ>F~uė@_oĹbL;?{sx׾cKzӏ8JW|a*v# \
]b S5itqxdA|C	I
R$CٖA\cP $@x*̤l<0maD@xMH]LIPF-c_=m<y-V \
a@!ʀWFXLZ:',84ljn E'$,a

vE JD"# 1xktjYp* iz~Ɖ
NZqTD$-oJP3MD1(@Ljf"9	 2{ip㋓i%*aSCE> \
	;zξ+ Rl^XGYC,Fl9j>YjW[26lvXM46s)?Z. \
h@vZU6|(U-;$5$;0QJ8y),X!#^ATơ>!.4|)kSƐ!ob_EDU,#E1eHOĤ




_______________________________________________
CRIU mailing list
CRIU@openvz.org
https://lists.openvz.org/mailman/listinfo/criu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic