I am trying to build a case for using virtual machines to teach kernel hacking, administration and networking courses. I would appreciate it if university folks can reply to this and tell me what courses are being taught using virtual machines. I am especially interested in situations where student do _NOT_ have root privileges on the host. If there is a FAQ with this information please point me to it. Thanks Gedaliah Wolosh University Computing Systems NJIT _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
While they use VMWare, you might want to read "Experiences Teaching Operating Systems Using Virtual Platforms and Linux" - < http://www.ncl.cs.columbia.edu/publications/osr2006_fordist.pdf> Niraj On 5/1/06, Gedaliah Wolosh <gwolosh@njit.edu> wrote:> > > I am trying to build a case for using virtual machines to teach kernel > hacking, administration and networking courses. > > I would appreciate it if university folks can reply to this and tell me > what courses are being taught using virtual machines. I am especially > interested in situations where student do _NOT_ have root privileges on > the host. > > If there is a FAQ with this information please point me to it. > > Thanks > > Gedaliah Wolosh > University Computing Systems > NJIT > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- http://www.cs.cmu.edu/~ntolia _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
dgreen@CLEMSON.EDU
2006-May-08 19:56 UTC
[Xen-users] FC5 error connecting to xend (for xen0)
Used the FedoraXenQuickstartFC5 directions for installing Xen. Rebooted to the xen0 kernel (reconfirmed with uname -r). Getting message when typing in /usr/sbin/xm list Error: Error connecting to xend: No such file or directory. Is xend running? /var/log/xend.log shows [2006-05-08 15:34:09 xend] INFO (SrvDaemon:285) Xend Daemon started [2006-05-08 15:34:09 xend] INFO (SrvDaemon:289) Xend changeset: unavailable . [2006-05-08 15:34:09 xend] ERROR (SrvDaemon:299) Exception starting xend ((111, ''Connection refused'')) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 293, in run servers = SrvServer.create() File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line 106, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get val = val.getobj() File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 39, in __init__ self.xd = XendDomain.instance() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 550, in instance inst.init() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 70, in init xstransact.Mkdir(VMROOT) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 317, in Mkdir complete(path, lambda t: t.mkdir(*args)) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 323, in complete t = xstransact(path) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 20, in __init__ self.transaction = xshandle().transaction_start() File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() RuntimeError: (111, ''Connection refused'') /var/log/xend-debug.log shows Exception starting xend: (111, ''Connection refused'') Any Ideas? Thanks in advance. Vince Green _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Demetri Mouratis
2006-May-09 02:20 UTC
Re: [Xen-users] FC5 error connecting to xend (for xen0)
On 5/8/06, dgreen@clemson.edu <dgreen@clemson.edu> wrote:> > Used the FedoraXenQuickstartFC5 directions for installing Xen. Rebooted > to the xen0 kernel (reconfirmed with uname -r). Getting message when > typing in /usr/sbin/xm list > > Error: Error connecting to xend: No such file or directory. Is xend > running? > > > /var/log/xend.log shows > > > [2006-05-08 15:34:09 xend] INFO (SrvDaemon:285) Xend Daemon started > [2006-05-08 15:34:09 xend] INFO (SrvDaemon:289) Xend changeset: > unavailable . > [2006-05-08 15:34:09 xend] ERROR (SrvDaemon:299) Exception starting xend > ((111, ''Connection refused'')) > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", > line 293, in run > servers = SrvServer.create() > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", > line 106, in create > root.putChild(''xend'', SrvRoot()) > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line > 40, in __init__ > self.get(name) > File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in > get > val = val.getobj() > File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in > getobj > self.obj = klassobj() > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", > line 39, in __init__ > self.xd = XendDomain.instance() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line > 550, in instance > inst.init() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 70, > in init > xstransact.Mkdir(VMROOT) > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", > line 317, in Mkdir > complete(path, lambda t: t.mkdir(*args)) > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", > line 323, in complete > t = xstransact(path) > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", > line 20, in __init__ > self.transaction = xshandle().transaction_start() > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", > line 18, in xshandle > xs_handle = xen.lowlevel.xs.xs() > RuntimeError: (111, ''Connection refused'') > > > /var/log/xend-debug.log shows > > Exception starting xend: (111, ''Connection refused'') > > > Any Ideas? Thanks in advance.Vince, I''m seeing the same behavior. I was able to get xm list working earlier, not sure what is going on here. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rick van der LInde
2006-May-09 06:39 UTC
Re: [Xen-users] FC5 error connecting to xend (for xen0)
> > > Used the FedoraXenQuickstartFC5 directions for installing > Xen. Rebooted > to the xen0 kernel (reconfirmed with uname -r). Getting message when > typing in /usr/sbin/xm list > > Error: Error connecting to xend: No such file or directory. Is > xend running? > > > /var/log/xend.log shows > > > < SNIP > > > /var/log/xend-debug.log shows > > Exception starting xend: (111, ''Connection refused'') > > > Any Ideas? Thanks in advance. > > > > Vince, > > I''m seeing the same behavior. I was able to get xm list working > earlier, not sure what is going on here.I''ve seen this too. It seems to have to deal with the kernel. Loading the kernel-xen0-2.6.16-1.2111_FC5 kernel shows this behaviour. Turning back to previous kernel kernel-xen0-2.6.16-1.2096_FC5 and everything works fine again. Perhaps something needs to be updated to migrate to the newer kernel,. for example xen 3.0.2? which I haven''t found a RPM package for. Rick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
this is a well know bug, see https://bugzill.redhat.com/bugzilla/show_bug.cgi?id=191037 Matthias --- Rick van der LInde <h.r.vanderlinde@ultimum.nl> schrieb:> > > > > > Used the FedoraXenQuickstartFC5 directions for > installing > > Xen. Rebooted > > to the xen0 kernel (reconfirmed with uname > -r). Getting message when > > typing in /usr/sbin/xm list > > > > Error: Error connecting to xend: No such file > or directory. Is > > xend running? > > > > > > /var/log/xend.log shows > > > > > > < SNIP > > > > > /var/log/xend-debug.log shows > > > > Exception starting xend: (111, ''Connection > refused'') > > > > > > Any Ideas? Thanks in advance. > > > > > > > > Vince, > > > > I''m seeing the same behavior. I was able to get > xm list working > > earlier, not sure what is going on here. > > I''ve seen this too. It seems to have to deal with > the kernel. Loading the > kernel-xen0-2.6.16-1.2111_FC5 kernel shows this > behaviour. Turning back > to previous kernel kernel-xen0-2.6.16-1.2096_FC5 and > everything works > fine again. Perhaps something needs to be updated to > migrate to the newer > kernel,. for example xen 3.0.2? which I haven''t > found a RPM package for. > > Rick > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Demetri Mouratis
2006-May-09 16:37 UTC
Re: [Xen-users] FC5 error connecting to xend (for xen0)
On 5/9/06, Rick van der Linde <h.r.vanderlinde@ultimum.nl> wrote:> >> Used the FedoraXenQuickstartFC5 directions for installing Xen. > >> Rebooted > >> to the xen0 kernel (reconfirmed with uname -r). Getting message when > >> typing in /usr/sbin/xm list > >> > >> Error: Error connecting to xend: No such file or directory. Is xend > >> running? > >> < SNIP > > >> > >> Vince, > >> > >> I''m seeing the same behavior. I was able to get xm list working > >> earlier, > >> not sure what is going on here. > >> > >> I''ve seen this too. It seems to have to deal with the kernel. Loading > >> the > >> kernel-xen0-2.6.16-1.2111_FC5 kernel shows this behaviour. Turning back > >> to previous kernel kernel-xen0-2.6.16-1.2096_FC5 and everything works > >> fine again. Perhaps something needs to be updated to migrate to the > >> newer > >> kernel,. for example xen 3.0.2? which I haven''t found a RPM package for. > >> > > > > I did the kernl rollback (any easy way to do with with yum greatly > > appreciated). > > > > I''m back here: *Error creating domain: (22, ''Invalid argument''). > > > > > > Can you provide the config file you''ve used for the partition/virtual host > you''re trying to start? > > Probably you''re now able to issue "xm list" yet? > > Rick > >[root@localhost ~]# uname -a Linux localhost.localdomain 2.6.16-1.2096_FC5xen0 #1 SMP Wed Apr 19 05:49:52 EDT 2006 i686 i686 i386 GNU/Linux [root@localhost ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1763 2 r----- 926.5 [root@localhost ~]# cat /etc/xen/xendomain1 # Automatically generated xen config file name = "xendomain1" memory = "256" disk = [ ''file:/home/xen/xendomain1,xvda,w'' ] vif = [ ''mac=00:16:3e:32:ca:8f'' ] bootloader="/usr/bin/pygrub" on_reboot = ''restart'' on_crash = ''restart'' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rick van der LInde
2006-May-09 18:07 UTC
Re: [Xen-users] FC5 error connecting to xend (for xen0)
Demetri Mouratis wrote:> On 5/9/06, Rick van der Linde <h.r.vanderlinde@ultimum.nl> wrote: > >> Can you provide the config file you''ve used for the partition/virtual >> host >> you''re trying to start? >> >> Probably you''re now able to issue "xm list" yet? >> >> Rick >> >> > [root@localhost ~]# uname -a > Linux localhost.localdomain 2.6.16-1.2096_FC5xen0 #1 SMP Wed Apr 19 > 05:49:52 EDT 2006 i686 i686 i386 GNU/Linux > [root@localhost ~]# xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 1763 2 r----- 926.5 > [root@localhost ~]# cat /etc/xen/xendomain1 > # Automatically generated xen config file > name = "xendomain1" > memory = "256" > disk = [ ''file:/home/xen/xendomain1,xvda,w'' ] > vif = [ ''mac=00:16:3e:32:ca:8f'' ] > bootloader="/usr/bin/pygrub" > > on_reboot = ''restart'' > on_crash = ''restart''Looks fine! Do you have SELinux activated? Have a look at: https://www.redhat.com/archives/fedora-xen/2006-April/msg00173.html Rick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users