Bug 690763 - RHEL6.1 PV guest crash with "file:iso" vitual cdrom
Summary: RHEL6.1 PV guest crash with "file:iso" vitual cdrom
Keywords:
Status: CLOSED DUPLICATE of bug 691339
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-25 11:01 UTC by Yuyu Zhou
Modified: 2011-03-31 16:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-31 16:17:22 UTC
Target Upstream Version:


Attachments (Terms of Use)
xend log (16.99 KB, text/plain)
2011-03-25 11:01 UTC, Yuyu Zhou
no flags Details
dmesg log (83.64 KB, text/plain)
2011-03-25 11:02 UTC, Yuyu Zhou
no flags Details
xm dmesg log (16.01 KB, text/plain)
2011-03-25 11:04 UTC, Yuyu Zhou
no flags Details
qemu log (279 bytes, text/plain)
2011-03-25 11:04 UTC, Yuyu Zhou
no flags Details
guest console log while crashing (20.20 KB, text/plain)
2011-03-29 11:53 UTC, Qixiang Wan
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.