Public bug reported:

o2image fails on s390x:

dd if=/dev/zero of=/tmp/disk bs=1M count=200
losetup --find --show /tmp/disk
mkfs.ocfs2 --cluster-stack=o2cb --cluster-name=ocfs2 /dev/loop0 # loop dev 
found in prev step

Then this comand:
o2image /dev/loop0 /tmp/disk.image

Results in:
Segmentation fault (core dumped)

dmesg:
[  862.642556] ocfs2: Registered cluster interface o2cb
[  870.880635] User process fault: interruption code 003b ilc:3 in 
o2image[10c180000+2e000]
[  870.880643] Failing address: 0000000000000000 TEID: 0000000000000800
[  870.880644] Fault in primary space mode while using user ASCE.
[  870.880646] AS:000000003d8f81c7 R3:0000000000000024 
[  870.880650] CPU: 0 PID: 1484 Comm: o2image Not tainted 4.13.0-30-generic 
#33-Ubuntu
[  870.880651] Hardware name: IBM 2964 N63 400 (KVM/Linux)
[  870.880652] task: 000000003cb81200 task.stack: 000000003d50c000
[  870.880653] User PSW : 0705000180000000 000000010c184212
[  870.880654]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  870.880655] User GPRS: 0000000144f0cc10 0000000000000001 0000000000000001 
0000000000000000
[  870.880655]            0000000000000000 0000000144ef6090 0000000144f13cc0 
0000000100000000
[  870.880656]            0000000144ef6000 0000000144ef3280 0000000144f13cd8 
0000000000037ee8
[  870.880656]            000003ff965a6000 000003ffe5e7e410 000000010c183bc6 
000003ffe5e7e370
[  870.880663] User Code: 000000010c184202: b9080034            agr     %r3,%r4
                          000000010c184206: c02b00000007        nilf    %r2,7
                         #000000010c18420c: eb21200000df        sllk    
%r2,%r1,0(%r2)
                         >000000010c184212: e31030000090        llgc    
%r1,0(%r3)
                          000000010c184218: b9f61042            ork     
%r4,%r2,%r1
                          000000010c18421c: 1421                nr      %r2,%r1
                          000000010c18421e: 42403000            stc     
%r4,0(%r3)
                          000000010c184222: 1322                lcr     %r2,%r2
[  870.880672] Last Breaking-Event-Address:
[  870.880675]  [<000000010c18e4ca>] 0x10c18e4ca

Upstream issue:
https://github.com/markfasheh/ocfs2-tools/issues/22

This was triggered by our ocfs2-tools dep8 tests:
http://autopkgtest.ubuntu.com/packages/o/ocfs2-tools/bionic/s390x

** Affects: ocfs2-tools
     Importance: Unknown
         Status: New

** Affects: ocfs2-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: github.com/markfasheh/ocfs2-tools/issues #22
   https://github.com/markfasheh/ocfs2-tools/issues/22

** Also affects: ocfs2-tools via
   https://github.com/markfasheh/ocfs2-tools/issues/22
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ocfs2-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1745155

Title:
  o2image fails on s390x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocfs2-tools/+bug/1745155/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to