WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Using Debian packages

xen.log:

[2005-03-17 14:14:36 xend] INFO (SrvDaemon:610) Xend Daemon started
[2005-03-17 14:14:36 xend] INFO (XendRoot:91) EVENT> xend.start 0

network start bridge=xen-br0 netdev=eth0 antispoof=no
Traceback (most recent call last):
  File "/usr/sbin/xend", line 121, in ?
    sys.exit(main())
  File "/usr/sbin/xend", line 107, in main
    return daemon.start()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 
525, in start
    self.run()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 
615, in run
    SrvServer.create(bridge=1)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvServer.py", line 
50, in create
    reactor.listenTCP(port, site, interface=interface)
  File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 
283, in listenTCP
    p.startListening()
  File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 594, in 
startListening
    raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:8000: (98, 
'Address already in use').

... which is from when I first started it with "(xend-port 8000)" in 
/etc/xend-config.sxp, but
which I then changed to 6000. 

ps auxf|grep xen shows:

root       725  0.0  0.0     0    0 ?        S    14:06   0:00 [xenblkd]
root      1503  0.6  5.9 10000 7476 ?        S    15:18   0:00 python 
/usr/sbin/xend start


I hope some of this is useful.

-michal urbanski


On Thu, Mar 17, 2005 at 11:11:33PM -0000, Ian Pratt wrote:
>  
> 
> Please can you see if there's a more helpful error report in
> /var/log/xend.log or /var/log/xend-debug.log
> 
> Thanks,
> Ian
> 
> > I gave up on compiling a kernel the debian way... once I applied the
> > xen patch by running /usr/src/kernel-patches/i386/apply/xen from
> > /usr/src/linux, I did the whole "make ARCH=xen" and manually 
> > copied the
> > resulting vmlinuz to /boot/vmlinuz-2.6.10-xen0.
> > 
> > Now, has anyone else had problems with these debian packages? 
> > I've built
> > a U kernel with my same config, and am using this as my vm config:
> > 
> > kernel = "/boot/vmlinuz-2.6.10-xenU"
> > memory = 256 
> > name = "test"
> > disk = ['file:/var/lib/xen/diskimages/test_disk,sda1,w']
> > disk = ['file:/var/lib/xen/diskimages/test_swap_disk,sda2,w']
> > root = "/dev/sda1 rw"
> > restart = 'never'
> > 
> > but whenever I try "xm create -f vm_test", all I get is:
> > 
> > Using config file "./vm_test".
> > Error: Not Found
> > 
> > Any possible explanations? Have I done something braindead in my vm
> > config?
> > 
> > -michal urbanski
> > 
> > 
> > On Thu, Mar 17, 2005 at 04:48:08PM +0100, Lars E. D. Jensen wrote:
> > > Onsdag den 16. marts 2005 09:17 skrev Ian Pratt:
> > > > > Does the 2.0.5 packages (kernel-patch-xen_2.0.5-1_i386.deb)
> > > > > apply to Debian
> > > > > kernels in the Sarge tree which is 2.6.8 at the moment?
> > > > >
> > > > > If so, is it possible to build a domU kernel using the debian
> > > > > packages too?
> > > >
> > > > If you've got a kernel built with all the drivers as modules, then
> > > > there's little point building a separate domU kernel -- 
> > just use the
> > > > same for privileged and unprivileged domains.
> > > 
> > > Hmmm... I really have problems using those packages.
> > > 
> > > Is there someone who is using those packages, if so... how 
> > do you use them?
> > > 
> > > What kernel-source (from where) are you patching?
> > > 
> > > Maybe a small step-by-step guide would be good.
> > > 
> > > My problem is that I can't get a kernel compiled "the 
> > debian way" ... into a 
> > > debian package.
> > > 
> > > I'm not sure if I should use vanilla or not, but I've 
> > downloaded the vanilla 
> > > 2.6.10 which kernel-patch-xen_2.0.5-1_i386.deb is for (I 
> > think). I've 
> > > installed kernel-patch-xen_2.0.5-1_i386.deb and then copied 
> > my .config into 
> > > source directory and run:
> > > make-kpkg --added-patches=xen --revision=xenserver.0.1 kernel_image
> > > 
> > > It compiles fine, but is this the right way of doing it if 
> > I want a debian 
> > > package?
> > > 
> > > "make ARCH=xen menuconfig" fails since there is no xen arch 
> > in vanilla.
> > > 
> > > Also I get this when trying to install the 2.0.5 Debian packages:
> > > Python C API version mismatch for module xen.lowlevel.xu: 
> > This Python has API 
> > > version 1012, module xen.lowlevel.xu has version 1011.
> > > 
> > > Thanks.
> > > 
> > 
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from 
> > real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>