Nothing output when trying to run with self-built Linux kernel
Closed this issue · 2 comments
With Debian sid/unstable and virtme-ng 1.25-1 trying to run my self-built Linux kernel (
config-6.10.0-04829-ge2f710f97f35
), nothing is shown:
$ vng --version
virtme-ng 1.25
$ vng --debug -r # and then killall qemu-system-x86_64
qemu-system-x86_64: terminating on signal 15 from pid 4542 ()
$ ps auxf
[…]
pmenzel 4476 1.3 0.2 45532 34692 pts/0 S+ 08:08 0:00 | | \_ /usr/bin/python3 /usr/bin/vng --debug -r
pmenzel 4477 0.0 0.0 2620 1572 pts/0 S+ 08:08 0:00 | | \_ /bin/sh -c virtme-run --name virtme-ng --user pmenzel --overlay-rwdir /etc --overlay-rwdir /lib --overlay-rwdir /home --overlay-rwdir /opt --overlay-rwdir /srv --overlay-rwdir /usr --overlay-rwdir /var --pwd --kimg 6.10.0-04829-ge2f710f97f35 --mods auto --disable-microvm --cpus 4 --memory 1G --qemu-opts -device vmcoreinfo -s -qmp tcp:localhost:3636,server,nowait
pmenzel 4478 0.4 0.1 38800 27760 pts/0 S+ 08:08 0:00 | | \_ /usr/bin/python3 /usr/bin/virtme-run --name virtme-ng --user pmenzel --overlay-rwdir /etc --overlay-rwdir /lib --overlay-rwdir /home --overlay-rwdir /opt --overlay-rwdir /srv --overlay-rwdir /usr --overlay-rwdir /var --pwd --kimg 6.10.0-04829-ge2f710f97f35 --mods auto --disable-microvm --cpus 4 --memory 1G --qemu-opts -device vmcoreinfo -s -qmp tcp:localhost:3636,server,nowait
pmenzel 4494 100 1.1 1618040 176192 pts/0 Sl+ 08:08 0:27 | | \_ /usr/bin/qemu-system-x86_64 -name virtme-ng -m 1G -fsdev local,id=virtfs5,path=/,security_model=none,readonly=on,multidevs=remap -device virtio-9p-pci,fsdev=virtfs5,mount_tag=/dev/root -machine accel=kvm:tcg -device i6300esb,id=watchdog0 -cpu host -parallel none -net none -echr 1 -chardev stdio,id=console,signal=off,mux=on -serial chardev:console -mon chardev=console -vga none -display none -smp 4 -kernel /boot/vmlinuz-6.10.0-04829-ge2f710f97f35 -append virtme_hostname=virtme-ng nr_open=1073741816 virtme_root_mods=1 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_console=ttyS0 psmouse.proto=exps "virtme_stty_con=rows 45 cols 176 iutf8" TERM=xterm-256color virtme_chdir=home/pmenzel virtme_user=pmenzel rootfstype=9p rootflags=version=9p2000.L,trans=virtio,access=any raid=noautodetect ro quiet loglevel=0 init=/usr/lib/python3/dist-packages/virtme/guest/virtme-init -device vmcoreinfo -s -qmp tcp:localhost:3636,server,nowait
[…]
Using this command line, adding earlyprintk=serial
to -append
(and adding the quotes) I get:
$ /usr/bin/qemu-system-x86_64 -name virtme-ng -m 1G -fsdev local,id=virtfs5,path=/,security_model=none,readonly=on,multidevs=remap -device virtio-9p-pci,fsdev=virtfs5,mount_tag=/dev/root -machine accel=kvm:tcg -device i6300esb,id=watchdog0 -cpu host -parallel none -net none -echr 1 -chardev stdio,id=console,signal=off,mux=on -serial chardev:console -mon chardev=console -vga none -display none -smp 4 -kernel /boot/vmlinuz-6.10.0-04829-ge2f710f97f35 -append 'virtme_hostname=virtme-ng nr_open=1073741816 virtme_root_mods=1 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_console=ttyS0 psmouse.proto=exps "virtme_stty_con=rows 45 cols 176 iutf8" TERM=xterm-256color virtme_chdir=home/pmenzel virtme_user=pmenzel rootfstype=9p rootflags=version=9p2000.L,trans=virtio,access=any raid=noautodetect ro quiet loglevel=0 init=/usr/lib/python3/dist-packages/virtme/guest/virtme-init debug earlyprintk=serial,keep' -device vmcoreinfo -s -qmp tcp:localhost:3636,server,nowait
early console in setup code
[ 0.000000] Linux version 6.10.0-04829-ge2f710f97f35 (build@bohemianrhapsody.molgen.mpg.de) (gcc (Debian 13.3.0-2) 13.3.0, GNU ld (GNU Binutils for Debian) 2.42.50.20240710) #223 SMP PREEMPT_DYNAMIC Wed Jul 17 23:27:02 CEST 2024
[ 0.000000] Command line: virtme_hostname=virtme-ng nr_open=1073741816 virtme_root_mods=1 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_console=ttyS0 psmouse.proto=exps "virtme_stty_con=rows 45 cols 176 iutf8" TERM=xterm-256color virtme_chdir=home/pmenzel virtme_user=pmenzel rootfstype=9p rootflags=version=9p2000.L,trans=virtio,access=any raid=noautodetect ro quiet loglevel=0 init=/usr/lib/python3/dist-packages/virtme/guest/virtme-init debug earlyprintk=serial,keep
[ 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 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] printk: legacy console [earlyser0] enabled
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] APIC: Static calls initialized
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard 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] Hypervisor detected: KVM
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000001] kvm-clock: using sched offset of 905052558 cycles
[ 0.000448] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.001673] tsc: Detected 2904.008 MHz processor
[ 0.002359] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.002846] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.003250] last_pfn = 0x3ffe0 max_arch_pfn = 0x400000000
[ 0.003652] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs
[ 0.004280] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
Memory KASLR using RDRAND RDTSC...
[ 0.008374] found SMP MP-table at [mem 0x000f5480-0x000f548f]
[ 0.008832] Using GB pages for direct mapping
[ 0.009300] ACPI: Early table checksum verification disabled
[ 0.009820] ACPI: RSDP 0x00000000000F52B0 000014 (v00 BOCHS )
[ 0.010444] ACPI: RSDT 0x000000003FFE1D67 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.011253] ACPI: FACP 0x000000003FFE1C03 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.011940] ACPI: DSDT 0x000000003FFE0040 001BC3 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.013048] ACPI: FACS 0x000000003FFE0000 000040
[ 0.013559] ACPI: APIC 0x000000003FFE1C77 000090 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.014587] ACPI: HPET 0x000000003FFE1D07 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.015424] ACPI: WAET 0x000000003FFE1D3F 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.016082] ACPI: Reserving FACP table memory at [mem 0x3ffe1c03-0x3ffe1c76]
[ 0.016606] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe1c02]
[ 0.017107] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]
[ 0.017606] ACPI: Reserving APIC table memory at [mem 0x3ffe1c77-0x3ffe1d06]
[ 0.018107] ACPI: Reserving HPET table memory at [mem 0x3ffe1d07-0x3ffe1d3e]
[ 0.018644] ACPI: Reserving WAET table memory at [mem 0x3ffe1d3f-0x3ffe1d66]
[ 0.019393] No NUMA configuration found
[ 0.019694] Faking a node at [mem 0x0000000000000000-0x000000003ffdffff]
[ 0.020245] NODE_DATA(0) allocated [mem 0x3ffb5000-0x3ffdffff]
[ 0.020877] Zone ranges:
[ 0.021079] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.021565] DMA32 [mem 0x0000000001000000-0x000000003ffdffff]
[ 0.022083] Normal empty
[ 0.022318] Device empty
[ 0.022554] Movable zone start for each node
[ 0.022906] Early memory node ranges
[ 0.023202] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.023709] node 0: [mem 0x0000000000100000-0x000000003ffdffff]
[ 0.024222] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffdffff]
[ 0.024820] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.025337] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.028186] On node 0, zone DMA32: 32 pages in unavailable ranges
[ 0.029195] ACPI: PM-Timer IO Port: 0x608
[ 0.029607] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.030310] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[ 0.030876] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.031507] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.032225] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.032741] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.033316] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.033898] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.034446] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.034892] TSC deadline timer available
[ 0.035232] CPU topo: Max. logical packages: 1
[ 0.035621] CPU topo: Max. logical dies: 1
[ 0.036021] CPU topo: Max. dies per package: 1
[ 0.036458] CPU topo: Max. threads per core: 1
[ 0.036831] CPU topo: Num. cores per package: 4
[ 0.037249] CPU topo: Num. threads per package: 4
[ 0.037657] CPU topo: Allowing 4 present CPUs plus 0 hotplug CPUs
[ 0.038191] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()
[ 0.038910] kvm-guest: KVM setup pv remote TLB flush
[ 0.039409] kvm-guest: setup PV sched yield
[ 0.039793] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.040495] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.041130] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.041674] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.042181] [mem 0x40000000-0xfeffbfff] available for PCI devices
[ 0.042589] Booting paravirtualized kernel on KVM
[ 0.042906] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.048401] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[ 0.049484] percpu: Embedded 94 pages/cpu s290816 r65536 d28672 u524288
[ 0.050137] pcpu-alloc: s290816 r65536 d28672 u524288 alloc=1*2097152
[ 0.050756] pcpu-alloc: [0] 0 1 2 3
[ 0.051143] kvm-guest: PV spinlocks enabled
[ 0.051551] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.052272] Kernel command line: virtme_hostname=virtme-ng nr_open=1073741816 virtme_root_mods=1 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_console=ttyS0 psmouse.proto=exps "virtme_stty_con=rows 45 cols 176 iutf8" TERM=xterm-256color virtme_chdir=home/pmenzel virtme_user=pmenzel rootfstype=9p rootflags=version=9p2000.L,trans=virtio,access=any raid=noautodetect ro quiet loglevel=0 init=/usr/lib/python3/dist-packages/virtme/guest/virtme-init debug earlyprintk=serial,keep
[ 0.057453] Unknown kernel command line parameters "virtme_hostname=virtme-ng nr_open=1073741816 virtme_root_mods=1 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_console=ttyS0 virtme_stty_con=rows 45 cols 176 iutf8 virtme_chdir=home/pmenzel virtme_user=pmenzel raid=noautodetect", will be passed to user space.
[ 0.060148] random: crng init done
[ 0.060578] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.061564] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.062513] Fallback order for Node 0: 0
[ 0.062520] Built 1 zonelists, mobility grouping on. Total pages: 262014
[ 0.063709] Policy zone: DMA32
[ 0.064049] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.066513] Memory: 260860K/1048056K available (14336K kernel code, 2531K rwdata, 9864K rodata, 2908K init, 6516K bss, 61360K reserved, 0K cma-reserved)
[ 0.068296] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.069068] kmemleak: Kernel memory leak detector disabled
Poking KASLR using RDRAND RDTSC...
[ 0.070068] ftrace: allocating 42642 entries in 167 pages
[ 0.078325] ftrace: allocated 167 pages with 5 groups
[ 0.080089] Dynamic Preempt: voluntary
[ 0.080817] rcu: Preemptible hierarchical RCU implementation.
[ 0.081507] rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[ 0.082292] Trampoline variant of Tasks RCU enabled.
[ 0.082858] Rude variant of Tasks RCU enabled.
[ 0.083374] Tracing variant of Tasks RCU enabled.
[ 0.083910] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.084783] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.085548] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.086338] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.087168] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.090758] NR_IRQS: 524544, nr_irqs: 456, preallocated irqs: 16
[ 0.091598] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.092423] Console: colour *CGA 80x25
[ 0.092813] printk: legacy console [tty0] enabled
[ 0.096763] ACPI: Core revision 20240322
[ 0.097352] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.098173] APIC: Switch to symmetric I/O mode setup
[ 0.098709] x2apic enabled
[ 0.099133] APIC: Switched APIC routing to: physical x2apic
[ 0.099607] kvm-guest: APIC: send_IPI_mask() replaced with kvm_send_ipi_mask()
[ 0.100225] kvm-guest: APIC: send_IPI_mask_allbutself() replaced with kvm_send_ipi_mask_allbutself()
[ 0.101047] kvm-guest: setup PV IPIs
[ 0.101995] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.102649] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x29dc0d988f1, max_idle_ns: 440795328788 ns
[ 0.103612] Calibrating delay loop (skipped) preset value.. 5808.01 BogoMIPS (lpj=11616032)
[ 0.104652] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[ 0.105630] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.106162] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.108143] Spectre V2 : User space: Vulnerable
[ 0.108531] Speculative Store Bypass: Vulnerable
[ 0.108922] SRBDS: Unknown: Dependent on hypervisor status
[ 0.109379] GDS: Unknown: Dependent on hypervisor status
[ 0.109852] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.110486] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.111012] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.111610] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.112243] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.112662] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.113103] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.113592] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
[ 0.114116] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
[ 0.120783] Freeing SMP alternatives memory: 36K
[ 0.121318] pid_max: default: 32768 minimum: 301
[ 0.121906] LSM: initializing lsm=capability,landlock,apparmor,bpf,ima,evm
[ 0.122733] landlock: Up and running.
[ 0.123227] AppArmor: AppArmor initialized
[ 0.123620] LSM support for eBPF active
[ 0.124142] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.124988] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.125790] smpboot: CPU0: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (family: 0x6, model: 0x8e, stepping: 0x9)
[ 0.126566] Performance Events: Skylake events, full-width counters, Intel PMU driver.
[ 0.127111] ... version: 2
[ 0.127380] ... bit width: 48
[ 0.127606] ... generic registers: 4
[ 0.127606] ... value mask: 0000ffffffffffff
[ 0.127606] ... max period: 00007fffffffffff
[ 0.127606] ... fixed-purpose events: 3
[ 0.127606] ... event mask: 000000070000000f
[ 0.127762] signal: max sigframe size: 1616
[ 0.128277] rcu: Hierarchical SRCU implementation.
[ 0.128721] rcu: Max phase no-delay instances is 1000.
[ 0.129551] smp: Bringing up secondary CPUs ...
[ 0.130149] smpboot: x86: Booting SMP configuration:
[ 0.130520] .... node #0, CPUs: #1 #2 #3
[ 0.130907] smp: Brought up 1 node, 4 CPUs
[ 0.132280] smpboot: Total of 4 processors activated (23232.06 BogoMIPS)
[ 0.133086] node 0 deferred pages initialised in 4ms
[ 0.135945] devtmpfs: initialized
[ 0.135945] x86/mm: Memory block size: 128MB
[ 0.136738] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.136738] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.139708] pinctrl core: initialized pinctrl subsystem
[ 0.140796] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.141604] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.142346] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.143084] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.143640] audit: initializing netlink subsys (disabled)
[ 0.144079] audit: type=2000 audit(1721369109.268:1): state=initialized audit_enabled=0 res=1
[ 0.144079] thermal_sys: Registered thermal governor 'fair_share'
[ 0.144657] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.145261] thermal_sys: Registered thermal governor 'step_wise'
[ 0.145885] thermal_sys: Registered thermal governor 'user_space'
[ 0.146536] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.147653] cpuidle: using governor ladder
[ 0.148913] cpuidle: using governor menu
[ 0.148913] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.149109] PCI: Using configuration type 1 for base access
[ 0.149927] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.155806] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.156388] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.157105] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.157842] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.158582] Demotion targets for Node 0: null
[ 0.159759] ACPI: Added _OSI(Module Device)
[ 0.160139] ACPI: Added _OSI(Processor Device)
[ 0.160573] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.160985] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.160985] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.172565] ACPI: Interpreter enabled
[ 0.172565] ACPI: PM: (supports S0 S3 S4 S5)
[ 0.172589] ACPI: Using IOAPIC for interrupt routing
[ 0.173094] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.173969] PCI: Using E820 reservations for host bridge windows
[ 0.175709] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 0.178336] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.178915] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[ 0.179610] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[ 0.180360] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[ 0.181495] acpiphp: Slot [2] registered
[ 0.181807] acpiphp: Slot [3] registered
[ 0.182162] acpiphp: Slot [4] registered
[ 0.182643] acpiphp: Slot [5] registered
[ 0.183116] acpiphp: Slot [6] registered
[ 0.183622] acpiphp: Slot [7] registered
[ 0.184095] acpiphp: Slot [8] registered
[ 0.184600] acpiphp: Slot [9] registered
[ 0.185108] acpiphp: Slot [10] registered
[ 0.185622] acpiphp: Slot [11] registered
[ 0.186116] acpiphp: Slot [12] registered
[ 0.186611] acpiphp: Slot [13] registered
[ 0.187103] acpiphp: Slot [14] registered
[ 0.187596] acpiphp: Slot [15] registered
[ 0.188056] acpiphp: Slot [16] registered
[ 0.188511] acpiphp: Slot [17] registered
[ 0.188905] acpiphp: Slot [18] registered
[ 0.189249] acpiphp: Slot [19] registered
[ 0.189545] acpiphp: Slot [20] registered
[ 0.189860] acpiphp: Slot [21] registered
[ 0.190173] acpiphp: Slot [22] registered
[ 0.190598] acpiphp: Slot [23] registered
[ 0.191052] acpiphp: Slot [24] registered
[ 0.191645] acpiphp: Slot [25] registered
[ 0.192118] acpiphp: Slot [26] registered
[ 0.192562] acpiphp: Slot [27] registered
[ 0.193088] acpiphp: Slot [28] registered
[ 0.193574] acpiphp: Slot [29] registered
[ 0.194056] acpiphp: Slot [30] registered
[ 0.194544] acpiphp: Slot [31] registered
[ 0.195024] PCI host bridge to bus 0000:00
[ 0.195527] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.195617] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.196416] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.197292] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[ 0.198152] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[ 0.199055] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.199670] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 conventional PCI endpoint
[ 0.200981] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 conventional PCI endpoint
[ 0.202349] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 conventional PCI endpoint
[ 0.205310] pci 0000:00:01.1: BAR 4 [io 0xc040-0xc04f]
[ 0.207369] pci 0000:00:01.1: BAR 0 [io 0x01f0-0x01f7]: legacy IDE quirk
[ 0.207612] pci 0000:00:01.1: BAR 1 [io 0x03f6]: legacy IDE quirk
[ 0.208191] pci 0000:00:01.1: BAR 2 [io 0x0170-0x0177]: legacy IDE quirk
[ 0.208720] pci 0000:00:01.1: BAR 3 [io 0x0376]: legacy IDE quirk
[ 0.209397] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 conventional PCI endpoint
[ 0.210295] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
[ 0.211254] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 0.211866] pci 0000:00:02.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint
[ 0.213310] pci 0000:00:02.0: BAR 0 [io 0xc000-0xc03f]
[ 0.214319] pci 0000:00:02.0: BAR 1 [mem 0xfebfe000-0xfebfefff]
[ 0.221284] pci 0000:00:02.0: BAR 4 [mem 0xfebf8000-0xfebfbfff 64bit pref]
[ 0.223564] pci 0000:00:03.0: [8086:25ab] type 00 class 0x088000 conventional PCI endpoint
[ 0.224038] pci 0000:00:03.0: BAR 0 [mem 0xfebff000-0xfebff00f]
[ 0.226903] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 0.227589] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 0.228215] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 0.228851] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 0.229455] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[ 0.231654] iommu: Default domain type: Translated
[ 0.232061] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.232061] pps_core: LinuxPPS API ver. 1 registered
[ 0.232085] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.232922] PTP clock support registered
[ 0.233312] EDAC MC: Ver: 3.0.0
[ 0.235743] NetLabel: Initializing
[ 0.236097] NetLabel: domain hash size = 128
[ 0.236528] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.236528] NetLabel: unlabeled traffic allowed by default
[ 0.236528] PCI: Using ACPI for IRQ routing
[ 0.236565] PCI: pci_cache_line_size set to 64 bytes
[ 0.237088] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.237646] e820: reserve RAM buffer [mem 0x3ffe0000-0x3fffffff]
[ 0.239817] vgaarb: loaded
[ 0.240018] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.240511] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 0.243610] clocksource: Switched to clocksource kvm-clock
[ 0.245065] VFS: Disk quotas dquot_6.6.0
[ 0.245537] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.246325] AppArmor: AppArmor Filesystem Enabled
[ 0.246779] pnp: PnP ACPI init
[ 0.247121] pnp 00:02: [dma 2]
[ 0.247627] pnp: PnP ACPI: found 5 devices
[ 0.254156] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.255222] NET: Registered PF_INET protocol family
[ 0.255809] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.267554] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.268604] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.269526] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.270463] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.271347] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.272139] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[ 0.272867] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.273555] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.274421] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.275073] NET: Registered PF_XDP protocol family
[ 0.275689] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.276458] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.277161] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 0.277974] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[ 0.278754] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[ 0.279658] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.280351] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.281069] PCI: CLS 0 bytes, default 64
[ 0.281685] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x29dc0d988f1, max_idle_ns: 440795328788 ns
[ 0.282839] sgx: There are zero EPC sections.
[ 0.283676] Initialise system trusted keyrings
[ 0.284201] Key type blacklist registered
[ 0.284867] workingset: timestamp_bits=36 max_order=18 bucket_order=0
[ 0.285647] zbud: loaded
[ 0.286116] fuse: init (API version 7.40)
[ 0.286803] integrity: Platform Keyring initialized
[ 0.287401] integrity: Machine keyring initialized
[ 0.287970] Key type asymmetric registered
[ 0.288428] Asymmetric key parser 'x509' registered
[ 0.290149] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.290839] io scheduler mq-deadline registered
[ 0.293435] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 0.312573] ACPI: \_SB_.LNKB: Enabled at IRQ 10
[ 0.313726] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.314573] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.316323] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 0.317579] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.318078] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.318902] mousedev: PS/2 mouse device common for all mice
[ 0.319572] rtc_cmos 00:04: RTC can wake from S4
[ 0.320427] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 0.321603] rtc_cmos 00:04: registered as rtc0
[ 0.321992] rtc_cmos 00:04: setting system clock to 2024-07-19T06:05:09 UTC (1721369109)
[ 0.322681] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[ 0.323420] intel_pstate: CPU model not supported
[ 0.323845] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.324645] NET: Registered PF_INET6 protocol family
[ 0.326241] Segment Routing with IPv6
[ 0.326634] In-situ OAM (IOAM) with IPv6
[ 0.327029] mip6: Mobile IPv6
[ 0.327365] NET: Registered PF_PACKET protocol family
[ 0.327949] mpls_gso: MPLS GSO support
[ 0.328660] IPI shorthand broadcast: enabled
[ 0.330343] sched_clock: Marking stable (321271947, 7270627)->(332972702, -4430128)
[ 0.331234] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.331987] registered taskstats version 1
[ 0.332376] Loading compiled-in X.509 certificates
[ 0.334262] Demotion targets for Node 0: null
[ 0.334810] Key type .fscrypt registered
[ 0.335138] Key type fscrypt-provisioning registered
[ 0.336746] Key type encrypted registered
[ 0.337173] AppArmor: AppArmor sha256 policy hashing enabled
[ 0.337710] ima: No TPM chip found, activating TPM-bypass!
[ 0.338221] ima: Allocated hash algorithm: sha1
[ 0.338620] ima: No architecture policies found
[ 0.339022] evm: Initialising EVM extended attributes:
[ 0.339516] evm: security.selinux
[ 0.339868] evm: security.SMACK64 (disabled)
[ 0.340211] evm: security.SMACK64EXEC (disabled)
[ 0.340550] evm: security.SMACK64TRANSMUTE (disabled)
[ 0.341115] evm: security.SMACK64MMAP (disabled)
[ 0.341733] evm: security.apparmor
[ 0.342091] evm: security.ima
[ 0.342397] evm: security.capability
[ 0.342734] evm: HMAC attrs: 0x1
[ 0.465566] RAS: Correctable Errors collector initialized.
[ 0.484153] clk: Disabling unused clocks
[ 0.485564] VFS: Cannot open root device "" or unknown-block(0,0): error -19
[ 0.486520] Please append a correct "root=" boot option; here are the available partitions:
[ 0.487403] List of all bdev filesystems:
[ 0.487694] fuseblk
[ 0.487695]
[ 0.487983] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.488543] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 6.10.0-04829-ge2f710f97f35 #223
[ 0.489075] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 0.489887] Call Trace:
[ 0.490109] <TASK>
[ 0.490302] panic+0x329/0x350
[ 0.490572] mount_root_generic+0x1c4/0x370
[ 0.490938] prepare_namespace+0x64/0x280
[ 0.491293] kernel_init_freeable+0x422/0x470
[ 0.491607] ? rest_init+0xd0/0xd0
[ 0.491851] kernel_init+0x1a/0x1b0
[ 0.492109] ret_from_fork+0x31/0x50
[ 0.492364] ? rest_init+0xd0/0xd0
[ 0.492606] ret_from_fork_asm+0x11/0x20
[ 0.492885] </TASK>
[ 0.493129] Kernel Offset: 0xb000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.493852] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Could somehow be checked if the Linux kernel fulfills the requirements to work?
Hello,
trying to run my self-built Linux kernel
I guess it means you didn't use vng --build
or vng --kernel
, right? Some kernel configs are needed for vng
to run.
[ 0.485564] VFS: Cannot open root device "" or unknown-block(0,0): error -19 [ 0.486520] Please append a correct "root=" boot option; here are the available partitions: [ 0.487403] List of all bdev filesystems: [ 0.487694] fuseblk [ 0.487695] [ 0.487983] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
It says that the kernel has not been compiled with the filesystem that is being used (9P in your case, I guess you didn't install virtiofsd
), you are at least missing CONFIG_9P_FS=y
, but best to run vng --kernel
(or --build
, or check the options that are added and take the minimal set for your case)
Using this command line, adding
earlyprintk=serial
to-append
(and adding the quotes)
You can also use vng -v (...)
;-)
Indeed, CONFIG_9P_FS
is unset (/boot/config-6.10.0-04829-ge2f710f97f35:# CONFIG_NET_9P is not set
), and virtiofsd is not installed.
As always, thank you for the quick reply. As a convenience feature, virtme-ng could check the appropriate config file, if all required options are set.