Skip to content

Instantly share code, notes, and snippets.

@bjackman
Created March 17, 2025 16:05
Show Gist options
  • Save bjackman/7a2e15b20355ec1c64ee38e28d6db2cb to your computer and use it in GitHub Desktop.
Save bjackman/7a2e15b20355ec1c64ee38e28d6db2cb to your computer and use it in GitHub Desktop.
+ mkdir -p image
+ tar -C image --zstd -xf image.tar.zst
+ mkdir -p kernel-build
+ tar -C kernel-build -zxf kernel.tgz
++ dirname .github/scripts/test.sh
+ cp .github/scripts/test.guest.sh kernel-build/kselftests
+ unshare -r vng --verbose --root image --user root --run kernel-build/vmlinuz --rwdir=/mnt=kernel-build/kselftests --cpus 4 -- 'cd /mnt; ./test.guest.sh'
+ tee guest.log
warning: failed to retrieve kernel version from: kernel-build/vmlinuz (modules may not work)
No EFI environment detected.
early console in extract_kernel
input_data: 0x0000000002be62c4
input_len: 0x0000000000b6a89f
output: 0x0000000001000000
output_len: 0x00000000027091ec
kernel_total_size: 0x0000000002430000
needed_size: 0x0000000002800000
trampoline_32bit: 0x0000000000000000
Physical KASLR using RDTSC...
Virtual KASLR using RDTSC...
Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel (entry_offset: 0x0000000000f5be50).
[ 0.000000] Linux version 6.14.0-rc3+ (runner@fv-az810-976) (gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #1 SMP PREEMPT_DYNAMIC Sun Mar 16 14:20:54 UTC 2025
[ 0.000000] Command line: virtme_hostname=virtme-ng nr_open=1048576 virtme_initmount0=/mnt virtme_rw_overlay0=/etc virtme_rw_overlay1=/lib virtme_rw_overlay2=/home virtme_rw_overlay3=/opt virtme_rw_overlay4=/srv virtme_rw_overlay5=/usr virtme_rw_overlay6=/var console=ttyS0 earlyprintk=serial,ttyS0,115200 panic=-1 virtme.exec=`Y2QgL21udDsgLi90ZXN0Lmd1ZXN0LnNo` virtme_root_user=1 rootfstype=9p rootflags=version=9p2000.L,trans=virtio,access=any raid=noautodetect ro init=/bin/sh -- -c "mount -t tmpfs run /run;mkdir -p /run/virtme/guesttools;/bin/mount -n -t 9p -o ro,version=9p2000.L,trans=virtio,access=any virtme.guesttools /run/virtme/guesttools;exec /run/virtme/guesttools/virtme-init"
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffdffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000003ffe0000-0x000000003fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved
[ 0.000000] printk: legacy bootconsole [earlyser0] enabled
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] APIC: Static calls initialized
[ 0.000000] SMBIOS 3.0.0 present.
[ 0.000000] DMI: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 0.000000] DMI: Memory slots populated: 1/1
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] tsc: Detected 2445.412 MHz processor
[ 0.006863] last_pfn = 0x3ffe0 max_arch_pfn = 0x400000000
[ 0.007808] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs
[ 0.008317] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
Memory KASLR using RDTSC...
[ 0.027524] found SMP MP-table at [mem 0x000f5440-0x000f544f]
[ 0.033276] ACPI: Early table checksum verification disabled
[ 0.033963] ACPI: RSDP 0x00000000000F5260 000014 (v00 BOCHS )
[ 0.034512] ACPI: RSDT 0x000000003FFE1D97 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.035585] ACPI: FACP 0x000000003FFE1C33 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.036761] ACPI: DSDT 0x000000003FFE0040 001BF3 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.037200] ACPI: FACS 0x000000003FFE0000 000040
[ 0.037463] ACPI: APIC 0x000000003FFE1CA7 000090 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.037809] ACPI: HPET 0x000000003FFE1D37 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.038160] ACPI: WAET 0x000000003FFE1D6F 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.038571] ACPI: Reserving FACP table memory at [mem 0x3ffe1c33-0x3ffe1ca6]
[ 0.038858] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe1c32]
[ 0.039128] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]
[ 0.039392] ACPI: Reserving APIC table memory at [mem 0x3ffe1ca7-0x3ffe1d36]
[ 0.039651] ACPI: Reserving HPET table memory at [mem 0x3ffe1d37-0x3ffe1d6e]
[ 0.039912] ACPI: Reserving WAET table memory at [mem 0x3ffe1d6f-0x3ffe1d96]
[ 0.042418] No NUMA configuration found
[ 0.042606] Faking a node at [mem 0x0000000000000000-0x000000003ffdffff]
[ 0.043534] NODE_DATA(0) allocated [mem 0x3ffdb780-0x3ffdffff]
[ 0.046051] Zone ranges:
[ 0.046201] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.046516] DMA32 [mem 0x0000000001000000-0x000000003ffdffff]
[ 0.046757] Normal empty
[ 0.046926] Device empty
[ 0.047080] Movable zone start for each node
[ 0.047292] Early memory node ranges
[ 0.047474] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.047879] node 0: [mem 0x0000000000100000-0x000000003ffdffff]
[ 0.048262] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffdffff]
[ 0.049470] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.049949] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.073455] On node 0, zone DMA32: 32 pages in unavailable ranges
[ 0.074355] ACPI: PM-Timer IO Port: 0x608
[ 0.074999] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.075677] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
[ 0.076092] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.076606] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.076914] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.077304] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.077557] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.078021] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.078337] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.078911] CPU topo: Max. logical packages: 1
[ 0.079120] CPU topo: Max. logical dies: 1
[ 0.079316] CPU topo: Max. dies per package: 1
[ 0.079564] CPU topo: Max. threads per core: 1
[ 0.079945] CPU topo: Num. cores per package: 4
[ 0.080181] CPU topo: Num. threads per package: 4
[ 0.080377] CPU topo: Allowing 4 present CPUs plus 0 hotplug CPUs
[ 0.081542] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.081867] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.082191] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.082458] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.082871] [mem 0x40000000-0xfffbffff] available for PCI devices
[ 0.083185] Booting paravirtualized kernel on bare hardware
[ 0.083744] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.097388] setup_percpu: NR_CPUS:64 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[ 0.099426] percpu: Embedded 58 pages/cpu s198296 r8192 d31080 u524288
[ 0.101667] Kernel command line: virtme_hostname=virtme-ng nr_open=1048576 virtme_initmount0=/mnt virtme_rw_overlay0=/etc virtme_rw_overlay1=/lib virtme_rw_overlay2=/home virtme_rw_overlay3=/opt virtme_rw_overlay4=/srv virtme_rw_overlay5=/usr virtme_rw_overlay6=/var console=ttyS0 earlyprintk=serial,ttyS0,115200 panic=-1 virtme.exec=`Y2QgL21udDsgLi90ZXN0Lmd1ZXN0LnNo` virtme_root_user=1 rootfstype=9p rootflags=version=9p2000.L,trans=virtio,access=any raid=noautodetect ro init=/bin/sh -- -c "mount -t tmpfs run /run;mkdir -p /run/virtme/guesttools;/bin/mount -n -t 9p -o ro,version=9p2000.L,trans=virtio,access=any virtme.guesttools /run/virtme/guesttools;exec /run/virtme/guesttools/virtme-init"
[ 0.105540] Unknown kernel command line parameters "virtme_hostname=virtme-ng nr_open=1048576 virtme_initmount0=/mnt virtme_rw_overlay0=/etc virtme_rw_overlay1=/lib virtme_rw_overlay2=/home virtme_rw_overlay3=/opt virtme_rw_overlay4=/srv virtme_rw_overlay5=/usr virtme_rw_overlay6=/var virtme_root_user=1", will be passed to user space.
[ 0.106713] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes
[ 0.107452] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.107898] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.111193] Fallback order for Node 0: 0
[ 0.111666] Built 1 zonelists, mobility grouping on. Total pages: 262014
[ 0.111990] Policy zone: DMA32
[ 0.112410] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.125553] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Poking KASLR using RDTSC...
[ 0.129537] ftrace: allocating 48178 entries in 189 pages
[ 1.110864] ftrace: allocated 189 pages with 6 groups
[ 1.121038] Dynamic Preempt: voluntary
[ 1.124788] rcu: Preemptible hierarchical RCU implementation.
[ 1.124934] rcu: RCU event tracing is enabled.
[ 1.125171] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 1.125596] Trampoline variant of Tasks RCU enabled.
[ 1.125718] Rude variant of Tasks RCU enabled.
[ 1.125925] Tracing variant of Tasks RCU enabled.
[ 1.126268] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 1.126483] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 1.128011] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 1.128248] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 1.128530] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 1.159101] NR_IRQS: 4352, nr_irqs: 456, preallocated irqs: 16
[ 1.169167] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 1.175889] Console: colour *CGA 80x25
[ 1.178003] printk: legacy console [ttyS0] enabled
[ 1.178003] printk: legacy console [ttyS0] enabled
[ 1.178767] printk: legacy bootconsole [earlyser0] disabled
[ 1.178767] printk: legacy bootconsole [earlyser0] disabled
[ 1.180449] ACPI: Core revision 20240827
[ 1.185632] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 1.187885] APIC: Switch to symmetric I/O mode setup
[ 1.195607] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 1.201414] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x233fca61329, max_idle_ns: 440795203427 ns
[ 1.202406] Calibrating delay loop (skipped), value calculated using timer frequency.. 4890.82 BogoMIPS (lpj=2445412)
[ 1.207127] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[ 1.207297] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[ 1.207978] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 1.208401] Spectre V2 : Mitigation: Retpolines
[ 1.208571] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 1.208918] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[ 1.212533] x86/fpu: x87 FPU will use FXSAVE
[ 1.353082] Freeing SMP alternatives memory: 40K
[ 1.354008] pid_max: default: 32768 minimum: 301
[ 1.362996] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.363310] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.497727] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0xf, model: 0x6b, stepping: 0x1)
[ 1.515771] Performance Events: PMU not available due to virtualization, using software events only.
[ 1.517240] signal: max sigframe size: 1440
[ 1.519710] rcu: Hierarchical SRCU implementation.
[ 1.519944] rcu: Max phase no-delay instances is 400.
[ 1.523203] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 1.527560] smp: Bringing up secondary CPUs ...
[ 1.533800] smpboot: x86: Booting SMP configuration:
[ 1.534004] .... node #0, CPUs: #1 #2 #3
[ 1.733621] smp: Brought up 1 node, 4 CPUs
[ 1.734238] smpboot: Total of 4 processors activated (19689.59 BogoMIPS)
[ 1.747384] Memory: 986116K/1048056K available (15728K kernel code, 2451K rwdata, 6212K rodata, 3164K init, 1872K bss, 56468K reserved, 0K cma-reserved)
[ 1.754915] devtmpfs: initialized
[ 1.759913] x86/mm: Memory block size: 128MB
[ 1.768437] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 1.769903] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 1.773990] PM: RTC time: 14:22:23, date: 2025-03-16
[ 1.784155] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.792350] thermal_sys: Registered thermal governor 'step_wise'
[ 1.792670] cpuidle: using governor menu
[ 1.797079] PCI: Using configuration type 1 for base access
[ 1.797768] mtrr: your CPUs had inconsistent fixed MTRR settings
[ 1.797942] mtrr: your CPUs had inconsistent variable MTRR settings
[ 1.798202] mtrr: your CPUs had inconsistent MTRRdefType settings
[ 1.798440] mtrr: probably your BIOS does not setup all CPUs.
[ 1.798903] mtrr: corrected configuration.
[ 1.801543] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 1.811994] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.812300] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 1.820758] ACPI: Added _OSI(Module Device)
[ 1.820918] ACPI: Added _OSI(Processor Device)
[ 1.821119] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 1.821279] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.836482] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.910650] ACPI: Interpreter enabled
[ 1.912277] ACPI: PM: (supports S0 S3 S4 S5)
[ 1.912428] ACPI: Using IOAPIC for interrupt routing
[ 1.913105] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.913483] PCI: Using E820 reservations for host bridge windows
[ 1.915085] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 1.949320] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 1.950427] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[ 1.951111] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[ 1.952650] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[ 1.958338] PCI host bridge to bus 0000:00
[ 1.958844] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 1.959170] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 1.959373] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 1.959900] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[ 1.960213] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[ 1.960701] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.962659] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 conventional PCI endpoint
[ 1.969955] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 conventional PCI endpoint
[ 1.971227] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 conventional PCI endpoint
[ 1.973102] pci 0000:00:01.1: BAR 4 [io 0xc240-0xc24f]
[ 1.974014] pci 0000:00:01.1: BAR 0 [io 0x01f0-0x01f7]: legacy IDE quirk
[ 1.974294] pci 0000:00:01.1: BAR 1 [io 0x03f6]: legacy IDE quirk
[ 1.974556] pci 0000:00:01.1: BAR 2 [io 0x0170-0x0177]: legacy IDE quirk
[ 1.974930] pci 0000:00:01.1: BAR 3 [io 0x0376]: legacy IDE quirk
[ 1.976319] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 conventional PCI endpoint
[ 1.977130] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
[ 1.977368] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 1.978312] pci 0000:00:02.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint
[ 1.979911] pci 0000:00:02.0: BAR 0 [io 0xc000-0xc03f]
[ 1.981924] pci 0000:00:02.0: BAR 1 [mem 0xfebf6000-0xfebf6fff]
[ 1.982202] pci 0000:00:02.0: BAR 4 [mem 0xfebd0000-0xfebd3fff 64bit pref]
[ 1.987290] pci 0000:00:03.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint
[ 1.987913] pci 0000:00:03.0: BAR 0 [io 0xc040-0xc07f]
[ 1.989921] pci 0000:00:03.0: BAR 1 [mem 0xfebf7000-0xfebf7fff]
[ 1.990139] pci 0000:00:03.0: BAR 4 [mem 0xfebd4000-0xfebd7fff 64bit pref]
[ 1.994763] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint
[ 1.995728] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf]
[ 1.997037] pci 0000:00:04.0: BAR 1 [mem 0xfebf8000-0xfebf8fff]
[ 1.997241] pci 0000:00:04.0: BAR 4 [mem 0xfebd8000-0xfebdbfff 64bit pref]
[ 2.002832] pci 0000:00:05.0: [8086:25ab] type 00 class 0x088000 conventional PCI endpoint
[ 2.004324] pci 0000:00:05.0: BAR 0 [mem 0xfebf9000-0xfebf900f]
[ 2.009967] pci 0000:00:06.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 2.011911] pci 0000:00:06.0: BAR 0 [io 0xc0c0-0xc0ff]
[ 2.012141] pci 0000:00:06.0: BAR 1 [mem 0xfebfa000-0xfebfafff]
[ 2.012904] pci 0000:00:06.0: BAR 4 [mem 0xfebdc000-0xfebdffff 64bit pref]
[ 2.017014] pci 0000:00:07.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 2.018555] pci 0000:00:07.0: BAR 0 [io 0xc100-0xc13f]
[ 2.019100] pci 0000:00:07.0: BAR 1 [mem 0xfebfb000-0xfebfbfff]
[ 2.019299] pci 0000:00:07.0: BAR 4 [mem 0xfebe0000-0xfebe3fff 64bit pref]
[ 2.024082] pci 0000:00:08.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 2.025692] pci 0000:00:08.0: BAR 0 [io 0xc140-0xc17f]
[ 2.025917] pci 0000:00:08.0: BAR 1 [mem 0xfebfc000-0xfebfcfff]
[ 2.026108] pci 0000:00:08.0: BAR 4 [mem 0xfebe4000-0xfebe7fff 64bit pref]
[ 2.029697] pci 0000:00:09.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 2.031915] pci 0000:00:09.0: BAR 0 [io 0xc180-0xc1bf]
[ 2.032899] pci 0000:00:09.0: BAR 1 [mem 0xfebfd000-0xfebfdfff]
[ 2.033091] pci 0000:00:09.0: BAR 4 [mem 0xfebe8000-0xfebebfff 64bit pref]
[ 2.037156] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 2.038903] pci 0000:00:0a.0: BAR 0 [io 0xc1c0-0xc1ff]
[ 2.039070] pci 0000:00:0a.0: BAR 1 [mem 0xfebfe000-0xfebfefff]
[ 2.039253] pci 0000:00:0a.0: BAR 4 [mem 0xfebec000-0xfebeffff 64bit pref]
[ 2.042668] pci 0000:00:0b.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 2.043916] pci 0000:00:0b.0: BAR 0 [io 0xc200-0xc23f]
[ 2.044166] pci 0000:00:0b.0: BAR 1 [mem 0xfebff000-0xfebfffff]
[ 2.045914] pci 0000:00:0b.0: BAR 4 [mem 0xfebf0000-0xfebf3fff 64bit pref]
[ 2.053986] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 2.054924] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 2.055520] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 2.056175] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 2.056572] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[ 2.061468] iommu: Default domain type: Translated
[ 2.061697] iommu: DMA domain TLB invalidation policy: lazy mode
[ 2.064756] SCSI subsystem initialized
[ 2.067180] pps_core: LinuxPPS API ver. 1 registered
[ 2.067313] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 2.067642] PTP clock support registered
[ 2.070005] Advanced Linux Sound Architecture Driver Initialized.
[ 2.078474] PCI: Using ACPI for IRQ routing
[ 2.083136] vgaarb: loaded
[ 2.085524] hpet: 3 channels of 0 reserved for per-cpu timers
[ 2.086102] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 2.086322] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 2.094650] clocksource: Switched to clocksource tsc-early
[ 2.097072] VFS: Disk quotas dquot_6.6.0
[ 2.097444] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.100398] pnp: PnP ACPI init
[ 2.104588] pnp: PnP ACPI: found 5 devices
[ 2.137465] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 2.138387] NET: Registered PF_INET protocol family
[ 2.140079] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.145053] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 2.145359] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.145687] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 2.146358] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 2.147029] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.148255] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 2.148802] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 2.150314] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.151513] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 2.151751] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 2.152012] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 2.152135] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[ 2.152250] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[ 2.153120] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 2.153514] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 2.154204] PCI: CLS 0 bytes, default 64
[ 2.157574] kvm_intel: VMX not supported by CPU 2
[ 2.159292] kvm_amd: Nested Virtualization enabled
[ 2.159662] kvm_amd: Nested Paging disabled
[ 2.160287] kvm_amd: PMU virtualization is disabled
[ 2.395932] Initialise system trusted keyrings
[ 2.401010] workingset: timestamp_bits=56 max_order=18 bucket_order=0
[ 2.405158] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.405901] fuse: init (API version 7.42)
[ 2.407066] 9p: Installing v9fs 9p2000 file system support
[ 2.490780] Key type asymmetric registered
[ 2.490963] Asymmetric key parser 'x509' registered
[ 2.492500] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 2.493832] io scheduler mq-deadline registered
[ 2.494025] io scheduler kyber registered
[ 2.499937] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 2.506170] ACPI: button: Power Button [PWRF]
[ 2.509328] Warning: Processor Platform Limit event detected, but not handled.
[ 2.509537] Consider compiling CPUfreq support into your kernel.
[ 2.664125] ACPI: \_SB_.LNKB: Enabled at IRQ 10
[ 2.807278] ACPI: \_SB_.LNKC: Enabled at IRQ 11
[ 2.943957] ACPI: \_SB_.LNKD: Enabled at IRQ 11
[ 3.400878] tsc: Refined TSC clocksource calibration: 2445.431 MHz
[ 3.402284] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x233fdc46f83, max_idle_ns: 440795225539 ns
[ 3.407873] clocksource: Switched to clocksource tsc
[ 3.475600] ACPI: \_SB_.LNKA: Enabled at IRQ 10
[ 3.748166] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 3.752821] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 3.823365] Non-volatile memory driver v1.3
[ 3.823568] Linux agpgart interface v0.103
[ 3.825311] ACPI: bus type drm_connector registered
[ 3.848256] loop: module loaded
[ 3.859687] scsi host0: ata_piix
[ 3.862024] scsi host1: ata_piix
[ 3.862539] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc240 irq 14 lpm-pol 0
[ 3.862981] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc248 irq 15 lpm-pol 0
[ 3.869017] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 3.872889] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 3.873273] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 3.876834] rtc_cmos 00:04: RTC can wake from S4
[ 3.881996] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 3.883995] rtc_cmos 00:04: registered as rtc0
[ 3.884879] rtc_cmos 00:04: setting system clock to 2025-03-16T14:22:25 UTC (1742134945)
[ 3.887457] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[ 3.891142] i6300ESB timer 0000:00:05.0: initialized. heartbeat=30 sec (nowayout=0)
[ 3.892436] device-mapper: ioctl: 4.49.0-ioctl (2025-01-17) initialised: [email protected]
[ 3.905476] NET: Registered PF_PACKET protocol family
[ 3.906529] 9pnet: Installing 9P2000 support
[ 3.910046] Key type dns_resolver registered
[ 3.913581] IPI shorthand broadcast: enabled
[ 3.939211] sched_clock: Marking stable (3918093392, 20634510)->(3956944195, -18216293)
[ 3.945955] registered taskstats version 1
[ 3.947613] Loading compiled-in X.509 certificates
[ 3.957356] Demotion targets for Node 0: null
[ 3.961828] PM: Magic number: 1:491:384
[ 3.962165] container PNP0A06:02: hash matches
[ 3.962299] acpi PNP0A06:02: hash matches
[ 3.963055] printk: legacy console [netcon0] enabled
[ 3.963340] netconsole: network logging started
[ 3.965829] ALSA device list:
[ 3.966034] No soundcards found.
[ 4.024835] ata2: found unknown device (class 0)
[ 4.033595] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[ 4.048129] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5
[ 4.065931] scsi 1:0:0:0: Attached scsi generic sg0 type 5
[ 4.316032] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[ 4.317564] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[ 4.320269] 9pnet_virtio: no channels available for device
[ 4.329369] VFS: Mounted root (9p filesystem) readonly on device 0:19.
[ 4.332445] devtmpfs: mounted
[ 4.468583] Freeing unused kernel image (initmem) memory: 3164K
[ 4.469178] Write protecting the kernel read-only data: 24576k
[ 4.472039] Freeing unused kernel image (text/rodata gap) memory: 652K
[ 4.477375] Freeing unused kernel image (rodata/data gap) memory: 1980K
[ 4.640006] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 4.640650] Run /bin/sh as init process
[ 5.009053] mount (70) used greatest stack depth: 13320 bytes left
[ 5.105190] mkdir (71) used greatest stack depth: 12888 bytes left
mount: /etc/fstab: mount point does not exist.
dmesg(1) may have more information after failed mount system call.
cp: cannot stat '/etc/hosts': No such file or directory
mount: /etc/hosts: mount point does not exist.
dmesg(1) may have more information after failed mount system call.
[ 7.950220] virtme-init: basic initialization done
[ 8.055023] virtme-init: starting udevd
[ 8.077992] virtme-init: running systemd-tmpfiles
Starting systemd-udevd version 252.36-1~deb12u1
[ 8.462173] virtme-init: triggering udev coldplug
/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
All rules containing unresolvable specifiers will be skipped.
[ 9.481994] virtme-init: waiting for udev to settle
[ 10.312999] virtme-init: udev is done
[ 11.150592] virtme-init: Setting hostname to virtme-ng...
[ 11.341172] ip (166) used greatest stack depth: 12360 bytes left
[ 11.977075] virtme-init: starting script
+ cd mm/
+ ./run_vmtests.sh -t 'mmap gup_test compaction migration page_frag userfaultfd'
[ 12.482621] run_vmtests.sh (182): drop_caches: 3
TAP version 13
# -----------------------------
# running ./map_fixed_noreplace
# -----------------------------
# TAP version 13
# 1..9
# # mmap() @ 0x7fb9aa857000-0x7fb9aa85c000 p=0x7fb9aa857000 result=Success
# ok 1 mmap() 5*PAGE_SIZE at base
# # mmap() @ 0x7fb9aa858000-0x7fb9aa85b000 p=0x7fb9aa858000 result=Success
# ok 2 mmap() 3*PAGE_SIZE at base+PAGE_SIZE
# # mmap() @ 0x7fb9aa857000-0x7fb9aa85c000 p=0xffffffffffffffff result=File exists
# ok 3 mmap() 5*PAGE_SIZE at base
# # mmap() @ 0x7fb9aa859000-0x7fb9aa85a000 p=0xffffffffffffffff result=File exists
# ok 4 mmap() 2*PAGE_SIZE at base+PAGE_SIZE
# # mmap() @ 0x7fb9aa85a000-0x7fb9aa85c000 p=0xffffffffffffffff result=File exists
# ok 5 mmap() 2*PAGE_SIZE at base+(3*PAGE_SIZE)
# # mmap() @ 0x7fb9aa857000-0x7fb9aa859000 p=0xffffffffffffffff result=File exists
# ok 6 mmap() 2*PAGE_SIZE bytes at base
# # mmap() @ 0x7fb9aa857000-0x7fb9aa858000 p=0x7fb9aa857000 result=File exists
# ok 7 mmap() PAGE_SIZE at base
# # mmap() @ 0x7fb9aa85b000-0x7fb9aa85c000 p=0x7fb9aa85b000 result=File exists
# ok 8 mmap() PAGE_SIZE at base+(4*PAGE_SIZE)
# ok 9 Base Address unmap() successful
# # Totals: pass:9 fail:0 xfail:0 xpass:0 skip:0 error:0
# [PASS]
ok 1 map_fixed_noreplace
# ---------------------
# running ./gup_test -u
# ---------------------
# TAP version 13
# 1..1
# # GUP_FAST_BENCHMARK: Time: get:31618 put:678 us#
# ok 1 ioctl status 0
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
# [PASS]
ok 2 gup_test -u
# ---------------------
# running ./gup_test -a
# ---------------------
# TAP version 13
# 1..1
# # PIN_FAST_BENCHMARK: Time: get:36150 put:3598 us#
# ok 1 ioctl status 0
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
# [PASS]
ok 3 gup_test -a
# -----------------------------------------
# running ./gup_test -ct -F 0x1 0 19 0x1000
# -----------------------------------------
[ 15.878415] ---- page #0, starting from user virt addr: 0x7f2535fb8000
[ 15.878920] page: refcount:2 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x3ec42
[ 15.879290] anon flags: 0x8000000002082c(referenced|uptodate|lru|owner_2|swapbacked|node=0|zone=1)
[ 15.880220] raw: 008000000002082c ffffdeb8c00e1b48 ffffdeb8c0fb1908 ffff8e94c2d9e341
[ 15.880479] raw: 0000000000000000 0000000000000000 0000000200000000 0000000000000000
[ 15.880798] page dumped because: gup_test: dump_pages() test
[ 15.881058] ---- page #19, starting from user virt addr: 0x7f2535fb8000
[ 15.881257] page: refcount:2 mapcount:1 mapping:0000000000000000 index:0x13 pfn:0x26d4b
[ 15.881492] anon flags: 0x8000000002082c(referenced|uptodate|lru|owner_2|swapbacked|node=0|zone=1)
[ 15.881861] raw: 008000000002082c ffffdeb8c09b51c8 ffffdeb8c09b54c8 ffff8e94c2d9e341
[ 15.882110] raw: 0000000000000013 0000000000000000 0000000200000000 0000000000000000
[ 15.882322] page dumped because: gup_test: dump_pages() test
[ 15.882446] ---- page #4096, starting from user virt addr: 0x7f2535fb8000
[ 15.882576] page: refcount:2 mapcount:1 mapping:0000000000000000 index:0x1000 pfn:0x19134
[ 15.882728] anon flags: 0x8000000002082c(referenced|uptodate|lru|owner_2|swapbacked|node=0|zone=1)
[ 15.882958] raw: 008000000002082c ffffdeb8c0644cc8 ffffdeb8c0644d48 ffff8e94c2d9e341
[ 15.883201] raw: 0000000000001000 0000000000000000 0000000200000000 0000000000000000
[ 15.883359] page dumped because: gup_test: dump_pages() test
# TAP version 13
# 1..1
# # DUMP_USER_PAGES_TEST: done
# ok 1 ioctl status 0
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
# [PASS]
ok 4 gup_test -ct -F 0x1 0 19 0x1000
# ----------------------
# running ./gup_longterm
# ----------------------
[ 16.313235] random: crng init done
# # [INFO] detected hugetlb page size: 2048 KiB
# TAP version 13
# 1..32
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with memfd
# ok 1 Should have worked
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with tmpfile
# ok 2 Should have worked
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with local tmpfile
# not ok 3 ftruncate() failed
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB)
# ok 4 Should have worked
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd
# ok 5 Should have worked
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with tmpfile
# ok 6 Should have worked
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with local tmpfile
# not ok 7 ftruncate() failed
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB)
# ok 8 Should have worked
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with memfd
# ok 9 Should have worked
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with tmpfile
# ok 10 Should have worked
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with local tmpfile
# not ok 11 ftruncate() failed
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB)
# ok 12 Should have worked
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd
# ok 13 Should have worked
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with tmpfile
# ok 14 Should have worked
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with local tmpfile
# not ok 15 ftruncate() failed
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB)
# ok 16 Should have worked
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with memfd
# ok 17 Should have worked
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with tmpfile
# ok 18 Should have worked
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with local tmpfile
# not ok 19 ftruncate() failed
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB)
# ok 20 Should have worked
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd
# ok 21 Should have worked
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with tmpfile
# ok 22 Should have worked
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with local tmpfile
# not ok 23 ftruncate() failed
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB)
# ok 24 Should have worked
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with memfd
# ok 25 Should have worked
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with tmpfile
# ok 26 Should have worked
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with local tmpfile
# not ok 27 ftruncate() failed
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB)
# ok 28 Should have worked
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd
# ok 29 Should have worked
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with tmpfile
# ok 30 Should have worked
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with local tmpfile
# not ok 31 ftruncate() failed
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB)
# ok 32 Should have worked
# Bail out! 8 out of 32 tests failed
# # Totals: pass:24 fail:8 xfail:0 xpass:0 skip:0 error:0
# [FAIL]
not ok 5 gup_longterm # exit=1
# -------------------------
# running ./uffd-unit-tests
# -------------------------
# Testing UFFDIO_API (with syscall)... done
# Testing UFFDIO_API (with /dev/userfaultfd)... done
# Testing register-ioctls on anon... done
# Testing register-ioctls on shmem... done
# Testing register-ioctls on shmem-private... done
# Testing register-ioctls on hugetlb... done
# Testing register-ioctls on hugetlb-private... done
# Testing zeropage on anon... done
# Testing zeropage on shmem... done
# Testing zeropage on shmem-private... done
# Testing zeropage on hugetlb... done
# Testing zeropage on hugetlb-private... done
# Testing move on anon... done
# Testing move-pmd on anon... skipped [reason: CONFIG_TRANSPARENT_HUGEPAGE is not set]
# Testing move-pmd-split on anon... skipped [reason: CONFIG_TRANSPARENT_HUGEPAGE is not set]
# Testing wp-fork on anon... done
# Testing wp-fork on shmem... done
# Testing wp-fork on shmem-private... done
# Testing wp-fork on hugetlb... done
# Testing wp-fork on hugetlb-private... done
# Testing wp-fork-with-event on anon... done
# Testing wp-fork-with-event on shmem... done
# Testing wp-fork-with-event on shmem-private... done
# Testing wp-fork-with-event on hugetlb... done
# Testing wp-fork-with-event on hugetlb-private... done
# Testing wp-fork-pin on anon... done
# Testing wp-fork-pin on shmem... done
# Testing wp-fork-pin on shmem-private... done
# Testing wp-fork-pin on hugetlb... done
# Testing wp-fork-pin on hugetlb-private... done
# Testing wp-fork-pin-with-event on anon... done
# Testing wp-fork-pin-with-event on shmem... done
# Testing wp-fork-pin-with-event on shmem-private... done
# Testing wp-fork-pin-with-event on hugetlb... done
# Testing wp-fork-pin-with-event on hugetlb-private... done
# Testing wp-unpopulated on anon... done
# Testing minor on shmem... done
# Testing minor on hugetlb... done
# Testing minor-wp on shmem... done
# Testing minor-wp on hugetlb... done
# Testing minor-collapse on shmem... skipped [reason: MADV_COLLAPSE failed]
# Testing sigbus on anon... done
# Testing sigbus on shmem... done
# Testing sigbus on shmem-private... done
# Testing sigbus on hugetlb... done
# Testing sigbus on hugetlb-private... done
# Testing sigbus-wp on anon... done
# Testing sigbus-wp on shmem... done
# Testing sigbus-wp on shmem-private... done
# Testing sigbus-wp on hugetlb... done
# Testing sigbus-wp on hugetlb-private... done
# Testing events on anon... done
# Testing events on shmem... done
# Testing events on shmem-private... done
# Testing events on hugetlb... done
# Testing events on hugetlb-private... done
# Testing events-wp on anon... done
# Testing events-wp on shmem... done
# Testing events-wp on shmem-private... done
# Testing events-wp on hugetlb... done
# Testing events-wp on hugetlb-private... done
# Testing poison on anon... done
# Testing poison on shmem... done
# Testing poison on shmem-private... done
# Testing poison on hugetlb... done
# Testing poison on hugetlb-private... done
# Userfaults unit tests: pass=63, skip=3, fail=0 (total=66)
# [PASS]
ok 6 uffd-unit-tests
# --------------------------------
# running ./uffd-stress anon 20 16
# --------------------------------
# nr_pages: 5120, nr_pages_per_cpu: 1280
# bounces: 15, mode: rnd racing ver poll, userfaults: 346 missing (37+94+92+123+) 869 wp (130+231+246+262+)
# bounces: 14, mode: racing ver poll, userfaults: 54 missing (14+14+15+11+) 536 wp (139+126+136+135+)
# bounces: 13, mode: rnd ver poll, userfaults: 114 missing (36+29+25+24+) 465 wp (114+133+104+114+)
# bounces: 12, mode: ver poll, userfaults: 64 missing (18+18+18+10+) 869 wp (280+211+227+151+)
# bounces: 11, mode: rnd racing poll, userfaults: 154 missing (34+51+41+28+) 679 wp (152+192+207+128+)
# bounces: 10, mode: racing poll, userfaults: 56 missing (18+18+15+5+) 643 wp (146+174+184+139+)
# bounces: 9, mode: rnd poll, userfaults: 285 missing (80+111+41+53+) 785 wp (186+246+160+193+)
# bounces: 8, mode: poll, userfaults: 55 missing (18+19+14+4+) 856 wp (271+239+186+160+)
# bounces: 7, mode: rnd racing ver read, userfaults: 186 missing (65+51+35+35+) 715 wp (220+207+144+144+)
# bounces: 6, mode: racing ver read, userfaults: 57 missing (24+17+7+9+) 996 wp (206+233+267+290+)
# bounces: 5, mode: rnd ver read, userfaults: 189 missing (48+52+51+38+) 689 wp (186+179+173+151+)
# bounces: 4, mode: ver read, userfaults: 31 missing (8+12+8+3+) 804 wp (262+160+195+187+)
# bounces: 3, mode: rnd racing read, userfaults: 313 missing (99+89+46+79+) 915 wp (262+231+161+261+)
# bounces: 2, mode: racing read, userfaults: 83 missing (28+16+29+10+) 596 wp (183+118+159+136+)
# bounces: 1, mode: rnd read, userfaults: 205 missing (67+42+54+42+) 716 wp (219+174+168+155+)
# bounces: 0, mode: read, userfaults: 10 missing (6+2+2+0+) 877 wp (267+205+235+170+)
# [PASS]
ok 7 uffd-stress anon 20 16
# -----------------------------------
# running ./uffd-stress hugetlb 64 32
# -----------------------------------
# nr_pages: 32, nr_pages_per_cpu: 8
# bounces: 31, mode: rnd racing ver poll, userfaults: 4 missing (1+1+1+1+) 29 wp (7+5+10+7+)
# bounces: 30, mode: racing ver poll, userfaults: 2 missing (1+1+0+0+) 38 wp (13+8+12+5+)
# bounces: 29, mode: rnd ver poll, userfaults: 9 missing (3+4+2+0+) 31 wp (12+6+6+7+)
# bounces: 28, mode: ver poll, userfaults: 8 missing (3+1+3+1+) 25 wp (7+4+7+7+)
# bounces: 27, mode: rnd racing poll, userfaults: 8 missing (5+0+2+1+) 33 wp (10+9+11+3+)
# bounces: 26, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 31 wp (9+9+10+3+)
# bounces: 25, mode: rnd poll, userfaults: 10 missing (2+4+3+1+) 28 wp (7+7+10+4+)
# bounces: 24, mode: poll, userfaults: 5 missing (1+1+2+1+) 23 wp (8+6+5+4+)
# bounces: 23, mode: rnd racing ver read, userfaults: 6 missing (2+1+2+1+) 20 wp (5+7+5+3+)
# bounces: 22, mode: racing ver read, userfaults: 2 missing (2+0+0+0+) 23 wp (8+7+6+2+)
# bounces: 21, mode: rnd ver read, userfaults: 8 missing (3+3+2+0+) 34 wp (9+13+7+5+)
# bounces: 20, mode: ver read, userfaults: 9 missing (4+4+0+1+) 34 wp (14+7+9+4+)
# bounces: 19, mode: rnd racing read, userfaults: 5 missing (3+1+0+1+) 26 wp (3+7+7+9+)
# bounces: 18, mode: racing read, userfaults: 2 missing (1+1+0+0+) 38 wp (13+12+7+6+)
# bounces: 17, mode: rnd read, userfaults: 4 missing (2+2+0+0+) 31 wp (11+5+7+8+)
# bounces: 16, mode: read, userfaults: 7 missing (3+3+1+0+) 29 wp (6+9+10+4+)
# bounces: 15, mode: rnd racing ver poll, userfaults: 8 missing (5+1+1+1+) 25 wp (9+8+6+2+)
# bounces: 14, mode: racing ver poll, userfaults: 6 missing (4+1+1+0+) 30 wp (9+9+9+3+)
# bounces: 13, mode: rnd ver poll, userfaults: 9 missing (2+4+2+1+) 27 wp (11+5+8+3+)
# bounces: 12, mode: ver poll, userfaults: 8 missing (4+3+1+0+) 36 wp (7+12+11+6+)
# bounces: 11, mode: rnd racing poll, userfaults: 4 missing (1+1+1+1+) 18 wp (6+3+5+4+)
# bounces: 10, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 17 wp (4+3+4+6+)
# bounces: 9, mode: rnd poll, userfaults: 6 missing (2+3+1+0+) 31 wp (12+8+9+2+)
# bounces: 8, mode: poll, userfaults: 5 missing (1+2+2+0+) 26 wp (8+3+10+5+)
# bounces: 7, mode: rnd racing ver read, userfaults: 8 missing (3+3+2+0+) 25 wp (7+11+4+3+)
# bounces: 6, mode: racing ver read, userfaults: 5 missing (3+1+1+0+) 36 wp (12+7+13+4+)
# bounces: 5, mode: rnd ver read, userfaults: 6 missing (2+4+0+0+) 33 wp (11+6+11+5+)
# bounces: 4, mode: ver read, userfaults: 5 missing (2+2+1+0+) 33 wp (9+8+8+8+)
# bounces: 3, mode: rnd racing read, userfaults: 6 missing (3+3+0+0+) 21 wp (3+7+6+5+)
# bounces: 2, mode: racing read, userfaults: 1 missing (1+0+0+0+) 36 wp (12+13+9+2+)
# bounces: 1, mode: rnd read, userfaults: 6 missing (3+1+2+0+) 25 wp (6+8+6+5+)
# bounces: 0, mode: read, userfaults: 7 missing (3+3+1+0+) 38 wp (13+14+9+2+)
# [PASS]
ok 8 uffd-stress hugetlb 64 32
# -------------------------------------------
# running ./uffd-stress hugetlb-private 64 32
# -------------------------------------------
# nr_pages: 32, nr_pages_per_cpu: 8
# bounces: 31, mode: rnd racing ver poll, userfaults: 14 missing (2+5+2+5+) 52 wp (7+13+12+20+)
# bounces: 30, mode: racing ver poll, userfaults: 3 missing (2+0+1+0+) 18 wp (6+5+3+4+)
# bounces: 29, mode: rnd ver poll, userfaults: 12 missing (5+3+2+2+) 46 wp (17+8+6+15+)
# bounces: 28, mode: ver poll, userfaults: 12 missing (7+4+1+0+) 37 wp (10+12+10+5+)
# bounces: 27, mode: rnd racing poll, userfaults: 14 missing (6+5+2+1+) 38 wp (17+4+6+11+)
# bounces: 26, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 41 wp (12+13+9+7+)
# bounces: 25, mode: rnd poll, userfaults: 17 missing (4+8+1+4+) 49 wp (12+19+10+8+)
# bounces: 24, mode: poll, userfaults: 8 missing (3+3+2+0+) 30 wp (8+7+6+9+)
# bounces: 23, mode: rnd racing ver read, userfaults: 14 missing (7+1+2+4+) 51 wp (15+8+6+22+)
# bounces: 22, mode: racing ver read, userfaults: 3 missing (1+1+1+0+) 12 wp (3+5+2+2+)
# bounces: 21, mode: rnd ver read, userfaults: 13 missing (3+6+4+0+) 48 wp (11+17+9+11+)
# bounces: 20, mode: ver read, userfaults: 8 missing (4+3+0+1+) 31 wp (9+8+9+5+)
# bounces: 19, mode: rnd racing read, userfaults: 13 missing (6+1+4+2+) 38 wp (10+4+16+8+)
# bounces: 18, mode: racing read, userfaults: 4 missing (1+2+1+0+) 32 wp (9+10+7+6+)
# bounces: 17, mode: rnd read, userfaults: 18 missing (4+10+2+2+) 50 wp (17+9+7+17+)
# bounces: 16, mode: read, userfaults: 5 missing (2+1+2+0+) 21 wp (6+6+4+5+)
# bounces: 15, mode: rnd racing ver poll, userfaults: 16 missing (3+7+4+2+) 46 wp (15+17+10+4+)
# bounces: 14, mode: racing ver poll, userfaults: 5 missing (3+1+1+0+) 20 wp (6+7+4+3+)
# bounces: 13, mode: rnd ver poll, userfaults: 23 missing (6+6+9+2+) 48 wp (10+13+20+5+)
# bounces: 12, mode: ver poll, userfaults: 8 missing (3+2+3+0+) 26 wp (7+8+6+5+)
# bounces: 11, mode: rnd racing poll, userfaults: 11 missing (4+2+3+2+) 40 wp (15+5+10+10+)
# bounces: 10, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 13 wp (4+3+4+2+)
# bounces: 9, mode: rnd poll, userfaults: 10 missing (4+4+1+1+) 39 wp (12+15+4+8+)
# bounces: 8, mode: poll, userfaults: 7 missing (2+4+1+0+) 31 wp (13+6+9+3+)
# bounces: 7, mode: rnd racing ver read, userfaults: 8 missing (2+2+3+1+) 42 wp (7+16+8+11+)
# bounces: 6, mode: racing ver read, userfaults: 5 missing (3+1+1+0+) 20 wp (6+8+3+3+)
# bounces: 5, mode: rnd ver read, userfaults: 15 missing (5+5+2+3+) 52 wp (12+15+17+8+)
# bounces: 4, mode: ver read, userfaults: 8 missing (4+3+1+0+) 36 wp (12+13+7+4+)
# bounces: 3, mode: rnd racing read, userfaults: 16 missing (5+8+2+1+) 47 wp (5+23+8+11+)
# bounces: 2, mode: racing read, userfaults: 1 missing (1+0+0+0+) 34 wp (11+9+11+3+)
# bounces: 1, mode: rnd read, userfaults: 11 missing (5+3+2+1+) 32 wp (13+6+9+4+)
# bounces: 0, mode: read, userfaults: 6 missing (4+1+0+1+) 25 wp (6+7+8+4+)
# [PASS]
ok 9 uffd-stress hugetlb-private 64 32
# ---------------------------------
# running ./uffd-stress shmem 20 16
# ---------------------------------
# nr_pages: 5120, nr_pages_per_cpu: 1280
# bounces: 15, mode: rnd racing ver poll, userfaults: 350 missing (63+73+72+142+) 1335 wp (312+280+351+392+)
# bounces: 14, mode: racing ver poll, userfaults: 104 missing (22+33+19+30+) 1068 wp (314+246+210+298+)
# bounces: 13, mode: rnd ver poll, userfaults: 309 missing (56+64+119+70+) 1296 wp (278+361+361+296+)
# bounces: 12, mode: ver poll, userfaults: 60 missing (25+20+8+7+) 1745 wp (373+585+393+394+)
# bounces: 11, mode: rnd racing poll, userfaults: 246 missing (59+64+44+79+) 1203 wp (310+284+283+326+)
# bounces: 10, mode: racing poll, userfaults: 92 missing (26+15+21+30+) 1530 wp (411+271+414+434+)
# bounces: 9, mode: rnd poll, userfaults: 214 missing (47+65+54+48+) 1106 wp (257+334+287+228+)
# bounces: 8, mode: poll, userfaults: 95 missing (18+18+26+33+) 1271 wp (299+316+330+326+)
# bounces: 7, mode: rnd racing ver read, userfaults: 223 missing (81+63+46+33+) 1204 wp (304+271+288+341+)
# bounces: 6, mode: racing ver read, userfaults: 131 missing (46+26+23+36+) 924 wp (328+165+202+229+)
# bounces: 5, mode: rnd ver read, userfaults: 305 missing (92+57+105+51+) 1268 wp (368+316+306+278+)
# bounces: 4, mode: ver read, userfaults: 50 missing (13+18+13+6+) 1431 wp (386+462+292+291+)
# bounces: 3, mode: rnd racing read, userfaults: 309 missing (82+69+88+70+) 1467 wp (341+340+351+435+)
# bounces: 2, mode: racing read, userfaults: 133 missing (25+39+34+35+) 1392 wp (327+270+489+306+)
# bounces: 1, mode: rnd read, userfaults: 305 missing (90+96+53+66+) 1571 wp (408+356+433+374+)
# bounces: 0, mode: read, userfaults: 12 missing (4+5+3+0+) 1504 wp (332+410+513+249+)
# [PASS]
ok 10 uffd-stress shmem 20 16
# -----------------------------------------
# running ./uffd-stress shmem-private 20 16
# -----------------------------------------
# nr_pages: 5120, nr_pages_per_cpu: 1280
# bounces: 15, mode: rnd racing ver poll, userfaults: 410 missing (97+104+93+116+) 1282 wp (273+410+260+339+)
# bounces: 14, mode: racing ver poll, userfaults: 42 missing (18+9+5+10+) 1077 wp (229+282+344+222+)
# bounces: 13, mode: rnd ver poll, userfaults: 262 missing (82+54+68+58+) 1210 wp (324+303+279+304+)
# bounces: 12, mode: ver poll, userfaults: 56 missing (19+10+20+7+) 1403 wp (324+364+431+284+)
# bounces: 11, mode: rnd racing poll, userfaults: 310 missing (73+93+76+68+) 1212 wp (263+329+374+246+)
# bounces: 10, mode: racing poll, userfaults: 83 missing (32+24+15+12+) 1461 wp (360+423+352+326+)
# bounces: 9, mode: rnd poll, userfaults: 223 missing (57+95+30+41+) 1126 wp (368+374+201+183+)
# bounces: 8, mode: poll, userfaults: 59 missing (17+11+12+19+) 1367 wp (405+330+286+346+)
# bounces: 7, mode: rnd racing ver read, userfaults: 374 missing (100+111+67+96+) 1445 wp (432+411+266+336+)
# bounces: 6, mode: racing ver read, userfaults: 40 missing (8+7+24+1+) 1184 wp (271+224+419+270+)
# bounces: 5, mode: rnd ver read, userfaults: 274 missing (73+84+63+54+) 1308 wp (297+425+327+259+)
# bounces: 4, mode: ver read, userfaults: 85 missing (20+44+12+9+) 2062 wp (368+886+371+437+)
# bounces: 3, mode: rnd racing read, userfaults: 314 missing (82+121+50+61+) 1253 wp (293+342+268+350+)
# bounces: 2, mode: racing read, userfaults: 97 missing (25+39+22+11+) 1181 wp (229+388+286+278+)
# bounces: 1, mode: rnd read, userfaults: 235 missing (67+58+62+48+) 1237 wp (312+286+361+278+)
# bounces: 0, mode: read, userfaults: 13 missing (7+4+1+1+) 1464 wp (436+448+324+256+)
# [PASS]
ok 11 uffd-stress shmem-private 20 16
# ------------------------
# running ./uffd-wp-mremap
# ------------------------
# # [INFO] detected hugetlb page size: 2048 KiB
# 1..6
# # [RUN] test_one_folio(size=4096, private=false, swapout=false, hugetlb=false)
# ok 1 test_one_folio(size=4096, private=false, swapout=false, hugetlb=false)
# # [RUN] test_one_folio(size=4096, private=true, swapout=false, hugetlb=false)
# ok 2 test_one_folio(size=4096, private=true, swapout=false, hugetlb=false)
# # [RUN] test_one_folio(size=4096, private=false, swapout=true, hugetlb=false)
# ok 3 test_one_folio(size=4096, private=false, swapout=true, hugetlb=false)
# # [RUN] test_one_folio(size=4096, private=true, swapout=true, hugetlb=false)
# ok 4 # SKIP MADV_PAGEOUT did not work, is swap enabled?
# # [RUN] test_one_folio(size=2097152, private=false, swapout=false, hugetlb=true)
# ok 5 test_one_folio(size=2097152, private=false, swapout=false, hugetlb=true)
# # [RUN] test_one_folio(size=2097152, private=true, swapout=false, hugetlb=true)
# ok 6 test_one_folio(size=2097152, private=true, swapout=false, hugetlb=true)
# # 1 skipped test(s) detected. Consider enabling relevant config options to improve coverage.
# # Totals: pass:5 fail:0 xfail:0 xpass:0 skip:1 error:0
# [PASS]
ok 12 uffd-wp-mremap
# -------------------------
# running ./compaction_test
# -------------------------
# TAP version 13
# 1..1
# # Number of huge pages allocated = 263
# ok 1 check_compaction
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
# [PASS]
ok 13 compaction_test
# ----------------------
# running ./map_populate
# ----------------------
# TAP version 13
# 1..2
# ok 1 MAP_POPULATE COW private page
# ok 2 The mapping state
# # Totals: pass:2 fail:0 xfail:0 xpass:0 skip:0 error:0
# [PASS]
ok 14 map_populate
# sudo: unable to resolve host virtme-ng: Temporary failure in name resolution
# tee: /proc/sys/kernel/yama/ptrace_scope: No such file or directory
# 0
# -------------------
# running ./migration
# -------------------
# TAP version 13
# 1..6
# # Starting 6 tests from 1 test cases.
# # RUN migration.private_anon ...
# # SKIP Not enough threads or NUMA nodes available
# # OK migration.private_anon
# ok 1 migration.private_anon # SKIP Not enough threads or NUMA nodes available
# # RUN migration.shared_anon ...
# # SKIP Not enough threads or NUMA nodes available
# # OK migration.shared_anon
# ok 2 migration.shared_anon # SKIP Not enough threads or NUMA nodes available
# # RUN migration.private_anon_thp ...
# # SKIP Not enough threads or NUMA nodes available
# # OK migration.private_anon_thp
# ok 3 migration.private_anon_thp # SKIP Not enough threads or NUMA nodes available
# # RUN migration.shared_anon_thp ...
# # SKIP Not enough threads or NUMA nodes available
# # OK migration.shared_anon_thp
# ok 4 migration.shared_anon_thp # SKIP Not enough threads or NUMA nodes available
# # RUN migration.private_anon_htlb ...
# # SKIP Not enough threads or NUMA nodes available
# # OK migration.private_anon_htlb
# ok 5 migration.private_anon_htlb # SKIP Not enough threads or NUMA nodes available
# # RUN migration.shared_anon_htlb ...
# # SKIP Not enough threads or NUMA nodes available
# # OK migration.shared_anon_htlb
# ok 6 migration.shared_anon_htlb # SKIP Not enough threads or NUMA nodes available
# # PASSED: 6 / 6 tests passed.
# # 6 skipped test(s) detected. Consider enabling relevant config options to improve coverage.
# # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:6 error:0
# [PASS]
ok 15 migration
# ---------------------------------
# running ./test_page_frag.sh smoke
# ---------------------------------
[ 105.253675] page_frag_test: loading out-of-tree module taints kernel.
[ 105.265599] waiting for test to complete
[ 105.265796] page_frag pop test thread begins on cpu 1
[ 105.266196] page_frag push test thread begins on cpu 0
[ 105.649371] page_frag push test thread exits on cpu 0
[ 105.649403] page_frag pop test thread exits on cpu 1
[ 105.649868] 2000000 of iterations for non-aligned testing took: 384276us
# Run smoke test.
# Done.
# Check the kernel ring buffer to see the summary.
# [PASS]
ok 16 test_page_frag.sh smoke
# -----------------------------------
# running ./test_page_frag.sh aligned
# -----------------------------------
[ 106.751300] waiting for test to complete
[ 106.751384] page_frag push test thread begins on cpu 0
[ 106.751634] page_frag pop test thread begins on cpu 1
[ 116.873223] page_frag_test progress: pushed = 55924081, popped = 55923635
[ 125.059136] page_frag push test thread exits on cpu 0
[ 125.059194] page_frag pop test thread exits on cpu 1
[ 125.059654] 100000000 of iterations for aligned testing took: 18308393us
# Run performance tests to evaluate how fast aligned alloc API is.
# Done.
# Check the kernel ring buffer to see the summary.
# [PASS]
ok 17 test_page_frag.sh aligned
# --------------------------------------
# running ./test_page_frag.sh nonaligned
# --------------------------------------
[ 126.158531] waiting for test to complete
[ 126.158612] page_frag push test thread begins on cpu 0
[ 126.159031] page_frag pop test thread begins on cpu 1
[ 136.328881] page_frag_test progress: pushed = 70561824, popped = 70561322
[ 140.908762] page_frag push test thread exits on cpu 0
[ 140.908797] page_frag pop test thread exits on cpu 1
[ 140.909298] 100000000 of iterations for non-aligned testing took: 14750803us
# Run performance tests to evaluate how fast nonaligned alloc API is.
# Done.
# Check the kernel ring buffer to see the summary.
# [PASS]
ok 18 test_page_frag.sh nonaligned
# SUMMARY: PASS=17 SKIP=0 FAIL=1
1..18
[ 141.292026] virtme-init: script returned {1}
Powering off.
[ 141.555250] ACPI: PM: Preparing to enter system sleep state S5
[ 141.557041] kvm: exiting hardware virtualization
[ 141.557646] reboot: Power down
+ grep -vE '^[0-9]+..[0-9]+$' guest.log
+ python3 tools/testing/kunit/kunit.py parse --json=summary.json
+ true
+ jq -r '.test_cases | map("| \(.name) | \(.status) |") | .[]' summary.json
+ sed '1i| Test Case | Status |'
+ sed '2i| ----------- | --------- |'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment