Paul Abel wrote: > I'm having problems following the howto's for Solaris on CentOS 5.1/Xen. > Here is my setup: > > CentOS 5.0 installed from CD's, plus patched to 5.1 from yum
corrupted iso?? Can you: # mount -o loop /usr/lib/xen-solaris/sol-nv-b78-x86-dvd.iso /mnt > disk = [ > 'file:/xen/solaris.img,0,w','file:/usr/lib/xen-solaris/sol-nv-b78-x86-dvd.iso,6:cdrom,r' > ] Usually, you want to put the disk your going to boot off of first on the disk line. It shouldn't matter in your case since you copied out the kernel and ramdisk. You can have left them in the iso and just referred to them. disk = [ 'file:/usr/lib/xen-solaris/sol-nv-b78-x86-dvd.iso,6:cdrom,r', 'file:/xen/solaris.img,0,w' ] MRJ > # uname -r > 2.6.18-53.1.4.el5xen > > # cat /etc/redhat-release > CentOS release 5 (Final) > > # ls -al /usr/lib/xen-solaris/ > -rwxrwxrwx 1 root root 2718433280 Jan 17 17:32 sol-10-u4-ga-x86-dvd.iso > -rwxrwxrwx 1 root root 3674931200 Jan 18 11:21 sol-nv-b78-x86-dvd.iso > -rwxrwxrwx 1 root root 1352660 Jan 18 11:23 unix-78 > -rwxrwxrwx 1 root root 61181057 Jan 18 11:22 x86.miniroot > > # ls -al /xen/ > -rw-r--r-- 1 root root 10240000000 Jan 17 17:43 solaris.img > > # cat /etc/xen/solaris > name = 'solaris' > memory = '1024' > disk = [ > 'file:/xen/solaris.img,0,w','file:/usr/lib/xen-solaris/sol-nv-b78-x86-dvd.iso,6:cdrom,r' > ] > vif = [ '' ] > on_shutdown = 'destroy' > on_reboot = 'destroy' > on_crash = 'destroy' > kernel = '/usr/lib/xen-solaris/unix-78' > ramdisk = '/usr/lib/xen-solaris/x86.miniroot' > extra = '/platform/i86xpv/kernel/unix - nowin -B install_media=cdrom' > > I've made the change to > /usr/lib/python2.4/site-packages/xen/xend/server/blkif.py and restarted xend > > When I try to create the VM I get the following: > # xm create /etc/xen/solaris -c > Using config file "/etc/xen/solaris". > Error: Device 6 (vbd) could not be connected. losetup -r /dev/loop1 > /usr/lib/xen-solaris/sol-nv-b78-x86-dvd.iso failed > > # cat /var/log/xen/xen-hotplug.log > Nothing to flush. > /usr/lib/xen-solaris/sol-nv-b78-x86-dvd.iso: Permission denied > xenstore-read: couldn't read path backend/vbd/5/6/node > > Any help would be appreciated as nobody else seems to have the same problems > with CentOS 5 > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > [email protected] _______________________________________________ xen-discuss mailing list [email protected]
