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 (#net049, model virtio) was not created (not supported by this machine?) OpenSBI v1.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| 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 Reboot Device : sifive_test Platform Shutdown Device : sifive_test Firmware Base : 0x80000000 Firmware Size : 288 KB Runtime SBI Version : 1.0 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I) Domain0 Region01 : 0x0000000080000000-0x000000008007ffff () Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x00000000bfe00000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 0 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : time,sstc Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 16 Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 [ 0.000000] Linux version 6.1.31 (KernelCI@build-j40443-riscv-gcc-10-defconfig-kmfrr) (riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Thu Jun 15 11:24:53 UTC 2023 [ 0.000000] random: crng init done [ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 [ 0.000000] Machine model: riscv-virtio,qemu [ 0.000000] earlycon: ns16550a0 at MMIO 0x0000000010000000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000bfffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080200000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000000bfffffff] [ 0.000000] SBI specification v1.0 detected [ 0.000000] SBI implementation ID=0x1 Version=0x10001 [ 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 HSM extension detected [ 0.000000] riscv: base ISA extensions acdfhim [ 0.000000] riscv: ELF capabilities acdfim [ 0.000000] percpu: Embedded 18 pages/cpu s34744 r8192 d30792 u73728 [ 0.000000] pcpu-alloc: s34744 r8192 d30792 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257544 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram0 debug verbose console_msg_format=syslog earlycon <5>[ 0.000000] Unknown kernel command line parameters \"verbose\", will be passed to user space. <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] mem auto-init: stack:off, heap alloc:off, heap free:off <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 : 0xffffffff01362000 - 0xffffffff80000000 (2028 MB) <5>[ 0.000000] lowmem : 0xff60000000000000 - 0xff6000003fe00000 (1022 MB) <5>[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) <6>[ 0.000000] Memory: 1000336K/1046528K available (7442K kernel code, 4927K rwdata, 4096K rodata, 2164K init, 461K bss, 46192K reserved, 0K cma-reserved) <6>[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 <6>[ 0.000000] rcu: Hierarchical RCU implementation. <6>[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1. <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=1 <6>[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 <6>[ 0.000000] riscv-intc: 64 local interrupts mapped <6>[ 0.000000] plic: plic@c000000: mapped 96 interrupts with 1 handlers for 2 contexts. <6>[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. <6>[ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] <6>[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns <6>[ 0.000098] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns <6>[ 0.000958] riscv-timer: Timer interrupt in S-mode is available via sstc extension <6>[ 0.008875] Console: colour dummy device 80x25 <6>[ 0.010518] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) <6>[ 0.011023] pid_max: default: 32768 minimum: 301 <6>[ 0.012209] LSM: Security Framework initializing <6>[ 0.014774] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) <6>[ 0.015110] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) <6>[ 0.045355] cblist_init_generic: Setting adjustable number of callback queues. <6>[ 0.045833] cblist_init_generic: Setting shift to 0 and lim to 1. <6>[ 0.046417] riscv: ELF compat mode supported <6>[ 0.046750] ASID allocator using 16 bits (65536 entries) <6>[ 0.048038] rcu: Hierarchical SRCU implementation. <6>[ 0.048278] rcu: Max phase no-delay instances is 1000. <6>[ 0.050695] EFI services will not be available. <6>[ 0.052872] smp: Bringing up secondary CPUs ... <6>[ 0.053153] smp: Brought up 1 node, 1 CPU <6>[ 0.064513] devtmpfs: initialized <6>[ 0.070951] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns <6>[ 0.071376] futex hash table entries: 256 (order: 2, 16384 bytes, linear) <6>[ 0.073988] pinctrl core: initialized pinctrl subsystem <6>[ 0.078459] NET: Registered PF_NETLINK/PF_ROUTE protocol family <6>[ 0.081048] audit: initializing netlink subsys (disabled) <5>[ 0.085878] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1 <6>[ 0.087816] cpuidle: using governor menu <6>[ 0.114054] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages <6>[ 0.114355] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page <6>[ 0.118973] iommu: Default domain type: Translated <6>[ 0.119188] iommu: DMA domain TLB invalidation policy: strict mode <5>[ 0.120588] SCSI subsystem initialized <7>[ 0.121617] libata version 3.00 loaded. <6>[ 0.122680] usbcore: registered new interface driver usbfs <6>[ 0.123612] usbcore: registered new interface driver hub <6>[ 0.124160] usbcore: registered new device driver usb <6>[ 0.136359] vgaarb: loaded <6>[ 0.138123] clocksource: Switched to clocksource riscv_clocksource <6>[ 0.155358] NET: Registered PF_INET protocol family <6>[ 0.156711] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 0.162708] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes, linear) <6>[ 0.163165] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) <6>[ 0.163535] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) <6>[ 0.164121] TCP bind hash table entries: 8192 (order: 7, 524288 bytes, linear) <6>[ 0.165298] TCP: Hash tables configured (established 8192 bind 8192) <6>[ 0.166844] UDP hash table entries: 512 (order: 3, 49152 bytes, linear) <6>[ 0.167453] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear) <6>[ 0.169333] NET: Registered PF_UNIX/PF_LOCAL protocol family <6>[ 0.173506] RPC: Registered named UNIX socket transport module. <6>[ 0.173816] RPC: Registered udp transport module. <6>[ 0.174128] RPC: Registered tcp transport module. <6>[ 0.174322] RPC: Registered tcp NFSv4.1 backchannel transport module. <6>[ 0.174749] PCI: CLS 0 bytes, default 64 <6>[ 0.183978] Unpacking initramfs... <6>[ 0.187637] workingset: timestamp_bits=46 max_order=18 bucket_order=0 <5>[ 0.223319] NFS: Registering the id_resolver key type <5>[ 0.224463] Key type id_resolver registered <5>[ 0.224681] Key type id_legacy registered <6>[ 0.225315] nfs4filelayout_init: NFSv4 File Layout Driver Registering... <6>[ 0.225664] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... <6>[ 0.230191] 9p: Installing v9fs 9p2000 file system support <6>[ 0.232258] NET: Registered PF_ALG protocol family <6>[ 0.232713] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) <6>[ 0.233043] io scheduler mq-deadline registered <6>[ 0.233259] io scheduler kyber registered <6>[ 0.242206] pci-host-generic 30000000.pci: host bridge /soc/pci@30000000 ranges: <6>[ 0.243218] pci-host-generic 30000000.pci: IO 0x0003000000..0x000300ffff -> 0x0000000000 <6>[ 0.243882] pci-host-generic 30000000.pci: MEM 0x0040000000..0x007fffffff -> 0x0040000000 <6>[ 0.244161] pci-host-generic 30000000.pci: MEM 0x0400000000..0x07ffffffff -> 0x0400000000 <4>[ 0.244865] pci-host-generic 30000000.pci: Memory resource size exceeds max for 32 bits <6>[ 0.246355] pci-host-generic 30000000.pci: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff] <6>[ 0.247736] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00 <6>[ 0.248131] pci_bus 0000:00: root bus resource [bus 00-ff] <6>[ 0.248364] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] <6>[ 0.248609] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff] <6>[ 0.248840] pci_bus 0000:00: root bus resource [mem 0x400000000-0x7ffffffff] <6>[ 0.250384] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000 <6>[ 0.253570] pci 0000:00:01.0: [1af4:1000] type 00 class 0x020000 <6>[ 0.254013] pci 0000:00:01.0: reg 0x10: [io 0x0000-0x001f] <6>[ 0.254256] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x00000fff] <6>[ 0.254566] pci 0000:00:01.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] <6>[ 0.254895] pci 0000:00:01.0: reg 0x30: [mem 0x00000000-0x0003ffff pref] <6>[ 0.255470] pci 0000:00:02.0: [1af4:1001] type 00 class 0x010000 <6>[ 0.255698] pci 0000:00:02.0: reg 0x10: [io 0x0000-0x007f] <6>[ 0.255930] pci 0000:00:02.0: reg 0x14: [mem 0x00000000-0x00000fff] <6>[ 0.256217] pci 0000:00:02.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] <6>[ 0.258334] pci 0000:00:01.0: BAR 6: assigned [mem 0x40000000-0x4003ffff pref] <6>[ 0.258802] pci 0000:00:01.0: BAR 4: assigned [mem 0x400000000-0x400003fff 64bit pref] <6>[ 0.259195] pci 0000:00:02.0: BAR 4: assigned [mem 0x400004000-0x400007fff 64bit pref] <6>[ 0.259530] pci 0000:00:01.0: BAR 1: assigned [mem 0x40040000-0x40040fff] <6>[ 0.259822] pci 0000:00:02.0: BAR 1: assigned [mem 0x40041000-0x40041fff] <6>[ 0.260117] pci 0000:00:02.0: BAR 0: assigned [io 0x0080-0x00ff] <6>[ 0.260383] pci 0000:00:01.0: BAR 0: assigned [io 0x0020-0x003f] <6>[ 0.293639] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003) <6>[ 0.296755] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003) <6>[ 0.416752] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled <6>[ 0.431043] printk: console [ttyS0] disabled <6>[ 0.433067] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 3, base_baud = 230400) is a 16550A <6>[ 0.434969] printk: console [ttyS0] enabled <6>[ 0.434969] printk: console [ttyS0] enabled <6>[ 0.435650] printk: bootconsole [ns16550a0] disabled <6>[ 0.435650] printk: bootconsole [ns16550a0] disabled <6>[ 0.467741] loop: module loaded <6>[ 0.468687] virtio_blk virtio1: 1/0/0 default/read/poll queues <5>[ 0.472456] virtio_blk virtio1: [vda] 1048576 512-byte logical blocks (537 MB/512 MiB) <6>[ 0.510634] e1000e: Intel(R) PRO/1000 Network Driver <6>[ 0.510826] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. <6>[ 0.530259] usbcore: registered new interface driver uas <6>[ 0.530701] usbcore: registered new interface driver usb-storage <6>[ 0.534115] mousedev: PS/2 mouse device common for all mice <6>[ 0.538439] goldfish_rtc 101000.rtc: registered as rtc0 <6>[ 0.539108] goldfish_rtc 101000.rtc: setting system clock to 2023-06-15T11:29:25 UTC (1686828565) <3>[ 0.541629] syscon-poweroff poweroff: pm_power_off already claimed for sbi_srst_power_off <4>[ 0.542416] syscon-poweroff: probe of poweroff failed with error -16 <6>[ 0.543801] sdhci: Secure Digital Host Controller Interface driver <6>[ 0.544033] sdhci: Copyright(c) Pierre Ossman <6>[ 0.544364] sdhci-pltfm: SDHCI platform and OF driver helper <6>[ 0.545121] usbcore: registered new interface driver usbhid <6>[ 0.545313] usbhid: USB HID core driver <6>[ 0.545740] riscv-pmu-sbi: SBI PMU extension is available <6>[ 0.546445] riscv-pmu-sbi: 16 firmware and 18 hardware counters <6>[ 0.546693] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available <6>[ 0.560126] NET: Registered PF_INET6 protocol family <6>[ 0.571201] Segment Routing with IPv6 <6>[ 0.571492] In-situ OAM (IOAM) with IPv6 <6>[ 0.572039] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver <6>[ 0.574797] NET: Registered PF_PACKET protocol family <6>[ 0.576232] 9pnet: Installing 9P2000 support <5>[ 0.576674] Key type dns_resolver registered <7>[ 0.576891] start plist test <7>[ 0.581556] end plist test <6>[ 0.599234] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers <6>[ 0.791778] Freeing initrd memory: 7656K <6>[ 0.824918] Freeing unused kernel image (initmem) memory: 2164K <6>[ 0.826277] Run /init as init process <7>[ 0.826394] with arguments: <7>[ 0.826478] /init <7>[ 0.826569] verbose <7>[ 0.826667] with environment: <7>[ 0.826813] HOME=/ <7>[ 0.826930] TERM=linux Starting syslogd: OK Starting klogd: OK Running sysctl: OK Populating /dev using udev: <30>[ 1.844067] udevd[72]: starting version 3.2.9 <27>[ 1.895467] udevd[72]: specified user 'tss' unknown <27>[ 1.896262] udevd[72]: specified group 'tss' unknown <30>[ 1.920778] udevd[73]: starting eudev-3.2.9 <27>[ 3.120524] udevd[73]: specified user 'tss' unknown <27>[ 3.121120] udevd[73]: specified group 'tss' unknown done Saving random seed: OK Starting network: OK Starting dropbear sshd: OK /bin/sh: can't access tty; job control turned off / # / # # # / # mkdir /lava-615150 mkdir /lava-615150 / # mount /dev/disk/by-uuid/9d328f59-e46a-486b-b0f5-281250a08221 -t ext2 /lava-615150 mount /dev/disk/by-uuid/9d328f59-e46a-486b-b0f5-281250a08221 -t ext2 /lava-6 15150 <6>[ 6.726322] EXT4-fs (vda): mounting ext2 file system using the ext4 subsystem <6>[ 6.753186] EXT4-fs (vda): mounted filesystem without journal. Quota mode: disabled. / # ls -la /lava-615150/bin/lava-test-runner ls -la /lava-615150/bin/lava-test-runner -rwxr-xr-x 1 root root 1039 Jun 15 11:29 [1;32m/lava-615150/bin/lava-test-runner[m / # export SHELL=/bin/sh export SHELL=/bin/sh / # . /lava-615150/environment . /lava-615150/environment / # /lava-615150/bin/lava-test-runner /lava-615150/0 /lava-615150/bin/lava-test-runner /lava-615150/0 + export 'TESTRUN_ID=0_dmesg' + cd /lava-615150/0/tests/0_dmesg + cat uuid + UUID=615150_1.1.3.1 + set +x <8>[ 7.704818] + KERNELCI_LAVA=y /bin/sh /opt/kernelci/dmesg.sh <8>[ 7.940113] <8>[ 8.129780] <8>[ 8.325511] + set +x <8>[ 8.330785] # / # #mkdir /lava-615150 / # mkdir /lava-615150mount /dev/disk/by-uuid/9d328f59-e46a-486b-b0f5-281250a08221 -t ext2 /lava-615150 mount /dev/disk/by-uuid/9d328f59-e46a-486b-b0f5-281250a08221 -t ext2 /lava-615150mkdir: can't create directory '/lava-615150': File exists / # mount /dev/disk/by-uuid/9d328f59-e46a-486b-b0f5-281250a08221 -t ext2 /lava-6 15150ls -la /lava-615150/bin/lava-test-runner mount: mounting /dev/disk/by-uuid/9d328f59-e46a-486b-b0f5-281250a08221 on /lava-615150 failed: Device or resource busy / # ls -la /lava-615150/bin/lava-test-runnerexport SHELL=/bin/sh export SHELL=/bin/sh-rwxr-xr-x 1 root root 1039 Jun 15 11:29 [1;32m/lava-615150/bin/lava-test-runner[m / # export SHELL=/bin/sh. /lava-615150/environment / # . /lava-615150/environment/lava-615150/bin/lava-test-runner /lava-615150/1 / # /lava-615150/bin/lava-test-runner /lava-615150/1 + export 'TESTRUN_ID=1_bootrr' + cd /lava-615150/1/tests/1_bootrr + cat uuid + UUID=615150_1.1.3.5 + set +x <8>[ 9.463146] + export 'PATH=/opt/bootrr/libexec/bootrr/helpers:/lava-615150/1/../bin:/sbin:/usr/sbin:/bin:/usr/bin' + cd /opt/bootrr/libexec/bootrr + sh helpers/bootrr-auto /lava-615150/1/../bin/lava-test-case <8>[ 9.749378] /lava-615150/1/../bin/lava-test-case <8>[ 9.954669] /lava-615150/1/../bin/lava-test-case <8>[ 10.056758] + set +x <8>[ 10.104096] / # poweroff poweroff