Skip to content

Unable to boot Linux kernel #2

Description

@wolfhechel

A few issues can be seen detected from this boot log:

  • ar7-gpio fails to add
  • CPMAC drivers are not big endian compatible
  • Garbage output after freeing unused kernel memory
  • Fails to run init binary after kernel load
[    0.000000] Linux version 4.1.11 (vagrant@localhost) (gcc version 5.2.0 (crosstool-NG crosstool-ng-1.22.0) ) #1 Sat Aug 13 02:11:23 UTC 2016
[    0.000000] ar7-gpio: failed to add gpiochip
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00018448 (MIPS 4KEc)
[    0.000000] TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x02
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 01000000 @ 14000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000014000000-0x0000000014ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000014000000-0x0000000014ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000014000000-0x0000000014ffffff]
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Memory: 12760K/16384K available (1441K kernel code, 79K rwdata, 236K rodata, 476K init, 170K bss, 3624K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 25483472618 ns
[    0.000044] sched_clock: 32 bits at 75MHz, resolution 13ns, wraps every 28633115129ns
[    0.008229] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[    0.081003] pid_max: default: 32768 minimum: 301
[    0.086365] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093289] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.112075] devtmpfs: initialized
[    0.123883] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.168011] Switched to clocksource MIPS
[    1.308721] unable to add cpmac-high phy: -19
[    1.313180] unable to add cpmac-low phy: -19
[    1.323160] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.365657] io scheduler noop registered
[    1.369947] io scheduler deadline registered (default)
[    1.376886] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.384258] serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15, base_baud = 3906250) is a TI-AR7
[    1.393158] console [ttyS0] enabled
[    1.393158] console [ttyS0] enabled
[    1.400579] bootconsole [early0] disabled
[    1.400579] bootconsole [early0] disabled
[    1.410737] serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16, base_baud = 3906250) is a TI-AR7
[    1.423171] vlynq0: regs 0x08611800, irq 29, mem 0x04000000
[    1.430004] vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
[    1.455522] Freeing prom memory: 1020k freed
[    1.465316] Freeing unused kernel memory: 476K (942b9000 - 94330000)
o ae
-lu
tg
it c  3 h nd
[    1.526355] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[    1.526355]
[    1.536004] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[    1.536004]%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions