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 (#net080, model virtio) was not created (not supported by this machine?) OpenSBI v1.4 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 8 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 : 395 KB Firmware RW Offset : 0x40000 Firmware RW Size : 139 KB Firmware Heap Offset : 0x56000 Firmware Heap Size : 51 KB (total), 3 KB (reserved), 9 KB (used), 38 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 : 2 Domain0 HARTs : 0*,1*,2*,3*,4*,5*,6*,7* 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 : 0x0000000080000000-0x000000008003ffff M: (R,X) S/U: () Domain0 Region04 : 0x0000000080040000-0x000000008007ffff M: (R,W) 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 : 2 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] Linux version 6.12.0-rc5-next-20241031 (KernelCI@build-j358041-riscv-clang-17-defconfig-trpjg) (Debian clang version 17.0.6 (++20231208085813+6009708b4367-1~exp1~20231208085906.81), GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Thu Oct 31 07:56:34 UTC 2024 [ 0.000000] random: crng init done [ 0.000000] Machine model: riscv-virtio,qemu [ 0.000000] SBI specification v2.0 detected [ 0.000000] SBI implementation ID=0x1 Version=0x10004 [ 0.000000] SBI TIME extension detected [ 0.000000] SBI IPI extension detected [ 0.000000] SBI RFENCE extension detected [ 0.000000] SBI SRST extension detected [ 0.000000] SBI DBCN extension detected [ 0.000000] efi: UEFI not found. [ 0.000000] earlycon: ns16550a0 at MMIO 0x0000000010000000 (options '') [ 0.000000] printk: legacy bootconsole [ns16550a0] enabled [ 0.000000] OF: reserved mem: 0x0000000080040000..0x000000008007ffff (256 KiB) nomap non-reusable mmode_resv1@80040000 [ 0.000000] OF: reserved mem: 0x0000000080000000..0x000000008003ffff (256 KiB) nomap non-reusable mmode_resv0@80000000 [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000bfffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000008007ffff] [ 0.000000] node 0: [mem 0x0000000080080000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff] [ 0.000000] SBI HSM extension detected [ 0.000000] riscv: base ISA extensions acdfhim [ 0.000000] riscv: ELF capabilities acdfim [ 0.000000] percpu: Embedded 21 pages/cpu s49064 r8192 d28760 u86016 [ 0.000000] pcpu-alloc: s49064 r8192 d28760 u86016 alloc=21*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram0 debug verbose console_msg_format=syslog earlycon deferred_probe_timeout=60 <5>[ 0.000000] Unknown kernel command line parameters "verbose", will be passed to user space. <6>[ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes <6>[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) <6>[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) <6>[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 262144 <6>[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off <6>[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB <6>[ 0.000000] software IO TLB: area num 8. <6>[ 0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 2MB <6>[ 0.000000] software IO TLB: mapped [mem 0x00000000bdb80000-0x00000000bdd80000] (2MB) <5>[ 0.000000] Virtual kernel memory layout: <5>[ 0.000000] fixmap : 0xff1bfffffea00000 - 0xff1bffffff000000 (6144 kB) <5>[ 0.000000] pci io : 0xff1bffffff000000 - 0xff1c000000000000 ( 16 MB) <5>[ 0.000000] vmemmap : 0xff1c000000000000 - 0xff20000000000000 (1024 TB) <5>[ 0.000000] vmalloc : 0xff20000000000000 - 0xff60000000000000 (16384 TB) <5>[ 0.000000] modules : 0xffffffff0159e000 - 0xffffffff80000000 (2026 MB) <5>[ 0.000000] lowmem : 0xff60000000000000 - 0xff60000040000000 (1024 MB) <5>[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) <6>[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 <6>[ 0.000000] rcu: Hierarchical RCU implementation. <6>[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8. <6>[ 0.000000] rcu: RCU debug extended QS entry/exit. <6>[ 0.000000] Tracing variant of Tasks RCU enabled. <6>[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. <6>[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 <6>[ 0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8. <6>[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 <6>[ 0.000000] riscv-intc: 64 local interrupts mapped <6>[ 0.000000] riscv: providing IPIs using SBI IPI extension <6>[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. <6>[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns <6>[ 0.000096] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns <6>[ 0.002150] riscv-timer: Timer interrupt in S-mode is available via sstc extension <6>[ 0.017598] Console: colour dummy device 80x25 <6>[ 0.020757] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) <6>[ 0.022743] pid_max: default: 32768 minimum: 301 <6>[ 0.025974] LSM: initializing lsm=capability <6>[ 0.031517] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) <6>[ 0.032283] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) <6>[ 0.076251] riscv: ELF compat mode supported <6>[ 0.076669] ASID allocator using 16 bits (65536 entries) <6>[ 0.080937] rcu: Hierarchical SRCU implementation. <6>[ 0.082148] rcu: Max phase no-delay instances is 1000. <6>[ 0.088822] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level <6>[ 0.092572] EFI services will not be available. <6>[ 0.096168] smp: Bringing up secondary CPUs ... <4>[ 0.102811] ------------[ cut here ]------------ <4>[ 0.103079] WARNING: CPU: 1 PID: 0 at kernel/time/clockevents.c:455 clockevents_register_device+0x172/0x184 <4>[ 0.103823] Modules linked in: <4>[ 0.104181] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.12.0-rc5-next-20241031 #1 <4>[ 0.104368] Hardware name: riscv-virtio,qemu (DT) <4>[ 0.104478] epc : clockevents_register_device+0x172/0x184 <4>[ 0.104531] ra : clockevents_config_and_register+0x1a/0x24 <4>[ 0.104557] epc : ffffffff800b1238 ra : ffffffff800b1264 sp : ff200000000d3d90 <4>[ 0.104577] gp : ffffffff815211c8 tp : ff600000019b6600 t0 : 0000000000989680 <4>[ 0.104595] t1 : 000000000000001e t2 : ffffffff812c1c9a s0 : ff200000000d3dd0 <4>[ 0.104613] s1 : ff6000003ff5d540 a0 : 0000000000000000 a1 : 0000000000000001 <4>[ 0.104631] a2 : ffffffff815241e8 a3 : ffffffffffffffff a4 : 0000000000000000 <4>[ 0.104650] a5 : ffffffffffffffff a6 : 00000000000003e8 a7 : 0000000000002711 <4>[ 0.104669] s2 : ffffffff8152807a s3 : ff6000003ff5d540 s4 : 0000000000000000 <4>[ 0.104687] s5 : ffffffff807e802c s6 : 0000000000000028 s7 : ffffffff81410fe8 <4>[ 0.104704] s8 : ffffffff81410fe0 s9 : 00000000800436f0 s10: 0000000000000000 <4>[ 0.104722] s11: 0000000000000000 t3 : 0000000000000000 t4 : ff6000000189a900 <4>[ 0.104740] t5 : 0000000000000001 t6 : 0000000000000000 <4>[ 0.104757] status: 0000000200000100 badaddr: 0000000000000000 cause: 0000000000000003 <4>[ 0.104861] [] clockevents_register_device+0x172/0x184 <4>[ 0.104965] [] clockevents_config_and_register+0x1a/0x24 <4>[ 0.104986] [] riscv_timer_starting_cpu+0x90/0xd0 <4>[ 0.105007] [] cpuhp_invoke_callback+0xaa/0x15a <4>[ 0.105025] [] notify_cpu_starting+0xc8/0x100 <4>[ 0.105044] [] smp_callin+0x34/0x74 <4>[ 0.105215] ---[ end trace 0000000000000000 ]--- <6>[ 0.134346] smp: Brought up 1 node, 8 CPUs <6>[ 0.154706] Memory: 975604K/1048576K available (10362K kernel code, 2949K rwdata, 4096K rodata, 2313K init, 485K bss, 67864K reserved, 0K cma-reserved) <6>[ 0.167518] devtmpfs: initialized <6>[ 0.199418] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns <6>[ 0.200614] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) <6>[ 0.206802] pinctrl core: initialized pinctrl subsystem <6>[ 0.218515] DMI not present or invalid. <6>[ 0.224389] NET: Registered PF_NETLINK/PF_ROUTE protocol family <6>[ 0.233356] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations <6>[ 0.234576] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations <6>[ 0.236066] audit: initializing netlink subsys (disabled) <5>[ 0.239397] audit: type=2000 audit(0.216:1): state=initialized audit_enabled=0 res=1 <6>[ 0.243638] thermal_sys: Registered thermal governor 'step_wise' <6>[ 0.244418] cpuidle: using governor menu <0>[ 32.257136] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 31s! <6>[ 32.258606] Showing busy workqueues and worker pools: <6>[ 32.259409] workqueue events: flags=0x0 <6>[ 32.260365] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 32.260578] pending: check_unaligned_access_emulated BAR(1) <6>[ 32.263335] workqueue mm_percpu_wq: flags=0x8 <6>[ 32.263975] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 32.264113] pending: vmstat_update <6>[ 32.264537] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=31s workers=1 manager: 43 <6>[ 32.264789] Showing backtraces of running workers in stalled CPU-bound worker pools: <0>[ 63.439638] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 62s! <6>[ 63.440567] Showing busy workqueues and worker pools: <6>[ 63.441114] workqueue events: flags=0x0 <6>[ 63.441703] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 63.441787] pending: check_unaligned_access_emulated BAR(1) <6>[ 63.441886] workqueue mm_percpu_wq: flags=0x8 <6>[ 63.444304] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 63.444381] pending: vmstat_update <6>[ 63.444460] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=62s workers=1 manager: 43 <6>[ 63.444563] Showing backtraces of running workers in stalled CPU-bound worker pools: <0>[ 94.657249] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 92s! <6>[ 94.657929] Showing busy workqueues and worker pools: <6>[ 94.658279] workqueue events: flags=0x0 <6>[ 94.658577] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 94.658633] pending: check_unaligned_access_emulated BAR(1) <6>[ 94.658702] workqueue mm_percpu_wq: flags=0x8 <6>[ 94.659886] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 94.659937] pending: vmstat_update <6>[ 94.659997] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=92s workers=1 manager: 43 <6>[ 94.660072] Showing backtraces of running workers in stalled CPU-bound worker pools: <0>[ 125.827189] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 123s! <6>[ 125.828279] Showing busy workqueues and worker pools: <6>[ 125.828997] workqueue events: flags=0x0 <6>[ 125.829560] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 125.829675] pending: check_unaligned_access_emulated BAR(1) <6>[ 125.829797] workqueue mm_percpu_wq: flags=0x8 <6>[ 125.832220] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 125.832335] pending: vmstat_update <6>[ 125.832428] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=123s workers=1 manager: 43 <6>[ 125.832581] Showing backtraces of running workers in stalled CPU-bound worker pools: <0>[ 156.984361] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 154s! <6>[ 156.985315] Showing busy workqueues and worker pools: <6>[ 156.986060] workqueue events: flags=0x0 <6>[ 156.986542] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 156.986610] pending: check_unaligned_access_emulated BAR(1) <6>[ 156.986682] workqueue mm_percpu_wq: flags=0x8 <6>[ 156.988204] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 156.988264] pending: vmstat_update <6>[ 156.988327] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=154s workers=1 manager: 43 <6>[ 156.990158] Showing backtraces of running workers in stalled CPU-bound worker pools: <0>[ 188.193350] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 185s! <6>[ 188.194099] Showing busy workqueues and worker pools: <6>[ 188.194423] workqueue events: flags=0x0 <6>[ 188.194749] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 188.194817] pending: check_unaligned_access_emulated BAR(1) <6>[ 188.194893] workqueue mm_percpu_wq: flags=0x8 <6>[ 188.196279] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 188.196342] pending: vmstat_update <6>[ 188.196410] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=185s workers=1 manager: 43 <6>[ 188.196491] Showing backtraces of running workers in stalled CPU-bound worker pools: <0>[ 219.491167] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 215s! <6>[ 219.491926] Showing busy workqueues and worker pools: <6>[ 219.492314] workqueue events: flags=0x0 <6>[ 219.492661] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 219.492723] pending: check_unaligned_access_emulated BAR(1) <6>[ 219.492798] workqueue mm_percpu_wq: flags=0x8 <6>[ 219.494012] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 219.494068] pending: vmstat_update <6>[ 219.494129] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=215s workers=1 manager: 43 <6>[ 219.494212] Showing backtraces of running workers in stalled CPU-bound worker pools: <0>[ 250.778632] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 246s! <6>[ 250.779422] Showing busy workqueues and worker pools: <6>[ 250.779813] workqueue events: flags=0x0 <6>[ 250.780106] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 250.780165] pending: check_unaligned_access_emulated BAR(1) <6>[ 250.780234] workqueue mm_percpu_wq: flags=0x8 <6>[ 250.781388] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 250.781443] pending: vmstat_update <6>[ 250.781504] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=246s workers=1 manager: 43 <6>[ 250.781580] Showing backtraces of running workers in stalled CPU-bound worker pools: # # <0>[ 281.968391] BUG: workqueue lockup - pool cpus=5 node=0 flags=0x2 nice=0 stuck for 277s! <6>[ 281.969443] Showing busy workqueues and worker pools: <6>[ 281.970038] workqueue events: flags=0x0 <6>[ 281.970587] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=3 <6>[ 281.970675] pending: check_unaligned_access_emulated BAR(1) <6>[ 281.970772] workqueue mm_percpu_wq: flags=0x8 <6>[ 281.972911] pwq 22: cpus=5 node=0 flags=0x2 nice=0 active=1 refcnt=2 <6>[ 281.973021] pending: vmstat_update <6>[ 281.973137] pool 22: cpus=5 node=0 flags=0x2 nice=0 hung=277s workers=1 manager: 43 <6>[ 281.973251] Showing backtraces of running workers in stalled CPU-bound worker pools: # # # # # poweroff