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

Re: FW: [Xen-users] error accessing cdrom in domU

To: Utsav Agarwal <uagarwal@xxxxxxxxx>
Subject: Re: FW: [Xen-users] error accessing cdrom in domU
From: "John A. Sullivan III" <jsullivan@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Jul 2005 20:40:20 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 29 Jul 2005 00:38:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200507282303.j6SN3a411560@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200507282303.j6SN3a411560@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Utsav
> Agarwal
> Sent: Wednesday, July 27, 2005 1:27 PM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Utsav
> Agarwal
> Sent: Wednesday, July 27, 2005 11:48 AM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@xxxxxxxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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