WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [RFC] CD-ROM cannot be changed

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] CD-ROM cannot be changed
From: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 15:30:15 +0900
Delivery-date: Thu, 14 Dec 2006 22:30:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C1A6E1AD.609D%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Keir,

Thank you for reply.

Something as coarse-grained as 'xm block-detach/block-attach' would probably
work in this situation, as the CD device is unmounted during the install
process when waiting for next CD to be inserted.

When the GuestOS is installed on HVM domain, PV VBDs cannot be used. Therefore, block-attach/detach will not work in this case.

CD-ROM is able to be changed with qemu-dm console in installing HVM Domain.
I input it with qemu-dm console as follows.
# change hdc /dev/cdrom

Qemu-dm recognizes the next CD-ROM by this method. When I restart the installation, the following errors occur.
# The Package hwdata-0.146.22.EL-1 cannot be opened.
# This is due to a missing file or perhaps a corrupt package.
# If you are installing from CD media thish usually means
# the CD media is corrupt, or the CD drive is unable to read the media.

# Press <return> to try again.


I thought whether there is a problem on the qemu-dm. However, the same problem was able to be caused in Native Linux.



When there is a process in the state of opening CD-ROM, it is changed. All the data of changed CD-ROM was not able to be read. It was possible to read only by the size of CD-ROM before it changed it. Next, the process where CD-ROM has been opened is killed. Then, all the data of CD-ROM was able to be read. The process where it kept opening the CD-ROM device was xenwatch. Xenwatch keeps opening the CD-ROM device during creation and
the destruction of the domain.
Therefore, it is a cause that cannot be read even if CD-ROM is changed.
Do you think that you should correct it by what method?

Thanks

--
Takanori Kasai






_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>