Flashing an HMI image on the eMMC of R-car H3e-2G board leads to a kernel panic.
Affected images versions
- not relevant (explain why)
- see the table below (list the *architecture and build id of the tested images in the appropriate cells)
Deployment | Type | v2022 | v2023.3rc1 | v2024dev3 |
---|---|---|---|---|
apt | minimal/fixedfunction | x | ||
ostree | minimal/fixedfunction | |||
apt | target/hmi | x | ||
ostree | target/hmi | |||
apt | basesdk | |||
apt | sdk | |||
apt | nfs | |||
apt | lxc | |||
apt | image-builder | |||
apt | package-source-builder |
To find the build id and the variant type you can:
- derive it from the image name
- for instance, with the
apertis_ostree_v2022pre-fixedfunction-amd64-uefi_20211031.0425.img.gz
image the build id is 20211031.0425, the variant isfixedfunction
the deployment type isostree
- for instance, with the
- obtain it from
/etc/os-release
using theBUILD_ID
andVARIANT_ID
keys
Unaffected images versions
TBD
Testcase
NA
Steps to reproduce
Flash apertis_v2023-fixedfunction-arm64-uboot_v2023.3rc1.img.gz
on an sd card, then boot this apertis from a R-car H3e-2G board.
From the running apertis, try to flash an HMI like apertis_v2023-hmi-arm64-uboot_v2023.3rc1.img.gz
with:
sudo bmaptool copy https://images.apertis.org/release/v2023/v2023.3rc1/arm64/hmi/apertis_v2023-hmi-arm64-uboot_v2023.3rc1.img.gz /dev/mmcblk0
While bmaptools is copying the data, the kernel panic.
Expected result
We should be able to flash an hmi image on the emmc of the board. No issue when flashing a fixedfunction image.
Actual result
Kernel panic with:
[ 151.641087] Unable to handle kernel paging request at virtual address 001b8f9f07301943
[ 151.649101] Mem abort info:
[ 151.651919] ESR = 0x0000000096000004
[ 151.655707] EC = 0x25: DABT (current EL), IL = 32 bits
[ 151.661042] SET = 0, FnV = 0
[ 151.664107] EA = 0, S1PTW = 0
[ 151.667260] FSC = 0x04: level 0 translation fault
[ 151.672148] Data abort info:
[ 151.675036] ISV = 0, ISS = 0x00000004
[ 151.678877] CM = 0, WnR = 0
[ 151.681861] [001b8f9f07301943] address between user and kernel address ranges
[ 151.689031] Internal error: Oops: 0000000096000004 [#1] SMP
[ 151.694612] Modules linked in: 8021q garp mrp stp llc rfkill iptable_nat nf_nat iptable_mangle iptable_filter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c nfnetlink snd_soc_hdmi_codec rcar_du_drm rcar_mipi_dsi dw_hdmi_i2s_audio dw_hdmi_cec rcar_lvds aes_ce_blk aes_ce_cipher polyval_ce polyval_generic rcar_dw_hdmi ghash_ce dw_hdmi gf128mul vsp1 cec sha2_ce snd_soc_rcar videobuf2_vmalloc snd_soc_audio_graph_card2 sha256_arm64 snd_soc_ak4613 snd_soc_simple_card_utils rc_core videobuf2_dma_contig sha1_ce videobuf2_memops drm_display_helper videobuf2_v4l2 snd_soc_core videobuf2_common drm_dma_helper rcar_cmm snd_pcm_dmaengine videodev snd_pcm mc rcar_fcp snd_timer display_connector snd soundcore drm_kms_helper evdev leds_gpio cpufreq_dt fuse configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic panfrost drm_shmem_helper gpu_sched drm governor_simpleondemand
[ 151.694934] cls_cgroup clk_versaclock5 ohci_platform ohci_hcd ehci_platform ehci_hcd crct10dif_ce crct10dif_common usbcore phy_rcar_gen3_usb2 renesas_sdhi_internal_dmac renesas_sdhi_core usb_common tmio_mmc_core micrel ravb mdio_bitbang of_mdio fixed_phy fwnode_mdio libphy i2c_rcar i2c_smbus gpio_regulator fixed gpio_keys
[ 151.810890] CPU: 5 PID: 600 Comm: bmaptool Not tainted 6.1.0-0.deb11.13-arm64 #1 Debian 6.1.55-1~bpo11+1+apertis1
[ 151.821263] Hardware name: Renesas H3ULCB board based on r8a779m1 (DT)
[ 151.827797] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 151.834769] pc : __kmem_cache_alloc_node+0x190/0x2b0
[ 151.839755] lr : __kmem_cache_alloc_node+0xa8/0x2b0
[ 151.844636] sp : ffff80000afa3700
[ 151.847950] x29: ffff80000afa3700 x28: 00000000000018dd x27: 0000000000000000
[ 151.855099] x26: ffff800009bcf000 x25: 0000000000000138 x24: ffff800008389efc
[ 151.862244] x23: 0000000000000000 x22: 0000000000008d40 x21: 0000000000000000
[ 151.869389] x20: ffff80000970d6f0 x19: ffff0004c0002400 x18: 0000000000000000
[ 151.876539] x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffff90107300
[ 151.883685] x14: 1400001152800020 x13: ffff0006ff7d9380 x12: 0000000000000005
[ 151.890830] x11: ffff80000970e9a0 x10: 0000000000000000 x9 : ffff800008369824
[ 151.897975] x8 : ffff000011cfb4e0 x7 : 0000000000000000 x6 : 0000000000000000
[ 151.905119] x5 : ffff0004c93ed140 x4 : ffff0006ff76f6f0 x3 : f1f1c3ca4f0eda86
[ 151.912263] x2 : 431930079f8f1bbc x1 : 0000000000000100 x0 : bc1b8f9f07301843
[ 151.919410] Call trace:
[ 151.921858] __kmem_cache_alloc_node+0x190/0x2b0
[ 151.926483] __kmalloc_node+0x70/0x1e0
[ 151.930242] memcg_alloc_slab_cgroups+0x4c/0xa4
[ 151.934782] memcg_slab_post_alloc_hook+0xa4/0x1cc
[ 151.939581] kmem_cache_alloc+0x168/0x310
[ 151.943596] alloc_buffer_head+0x28/0x94
[ 151.947528] alloc_page_buffers+0xf0/0x1b4
[ 151.951630] create_empty_buffers+0x2c/0x23c
[ 151.955906] create_page_buffers+0x78/0x84
[ 151.960008] __block_write_begin_int+0x7c/0x674
[ 151.964541] block_write_begin+0x64/0x100
[ 151.968554] blkdev_write_begin+0x30/0x40
[ 151.972573] generic_perform_write+0xb0/0x1dc
[ 151.976938] __generic_file_write_iter+0x118/0x1a0
[ 151.981733] blkdev_write_iter+0x100/0x1a0
[ 151.985835] vfs_write+0x294/0x360
[ 151.989244] ksys_write+0x70/0x100
[ 151.992650] __arm64_sys_write+0x24/0x30
[ 151.996577] invoke_syscall+0x78/0x100
[ 152.000336] el0_svc_common.constprop.0+0x4c/0xf4
[ 152.005047] do_el0_svc+0x34/0xd0
[ 152.008366] el0_svc+0x34/0xdc
[ 152.011425] el0t_64_sync_handler+0xb8/0xc0
[ 152.015612] el0t_64_sync+0x18c/0x190
[ 152.019285] Code: b9402a61 f9405e63 8b010002 dac00c42 (f861681b)
[ 152.025385] ---[ end trace 0000000000000000 ]---
[ 152.030084] ------------[ cut here ]------------
[ 152.034731] WARNING: CPU: 5 PID: 600 at kernel/exit.c:814 do_exit+0x804/0x9ec
[ 152.041892] Modules linked in: 8021q garp mrp stp llc rfkill iptable_nat nf_nat iptable_mangle iptable_filter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c nfnetlink snd_soc_hdmi_codec rcar_du_drm rcar_mipi_dsi dw_hdmi_i2s_audio dw_hdmi_cec rcar_lvds aes_ce_blk aes_ce_cipher polyval_ce polyval_generic rcar_dw_hdmi ghash_ce dw_hdmi gf128mul vsp1 cec sha2_ce snd_soc_rcar videobuf2_vmalloc snd_soc_audio_graph_card2 sha256_arm64 snd_soc_ak4613 snd_soc_simple_card_utils rc_core videobuf2_dma_contig sha1_ce videobuf2_memops drm_display_helper videobuf2_v4l2 snd_soc_core videobuf2_common drm_dma_helper rcar_cmm snd_pcm_dmaengine videodev snd_pcm mc rcar_fcp snd_timer display_connector snd soundcore drm_kms_helper evdev leds_gpio cpufreq_dt fuse configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic panfrost drm_shmem_helper gpu_sched drm governor_simpleondemand
[ 152.042184] cls_cgroup
[ 152.079743] ------------[ cut here ]------------
[ 152.129349] clk_versaclock5
[ 152.131791] kernel BUG at include/linux/scatterlist.h:115!
[ 152.136400] ohci_platform
[ 152.139276] Internal error: Oops - BUG: 00000000f2000800 [#2] SMP
[ 152.144750] ohci_hcd
[ 152.147451] Modules linked in:
[ 152.153534] ehci_platform
[ 152.155798] 8021q
[ 152.158845] ehci_hcd
[ 152.161543] garp
[ 152.163548] crct10dif_ce
[ 152.165812] mrp
[ 152.167731] crct10dif_common
[ 152.170342] stp
[ 152.172174] usbcore
[ 152.175132] llc
[ 152.176964] phy_rcar_gen3_usb2
[ 152.179140] rfkill
[ 152.180972] renesas_sdhi_internal_dmac
[ 152.184104] iptable_nat
[ 152.186197] renesas_sdhi_core
[ 152.190023] nf_nat
[ 152.192550] usb_common
[ 152.195594] iptable_mangle
[ 152.197687] tmio_mmc_core
[ 152.200123] iptable_filter
[ 152.202911] micrel
[ 152.205608] ip6t_REJECT
[ 152.208395] ravb
[ 152.210485] nf_reject_ipv6
[ 152.213012] mdio_bitbang
[ 152.214928] ipt_REJECT
[ 152.217715] of_mdio
[ 152.220326] nf_reject_ipv4
[ 152.222765] fixed_phy
[ 152.224942] xt_tcpudp
[ 152.227729] fwnode_mdio
[ 152.230080] xt_state
[ 152.232433] libphy
[ 152.234956] xt_conntrack
[ 152.237222] i2c_rcar
[ 152.239312] nf_conntrack
[ 152.241926] i2c_smbus
[ 152.244189] nf_defrag_ipv6
[ 152.246803] gpio_regulator
[ 152.249153] nf_defrag_ipv4
[ 152.251940] fixed
[ 152.254724] nft_compat nf_tables
[ 152.257512] gpio_keys
[ 152.259515] libcrc32c
[ 152.262822]
[ 152.265173] nfnetlink
[ 152.267530] CPU: 5 PID: 600 Comm: bmaptool Tainted: G D 6.1.0-0.deb11.13-arm64 #1 Debian 6.1.55-1~bpo11+1+apertis1
[ 152.269009] snd_soc_hdmi_codec
[ 152.271361] Hardware name: Renesas H3ULCB board based on r8a779m1 (DT)
[ 152.283174] rcar_du_drm
[ 152.286311] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 152.292826] rcar_mipi_dsi
[ 152.295353] pc : do_exit+0x804/0x9ec
[ 152.302305] dw_hdmi_i2s_audio
[ 152.305004] lr : do_exit+0x78/0x9ec
[ 152.308570] dw_hdmi_cec
[ 152.311618] sp : ffff80000afa3320
[ 152.315097] rcar_lvds aes_ce_blk
[ 152.317624] x29: ffff80000afa3320
[ 152.320929] aes_ce_cipher
[ 152.324237] x28: ffff0004c93ed140
[ 152.327542] polyval_ce
[ 152.330242] x27: 0000000000000000
[ 152.333634] polyval_generic
[ 152.336074]
[ 152.339466] rcar_dw_hdmi
[ 152.342339] x26: ffff800009bcf000
[ 152.343822] ghash_ce
[ 152.346435] x25: 0000000000000138
[ 152.349741] dw_hdmi
[ 152.352006] x24: 0000000000000001
[ 152.355399] gf128mul
[ 152.357578]
[ 152.360970] vsp1 cec
[ 152.363236] x23: 0000000000000000
[ 152.364719] sha2_ce
[ 152.366985] x22: 000000000000000b
[ 152.370290] snd_soc_rcar
[ 152.372469] x21: ffff0004ca95dac0
[ 152.375862] videobuf2_vmalloc
[ 152.378474]
[ 152.381867] snd_soc_audio_graph_card2
[ 152.384914] x20: ffff0004c1288480
[ 152.386397] sha256_arm64
[ 152.390139] x19: ffff0004c93ed140
[ 152.393445] snd_soc_ak4613
[ 152.396057] x18: 0000000000000001
[ 152.399450] snd_soc_simple_card_utils
[ 152.402236]
[ 152.405629] rc_core videobuf2_dma_contig
[ 152.409371] x17: 3438313033373066
[ 152.410854] sha1_ce videobuf2_memops
[ 152.414855] x16: 3966386231636220
[ 152.418161] drm_display_helper
[ 152.421815] x15: 0720072007200720
[ 152.425208] videobuf2_v4l2
[ 152.428342]
[ 152.431734] snd_soc_core
[ 152.434521] x14: 0720072d072d072d
[ 152.436003] videobuf2_common
[ 152.438616] x13: 0720072007200720
[ 152.441922] drm_dma_helper
[ 152.444882] x12: 0720072d072d072d
[ 152.448275] rcar_cmm
[ 152.451061]
[ 152.454453] snd_pcm_dmaengine
[ 152.456719] x11: 00000000ffffefff
[ 152.458202] videodev
[ 152.461249] x10: 00000000ffffefff
[ 152.464554] snd_pcm
[ 152.466820] x9 : ffff80000809dc98
[ 152.470213] mc
[ 152.472391]
[ 152.475784] rcar_fcp
[ 152.477528] x8 : 0000000000017fe8
[ 152.479011] snd_timer display_connector
[ 152.481277] x7 : c0000000ffffefff
[ 152.484583] snd
[ 152.488497] x6 : 0000000000000001
[ 152.491890] soundcore
[ 152.493721]
[ 152.497114] drm_kms_helper
[ 152.499466] x5 : ffff0006ff75bad8
[ 152.500950] evdev
[ 152.503736] x4 : 0000000000000000
[ 152.507041] leds_gpio
[ 152.509046] x3 : ffff0004ca95dac0
[ 152.512439] cpufreq_dt
[ 152.514791]
[ 152.518184] fuse
[ 152.520623] x2 : 0000000000000001
[ 152.522106] configfs ip_tables
[ 152.524024] x1 : 0000000000000000
[ 152.527331] x_tables
[ 152.530464] x0 : ffff80000afa3b90
[ 152.533856] autofs4
[ 152.536122]
[ 152.539514] ext4
[ 152.541695] Call trace:
[ 152.543176] crc16
[ 152.545096] do_exit+0x804/0x9ec
[ 152.547532] mbcache
[ 152.549538] make_task_dead+0xa8/0x1a4
[ 152.552756] jbd2 crc32c_generic
[ 152.554936] die+0x288/0x2d0
[ 152.558675] panfrost drm_shmem_helper
[ 152.561896] die_kernel_fault+0x270/0x360
[ 152.564768] gpu_sched
[ 152.568510] __do_kernel_fault+0x12c/0x1c0
[ 152.572510] drm
[ 152.574862] do_bad_area+0x70/0x80
[ 152.578949] governor_simpleondemand
[ 152.580781] do_translation_fault+0x40/0x70
[ 152.584173] cls_cgroup clk_versaclock5
[ 152.587741] do_mem_abort+0x4c/0xa0
[ 152.591916] ohci_platform
[ 152.595744] el1_abort+0x40/0x6c
[ 152.599223] ohci_hcd
[ 152.601923] el1h_64_sync_handler+0xd8/0xe4
[ 152.605141] ehci_platform
[ 152.607407] el1h_64_sync+0x64/0x68
[ 152.611581] ehci_hcd
[ 152.614281] __kmem_cache_alloc_node+0x190/0x2b0
[ 152.617760] crct10dif_ce crct10dif_common
[ 152.620026] __kmalloc_node+0x70/0x1e0
[ 152.624634] usbcore
[ 152.628722] memcg_alloc_slab_cgroups+0x4c/0xa4
[ 152.632462] phy_rcar_gen3_usb2
[ 152.634641] memcg_slab_post_alloc_hook+0xa4/0x1cc
[ 152.639162] renesas_sdhi_internal_dmac renesas_sdhi_core
[ 152.642296] kmem_cache_alloc+0x168/0x310
[ 152.647077] usb_common tmio_mmc_core
[ 152.652469] alloc_buffer_head+0x28/0x94
[ 152.656469] micrel
[ 152.660123] alloc_page_buffers+0xf0/0x1b4
[ 152.664037] ravb
[ 152.666129] create_empty_buffers+0x2c/0x23c
[ 152.670216] mdio_bitbang
[ 152.672135] create_page_buffers+0x78/0x84
[ 152.676398] of_mdio
[ 152.679011] __block_write_begin_int+0x7c/0x674
[ 152.683097] fixed_phy
[ 152.685277] block_write_begin+0x64/0x100
[ 152.689797] fwnode_mdio
[ 152.692150] blkdev_write_begin+0x30/0x40
[ 152.696150] libphy
[ 152.698676] generic_perform_write+0xb0/0x1dc
[ 152.702676] i2c_rcar
[ 152.704769] __generic_file_write_iter+0x118/0x1a0
[ 152.709116] i2c_smbus
[ 152.711382] blkdev_write_iter+0x100/0x1a0
[ 152.716163] gpio_regulator
[ 152.718517] vfs_write+0x294/0x360
[ 152.722603] fixed gpio_keys
[ 152.725390] ksys_write+0x70/0x100
[ 152.728783]
[ 152.728785] CPU: 3 PID: 268 Comm: kworker/3:2H Tainted: G D 6.1.0-0.deb11.13-arm64 #1 Debian 6.1.55-1~bpo11+1+apertis1
[ 152.731656] __arm64_sys_write+0x24/0x30
[ 152.735048] Hardware name: Renesas H3ULCB board based on r8a779m1 (DT)
[ 152.736533] invoke_syscall+0x78/0x100
[ 152.748694] Workqueue: kblockd blk_mq_run_work_fn
[ 152.752608] el0_svc_common.constprop.0+0x4c/0xf4
[ 152.759125]
[ 152.759129] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 152.762868] do_el0_svc+0x34/0xd0
[ 152.767562] pc : __blk_rq_map_sg+0x2e8/0x470
[ 152.772258] el0_svc+0x34/0xdc
[ 152.773741] lr : mmc_queue_map_sg+0x40/0xb0
[ 152.780695] el0t_64_sync_handler+0xb8/0xc0
[ 152.784000] sp : ffff80000a55b950
[ 152.788263] el0t_64_sync+0x18c/0x190
[ 152.791308] x29: ffff80000a55b950
[ 152.795484] ---[ end trace 0000000000000000 ]---
[ 152.799658] x28: 0000000000001000
[ 152.805087] Unable to handle kernel paging request at virtual address 31ba4ad35cec7606
[ 152.806618] x27: 0000000000001000
[ 152.806622] x26: ffff80000a55ba20 x25: ffff0006c9d0cf00 x24: 0000000000000000
[ 152.806629] x23: ffff0004ca0dd280 x22: 037afa985cec75fe x21: 00000000a7ca2c4b
[ 152.809954] Mem abort info:
[ 152.814546]
[ 152.814548] x20: 0000000000000000 x19: ffff0004cb7d0840 x18: 0000000000000014
[ 152.814555] x17: 0000000000000225 x16: 00000000ffffffff x15: 00000000ffffffff
[ 152.814561] x14: 0000000000000c4b x13: 0000000000000000 x12: ffff8000091114e0
[ 152.814568] x11: 0000000000000001 x10: 0000000000000000 x9 : ffff8000089b6b80
[ 152.817970] ESR = 0x0000000096000004
[ 152.825870]
[ 152.825871] x8 : 0000000000001000 x7 : 00000000000003e8 x6 : 0000000000000000
[ 152.829270] EC = 0x25: DABT (current EL), IL = 32 bits
[ 152.836391]
[ 152.836392] x5 : 0000000000001000 x4 : 037afa985f8b9e7e
[ 152.843527] SET = 0, FnV = 0
[ 152.846304] x3 : 00000000a7ca2c4b
[ 152.846307] x2 : ffff0004cb7cc000
[ 152.847790] EA = 0, S1PTW = 0
[ 152.854915] x1 : fffffc0000000000 x0 : ffff0004cb7cc000
[ 152.862050] FSC = 0x04: level 0 translation fault
[ 152.869169] Call trace:
[ 152.869172] __blk_rq_map_sg+0x2e8/0x470
[ 152.876300] Data abort info:
[ 152.880036] mmc_queue_map_sg+0x40/0xb0
[ 152.881525] ISV = 0, ISS = 0x00000004
[ 152.888646] mmc_blk_data_prep+0x1c0/0x360
[ 152.893954] CM = 0, WnR = 0
[ 152.895434] mmc_blk_rw_rq_prep+0x50/0x180
[ 152.900653] [31ba4ad35cec7606] address between user and kernel address ranges
[ 152.903694] mmc_blk_mq_issue_rq+0x24c/0x89c
[ 152.903700] mmc_mq_queue_rq+0x14c/0x370
[ 152.967688] blk_mq_dispatch_rq_list+0x1b8/0xa60
[ 152.972306] blk_mq_do_dispatch_sched+0x2e0/0x370
[ 152.977013] __blk_mq_sched_dispatch_requests+0xf0/0x1ac
[ 152.982325] blk_mq_sched_dispatch_requests+0x44/0x80
[ 152.987376] __blk_mq_run_hw_queue+0x88/0xc0
[ 152.991644] blk_mq_run_work_fn+0x28/0x34
[ 152.995652] process_one_work+0x1f0/0x470
[ 152.999662] worker_thread+0x188/0x4e0
[ 153.003410] kthread+0xe0/0xe4
[ 153.006464] ret_from_fork+0x10/0x20
[ 153.010042] Code: f940000d 924005ad f240049f 54fff8e0 (d4210000)
[ 153.016134] ---[ end trace 0000000000000000 ]---
[ 153.020747] note: kworker/3:2H[268] exited with irqs disabled
[ 153.020748] Internal error: Oops: 0000000096000004 [#3] SMP
[ 153.026655] ------------[ cut here ]------------
[ 153.032050] Modules linked in: 8021q
[ 153.036660] WARNING: CPU: 3 PID: 0 at kernel/context_tracking.c:128 ct_kernel_exit.constprop.0+0xa0/0xb0
[ 153.040238] garp
[ 153.049706] Modules linked in:
[ 153.049709] mrp
[ 153.051625] 8021q
[ 153.054671] stp
[ 153.056499] garp
[ 153.058503] llc
[ 153.060332] mrp
[ 153.062249] rfkill
[ 153.064078] stp
[ 153.065908] iptable_nat
[ 153.067997] llc
[ 153.069827] nf_nat
[ 153.072350] rfkill
[ 153.074180] iptable_mangle
[ 153.076270] iptable_nat
[ 153.078360] iptable_filter
[ 153.081144] nf_nat
[ 153.083668] ip6t_REJECT
[ 153.086452] iptable_mangle
[ 153.088542] nf_reject_ipv6
[ 153.091065] iptable_filter
[ 153.093850] ipt_REJECT
[ 153.096634] ip6t_REJECT
[ 153.099419] nf_reject_ipv4
[ 153.101855] nf_reject_ipv6
[ 153.104379] xt_tcpudp
[ 153.107164] ipt_REJECT
[ 153.109948] xt_state
[ 153.112298] nf_reject_ipv4
[ 153.114735] xt_conntrack
[ 153.116999] xt_tcpudp
[ 153.119783] nf_conntrack
[ 153.122394] xt_state
[ 153.124744] nf_defrag_ipv6
[ 153.127355] xt_conntrack
[ 153.129619] nf_defrag_ipv4
[ 153.132402] nf_conntrack
[ 153.135013] nft_compat
[ 153.137797] nf_defrag_ipv6
[ 153.140408] nf_tables
[ 153.142845] nf_defrag_ipv4
[ 153.145629] libcrc32c
[ 153.147980] nft_compat
[ 153.150764] nfnetlink
[ 153.153114] nf_tables
[ 153.155552] snd_soc_hdmi_codec
[ 153.157902] libcrc32c
[ 153.160252] rcar_du_drm
[ 153.163383] nfnetlink
[ 153.165734] rcar_mipi_dsi
[ 153.168257] snd_soc_hdmi_codec
[ 153.170608] dw_hdmi_i2s_audio
[ 153.173305] rcar_du_drm
[ 153.176437] dw_hdmi_cec
[ 153.179481] rcar_mipi_dsi
[ 153.182005] rcar_lvds
[ 153.184529] dw_hdmi_i2s_audio
[ 153.187227] aes_ce_blk
[ 153.189577] dw_hdmi_cec
[ 153.192622] aes_ce_cipher
[ 153.195059] rcar_lvds
[ 153.197583] polyval_ce
[ 153.200280] aes_ce_blk
[ 153.202631] polyval_generic
[ 153.205068] aes_ce_cipher
[ 153.207505] rcar_dw_hdmi
[ 153.210376] polyval_ce
[ 153.213073] ghash_ce
[ 153.215684] polyval_generic
[ 153.218121] dw_hdmi
[ 153.220384] rcar_dw_hdmi
[ 153.223256] gf128mul
[ 153.225432] ghash_ce
[ 153.228043] vsp1
[ 153.230306] dw_hdmi
[ 153.232570] cec
[ 153.234486] gf128mul
[ 153.236662] sha2_ce
[ 153.238492] vsp1
[ 153.240756] snd_soc_rcar
[ 153.242932] cec
[ 153.244848] videobuf2_vmalloc
[ 153.247459] sha2_ce
[ 153.249289] snd_soc_audio_graph_card2
[ 153.252333] snd_soc_rcar
[ 153.254510] sha256_arm64
[ 153.258249] videobuf2_vmalloc
[ 153.260860] snd_soc_ak4613
[ 153.263470] snd_soc_audio_graph_card2
[ 153.266515] snd_soc_simple_card_utils
[ 153.269299] sha256_arm64
[ 153.273039] rc_core
[ 153.276778] snd_soc_ak4613
[ 153.279388] videobuf2_dma_contig
[ 153.281565] snd_soc_simple_card_utils
[ 153.284350] sha1_ce
[ 153.287654] rc_core
[ 153.291394] videobuf2_memops
[ 153.293570] videobuf2_dma_contig
[ 153.295747] drm_display_helper
[ 153.298705] sha1_ce
[ 153.302010] videobuf2_v4l2
[ 153.305141] videobuf2_memops
[ 153.307318] snd_soc_core
[ 153.310102] drm_display_helper
[ 153.313061] videobuf2_common
[ 153.315671] videobuf2_v4l2
[ 153.318803] drm_dma_helper
[ 153.321760] snd_soc_core
[ 153.324545] rcar_cmm
[ 153.327329] videobuf2_common
[ 153.329940] snd_pcm_dmaengine
[ 153.332203] drm_dma_helper
[ 153.335161] videodev
[ 153.338206] rcar_cmm
[ 153.340990] snd_pcm
[ 153.343253] snd_pcm_dmaengine
[ 153.345517] mc
[ 153.347694] videodev
[ 153.350739] rcar_fcp
[ 153.352481] snd_pcm
[ 153.354744] snd_timer
[ 153.357008] mc
[ 153.359185] display_connector
[ 153.361535] rcar_fcp
[ 153.363278] snd
[ 153.366322] snd_timer
[ 153.368585] soundcore
[ 153.370415] display_connector
[ 153.372765] drm_kms_helper
[ 153.375116] snd
[ 153.378161] evdev
[ 153.380945] soundcore
[ 153.382774] leds_gpio
[ 153.384777] drm_kms_helper
[ 153.387127] cpufreq_dt
[ 153.389478] evdev
[ 153.392262] fuse
[ 153.394699] leds_gpio
[ 153.396702] configfs
[ 153.398618] cpufreq_dt
[ 153.400969] ip_tables
[ 153.403232] fuse
[ 153.405669] x_tables
[ 153.408019] configfs
[ 153.409935] autofs4
[ 153.412199] ip_tables
[ 153.414463] ext4
[ 153.416639] x_tables
[ 153.418989] crc16
[ 153.420905] autofs4
[ 153.423170] mbcache
[ 153.425172] ext4
[ 153.427349] jbd2
[ 153.429525] crc16
[ 153.431441] crc32c_generic
[ 153.433358] mbcache
[ 153.435361] panfrost
[ 153.438145] jbd2
[ 153.440322] drm_shmem_helper
[ 153.442585] crc32c_generic
[ 153.444502] gpu_sched
[ 153.447459] panfrost
[ 153.450244] drm
[ 153.452594] drm_shmem_helper
[ 153.454858] governor_simpleondemand
[ 153.456687] gpu_sched
[ 153.459645] cls_cgroup
[ 153.463210] drm
[ 153.465560] clk_versaclock5
[ 153.467998] governor_simpleondemand
[ 153.469827] ohci_platform
[ 153.472698] cls_cgroup
[ 153.476264] ohci_hcd
[ 153.478961] clk_versaclock5
[ 153.481398] ehci_platform
[ 153.483662] ohci_platform
[ 153.486533] ehci_hcd
[ 153.489230] ohci_hcd
[ 153.491928] crct10dif_ce
[ 153.494191] ehci_platform
[ 153.496455] crct10dif_common
[ 153.499065] ehci_hcd
[ 153.501764] usbcore
[ 153.504721] crct10dif_ce
[ 153.506985] phy_rcar_gen3_usb2
[ 153.509161] crct10dif_common
[ 153.511771] renesas_sdhi_internal_dmac
[ 153.514903] usbcore
[ 153.517861] renesas_sdhi_core
[ 153.521687] phy_rcar_gen3_usb2
[ 153.523864] usb_common
[ 153.526908] renesas_sdhi_internal_dmac
[ 153.530040] tmio_mmc_core
[ 153.532477] renesas_sdhi_core
[ 153.536303] micrel
[ 153.539000] usb_common
[ 153.542045] ravb
[ 153.544135] tmio_mmc_core
[ 153.546572] mdio_bitbang
[ 153.548488] micrel
[ 153.551186] of_mdio
[ 153.553796] ravb
[ 153.555886] fixed_phy
[ 153.558063] mdio_bitbang
[ 153.559979] fwnode_mdio
[ 153.562329] of_mdio
[ 153.564940] libphy
[ 153.567464] fixed_phy
[ 153.569640] i2c_rcar
[ 153.571730] fwnode_mdio
[ 153.574081] i2c_smbus
[ 153.576344] libphy
[ 153.578868] gpio_regulator
[ 153.581218] i2c_rcar
[ 153.583308] fixed
[ 153.586092] i2c_smbus
[ 153.588356] gpio_keys
[ 153.590359] gpio_regulator
[ 153.592709]
[ 153.595060] fixed
[ 153.597846] CPU: 0 PID: 600 Comm: bmaptool Tainted: G D W 6.1.0-0.deb11.13-arm64 #1 Debian 6.1.55-1~bpo11+1+apertis1
[ 153.599326] gpio_keys
[ 153.601330] Hardware name: Renesas H3ULCB board based on r8a779m1 (DT)
[ 153.613142]
[ 153.615493] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 153.622009] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D W 6.1.0-0.deb11.13-arm64 #1 Debian 6.1.55-1~bpo11+1+apertis1
[ 153.623491] pc : free_swap_cache+0x1c/0xb0
[ 153.630442] Hardware name: Renesas H3ULCB board based on r8a779m1 (DT)
[ 153.642167] lr : free_pages_and_swap_cache+0x4c/0x7c
[ 153.646254] pstate: 200003c5 (nzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 153.652771] sp : ffff80000afa3110
[ 153.657725] pc : ct_kernel_exit.constprop.0+0xa0/0xb0
[ 153.664676] x29: ffff80000afa3110
[ 153.667981] lr : ct_idle_enter+0x14/0x20
[ 153.673022] x28: ffff0004c93ed140
[ 153.676328] sp : ffff80000a01bd60
[ 153.680240] x27: 0000000000000000
[ 153.683632] x29: ffff80000a01bd60
[ 153.686937]
[ 153.690329] x28: 0000000000000000
[ 153.693634] x26: ffff800009bcf000
[ 153.695117] x27: 0000000000000000
[ 153.698509] x25: 0000000000000138
[ 153.701814]
[ 153.705206] x24: ffff80000afa3278
[ 153.708597] x26: 0000000000000000
[ 153.710080]
[ 153.713472] x25: 0000000000000000
[ 153.716777] x23: ffff80000afa3248
[ 153.718259] x24: 00000023a1191f47
[ 153.721651] x22: ffff0000141b3010
[ 153.724956]
[ 153.728348] x21: 00000000000001fe
[ 153.731740] x23: 0000000000000000
[ 153.733222]
[ 153.736614] x22: ffff0004c86bf080
[ 153.739919] x20: ffff0000141b4000
[ 153.741401] x21: ffff0006ff72e7f8
[ 153.744793] x19: 31ba4ad35cec75fe
[ 153.748098]
[ 153.751491] x18: ffff80000afa3178
[ 153.754882] x20: 0000000000000005
[ 153.756364]
[ 153.759756] x19: ffff0006ff72c930
[ 153.763062] x17: 0000000000000251
[ 153.764544] x18: 0000000000000001
[ 153.767936] x16: ffff800008eddfe8
[ 153.771241]
[ 153.774633] x15: ffff0004c57e3e0c
[ 153.778025] x17: 0000000000000000
[ 153.779507]
[ 153.782899] x16: 0000000000000000
[ 153.786204] x14: 0000000000000000
[ 153.787686] x15: 0000000000000000
[ 153.791078] x13: 1fffe00098023101
[ 153.794383]
[ 153.797775] x12: ffff80000afa3178
[ 153.801167] x14: 0000000000000003
[ 153.802649]
[ 153.806041] x13: ffff800008ff0cd8
[ 153.809346] x11: ffff0004c0118800
[ 153.810828] x12: ffff800009bcebb0
[ 153.814221] x10: 0000000000000000
[ 153.817526]
[ 153.820918] x9 : ffff80000833b580
[ 153.824309] x11: 0000000000000001
[ 153.825792]
[ 153.829184] x10: 0000000000000bb0
[ 153.832489] x8 : 0000000000000004
[ 153.833971] x9 : ffff800008996788
[ 153.837363] x7 : ffff8006f5fcc000
[ 153.840668]
[ 153.844060] x6 : ffff80000afa3010
[ 153.847452] x8 : ffff0004c024bcd0
[ 153.848934]
[ 153.852326] x7 : 0000000000000000
[ 153.855631] x5 : 0000000000000038
[ 153.857113] x6 : 0000000005184095
[ 153.860505] x4 : fffffc00133ce3c8
[ 153.863810]
[ 153.867202] x3 : ffff80000afa3118
[ 153.870594] x5 : 00ffffffffffffff
[ 153.872077]
[ 153.875468] x4 : ffff80000a01bd60
[ 153.878774] x2 : 00000000000001fd
[ 153.880256] x3 : 4000000000000002
[ 153.883648] x1 : fffffc001338d207
[ 153.886953]
[ 153.890345] x0 : 31ba4ad35cec75fe
[ 153.893737] x2 : ffff800009706930
[ 153.895219]
[ 153.898611] x1 : ffff800009706930
[ 153.901916] Call trace:
[ 153.903398] x0 : 4000000000000000
[ 153.906790] free_swap_cache+0x1c/0xb0
[ 153.909227]
[ 153.912619] free_pages_and_swap_cache+0x4c/0x7c
[ 153.916358] Call trace:
[ 153.917840] tlb_batch_pages_flush+0x5c/0xa0
[ 153.922448] ct_kernel_exit.constprop.0+0xa0/0xb0
[ 153.924885] tlb_finish_mmu+0x78/0x1dc
[ 153.929145] ct_idle_enter+0x14/0x20
[ 153.933839] exit_mmap+0x120/0x360
[ 153.937578] cpuidle_enter_state+0x1e8/0x440
[ 153.941144] __mmput+0x4c/0x1e0
[ 153.944535] cpuidle_enter+0x40/0x60
[ 153.948795] mmput+0x74/0x84
[ 153.951927] do_idle+0x234/0x2c0
[ 153.955493] do_exit+0x2b8/0x9ec
[ 153.958364] cpu_startup_entry+0x2c/0x34
[ 153.961582] make_task_dead+0xa8/0x1a4
[ 153.964800] secondary_start_kernel+0x130/0x154
[ 153.968713] die+0x288/0x2d0
[ 153.972452] __secondary_switched+0xb0/0xb4
[ 153.976973] die_kernel_fault+0x270/0x360
[ 153.979844] ---[ end trace 0000000000000000 ]---
[ 153.984017] __do_kernel_fault+0x12c/0x1c0
[ 153.997490] do_bad_area+0x70/0x80
[ 154.000889] do_translation_fault+0x40/0x70
[ 154.005072] do_mem_abort+0x4c/0xa0
[ 154.008558] el1_abort+0x40/0x6c
[ 154.011787] el1h_64_sync_handler+0xd8/0xe4
[ 154.015968] el1h_64_sync+0x64/0x68
[ 154.019453] __kmem_cache_alloc_node+0x190/0x2b0
[ 154.024070] __kmalloc_node+0x70/0x1e0
[ 154.027820] memcg_alloc_slab_cgroups+0x4c/0xa4
[ 154.032350] memcg_slab_post_alloc_hook+0xa4/0x1cc
[ 154.037142] kmem_cache_alloc+0x168/0x310
[ 154.041152] alloc_buffer_head+0x28/0x94
[ 154.045076] alloc_page_buffers+0xf0/0x1b4
[ 154.049171] create_empty_buffers+0x2c/0x23c
[ 154.053441] create_page_buffers+0x78/0x84
[ 154.057536] __block_write_begin_int+0x7c/0x674
[ 154.062065] block_write_begin+0x64/0x100
[ 154.066071] blkdev_write_begin+0x30/0x40
[ 154.070080] generic_perform_write+0xb0/0x1dc
[ 154.074438] __generic_file_write_iter+0x118/0x1a0
[ 154.079228] blkdev_write_iter+0x100/0x1a0
[ 154.083324] vfs_write+0x294/0x360
[ 154.086725] ksys_write+0x70/0x100
[ 154.090126] __arm64_sys_write+0x24/0x30
[ 154.094047] invoke_syscall+0x78/0x100
[ 154.097796] el0_svc_common.constprop.0+0x4c/0xf4
[ 154.102500] do_el0_svc+0x34/0xd0
[ 154.105813] el0_svc+0x34/0xdc
[ 154.108864] el0t_64_sync_handler+0xb8/0xc0
[ 154.113044] el0t_64_sync+0x18c/0x190
[ 154.116706] Code: a9be7bfd 910003fd f9000bf3 aa0003f3 (f9400400)
[ 154.122796] ---[ end trace 0000000000000000 ]---
[ 154.127570] Fixing recursive fault but reboot is needed!
[ 154.149260] Unable to handle kernel paging request at virtual address 31ba4ad35cec7606
[ 154.157191] Mem abort info:
[ 154.159985] ESR = 0x0000000096000004
[ 154.163733] EC = 0x25: DABT (current EL), IL = 32 bits
[ 154.169046] SET = 0, FnV = 0
[ 154.172099] EA = 0, S1PTW = 0
[ 154.175239] FSC = 0x04: level 0 translation fault
[ 154.180117] Data abort info:
[ 154.182995] ISV = 0, ISS = 0x00000004
[ 154.186830] CM = 0, WnR = 0
[ 154.189796] [31ba4ad35cec7606] address between user and kernel address ranges
[ 154.196931] Internal error: Oops: 0000000096000004 [#4] SMP
[ 154.202501] Modules linked in: 8021q garp mrp stp llc rfkill iptable_nat nf_nat iptable_mangle iptable_filter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c nfnetlink snd_soc_hdmi_codec rcar_du_drm rcar_mipi_dsi dw_hdmi_i2s_audio dw_hdmi_cec rcar_lvds aes_ce_blk aes_ce_cipher polyval_ce polyval_generic rcar_dw_hdmi ghash_ce dw_hdmi gf128mul vsp1 cec sha2_ce snd_soc_rcar videobuf2_vmalloc snd_soc_audio_graph_card2 sha256_arm64 snd_soc_ak4613 snd_soc_simple_card_utils rc_core videobuf2_dma_contig sha1_ce videobuf2_memops drm_display_helper videobuf2_v4l2 snd_soc_core videobuf2_common drm_dma_helper rcar_cmm snd_pcm_dmaengine videodev snd_pcm mc rcar_fcp snd_timer display_connector snd soundcore drm_kms_helper evdev leds_gpio cpufreq_dt fuse configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic panfrost drm_shmem_helper gpu_sched drm governor_simpleondemand
[ 154.202655] cls_cgroup clk_versaclock5 ohci_platform ohci_hcd ehci_platform ehci_hcd crct10dif_ce crct10dif_common usbcore phy_rcar_gen3_usb2 renesas_sdhi_internal_dmac renesas_sdhi_core usb_common tmio_mmc_core micrel ravb mdio_bitbang of_mdio fixed_phy fwnode_mdio libphy i2c_rcar i2c_smbus gpio_regulator fixed gpio_keys
[ 154.318466] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D W 6.1.0-0.deb11.13-arm64 #1 Debian 6.1.55-1~bpo11+1+apertis1
[ 154.330203] Hardware name: Renesas H3ULCB board based on r8a779m1 (DT)
[ 154.336726] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 154.343685] pc : free_swap_cache+0x1c/0xb0
[ 154.347783] lr : free_page_and_swap_cache+0x20/0xa4
[ 154.352661] sp : ffff800008003e20
[ 154.355970] x29: ffff800008003e20 x28: ffff800009c698c0 x27: ffff800008143204
[ 154.363107] x26: ffff0006ff6d6ef8 x25: 0000000000000000 x24: 000000000000000a
[ 154.370243] x23: ffff0006ff6d6e80 x22: 0000000000000000 x21: ffff800008003ee0
[ 154.377379] x20: ffff0000141f7000 x19: 31ba4ad35cec75fe x18: 0000000000000000
[ 154.384515] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 154.391650] x14: 0000000000000002 x13: 0000000000000000 x12: 0000000000000000
[ 154.398785] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000833b4b0
[ 154.405921] x8 : ffff800009bd3000 x7 : ffff8006f5fcc000 x6 : 00000000000b533c
[ 154.413056] x5 : ffff800009706d50 x4 : fffffc001324dc88 x3 : 0000000000000000
[ 154.420192] x2 : 0000000000000578 x1 : 00000000000003dc x0 : 31ba4ad35cec75fe
[ 154.427327] Call trace:
[ 154.429769] free_swap_cache+0x1c/0xb0
[ 154.433519] free_page_and_swap_cache+0x20/0xa4
[ 154.438049] tlb_remove_table_rcu+0x3c/0x6c
[ 154.442231] rcu_do_batch+0x144/0x430
[ 154.445893] rcu_core+0x170/0x1d4
[ 154.449205] rcu_core_si+0x18/0x2c
[ 154.452603] __do_softirq+0x120/0x350
[ 154.456263] ____do_softirq+0x18/0x24
[ 154.459924] call_on_irq_stack+0x24/0x54
[ 154.463844] do_softirq_own_stack+0x24/0x3c
[ 154.468024] __irq_exit_rcu+0x110/0x140
[ 154.471861] irq_exit_rcu+0x18/0x24
[ 154.475348] el1_interrupt+0x38/0x54
[ 154.478924] el1h_64_irq_handler+0x18/0x2c
[ 154.483017] el1h_64_irq+0x64/0x68
[ 154.486415] cpuidle_enter_state+0xbc/0x440
[ 154.490598] cpuidle_enter+0x40/0x60
[ 154.494172] do_idle+0x234/0x2c0
[ 154.497398] cpu_startup_entry+0x2c/0x34
[ 154.501318] rest_init+0xdc/0xe0
[ 154.504543] arch_post_acpi_subsys_init+0x0/0x28
[ 154.509161] start_kernel+0x730/0x770
[ 154.512821] __primary_switched+0xbc/0xc4
[ 154.516834] Code: a9be7bfd 910003fd f9000bf3 aa0003f3 (f9400400)
[ 154.522925] ---[ end trace 0000000000000000 ]---
[ 154.527539] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[ 154.534410] SMP: stopping secondary CPUs
[ 154.538429] Kernel Offset: disabled
[ 154.541913] CPU features: 0x40000,2082c080,0000421b
[ 154.546788] Memory Limit: none
[ 154.549842] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---
Reproducibility
How often the issue is hit when repeating the test and changing nothing (same device, same image, etc.)?
Put the
-
✅ always - often, but not always
- rarely
Impact of bug
Cannot use a HMI image from eMMC, but works fine from an SD card.
Attachments
Add further information about the environment in the form of attachments here. Attach plain text files from log output (from
journalctl
,systemctl
, …) or long backtraces as attached files. If adding comments on the log is required create a new snippet and add the link to it here.
Screenshots and videos are usually useful for graphic issues.
Root cause
TBD
Outcomes
TBD
Management data
This section is for management only, it should be the last one in the description.
/cc @andrunko @em @Balasubramanian @sudarshan @wlozano
Phabricator link: https://phabricator.apertis.org/T10205