libguestfs kernel panic
[root@ol-kvm-h01 work]# LIBGUESTFS_BACKEND=direct libguestfs-test-tool ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_backend "direct" libguestfs: trace: set_backend = 0 libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 LIBGUESTFS_BACKEND=direct LIBGUESTFS_TRACE=1 LIBGUESTFS_DEBUG=1 PATH=/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin SELinux: Enforcing libguestfs: trace: add_drive_scratch 104857600 libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: disk_create "/tmp/libguestfsTuyhmZ/scratch1.img" "raw" 104857600 libguestfs: trace: disk_create = 0 libguestfs: trace: add_drive "/tmp/libguestfsTuyhmZ/scratch1.img" "format:raw" "cachemode:unsafe" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive_scratch = 0 libguestfs: trace: get_append libguestfs: trace: get_append = "NULL" guestfs_get_append: (null) libguestfs: trace: get_autosync libguestfs: trace: get_autosync = 1 guestfs_get_autosync: 1 libguestfs: trace: get_backend libguestfs: trace: get_backend = "direct" guestfs_get_backend: direct libguestfs: trace: get_backend_settings libguestfs: trace: get_backend_settings = [] guestfs_get_backend_settings: [] libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" guestfs_get_cachedir: /var/tmp libguestfs: trace: get_hv libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" guestfs_get_hv: /usr/libexec/qemu-kvm libguestfs: trace: get_memsize libguestfs: trace: get_memsize = 1280 guestfs_get_memsize: 1280 libguestfs: trace: get_network libguestfs: trace: get_network = 0 guestfs_get_network: 0 libguestfs: trace: get_path libguestfs: trace: get_path = "/usr/lib64/guestfs" guestfs_get_path: /usr/lib64/guestfs libguestfs: trace: get_pgroup libguestfs: trace: get_pgroup = 0 guestfs_get_pgroup: 0 libguestfs: trace: get_program libguestfs: trace: get_program = "libguestfs-test-tool" guestfs_get_program: libguestfs-test-tool libguestfs: trace: get_recovery_proc libguestfs: trace: get_recovery_proc = 1 guestfs_get_recovery_proc: 1 libguestfs: trace: get_smp libguestfs: trace: get_smp = 1 guestfs_get_smp: 1 libguestfs: trace: get_sockdir libguestfs: trace: get_sockdir = "/tmp" guestfs_get_sockdir: /tmp libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" guestfs_get_tmpdir: /tmp libguestfs: trace: get_trace libguestfs: trace: get_trace = 1 guestfs_get_trace: 1 libguestfs: trace: get_verbose libguestfs: trace: get_verbose = 1 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout set to 600 seconds. libguestfs: trace: launch libguestfs: trace: max_disks libguestfs: trace: max_disks = 255 libguestfs: trace: version libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 44, release: 0, extra: rhel=8,release=5.0.1.module+el8.7.0+21035+a8208c98,libvirt, > libguestfs: trace: get_backend libguestfs: trace: get_backend = "direct" libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.44.0rhel=8,release=5.0.1.module+el8.7.0+21035+a8208c98,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=direct libguestfs: launch: tmpdir=/tmp/libguestfsTuyhmZ libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.2.1 supermin: rpm: detected RPM version 4.14 supermin: rpm: detected RPM architecture x86_64 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: begin testing qemu features libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: checking for previously cached test results of /usr/libexec/qemu-kvm, in /var/tmp/.guestfs-0 libguestfs: loading previously cached test results libguestfs: qemu version: 6.2 libguestfs: qemu mandatory locking: yes libguestfs: qemu KVM: enabled libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_sockdir libguestfs: trace: get_sockdir = "/tmp" libguestfs: finished testing qemu features libguestfs: trace: get_backend_setting "gdb" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: command: run: file libguestfs: command: run: \ -- /var/tmp/.guestfs-0/appliance.d/root /usr/libexec/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -no-user-config \ -enable-fips \ -nodefaults \ -display none \ -machine accel=kvm:tcg \ -cpu host \ -m 1280 \ -no-reboot \ -rtc driftfix=slew \ -no-hpet \ -global kvm-pit.lost_tick_policy=discard \ -kernel /var/tmp/.guestfs-0/appliance.d/kernel \ -initrd /var/tmp/.guestfs-0/appliance.d/initrd \ -object rng-random,filename=/dev/urandom,id=rng0 \ -device virtio-rng-pci,rng=rng0 \ -device virtio-scsi-pci,id=scsi \ -drive file=/tmp/libguestfsTuyhmZ/scratch1.img,cache=unsafe,format=raw,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=/var/tmp/.guestfs-0/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \ -device scsi-hd,drive=appliance \ -device virtio-serial-pci \ -serial stdio \ -device sga \ -chardev socket,path=/tmp/libguestfsWsaSSV/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=UUID=87d4a125-2636-4712-8847-0665c39d6774 selinux=0 guestfs_verbose=1 TERM=xterm" qemu-kvm: -enable-fips: warning: -enable-fips is deprecated, please build QEMU with the `libgcrypt` library as the cryptography provider to enable FIPS compliance qemu-kvm: -device sga: warning: -device sga is deprecated, use -machine graphics=off libguestfs: responding to serial console Device Status Report \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 04/01/23 SGABIOS $Id$ (mockbuild@) Sat Apr 1 07:37:40 UTC 2023 Term: 80x24 4 0 SeaBIOS (version 1.16.0-3.module+el8.8.0+20990+60c1530a) Booting from ROM... \x1b[2J[ 0.000000] Linux version 5.15.0-105.125.6.2.2.el8uek.x86_64 (mockbuild@host-100-100-224-56) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9.1.0.6), GNU ld version 2.36.1-2.0.1.el8) #2 SMP Tue Sep 19 21:02:08 PDT 2023 [ 0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=UUID=87d4a125-2636-4712-8847-0665c39d6774 selinux=0 guestfs_verbose=1 TERM=xterm [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000004ffdcfff] usable [ 0.000000] BIOS-e820: [mem 0x000000004ffdd000-0x000000004fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: Red Hat KVM, BIOS 1.16.0-3.module+el8.8.0+20990+60c1530a 04/01/2014 [ 0.000000] Hypervisor detected: KVM [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 15c01001, primary cpu clock [ 0.000001] kvm-clock: using sched offset of 302829251 cycles [ 0.000003] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000006] tsc: Detected 2445.374 MHz processor [ 0.000330] last_pfn = 0x4ffdd max_arch_pfn = 0x400000000 [ 0.000941] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.004022] found SMP MP-table at [mem 0x000f5b50-0x000f5b5f] [ 0.004299] Using GB pages for direct mapping [ 0.004751] RAMDISK: [mem 0x4f76e000-0x4ffcffff] [ 0.004859] ACPI: Early table checksum verification disabled [ 0.004897] ACPI: RSDP 0x00000000000F5930 000014 (v00 BOCHS ) [ 0.004902] ACPI: RSDT 0x000000004FFE17D1 000030 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.004908] ACPI: FACP 0x000000004FFE16BD 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.004912] ACPI: DSDT 0x000000004FFE0040 00167D (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.004915] ACPI: FACS 0x000000004FFE0000 000040 [ 0.004917] ACPI: APIC 0x000000004FFE1731 000078 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.004920] ACPI: WAET 0x000000004FFE17A9 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.004922] ACPI: Reserving FACP table memory at [mem 0x4ffe16bd-0x4ffe1730] [ 0.004924] ACPI: Reserving DSDT table memory at [mem 0x4ffe0040-0x4ffe16bc] [ 0.004925] ACPI: Reserving FACS table memory at [mem 0x4ffe0000-0x4ffe003f] [ 0.004927] ACPI: Reserving APIC table memory at [mem 0x4ffe1731-0x4ffe17a8] [ 0.004928] ACPI: Reserving WAET table memory at [mem 0x4ffe17a9-0x4ffe17d0] [ 0.005808] No NUMA configuration found [ 0.005811] Faking a node at [mem 0x0000000000000000-0x000000004ffdcfff] [ 0.005821] NODE_DATA(0) allocated [mem 0x4f743000-0x4f76dfff] [ 0.006152] Zone ranges: [ 0.006154] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.006156] DMA32 [mem 0x0000000001000000-0x000000004ffdcfff] [ 0.006158] Normal empty [ 0.006159] Device empty [ 0.006160] Movable zone start for each node [ 0.006162] Early memory node ranges [ 0.006163] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.006165] node 0: [mem 0x0000000000100000-0x000000004ffdcfff] [ 0.006167] Initmem setup node 0 [mem 0x0000000000001000-0x000000004ffdcfff] [ 0.006359] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.006393] On node 0, zone DMA: 97 pages in unavailable ranges [ 0.007281] On node 0, zone DMA32: 35 pages in unavailable ranges [ 0.008479] ACPI: PM-Timer IO Port: 0x608 [ 0.008502] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.008625] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.008629] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.008631] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.008633] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.008636] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.008637] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.008641] ACPI: Using ACPI (MADT) for SMP configuration information [ 0.008643] TSC deadline timer available [ 0.008668] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.008755] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.008757] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.008759] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.008760] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.008761] [mem 0x50000000-0xfeffbfff] available for PCI devices [ 0.008763] Booting paravirtualized kernel on KVM [ 0.008765] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.013702] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 [ 0.013962] percpu: Embedded 62 pages/cpu s217088 r8192 d28672 u2097152 [ 0.014019] kvm-guest: stealtime: cpu 0, msr 4e034080 [ 0.014035] kvm-guest: PV spinlocks disabled, single CPU [ 0.014040] Built 1 zonelists, mobility grouping on. Total pages: 322269 [ 0.014042] Policy zone: DMA32 [ 0.014043] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=UUID=87d4a125-2636-4712-8847-0665c39d6774 selinux=0 guestfs_verbose=1 TERM=xterm [ 0.014179] cgroup: Disabling memory control group subsystem [ 0.014234] Unknown kernel command line parameters "edd=off udevtimeout=6000 guestfs_verbose=1", will be passed to user space. [ 0.014461] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.014513] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.014560] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.018168] Memory: 260860K/1310188K available (16393K kernel code, 6106K rwdata, 12476K rodata, 3156K init, 18472K bss, 107052K reserved, 0K cma-reserved) [ 0.018894] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.018944] ftrace: allocating 48548 entries in 190 pages [ 0.042395] ftrace: allocated 190 pages with 6 groups [ 0.042735] rcu: Hierarchical RCU implementation. [ 0.042737] rcu: \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1. [ 0.042739] \tRude variant of Tasks RCU enabled. [ 0.042740] \tTracing variant of Tasks RCU enabled. [ 0.042742] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.042743] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.047040] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16 [ 0.047582] Console: colour *CGA 80x25 [ 0.282699] printk: console [ttyS0] enabled [ 0.284290] ACPI: Core revision 20210730 [ 0.285910] APIC: Switch to symmetric I/O mode setup [ 0.288778] x2apic enabled [ 0.290884] Switched APIC routing to physical x2apic. [ 0.297210] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x233fa695ddd, max_idle_ns: 440795303581 ns [ 0.301201] Calibrating delay loop (skipped) preset value.. 4890.74 BogoMIPS (lpj=2445374) [ 0.302196] x86/cpu: User Mode Instruction Prevention (UMIP) activated [ 0.302196] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127 [ 0.302196] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0 [ 0.302196] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 0.302196] Spectre V2 : Mitigation: Retpolines [ 0.302196] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.302196] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT [ 0.302196] Spectre V2 : Enabling Restricted Speculation for firmware calls [ 0.302196] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.302196] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 0.302196] Speculative Return Stack Overflow: IBPB-extending microcode not applied! [ 0.302196] Speculative Return Stack Overflow: WARNING: See https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation options. [ 0.302196] Speculative Return Stack Overflow: Mitigation: safe RET, no microcode [ 0.302196] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.302196] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.302196] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.302196] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers' [ 0.302196] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.302196] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8 [ 0.302196] x86/fpu: Enabled xstate features 0x207, context size is 840 bytes, using 'compacted' format. [ 0.302196] Freeing SMP alternatives memory: 40K [ 0.302196] pid_max: default: 32768 minimum: 301 [ 0.302196] LSM: Security Framework initializing [ 0.302196] Yama: becoming mindful. [ 0.302196] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.302196] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.302196] smpboot: CPU0: AMD EPYC 7J13 64-Core Processor (family: 0x19, model: 0x1, stepping: 0x1) [ 0.302492] Performance Events: Fam17h+ core perfctr, AMD PMU driver. [ 0.303217] ... version: 0 [ 0.304208] ... bit width: 48 [ 0.305208] ... generic registers: 6 [ 0.306208] ... value mask: 0000ffffffffffff [ 0.307208] ... max period: 00007fffffffffff [ 0.308208] ... fixed-purpose events: 0 [ 0.309208] ... event mask: 000000000000003f [ 0.310417] signal: max sigframe size: 3376 [ 0.311249] rcu: Hierarchical SRCU implementation. [ 0.312886] smp: Bringing up secondary CPUs ... [ 0.313215] smp: Brought up 1 node, 1 CPU [ 0.314208] smpboot: Max logical packages: 1 [ 0.315209] smpboot: Total of 1 processors activated (4890.74 BogoMIPS) [ 0.324901] node 0 deferred pages initialised in 7ms [ 0.325466] devtmpfs: initialized [ 0.326328] x86/mm: Memory block size: 128MB [ 0.327887] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.328217] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.329329] pinctrl core: initialized pinctrl subsystem [ 0.330798] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.331474] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.332216] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.333212] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.334245] audit: initializing netlink subsys (disabled) [ 0.335453] thermal_sys: Registered thermal governor 'fair_share' [ 0.335455] thermal_sys: Registered thermal governor 'bang_bang' [ 0.336214] thermal_sys: Registered thermal governor 'step_wise' [ 0.337209] thermal_sys: Registered thermal governor 'user_space' [ 0.338215] cpuidle: using governor menu [ 0.340213] audit: type=2000 audit(1695904171.489:1): state=initialized audit_enabled=0 res=1 [ 0.343172] HugeTLB: can free 4095 vmemmap pages for hugepages-1048576kB [ 0.343217] ACPI: bus type PCI registered [ 0.344209] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.345512] PCI: Using configuration type 1 for base access [ 0.346210] PCI: Using configuration type 1 for extended access [ 0.349764] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.350377] HugeTLB: can free 7 vmemmap pages for hugepages-2048kB [ 0.351213] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.352209] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.353391] alg: self-tests disabled [ 0.355881] ACPI: Added _OSI(Module Device) [ 0.356212] ACPI: Added _OSI(Processor Device) [ 0.357208] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.358213] ACPI: Added _OSI(Processor Aggregator Device) [ 0.359267] ACPI: Added _OSI(Linux-Dell-Video) [ 0.360217] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.361219] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.363373] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.365411] ACPI: Interpreter enabled [ 0.366219] ACPI: PM: (supports S0 S5) [ 0.367209] ACPI: Using IOAPIC for interrupt routing [ 0.368224] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.369386] ACPI: Enabled 2 GPEs in block 00 to 0F [ 0.373924] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.374216] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3] [ 0.375639] acpiphp: Slot [2] registered [ 0.376261] acpiphp: Slot [3] registered [ 0.377251] acpiphp: Slot [4] registered [ 0.378253] acpiphp: Slot [5] registered [ 0.379259] acpiphp: Slot [6] registered [ 0.380252] acpiphp: Slot [7] registered [ 0.381254] acpiphp: Slot [8] registered [ 0.382252] acpiphp: Slot [9] registered [ 0.383277] acpiphp: Slot [10] registered [ 0.384251] acpiphp: Slot [11] registered [ 0.385261] acpiphp: Slot [12] registered [ 0.386262] acpiphp: Slot [13] registered [ 0.387250] acpiphp: Slot [14] registered [ 0.388252] acpiphp: Slot [15] registered [ 0.389251] acpiphp: Slot [16] registered [ 0.390250] acpiphp: Slot [17] registered [ 0.391259] acpiphp: Slot [18] registered [ 0.392268] acpiphp: Slot [19] registered [ 0.393252] acpiphp: Slot [20] registered [ 0.394250] acpiphp: Slot [21] registered [ 0.395250] acpiphp: Slot [22] registered [ 0.396254] acpiphp: Slot [23] registered [ 0.397258] acpiphp: Slot [24] registered [ 0.398269] acpiphp: Slot [25] registered [ 0.399251] acpiphp: Slot [26] registered [ 0.400251] acpiphp: Slot [27] registered [ 0.401260] acpiphp: Slot [28] registered [ 0.402252] acpiphp: Slot [29] registered [ 0.403251] acpiphp: Slot [30] registered [ 0.404260] acpiphp: Slot [31] registered [ 0.405241] PCI host bridge to bus 0000:00 [ 0.406209] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.407209] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.408212] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.409212] pci_bus 0000:00: root bus resource [mem 0x50000000-0xfebfffff window] [ 0.410211] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window] [ 0.411209] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.412936] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 [ 0.415631] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 [ 0.418326] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 [ 0.422086] pci 0000:00:01.1: reg 0x20: [io 0xc0a0-0xc0af] [ 0.423291] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.424209] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.425209] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.426208] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.427758] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 [ 0.429846] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI [ 0.430247] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB [ 0.432413] pci 0000:00:02.0: [1af4:1005] type 00 class 0x00ff00 [ 0.434078] pci 0000:00:02.0: reg 0x10: [io 0xc080-0xc09f] [ 0.437842] pci 0000:00:02.0: reg 0x20: [mem 0xfebf0000-0xfebf3fff 64bit pref] [ 0.441994] pci 0000:00:03.0: [1af4:1004] type 00 class 0x010000 [ 0.443209] pci 0000:00:03.0: reg 0x10: [io 0xc000-0xc03f] [ 0.445210] pci 0000:00:03.0: reg 0x14: [mem 0xfebfe000-0xfebfefff] [ 0.449209] pci 0000:00:03.0: reg 0x20: [mem 0xfebf4000-0xfebf7fff 64bit pref] [ 0.455016] pci 0000:00:04.0: [1af4:1003] type 00 class 0x078000 [ 0.456638] pci 0000:00:04.0: reg 0x10: [io 0xc040-0xc07f] [ 0.458213] pci 0000:00:04.0: reg 0x14: [mem 0xfebff000-0xfebfffff] [ 0.461647] pci 0000:00:04.0: reg 0x20: [mem 0xfebf8000-0xfebfbfff 64bit pref] [ 0.466951] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 [ 0.467436] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 [ 0.468422] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 [ 0.469500] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 [ 0.470324] ACPI: PCI: Interrupt link LNKS configured for IRQ 9 [ 0.471502] iommu: Default domain type: Passthrough [ 0.472252] vgaarb: loaded [ 0.473398] SCSI subsystem initialized [ 0.474244] usbcore: USB support disabled [ 0.475238] pps_core: LinuxPPS API ver. 1 registered [ 0.476208] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it<mailto:giometti@linux.it> [ 0.477220] PTP clock support registered [ 0.478290] EDAC MC: Ver: 3.0.0 [ 0.480034] NetLabel: Initializing [ 0.480208] NetLabel: domain hash size = 128 [ 0.481208] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.482285] NetLabel: unlabeled traffic allowed by default [ 0.483209] PCI: Using ACPI for IRQ routing [ 0.484886] clocksource: Switched to clocksource kvm-clock [ 0.507658] VFS: Disk quotas dquot_6.6.0 [ 0.509340] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.515247] pnp: PnP ACPI init [ 0.517208] pnp: PnP ACPI: found 5 devices [ 0.525633] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.529264] NET: Registered PF_INET protocol family [ 0.531284] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.535368] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.538773] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.541880] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.545087] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.547988] TCP: Hash tables configured (established 16384 bind 16384) [ 0.550643] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear) [ 0.553595] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.556244] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.559187] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.561484] NET: Registered PF_XDP protocol family [ 0.563511] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.565964] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.568460] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.571177] pci_bus 0000:00: resource 7 [mem 0x50000000-0xfebfffff window] [ 0.573916] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window] [ 0.576819] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.579142] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.581530] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.584097] PCI: CLS 0 bytes, default 64 [ 0.585754] Trying to unpack rootfs image as initramfs... [ 0.591070] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x233fa695ddd, max_idle_ns: 440795303581 ns [ 0.596053] Freeing initrd memory: 8584K [ 0.598367] Initialise system trusted keyrings [ 0.600256] Key type blacklist registered [ 0.602023] workingset: timestamp_bits=36 max_order=19 bucket_order=0 [ 0.607533] zbud: loaded [ 0.609006] integrity: Platform Keyring initialized [ 0.610991] integrity: Machine keyring initialized [ 0.612928] Allocating IMA blacklist keyring. [ 0.618350] NET: Registered PF_ALG protocol family [ 0.620283] Key type asymmetric registered [ 0.621953] Asymmetric key parser 'x509' registered [ 0.623928] Key type pkcs7_test registered [ 0.625653] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.628627] io scheduler mq-deadline registered [ 0.630459] io scheduler kyber registered [ 0.632100] io scheduler bfq registered [ 0.634594] atomic64_test: passed for x86-64 platform with CX8 and with SSE [ 0.637687] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 0.640491] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 0.643460] ACPI: button: Power Button [PWRF] [ 0.645586] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 0.648503] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.651708] Non-volatile memory driver v1.3 [ 0.653474] Linux agpgart interface v0.103 [ 0.655265] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug. [ 0.658878] rdac: device handler registered [ 0.660643] hp_sw: device handler registered [ 0.662358] emc: device handler registered [ 0.664045] alua: device handler registered [ 0.665957] VFIO - User Level meta-driver version: 0.3 [ 0.668111] usbserial: usb_serial_init - registering generic driver failed [ 0.670988] usbserial: usb_serial_init - returning with error -19 [ 0.673517] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 0.678711] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.680853] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.683094] mousedev: PS/2 mouse device common for all mice [ 0.686351] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 [ 0.690534] rtc_cmos 00:04: RTC can wake from S4 [ 0.694780] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input4 [ 0.698273] rtc_cmos 00:04: registered as rtc0 [ 0.700426] rtc_cmos 00:04: setting system clock to 2023-09-28T12:29:32 UTC (1695904172) [ 0.703953] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram [ 0.707346] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3 [ 0.711294] hid: raw HID events driver (C) Jiri Kosina [ 0.713594] drop_monitor: Initializing network drop monitor service [ 0.716163] Initializing XFRM netlink socket [ 0.718110] NET: Registered PF_INET6 protocol family [ 0.720504] Segment Routing with IPv6 [ 0.722038] In-situ OAM (IOAM) with IPv6 [ 0.723670] NET: Registered PF_PACKET protocol family [ 0.725735] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.730976] sctp: Hash tables configured (bind 256/256) [ 0.733211] tipc: Activated (version 2.0.0) [ 0.734964] NET: Registered PF_TIPC protocol family [ 0.736954] tipc: Started in single node mode [ 0.739111] IPI shorthand broadcast: enabled [ 0.741052] registered taskstats version 1 [ 0.743083] Loading compiled-in X.509 certificates [ 0.745661] Loaded X.509 cert 'Oracle CA Server: 1c0b46cf56e9fa28dc8a6c93bc34093ae9a559ae' [ 0.749346] Loaded X.509 cert 'Oracle Linux Kernel Module Signing Key: 2bb352412969a3653f0eb6021763408ebb9bb5ab' [ 0.753887] Loaded X.509 cert 'Oracle America, Inc.: Ksplice Kernel Module Signing Key: 09010ebef5545fa7c54b626ef518e077b5b1ee4c' [ 0.758865] Loaded X.509 cert 'Oracle IMA signing CA: a2f28976a05984028f7d1a4904ae14e8e468e551' [ 0.762275] blacklist: Loading compiled-in revocation X.509 certificates [ 0.765030] Loaded X.509 cert 'Oracle Corporation: 7f559b8e9d9e05183480a7149e5a1de0bc265ada' [ 0.768509] Loaded X.509 cert 'Oracle Corporation: c179886de39a159135e9877492debf044af7d1eb' [ 0.771878] Loaded X.509 cert 'Oracle Corporation: 51698ec3be0f5eb8cba8ec197d291879098fade4' [ 0.775488] zswap: loaded using pool lzo/zsmalloc [ 0.777527] page_owner is disabled [ 0.779016] Key type .fscrypt registered [ 0.780642] Key type fscrypt-provisioning registered [ 0.783111] Key type encrypted registered [ 0.784779] ima: No TPM chip found, activating TPM-bypass! [ 0.787085] Loading compiled-in module X.509 certificates [ 0.789711] Loaded X.509 cert 'Oracle CA Server: 1c0b46cf56e9fa28dc8a6c93bc34093ae9a559ae' [ 0.793070] ima: Allocated hash algorithm: sha256 [ 0.794976] ima: No architecture policies found [ 0.796811] evm: Initialising EVM extended attributes: [ 0.798847] evm: security.selinux [ 0.800171] evm: security.SMACK64 (disabled) [ 0.801885] evm: security.SMACK64EXEC (disabled) [ 0.803699] evm: security.SMACK64TRANSMUTE (disabled) [ 0.805663] evm: security.SMACK64MMAP (disabled) [ 0.807557] evm: security.apparmor (disabled) [ 0.809320] evm: security.ima [ 0.810600] evm: security.capability [ 0.812035] evm: HMAC attrs: 0x1 [ 0.813884] RAS: Correctable Errors collector initialized. [ 0.816134] Unstable clock detected, switching default tracing clock to "global" [ 0.816134] If you want to keep using the local clock, then add: [ 0.816134] "trace_clock=local" [ 0.816134] on the kernel command line [ 0.824964] integrity: Unable to open file: /etc/keys/x509_ima.der (-2) [ 0.826253] Freeing unused decrypted memory: 2036K [ 0.831327] Freeing unused kernel image (initmem) memory: 3156K [ 0.833720] Write protecting the kernel read-only data: 32768k [ 0.836596] Freeing unused kernel image (text/rodata gap) memory: 2036K [ 0.839432] Freeing unused kernel image (rodata/data gap) memory: 1860K [ 0.842011] rodata_test: all tests were successful [ 0.843934] Run /init as init process [ 0.845792] traps: init[1] general protection fault ip:43faa8 sp:7ffe9b9904b0 error:0 in init[400000+a7000] [ 0.849636] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.850592] CPU: 0 PID: 1 Comm: init Not tainted 5.15.0-105.125.6.2.2.el8uek.x86_64 #2 [ 0.850592] Hardware name: Red Hat KVM, BIOS 1.16.0-3.module+el8.8.0+20990+60c1530a 04/01/2014 [ 0.850592] Call Trace: [ 0.850592] <TASK> [ 0.850592] dump_stack_lvl+0x46/0x69 [ 0.850592] panic+0x113/0x2eb [ 0.850592] do_exit.cold+0x9f/0x9f [ 0.850592] do_group_exit+0x33/0x96 [ 0.850592] get_signal+0x14a/0x93f [ 0.850592] ? __ret+0x40/0x2 [ 0.850592] arch_do_signal_or_restart+0x10d/0x12a [ 0.850592] exit_to_user_mode_loop+0xc4/0x1b1 [ 0.850592] exit_to_user_mode_prepare+0x121/0x129 [ 0.850592] irqentry_exit_to_user_mode+0x5/0x23 [ 0.850592] asm_exc_general_protection+0x22/0x27 [ 0.850592] RIP: 0033:0x43faa8 [ 0.850592] Code: 1f 00 f3 0f 1e fa 55 48 89 f5 53 89 fb 48 83 ec 08 48 8b 05 6a e6 26 00 48 c1 c8 11 64 48 33 04 25 30 00 00 00 48 85 c0 74 30 <ff> d0 48 3d 00 f0 ff ff 76 1b 48 83 f8 da 74 20 48 c7 c2 b8 ff ff [ 0.850592] RSP: 002b:00007ffe9b9904b0 EFLAGS: 00010202 [ 0.850592] RAX: 3775f539b2c7e0dc RBX: 0000000000000001 RCX: 0000000000451fb5 [ 0.850592] RDX: ffffffffffffffb8 RSI: 00007ffe9b9904d0 RDI: 0000000000000001 [ 0.850592] RBP: 00007ffe9b9904d0 R08: 0000000001000000 R09: 0000000000000000 [ 0.850592] R10: 00000000000000ee R11: 0000000000000246 R12: 00000000000004a1 [ 0.850592] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 0.850592] </TASK> [ 0.850592] Kernel Offset: 0x7000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.850592] Rebooting in 1 seconds.. libguestfs: error: appliance closed the connection unexpectedly, see earlier error messages libguestfs: child_cleanup: 0x562f648a7a70: child process died libguestfs: sending SIGTERM to process 715291 libguestfs: qemu maxrss 238800K libguestfs: error: guestfs_launch failed, see earlier error messages libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x562f648a7a70 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsTuyhmZ libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsWsaSSV [root@ol-kvm-h01 work]# Regards, Dennis Clark RHCE, OCP Principal Consultant, Technical Architect / DBA, DXC Practice for Oracle T. +64 27 530 6595 | M. +64 21 637 145 | dclark66@dxc.com<mailto:dclark66@dxc.com> [Unix/Linux System: designer, builder, implementer, administrator, monitor, developer, scripter, integrator] [Oracle OVM: designer, builder, implementer, administrator, monitor, automater, integrator] [Oracle DB: designer, builder, implementer, administrator, monitor, developer, scripter, integrator] [Member of DXC Technology: Database Guild] [Member of DXC Practice for Oracle: Cloud and Technology Practice] DXC Technology Wellington, New Zealand [Level 8, Majestic Centre, 100 Willis St, Wellington Central] DXC.com <https://www.dxc.com/nz/en/practices/oracle> | Twitter<https://twitter.com/DXC_RedRock> | Facebook<https://www.facebook.com/DXCTechnology/> | LinkedIn<https://www.linkedin.com/company/dxcredrock/> DXC Technology NZ Limited (Company number 1441241).
On Thu, Sep 28, 2023 at 12:30:28PM +0000, Clark, Dennis wrote:
[root@ol-kvm-h01 work]# LIBGUESTFS_BACKEND=direct libguestfs-test-tool ... libguestfs: launch: version=1.44.0rhel=8,release= 5.0.1.module+el8.7.0+21035+a8208c98,libvirt
\x1b[2J[ 0.000000] Linux version 5.15.0-105.125.6.2.2.el8uek.x86_64 (mockbuild at host-100-100-224-56) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9.1.0.6), GNU ld version 2.36.1-2.0.1.el8) #2 SMP Tue Sep 19 21:02:08 PDT 2023
^ Looks like OEL.
[ 0.843934] Run /init as init process
^ This messsage come from the kernel.
[ 0.845792] traps: init[1] general protection fault ip:43faa8 sp:7ffe9b9904b0 error:0 in init[400000+a7000]
[ 0.849636] Kernel panic - not syncing: Attempted to kill init! exitcode= 0x0000000b
Then the supermin embedded init process appears to crash. That's somewhere probably very early on in this code: https://github.com/libguestfs/supermin/blob/master/init/init.c Before I look further at this, is this unmodified OEL 8.7.0? And you didn't recompile supermin or libguestfs? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Yes, it is unmodified OL 8.8, and I have not (manually) compiled, or recompiled anything (including supermin or libguestfs) [root@ol-kvm-h01 tmp]# cat /etc/*rele* Oracle Linux Server release 8.8 NAME="Oracle Linux Server" VERSION="8.8" ID="ol" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="8.8" PLATFORM_ID="platform:el8" PRETTY_NAME="Oracle Linux Server 8.8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:8:8:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://github.com/oracle/oracle-linux" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8" ORACLE_BUGZILLA_PRODUCT_VERSION=8.8 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=8.8 Red Hat Enterprise Linux release 8.8 (Ootpa) Oracle Linux Server release 8.8 cpe:/o:oracle:linux:8:8:server [root@ol-kvm-h01 tmp]# uname -a Linux ol-kvm-h01 5.15.0-105.125.6.2.2.el8uek.x86_64 #2 SMP Tue Sep 19 21:02:08 PDT 2023 x86_64 x86_64 x86_64 GNU/Linux FYI: The KVM Host was installed/configured using the below process (I mention this since I needed to perform some additional repo/module configuration in order to get libvirt-7 installed): # Install the Oracle Linux Virtualization Manager Release 4.4 package yum install oracle-ovirt-release-el8 -y Required oVirt 4.4 Yum Channels enabled. Installed: oracle-ovirt-release-el8.x86_64 1.0-1.0.3.el8 Dependency Installed: oracle-gluster-release-el8.x86_64 1.0-2.el8 yum clean all; yum repolist repo id ol8_UEKR6 ol8_UEKR7 ol8_addons ol8_appstream ol8_baseos_latest ol8_gluster_appstream ol8_kvm_appstream ovirt-4.4 ovirt-4.4-extra # Remove any unwanted repos dnf config-manager --disable "ol8_UEKR6" # Ensure libvirt-7 package is available # Disable virt:ol and enable virt:kvm_utils2 (this will make the libvirt-7 package available) # Ref: https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manage... if ! yum --showduplicates list libvirt | grep "libvirt.* 7"; then dnf -y module disable virt:ol dnf -y module enable virt:kvm_utils2 yum --showduplicates list libvirt fi # Make sure all packages are up-to-date dnf update -y reboot # Open the Cockpit port firewall-cmd --zone=public --add-port=9090/tcp Regards, Dennis -----Original Message----- From: Richard W.M. Jones <rjones@redhat.com> Sent: Saturday, 30 September 2023 7:20 PM To: Clark, Dennis <dclark66@dxc.com> Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] libguestfs kernel panic On Thu, Sep 28, 2023 at 12:30:28PM +0000, Clark, Dennis wrote:
[root@ol-kvm-h01 work]# LIBGUESTFS_BACKEND=direct libguestfs-test-tool
...
libguestfs: launch: version=1.44.0rhel=8,release=
5.0.1.module+el8.7.0+21035+a8208c98,libvirt
\x1b[2J[ 0.000000] Linux version 5.15.0-105.125.6.2.2.el8uek.x86_64 (mockbuild at host-100-100-224-56) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9.1.0.6), GNU ld version 2.36.1-2.0.1.el8) #2 SMP Tue Sep 19 21:02:08 PDT 2023
^ Looks like OEL.
[ 0.843934] Run /init as init process
^ This messsage come from the kernel.
[ 0.845792] traps: init[1] general protection fault ip:43faa8
sp:7ffe9b9904b0 error:0 in init[400000+a7000]
[ 0.849636] Kernel panic - not syncing: Attempted to kill init! exitcode=
0x0000000b
Then the supermin embedded init process appears to crash. That's somewhere probably very early on in this code: https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flibguestfs%2Fsupermin%2Fblob%2Fmaster%2Finit%2Finit.c&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j55BHS3h4R%2BdR2xifxQ3iPoq%2BKdMsxKBFRV1ufOqXFM%3D&reserved=0<https://github.com/libguestfs/supermin/blob/master/init/init.c> Before I look further at this, is this unmodified OEL 8.7.0? And you didn't recompile supermin or libguestfs? Rich. -- Richard Jones, Virtualization Group, Red Hat https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.redhat.com%2F~rjones&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XSOVmF7WWu9AA0OGf0KHJuQ0i8WBQFeWlcM6BA1jkww%3D&reserved=0<http://people.redhat.com/~rjones> Read my programming and virtualization blog: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Frwmj.wordpress.com%2F&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3YGXsmiB3TmxJ6ufuCpTiuCG%2BX2ZO5zgMUIDRM5wg9A%3D&reserved=0<http://rwmj.wordpress.com/> virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibguestfs.org%2Fvirt-v2v&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UqKAdm1vFj6RAV3eDSCdH1itdAGCT2kKWVOmwhCur4E%3D&reserved=0<http://libguestfs.org/virt-v2v> DXC Technology NZ Limited (Company number 1441241).
Ok, Looking at my original installation procedure, including the slight tweaks to get libvirt-7 loaded, and checking the current server ... it appears the libvirt-7 packages mention the O/S version (eg el8.7), and there are packages for several versions, but not for el8.8 ... and yet my server (after patching) is now running OL 8.8 ... is that the issue ? [root@ol-kvm-h01 tmp]# yum --showduplicates list libvirt Installed Packages libvirt.x86_64 7.10.0-2.module+el8.7.0+21035+a8208c98 @ol8_kvm_appstream Available Packages libvirt.x86_64 7.10.0-2.module+el8.5.0+20635+d56619be ol8_kvm_appstream libvirt.x86_64 7.10.0-2.module+el8.6.0+20842+e9607200 ol8_kvm_appstream libvirt.x86_64 7.10.0-2.module+el8.7.0+20916+50473d5a ol8_kvm_appstream libvirt.x86_64 7.10.0-2.module+el8.7.0+21035+a8208c98 ol8_kvm_appstream Regards, Dennis From: Clark, Dennis Sent: Saturday, 30 September 2023 11:37 PM To: Richard W.M. Jones <rjones@redhat.com> Cc: libguestfs@redhat.com Subject: RE: [Libguestfs] libguestfs kernel panic Yes, it is unmodified OL 8.8, and I have not (manually) compiled, or recompiled anything (including supermin or libguestfs) [root@ol-kvm-h01 tmp]# cat /etc/*rele* Oracle Linux Server release 8.8 NAME="Oracle Linux Server" VERSION="8.8" ID="ol" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="8.8" PLATFORM_ID="platform:el8" PRETTY_NAME="Oracle Linux Server 8.8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:8:8:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://github.com/oracle/oracle-linux" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8" ORACLE_BUGZILLA_PRODUCT_VERSION=8.8 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=8.8 Red Hat Enterprise Linux release 8.8 (Ootpa) Oracle Linux Server release 8.8 cpe:/o:oracle:linux:8:8:server [root@ol-kvm-h01 tmp]# uname -a Linux ol-kvm-h01 5.15.0-105.125.6.2.2.el8uek.x86_64 #2 SMP Tue Sep 19 21:02:08 PDT 2023 x86_64 x86_64 x86_64 GNU/Linux FYI: The KVM Host was installed/configured using the below process (I mention this since I needed to perform some additional repo/module configuration in order to get libvirt-7 installed): # Install the Oracle Linux Virtualization Manager Release 4.4 package yum install oracle-ovirt-release-el8 -y Required oVirt 4.4 Yum Channels enabled. Installed: oracle-ovirt-release-el8.x86_64 1.0-1.0.3.el8 Dependency Installed: oracle-gluster-release-el8.x86_64 1.0-2.el8 yum clean all; yum repolist repo id ol8_UEKR6 ol8_UEKR7 ol8_addons ol8_appstream ol8_baseos_latest ol8_gluster_appstream ol8_kvm_appstream ovirt-4.4 ovirt-4.4-extra # Remove any unwanted repos dnf config-manager --disable "ol8_UEKR6" # Ensure libvirt-7 package is available # Disable virt:ol and enable virt:kvm_utils2 (this will make the libvirt-7 package available) # Ref: https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manage... if ! yum --showduplicates list libvirt | grep "libvirt.* 7"; then dnf -y module disable virt:ol dnf -y module enable virt:kvm_utils2 yum --showduplicates list libvirt fi # Make sure all packages are up-to-date dnf update -y reboot # Open the Cockpit port firewall-cmd --zone=public --add-port=9090/tcp Regards, Dennis -----Original Message----- From: Richard W.M. Jones <rjones@redhat.com<mailto:rjones@redhat.com>> Sent: Saturday, 30 September 2023 7:20 PM To: Clark, Dennis <dclark66@dxc.com<mailto:dclark66@dxc.com>> Cc: libguestfs@redhat.com<mailto:libguestfs@redhat.com> Subject: Re: [Libguestfs] libguestfs kernel panic On Thu, Sep 28, 2023 at 12:30:28PM +0000, Clark, Dennis wrote:
[root@ol-kvm-h01 work]# LIBGUESTFS_BACKEND=direct libguestfs-test-tool
...
libguestfs: launch: version=1.44.0rhel=8,release=
5.0.1.module+el8.7.0+21035+a8208c98,libvirt
\x1b[2J[ 0.000000] Linux version 5.15.0-105.125.6.2.2.el8uek.x86_64 (mockbuild at host-100-100-224-56) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9.1.0.6), GNU ld version 2.36.1-2.0.1.el8) #2 SMP Tue Sep 19 21:02:08 PDT 2023
^ Looks like OEL.
[ 0.843934] Run /init as init process
^ This messsage come from the kernel.
[ 0.845792] traps: init[1] general protection fault ip:43faa8
sp:7ffe9b9904b0 error:0 in init[400000+a7000]
[ 0.849636] Kernel panic - not syncing: Attempted to kill init! exitcode=
0x0000000b
Then the supermin embedded init process appears to crash. That's somewhere probably very early on in this code: https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flibguestfs%2Fsupermin%2Fblob%2Fmaster%2Finit%2Finit.c&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j55BHS3h4R%2BdR2xifxQ3iPoq%2BKdMsxKBFRV1ufOqXFM%3D&reserved=0<https://github.com/libguestfs/supermin/blob/master/init/init.c> Before I look further at this, is this unmodified OEL 8.7.0? And you didn't recompile supermin or libguestfs? Rich. -- Richard Jones, Virtualization Group, Red Hat https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.redhat.com%2F~rjones&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XSOVmF7WWu9AA0OGf0KHJuQ0i8WBQFeWlcM6BA1jkww%3D&reserved=0<http://people.redhat.com/~rjones> Read my programming and virtualization blog: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Frwmj.wordpress.com%2F&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3YGXsmiB3TmxJ6ufuCpTiuCG%2BX2ZO5zgMUIDRM5wg9A%3D&reserved=0<http://rwmj.wordpress.com/> virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibguestfs.org%2Fvirt-v2v&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UqKAdm1vFj6RAV3eDSCdH1itdAGCT2kKWVOmwhCur4E%3D&reserved=0<http://libguestfs.org/virt-v2v> DXC Technology NZ Limited (Company number 1441241).
On Sat, Sep 30, 2023 at 10:42:55AM +0000, Clark, Dennis wrote:
Ok, Looking at my original installation procedure, including the slight tweaks to get libvirt-7 loaded, and checking the current server … it appears the libvirt-7 packages mention the O/S version (eg el8.7), and there are packages for several versions, but not for el8.8 … and yet my server (after patching) is now running OL 8.8 … is that the issue ?
No I don't think so. The main thing is to try to find out which part of init.c is crashing (and later, why).
[ 0.845792] traps: init[1] general protection fault ip:43faa8
sp:7ffe9b9904b0 error:0 in init[400000+a7000]
As I don't have OEL, could you try extracting the init binary. It's buried in the supermin executable, so it's best to get it from the debug sources: (1) debuginfo-install supermin (2) rpm -ql supermin-debugsource | grep src/format-ext2-init-bin.h (eg. it will print something like <blahblah>/src/format-ext2-init-bin.h ) (3) Attach the copy of <blahblah>/src/format-ext2-init-bin.h or send it to me by email if it's too big for the list. You might have to compress it. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Hi Richard, Thank you ! I was not aware of 'supermin' before, but that definitely pointed me in the right direction ... Looking at the supermin packages, I was running the latest package, from 'ol8_appstream' repo ... not from the 'ol8_kvm_appstream' repo. [root@ol-kvm-h01]# yum --showduplicates list supermin Last metadata expiration check: 1:45:46 ago on Sat 30 Sep 2023 09:32:40 AM GMT. Installed Packages supermin.x86_64 5.2.1-2.module+el8.8.0+20990+60c1530a @ol8_appstream Available Packages supermin.x86_64 5.1.19-10.module+el8.5.0+20635+d56619be ol8_kvm_appstream supermin.x86_64 5.2.1-1.module+el8.6.0+20842+e9607200 ol8_kvm_appstream supermin.x86_64 5.2.1-1.module+el8.7.0+20916+50473d5a ol8_kvm_appstream supermin.x86_64 5.2.1-1.module+el8.7.0+21035+a8208c98 ol8_kvm_appstream When trying to obtain the header file you requested, I ended up installing the supermin-devel package ... which warned me that it wanted to downgrade my existing supermin package - so I let it ... [root@ol-kvm-h01 dennis]# yum install supermin-devel ==================================================================================================================================================== Package Architecture Version Repository Size ==================================================================================================================================================== Installing: supermin-devel x86_64 5.2.1-1.module+el8.7.0+21035+a8208c98 ol8_kvm_appstream 26 k Installing dependencies: annobin x86_64 10.94-1.0.1.el8 ol8_appstream 965 k dwz x86_64 0.12-10.el8 ol8_appstream 109 k efi-srpm-macros noarch 3-3.0.1.el8 ol8_appstream 22 k gcc-plugin-annobin x86_64 8.5.0-18.0.5.el8 ol8_appstream 44 k ghc-srpm-macros noarch 1.4.2-7.el8 ol8_appstream 9.3 k go-srpm-macros noarch 2-17.el8 ol8_appstream 13 k ocaml-srpm-macros noarch 5-4.el8 ol8_appstream 9.3 k openblas-srpm-macros noarch 2-2.el8 ol8_appstream 7.9 k patch x86_64 2.7.6-11.el8 ol8_baseos_latest 139 k perl-srpm-macros noarch 1-25.el8 ol8_appstream 11 k python-rpm-macros noarch 3-45.el8 ol8_appstream 16 k python-srpm-macros noarch 3-45.el8 ol8_appstream 16 k python3-rpm-macros noarch 3-45.el8 ol8_appstream 15 k qt5-srpm-macros noarch 5.15.3-1.el8 ol8_appstream 11 k redhat-rpm-config noarch 131-1.0.1.el8 ol8_appstream 91 k rpm-build x86_64 4.14.3-26.el8 ol8_appstream 174 k rust-srpm-macros noarch 5-2.el8 ol8_appstream 9.2 k zstd x86_64 1.4.5-6.el8 ovirt-4.4-extra 617 k Downgrading: supermin x86_64 5.2.1-1.module+el8.7.0+21035+a8208c98 ol8_kvm_appstream 713 k Transaction Summary ==================================================================================================================================================== Install 19 Packages Downgrade 1 Package Total download size: 2.9 M Is this ok [y/N]: y Downgraded: supermin-5.2.1-1.module+el8.7.0+21035+a8208c98.x86_64 Installed: annobin-10.94-1.0.1.el8.x86_64 dwz-0.12-10.el8.x86_64 efi-srpm-macros-3-3.0.1.el8.noarch gcc-plugin-annobin-8.5.0-18.0.5.el8.x86_64 ghc-srpm-macros-1.4.2-7.el8.noarch go-srpm-macros-2-17.el8.noarch ocaml-srpm-macros-5-4.el8.noarch openblas-srpm-macros-2-2.el8.noarch patch-2.7.6-11.el8.x86_64 perl-srpm-macros-1-25.el8.noarch python-rpm-macros-3-45.el8.noarch python-srpm-macros-3-45.el8.noarch python3-rpm-macros-3-45.el8.noarch qt5-srpm-macros-5.15.3-1.el8.noarch redhat-rpm-config-131-1.0.1.el8.noarch rpm-build-4.14.3-26.el8.x86_64 rust-srpm-macros-5-2.el8.noarch supermin-devel-5.2.1-1.module+el8.7.0+21035+a8208c98.x86_64 zstd-1.4.5-6.el8.x86_64 Complete! After that downgrade of my supermin package to the latest one provided by the ol8_kvm_appstream repo, supermin and libguestfs is now working fine ! [root@ol-kvm-h01 dennis]# yum --showduplicates list supermin Last metadata expiration check: 2:16:59 ago on Sat 30 Sep 2023 09:32:40 AM GMT. Installed Packages supermin.x86_64 5.2.1-1.module+el8.7.0+21035+a8208c98 @ol8_kvm_appstream Available Packages supermin.x86_64 5.1.19-10.module+el8.5.0+20635+d56619be ol8_kvm_appstream supermin.x86_64 5.2.1-1.module+el8.6.0+20842+e9607200 ol8_kvm_appstream supermin.x86_64 5.2.1-1.module+el8.7.0+20916+50473d5a ol8_kvm_appstream supermin.x86_64 5.2.1-1.module+el8.7.0+21035+a8208c98 ol8_kvm_appstream Thanks, once again 😊 (maybe it was an incompatibility between the libvirt+el8.7 package and the supermin+el8.8 package, which was resolved when the supermin package was downgraded to the supermin+el8.7 package) Regards, Dennis -----Original Message----- From: Richard W.M. Jones <rjones@redhat.com> Sent: Sunday, 1 October 2023 12:04 AM To: Clark, Dennis <dclark66@dxc.com> Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] libguestfs kernel panic On Sat, Sep 30, 2023 at 10:42:55AM +0000, Clark, Dennis wrote:
Ok, Looking at my original installation procedure, including the slight tweaks to get libvirt-7 loaded, and checking the current server … it appears the libvirt-7 packages mention the O/S version (eg el8.7), and there are packages for several versions, but not for el8.8 … and yet my server (after patching) is now running OL 8.8 … is that the issue ?
No I don't think so. The main thing is to try to find out which part of init.c is crashing (and later, why).
[ 0.845792] traps: init[1] general protection fault ip:43faa8
sp:7ffe9b9904b0 error:0 in init[400000+a7000]
As I don't have OEL, could you try extracting the init binary. It's buried in the supermin executable, so it's best to get it from the debug sources: (1) debuginfo-install supermin (2) rpm -ql supermin-debugsource | grep src/format-ext2-init-bin.h (eg. it will print something like <blahblah>/src/format-ext2-init-bin.h ) (3) Attach the copy of <blahblah>/src/format-ext2-init-bin.h or send it to me by email if it's too big for the list. You might have to compress it. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com/ libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org/ DXC Technology NZ Limited (Company number 1441241).
participants (2)
-
Clark, Dennis -
Richard W.M. Jones