Skip to content

Instantly share code, notes, and snippets.

@Keno
Created April 25, 2019 04:04
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 Keno/87ccb46105cded411b9efa0dfdb36db1 to your computer and use it in GitHub Desktop.
Save Keno/87ccb46105cded411b9efa0dfdb36db1 to your computer and use it in GitHub Desktop.
DRAM Init-DDR3
CBR0-1357135670123456701234567
CBR134Done
Loading kernel: [4038209a]
Loading device tree: [35cbc4d5]
Loading initrd: [087d899b]
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.0.7-ubmc-boot-00097-ge124b50aeacb (keno@arctic4) (gcc version 6.3.1 20170620 (15:6.3.1+svn253039-1build1)) #1 Wed Apr 24 23:49:05 EDT 2019
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Supermicro X11 BMC
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] random: get_random_bytes called from start_kernel+0x78/0x450 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 28448
[ 0.000000] Kernel command line: earlyprintk=1 rdinit=/loader ubi.mtd=ubi
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 108008K/114688K available (2048K kernel code, 87K rwdata, 524K rodata, 1024K init, 111K bss, 6680K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x87800000 - 0xff800000 (1920 MB)
[ 0.000000] lowmem : 0x80000000 - 0x87000000 ( 112 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (3040 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 88 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 112 kB)
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] i2c controller registered, irq 16
[ 0.000000] clocksource: FTTMR010-TIMER2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.008688] Switching to timer-based delay loop, resolution 41ns
[ 0.017063] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.028567] pid_max: default: 32768 minimum: 301
[ 0.034649] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.042038] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051658] CPU: Testing write buffer coherency: ok
[ 0.059074] Setting up static identity map for 0x40100000 - 0x4010003c
[ 0.068834] devtmpfs: initialized
[ 0.090538] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.101475] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.108220] pinctrl core: initialized pinctrl subsystem
[ 0.115672] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.177053] clocksource: Switched to clocksource FTTMR010-TIMER2
[ 0.193629] Unpacking initramfs...
[ 0.534750] Freeing initrd memory: 1220K
[ 0.541152] Initialise system trusted keyrings
[ 0.549862] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.569406] Key type asymmetric registered
[ 0.573932] Asymmetric key parser 'x509' registered
[ 0.586655] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[ 0.603627] 1e784000.serial: ttyS4 at MMIO 0x1e784000 (irq = 27, base_baud = 1500000) is a 16550A
[ 0.624414] aspeed-smc 1e620000.spi: Using 50 MHz SPI frequency
[ 0.631246] aspeed-smc 1e620000.spi: mx25l25635e (32768 Kbytes)
[ 0.637885] aspeed-smc 1e620000.spi: CE0 window [ 0x20000000 - 0x22000000 ] 32MB
[ 0.646035] aspeed-smc 1e620000.spi: CE1 window [ 0x22000000 - 0x26000000 ] 64MB
[ 0.654257] aspeed-smc 1e620000.spi: read control register: 203c0041
[ 0.865986] aspeed-smc 1e620000.spi: No good frequency, using dumb slow
[ 0.877457] 2 fixed-partitions partitions found on MTD device bmc
[ 0.884170] Creating 2 MTD partitions on "bmc":
[ 0.889303] 0x000000000000-0x000000250000 : "u-boot"
[ 0.896658] 0x000000250000-0x000002000000 : "ubi"
[ 0.912868] aspeed-smc 1e630000.spi: Using 50 MHz SPI frequency
[ 0.919589] aspeed-smc 1e630000.spi: unrecognized JEDEC id bytes: 03, 03, 03
[ 0.927454] aspeed-smc 1e630000.spi: Aspeed SMC probe failed -2
[ 0.961483] aspeed-smc: probe of 1e630000.spi failed with error -2
[ 0.971149] Loading compiled-in X.509 certificates
[ 1.006966] Loaded X.509 cert 'Build time autogenerated kernel key: 54d90977b3e2d03ca23e380ac8dc249d3eaf6bb8'
[ 1.020143] ubi0: default fastmap pool size: 20
[ 1.025137] ubi0: default fastmap WL pool size: 10
[ 1.030519] ubi0: attaching mtd2
[ 1.065268] ubi0: scanning is finished
[ 1.091374] ubi0: attached mtd2 (name "ubi", size 29 MiB)
[ 1.097444] ubi0: PEB size: 65536 bytes (64 KiB), LEB size: 65408 bytes
[ 1.104723] ubi0: min./max. I/O unit sizes: 1/256, sub-page size 1
[ 1.111622] ubi0: VID header offset: 64 (aligned 64), data offset: 128
[ 1.118883] ubi0: good PEBs: 475, bad PEBs: 0, corrupted PEBs: 0
[ 1.125498] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.133513] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1606155980
[ 1.143633] ubi0: available PEBs: 0, total reserved PEBs: 475, PEBs reserved for bad PEB handling: 0
[ 1.154578] Warning: unable to open an initial console.
[ 1.165041] Freeing unused kernel memory: 1024K
[ 1.170270] ubi0: background thread "ubi_bgt0d" started, PID 184
[ 1.258579] Checked W+X mappings: passed, no W+X pages found
[ 1.264818] Run /loader as init process
[ 1.397236] bootlock: loading out-of-tree module taints kernel.
[ 1.415449] random: fast init done
[ 1.441567] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 1.495819] UBIFS (ubi0:1): recovery needed
[ 1.581415] UBIFS (ubi0:1): recovery deferred
[ 1.586239] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "root", R/O mode
[ 1.595248] UBIFS (ubi0:1): LEB size: 65408 bytes (63 KiB), min./max. I/O unit sizes: 8 bytes/256 bytes
[ 1.605659] UBIFS (ubi0:1): FS size: 30022272 bytes (28 MiB, 459 LEBs), journal size 8650240 bytes (8 MiB, 133 LEBs)
[ 1.617294] UBIFS (ubi0:1): reserved for root: 0 bytes (0 KiB)
[ 1.623728] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 7B77DA01-B037-45E9-A3D6-3A3BE7F4C00C, small LPT model
[ 16.913547] kexec_core: Starting new kernel
[ 16.918281] Bye!
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.0.7-ubmc-00097-ge124b50aeacb-dirty (keno@arctic4) (gcc version 6.3.1 20170620 (15:6.3.1+svn253039-1build1)) #1 Wed Apr 24 23:51:45 EDT 2019
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Supermicro X11 BMC
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x4e4 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 28448
[ 0.000000] Kernel command line: earlyprintk=1 ubi.mtd=ubi root=ubi0:root rootfstype=ubifs init=/init dyndbg="file net/ncsi/* +p" rw
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 103796K/114688K available (6144K kernel code, 367K rwdata, 1324K rodata, 1024K init, 146K bss, 10892K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x87800000 - 0xff800000 (1920 MB)
[ 0.000000] lowmem : 0x80000000 - 0x87000000 ( 112 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 368 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 147 kB)
[ 0.000000] ftrace: allocating 18720 entries in 37 pages
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] i2c controller registered, irq 16
[ 0.000000] clocksource: FTTMR010-TIMER2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.008698] Switching to timer-based delay loop, resolution 41ns
[ 0.017386] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.028900] pid_max: default: 32768 minimum: 301
[ 0.035235] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.042633] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.052740] CPU: Testing write buffer coherency: ok
[ 0.060511] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.083642] devtmpfs: initialized
[ 0.108705] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.119707] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.126960] pinctrl core: initialized pinctrl subsystem
[ 0.134194] NET: Registered protocol family 16
[ 0.141795] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.260804] usbcore: registered new interface driver usbfs
[ 0.267074] usbcore: registered new interface driver hub
[ 0.273305] usbcore: registered new device driver usb
[ 0.292640] clocksource: Switched to clocksource FTTMR010-TIMER2
[ 0.379092] NET: Registered protocol family 2
[ 0.385921] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.394553] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.402266] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.409387] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.416719] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.423303] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.430829] NET: Registered protocol family 1
[ 0.442064] Initialise system trusted keyrings
[ 0.452248] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.475834] NET: Registered protocol family 38
[ 0.480749] Key type asymmetric registered
[ 0.485376] Asymmetric key parser 'x509' registered
[ 0.503544] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[ 0.523842] 1e784000.serial: ttyS4 at MMIO 0x1e784000 (irq = 28, base_baud = 1500000) is a 16550A
[ 0.539301] timeriomem_rng 1e6e2078.hwrng: 32bits from 0x(ptrval) @ 1us
[ 0.552225] random: fast init done
[ 0.570269] random: crng init done
[ 0.638807] brd: module loaded
[ 0.675973] loop: module loaded
[ 0.690119] aspeed-smc 1e620000.spi: Using 50 MHz SPI frequency
[ 0.696976] aspeed-smc 1e620000.spi: mx25l25635e (32768 Kbytes)
[ 0.703636] aspeed-smc 1e620000.spi: CE0 window [ 0x20000000 - 0x22000000 ] 32MB
[ 0.711789] aspeed-smc 1e620000.spi: CE1 window [ 0x22000000 - 0x26000000 ] 64MB
[ 0.720026] aspeed-smc 1e620000.spi: read control register: 203c0041
[ 0.931947] aspeed-smc 1e620000.spi: No good frequency, using dumb slow
[ 0.949084] 2 fixed-partitions partitions found on MTD device bmc
[ 0.955960] Creating 2 MTD partitions on "bmc":
[ 0.960976] 0x000000000000-0x000000250000 : "u-boot"
[ 0.972582] 0x000000250000-0x000002000000 : "ubi"
[ 0.993249] aspeed-smc 1e630000.spi: Using 50 MHz SPI frequency
[ 0.999862] aspeed-smc 1e630000.spi: unrecognized JEDEC id bytes: 03, 03, 03
[ 1.007801] aspeed-smc 1e630000.spi: Aspeed SMC probe failed -2
[ 1.041858] aspeed-smc: probe of 1e630000.spi failed with error -2
[ 1.051936] libphy: Fixed MDIO Bus: probed
[ 1.058436] ftgmac100 1e660000.ethernet: Read MAC address 34:40:ac:02:34:40 from chip
[ 1.067215] ftgmac100 1e660000.ethernet: Using NCSI interface
[ 1.085685] ftgmac100 1e660000.ethernet eth0: irq 19, mapped at 6ec3a8da
[ 1.093613] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.100862] ehci-platform: EHCI generic platform driver
[ 1.108211] i2c /dev entries driver
[ 1.113096] Driver for 1-wire Dallas network protocol.
[ 1.123496] usbcore: registered new interface driver usbhid
[ 1.129633] usbhid: USB HID core driver
[ 1.138413] NET: Registered protocol family 10
[ 1.180121] Segment Routing with IPv6
[ 1.185275] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.194182] NET: Registered protocol family 17
[ 1.199129] 8021q: 802.1Q VLAN Support v1.8
[ 1.208673] Loading compiled-in X.509 certificates
[ 1.245321] Loaded X.509 cert 'Build time autogenerated kernel key: b3101d94e8234f79e4951a458ef34ae7532734e4'
[ 1.265694] ubi0: default fastmap pool size: 20
[ 1.270698] ubi0: default fastmap WL pool size: 10
[ 1.276095] ubi0: attaching mtd2
[ 1.312075] ubi0: scanning is finished
[ 1.339110] ubi0: attached mtd2 (name "ubi", size 29 MiB)
[ 1.345200] ubi0: PEB size: 65536 bytes (64 KiB), LEB size: 65408 bytes
[ 1.352487] ubi0: min./max. I/O unit sizes: 1/256, sub-page size 1
[ 1.359399] ubi0: VID header offset: 64 (aligned 64), data offset: 128
[ 1.366674] ubi0: good PEBs: 475, bad PEBs: 0, corrupted PEBs: 0
[ 1.373366] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.381317] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1606155980
[ 1.391441] ubi0: available PEBs: 0, total reserved PEBs: 475, PEBs reserved for bad PEB handling: 0
[ 1.401650] printk: console [netcon0] enabled
[ 1.406561] netconsole: network logging started
[ 1.411917] hctosys: unable to open rtc device (rtc0)
[ 1.418442] Warning: unable to open an initial console.
[ 1.424787] ubi0: background thread "ubi_bgt0d" started, PID 433
[ 1.435064] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 1.465234] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 436
[ 1.498123] UBIFS (ubi0:1): recovery needed
[ 1.972767] UBIFS (ubi0:1): recovery completed
[ 1.977975] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "root"
[ 1.986060] UBIFS (ubi0:1): LEB size: 65408 bytes (63 KiB), min./max. I/O unit sizes: 8 bytes/256 bytes
[ 1.996492] UBIFS (ubi0:1): FS size: 30022272 bytes (28 MiB, 459 LEBs), journal size 8650240 bytes (8 MiB, 133 LEBs)
[ 2.008149] UBIFS (ubi0:1): reserved for root: 0 bytes (0 KiB)
[ 2.014655] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 7B77DA01-B037-45E9-A3D6-3A3BE7F4C00C, small LPT model
[ 2.027785] VFS: Mounted root (ubifs filesystem) on device 0:12.
[ 2.035235] devtmpfs: mounted
[ 2.048273] Freeing unused kernel memory: 1024K
[ 2.144129] Checked W+X mappings: passed, no W+X pages found
[ 2.150373] Run /init as init process
[ 5.157803] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 5.166253] CPU: 0 PID: 439 Comm: init Not tainted 5.0.7-ubmc-00097-ge124b50aeacb-dirty #1
[ 5.175336] Hardware name: Aspeed SoC
[ 5.179354] Backtrace:
[ 5.182101] [<80106f0c>] (dump_backtrace) from [<801071f8>] (show_stack+0x20/0x24)
[ 5.190433] r7:86808020 r6:807aefe0 r5:00000000 r4:80a5bee8
[ 5.196674] [<801071d8>] (show_stack) from [<805e29f8>] (dump_stack+0x20/0x28)
[ 5.204626] [<805e29d8>] (dump_stack) from [<80114bf4>] (panic+0xf8/0x2e8)
[ 5.212201] [<80114b00>] (panic) from [<801170cc>] (do_exit+0x9a4/0xa00)
[ 5.219575] r3:86890b60 r2:86890b6c r1:00000000 r0:807aefe0
[ 5.225793] r7:86808020
[ 5.228595] [<80116728>] (do_exit) from [<80117dbc>] (do_group_exit+0x4c/0xc4)
[ 5.236523] r7:fffffe00
[ 5.239329] [<80117d70>] (do_group_exit) from [<8012320c>] (get_signal+0x13c/0x734)
[ 5.247741] r5:8608bfb0 r4:00000000
[ 5.251690] [<801230d0>] (get_signal) from [<80106394>] (do_work_pending+0x14c/0x594)
[ 5.260310] r10:8608bf44 r9:80a0702c r8:000702f4 r7:fffffe00 r6:80a07028 r5:8608bfb0
[ 5.268910] r4:8608a000
[ 5.271711] [<80106248>] (do_work_pending) from [<80101068>] (slow_work_pending+0xc/0x20)
[ 5.280690] Exception stack(0x8608bfb0 to 0x8608bff8)
[ 5.286247] bfa0: 01387640 00000080 00000000 00000000
[ 5.295251] bfc0: 00000000 00000000 00000000 000000f0 024363c0 02400f94 02400ee0 00000005
[ 5.304243] bfe0: 0246ee1d 02432768 0003d3e0 000702f4 20000010 01387640
[ 5.311527] r10:00000000 r9:8608a000 r8:801011e4 r7:000000f0 r6:00000000 r5:00000000
[ 5.320120] r4:00000000
[ 5.322924] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment