Bug 1628098
Summary: | [Intel 7.7 BUG][KVM][Crystal Ridge]object_get_canonical_path_component: assertion failed: (obj->parent != NULL) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Yumei Huang <yuhuang> |
Component: | qemu-kvm-rhev | Assignee: | Paul Lai (Intel) <plai> |
Status: | CLOSED ERRATA | QA Contact: | Yumei Huang <yuhuang> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.6 | CC: | chayang, jinzhao, juzhang, mrezanin, pagupta, plai, Robert.Hu, virt-maint, xuelian.guo, yi.z.zhang |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | 7.7 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.12.0-22.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-22 09:18:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1649160 |
Description
Yumei Huang
2018-09-12 08:31:01 UTC
It is introduced by commit "0b7c71b hostmem-file: add the 'pmem' option". Hit same error with pmem emulated by kernel line. # cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.10.0-948.el7.x86_64 root=/dev/mapper/rhel_dhcp--8--214-root ro crashkernel=auto rd.lvm.lv=rhel_dhcp-8-214/root rd.lvm.lv=rhel_dhcp-8-214/swap rhgb quiet nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off LANG=en_US.UTF-8 memmap=4G!2G # /usr/libexec/qemu-kvm -object memory-backend-file,id=mem0,mem-path=/dev/pmem0,size=1G,share,pmem=on ** ERROR:qom/object.c:1650:object_get_canonical_path_component: assertion failed: (obj->parent != NULL) Aborted (core dumped) (In reply to Yumei Huang from comment #3) > Hit same error with pmem emulated by kernel line. > > # cat /proc/cmdline > BOOT_IMAGE=/vmlinuz-3.10.0-948.el7.x86_64 > root=/dev/mapper/rhel_dhcp--8--214-root ro crashkernel=auto > rd.lvm.lv=rhel_dhcp-8-214/root rd.lvm.lv=rhel_dhcp-8-214/swap rhgb quiet > nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off > LANG=en_US.UTF-8 memmap=4G!2G > > # /usr/libexec/qemu-kvm -object > memory-backend-file,id=mem0,mem-path=/dev/pmem0,size=1G,share,pmem=on > ** > ERROR:qom/object.c:1650:object_get_canonical_path_component: assertion > failed: (obj->parent != NULL) > Aborted (core dumped) I think we need to provide a device as well and libvirtd or other user-space management interface should take of this? -device nvdimm,memdev=mem0,id=nv1 Thanks, Pankaj (In reply to pagupta from comment #4) > (In reply to Yumei Huang from comment #3) > > Hit same error with pmem emulated by kernel line. > > > > # cat /proc/cmdline > > BOOT_IMAGE=/vmlinuz-3.10.0-948.el7.x86_64 > > root=/dev/mapper/rhel_dhcp--8--214-root ro crashkernel=auto > > rd.lvm.lv=rhel_dhcp-8-214/root rd.lvm.lv=rhel_dhcp-8-214/swap rhgb quiet > > nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off > > LANG=en_US.UTF-8 memmap=4G!2G > > > > # /usr/libexec/qemu-kvm -object > > memory-backend-file,id=mem0,mem-path=/dev/pmem0,size=1G,share,pmem=on > > ** > > ERROR:qom/object.c:1650:object_get_canonical_path_component: assertion > > failed: (obj->parent != NULL) > > Aborted (core dumped) > > I think we need to provide a device as well and libvirtd or other user-space > management interface should take of this? > > -device nvdimm,memdev=mem0,id=nv1 Yeah, that could reproduce too. I just put the shortest cli. A complete cli is: # /usr/libexec/qemu-kvm -M pc,nvdimm \ -object memory-backend-file,id=mem0,mem-path=/tmp/nv0,size=1G,share,pmem=on \ -device nvdimm,id=dimm0,memdev=mem0 > Thanks, > Pankaj Add regression keyword since it's a newly introduced issue by commit 0b7c71b. Reproduced on RHEL7.6 RC. (In reply to Yumei Huang from comment #6) > Add regression keyword since it's a newly introduced issue by commit 0b7c71b. For clarity... the regression was introduced by.... 0b7c71b8 hostmem-file: add the 'pmem' option (cherry picked from commit a4de8552b2580adf6fa4874439217b65d3bdd88b) Signed-off-by: Paul Lai <plai> Yi Zhang has submitted upstream the following fix: https://patchwork.kernel.org/patch/10654299/ Patch already merged into qemu3.1 commitid: 87dc3ce60a8a16b47aeb6c5f4dbc14ee975563df (In reply to Paul Lai from comment #9) > (In reply to Yumei Huang from comment #6) > > Add regression keyword since it's a newly introduced issue by commit 0b7c71b. > > For clarity... the regression was introduced by.... > > 0b7c71b8 hostmem-file: add the 'pmem' option > (cherry picked from commit a4de8552b2580adf6fa4874439217b65d3bdd88b) > Signed-off-by: Paul Lai <plai> > > Yi Zhang has submitted upstream the following fix: > https://patchwork.kernel.org/patch/10654299/ Thanks Paul's clarify, since patch already merged into upstream, Paul, can u backbort it to RH7.6 RC to verify this fix? Regards Yi Fix included in qemu-kvm-rhev-2.12.0-22.el7 Verify: qemu-kvm-rhev-2.12.0-23.el7 Instead of core dump, an error message is prompted. # /usr/libexec/qemu-kvm -object memory-backend-file,id=mem0,mem-path=/tmp/nv,size=1G,share,pmem=on qemu-kvm: -object memory-backend-file,id=mem0,mem-path=/tmp/nv,size=1G,share,pmem=on: Lack of libpmem support while setting the 'pmem=on' of memory-backend-file. We can't ensure data persistence. @mrezanin I don't see a question with the NeedInfo. Maybe there's a field with it that I don't see. I see this in rhv/master-2.12.0 commit 111769e4a152fdb52f2b10fb957cdfec2fe7d4d2 Author: plai <plai> Date: Tue Jan 8 21:33:09 2019 +0100 hostmem-file: remove object id from pmem error message Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:2553 |