Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1284304 [details] virt-sysprep log Description: Get kernel panic when execute virt-sysprep. Version: libvirt-3.2.0-7.el7.x86_64 qemu-kvm-rhev-2.9.0-7.el7.x86_64 libguestfs-1.36.3-4.el7.x86_64 kernel-3.10.0-671.el7.x86_64 How reproducible: 100% Steps to Reproduce: [root@ibm-x3655-02 ~]# export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 [root@ibm-x3655-02 ~]# virt-sysprep -a /var/lib/libvirt/images/image-builder.qcow2 ... specified group 'input' unknown + udevadm trigger + udevadm settle --timeout=600 [ 1.197787] input: PC Speaker as /devices/platform/pcspkr/input/input3 [ 1.269080] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 1.278633] sd 2:0:1:0: Attached scsi generic sg1 type 0 [ 1.307358] EDAC MC: Ver: 3.0.0 [ 1.344259] MCE: In-kernel MCE decoding enabled. [ 1.360223] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 [ 1.361013] IP: [<ffffffff840b68e8>] atomic_notifier_chain_register+0x38/0x70 [ 1.361013] PGD 0 [ 1.361013] Oops: 0000 [#1] SMP [ 1.361013] Modules linked in: edac_mce_amd(+) snd_timer snd edac_core sg joydev soundcore ata_generic serio_raw pata_acpi pcspkr libcrc32c crc8 crc_itu_t crc_ccitt ext4 mbcache jbd2 virtio_pci virtio_input virtio_balloon virtio_scsi sd_mod crc_t10dif nd_pmem nd_btt virtio_net virtio_console virtio_rng virtio_blk virtio_ring virtio ata_piix libata libnvdimm crct10dif_generic crc32_generic crct10dif_common [ 1.361013] CPU: 0 PID: 105 Comm: systemd-udevd Not tainted 3.10.0-671.el7.x86_64 #1 [ 1.361013] Hardware name: Red Hat KVM, BIOS 1.10.2-3.el7 04/01/2014 [ 1.361013] task: ffffa1259d3b6dd0 ti: ffffa1259d84c000 task.ti: ffffa1259d84c000 [ 1.361013] RIP: 0010:[<ffffffff840b68e8>] [<ffffffff840b68e8>] atomic_notifier_chain_register+0x38/0x70 [ 1.361013] RSP: 0018:ffffa1259d84fd30 EFLAGS: 00010002 [ 1.361013] RAX: 0000000000000293 RBX: ffffffff84d0d810 RCX: ffffffffc034c5f8 [ 1.361013] RDX: 0000000000000010 RSI: ffffffffc0508000 RDI: ffffffff84d0d810 [ 1.361013] RBP: ffffa1259d84fd40 R08: 0000000000000000 R09: 0000000000000000 [ 1.361013] R10: 0000000000000145 R11: ffffa1259d84fa5e R12: ffffffffc0508000 [ 1.361013] R13: ffffffffc039c000 R14: 0000000000000000 R15: ffffffffc0508020 [ 1.361013] FS: 00007f720e81b8c0(0000) GS:ffffa1259ee00000(0000) knlGS:0000000000000000 [ 1.361013] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.361013] CR2: 00007f720e82b000 CR3: 000000001d375000 CR4: 00000000000007f0 [ 1.361013] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1.361013] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 1.361013] Stack: [ 1.361013] ffffffff849f1020 ffffa1259d8f92a0 ffffa1259d84fd50 ffffffff84042691 [ 1.361013] ffffa1259d84fd60 ffffffffc039c166 ffffa1259d84fd90 ffffffff840020e8 [ 1.361013] ffffffffc0508038 ffffa1259d84fef0 ffffffffc0508070 0000000000000001 [ 1.361013] Call Trace: [ 1.361013] [<ffffffff84042691>] mce_register_decode_chain+0x31/0x40 [ 1.361013] [<ffffffffc039c166>] mce_amd_init+0x166/0x1000 [edac_mce_amd] [ 1.361013] [<ffffffff840020e8>] do_one_initcall+0xb8/0x230 [ 1.361013] [<ffffffff841004e4>] load_module+0x1f64/0x29e0 [ 1.361013] [<ffffffff8434a390>] ? ddebug_proc_write+0xf0/0xf0 [ 1.361013] [<ffffffff84101025>] SyS_init_module+0xc5/0x110 [ 1.361013] [<ffffffff846b1209>] system_call_fastpath+0x16/0x1b [ 1.361013] Code: f4 53 48 89 fb e8 19 15 5f 00 48 8b 53 08 48 8d 4b 08 48 85 d2 74 27 45 8b 44 24 10 44 3b 42 10 7e 0f eb 1a 0f 1f 80 00 00 00 00 <44> 39 42 10 7c 0d 48 8d 4a 08 48 8b 52 08 48 85 d2 75 ed 49 89 [ 1.361013] RIP [<ffffffff840b68e8>] atomic_notifier_chain_register+0x38/0x70 [ 1.361013] RSP <ffffa1259d84fd30> [ 1.361013] CR2: 0000000000000020 [ 1.419579] ---[ end trace b4f9cfda2dd406b0 ]--- [ 1.420577] Kernel panic - not syncing: Fatal exception [ 1.421568] Kernel Offset: 0x3000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 1.421568] Rebooting in 1 seconds..libguestfs: child_cleanup: 0xaa87e0: child process died libguestfs: trace: launch = -1 (error) virt-sysprep: error: libguestfs error: guestfs_launch failed, see earlier error messages If reporting bugs, run virt-sysprep with debugging enabled and include the complete output: virt-sysprep -v -x [...] libguestfs: trace: close libguestfs: closing guestfs handle 0xaa87e0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsIvH2I9 libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfssVZ5kF Additional info: [root@ibm-ls21-03 ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 2 NUMA node(s): 2 Vendor ID: AuthenticAMD CPU family: 15 Model: 65 Model name: Dual-Core AMD Opteron(tm) Processor 2218 Stepping: 2 CPU MHz: 2599.847 BogoMIPS: 5199.69 Virtualization: AMD-V L1d cache: 64K L1i cache: 64K L2 cache: 1024K NUMA node0 CPU(s): 0,2 NUMA node1 CPU(s): 1,3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow art rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy