Skip to content

Instantly share code, notes, and snippets.

@shenki
Created September 18, 2019 05:32
Show Gist options
  • Save shenki/3dcf7829efef7cc1d8e3a7ca065d9045 to your computer and use it in GitHub Desktop.
Save shenki/3dcf7829efef7cc1d8e3a7ca065d9045 to your computer and use it in GitHub Desktop.
linux 5.3 on vexriscv on arty
VexRiscv Machine Mode software built Jul 9 2019 11:58:09
--========== Booting Linux =============--
[ 0.000000] Linux version 5.3.0-00010-g61c146e3169a (joel@voyager) (gcc version 8.3.0 (Buildroot 2019.11-git-00298-g5c9e9ef10087)) #1 Wed Sep 18 14:45:08 ACST 2019
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
[ 0.000000] Initial ramdisk at: 0x(ptrval) (8388608 bytes)
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000c0000000-0x00000000cfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000cfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000cfffffff]
[ 0.000000] elf_hwcap is 0x1101
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64896
[ 0.000000] Kernel command line: mem=256M@0xc0000000 rootwait console=liteuart earlycon=sbi root=/dev/ram0 init=/sbin/init swiotlb=32
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 246776K/262144K available (3340K kernel code, 138K rwdata, 520K rodata, 160K init, 210K bss, 15368K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[ 0.000227] sched_clock: 64 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[ 0.003002] Console: colour dummy device 80x25
[ 0.004039] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[ 0.005936] pid_max: default: 32768 minimum: 301
[ 0.011953] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.013228] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.080630] random: get_random_bytes called from setup_net+0x54/0x1dc with crng_init=0
[ 0.086215] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.087654] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.096272] NET: Registered protocol family 16
[ 0.277726] clocksource: Switched to clocksource riscv_clocksource
[ 0.444744] NET: Registered protocol family 2
[ 0.457219] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.459209] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.460797] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.462601] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.465690] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.467317] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.481468] Unpacking initramfs...
[ 1.826828] Initramfs unpacking failed: invalid magic at start of compressed archive
[ 2.140343] Freeing initrd memory: 8192K
[ 2.158692] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 2.494651] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 2.495656] io scheduler mq-deadline registered
[ 2.496292] io scheduler kyber registered
[ 3.516839] f0001000.serial: ttyLXU0 at MMIO 0xf0001000 (irq = 0, base_baud = 0) is a liteuart
[ 3.518698] printk: console [liteuart0] enabled
[ 3.518698] printk: console [liteuart0] enabled
[ 3.519871] printk: bootconsole [sbi0] disabled
[ 3.519871] printk: bootconsole [sbi0] disabled
[ 3.566858] libphy: Fixed MDIO Bus: probed
[ 3.568910] liteeth f0003800.mac: Failed to get IRQ, using polling
[ 3.570854] Unable to handle kernel paging request at virtual address ffffffa1
[ 3.571832] Oops [#1]
[ 3.572275] CPU: 0 PID: 1 Comm: swapper Not tainted 5.3.0-00010-g61c146e3169a #1
[ 3.573289] sepc: c0203f10 ra : c0203f0c sp : cf82bd70
[ 3.574020] gp : c040fd38 tp : cf82c000 t0 : cf8a4b40
[ 3.574744] t1 : 00ff0000 t2 : 0000027d s0 : cf82bda0
[ 3.575470] s1 : cf826800 a0 : ffffffa1 a1 : cf82bd58
[ 3.576193] a2 : 00000000 a3 : c02373dc a4 : 00000001
[ 3.576917] a5 : 00000004 a6 : 0000ff00 a7 : ffffffff
[ 3.577641] s2 : 00000001 s3 : cf848c00 s4 : cf848c10
[ 3.578364] s5 : 00000000 s6 : cfd7f53c s7 : a000d000
[ 3.579080] s8 : 00000000 s9 : 00000000 s10: 00000007
[ 3.579801] s11: 00000000 t3 : cf805010 t4 : 00000007
[ 3.580496] t5 : 00000000 t6 : 00000000
[ 3.581076] sstatus: 00000120 sbadaddr: ffffffa1 scause: 0000000d
[ 3.582758] ---[ end trace 40816febf6232902 ]---
[ 3.583578] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 3.584662] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment