Skip to content

Instantly share code, notes, and snippets.

@arjan
Created November 15, 2016 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arjan/c4011f7aa6c81fc1d9581ac97be9f467 to your computer and use it in GitHub Desktop.
Save arjan/c4011f7aa6c81fc1d9581ac97be9f467 to your computer and use it in GitHub Desktop.
Kernel panic while booting Nerves EV3 example
Booting Linux on physical CPU 0x0
Linux version 3.16.7-ckt21-9-ev3dev-ev3 (travis@testing-gce-4a64bf49-6596-4092-8f3f-bbd884cce8e4) (gcc version 4.9.3 (crosstool-NG v0.7.1) ) #1 PREEMPT Wed Sep 21 17:01:00 UTC 2016
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
CPU: VIVT data cache, VIVT instruction cache
Machine: LEGO MINDSTORMS EV3 Programmable Brick
Memory policy: Data cache writeback
DaVinci da850/omap-l138/am18x variant 0x1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: mem=64M console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=dhcp lpj=747520
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 59236K/65536K available (3962K kernel code, 213K rwdata, 1240K rodata, 132K init, 103K bss, 6300K reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc051cebc (5204 kB)
.init : 0xc051d000 - 0xc053e30c ( 133 kB)
.data : 0xc0540000 - 0xc0575720 ( 214 kB)
.bss : 0xc057572c - 0xc058f398 ( 104 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:245
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped) preset value.. 149.50 BogoMIPS (lpj=747520)
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
Setting up static identity map for 0xc03e4ec0 - 0xc03e4efc
devtmpfs: initialized
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
legoev3_init: global_cursor_default: 0, default_screen_mode: -1
edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
edma-dma-engine edma-dma-engine.1: TI EDMA DMA engine driver
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource timer0_1
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211: DFS Master region: unset
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (2000 mBi, 0 mBm), (N/A)
cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (2000 mBi, 0 mBm), (N/A)
cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (2000 mBi, 0 mBm), (N/A)
cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (2000 mBi, 0 mBm), (N/A)
cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (2000 mBi, 0 mBm), (0 s)
cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (2000 mBi, 0 mBm), (0 s)
cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (2000 mBi, 0 mBm), (N/A)
cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
futex hash table entries: 256 (order: -1, 3072 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 115
io scheduler noop registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 9375000) is a AR7
console [ttyS1] disabled
serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a AR7
console [ttyS1] enabled
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a AR7
brd: module loaded
loop: module loaded
zram: Created 1 device(s) ...
at24 1-0050: 16384 byte 24c128 EEPROM, read-only, 0 bytes/write
spi_davinci spi_davinci.1: DMA: supported
spi_davinci spi_davinci.1: DMA: RX channel: 0x00000012, TX channel: 0x00000013, event queue: 0
Console: switching to mono frame buffer device 22x16
fb0: ST7586 frame buffer device, using 10.5 KiB of video memory
spi_davinci spi_davinci.1: Controller at 0xfef0e000
spi_davinci spi_davinci.0: DMA: supported
spi_davinci spi_davinci.0: DMA: RX channel: 0x0000000e, TX channel: 0x0000000f, event queue: 0
spi_davinci spi_davinci.0: Controller at 0xfec41000
usbcore: registered new interface driver rt2800usb
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 1
Waiting for USB PHY clock good...
ohci ohci.0: irq 59, io mem 0x01e25000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DA8xx OHCI
usb usb1: Manufacturer: Linux 3.16.7-ckt21-9-ev3dev-ev3 ohci_hcd
usb usb1: SerialNumber: ohci.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
Waiting for USB PHY clock good...
omap_rtc da830-rtc: rtc core: registered da830-rtc as rtc0
da830-rtc: RTC power up reset detected
i2c /dev entries driver
davinci-wdt davinci-wdt: heartbeat 60 sec
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver r8712u
usbcore: registered new interface driver r8188eu
TCP: cubic registered
NET: Registered protocol family 17
input: EV3 buttons as /devices/platform/gpio-keys.0/input/input0
omap_rtc da830-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 NCard 3.73 GiB
mmcblk0: p1 p2 p3
VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 132K (c051d000 - c053e000)
Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 0 PID: 1 Comm: swapper Not tainted 3.16.7-ckt21-9-ev3dev-ev3 #1
Backtrace:
[<c000bf30>] (dump_backtrace) from [<c000c13c>] (show_stack+0x18/0x1c)
r6:00000000 r5:c0575a48 r4:c0575740 r3:00200140
[<c000c124>] (show_stack) from [<c03dfee4>] (dump_stack+0x20/0x28)
[<c03dfec4>] (dump_stack) from [<c03dedc0>] (panic+0x9c/0x1f4)
[<c03ded28>] (panic) from [<c03de838>] (kernel_init+0xc0/0xec)
r3:00000000 r2:60000013 r1:0000058b r0:c04ab538
r7:00000000
[<c03de778>] (kernel_init) from [<c00095b8>] (ret_from_fork+0x14/0x3c)
r4:00000000 r3:c383a000
---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment