[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Re: [Xen-users] Can not find the cdrom device in /dev/ after booted into xen(3.0.3)


  • To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 1 Dec 2006 18:32:47 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 01 Dec 2006 09:36:28 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AccVbeU+WWThg/a9S9KQFwxyo0C9YAAAD4iQ
  • Thread-topic: [Xen-devel] Re: [Xen-users] Can not find the cdrom device in /dev/ after booted into xen(3.0.3)

And if you do "modprobe ide" or some such, does that help?

It may be that if you only have one IDE device that is a CDROM, the
driver may not load automatically - I don't know - but if you haven't
got ANY /dev/hd* devices, then you probably haven't got the driver
loaded.

Try "dmesg|grep -i ide" to see if there's any messages from the IDE
controller that tells you why it didn't load. 

Also looking at "lspci" and see what IDE controller you have, and check
if that particular device driver is in your configuration for the
kernel... [It's worth noting that most distributions are built with a
wider range of device drivers than what the Xen kernel normally builds
with, so if you have some unusual device, you may need to enable it
first]. 

--
Mats

> -----Original Message-----
> From: Liang Yang [mailto:multisyncfe991@xxxxxxxxxxx] 
> Sent: 01 December 2006 17:24
> To: Keir Fraser; Petersson, Mats
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Re: [Xen-users] Can not find the 
> cdrom device in /dev/ after booted into xen(3.0.3)
> 
> Hi Keir and Mats,
> 
> When I booted into native RHEL4.4, /dev/cdrom is linked to 
> hda. My CD-ROM is 
> the only IDE device and my OS hard disk is the SATA. When I 
> booted into 
> Xen(on the same platform with the same distribution) I can 
> NOT find ANY hd* 
> device under /dev/ (SATA hard disk is listed correctly 
> though). So what Mats 
> said does not apply here. Could this be a bug for Xen 3.0.3?
> 
> Best regards,
> 
> Liang
> 
> ----- Original Message ----- 
> From: "Keir Fraser" <keir@xxxxxxxxxxxxx>
> To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>; "Petersson, Mats" 
> <Mats.Petersson@xxxxxxx>; <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Cc: <xen-users@xxxxxxxxxxxxxxxxxxx>
> Sent: Friday, December 01, 2006 9:44 AM
> Subject: Re: [Xen-devel] Re: [Xen-users] Can not find the 
> cdrom device in 
> /dev/ after booted into xen(3.0.3)
> 
> 
> > On 1/12/06 16:38, "Liang Yang" <multisyncfe991@xxxxxxxxxxx> wrote:
> >
> >> 2. If I want to install HVM Linux from CDROM instead of 
> file image, how 
> >> can
> >> I define the cdrom in .hvm file:
> >> disk = [ 'phy:/dev/sdb,hda,w', 
> 'phy:/dev/cdrom,hdc:cdrom,r' ] will not 
> >> work
> >> as /dev/cdrom is not available. Then I tried disk = [ 
> >> 'phy:/dev/sdb,hda,w',
> >> 'phy:/dev/hdc,hdc:cdrom,r' ]. It still does not work as 
> /dev/hdc is not
> >> available either.
> >>
> >> How can I create /dev/hdc for my cd-rom?
> >
> > When you boot native RHEL4.4, what is /dev/cdrom a symlink 
> to? You should
> > try using the target of the symlink as the physical device 
> target in your
> > HVM config file. If the target of the symlink also does not 
> exist when
> > running on Xen then it is likely that your XenLinux kernel does not 
> > include
> > an appropriate driver for your CDROM device. Perhaps it is 
> a SATA drive
> > connected to a SATA chipset for which our kernel does not 
> have a driver?
> >
> > -- Keir
> >
> > 
> 
> 
> 
> 



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.