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.

Bug 690763

Summary: RHEL6.1 PV guest crash with "file:iso" vitual cdrom
Product: Red Hat Enterprise Linux 6 Reporter: Yuyu Zhou <yuzhou>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: drjones, leiwang, mrezanin, mshao, pbonzini, qwan, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-31 16:17:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
xend log
none
dmesg log
none
xm dmesg log
none
qemu log
none
guest console log while crashing none

Description Yuyu Zhou 2011-03-25 11:01:05 UTC
Description of problem:
Start a RHEL6.1 PV guest with "file:iso" virtual cdrom cause guest crash.

Version-Release number of selected component (if applicable):
Host:
xen-3.0.3-126.el5 also xen-3.0.3-120.el5
kernel-xen-2.6.18-250.el5
Guest:
RHEL-Server-6.1-32-20110317.1 PV guest.

How reproducible:
100%

Steps to Reproduce:
1. Edit guest configure file with:
disk = ['file:/path/your_vm.raw,xvda,w','file:/path/test.iso,hdc:cdrom,r']
2. Start the guest with 'xm cr your.conf'

Actual results:
VM crashed.

Expected results:
VM should boot and run successfully.

Comment 1 Yuyu Zhou 2011-03-25 11:01:42 UTC
Created attachment 487522 [details]
xend log

Comment 2 Yuyu Zhou 2011-03-25 11:02:16 UTC
Created attachment 487524 [details]
dmesg log

Comment 3 Yuyu Zhou 2011-03-25 11:04:00 UTC
Created attachment 487527 [details]
xm dmesg log

Comment 4 Yuyu Zhou 2011-03-25 11:04:30 UTC
Created attachment 487528 [details]
qemu log

Comment 5 Yuyu Zhou 2011-03-25 11:19:47 UTC
Addition Info:
Start a RHEL5 PV guest with "file:iso" virtual cdrom in the same environment do not cause guest crash.

Comment 6 Miroslav Rezanina 2011-03-29 06:32:44 UTC
Just a note - PV guest do not support cdroms so it is visible as normal disk. It should not be used for PV guest.

Comment 7 Paolo Bonzini 2011-03-29 10:15:10 UTC
Does the crash happen with file:/path/test.iso,hdc,r (i.e. without ":cdrom"?)

Comment 8 Yuyu Zhou 2011-03-29 11:46:37 UTC
Hi, Paolo
no matter :cdrom option specified or not, but the hdc make the case different, guest boot up successfully with hdb and hdd. 

Another bug 691339 may be relevant.

Comment 9 Qixiang Wan 2011-03-29 11:53:12 UTC
Created attachment 488417 [details]
guest console log while crashing

Comment 10 Qixiang Wan 2011-03-29 11:58:51 UTC
One thing different with bug 691339 is 'xen_emul_unplug=never' didn't work in this case, guest still crash with xen_emul_unplug=never specified.

Comment 11 Miroslav Rezanina 2011-03-31 13:37:52 UTC
Reassigning to rhel6 kernel as this problem is experienced only with rhel6 guests (tested RHEL 6 GA, RHEL6.1-20110317.1)

Comment 13 Andrew Jones 2011-03-31 16:17:22 UTC
This is a dup of bug 691339. The WARNING and then eventual BUG match exactly with the -125 kernel.

dracut: Starting plymouth daemon
dracut: rd_NO_DM: removing DM RAID activation
dracut: rd_NO_MD: removing MD RAID activation
xlblk_init: register_blkdev major: 202 
blkfront: xvda: barriers disabled
 xvda: xvda1 xvda2 xvda3
blkfront: xvda: barriers disabled
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:491 sysfs_add_one+0xc9/0x130() (Not tainted)

...

kernel BUG at fs/sysfs/group.c:65!

*** This bug has been marked as a duplicate of bug 691339 ***