I was able to solve the problem by enabling the guest to directly access an external usb cdrom device. Therefore dom0 has control of the internal cdrom device and 3 domains get one usb port each. 1) Change /boot/grub/menu.lst in dom0 and reboot title Xen2 kernel (hd0,4)/xen.gz dom0_mem=417972 physdev_dom0_hide=''(00:03.0)(00:03.1)(00:03.2)'' module (hd0,4)/vmlinuz-2.6.8-24.14-xen module (hd0,4)/initrd-2.6.8-24.14-xen 2) add pci device line in domU config file: pci = [ ''00,03,00'' ] Thanks, _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Utsav Agarwal Sent: Wednesday, July 27, 2005 1:27 PM To: xen-users@lists.xensource.com Subject: [Xen-users] error accessing cdrom in domU The following 2 error messages found in dom0 system log: kernel: hdc: cdrom_read_intr: data underrun (2 blocks) kernel: end_request: I/O error, dev hdc, sector 64 when I try to mount the cdrom from domU _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Utsav Agarwal Sent: Wednesday, July 27, 2005 11:48 AM To: xen-users@lists.xensource.com Subject: [Xen-users] cdrom access in domU I am currently having to nfs export cdrom from dom0 to domU and that is cumbersome. Is there a way to do it at the device level? ---------------------------------------------------------------------------- -------- Utsav Agarwal Systems Analyst eXcellence in IS Solutions (X-ISS) ---------------------------------------------------------------------------- -------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John A. Sullivan III
2005-Jul-29 00:40 UTC
Re: FW: [Xen-users] error accessing cdrom in domU
I experienced a similar problem in 2.0.5 - I could directly share the CDROM as read-only, I could mount it but any attempt at reading provoked an error. Does anyone know if this was fixed in 2.0.6? Thanks - John On Thu, 2005-07-28 at 18:03 -0500, Utsav Agarwal wrote:> I was able to solve the problem by enabling the guest to directly > access an external usb cdrom device. > > Therefore dom0 has control of the internal cdrom device and 3 domains > get one usb port each. > > > > 1) Change /boot/grub/menu.lst in dom0 and reboot > > > > title Xen2 > > kernel (hd0,4)/xen.gz dom0_mem=417972 > physdev_dom0_hide=''(00:03.0)(00:03.1)(00:03.2)'' > > module (hd0,4)/vmlinuz-2.6.8-24.14-xen > > module (hd0,4)/initrd-2.6.8-24.14-xen > > > > 2) add pci device line in domU config file: > > > > pci = [ ''00,03,00'' ] > > > > > > Thanks, > > > > > > > ______________________________________________________________________ > From:xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Utsav > Agarwal > Sent: Wednesday, July 27, 2005 1:27 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] error accessing cdrom in domU > > > > > The following 2 error messages found in dom0 system log: > > > > kernel: hdc: cdrom_read_intr: data underrun (2 blocks) > > kernel: end_request: I/O error, dev hdc, sector 64 > > > > when I try to mount the cdrom from domU > > > > > > > ______________________________________________________________________ > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Utsav > Agarwal > Sent: Wednesday, July 27, 2005 11:48 AM > To: xen-users@lists.xensource.com > Subject: [Xen-users] cdrom access in domU > > > > > I am currently having to nfs export cdrom from dom0 to domU and that > is cumbersome. > > Is there a way to do it at the device level? > > > > > > ------------------------------------------------------------------------------------ > > Utsav Agarwal > > Systems Analyst > > eXcellence in IS Solutions (X-ISS) > > ------------------------------------------------------------------------------------ > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan@opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users