0
d3f2

kernel panic, Olimex A20-MICRO, 4.19.10, 5.65

Recommended Posts

hi there,

 

Recently there was an update for all Olimex boards with A20. Now we have one image for all the boards and it includes mainline kernel which is cool. I checked here and took the image from here.

 

Now after a while I got strange error and wanted to check with you if you can share an opinion what this could be:

[32673.051479] Unable to handle kernel NULL pointer dereference at virtual address 0000
[32673.060027] pgd = 9d6652ac
[32673.062884] [00000000] *pgd=00000000
[32673.066666] Internal error: Oops: 5 [#1] SMP THUMB2
[32673.071795] Modules linked in: joydev input_leds ipt_MASQUERADE nf_conntrack_netlink iptable_nat nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack nf_netfilter bridge stp llc cifs ccm fscache overlay lz4hc lz4hc_compress zram rc_cec at2dec snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer sun4i_lradc_keys snd sun4i_ts sounm_hdmi sun4i_ss cec sun4i_drm sun8i_tcon_top sun4i_frontend sun4i_tcon uio_pdrv_genirq l libcomposite bonding ip_tables x_tables pwrseq_emmc
[32673.130283] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.10-sunxi #5.65
[32673.137406] Hardware name: Allwinner sun7i (A20) Family
[32673.142909] PC is at resched_curr+0x26/0x48
[32673.147313] LR is at check_preempt_curr+0x7f/0x84
[32673.152256] pc : [<c0139d12>]    lr : [<c013a7cf>]    psr: 000f01b3
[32673.158835] sp : c0d01d08  ip : ef6c87b0  fp : 2ea10000
[32673.164323] r10: ef6c8700  r9 : 00000000  r8 : ef6c8700
[32673.169813] r7 : c0d01d08  r6 : c0901ea0  r5 : c0d08a80  r4 : 00000000
[32673.176665] r3 : c0d00000  r2 : 00000000  r1 : c0d00000  r0 : 00000001
[32673.183519] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[32673.191280] Control: 50c5387d  Table: 6c8ec06a  DAC: 00000051
[32673.197315] Process swapper/0 (pid: 0, stack limit = 0x385bb5af)
[32673.203623] Stack: (0xc0d01d08 to 0xc0d02000)
[32673.208212] 1d00:                   c0901f00 c0901f00 c0d01d18 c013a7cf ef6c8700 ea0
[32673.216802] 1d20: c0d01d74 c0d01d30 ea0d4bf8 c013a7ed ea0d4780 c012f663 80000000 ea0
[32673.225390] 1d40: c0d04f48 c0cb8700 c0d01d60 ea0d4bf8 00000000 ef6c8700 2ea10000 c01
[32673.233978] 1d60: c0901f00 b8023295 c0cb8700 600f0193 ea0d4800 ef6c8780 00000000 b80
[32673.242566] 1d80: ef6c8700 e5f55c10 00000000 00000000 c014fd75 ee7c5868 c0d01de8 000
[32673.251144] 1da0: 00000000 c014fd83 ee7c585c c014f7e7 00000004 00000001 2ea22000 ee7
[32673.259732] 1dc0: 00000001 00000003 00000000 c0d01de8 00000000 c0d04f48 600f0193 c01
[32673.268319] 1de0: 00000000 c0d01de8 00000000 00000000 00000000 c0d01df4 c0d01df4 b80
[32673.276907] 1e00: 00000400 ee7c5810 00000000 c0af4644 c0b1b080 0028f5be ee7c5870 600
[32673.285495] 1e20: ffffe000 c014f8ff 00000000 c073907f ee7c5810 c073909f 00000004 c01
[32673.294083] 1e40: ee01cfc0 ef100964 ef100900 00000000 00000035 ef03b800 c0d01ea0 c01
[32673.302671] 1e60: ef6c6450 c0623c2b 00001db7 c0d04f70 ef100900 c0de1ef8 00000000 c0d
[32673.311251] 1e80: ef100964 ef100900 00000000 00000001 ef03b800 c0cb7870 00000000 c01
[32673.319839] 1ea0: 00000000 b8023295 ef100900 ef100964 2ea10000 c015f495 ef100900 c0d
[32673.328427] 1ec0: 2ea10000 c0161cff c0cb8278 00000000 00000035 c015e8ed 0000008d c01
[32673.337015] 1ee0: c0d01f18 c0d05798 f080200c f0802000 c0d01f18 f0803000 c0d00000 c05
[32673.345603] 1f00: c0107a3c 400f0033 ffffffff c0d01f4c 00000000 c0101a65 00000000 0ea
[32673.354192] 1f20: ef6c3438 c0116721 ffffe000 c0d04f70 c0d04fb8 00000001 00000000 c0d
[32673.362772] 1f40: c0cb7870 00000000 ffffffff c0d01f68 c0107a3b c0107a3c 400f0033 fff
[32673.371360] 1f60: 00000051 00000000 00000000 c013ea9b c0de1893 ffffffff c013ed1d b80
[32673.410865] 1f80: 60000033 000000c5 00000001 ffffffff c0d04f48 c0d04f40 c0df8a00 ef6
[32673.450651] 1fa0: c0c5da34 c013ed1d 00000001 c0c00bbd ffffffff ffffffff 00000000 c0c
[32673.490033] 1fc0: 00000000 c0c5da34 b806219f 00000000 00000000 c0c00328 00000051 10c
[32673.529069] 1fe0: 100010bb 49a8f000 410fc074 50c5387d 00000000 00000000 00000000 000
[32673.567780] [<c0139d12>] (resched_curr) from [<c013a7cf>] (check_preempt_curr+0x7f/0
[32673.606194] [<c013a7cf>] (check_preempt_curr) from [<c013a7ed>] (ttwu_do_wakeup+0x19
[32673.644826] [<c013a7ed>] (ttwu_do_wakeup) from [<c013b2ff>] (try_to_wake_up+0x15b/0x
[32673.683009] [<c013b2ff>] (try_to_wake_up) from [<c014fd83>] (autoremove_wake_functio
[32673.721302] [<c014fd83>] (autoremove_wake_function) from [<c014f7e7>] (__wake_up_com
[32673.759336] [<c014f7e7>] (__wake_up_common) from [<c014f8c7>] (__wake_up_common_lock
[32673.796627] [<c014f8c7>] (__wake_up_common_lock) from [<c014f8ff>] (__wake_up+0x13/0
[32673.832721] [<c014f8ff>] (__wake_up) from [<c073909f>] (mv64xxx_i2c_intr+0x2b7/0x3ec
[32673.868190] [<c073909f>] (mv64xxx_i2c_intr) from [<c015f2d7>] (__handle_irq_event_pe
[32673.904795] [<c015f2d7>] (__handle_irq_event_percpu) from [<c015f42d>] (handle_irq_e
[32673.941488] [<c015f42d>] (handle_irq_event_percpu) from [<c015f495>] (handle_irq_eve
[32673.976927] [<c015f495>] (handle_irq_event) from [<c0161cff>] (handle_fasteoi_irq+0x
[32674.011371] [<c0161cff>] (handle_fasteoi_irq) from [<c015e8ed>] (generic_handle_irq+
[32674.045560] [<c015e8ed>] (generic_handle_irq) from [<c015ed8d>] (__handle_domain_irq
[32674.079597] [<c015ed8d>] (__handle_domain_irq) from [<c05cac95>] (gic_handle_irq+0x3
[32674.112894] [<c05cac95>] (gic_handle_irq) from [<c0101a65>] (__irq_svc+0x65/0x94)
[32674.145236] Exception stack(0xc0d01f18 to 0xc0d01f60)
[32674.175010] 1f00:                                                       00000000 0ea
[32674.207967] 1f20: ef6c3438 c0116721 ffffe000 c0d04f70 c0d04fb8 00000001 00000000 c0d
[32674.240863] 1f40: c0cb7870 00000000 ffffffff c0d01f68 c0107a3b c0107a3c 400f0033 fff
[32674.273876] [<c0101a65>] (__irq_svc) from [<c0107a3c>] (arch_cpu_idle+0x28/0x2c)
[32674.306067] [<c0107a3c>] (arch_cpu_idle) from [<c013ea9b>] (do_idle+0x14b/0x1d8)
[32674.338165] [<c013ea9b>] (do_idle) from [<c013ed1d>] (cpu_startup_entry+0x19/0x1c)
[32674.370035] [<c013ed1d>] (cpu_startup_entry) from [<c0c00bbd>] (start_kernel+0x3a7/0
[32674.402141] Code: 53ff 2001 f023 031f (691b) 42a3
[32674.430709] ---[ end trace 349b2715ffd50e9f ]---
[32674.458898] Kernel panic - not syncing: Fatal exception in interrupt
[32675.648500] SMP: failed to stop secondary CPUs
[32675.675135] Rebooting in 10 seconds..
[32686.861416] SMP: failed to stop secondary CPUs

thanks and regards,

Lazar

Share this post


Link to post
Share on other sites

Hello,
I’ve just tried to boot the theoretically universal Armbian_5.72.1_Olinuxino-a20_Debian_stretch_next_4.19.17 image (taken from ftp://staging.olimex.com/Allwinner_Images/A20-OLinuXino/1.latest_mainline_images/stretch/images/) on my A20-SOM device, but with no success.

The following output is displayed:

**File not found /boot/dtb/ **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via “fdt addr ” command.
Aborting!
** File not found /boot/dtb/overlay/sun7i-a20-fixup.scr **

ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing…
Card did not respond to voltage select!

Device 0: unknown device
ethernet@01c50000 Waiting for PHY auto negotiation to complete…… TIMEOUT !
Could not initialize PHY ethernet@01c50000

I’d really appreciate any help with this, because I really need to make this work!!

Thanks in advance

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0