alistair23 / meta-pine64

OpenEmbedded/Yocto layer for the Pine64 boards
MIT License
22 stars 21 forks source link

Pine A64 LTS Internal error: Oops: 96000004 [#1] PREEMPT SMP #27

Open PatrykBadowski opened 1 year ago

PatrykBadowski commented 1 year ago

Pine don't start every time. Tried older kernel (5.10.2) and newest (5.10.147) but didn't help. Flashed SD card and EMMC and both work this same (almost 50/50 chance to start without crash). Bellow error catched from serial port.

[ 3.762949] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy) [ 3.764234] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000299 [ 3.773222] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver [ 3.781361] Mem abort info: [ 3.790707] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi]) [ 3.792081] ESR = 0x96000004 [ 3.801536] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1 [ 3.804015] EC = 0x25: DABT (current EL), IL = 32 bits [ 3.811968] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes [ 3.816841] SET = 0, FnV = 0 [ 3.816846] EA = 0, S1PTW = 0 [ 3.816848] Data abort info: [ 3.816851] ISV = 0, ISS = 0x00000004 [ 3.816853] CM = 0, WnR = 0 [ 3.816861] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000820bb000 [ 3.816864] [0000000000000299] pgd=0000000000000000, p4d=0000000000000000 [ 3.816878] Internal error: Oops: 96000004 [#1] PREEMPT SMP [ 3.816882] Modules linked in: realtek panel_feiyang_fy07024di26a30d snd_soc_simple_card crct10dif_ce snd_soc_simple_card_utils sun8i_drm_hdmi pwm_sun4i dw_hdmi dwmac_sun8i cec axp20x_adc axp20x_battery lima goodix axp20x_ac_power sun6i_mipi_dsi stmmac_platform sun50i_codec_analog sun4i_i2s crc_ccitt sun8i_codec sun4i_drm sun8i_adda_pr_regmap gpu_sched stmmac sun4i_frontend pcs_xpcs sun4i_tcon sun8i_mixer sunxi_wdt sun8i_ce sun8i_tcon_top drm_kms_helper display_connector crypto_engine drm pwm_bl sun6i_dma [ 3.903043] CPU: 1 PID: 32 Comm: kworker/1:1 Not tainted 5.10.2-mainline #1 [ 3.909992] Hardware name: Pine64 LTS (DT) [ 3.914098] Workqueue: events deferred_probe_work_func [ 3.919232] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--) [ 3.925388] pc : of_drm_find_panel+0x78/0xd0 [drm] [ 3.930267] lr : of_drm_find_panel+0x4c/0xd0 [drm] [ 3.935048] sp : ffff800011fd3b50 [ 3.938356] x29: ffff800011fd3b50 x28: 0000000000000000 [ 3.943663] x27: ffff0000401522c8 x26: ffff800011e883a8 [ 3.948969] x25: 0000000000000042 x24: ffff800008f8e000 [ 3.954273] x23: ffff800011e19e18 x22: 0000000000000000 [ 3.959579] x21: ffff800008f00510 x20: ffff00007dbf3d90 [ 3.964885] x19: ffff000043572780 x18: ffffffffffffffff [ 3.970190] x17: 0000000000000000 x16: 0000000000000000 [ 3.975497] x15: ffff000042ed5994 x14: ffffffffffffffff [ 3.980803] x13: ffff000042ed5990 x12: 0000000000000028 [ 3.986109] x11: 0000000000000003 x10: 0101010101010101 [ 3.991414] x9 : fffffffffffffffc x8 : 7f7f7f7f7f7f7f7f [ 3.996720] x7 : fefefeff646c606d x6 : 1d150c11f5f38080 [ 4.002026] x5 : 00007375110c151d x4 : 0000000000000000 [ 4.007332] x3 : ffff800008f00510 x2 : ffff800008f00530 [ 4.012638] x1 : 0000000000000001 x0 : ffff0000435727a0 [ 4.017945] Call trace: [ 4.020473] of_drm_find_panel+0x78/0xd0 [drm] [ 4.024914] sun6i_dsi_attach+0x20/0x84 [sun6i_mipi_dsi] [ 4.030222] mipi_dsi_attach+0x2c/0x40 [ 4.033968] feiyang_dsi_probe+0xd8/0x13c [panel_feiyang_fy07024di26a30d] [ 4.040745] mipi_dsi_drv_probe+0x24/0x30 [ 4.044750] really_probe+0xe4/0x490 [ 4.048321] driver_probe_device+0x58/0xc0 [ 4.052412] __device_attach_driver+0xa8/0x10c [ 4.056849] bus_for_each_drv+0x78/0xd0 [ 4.060671] __device_attach+0xdc/0x180 [ 4.064501] device_initial_probe+0x14/0x20 [ 4.068677] bus_probe_device+0x9c/0xa4 [ 4.072508] deferred_probe_work_func+0x74/0xb0 [ 4.077035] process_one_work+0x1cc/0x350 [ 4.081038] worker_thread+0x13c/0x470 [ 4.084783] kthread+0x154/0x160 [ 4.088008] ret_from_fork+0x10/0x30 [ 4.091582] Code: d1008033 eb02003f 540001a0 f9400261 (f9414c21) [ 4.097669] ---[ end trace 99482d98733be569 ]--- [ 4.181207] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

alistair23 commented 1 year ago

Hmm.... It's related to finding a DRM panel. Do you have a screen attached?