CPU3: failed to come online
we are useing IMX6QP for Auto Meter,we encounter the problen CPU3 can not bring up,the message is such as,please help me:
0.001] U-Boot 2015.04-g20acebff-dirty (Dec 21 2017 - 11:06:52)
[ 0.007] Board: MX6Q-PARIS3 revA
[ 0.011] I2C: ready
[ 0.013] DRAM: 2 GiB
MMC: FSL_SDHC: 0
[ 0.133] No MMC card found
[ 0.136] In: serial
[ 0.138] Out: serial
[ 0.140] Err: serial
[ 0.151] Normal Boot
[ 0.153] Hit any key to stop autoboot: 0
Loading Kernel Image ... OK
[ 0.260]
[ 0.261] Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.15 (yangxiuliang@yxl-HP-Elite) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Thu Dec 21 11:09:33 CST 2017
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Freescale i.MX6 Quad/Solo SABRE Automotive Board
[ 0.000000] [MPU_MEMALLOC]:(func:mpu_reserve_memory)ipu phys=0x76800000
[ 0.000000] [MPU_MEMALLOC]:(func:mpu_reserve_memory)vpu phys=0x70400000
[ 0.000000] Reserved memory: created CMA memory pool at 0x48000000, size 320 MiB
[ 0.000000] Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 459520
[ 0.000000] free_area_init_node: node 0, pgdat 405a0b00, node_mem_map bed57000
[ 0.000000] Normal zone: 4608 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 459520 pages, LIFO batch:31
[ 0.000000] PERCPU: Embedded 11 pages/cpu @bed09000 s16000 r8192 d20864 u45056
[ 0.000000] pcpu-alloc: s16000 r8192 d20864 u45056 alloc=11*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 454912
[ 0.000000] Kernel command line: vmalloc=800M bootmode=0 submode=0 console=ttymxc0,115200 androidboot.console=ttymxc0 init=/init arm_freq=800 lpj=7905280
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Memory: 1484576K/1838080K available (4383K kernel code, 174K rwdata, 780K rodata, 396K init, 305K bss, 25824K reserved, 327680K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
[ 0.000000] lowmem : 0x40000000 - 0xc0000000 (2048 MB)
[ 0.000000] pkmap : 0x3fe00000 - 0x40000000 ( 2 MB)
[ 0.000000] modules : 0x3f000000 - 0x3fe00000 ( 14 MB)
[ 0.000000] .text : 0x40008000 - 0x40512fec (5164 kB)
[ 0.000000] .init : 0x40513000 - 0x40576000 ( 396 kB)
[ 0.000000] .data : 0x40576000 - 0x405a19e0 ( 175 kB)
[ 0.000000] .bss : 0x405a4000 - 0x405f05b8 ( 306 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76070001
[ 0.000000] mxc_clocksource_init 3000000
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000027] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.001041] Console: colour dummy device 80x30
[ 0.001061] Calibrating delay loop (skipped) preset value.. 1581.05 BogoMIPS (lpj=7905280)
[ 0.001078] pid_max: default: 32768 minimum: 301
[ 0.001191] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.001205] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.001924] Initializing cgroup subsys blkio
[ 0.001943] Initializing cgroup subsys memory
[ 0.001981] Initializing cgroup subsys devices
[ 0.001998] Initializing cgroup subsys freezer
[ 0.002013] Initializing cgroup subsys perf_event
[ 0.002040] CPU: Testing write buffer coherency: ok
[ 0.002367] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002443] Setting up static identity map for 0x10008280 - 0x100082d8
[ 0.080298] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.100271] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.342507] Unable to handle kernel paging request at virtual address dff347bc
[ 0.342646] Unable to handle kernel NULL pointer dereference at virtual address 000001bf
[ 0.342711] Unable to handle kernel paging request at virtual address e63066eb
[ 0.342775] Unable to handle kernel paging request at virtual address a87101e4
[ 0.342841] Unable to handle kernel paging request at virtual address a87101e4
[ 0.342908] Unable to handle kernel paging request at virtual address a87101e4
[ 0.342971] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343033] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343099] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343166] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343228] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343291] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343358] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343425] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343488] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343552] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343618] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343685] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343746] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343809] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343876] Unable to handle kernel paging request at virtual address a87101e4
[ 0.343943] Unable to handle kernel paging request at virtual address a87101e4
[ 0.344004] Unable to handle kernel paging request at virtual address a87101e4
[ 0.344058] pgd = f49aa480
[ 0.344248] [a87101e4] *pgd=66b6e2f4, *pte=eb3c1c56, *ppte=3c8820bc
[ 0.344323] Internal error: Oops - BUG: 5 [#1] PREEMPT SMP ARM
[ 0.345580] Unable to handle kernel paging request at virtual address efbf00df
[ 0.347329] pgd = 696cbdd9
[ 0.347457] [efbf00df] *pgd=7b7df7f7(bad)
[ 1.119652] CPU3: failed to come online
[ 1.119688] Brought up 3 CPUs
[ 1.119703] SMP: Total of 3 processors activated (4743.16 BogoMIPS).
[ 1.119713] CPU: All CPU(s) started in SVC mode.
[ 1.131616] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 1.131998] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 1.153388] pinctrl core: initialized pinctrl subsystem
[ 1.154507] NET: Registered protocol family 16
[ 1.164948] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 1.165857] mxc_arch_reset_init: failed to get wdog clock
[ 1.165872] CPU identified as i.MX6QP, silicon rev 1.0
[ 1.193232] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 1.193246] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 1.194229] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 1.195565] imx-gpc 20dc000.gpc: no fsl,ldo-bypass found!
[ 1.206449] mxs-dma 110000.dma-apbh: initialized
[ 1.220419] SCSI subsystem initialized
[ 1.220763] usbcore: registered new interface driver usbfs
[ 1.220845] usbcore: registered new interface driver hub
[ 1.220992] usbcore: registered new device driver usb
[ 1.221196] 2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
[ 1.221348] 2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
[ 1.222444] imx-i2c 21a8000.i2c: <i2c_imx_probe>
[ 1.222917] i2c i2c-2: IMX I2C adapter registered
[ 1.222938] i2c i2c-2: can't use DMA
[ 1.223079] Linux video capture interface: v2.00
[ 1.223135] pps_core: LinuxPPS API ver. 1 registered
[ 1.223145] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.223174] PTP clock support registered
[ 1.239721] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[ 1.242481] *** ipu_iauto_alloc_init: ipu_iauto_alloc_zone phys=0x76800000, virt=0xC1000000
[ 1.259722] imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[ 1.261536] Galcore version 5.0.11.41671
[ 1.642158] Switched to clocksource mxc_timer1
[ 1.645794] NET: Registered protocol family 2
[ 1.646481] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[ 1.646638] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.646889] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.647033] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.647103] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.647362] NET: Registered protocol family 1
[ 1.647685] Unpacking initramfs...
[ 1.707568] Freeing initrd memory: 764K (40e00000 - 40ebf000)
[ 1.707945] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
[ 1.708016] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 1.709732] Bus freq driver module loaded
[ 1.710962] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 1.720665] io scheduler noop registered
[ 1.720680] io scheduler deadline registered
[ 1.720875] io scheduler cfq registered (default)
[ 1.721344] imx-weim 21b8000.weim: Driver registered.
[ 1.721866] ldb 2000000.aips-bus:ldb@020e0008: split mode
[ 1.722227] ldb 2000000.aips-bus:ldb@020e0008: split mode or dual mode, ignoring second output
[ 1.723140] mxc_sdc_fb fb@0: registered mxc display driver ldb
[ 1.762232] imx-ipuv3 2800000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
[ 1.839617] Console: switching to colour frame buffer device 240x45
[ 1.931878] imx-sdma 20ec000.sdma: no iram assigned, using external mem
[ 1.933725] imx-sdma 20ec000.sdma: failed to get firmware from device tree
[ 1.937040] imx-sdma 20ec000.sdma: initialized
[ 1.937906] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 22, base_baud = 5000000) is a IMX
[ 2.899066] console [ttymxc0] enabled
[ 2.905030] PDRD call pdrd_proc_init() --start
[ 2.909760] PDRD create proc file: pdrd_switch
[ 2.914505] PDRD call pdrd_proc_init() --end
[ 2.919509] [drm] Initialized drm 1.1.0 20060810
[ 2.924630] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[ 2.931804] spi_imx 2018000.ecspi: probed
[ 2.936897] usbcore: registered new interface driver asix
[ 2.942406] usbcore: registered new interface driver ax88179_178a
[ 2.948857] usbcore: registered new interface driver usb-storage
[ 2.954960] usbcore: registered new interface driver usb_ehset_test
[ 2.962285] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[ 2.971129] i2c /dev entries driver
[ 3.032963] mxc_v4l2_output v4l2_out: V4L2 device registered as video16
[ 3.039735] mxc_v4l2_output v4l2_out: V4L2 device registered as video17
[ 3.047663] sdhci: Secure Digital Host Controller Interface driver
[ 3.053888] sdhci: Copyright(c) Pierre Ossman
[ 3.058258] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.064865] /soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified
[ 3.072043] sdhci-esdhc-imx 219c000.usdhc: Got CD GPIO
[ 3.078233] sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found
[ 3.084468] sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found
[ 3.132359] mmc0: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
[ 3.144913] mxc_vpu 2040000.vpu_fsl: VPU initialized
[ 3.151369] *** vpu_iauto_alloc_init: vpu_iauto_alloc_zone phys=0x70400000, virt=0xCB000000
[ 3.164364] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[ 3.176615] ashmem: initialized
[ 3.184398] NET: Registered protocol family 17
[ 3.199123] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
[ 3.222293] usb_otg_vbus: disabling
[ 3.225825] usb_h1_vbus: disabling
[ 3.230314] Freeing unused kernel memory: 396K (40513000 - 40576000)
[ 3.239439] (II) init: command 'loglevel' r=0
[ 3.243937] (II) init: command 'write' r=0
[ 3.248143] (II) init: command 'write' r=0
[ 3.249316] mmc0: MAN_BKOPS_EN bit is not set
[ 3.256668] (!!) init: starting 'ueventd'
[ 3.260989] (II) init: command 'start' r=0
[ 3.267727] mmc0: new DDR MMC card at address 0001
[ 3.282684] mmcblk0: mmc0:0001 MMC08G 7.25 GiB
[ 3.287470] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB
[ 3.293587] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB
[ 3.299742] mmcblk0rpmb: mmc0:0001 MMC08G partition 3 128 KiB
[ 3.306421] mmcblk0: p1 p2 p3
[ 3.348706] EXT4-fs (mmcblk0p1): recovery complete
[ 3.353546] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: nodelalloc,journal_checksum
[ 3.363524] (II) init: command 'mount' r=0
[ 3.367653] (!!) init: processing action 0x1d782d8 (early-init)
[ 3.373638] (EE) init: command 'insmod /lib/modules/softdog.ko', r=-1
[ 3.380096] (!!) init: processing action 0x1d785f8 (wait_for_coldboot_done)
[ 3.387085] (II) init: wait for /dev/.coldboot_done
[ 3.391991] (II) init: command 'wait_for_coldboot_done' r=0
[ 3.397596] (!!) init: processing action 0x1d78640 (property_init)
[ 3.403803] (II) init: property init
[ 3.407696] (II) init: command 'property_init' r=0
[ 3.412526] (!!) init: processing action 0x1d78688 (console_init)
[ 3.418829] (II) init: command 'console_init' r=0
[ 3.423576] (!!) init: processing action 0x1d786d0 (set_init_properties)
[ 3.430396] (II) init: command 'set_init_properties' r=0
[ 3.435742] (!!) init: processing action 0x1d76f60 (init)
[ 3.441162] (II) init: command 'sysclktz' r=0
[ 3.445548] (II) init: command 'export' r=0
[ 3.449740] (II) init: command 'export' r=0
[ 3.453948] (II) init: command 'export' r=0
[ 3.458147] (II) init: command 'export' r=0
[ 3.462366] (II) init: command 'export' r=0
[ 3.466565] (II) init: command 'export' r=0
[ 3.470762] (II) init: command 'export' r=0
[ 3.474979] (II) init: command 'export' r=0
[ 3.479178] (II) init: command 'export' r=0
[ 3.483393] (II) init: command 'export' r=0
[ 3.487616] (II) init: command 'symlink' r=0
[ 3.491917] (II) init: command 'symlink' r=0
[ 3.496249] (II) init: command 'mkdir' r=0
[ 3.500375] (II) init: command 'mkdir' r=0
[ 3.504527] (II) init: command 'mkdir' r=0
[ 3.508732] (II) init: command 'mount' r=0
[ 3.512900] (II) init: command 'mkdir' r=0
[ 3.517091] (II) init: command 'mount' r=0
[ 3.521204] (!!) init: processing action 0x1d78328 (init)
[ 3.526640] (II) init: command 'export' r=0
[ 3.530840] (II) init: command 'export' r=0
[ 3.535055] (!!) init: processing action 0x1d783a8 (fs)
[ 3.540307] (II) init: command 'symlink' r=0
[ 3.544636] (II) init: command 'symlink' r=0
[ 3.548939] (II) init: command 'symlink' r=0
[ 3.553260] (II) init: command 'symlink' r=0
[ 3.557562] (II) init: command 'symlink' r=0
[ 3.561864] (II) init: command 'symlink' r=0
[ 3.566201] (II) init: command 'symlink' r=0
[ 3.570487] (!!) init: processing action 0x1d78718 (property_service_init)
[ 3.586282] (EE) init: Unable to open persistent property directory /var/property errno: 2
[ 3.594689] (II) init: Created socket '/dev/socket/property_service' with mode '666', user '0', group '0'
[ 3.604300] (II) init: command 'property_service_init' r=0
[ 3.609802] (!!) init: processing action 0x1d78760 (signal_init)
[ 3.615876] (II) init: command 'signal_init' r=0
[ 3.620511] (!!) init: processing action 0x1d772a8 (post-fs)
[ 3.626222] (II) init: command 'mount' r=0
[ 3.630329] (II) init: command 'class_start' r=0
[ 3.634982] (!!) init: processing action 0x1d773e8 (boot)
[ 3.640497] (II) init: command 'write' r=0
[ 3.644646] (!!) init: starting 'hotplug_event'
[ 3.649535] (!!) init: starting 'mount_usb'
[ 3.654091] (II) init: command 'class_start' r=0
[ 3.658756] (!!) init: processing action 0x1d78550 (boot)
[ 3.664256] (II) init: command 'symlink' r=0
[ 3.668588] (II) init: command 'symlink' r=0
[ 3.672953] (II) init: command 'symlink' r=0
[ 3.677250] (!!) init: processing action 0x1d787a8 (queue_propety_triggers)
[ 3.684268] (II) init: command 'queue_propety_triggers' r=0
[ 3.689865] (!!) init: processing action 0x1d77520 (property:ro.debuggable=1)
[ 3.697101] (!!) init: starting 'console'
[ ▒▒▒uid=0 gid=1007@nutshell:/ # [ 4.732175] CPU3: failed to come online
[ 4.759842] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.777436] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 4.794683] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[ 4.835744] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 4.840653] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 4.862169] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 4.868406] hub 1-0:1.0: USB hub found
[ 4.872395] hub 1-0:1.0: 1 port detected
[ 4.879079] (!!) init: waitpid returned pid 74, status = 00000000
[ 4.885222] (!!) init: process 'mount_usb', pid 74 exited
Hi Shalan
from log "Unable to handle kernel NULL pointer dereference at virtual address"
seems these errors may be related to memory, please run ddr test
i.MX6/7 DDR Stress Test Tool V2.70
and try with some of nxp linux bsps described on
i.MX 6 / i.MX 7 Series Software and Development Tool|NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------