Installing OMV trigger kernel crash on Helios64 (maybe also other rk3399 board)

Description

Tested with Armbian_20.08.3_Helios64_buster_current_5.8.7 image and using armbian-config to install OMV.
After a while, serial console (verbosity=7) show:

[ 903.645405] lvm2-activation-generator: lvmconfig failed [ 903.646005] lvm2-activation-generator: Activation generator failed. [ 904.401644] lvm2-activation-generator: lvmconfig failed [ 904.402211] lvm2-activation-generator: Activation generator failed. [ 905.217562] Unable to handle kernel paging request at virtual address 006400007473a138 [ 905.218326] Mem abort info: [ 905.218591] ESR = 0x96000004 [ 905.218872] EC = 0x25: DABT (current EL), IL = 32 bits [ 905.219348] SET = 0, FnV = 0 [ 905.219627] EA = 0, S1PTW = 0 [ 905.219912] Data abort info: [ 905.220174] ISV = 0, ISS = 0x00000004 [ 905.220519] CM = 0, WnR = 0 [ 905.220791] [006400007473a138] address between user and kernel address ranges [ 905.221431] Internal error: Oops: 96000004 [#1] PREEMPT SMP [ 905.221937] Modules linked in: nfsd auth_rpcgss nfs_acl lockd grace sunrpc rfkill governor_performance snd_soc_hdmi_codec r8152 snd_soc_rockchip_i2s hantro_vpu(C) rockchip_vdec(C) zstd rockchip_rga v4l2_h264 rockchipdrm videobuf2_dma_contig snd_soc_core dw_mipi_dsi videobuf2_vmalloc videobuf2_dma_sg v4l2_mem2mem dw_hdmi videobuf2_memops videobuf2_v4l2 snd_pcm_dmaengine analogix_dp snd_pcm videobuf2_common panfrost sg drm_kms_helper snd_timer cec gpu_sched pwm_fan leds_pwm videodev gpio_charger snd rc_core mc soundcore drm fusb30x(C) drm_panel_orientation_quirks gpio_beeper cpufreq_dt zram lm75 ip_tables x_tables autofs4 raid1 raid0 multipath linear raid456 async_raid6_recov raid10 async_memcpy async_pq async_xor async_tx md_mod realtek dwmac_rk stmmac_platform stmmac mdio_xpcs adc_keys [ 905.228182] CPU: 2 PID: 20618 Comm: (sd-executor) Tainted: G C 5.8.7-rockchip64 #20.08.3 [ 905.229020] Hardware name: Helios64 (DT) [ 905.229379] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--) [ 905.229895] pc : anon_vma_interval_tree_insert+0x48/0xd0 [ 905.230385] lr : anon_vma_clone+0xb8/0x1d8 [ 905.230757] sp : ffff800014313b00 [ 905.231061] x29: ffff800014313b00 x28: ffff0000e417a160 [ 905.231546] x27: ffff0000e417a160 x26: ffff0000bd85c780 [ 905.232030] x25: ffff000092344738 x24: ffff0000bd85c7f8 [ 905.232516] x23: ffff800011a3b110 x22: ffff0000923446c0 [ 905.233003] x21: ffff0000909878f0 x20: ffff0000909aeec0 [ 905.233489] x19: ffff0000920fbf80 x18: 0000000000000000 [ 905.233976] x17: 0000000000000000 x16: 0000000000000000 [ 905.234468] x15: 0000000000000000 x14: 0000000000000000 [ 905.234954] x13: 0000000000000000 x12: 0000000000000000 [ 905.235440] x11: ffff0000e5c19e00 x10: 000000000000005c [ 905.235926] x9 : 000000000000005e x8 : 0000000000000001 [ 905.236411] x7 : 0000ffff8c275000 x6 : 000000000000005c [ 905.236898] x5 : 000000000000005b x4 : ffff0000920fbf80 [ 905.237380] x3 : 316400007473a120 x2 : 000000000000005e [ 905.237864] x1 : ffff000090987930 x0 : ffff0000920fbfa0 [ 905.238351] Call trace: [ 905.238588] anon_vma_interval_tree_insert+0x48/0xd0 [ 905.239041] anon_vma_clone+0xb8/0x1d8 [ 905.239386] anon_vma_fork+0x2c/0x1a8 [ 905.239727] dup_mm+0x32c/0x518 [ 905.240018] copy_process+0x7e4/0x1540 [ 905.240362] _do_fork+0x80/0x448 [ 905.240661] __do_sys_clone+0x6c/0x98 [ 905.240996] __arm64_sys_clone+0x20/0x30 [ 905.241355] el0_svc_common.constprop.0+0x70/0x188 [ 905.241789] do_el0_svc+0x24/0x90 [ 905.242101] el0_sync_handler+0x90/0x198 [ 905.242460] el0_sync+0x158/0x180 [ 905.242776] Code: f9400867 91004065 b40001c7 aa0703e3 (f9400c69) [ 905.243325] ---[ end trace 315f6d4459849fe9 ]--- [ 905.254424] lvm2-activation-generator: lvmconfig failed [ 905.254966] lvm2-activation-generator: Activation generator failed.

existing SSH session not responding, serial console still responding and can login but took quite some time until shell ready (bash prompt appear).
command reboot took quite some time then return to bash.

Environment

None

Checklist

hide

Activity

Show:

Chris Lee (clee) June 28, 2022 at 12:53 AM

I was able to install OMV using the latest public OMV installer script from https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install and running it with sudo bash on a Rock Pi 4A (also RK3399) using the latest bullseye-current image (22.05.3). I don’t have a helios64 board here to confirm but I think this is fixed.

Done

Details

Assignee

Reporter

SOC

Rockchip RK3399

Board Name

helios64

Components

Affects versions

Priority

Created September 8, 2020 at 3:12 AM
Updated June 28, 2022 at 12:53 AM
Resolved June 28, 2022 at 12:53 AM