Hello list, I have a problem trying to get my DVD-RAM writer to work for a particular domU on my Xen 3.1 system. The domU boots fine, xend.log shows createDevice and DevController entries for the device and xm list --long shows the device, too, yet I can not access the device from inside the domU. When I try to mount it, the following happens: mount: /dev/hdc is not a valid block device or a variation thereof, see below. I tried several things in the domu.cfg file''s disk stanza: ''phy:/dev/hda:hda:cdrom,w'', ''phy:hda:sdb,w'' and I think every combination thereof (like ''phy:/dev/hda:sdb:cdrom,w'' and so on). The problem presents itself in the same way every time. I am using the Xen 3.1 hypervisor from Debian etch backports with a self-compiled/patched 2.6.18 Linux kernel. I also tried compiling a domU kernel with everything relevant compiled in. I even tried booting the domU with and without udev. Any hints on what I am doing wrong? Cheers, Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
afoo wrote:> Hello list, > > I have a problem trying to get my DVD-RAM writer to work for a particular domU > on my Xen 3.1 system. The domU boots fine, xend.log shows createDevice and > DevController entries for the device and xm list --long shows the device, too, > yet I can not access the device from inside the domU. When I try to > mount it, the > following happens: > > mount: /dev/hdc is not a valid block device > > or a variation thereof, see below. > > I tried several things in the domu.cfg file''s disk stanza: > > ''phy:/dev/hda:hda:cdrom,w'', > ''phy:hda:sdb,w'' > > and I think every combination thereof (like ''phy:/dev/hda:sdb:cdrom,w'' >Fully virt or paravirt? If fully virt try ''phy:/dev/hda,hdb:cdrom,w'' --Sadique> and so on). > The problem presents itself in the same way every time. > > I am using the Xen 3.1 hypervisor from Debian etch backports with a > self-compiled/patched 2.6.18 Linux kernel. I also tried compiling a domU kernel > with everything relevant compiled in. I even tried booting the domU with and > without udev. > > Any hints on what I am doing wrong? > > Cheers, > > Jan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hey Sadique, On Feb 7, 2008 6:52 PM, Sadique Puthen <sputhenp@redhat.com> wrote:> afoo wrote: > > I have a problem trying to get my DVD-RAM writer to work for a particular domU > > on my Xen 3.1 system. The domU boots fine, xend.log shows createDevice and > > DevController entries for the device and xm list --long shows the device, too, > > yet I can not access the device from inside the domU. When I try to > > mount it, the > > following happens: > > > > mount: /dev/hdc is not a valid block device > > > > or a variation thereof, see below. > > > > I tried several things in the domu.cfg file''s disk stanza: > > > > ''phy:/dev/hda:hda:cdrom,w'', > > ''phy:hda:sdb,w'' > > > > and I think every combination thereof (like ''phy:/dev/hda:sdb:cdrom,w'' > > > > Fully virt or paravirt? If fully virt try ''phy:/dev/hda,hdb:cdrom,w''Paravirt. I tried this combination (again) anyway, to no avail. Cheers, Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
afoo wrote:> Hey Sadique, > > On Feb 7, 2008 6:52 PM, Sadique Puthen <sputhenp@redhat.com> wrote: > >> afoo wrote: >> >>> I have a problem trying to get my DVD-RAM writer to work for a particular domU >>> on my Xen 3.1 system. The domU boots fine, xend.log shows createDevice and >>> DevController entries for the device and xm list --long shows the device, too, >>> yet I can not access the device from inside the domU. When I try to >>> mount it, the >>> following happens: >>> >>> mount: /dev/hdc is not a valid block device >>> >>> or a variation thereof, see below. >>> >>> I tried several things in the domu.cfg file''s disk stanza: >>> >>> ''phy:/dev/hda:hda:cdrom,w'', >>> ''phy:hda:sdb,w'' >>> >>> and I think every combination thereof (like ''phy:/dev/hda:sdb:cdrom,w'' >>> >>> >> Fully virt or paravirt? If fully virt try ''phy:/dev/hda,hdb:cdrom,w'' >> > > Paravirt. I tried this combination (again) anyway, to no avail. >Then try ''phy:/dev/hda,xvdb:cdrom,w'' and mount /dev/xvdb in the guest. --Sadique> > Cheers, > > Jan >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hey, On Feb 7, 2008 7:33 PM, Sadique Puthen <sputhenp@redhat.com> wrote:> afoo wrote: > > On Feb 7, 2008 6:52 PM, Sadique Puthen <sputhenp@redhat.com> wrote: > >> afoo wrote: > >>> I have a problem trying to get my DVD-RAM writer to work for a particular domU > >>> on my Xen 3.1 system. The domU boots fine, xend.log shows createDevice and > >>> DevController entries for the device and xm list --long shows the device, too, > >>> yet I can not access the device from inside the domU. When I try to > >>> mount it, the > >>> following happens: > >>> > >>> mount: /dev/hdc is not a valid block device > >>> > >>> or a variation thereof, see below. > >>> > >>> I tried several things in the domu.cfg file''s disk stanza: > >>> > >>> ''phy:/dev/hda:hda:cdrom,w'', > >>> ''phy:hda:sdb,w'' > >>> > >>> and I think every combination thereof (like ''phy:/dev/hda:sdb:cdrom,w'' > >>> > >>> > >> Fully virt or paravirt? If fully virt try ''phy:/dev/hda,hdb:cdrom,w'' > >> > > > > Paravirt. I tried this combination (again) anyway, to no avail. > > > > Then try ''phy:/dev/hda,xvdb:cdrom,w'' and mount /dev/xvdb in the guest.Same thing: dom0:~# grep cdrom /etc/xen/domu.cfg ''phy:/dev/hda,xvdb:cdrom,w''] domu:~# mknod /dev/xvdb b 202 32 domu:~# mount -t iso9660 /dev/vxdb / domu: special device /dev/vxdb does not exist domu:~# ls /sys/block ram0 ram1 ram10 ram11 ram12 ram13 ram14 ram15 ram2 ram3 ram4 ram5 ram6 ram7 ram8 ram9 sda1 sda2 sda3 Cheers, Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users