Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
4.4.11 Custom Kernel boot failure
U-Boot SPL 2015.10 (Dec 22 2015 - 20:46:00)
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
U-Boot 2015.10 (Dec 22 2015 - 20:46:00 +0000) Allwinner Technology
CPU: Allwinner A13 (SUN5I)
I2C: ready
DRAM: 512 MiB
NAND: 8192 MiB
Setting up a 720x480i composite-ntsc console (overscan 40x20)
In: serial
Out: serial
Err: serial
Net: usb_ether
starting USB...
No controllers found
Hit any key to stop autoboot: 0
gpio: pin PB2 (gpio 34) value is 1
(FEL boot)
## Executing script at 43100000
Wrong image format for "source" command
device nand0 <sunxi-nand.0>, # parts = 5
#: name size offset mask_flags
0: spl 0x00400000 0x00000000 0
1: spl-backup 0x00400000 0x00400000 0
2: uboot 0x00400000 0x00800000 0
3: env 0x00400000 0x00c00000 0
4: UBI 0x1ff000000 0x01000000 0
active partition: nand0,0 - (spl) 0x00400000 @ 0x00000000
defaults:
mtdids : none
mtdparts: none
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI: attached mtd1 (name "mtd=4", size 8176 MiB) to ubi0
UBI: PEB size: 2097152 bytes (4096 KiB), LEB size: 2064384 bytes
UBI: min./max. I/O unit sizes: 16384/16384, sub-page size 16384
UBI: VID header offset: 16384 (aligned 16384), data offset: 32768
UBI: good PEBs: 2040, bad PEBs: 4, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1911403089
UBI: available PEBs: 0, total reserved PEBs: 2040, PEBs reserved for bad PEB handling: 36
Loading file '/boot/sun5i-r8-chip.dtb' to addr 0x43000000 with size 39076 (0x000098a4)...
Done
Loading file '/boot/zImage' to addr 0x42000000 with size 6883576 (0x006908f8)...
Done
Kernel image @ 0x42000000 [ 0x000000 - 0x6908f8 ]
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Device Tree to 49ff3000, end 49fff8a3 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.11jpm004 (johnma@johnma-Latitude-E6320) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #4 SMP Wed Aug 3 11:45:17 EDT 2016
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: NextThing C.H.I.P.
[ 0.000000] cma: Reserved 64 MiB at 0x5b800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] PERCPU: Embedded 12 pages/cpu @dfe59000 s19084 r8192 d21876 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129711
[ 0.000000] Kernel command line: root=ubi0:rootfs rootfstype=ubifs rw earlyprintk ubi.mtd=4
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 437100K/522932K available (8755K kernel code, 1116K rwdata, 4124K rodata, 1068K init, 343K bss, 20296K reserved, 65536K 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 : 0xe0000000 - 0xff800000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdfead000 ( 510 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0208000 - 0xc0e9cd94 (12884 kB)
[ 0.000000] .init : 0xc0e9d000 - 0xc0fa8000 (1068 kB)
[ 0.000000] .data : 0xc0fa8000 - 0xc10bf348 (1117 kB)
[ 0.000000] .bss : 0xc10c2000 - 0xc1117fc0 ( 344 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[ 0.000000] sched_clock: 32 bits at 200 Hz, resolution 5000000ns, wraps every 10737418237500000ns
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.025000] Calibrating delay loop... 1002.70 BogoMIPS (lpj=2506752)
[ 0.025000] pid_max: default: 32768 minimum: 301
[ 0.025000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.025000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.025000] CPU: Testing write buffer coherency: ok
[ 0.025000] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.025000] Setting up static identity map for 0x40209000 - 0x40209098
[ 0.030000] Brought up 1 CPUs
[ 0.030000] SMP: Total of 1 processors activated (1002.70 BogoMIPS).
[ 0.030000] CPU: All CPU(s) started in SVC mode.
[ 0.030000] devtmpfs: initialized
[ 0.040000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.040000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[ 0.045000] pinctrl core: initialized pinctrl subsystem
[ 0.050000] NET: Registered protocol family 16
[ 0.050000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.055000] cpuidle: using governor ladder
[ 0.055000] cpuidle: using governor menu
[ 0.060000] No ATAGs?
[ 0.060000] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.065000] Serial: AMBA PL011 UART driver
[ 0.075000] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/chip_vbus_pin@0, deferring probe
[ 0.080000] vgaarb: loaded
[ 0.080000] SCSI subsystem initialized
[ 0.080000] usbcore: registered new interface driver usbfs
[ 0.080000] usbcore: registered new interface driver hub
[ 0.080000] usbcore: registered new device driver usb
[ 0.085000] pps_core: LinuxPPS API ver. 1 registered
[ 0.085000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.085000] PTP clock support registered
[ 0.085000] EDAC MC: Ver: 3.0.0
[ 0.085000] clocksource: Switched to clocksource timer
[ 0.085000] simple-framebuffer 5febc000.framebuffer: framebuffer at 0x5febc000, 0x135600 bytes, mapped to 0xe0080000
[ 0.085000] simple-framebuffer 5febc000.framebuffer: format=x8r8g8b8, mode=640x440x32, linelength=2880
[ 0.090000] Console: switching to colour frame buffer device 80x27
[ 0.095000] simple-framebuffer 5febc000.framebuffer: fb0: simplefb registered!
[ 0.110000] NET: Registered protocol family 2
[ 0.115000] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.115000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.120000] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.125000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.125000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.130000] NET: Registered protocol family 1
[ 0.130000] RPC: Registered named UNIX socket transport module.
[ 0.135000] RPC: Registered udp transport module.
[ 0.140000] RPC: Registered tcp transport module.
[ 0.140000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.145000] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.160000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.165000] NFS: Registering the id_resolver key type
[ 0.165000] Key type id_resolver registered
[ 0.170000] Key type id_legacy registered
[ 0.175000] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.180000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.185000] io scheduler noop registered
[ 0.185000] io scheduler deadline registered
[ 0.190000] io scheduler cfq registered (default)
[ 0.195000] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/chip_id_det_pin@0, deferring probe
[ 0.200000] sun5i-a13-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.220000] coupled-voltage-regulator wifi_reg: Couldn't get regulator vin0
[ 0.280000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.305000] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 27, base_baud = 1500000) is a U6_16550A
[ 0.910000] console [ttyS0] enabled
[ 0.935000] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 28, base_baud = 1500000) is a U6_16550A
[ 0.950000] SuperH (H)SCI(F) driver initialized
[ 0.960000] msm_serial: driver initialized
[ 0.965000] STMicroelectronics ASC driver initialized
[ 0.975000] [drm] Initialized drm 1.1.0 20060810
[ 0.985000] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.995000] [drm] No driver support for vblank timestamp query.
[ 1.005000] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc103a070)
[ 1.015000] sun4i-tcon 1c0c000.lcd-controller: No panel or bridge found... RGB output disabled
[ 1.030000] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc1039f14)
[ 1.045000] sun4i-drm display-engine: bound 1c0a000.tv-encoder (ops 0xc103a14c)
[ 1.060000] fb: switching to sun4i-drm-fb from simple
[ 1.070000] Console: switching to colour dummy device 80x30
[ 1.100000] Console: switching to colour frame buffer device 90x30
[ 1.110000] sun4i-drm display-engine: fb0: frame buffer device
[ 1.125000] loop: module loaded
[ 1.135000] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde
[ 1.145000] nand: Hynix H27QCG8T2E5R‐BCF 64G 3.3V 8-bit
[ 1.150000] nand: 8192 MiB, MLC, erase size: 4096 KiB, page size: 16384, OOB size: 1664
[ 1.165000] Scanning device for bad blocks
[ 1.275000] random: nonblocking pool is initialized
[ 1.660000] 5 ofpart partitions found on MTD device 1c03000.nand
[ 1.670000] Creating 5 MTD partitions on "1c03000.nand":
[ 1.675000] 0x000000000000-0x000000400000 : "SPL"
[ 1.685000] 0x000000400000-0x000000800000 : "SPL.backup"
[ 1.695000] 0x000000800000-0x000000c00000 : "U-Boot"
[ 1.705000] 0x000000c00000-0x000001000000 : "env"
[ 1.710000] 0x000001000000-0x000200000000 : "rootfs"
[ 1.725000] libphy: Fixed MDIO Bus: probed
[ 1.735000] CAN device driver interface
[ 1.740000] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[ 1.750000] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.760000] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[ 1.770000] usbcore: registered new interface driver pegasus
[ 1.780000] usbcore: registered new interface driver asix
[ 1.785000] usbcore: registered new interface driver ax88179_178a
[ 1.795000] usbcore: registered new interface driver cdc_ether
[ 1.805000] usbcore: registered new interface driver smsc75xx
[ 1.810000] usbcore: registered new interface driver smsc95xx
[ 1.820000] usbcore: registered new interface driver net1080
[ 1.825000] usbcore: registered new interface driver rndis_host
[ 1.835000] usbcore: registered new interface driver cdc_subset
[ 1.845000] usbcore: registered new interface driver zaurus
[ 1.850000] usbcore: registered new interface driver cdc_ncm
[ 1.860000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.870000] ehci-pci: EHCI PCI platform driver
[ 1.875000] ehci-platform: EHCI generic platform driver
[ 1.880000] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.890000] ehci-orion: EHCI orion driver
[ 1.895000] SPEAr-ehci: EHCI SPEAr driver
[ 1.900000] ehci-st: EHCI STMicroelectronics driver
[ 1.905000] ehci-exynos: EHCI EXYNOS driver
[ 1.915000] ehci-atmel: EHCI Atmel driver
[ 1.920000] tegra-ehci: Tegra EHCI driver
[ 1.925000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.930000] ohci-pci: OHCI PCI platform driver
[ 1.940000] ohci-platform: OHCI generic platform driver
[ 1.945000] ohci-omap3: OHCI OMAP3 driver
[ 1.950000] SPEAr-ohci: OHCI SPEAr driver
[ 1.960000] ohci-st: OHCI STMicroelectronics driver
[ 1.965000] ohci-atmel: OHCI Atmel driver
[ 1.970000] usbcore: registered new interface driver usb-storage
[ 1.980000] mousedev: PS/2 mouse device common for all mice
[ 1.990000] i2c /dev entries driver
[ 2.000000] axp20x 0-0034: AXP20x variant AXP209 found
[ 2.020000] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[ 2.040000] axp20x 0-0034: AXP20X driver loaded
[ 2.050000] pcf857x 2-0038: probed
[ 2.060000] Driver for 1-wire Dallas network protocol.
[ 2.085000] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 2.100000] sdhci: Secure Digital Host Controller Interface driver
[ 2.110000] sdhci: Copyright(c) Pierre Ossman
[ 2.115000] Synopsys Designware Multimedia Card Interface Driver
[ 2.125000] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.135000] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.145000] usbcore: registered new interface driver usbhid
[ 2.150000] usbhid: USB HID core driver
[ 2.160000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.170000] NET: Registered protocol family 10
[ 2.180000] sit: IPv6 over IPv4 tunneling driver
[ 2.185000] NET: Registered protocol family 17
[ 2.195000] can: controller area network core (rev 20120528 abi 9)
[ 2.200000] NET: Registered protocol family 29
[ 2.210000] can: raw protocol (rev 20120528)
[ 2.215000] can: broadcast manager protocol (rev 20120528 t)
[ 2.225000] can: netlink gateway (rev 20130117) max_hops=1
[ 2.230000] Key type dns_resolver registered
[ 2.245000] ThumbEE CPU extension supported.
[ 2.250000] Registering SWP/SWPB emulation handler
[ 2.260000] usb0-vbus: supplied by vcc5v0
[ 2.270000] ehci-platform 1c14000.usb: EHCI Host Controller
[ 2.280000] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 2.290000] ehci-platform 1c14000.usb: irq 22, io mem 0x01c14000
[ 2.310000] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 2.315000] hub 1-0:1.0: USB hub found
[ 2.325000] hub 1-0:1.0: 1 port detected
[ 2.330000] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 2.340000] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 2
[ 2.350000] ohci-platform 1c14400.usb: irq 23, io mem 0x01c14400
[ 2.420000] hub 2-0:1.0: USB hub found
[ 2.425000] hub 2-0:1.0: 1 port detected
[ 2.430000] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 2.445000] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 2.450000] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 2.460000] hub 3-0:1.0: USB hub found
[ 2.470000] hub 3-0:1.0: 1 port detected
[ 2.475000] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 2.485000] sunxi-mmc 1c0f000.mmc: allocated mmc-pwrseq
[ 2.525000] sunxi-mmc 1c0f000.mmc: base:0xe020c000 irq:20
[ 2.535000] ubi0: attaching mtd4
[ 2.555000] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
[ 2.575000] mmc0: new high speed SDIO card at address 0001
[ 3.650000] ubi0 error: scan_peb: bad image sequence number 750716870 in PEB 2040, expected 1911403089
[ 3.665000] Erase counter header dump:
[ 3.670000] magic 0x55424923
[ 3.675000] version 1
[ 3.680000] ec 3
[ 3.685000] vid_hdr_offset 16384
[ 3.690000] data_offset 32768
[ 3.695000] image_seq 750716870
[ 3.700000] hdr_crc 0x4f63982
[ 3.710000] erase counter header hexdump:
[ 3.715000] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -22
[ 3.725000] UBI error: cannot attach mtd4
[ 3.730000] hctosys: unable to open rtc device (rtc0)
[ 3.745000] vcc3v0: disabling
[ 3.750000] vcc3v3: disabling
[ 3.755000] usb0-vbus: disabling
[ 3.760000] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[ 3.780000] Please append a correct "root=" boot option; here are the available partitions:
[ 3.790000] 1f00 4096 mtdblock0 (driver?)
[ 3.800000] 1f01 4096 mtdblock1 (driver?)
[ 3.805000] 1f02 4096 mtdblock2 (driver?)
[ 3.810000] 1f03 4096 mtdblock3 (driver?)
[ 3.820000] 1f04 8372224 mtdblock4 (driver?)
[ 3.825000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.825000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.11jpm004 #4
[ 3.825000] Hardware name: Allwinner sun4i/sun5i Families
[ 3.825000] [<c021952c>] (unwind_backtrace) from [<c0214aa8>] (show_stack+0x10/0x14)
[ 3.825000] [<c0214aa8>] (show_stack) from [<c04952dc>] (dump_stack+0x88/0x9c)
[ 3.825000] [<c04952dc>] (dump_stack) from [<c02cef74>] (panic+0x9c/0x220)
[ 3.825000] [<c02cef74>] (panic) from [<c0e9e240>] (mount_block_root+0x198/0x238)
[ 3.825000] [<c0e9e240>] (mount_block_root) from [<c0e9e4a8>] (prepare_namespace+0x9c/0x198)
[ 3.825000] [<c0e9e4a8>] (prepare_namespace) from [<c0e9de78>] (kernel_init_freeable+0x1d4/0x1e4)
[ 3.825000] [<c0e9de78>] (kernel_init_freeable) from [<c0a52e24>] (kernel_init+0x8/0xe8)
[ 3.825000] [<c0a52e24>] (kernel_init) from [<c0211668>] (ret_from_fork+0x14/0x2c)
[ 3.825000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment