From: "Kasai Takanori" Subject: Re: [RFC] CD-ROM cannot be changed Date: Fri, 15 Dec 2006 15:30:15 +0900 Message-ID: <05a001c72012$8428b930$dab2220a@VF03007L> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel List-Id: xen-devel@lists.xenproject.org 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 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