[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] CDROM on PV domU
Felix Kuperjans wrote: Hi, you made a small error in your disk configuration: disk = [ 'phy:/dev/scd0,*hdc:*cdrom,w' ]You have to specify hdc (or anything similar) to set the position of the cdrom drive (in this case: secondary IDE, master). It is also possible to specify e.g. sda:cdrom, which will attach the device to the first SCSI port (but you can't boot from SCSI devices).In addition, I think it was rather /dev/scd0 instead of /dev/sd0. I hope this helps you. Felix Am 28.04.2010 18:14, schrieb Wolf Grossi:Hi, how do I attach a cdrom to a pv guest? Xen-server is openSuSE-11.2 and domU is opensuse-11.2. According to the xen-manual I tried disk = [ 'phy:/dev/sd0,cdrom,w' ] in the vm configuration.When creating the vm however it crashes w/o a message in /var/log/qemu-dm-opensuse11.logI've also tried to attach with xm block-attach opensuse11 phy:/dev/sr0 /dev/cdrom r same problem as obove. Thanks Felix, I proceeded as you suggested, however still the same problem. vm config sections: disk=[ 'file:/var/lib/xen/images/MAGRO1V/disk0,xvda,w' ,'phy:/dev/sr0,hdc:cdrom,r' ] running 'xm create ...' I get ...2.267952] kernel BUG at /usr/src/packages/BUILD/kernel-xen-2.6.31.5/linux-2.6.31/block/blk-core.c:2216! [ 2.267952] invalid opcode: 0000 [#1] SMP [ 2.267952] last sysfs file: [ 2.267952] Modules linked in: xenblk(+) cdrom ... etc.etcReading 'kernel BUG' lets my alarm bells ring - do I need an updated xen-kernel? Wolf _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |