qemu-system-riscv64: warning: hub port hub0port0 has no peer qemu-system-riscv64: warning: hub 0 with no nics qemu-system-riscv64: warning: netdev hub0port0 has no peer qemu-system-riscv64: warning: requested NIC (#net041, model virtio) was not created (not supported by this machine?) OpenSBI v1.4 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 1 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform PMU Device : --- Platform Reboot Device : syscon-reboot Platform Shutdown Device : syscon-poweroff Platform Suspend Device : --- Platform CPPC Device : --- Firmware Base : 0x80000000 Firmware Size : 323 KB Firmware RW Offset : 0x40000 Firmware RW Size : 67 KB Firmware Heap Offset : 0x48000 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 9 KB (used), 23 KB (free) Firmware Scratch Size : 4096 B (total), 328 B (used), 3768 B (free) Runtime SBI Version : 2.0 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000000100000-0x0000000000100fff M: (I,R,W) S/U: (R,W) Domain0 Region01 : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W) Domain0 Region02 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: () Domain0 Region03 : 0x0000000080040000-0x000000008005ffff M: (R,W) S/U: () Domain0 Region04 : 0x0000000080000000-0x000000008003ffff M: (R,X) S/U: () Domain0 Region05 : 0x000000000c400000-0x000000000c5fffff M: (I,R,W) S/U: (R,W) Domain0 Region06 : 0x000000000c000000-0x000000000c3fffff M: (I,R,W) S/U: (R,W) Domain0 Region07 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x00000000bfe00000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Domain0 SysSuspend : yes Boot HART ID : 0 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : sstc,zicntr,zihpm,zicboz,zicbom Boot HART PMP Count : 16 Boot HART PMP Granularity : 2 bits Boot HART PMP Address Bits: 54 Boot HART MHPM Info : 16 (0x0007fff8) Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 [ 0.000000][ T0] Linux version 6.11.0-next-20240918 (KernelCI@build-j313280-riscv-gcc-12-defconfig-debug-h7zpk) (riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Wed Sep 18 13:31:37 UTC 2024 [ 0.000000][ T0] random: crng init done [ 0.000000][ T0] Machine model: riscv-virtio,qemu [ 0.000000][ T0] SBI specification v2.0 detected [ 0.000000][ T0] SBI implementation ID=0x1 Version=0x10004 [ 0.000000][ T0] SBI TIME extension detected [ 0.000000][ T0] SBI IPI extension detected [ 0.000000][ T0] SBI RFENCE extension detected [ 0.000000][ T0] SBI SRST extension detected [ 0.000000][ T0] SBI DBCN extension detected [ 0.000000][ T0] efi: UEFI not found. [ 0.000000][ T0] OF: reserved mem: 0x0000000080000000..0x000000008003ffff (256 KiB) nomap non-reusable mmode_resv1@80000000 [ 0.000000][ T0] OF: reserved mem: 0x0000000080040000..0x000000008005ffff (128 KiB) nomap non-reusable mmode_resv0@80040000 [ 0.000000][ T0] earlycon: ns16550a0 at MMIO 0x0000000010000000 (options '') [ 0.000000][ T0] printk: legacy bootconsole [ns16550a0] enabled [ 0.000000][ T0] Zone ranges: [ 0.000000][ T0] DMA32 [mem 0x0000000080000000-0x00000000bfffffff] [ 0.000000][ T0] Normal empty [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000080000000-0x000000008005ffff] [ 0.000000][ T0] node 0: [mem 0x0000000080060000-0x00000000bfffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff] [ 0.000000][ T0] SBI HSM extension detected [ 0.000000][ T0] riscv: base ISA extensions acdfhim [ 0.000000][ T0] riscv: ELF capabilities acdfim [ 0.000000][ T0] percpu: Embedded 33 pages/cpu s95376 r8192 d31600 u135168 [ 0.000000][ T0] pcpu-alloc: s95376 r8192 d31600 u135168 alloc=33*4096 [ 0.000000][ T0] pcpu-alloc: [0] 0 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=/dev/ram0 debug verbose console_msg_format=syslog earlycon deferred_probe_timeout=60 <5>[ 0.000000][ T0] Unknown kernel command line parameters "verbose", will be passed to user space. <6>[ 0.000000][ T0] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) <6>[ 0.000000][ T0] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) <6>[ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 262144 <6>[ 0.000000][ T0] mem auto-init: stack:all(zero), heap alloc:off, heap free:off <6>[ 0.000000][ T0] stackdepot: allocating hash table via alloc_large_system_hash <6>[ 0.000000][ T0] stackdepot hash table entries: 1048576 (order: 12, 16777216 bytes, linear) <6>[ 0.000000][ T0] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB <6>[ 0.000000][ T0] software IO TLB: area num 1. <6>[ 0.000000][ T0] software IO TLB: mapped [mem 0x00000000b3280000-0x00000000b3380000] (1MB) <5>[ 0.000000][ T0] Virtual kernel memory layout: <5>[ 0.000000][ T0] fixmap : 0xff1bfffffea00000 - 0xff1bffffff000000 (6144 kB) <5>[ 0.000000][ T0] pci io : 0xff1bffffff000000 - 0xff1c000000000000 ( 16 MB) <5>[ 0.000000][ T0] vmemmap : 0xff1c000000000000 - 0xff20000000000000 (1024 TB) <5>[ 0.000000][ T0] vmalloc : 0xff20000000000000 - 0xff60000000000000 (16384 TB) <5>[ 0.000000][ T0] modules : 0xffffffff055a6000 - 0xffffffff80000000 (1962 MB) <5>[ 0.000000][ T0] lowmem : 0xff60000000000000 - 0xff60000040000000 (1024 MB) <5>[ 0.000000][ T0] kasan : 0xffdf000000000000 - 0xffffffff00000000 (8447 TB) <5>[ 0.000000][ T0] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) <4>[ 0.000000][ T0] ********************************************************** <4>[ 0.000000][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** <4>[ 0.000000][ T0] ** ** <4>[ 0.000000][ T0] ** This system shows unhashed kernel memory addresses ** <4>[ 0.000000][ T0] ** via the console, logs, and other interfaces. This ** <4>[ 0.000000][ T0] ** might reduce the security of your system. ** <4>[ 0.000000][ T0] ** ** <4>[ 0.000000][ T0] ** If you see this message and you are not debugging ** <4>[ 0.000000][ T0] ** the kernel, report this immediately to your system ** <4>[ 0.000000][ T0] ** administrator! ** <4>[ 0.000000][ T0] ** ** <4>[ 0.000000][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** <4>[ 0.000000][ T0] ********************************************************** <6>[ 0.000000][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 <6>[ 0.000000][ T0] ftrace: allocating 52004 entries in 204 pages <4>[ 0.000000][ C0] ------------[ cut here ]------------ <2>[ 0.000000][ C0] kernel BUG at mm/vmalloc.c:753! <0>[ 0.000000][ C0] Kernel BUG [#1] <4>[ 0.000000][ C0] Modules linked in: <4>[ 0.000000][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.11.0-next-20240918 #1 <4>[ 0.000000][ C0] Hardware name: riscv-virtio,qemu (DT) <4>[ 0.000000][ C0] epc : vmalloc_to_page+0x5e0/0xc60 <4>[ 0.000000][ C0] ra : vmalloc_to_page+0x10e/0xc60 <4>[ 0.000000][ C0] epc : ffffffff80746318 ra : ffffffff80745e46 sp : ffffffff83803bf0 <4>[ 0.000000][ C0] gp : ffffffff845224a0 tp : ffffffff83819340 t0 : ffffffff82aae1ac <4>[ 0.000000][ C0] t1 : fffffffef070077e t2 : 0000000000000003 s0 : ffffffff83803c50 <4>[ 0.000000][ C0] s1 : ffffffff8350af58 a0 : 0000000000000000 a1 : 0000000000000001 <4>[ 0.000000][ C0] a2 : ffffffff80000000 a3 : fffffffffffff000 a4 : 1ffffffff06a15ec <4>[ 0.000000][ C0] a5 : 0000000000000000 a6 : fffffffef070077f a7 : ffffffff83803bf7 <4>[ 0.000000][ C0] s2 : ffffffff828c7ffa s3 : ffffffff845d4ff8 s4 : 0000000000000001 <4>[ 0.000000][ C0] s5 : 0000000000001002 s6 : ffffffff828c6ffa s7 : 0000000000000ffa <4>[ 0.000000][ C0] s8 : ffffffff828c7ffa s9 : 0000000000000000 s10: ff6000000587aed0 <4>[ 0.000000][ C0] s11: 00000000000002ee t3 : 0000000000000000 t4 : fffffffef070077e <4>[ 0.000000][ C0] t5 : fffffffef070077f t6 : 1ffffffff0703391 <4>[ 0.000000][ C0] status: 0000000200000100 badaddr: 0000000000000000 cause: 0000000000000003 <4>[ 0.000000][ C0] [] vmalloc_to_page+0x5e0/0xc60 <4>[ 0.000000][ C0] [] __patch_insn_write+0x97a/0x145c <4>[ 0.000000][ C0] [] patch_insn_write+0x48/0x6a <4>[ 0.000000][ C0] [] ftrace_init_nop+0xaa/0x108 <4>[ 0.000000][ C0] [] ftrace_process_locs+0x334/0x6f2 <4>[ 0.000000][ C0] [] ftrace_init+0xa4/0x182 <4>[ 0.000000][ C0] [] start_kernel+0x1f8/0x826 <0>[ 0.000000][ C0] Code: 9263 4007 3783 000a 83b1 8533 40f4 051a 954e b599 (9002) 2517 <4>[ 0.000000][ C0] ---[ end trace 0000000000000000 ]--- <0>[ 0.000000][ C0] Kernel panic - not syncing: Fatal exception in interrupt <0>[ 0.000000][ C0] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- poweroff