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

[Xen-devel] RE: [Xen-users] Can not find the cdrom device in /dev/ after

To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] RE: [Xen-users] Can not find the cdrom device in /dev/ after booted into xen(3.0.3)
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 1 Dec 2006 17:22:35 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 01 Dec 2006 08:23:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY125-DAV136A81D50B842DEAD1D75093DA0@xxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccVY51ZnK61ekKkS9aN2Ejg06EmAwAAQKqw
Thread-topic: [Xen-users] Can not find the cdrom device in /dev/ after booted into xen(3.0.3)
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Liang Yang
> Sent: 01 December 2006 16:12
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Can not find the cdrom device in /dev/ 
> after booted into xen(3.0.3)
> 
> Hello,
> 
> I just did a fresh installation of Xen 3.0.3. However, I can 
> not find my
> cd-rom device under /dev/ after I booted into Xen. If I 
> booted into Linux
> native (RHELAS 4.4), CD-ROM device is there and listed as 
> /dev/cdrom. I know
> Xen changed the CD-ROM access mode from HVM domain. But for 
> Xen domain0, it
> should still be listed as /dev/cdrom, right?

/dev/cdrom is a "link" to the actual /dev/[sh]d[abcd] device that is the
CDROM drive. As far as I understand, it's normally created by the
distributions initrd. You may be able to disassemble your distributions
initrd and find the line that creates this link - but the fact is that
different distributions do this slightly differently. 

Much easier to just use /dev/[sh]d[abcd] for your cdrom. 

--
Mats
> 
> I think the driver for CD-ROM must be already loaded and it 
> is hided by Xen
> somehow. I checked a Linux Server beta version which has 
> integrated Xen on
> the same platform, I can find the cdrom device in /dev/. I 
> remember Xen
> 3.0.2 does not have this problem either.
> 
> Could anyone share some solutions?
> 
> Thanks,
> 
> Liang
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



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