Chiliboard - Kernel panic and Error -8

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Chiliboard - Kernel panic and Error -8

Postby behrensg » Sat Jun 29, 2019 4:39 pm

Hello,
getting Starting init: /bin/init exists but couldn't execute it (error -8) and Kernel panic with ArchLinuxARM-chiliboard-latest.tar.gz. Addditonal note: I had problems with umount and sync commands during SD card setup (done on a Lenovo W530 with archlinux 5.1.14-arch1-1-ARCH, microSD HC 4GB).

Putty log below
$this->bbcode_second_pass_code('', '
U-Boot SPL 2014.07 (Aug 29 2015 - 12:13:04)
Configuration for Chilisom GCS2
No AC power, disabling frequency switch


U-Boot 2014.07 (Aug 29 2015 - 12:13:04) Arch Linux ARM

I2C: ready
DRAM: 512 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1 0
switch to partitions #0, OK
mmc0 is current device
mmc found on device 0
Checking for: /boot/uEnv.txt ...
9 bytes read in 22 ms (0 Bytes/s)
Loaded environment from /boot/uEnv.txt
Checking if uenvcmd is set ...
5341512 bytes read in 738 ms (6.9 MiB/s)
loading /boot/dtbs/am335x-chiliboard.dtb ...
79966 bytes read in 83 ms (940.4 KiB/s)
** File not found /boot/ **
Kernel image @ 0x82000000 [ 0x000000 - 0x518148 ]
## Flattened Device Tree blob at 84000000
Booting using the fdt blob at 0x84000000
Loading Device Tree to 87fe9000, end 87fff85d ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.1.5-1-ARCH (builduser@leming) (gcc version 8.2.1 20181127 (GCC)) #1 PREEMPT Sun May 26 23:54:49 UTC 2019
[ 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] OF: fdt: Machine model: AM335x Chiliboard
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 48 MiB at 0x9d000000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] random: get_random_bytes called from start_kernel+0x9c/0x500 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=47aa0aa9-cd49-964a-9513-21919ea48ef1 rw rootwait
[ 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: 452000K/524288K available (12288K kernel code, 1044K rwdata, 2980K rodata, 1024K init, 295K bss, 23136K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 39086 entries in 77 pages
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000037] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000094] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000127] OMAP clocksource: timer1 at 24000000 Hz
[ 0.001956] timer_probe: no matching timers found
[ 0.002631] Console: colour dummy device 80x30
[ 0.002707] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.002727] This ensures that you still see kernel messages. Please
[ 0.002744] update your kernel commandline.
[ 0.002865] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[ 0.037203] pid_max: default: 32768 minimum: 301
[ 0.038044] LSM: Security Framework initializing
[ 0.038350] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.038393] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.040455] *** VALIDATE proc ***
[ 0.041342] *** VALIDATE cgroup1 ***
[ 0.041387] *** VALIDATE cgroup2 ***
[ 0.041576] CPU: Testing write buffer coherency: ok
[ 0.041732] CPU0: Spectre v2: using BPIALL workaround
[ 0.044233] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.044678] rcu: Hierarchical SRCU implementation.
[ 0.055406] devtmpfs: initialized
[ 0.094839] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.096117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.096180] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.105549] xor: measuring software checksum speed
[ 0.145170] arm4regs : 364.000 MB/sec
[ 0.185171] 8regs : 326.000 MB/sec
[ 0.225169] 32regs : 325.000 MB/sec
[ 0.265161] neon : 502.000 MB/sec
[ 0.265186] xor: using function: neon (502.000 MB/sec)
[ 0.265229] pinctrl core: initialized pinctrl subsystem
[ 0.268490] NET: Registered protocol family 16
[ 0.276260] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.348131] l3-aon-clkctrl:0000:0: failed to disable
[ 0.416367] audit: initializing netlink subsys (disabled)
[ 0.419210] audit: type=2000 audit(0.412:1): state=initialized audit_enabled=0 res=1
[ 0.419290] cpuidle: using governor menu
[ 0.472175] No ATAGs?
[ 0.472201] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.569448] raid6: neonx8 gen() 343 MB/s
[ 0.637252] raid6: neonx8 xor() 275 MB/s
[ 0.705176] raid6: neonx4 gen() 271 MB/s
[ 0.773172] raid6: neonx4 xor() 293 MB/s
[ 0.841213] raid6: neonx2 gen() 570 MB/s
[ 0.909217] raid6: neonx2 xor() 455 MB/s
[ 0.977233] raid6: neonx1 gen() 430 MB/s
[ 1.025152] random: fast init done
[ 1.045219] raid6: neonx1 xor() 348 MB/s
[ 1.113505] raid6: int32x8 gen() 95 MB/s
[ 1.181448] raid6: int32x8 xor() 66 MB/s
[ 1.249369] raid6: int32x4 gen() 98 MB/s
[ 1.317453] raid6: int32x4 xor() 79 MB/s
[ 1.385362] raid6: int32x2 gen() 98 MB/s
[ 1.453352] raid6: int32x2 xor() 81 MB/s
[ 1.521728] raid6: int32x1 gen() 78 MB/s
[ 1.589246] raid6: int32x1 xor() 67 MB/s
[ 1.589271] raid6: using algorithm neonx2 gen() 570 MB/s
[ 1.589291] raid6: .... xor() 455 MB/s, rmw enabled
[ 1.589313] raid6: using neon recovery algorithm
[ 1.607000] edma 49000000.edma: TI EDMA DMA engine driver
[ 1.613765] SCSI subsystem initialized
[ 1.614660] usbcore: registered new interface driver usbfs
[ 1.614820] usbcore: registered new interface driver hub
[ 1.615118] usbcore: registered new device driver usb
[ 1.617390] pps_core: LinuxPPS API ver. 1 registered
[ 1.617425] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.617496] PTP clock support registered
[ 1.619630] Advanced Linux Sound Architecture Driver Initialized.
[ 1.621442] NetLabel: Initializing
[ 1.621481] NetLabel: domain hash size = 128
[ 1.621500] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.621792] NetLabel: unlabeled traffic allowed by default
[ 1.623521] clocksource: Switched to clocksource timer1
[ 4.380244] VFS: Disk quotas dquot_6.6.0
[ 4.380472] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 4.411271] NET: Registered protocol family 2
[ 4.413773] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 4.413946] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 4.414079] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 4.414203] TCP: Hash tables configured (established 4096 bind 4096)
[ 4.414536] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 4.414597] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 4.415189] NET: Registered protocol family 1
[ 4.417356] RPC: Registered named UNIX socket transport module.
[ 4.417396] RPC: Registered udp transport module.
[ 4.417418] RPC: Registered tcp transport module.
[ 4.417438] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 4.420383] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 4.426558] Initialise system trusted keyrings
[ 4.427255] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 4.447145] zbud: loaded
[ 4.455163] NFS: Registering the id_resolver key type
[ 4.455269] Key type id_resolver registered
[ 4.455294] Key type id_legacy registered
[ 4.455347] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 4.456305] fuse init (API version 7.29)
[ 4.457782] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 4.501208] Key type asymmetric registered
[ 4.501264] Asymmetric key parser 'x509' registered
[ 4.501486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 4.501976] io scheduler mq-deadline registered
[ 4.502016] io scheduler kyber registered
[ 4.514439] OMAP GPIO hardware version 0.1
[ 4.535949] ti-sysc 48042000.target-module: sysc_flags 00000222 != 00000022
[ 4.538006] ti-sysc 48044000.target-module: sysc_flags 00000222 != 00000022
[ 4.540158] ti-sysc 48046000.target-module: sysc_flags 00000222 != 00000022
[ 4.542154] ti-sysc 48048000.target-module: sysc_flags 00000222 != 00000022
[ 4.544257] ti-sysc 4804a000.target-module: sysc_flags 00000222 != 00000022
[ 4.556101] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 4.574497] ti-sysc 4830e000.target-module: idlemodes 00000087 != 00000007
[ 4.577669] ti-sysc 4a101200.target-module: rev_offs 00001200 != 00000000
[ 4.577720] ti-sysc 4a101200.target-module: sysc_offs 00001208 != 00000008
[ 4.577753] ti-sysc 4a101200.target-module: syss_offs 00001204 != 00000004
[ 4.618151] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[ 4.627688] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 4.632280] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 4.641936] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[ 5.433602] printk: console [ttyS0] enabled
[ 5.446038] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 5.472620] libphy: Fixed MDIO Bus: probed
[ 5.479650] CAN device driver interface
[ 5.543736] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 5.551590] libphy: 4a101000.mdio: probed
[ 5.558185] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 5.568176] cpsw 4a100000.ethernet: Detected MACID = 68:9e:19:9a:1c:b1
[ 5.575234] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 5.581880] cpsw 4a100000.ethernet: ALE Table size 1024
[ 5.587363] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[ 5.602009] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.608811] ehci-platform: EHCI generic platform driver
[ 5.615054] ehci-omap: OMAP-EHCI Host Controller driver
[ 5.621060] usbcore: registered new interface driver uas
[ 5.626659] usbcore: registered new interface driver usb-storage
[ 5.632875] usbcore: registered new interface driver ums-cypress
[ 5.647403] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 5.694859] mousedev: PS/2 mouse device common for all mice
[ 5.706019] omap_rtc 44e3e000.rtc: registered as rtc0
[ 5.711826] nvmem omap_rtc_scratch0: nvmem: invalid reg on /ocp/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0/ext-wakeup
[ 5.726212] i2c /dev entries driver
[ 5.736495] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 5.744646] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[ 5.760827] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[ 5.769744] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 5.782730] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.790341] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 5.796831] omap-aes 53500000.aes: will run requests pump with realtime priority
[ 5.813013] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 5.832483] hidraw: raw HID events driver (C) Jiri Kosina
[ 5.839898] usbcore: registered new interface driver usbhid
[ 5.845736] usbhid: USB HID core driver
[ 5.850546] remoteproc remoteproc0: wkup_m3 is available
[ 5.868960] NET: Registered protocol family 10
[ 5.883410] Segment Routing with IPv6
[ 5.887982] mip6: Mobile IPv6
[ 5.891016] NET: Registered protocol family 17
[ 5.895959] can: controller area network core (rev 20170425 abi 9)
[ 5.902579] NET: Registered protocol family 29
[ 5.907466] Key type dns_resolver registered
[ 5.911858] mpls_gso: MPLS GSO support
[ 5.916038] ThumbEE CPU extension supported.
[ 5.920432] Registering SWP/SWPB emulation handler
[ 5.925321] omap_voltage_late_init: Voltage driver support not added
[ 5.935845] registered taskstats version 1
[ 5.940079] Loading compiled-in X.509 certificates
[ 5.945282] zswap: loaded using pool lzo/zbud
[ 5.955143] Btrfs loaded, crc32c=crc32c-generic
[ 5.992152] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 5.997559] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 6.057350] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[ 6.065276] input: tps65217_pwr_but as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0b000.target-module/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[ 6.083863] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 6.089541] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 6.103646] remoteproc remoteproc0: powering up wkup_m3
[ 6.111795] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 6.117282] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[ 6.125621] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 6.133645] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 6.133688] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[ 6.148050] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[ 6.156742] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.164242] usb usb1: Product: MUSB HDRC host driver
[ 6.169395] usb usb1: Manufacturer: Linux 5.1.5-1-ARCH musb-hcd
[ 6.175617] usb usb1: SerialNumber: musb-hdrc.1
[ 6.182205] hub 1-0:1.0: USB hub found
[ 6.186367] hub 1-0:1.0: 1 port detected
[ 6.200804] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[ 6.209754] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 6.243130] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:01 UTC (946684801)
[ 6.253284] ALSA device list:
[ 6.256426] No soundcards found.
[ 6.260562] Waiting for root device PARTUUID=47aa0aa9-cd49-964a-9513-21919ea48ef1...
[ 6.296824] mmc0: host does not support reading read-only switch, assuming write-enable
[ 6.306874] mmc0: new high speed SDHC card at address 1234
[ 6.314020] mmcblk0: mmc0:1234 SA04G 3.71 GiB
[ 6.331322] mmcblk0: p1
[ 6.506320] EXT4-fs (mmcblk0p1): recovery complete
[ 6.915840] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.924165] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ 6.931841] devtmpfs: mounted
[ 6.939709] Freeing unused kernel memory: 1024K
[ 6.944844] Run /sbin/init as init process
[ 6.992207] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-0000, throttling...
[ 12.003550] request_module: modprobe binfmt-0000 cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[ 12.021248] Starting init: /sbin/init exists but couldn't execute it (error -8)
[ 12.040033] Run /etc/init as init process
[ 12.046314] Run /bin/init as init process
[ 12.067205] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-0000, throttling...
[ 17.123548] request_module: modprobe binfmt-0000 cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[ 17.141242] Starting init: /bin/init exists but couldn't execute it (error -8)
[ 17.159939] Run /bin/sh as init process
[ 17.182841] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-0000, throttling...
[ 22.243543] request_module: modprobe binfmt-0000 cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[ 22.261076] Starting init: /bin/sh exists but couldn't execute it (error -8)
[ 22.279624] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 22.293870] CPU: 0 PID: 1 Comm: swapper Not tainted 5.1.5-1-ARCH #1
[ 22.300162] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 22.306281] Backtrace:
[ 22.308769] [<c010ed00>] (dump_backtrace) from [<c010f0a0>] (show_stack+0x20/0x24)
[ 22.316374] r7:00000000 r6:c0eb19bc r5:00000000 r4:c1205b80
[ 22.322069] [<c010f080>] (show_stack) from [<c0c92344>] (dump_stack+0x24/0x28)
[ 22.329328] [<c0c92320>] (dump_stack) from [<c0134774>] (panic+0x10c/0x2e4)
[ 22.336323] [<c013466c>] (panic) from [<c0caa6c0>] (kernel_init+0x11c/0x124)
[ 22.343401] r3:6d2fc952 r2:6d2fc952 r1:db47d488 r0:c0eb19bc
[ 22.349081] r7:00000000
[ 22.351629] [<c0caa5a4>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 22.359230] Exception stack(0xdc117fb0 to 0xdc117ff8)
[ 22.364305] 7fa0: 00000000 00000000 00000000 00000000
[ 22.372519] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 22.380733] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 22.387374] r5:c0caa5a4 r4:00000000
[ 22.390988] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---
[ 64.607566] random: crng init done
')

The buildroot example from grinn-global (https://wiki.grinn-global.com/doku.php? ... uick_start) will boot correct from SD card.
behrensg
 
Posts: 2
Joined: Fri Jun 28, 2019 12:42 am

Re: Chiliboard - Kernel panic and Error -8

Postby behrensg » Sun Jun 30, 2019 12:35 am

I was able to get a successful boot (after many tries). The problem is with the microSD cards that I have or my Linux PC.
behrensg
 
Posts: 2
Joined: Fri Jun 28, 2019 12:42 am


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 4 guests