Hi All, I have an interesting problem in that my system fails to create the / dev/xen directory and I suspect the drivers when booted with i86xpv kernel. Are there any ideas what the problem might be? The absence of the /dev/xen links and devices naturally stops xenstored from working. /boot/grub/menu.lst: splashimage /boot/grub/splash.xpm.gz timeout 30 default 0 #---------- ADDED BY BOOTADM - DO NOT EDIT ---------- title opensolaris bootfs rpool/ROOT/opensolaris kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS module$ /platform/i86pc/$ISADIR/boot_archive #---------------------END BOOTADM-------------------- #============ End of LIBBE entry ============#---------- ADDED BY BOOTADM - DO NOT EDIT ---------- title Solaris xVM kernel$ /boot/$ISADIR/xen.gz module$ /platform/i86xpv/kernel/$ISADIR/unix /platform/i86xpv/kernel/ $ISADIR/unix -B $ZFS-BOOTFS module$ /platform/i86pc/$ISADIR/boot_archive #---------------------END BOOTADM-------------------- Extracts from pkg list SUNWxvm 3.1-0.86 installed ---- SUNWxvmdom 3.1-0.86 installed ---- SUNWxvmhvm 0.5.11-0.86 installed ---- SUNWckr 0.5.11-0.86 installed ---- Thanks for your assistance Maurice Castro
On Thu, May 08, 2008 at 05:44:56PM +1000, Maurice Castro wrote:> Hi All, > I have an interesting problem in that my system fails to create the / > dev/xen directory and I suspect the drivers when booted with i86xpv > kernel. Are there any ideas what the problem might be? The absence of > the /dev/xen links and devices naturally stops xenstored from working.Try running the below. regards john BASEDIR=${BASEDIR:-/} /usr/sbin/syseventadm list -R $BASEDIR -c EC_xendev > /dev/null 2>&1 if [ $? -ne 0 ] then /usr/sbin/syseventadm add -R $BASEDIR -c EC_xendev \ /usr/lib/xen/scripts/xpvd-event ''action=$subclass'' \ ''domain=$domain'' ''vdev=$vdev'' ''device=$device'' \ ''devclass=$devclass'' ''febe=$fob'' fi /usr/sbin/syseventadm list -R $BASEDIR -c EC_xpvsys > /dev/null 2>&1 if [ $? -ne 0 ] then /usr/sbin/syseventadm add -R $BASEDIR -c EC_xpvsys \ /usr/lib/xen/scripts/xpvsys-event ''subclass=$subclass'' \ ''shutdown=$shutdown'' fi # restart daemon if the package is being added to the running system if [ "$BASEDIR" = "/" -a $? -eq 0 ] then /usr/sbin/syseventadm restart fi
That script also fixed the problem I replied (on the wrong forum here): http://www.opensolaris.org/jive/thread.jspa?threadID=59684 This message posted from opensolaris.org
Hi All, after a from scratch install and following the instructions in http://trevoro.ca/blog/2008/05/07/getting-xvm-to-work-in-opensolaris-200805/ I managed to get xen to work. The script suggested did not fix my original problems. Unfortunately, as with my experience on SXDE with xen, networking on the box running the xen hypervisor does not work. The system comes up, but fails to DHCP. The system is a white box AMD 64 box with an e1000g in it. The e1000g shares the PCI-E bus with the video card. Any suggestions gratefully accepted. Maurice Castro On 08/05/2008, at 5:44 PM, Maurice Castro wrote:> Hi All, > I have an interesting problem in that my system fails to create the / > dev/xen directory and I suspect the drivers when booted with i86xpv > kernel. Are there any ideas what the problem might be? The absence of > the /dev/xen links and devices naturally stops xenstored from working. >
On 9 May 2008, at 5:44am, Maurice Castro wrote:> I managed to get xen to work. The script suggested did not fix my > original problems. Unfortunately, as with my experience on SXDE with > xen, networking on the box running the xen hypervisor does not work. > The system comes up, but fails to DHCP. The system is a white box AMD > 64 box with an e1000g in it. The e1000g shares the PCI-E bus with the > video card. Any suggestions gratefully accepted.Does the e1000g work without Xen?
Found a little typo (extra space) in the above script that causes DUP packets in your DOMUs, also added a shebang line. solaris-test tmcgee # ping otherhost PING otherhost (172.17.71.271) 56(84) bytes of data. 64 bytes from otherhost(172.17.71.271): icmp_seq=1 ttl=64 time=0.501 ms 64 bytes from otherhost (172.17.71.271): icmp_seq=1 ttl=64 time=0.506 ms (DUP!) #!/bin/bash BASEDIR=${BASEDIR:-/} /usr/sbin/syseventadm list -R $BASEDIR -c EC_xendev > /dev/null 2>&1 if [ $? -ne 0 ] then /usr/sbin/syseventadm add -R $BASEDIR -c EC_xendev \ /usr/lib/xen/scripts/xpvd-event ''action=$subclass'' \ ''domain=$domain'' ''vdev=$vdev'' ''device=$device'' \ ''devclass=$devclass'' ''febe=$fob'' fi /usr/sbin/syseventadm list -R $BASEDIR -c EC_xpvsys > /dev/null 2>&1 if [ $? -ne 0 ] then /usr/sbin/syseventadm add -R $BASEDIR -c EC_xpvsys \ /usr/lib/xen/scripts/xpvsys-event ''subclass=$subclass'' \ ''shutdown=$shutdown'' fi # restart daemon if the package is being added to the running system if [ "$BASEDIR" = "/" -a $? -eq 0 ] then /usr/sbin/syseventadm restart fi This message posted from opensolaris.org