AnsweredAssumed Answered

IMX6UL kernel panic when booting(Arch Linux)

Question asked by Ismael Echenique on Apr 27, 2018
Latest reply on Apr 30, 2018 by igorpadykov

 

I have an Argon i.MX 6UL board. I flashed the fsl-image-gui-imx6ulnxpuiopb.sdcard that comes with it into an SD Card. When I boot the board from the SD Card I get a Kernel Panic. I get the following error from the console log:

 

Unhandled fault: external abort on non-linefetch (0x1008) at 0xa0a40fa8
pgd = 80004000
[a0a40fa8] *pgd=88383811, *pte=02140653, *ppte=02140453
Internal error: : 1008 [#1] PREEMPT SMP ARM

 

The OS is Arch Linux.

 

Please help me find the solution to this. Thanks in advance

 

Here is the complete console log:

 

U-Boot 2015.04imx_v2015.04_4.1.15_1.2.0_ga+g6201e0c (Oct 14 2016 - 10:29:35)

CPU: Freescale i.MX?? rev1.0 at 396 MHz
CPU: Temperature 35 C
Reset cause: POR
Board: MX6UL NXPU_IOPB
I2C: ready
DRAM: 512 MiB
setup_fec ret = 0
MMC: FSL_SDHC: 0, FSL_SDHC: 1
board_mmc_init...
*** Warning - bad CRC, using default environment

Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
board_mmc_init...
switch to partitions #0, OK
mmc1 is current device
Net: FEC0
Error: FEC0 address not set.

Normal Boot
Hit any key to stop autoboot: 0
board_mmc_init...
switch to partitions #0, OK
mmc1 is current device
board_mmc_init...
switch to partitions #0, OK
mmc1 is current device
board_mmc_init...
reading boot.scr
** Unable to read file boot.scr **
reading zImage
6621216 bytes read in 299 ms (21.1 MiB/s)
Booting from mmc ...
reading imx6ul-nxpu-iopb.dtb
29643 bytes read in 20 ms (1.4 MiB/s)
Kernel image @ 0x80800000 [ 0x000000 - 0x650820 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300a3ca
Modify /soc/aips-bus@02100000/sim@0218c000:status disabled
ft_system_setup for mx6

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.1.15-1.2.0+g88e6c14 (vvdnlt208@dell-vostro) (gcc version 5.2.0 6
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: NXPU_IOPB Board
Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @8bb35000 s16960 r8192 d24000 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttymxc2,115200 root=/dev/mmcblk1p2 rootwait rw
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 178652K/524288K available (8338K kernel code, 434K rwdata, 2952K rodata)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80b0ed24 (11292 kB)
.init : 0x80b0f000 - 0x80b7a000 ( 428 kB)
.data : 0x80b7a000 - 0x80be6bc0 ( 435 kB)
.bss : 0x80be9000 - 0x80c59a00 ( 451 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS:16 nr_irqs:16 16
mxc_clocksource_init 24000000
Switching to timer-based delay loop, resolution 41ns
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7s
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.0)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
/cpus/cpu@0 missing clock-frequency property
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80008280 - 0x800082d8
Brought up 1 CPUs
SMP: Total of 1 processors activated (48.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911s
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
=================================================================
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
mxs-dma 1804000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
i2c i2c-3: IMX I2C adapter registered
i2c i2c-3: can't use DMA
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@>
PTP clock support registered
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.20
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 256 (order: 2, 16384 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
MIPI DSI driver module loaded
MIPI DSI driver module loaded
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.3
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 0-0008: Illegal ID: 7c
pfuze100-regulator 0-0008: unrecognized pfuze chip ID!
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 225, base_baud = 5000000) is aX
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 226, base_baud = 5000000) is aX
console [ttymxc2] enabled
21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 227, base_baud = 5000000) is aX
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
CAN device driver interface
2090000.can supply xceiver not found, using dummy regulator
flexcan 2090000.can: device registered (reg_base=a09e0000, irq=25)
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address:0
fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC add9
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
2184000.usb supply vbus not found, using dummy regulator
2184200.usb supply vbus not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20c0
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as 0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol BCSP registered
Bluetooth: HCI UART protocol ATH3K registered
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
sdhci-esdhc-imx 2190000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: assigned as wifi host
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
Unhandled fault: external abort on non-linefetch (0x1008) at 0xa0a40fa8
pgd = 80004000
[a0a40fa8] *pgd=88383811, *pte=02140653, *ppte=02140453
Internal error: : 1008 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.15-1.2.0+g88e6c14 #19
Hardware name: Freescale i.MX6 Ultralite (Device Tree)
task: 88048000 ti: 8804c000 task.ti: 8804c000
PC is at caam_probe+0x54/0xf10
LR is at ioremap_page_range+0xdc/0x178
pc : [<805ce400>] lr : [<802af0c4>] psr: a0000113
sp : 8804de20 ip : 88386fcc fp : 00000000
r10: 80b73898 r9 : 80b66ec4 r8 : 00000000
r7 : fffffdfb r6 : 80bce6f0 r5 : 8bb4f48c r4 : 88354310
r3 : 00000012 r2 : 00000000 r1 : 0217be13 r0 : a0a40000
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 8000406a DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0x8804c210)
Stack: (0x8804de20 to 0x8804e000)
de20: 8804de28 88396c80 00000000 00000000 880ec000 880ec010 880eb7d0 80148710
de40: 00000001 80b66ec4 880eb7d0 88396be0 00000000 880eb7d0 a0a40000 00000001
de60: 88396c80 80c40db4 880ec010 80bce6f0 fffffdfb 00000000 80b66ec4 80b73898
de80: 00000000 80383b08 80c40db4 880ec010 80bce6f0 00000000 00000000 803823a4
dea0: 880ec010 80bce6f0 880ec044 80ba68b0 00000000 803825b4 00000000 80bce6f0
dec0: 80382528 80380a30 8803095c 880e2ab4 80bce6f0 88387d80 00000000 80381b34
dee0: 80a78da0 80b7f720 883938c0 80bce6f0 80b7f720 883938c0 80b51088 80382bb4
df00: 80b7f720 80b7f720 883938c0 80009730 80b66ea0 8013fc0c 00000000 88031a80
df20: 00000000 80b873e8 60000113 00000000 8bfffab6 8bfffab4 80823c34 8004c7c4
df40: 00000000 80a56af0 00000006 00000006 80b873d0 00000132 00000006 80be9000
df60: 00000132 00000006 80be9000 80be9000 80b66ebc 80b0fdbc 00000006 00000006
df80: 80b0f594 80050e84 00000000 807ebca4 00000000 00000000 00000000 00000000
dfa0: 00000000 807ebcac 00000000 8000f528 00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffbf
[<805ce400>] (caam_probe) from [<80383b08>] (platform_drv_probe+0x44/0xac)
[<80383b08>] (platform_drv_probe) from [<803823a4>] (driver_probe_device+0x174/)
[<803823a4>] (driver_probe_device) from [<803825b4>] (__driver_attach+0x8c/0x90)
[<803825b4>] (__driver_attach) from [<80380a30>] (bus_for_each_dev+0x68/0x9c)
[<80380a30>] (bus_for_each_dev) from [<80381b34>] (bus_add_driver+0x148/0x1f0)
[<80381b34>] (bus_add_driver) from [<80382bb4>] (driver_register+0x78/0xf8)
[<80382bb4>] (driver_register) from [<80009730>] (do_one_initcall+0x8c/0x1d4)
[<80009730>] (do_one_initcall) from [<80b0fdbc>] (kernel_init_freeable+0x144/0x)
[<80b0fdbc>] (kernel_init_freeable) from [<807ebcac>] (kernel_init+0x8/0xe8)
[<807ebcac>] (kernel_init) from [<8000f528>] (ret_from_fork+0x14/0x2c)
Code: eb009059 e3500000 e58d0038 0a000389 (e5906fa8)
---[ end trace 087160e2e81302ce ]---
mmc0: MAN_BKOPS_EN bit is not set
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

random: nonblocking pool is initialized

 

 

 

Outcomes