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 (#net091, 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 : 5 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 : 5 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.12.0-rc2-next-20241008 (KernelCI@build-j336632-riscv-gcc-12-defconfig-debug-glcj8) (riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Tue Oct 8 08:26:20 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_resv0@80000000 [ 0.000000][ T0] OF: reserved mem: 0x0000000080040000..0x000000008007ffff (256 KiB) nomap non-reusable mmode_resv1@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-0x000000008007ffff] [ 0.000000][ T0] node 0: [mem 0x0000000080080000-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 s95312 r8192 d31664 u135168 [ 0.000000][ T0] pcpu-alloc: s95312 r8192 d31664 u135168 alloc=33*4096 [ 0.000000][ T0] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 [ 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 8. <6>[ 0.000000][ T0] software IO TLB: SWIOTLB bounce buffer size roundup to 2MB <6>[ 0.000000][ T0] software IO TLB: mapped [mem 0x00000000b3080000-0x00000000b3280000] (2MB) <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 : 0xffffffff055ab000 - 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=8, Nodes=1 <6>[ 0.000000][ T0] ftrace: allocating 52089 entries in 204 pages <6>[ 0.000000][ T0] ftrace: allocated 204 pages with 4 groups <6>[ 0.000000][ T0] trace event string verifier disabled <6>[ 0.000000][ T0] Running RCU self tests <6>[ 0.000000][ T0] Running RCU synchronous self tests <6>[ 0.000000][ T0] rcu: Hierarchical RCU implementation. <6>[ 0.000000][ T0] rcu: RCU lockdep checking is enabled. <6>[ 0.000000][ T0] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8. <6>[ 0.000000][ T0] rcu: RCU callback double-/use-after-free debug is enabled. <6>[ 0.000000][ T0] rcu: RCU debug extended QS entry/exit. <6>[ 0.000000][ T0] Rude variant of Tasks RCU enabled. <6>[ 0.000000][ T0] Tracing variant of Tasks RCU enabled. <6>[ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. <6>[ 0.000000][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 <6>[ 0.000000][ T0] Running RCU synchronous self tests <6>[ 0.000000][ T0] RCU Tasks Rude: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8. <6>[ 0.000000][ T0] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8. <6>[ 0.000000][ T0] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 <6>[ 0.000000][ T0] riscv-intc: 64 local interrupts mapped <6>[ 0.000000][ T0] riscv: providing IPIs using SBI IPI extension <6>[ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention. <6>[ 0.000000][ T0] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns <6>[ 0.000137][ T0] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns <6>[ 0.002374][ T0] riscv-timer: Timer interrupt in S-mode is available via sstc extension <6>[ 0.041856][ T0] Console: colour dummy device 80x25 <4>[ 0.046620][ T0] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar <4>[ 0.048693][ T0] ... MAX_LOCKDEP_SUBCLASSES: 8 <4>[ 0.049982][ T0] ... MAX_LOCK_DEPTH: 48 <4>[ 0.051120][ T0] ... MAX_LOCKDEP_KEYS: 8192 <4>[ 0.052089][ T0] ... CLASSHASH_SIZE: 4096 <4>[ 0.053847][ T0] ... MAX_LOCKDEP_ENTRIES: 32768 <4>[ 0.055224][ T0] ... MAX_LOCKDEP_CHAINS: 65536 <4>[ 0.056492][ T0] ... CHAINHASH_SIZE: 32768 <4>[ 0.057559][ T0] memory used by lock dependency info: 6429 kB <4>[ 0.058890][ T0] memory used for stack traces: 4224 kB <4>[ 0.059672][ T0] per task-struct memory footprint: 1920 bytes <6>[ 0.064367][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) <6>[ 0.066109][ T0] pid_max: default: 32768 minimum: 301 <6>[ 0.078302][ T0] LSM: initializing lsm=capability <6>[ 0.092268][ T0] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) <6>[ 0.093675][ T0] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) <6>[ 0.193163][ T0] Running RCU synchronous self tests <6>[ 0.194648][ T0] Running RCU synchronous self tests <6>[ 0.337255][ T1] Running RCU Tasks Rude wait API self tests <6>[ 0.348009][ T1] Running RCU Tasks Trace wait API self tests <6>[ 0.353270][ T1] riscv: ELF compat mode supported <6>[ 0.354923][ T1] ASID allocator using 16 bits (65536 entries) <6>[ 0.369812][ T14] Callback from call_rcu_tasks_trace() invoked. <6>[ 0.374403][ T1] rcu: Hierarchical SRCU implementation. <6>[ 0.375326][ T1] rcu: Max phase no-delay instances is 1000. <6>[ 0.407312][ T1] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level <6>[ 0.458321][ T1] EFI services will not be available. <6>[ 0.489697][ T1] smp: Bringing up secondary CPUs ... <6>[ 0.750826][ T1] smp: Brought up 1 node, 8 CPUs <6>[ 0.879236][ T1] Memory: 726428K/1048576K available (39962K kernel code, 17269K rwdata, 10240K rodata, 2863K init, 16384K bss, 308620K reserved, 0K cma-reserved) <6>[ 0.962837][ T1] devtmpfs: initialized <6>[ 1.540430][ T1] Running RCU synchronous self tests <6>[ 1.547883][ T1] Running RCU synchronous self tests <6>[ 1.554129][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns <6>[ 1.556378][ T1] futex hash table entries: 2048 (order: 6, 262144 bytes, linear) <6>[ 1.587917][ T1] pinctrl core: initialized pinctrl subsystem <6>[ 1.667339][ T1] DMI not present or invalid. <6>[ 1.702322][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family <6>[ 1.775613][ T1] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations <6>[ 1.782585][ T1] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations <6>[ 1.789198][ T1] audit: initializing netlink subsys (disabled) <5>[ 1.809302][ T68] audit: type=2000 audit(1.660:1): state=initialized audit_enabled=0 res=1 <6>[ 1.884419][ T1] thermal_sys: Registered thermal governor 'step_wise' <6>[ 1.891683][ T1] cpuidle: using governor menu <6>[ 1.992902][ T1] cpu5: Ratio of byte access time to unaligned word access is 9.59, unaligned accesses are fast <6>[ 1.992921][ T0] cpu6: Ratio of byte access time to unaligned word access is 7.54, unaligned accesses are fast <6>[ 1.992935][ C7] cpu7: Ratio of byte access time to unaligned word access is 8.70, unaligned accesses are fast <6>[ 1.992875][ C3] cpu3: Ratio of byte access time to unaligned word access is 7.83, unaligned accesses are fast <6>[ 1.992977][ C2] cpu2: Ratio of byte access time to unaligned word access is 7.60, unaligned accesses are fast <6>[ 1.992999][ C1] cpu1: Ratio of byte access time to unaligned word access is 9.96, unaligned accesses are fast <6>[ 1.992887][ C4] cpu4: Ratio of byte access time to unaligned word access is 7.16, unaligned accesses are fast <6>[ 2.028754][ T8] cpu0: Ratio of byte access time to unaligned word access is 7.73, unaligned accesses are fast <6>[ 2.480514][ T1] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages <6>[ 2.482490][ T1] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page <6>[ 2.563770][ T1] ACPI: Interpreter disabled. <6>[ 2.579253][ T1] iommu: Default domain type: Translated <6>[ 2.579918][ T1] iommu: DMA domain TLB invalidation policy: strict mode <5>[ 2.690872][ T1] SCSI subsystem initialized <7>[ 2.712881][ T1] libata version 3.00 loaded. <6>[ 2.750417][ T1] usbcore: registered new interface driver usbfs <6>[ 2.757871][ T1] usbcore: registered new interface driver hub <6>[ 2.766820][ T1] usbcore: registered new device driver usb <6>[ 2.853168][ T1] Advanced Linux Sound Architecture Driver Initialized. <6>[ 2.986037][ T1] vgaarb: loaded <6>[ 3.024759][ T1] clocksource: Switched to clocksource riscv_clocksource <6>[ 3.156294][ T1] pnp: PnP ACPI: disabled <6>[ 4.104981][ T1] NET: Registered PF_INET protocol family <6>[ 4.114828][ T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 4.188088][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 3, 36864 bytes, linear) <6>[ 4.190570][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) <6>[ 4.193316][ T1] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) <6>[ 4.203536][ T1] TCP bind hash table entries: 8192 (order: 8, 1179648 bytes, linear) <6>[ 4.213380][ T1] TCP: Hash tables configured (established 8192 bind 8192) <6>[ 4.233412][ T1] UDP hash table entries: 512 (order: 4, 81920 bytes, linear) <6>[ 4.239592][ T1] UDP-Lite hash table entries: 512 (order: 4, 81920 bytes, linear) <6>[ 4.260411][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family <6>[ 4.344845][ T1] RPC: Registered named UNIX socket transport module. <6>[ 4.347508][ T1] RPC: Registered udp transport module. <6>[ 4.348464][ T1] RPC: Registered tcp transport module. <6>[ 4.349509][ T1] RPC: Registered tcp-with-tls transport module. <6>[ 4.350622][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. <6>[ 4.355882][ T1] PCI: CLS 0 bytes, default 64 <6>[ 4.411085][ T59] Unpacking initramfs... <6>[ 4.521837][ T1] workingset: timestamp_bits=46 max_order=18 bucket_order=0 <5>[ 4.926465][ T1] NFS: Registering the id_resolver key type <5>[ 4.932440][ T1] Key type id_resolver registered <5>[ 4.933361][ T1] Key type id_legacy registered <6>[ 4.937329][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... <6>[ 4.940020][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... <6>[ 4.955321][ T1] 9p: Installing v9fs 9p2000 file system support <6>[ 4.979352][ T1] NET: Registered PF_ALG protocol family <6>[ 4.988211][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) <6>[ 5.001091][ T1] io scheduler mq-deadline registered <6>[ 5.002623][ T1] io scheduler kyber registered <6>[ 5.009309][ T1] io scheduler bfq registered <6>[ 5.152573][ T1] riscv-plic: plic@c000000: mapped 95 interrupts with 8 handlers for 16 contexts. <6>[ 5.228680][ T1] pci-host-generic 30000000.pci: host bridge /soc/pci@30000000 ranges: <6>[ 5.235445][ T1] pci-host-generic 30000000.pci: IO 0x0003000000..0x000300ffff -> 0x0000000000 <6>[ 5.240366][ T1] pci-host-generic 30000000.pci: MEM 0x0040000000..0x007fffffff -> 0x0040000000 <6>[ 5.242437][ T1] pci-host-generic 30000000.pci: MEM 0x0400000000..0x07ffffffff -> 0x0400000000 <4>[ 5.247979][ T1] pci-host-generic 30000000.pci: Memory resource size exceeds max for 32 bits <6>[ 5.510288][ T1] pci-host-generic 30000000.pci: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff] <6>[ 5.530580][ T1] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00 <6>[ 5.533164][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] <6>[ 5.534661][ T1] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] <6>[ 5.535759][ T1] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff] <6>[ 5.536740][ T1] pci_bus 0000:00: root bus resource [mem 0x400000000-0x7ffffffff] <6>[ 5.544999][ T1] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000 conventional PCI endpoint <6>[ 5.570528][ T1] pci 0000:00:01.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint <6>[ 5.572180][ T1] pci 0000:00:01.0: BAR 0 [io 0x0000-0x001f] <6>[ 5.572978][ T1] pci 0000:00:01.0: BAR 1 [mem 0x00000000-0x00000fff] <6>[ 5.574549][ T1] pci 0000:00:01.0: BAR 4 [mem 0x00000000-0x00003fff 64bit pref] <6>[ 5.578283][ T1] pci 0000:00:01.0: ROM [mem 0x00000000-0x0003ffff pref] <6>[ 5.600264][ T1] pci 0000:00:02.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint <6>[ 5.601623][ T1] pci 0000:00:02.0: BAR 0 [io 0x0000-0x007f] <6>[ 5.604053][ T1] pci 0000:00:02.0: BAR 1 [mem 0x00000000-0x00000fff] <6>[ 5.605559][ T1] pci 0000:00:02.0: BAR 4 [mem 0x00000000-0x00003fff 64bit pref] <6>[ 5.625350][ T1] pci 0000:00:01.0: ROM [mem 0x40000000-0x4003ffff pref]: assigned <6>[ 5.628143][ T1] pci 0000:00:01.0: BAR 4 [mem 0x400000000-0x400003fff 64bit pref]: assigned <6>[ 5.629657][ T1] pci 0000:00:02.0: BAR 4 [mem 0x400004000-0x400007fff 64bit pref]: assigned <6>[ 5.632128][ T1] pci 0000:00:01.0: BAR 1 [mem 0x40040000-0x40040fff]: assigned <6>[ 5.632853][ T1] pci 0000:00:02.0: BAR 1 [mem 0x40041000-0x40041fff]: assigned <6>[ 5.633521][ T1] pci 0000:00:02.0: BAR 0 [io 0x0080-0x00ff]: assigned <6>[ 5.634492][ T1] pci 0000:00:01.0: BAR 0 [io 0x0020-0x003f]: assigned <6>[ 5.637122][ T1] pci_bus 0000:00: resource 4 [io 0x0000-0xffff] <6>[ 5.638159][ T1] pci_bus 0000:00: resource 5 [mem 0x40000000-0x7fffffff] <6>[ 5.638989][ T1] pci_bus 0000:00: resource 6 [mem 0x400000000-0x7ffffffff] <6>[ 5.683044][ T1] SBI CPPC extension NOT detected!! <6>[ 5.695141][ T95] kworker/R-acpi_ (95) used greatest stack depth: 28296 bytes left <6>[ 5.894389][ T1] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003) <6>[ 5.922308][ T1] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003) <6>[ 9.864247][ T59] Freeing initrd memory: 7660K <6>[ 10.608879][ T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled <6>[ 10.828267][ T1] printk: legacy console [ttyS0] disabled <6>[ 10.879725][ T1] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 14, base_baud = 230400) is a 16550A <6>[ 10.886782][ T1] printk: legacy console [ttyS0] enabled <6>[ 10.886782][ T1] printk: legacy console [ttyS0] enabled <6>[ 10.888897][ T1] printk: legacy bootconsole [ns16550a0] disabled <6>[ 10.888897][ T1] printk: legacy bootconsole [ns16550a0] disabled <6>[ 11.737241][ T1] loop: module loaded <6>[ 11.747441][ T1] virtio_blk virtio1: 8/0/0 default/read/poll queues <5>[ 11.820529][ T1] virtio_blk virtio1: [vda] 1048576 512-byte logical blocks (537 MB/512 MiB) <6>[ 12.437114][ T1] e1000e: Intel(R) PRO/1000 Network Driver <6>[ 12.437705][ T1] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. <6>[ 12.500417][ T1] usbcore: registered new interface driver uas <6>[ 12.511894][ T1] usbcore: registered new interface driver usb-storage <6>[ 12.543164][ T1] mousedev: PS/2 mouse device common for all mice <6>[ 12.597211][ T1] goldfish_rtc 101000.rtc: registered as rtc0 <6>[ 12.602406][ T1] goldfish_rtc 101000.rtc: setting system clock to 2024-10-08T08:40:09 UTC (1728376809) <6>[ 12.711330][ T1] sdhci: Secure Digital Host Controller Interface driver <6>[ 12.712015][ T1] sdhci: Copyright(c) Pierre Ossman <6>[ 12.786906][ T1] Synopsys Designware Multimedia Card Interface Driver <6>[ 12.798877][ T1] sdhci-pltfm: SDHCI platform and OF driver helper <6>[ 12.821714][ T1] usbcore: registered new interface driver usbhid <6>[ 12.822686][ T1] usbhid: USB HID core driver <6>[ 12.842482][ T1] riscv-pmu-sbi: SBI PMU extension is available <6>[ 12.844694][ T1] riscv-pmu-sbi: 16 firmware and 18 hardware counters <6>[ 12.845464][ T1] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available <6>[ 12.948589][ T1] NET: Registered PF_INET6 protocol family <6>[ 13.096974][ T1] Segment Routing with IPv6 <6>[ 13.102738][ T1] In-situ OAM (IOAM) with IPv6 <6>[ 13.107196][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver <6>[ 13.159907][ T1] NET: Registered PF_PACKET protocol family <6>[ 13.170809][ T1] 9pnet: Installing 9P2000 support <5>[ 13.175868][ T1] Key type dns_resolver registered <7>[ 13.183283][ T1] start plist test <7>[ 13.189696][ T1] end plist test <6>[ 16.023889][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 15062) <6>[ 16.024115][ T103] kmemleak: Automatic memory scanning thread started <6>[ 16.027000][ T1] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers <6>[ 16.106326][ T1] page_owner is disabled <6>[ 16.154400][ T1] clk: Disabling unused clocks <6>[ 16.156730][ T1] PM: genpd: Disabling unused power domains <6>[ 16.158761][ T1] ALSA device list: <6>[ 16.160873][ T1] No soundcards found. <6>[ 18.039560][ T1] Freeing unused kernel image (initmem) memory: 2860K <6>[ 18.113364][ T1] Run /init as init process <7>[ 18.114385][ T1] with arguments: <7>[ 18.114783][ T1] /init <7>[ 18.115068][ T1] verbose <7>[ 18.115337][ T1] with environment: <7>[ 18.115684][ T1] HOME=/ <7>[ 18.115974][ T1] TERM=linux <4>[ 18.437239][ T1] <4>[ 18.437547][ T1] ====================================================== <4>[ 18.437852][ T1] WARNING: possible circular locking dependency detected <4>[ 18.438620][ T1] 6.12.0-rc2-next-20241008 #1 Not tainted <4>[ 18.439053][ T1] ------------------------------------------------------ <4>[ 18.439405][ T1] init/1 is trying to acquire lock: <4>[ 18.439766][ T1] ff6000000db42860 (&anon_vma->rwsem){+.+.}-{3:3}, at: vma_prepare+0x1fe/0x546 <4>[ 18.441967][ T1] <4>[ 18.441967][ T1] but task is already holding lock: <4>[ 18.442375][ T1] ff60000005fb4a18 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: vma_prepare+0x124/0x546 <4>[ 18.442964][ T1] <4>[ 18.442964][ T1] which lock already depends on the new lock. <4>[ 18.442964][ T1] <4>[ 18.443456][ T1] <4>[ 18.443456][ T1] the existing dependency chain (in reverse order) is: <4>[ 18.443908][ T1] <4>[ 18.443908][ T1] -> #2 (&mapping->i_mmap_rwsem){++++}-{3:3}: <4>[ 18.444560][ T1] validate_chain+0x72e/0x1098 <4>[ 18.444974][ T1] __lock_acquire+0xbc6/0x2a34 <4>[ 18.445378][ T1] lock_acquire.part.0+0x284/0x930 <4>[ 18.445753][ T1] lock_acquire+0x7c/0xa0 <4>[ 18.446209][ T1] down_write+0xa8/0x48a <4>[ 18.446544][ T1] dma_resv_lockdep+0x2de/0x4a4 <4>[ 18.446883][ T1] do_one_initcall+0xea/0x27a <4>[ 18.447205][ T1] kernel_init_freeable+0x5b6/0x626 <4>[ 18.447530][ T1] kernel_init+0x2c/0x18c <4>[ 18.447842][ T1] ret_from_fork+0xe/0x1c <4>[ 18.448273][ T1] <4>[ 18.448273][ T1] -> #1 (fs_reclaim){+.+.}-{0:0}: <4>[ 18.448758][ T1] validate_chain+0x72e/0x1098 <4>[ 18.449122][ T1] __lock_acquire+0xbc6/0x2a34 <4>[ 18.449439][ T1] lock_acquire.part.0+0x284/0x930 <4>[ 18.449816][ T1] lock_acquire+0x7c/0xa0 <4>[ 18.450175][ T1] fs_reclaim_acquire+0xd8/0x12c <4>[ 18.450556][ T1] prepare_alloc_pages.constprop.0+0x102/0x44c <4>[ 18.451016][ T1] __alloc_pages_noprof+0x130/0x30a <4>[ 18.451391][ T1] get_free_pages_noprof+0x28/0x290 <4>[ 18.451784][ T1] get_zeroed_page_noprof+0x1e/0x26 <4>[ 18.452200][ T1] __p4d_alloc+0x7e/0x33e <4>[ 18.452558][ T1] alloc_new_pud.constprop.0+0x226/0x2d8 <4>[ 18.453001][ T1] move_page_tables+0x338/0xf1e <4>[ 18.453385][ T1] relocate_vma_down+0x212/0x480 <4>[ 18.453754][ T1] setup_arg_pages+0x37c/0x99c <4>[ 18.454228][ T1] load_elf_binary+0x870/0x2b98 <4>[ 18.454536][ T1] search_binary_handler+0x166/0x50a <4>[ 18.454806][ T1] exec_binprm+0x17a/0x446 <4>[ 18.455077][ T1] bprm_execve+0x194/0x40c <4>[ 18.455390][ T1] kernel_execve+0x204/0x2a2 <4>[ 18.455708][ T1] run_init_process+0x12a/0x13c <4>[ 18.456052][ T1] kernel_init+0xa2/0x18c <4>[ 18.456344][ T1] ret_from_fork+0xe/0x1c <4>[ 18.456651][ T1] <4>[ 18.456651][ T1] -> #0 (&anon_vma->rwsem){+.+.}-{3:3}: <4>[ 18.457158][ T1] check_noncircular+0x2c6/0x364 <4>[ 18.457457][ T1] check_prev_add+0x262/0x26e0 <4>[ 18.457766][ T1] validate_chain+0x72e/0x1098 <4>[ 18.458184][ T1] __lock_acquire+0xbc6/0x2a34 <4>[ 18.458582][ T1] lock_acquire.part.0+0x284/0x930 <4>[ 18.459008][ T1] lock_acquire+0x7c/0xa0 <4>[ 18.459275][ T1] down_write+0xa8/0x48a <4>[ 18.459537][ T1] vma_prepare+0x1fe/0x546 <4>[ 18.459793][ T1] __split_vma+0x61e/0xcc0 <4>[ 18.460077][ T1] vma_modify+0x17c/0x2fa <4>[ 18.460341][ T1] vma_modify_flags+0x16e/0x260 <4>[ 18.460621][ T1] mprotect_fixup+0xea/0x748 <4>[ 18.460892][ T1] do_mprotect_pkey.constprop.0+0x37a/0x704 <4>[ 18.461209][ T1] __riscv_sys_mprotect+0x70/0xd4 <4>[ 18.461488][ T1] syscall_handler+0x64/0xf0 <4>[ 18.461767][ T1] do_trap_ecall_u+0x170/0x1cc <4>[ 18.462149][ T1] _new_vmalloc_restore_context_a0+0xc6/0xd2 <4>[ 18.462499][ T1] <4>[ 18.462499][ T1] other info that might help us debug this: <4>[ 18.462499][ T1] <4>[ 18.463123][ T1] Chain exists of: <4>[ 18.463123][ T1] &anon_vma->rwsem --> fs_reclaim --> &mapping->i_mmap_rwsem <4>[ 18.463123][ T1] <4>[ 18.463893][ T1] Possible unsafe locking scenario: <4>[ 18.463893][ T1] <4>[ 18.464281][ T1] CPU0 CPU1 <4>[ 18.464565][ T1] ---- ---- <4>[ 18.464830][ T1] lock(&mapping->i_mmap_rwsem); <4>[ 18.465145][ T1] lock(fs_reclaim); <4>[ 18.465517][ T1] lock(&mapping->i_mmap_rwsem); <4>[ 18.465981][ T1] lock(&anon_vma->rwsem); <4>[ 18.466286][ T1] <4>[ 18.466286][ T1] *** DEADLOCK *** <4>[ 18.466286][ T1] <4>[ 18.466744][ T1] 2 locks held by init/1: <4>[ 18.466994][ T1] #0: ff600000070f0a48 (&mm->mmap_lock){++++}-{3:3}, at: do_mprotect_pkey.constprop.0+0x1a0/0x704 <4>[ 18.467679][ T1] #1: ff60000005fb4a18 (&mapping->i_mmap_rwsem){++++}-{3:3}, at: vma_prepare+0x124/0x546 <4>[ 18.468382][ T1] <4>[ 18.468382][ T1] stack backtrace: <4>[ 18.469058][ T1] CPU: 0 UID: 0 PID: 1 Comm: init Not tainted 6.12.0-rc2-next-20241008 #1 <4>[ 18.469608][ T1] Hardware name: riscv-virtio,qemu (DT) <4>[ 18.470308][ T1] Call Trace: <4>[ 18.470602][ T1] [] dump_backtrace+0x28/0x30 <4>[ 18.471050][ T1] [] show_stack+0x38/0x44 <4>[ 18.471474][ T1] [] dump_stack_lvl+0x9a/0xec <4>[ 18.471901][ T1] [] dump_stack+0x18/0x20 <4>[ 18.472327][ T1] [] print_circular_bug+0x4e4/0x4ee <4>[ 18.472754][ T1] [] check_noncircular+0x2c6/0x364 <4>[ 18.473191][ T1] [] check_prev_add+0x262/0x26e0 <4>[ 18.473576][ T1] [] validate_chain+0x72e/0x1098 <4>[ 18.474154][ T1] [] __lock_acquire+0xbc6/0x2a34 <4>[ 18.474553][ T1] [] lock_acquire.part.0+0x284/0x930 <4>[ 18.474891][ T1] [] lock_acquire+0x7c/0xa0 <4>[ 18.475240][ T1] [] down_write+0xa8/0x48a <4>[ 18.475610][ T1] [] vma_prepare+0x1fe/0x546 <4>[ 18.476040][ T1] [] __split_vma+0x61e/0xcc0 <4>[ 18.476435][ T1] [] vma_modify+0x17c/0x2fa <4>[ 18.476825][ T1] [] vma_modify_flags+0x16e/0x260 <4>[ 18.477288][ T1] [] mprotect_fixup+0xea/0x748 <4>[ 18.477739][ T1] [] do_mprotect_pkey.constprop.0+0x37a/0x704 <4>[ 18.478395][ T1] [] __riscv_sys_mprotect+0x70/0xd4 <4>[ 18.478759][ T1] [] syscall_handler+0x64/0xf0 <4>[ 18.479100][ T1] [] do_trap_ecall_u+0x170/0x1cc <4>[ 18.479427][ T1] [] _new_vmalloc_restore_context_a0+0xc6/0xd2 <6>[ 18.774578][ T105] mount (105) used greatest stack depth: 26032 bytes left Starting syslogd: OK <6>[ 20.617636][ T117] S01syslogd (117) used greatest stack depth: 25584 bytes left Starting klogd: OK Running sysctl: <6>[ 21.395721][ T127] find (127) used greatest stack depth: 24832 bytes left OK Populating /dev using udev: <30>[ 22.200199][ T134] udevd[134]: starting version 3.2.9 <27>[ 22.452955][ T134] udevd[134]: specified user 'tss' unknown <27>[ 22.459532][ T134] udevd[134]: specified group 'tss' unknown <30>[ 22.562667][ T135] udevd[135]: starting eudev-3.2.9 <27>[ 23.773829][ T135] udevd[135]: specified user 'tss' unknown <27>[ 23.776423][ T135] udevd[135]: specified group 'tss' unknown done Saving random seed: OK Starting network: <6>[ 40.248198][ T182] ip (182) used greatest stack depth: 24624 bytes left OK Starting dropbear sshd: OK /bin/sh: can't access tty; job control turned off / # / # # # / # mkdir /lava-819292 mkdir /lava-819292 / # mount /dev/disk/by-uuid/d60c9c48-8cfe-4592-b7b2-02fae6be6005 -t ext2 /lava-819292 mount /dev/disk/by-uuid/d60c9c48-8cfe-4592-b7b2-02fae6be6005 -t ext2 /lava-8 19292 <6>[ 44.252272][ T198] EXT4-fs (vda): mounting ext2 file system using the ext4 subsystem <6>[ 44.588260][ T198] EXT4-fs (vda): mounted filesystem d60c9c48-8cfe-4592-b7b2-02fae6be6005 r/w without journal. Quota mode: disabled. / # ls -la /lava-819292/bin/lava-test-runner ls -la /lava-819292/bin/lava-test-runner -rwxr-xr-x 1 root root 1039 Oct 8 08:39 [1;32m/lava-819292/bin/lava-test-runner[m <6>[ 44.977021][ T201] ls (201) used greatest stack depth: 24160 bytes left / # export SHELL=/bin/sh export SHELL=/bin/sh / # . /lava-819292/environment . /lava-819292/environment / # /lava-819292/bin/lava-test-runner /lava-819292/0 /lava-819292/bin/lava-test-runner /lava-819292/0 + export 'TESTRUN_ID=0_dmesg' + cd /lava-819292/0/tests/0_dmesg + cat uuid + UUID=819292_1.1.3.1 + set +x <8>[ 47.294990][ T213] + KERNELCI_LAVA=y /bin/sh /opt/kernelci/dmesg.sh <8>[ 48.578316][ T221] <8>[ 49.652615][ T228] <8>[ 50.838292][ T235] + set +x <8>[ 50.895877][ T213] / # poweroff poweroff