Package: kvmtool Version: 0.20160203-1 Severity: important I don't think we should ship kvmtool in stretch without a Linux kernel flavour for it. If you agree, please upgrade this bug to serious. Right now the Debian Linux kernel packages don't have CONFIG_NET_9P_VIRTIO and CONFIG_VIRTIO_NET enabled. For kvmtool we probably want a trimmed down Linux flavour for both speed and attack surface reduction.
pabs@chianamo ~ $ lkvm run # lkvm run -k /boot/vmlinuz-4.4.0-1-amd64 -m 448 -c 4 --name guest-15121 PPrroobbiinngg EEDDDD ((eedddd==ooffff ttoo ddiissaabbllee))...... ookk [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 5.3.1 20160224 (Debian 5.3.1-10) ) #1 SMP Debian 4.4.4-2 (2016-03-09) [ 0.000000] Command line: noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 earlyprintk=serial i8042.noaux=1 rw rootflags=trans=virtio,version=9p2000.L,cache=loose rootfstype=9p init=/virt/pre_init ip=dhcp [ 0.000000] CPU: vendor_id 'LKVMLKVMLKVM' unknown, using generic init. [ 0.000000] CPU: Your system may be unstable. [ 0.000000] x86/fpu: Legacy x87 FPU detected. [ 0.000000] x86/fpu: Using 'lazy' FPU context switches. [ 0.000000] e820: 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-0x00000000000ffffe] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001bffffff] usable [ 0.000000] bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI not present or invalid. [ 0.000000] Hypervisor detected: KVM [ 0.000000] e820: last_pfn = 0x1c000 max_arch_pfn = 0x400000000 [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT [ 0.000000] MTRR: Disabled [ 0.000000] CPU MTRRs all blank - virtualized system. [ 0.000000] found SMP MP-table at [mem 0x000f0370-0x000f037f] mapped at [ffff8800000f0370] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI BIOS Error (bug): A valid RSDP was not found (20150930/tbxfroot-243) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001bffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x1bffc000-0x1bffffff] [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 0:1bff4001, primary cpu clock [ 0.000000] kvm-clock: using sched offset of 189012120618513 cycles [ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000000001000-0x000000001bffffff] [ 0.000000] Normal empty [ 0.000000] Device empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000001bffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001bffffff] [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.000000] Intel MultiProcessor Specification v1.4 [ 0.000000] MPTABLE: OEM ID: KVMCPU00 [ 0.000000] MPTABLE: Product ID: 0.1 [ 0.000000] MPTABLE: APIC at: 0xFEE00000 [ 0.000000] Processor #0 (Bootup-CPU) [ 0.000000] Processor #1 [ 0.000000] Processor #2 [ 0.000000] Processor #3 [ 0.000000] IOAPIC[0]: apic_id 5, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] Unknown bustype - ignoring [ 0.000000] Processors: 4 [ 0.000000] smpboot: Allowing 5 CPUs, 1 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fefff] [ 0.000000] PM: Registered nosave memory: [mem 0x000ff000-0x000fffff] [ 0.000000] e820: [mem 0x1c000000-0xffffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:5 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 32 pages/cpu @ffff88001a800000 s92888 r8192 d29992 u1048576 [ 0.000000] KVM setup async PF for cpu 0 [ 0.000000] kvm-stealtime: cpu 0, msr 1a80d9c0 [ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes) [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 112777 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 earlyprintk=serial i8042.noaux=1 rw rootflags=trans=virtio,version=9p2000.L,cache=loose rootfstype=9p init=/virt/pre_init ip=dhcp [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) [ 0.000000] Memory: 435756K/458360K available (5709K kernel code, 1065K rwdata, 2848K rodata, 1304K init, 828K bss, 22604K reserved, 0K cma-reserved) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=5. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=5 [ 0.000000] NR_IRQS:33024 nr_irqs:464 16 [ 0.000000] Console: colour *CGA 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] console [ttyS0] enabled [ 0.000000] bootconsole [earlyser0] disabled [ 0.000000] bootconsole [earlyser0] disabled [ 0.000000] tsc: Detected 2127.998 MHz processor [ 0.000000] tsc: Marking TSC unstable due to TSCs unsynchronized [ 0.004000] Calibrating delay loop (skipped) preset value.. 4255.99 BogoMIPS (lpj=8511992) [ 0.004000] pid_max: default: 32768 minimum: 301 [ 0.004000] Security Framework initialized [ 0.004000] Yama: disabled by default; enable with sysctl kernel.yama.* [ 0.004023] AppArmor: AppArmor disabled by boot time parameter [ 0.004851] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.005896] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.006866] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.007741] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.008329] Initializing cgroup subsys io [ 0.008868] Initializing cgroup subsys memory [ 0.009795] Disabling memory control group subsystem [ 0.010451] Initializing cgroup subsys devices [ 0.011041] Initializing cgroup subsys freezer [ 0.012011] Initializing cgroup subsys net_cls [ 0.012627] Initializing cgroup subsys perf_event [ 0.013251] Initializing cgroup subsys net_prio [ 0.013855] Initializing cgroup subsys pids [ 0.014488] mce: CPU supports 32 MCE banks [ 0.015038] mce: unknown CPU type - not enabling MCE support [ 0.016007] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.016706] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.018909] Freeing SMP alternatives memory: 24K (ffffffff81c52000 - ffffffff81c58000) [ 0.025980] ftrace: allocating 23684 entries in 93 pages [ 0.036407] x2apic enabled [ 0.036989] Switched APIC routing to physical x2apic. [ 0.144000] smpboot: CPU0: LKVMLKVMLKVM 06/25 (family: 0x6, model: 0x25, stepping: 0x5) [ 0.144000] Performance Events: no PMU driver, software events only. [ 0.144000] KVM setup paravirtual spinlock [ 0.144000] x86: Booting SMP configuration: [ 0.144005] .... node #0, CPUs: #1 [ 0.004000] kvm-clock: cpu 1, msr 0:1bff4041, secondary cpu clock [ 0.156519] KVM setup async PF for cpu 1 [ 0.156519] #2 [ 0.156519] kvm-stealtime: cpu 1, msr 1a90d9c0 [ 0.004000] kvm-clock: cpu 2, msr 0:1bff4081, secondary cpu clock [ 0.168764] KVM setup async PF for cpu 2 [ 0.168764] #3 [ 0.168764] kvm-stealtime: cpu 2, msr 1aa0d9c0 [ 0.004000] kvm-clock: cpu 3, msr 0:1bff40c1, secondary cpu clock [ 0.180859] x86: Booted up 1 node, 4 CPUs [ 0.180848] KVM setup async PF for cpu 3 [ 0.180848] kvm-stealtime: cpu 3, msr 1ab0d9c0 [ 0.182500] smpboot: Total of 4 processors activated (17023.98 BogoMIPS) [ 0.183594] devtmpfs: initialized [ 0.186408] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.188122] pinctrl core: initialized pinctrl subsystem [ 0.189098] NET: Registered protocol family 16 [ 0.200027] cpuidle: using governor ladder [ 0.212018] cpuidle: using governor menu [ 0.212960] PCI: Using configuration type 1 for base access [ 0.224339] ACPI: Interpreter disabled. [ 0.224754] vgaarb: loaded [ 0.224754] dmi: Firmware registration failed. [ 0.224976] PCI: Probing PCI hardware [ 0.224976] PCI host bridge to bus 0000:00 [ 0.228008] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.228684] pci_bus 0000:00: root bus resource [mem 0x00000000-0xfffffffff] [ 0.229469] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.232724] clocksource: Switched to clocksource kvm-clock [ 0.245364] pnp: PnP ACPI: disabled [ 0.249448] NET: Registered protocol family 2 [ 0.250293] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.251129] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) [ 0.251968] TCP: Hash tables configured (established 4096 bind 4096) [ 0.252731] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.253372] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.254175] NET: Registered protocol family 1 [ 0.254836] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1eac813fa53, max_idle_ns: 440795210049 ns [ 0.255994] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.257357] futex hash table entries: 2048 (order: 5, 131072 bytes) [ 0.258205] audit: initializing netlink subsys (disabled) [ 0.258853] audit: type=2000 audit(1457758558.650:1): initialized [ 0.260093] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.260848] zbud: loaded [ 0.261360] VFS: Disk quotas dquot_6.6.0 [ 0.261853] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.263479] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.264410] io scheduler noop registered [ 0.264864] io scheduler deadline registered [ 0.265377] io scheduler cfq registered (default) [ 0.265973] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.266602] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.267481] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.289088] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a U6_16550A [ 0.310867] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a U6_16550A [ 0.332765] serial8250: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a U6_16550A [ 0.334134] Linux agpgart interface v0.103 [ 0.334697] AMD IOMMUv2 driver by Joerg Roedel <jroe...@suse.de> [ 0.335260] AMD IOMMUv2 functionality not available on this system [ 0.335833] i8042: PNP detection disabled [ 0.336614] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.337398] mousedev: PS/2 mouse device common for all mice [ 0.338128] input: AT Raw Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.339382] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 0.340076] rtc_cmos rtc_cmos: only 24-hr supported [ 0.340645] ledtrig-cpu: registered to indicate activity on CPUs [ 0.341250] dmi-sysfs: dmi entry is absent. [ 0.341922] NET: Registered protocol family 10 [ 0.342825] mip6: Mobile IPv6 [ 0.343141] NET: Registered protocol family 17 [ 0.343658] mpls_gso: MPLS GSO support [ 0.344131] mce: Unable to init device /dev/mcelog (rc: -5) [ 0.344854] microcode: no support for this CPU vendor [ 0.345809] registered taskstats version 1 [ 0.346350] zswap: loaded using pool lzo/zbud [ 0.347212] hctosys: unable to open rtc device (rtc0) [ 0.348574] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -19 [ 0.349459] Please append a correct "root=" boot option; here are the available partitions: [ 0.350443] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.351421] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-1-amd64 #1 Debian 4.4.4-2 [ 0.352476] 0000000000000086 00000000cc1a1833 ffffffff812ea6b5 ffffffff817eea98 [ 0.352563] ffff88001a083ea0 ffffffff8116619a ffff880000000010 ffff88001a083eb0 [ 0.352563] ffff88001a083e48 00000000cc1a1833 ffff880000000008 ffff88001a083eb8 [ 0.352563] Call Trace: [ 0.352563] [<ffffffff812ea6b5>] ? dump_stack+0x5c/0x77 [ 0.352563] [<ffffffff8116619a>] ? panic+0xd3/0x215 [ 0.352563] [<ffffffff81b244c4>] ? mount_block_root+0x202/0x296 [ 0.352563] [<ffffffff81b246eb>] ? prepare_namespace+0x131/0x167 [ 0.352563] [<ffffffff81b2419b>] ? kernel_init_freeable+0x1e2/0x205 [ 0.352563] [<ffffffff81582960>] ? rest_init+0x80/0x80 [ 0.352563] [<ffffffff8158296a>] ? kernel_init+0xa/0xe0 [ 0.352563] [<ffffffff8158ed8f>] ? ret_from_fork+0x3f/0x70 [ 0.352563] [<ffffffff81582960>] ? rest_init+0x80/0x80 [ 0.352563] Kernel Offset: disabled [ 0.352563] Rebooting in 1 seconds.. # KVM compatibility warning. virtio-9p device was not detected. While you have requested a virtio-9p device, the guest kernel did not initialize it. Please make sure that the guest kernel was compiled with CONFIG_NET_9P_VIRTIO=y enabled in .config. # KVM compatibility warning. virtio-net device was not detected. While you have requested a virtio-net device, the guest kernel did not initialize it. Please make sure that the guest kernel was compiled with CONFIG_VIRTIO_NET=y enabled in .config. Segmentation fault (core dumped) -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (900, 'testing'), (860, 'testing-proposed-updates'), (850, 'buildd-testing-proposed-updates'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental'), (690, 'buildd-experimental'), (500, 'unstable-debug'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages kvmtool depends on: ii libaio1 0.3.110-2 ii libc6 2.21-9 ii libsdl1.2debian 1.2.15+dfsg1-2 ii libvncserver1 0.9.10+dfsg-3+b1 ii zlib1g 1:1.2.8.dfsg-2+b1 kvmtool recommends no packages. kvmtool suggests no packages. -- no debconf information -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part