Project

General

Profile

Bug #50579

pacific: Ceph SIGILL on RaspberryPi 4 aarch64

Added by David Caro about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When trying to start ceph on a container (pacific v16.2.1) using cephadmin, ceph fails with SIGILL and crashes.

The issue seems to be related to https://github.com/facebook/rocksdb/commit/29f7bbef995bdf83098963799c66af742e95373f#diff-f4b9c0bf2f081ff23a370e62ccca17b723c40ab258ff12cd7901d4bca02901cf, so probably adding this patch will fix the issue.

Some extra information:

root@node1:~# podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/ceph/ceph v16 cad47f91ce78 9 days ago 1.08 GB
docker.io/ceph/ceph v16.2.1 cad47f91ce78 9 days ago 1.08 GB

root@node1:~# uname -a
Linux node1 5.10.17-v8+ #1403 SMP PREEMPT Mon Feb 22 11:37:54 GMT 2021 aarch64 GNU/Linux

Some of the logs (podman logs ceph-...):
...
debug -3> 2021-04-29T08:59:21.779+0000 7f8049d040 4 rocksdb: EVENT_LOG_v1 {"time_micros": 1619686761783767, "job": 1, "event": "recovery_started", "log_files": [6]}
debug -2> 2021-04-29T08:59:21.779+0000 7f8049d040 4 rocksdb: [db_impl/db_impl_open.cc:760] Recovering log #6 mode 2
debug -1> 2021-04-29T08:59:21.787+0000 7f8049d040 3 rocksdb: [le/block_based/filter_policy.cc:584] Using legacy Bloom filter with high (20) bits/key. Dramatic filter space and/or accuracy improvement is available with format_version>=5.
debug 0> 2021-04-29T08:59:21.795+0000 7f8049d040 -1 ** Caught signal (Illegal instruction) *
in thread 7f8049d040 thread_name:ceph-mon

ceph version 16.2.1 (afb9061ab4117f798c858c741efa6390e48ccf10) pacific (stable)                                                                                
1: __kernel_rt_sigreturn()
2: (crc32c_arm64(unsigned int, unsigned char const*, unsigned int)+0x45c) [0x5561048d2c]
3: (rocksdb::BlockBasedTableBuilder::WriteRawBlock(rocksdb::Slice const&, rocksdb::CompressionType, rocksdb::BlockHandle*, bool)+0x59c) [0x55610a3514]
4: (rocksdb::BlockBasedTableBuilder::WriteBlock(rocksdb::Slice const&, rocksdb::BlockHandle*, bool)+0x1b4) [0x55610a3764]
5: (rocksdb::BlockBasedTableBuilder::WriteBlock(rocksdb::BlockBuilder*, rocksdb::BlockHandle*, bool)+0x40) [0x55610a3d00]
...

Let me know if you need anything else and/or how to gather more info.
Thanks!

History

#1 Updated by Kefu Chai about 2 months ago

  • Subject changed from Ceph SIGILL on RaspberryPi 4 aarch64 to pacific: Ceph SIGILL on RaspberryPi 4 aarch64
  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai
  • Pull request ID set to 41079

#3 Updated by Kefu Chai about 1 month ago

  • Status changed from Fix Under Review to Resolved

#4 Updated by Loïc Dachary about 1 month ago

  • Target version set to v16.2.5

Also available in: Atom PDF