On Tuesday 11 November 2003 11:33, Ian Pratt wrote:
> > > > <nw_ip>=+</nw_ip>
> > > This will set the IP address to dom0's IP address plus the
> > > current domainID. You might want to set this to a fixed value.
> > That was my first choice, but this is the problem:
>
> I'm slightly confused: The xenctl file you list below doesn't
> have a '+' in nw_ip.
>
> One option is to explicitly set the IP address in the
> /etc/xen-domainX scripts, using the "-4" option to "domain new"
>
> I haven't tried this in a while, but it should work.
Ok, the problem was <nw_ip>=192.168.200.18</nw_ip>, where it should be
<nw_ip>192.168.200.18</nw_ip>.
> Have you tried using "-phda6" as Bin suggests?
Yes and the error is gone. However, new problems had arrised, output:
linux:~ # xenctl script -f/etc/xen-domain1
Domain defaults:
name XenoLinux
size 65536
vifs 1
domainImage /boot/xenolinux.gz
domainInitRD null
rootDevice /dev/hda6
rootArgs rw
usrDevice null
NWIP 192.168.200.18
NWGW 192.168.200.1
NWMask 255.255.255.0
MaxDomainNumber 100
NWNFSServer null
NWNFSRoot null
XIToolsDir /usr/local/bin/
args init=/linuxrc 4 DOMID=+
Domain created with arguments:
/usr/local/bin/xi_create 65536 XenoLinux
Domain built with arguments:
/usr/local/bin/xi_build 1 /tmp/xen-image-20644.tmp 1
ip=192.168.200.18::192.168.200.1:255.255.255.0::eth0:off init=/linuxrc 4
DOMID=1 root=/dev/hda6 rw
VIF 0 initialized with arguments:
/usr/local/bin/xi_vifinit 1 0 192.168.200.18
Granted physical access to domain 1
warning: state file not found [/var/lib/xen/vdstate.xml]
Granted physical access to domain 1
warning: state file not found [/var/lib/xen/vdstate.xml]
Granted physical access to domain 1
Started domain 1
linux:~ # xenctl domain list
id: 0 (Domain-0)
processor: 0
has cpu: true
state: 0 running
mcu advance: 10
total pages: 16384
So domain dissappears immediately after it is started!?
> > 1.0 from XenDemoCD, have some trouble compiling 1.1 RC 1 snapshot
> > (something about memcpy).
>
> Someone else spotted a gcc version specific compile error in the
> unstable tree and a fix is now checked in.
Hm... with 1.1 RC 1 snapshot:
ld -T xeno.lds -N boot/boot.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/common/common.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/net/network.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/char/driver.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/pci/driver.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/net/driver.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/block/driver.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/cdrom/driver.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/ide/driver.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/scsi/driver.o
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/arch/i386/arch.o
-o /home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/image
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/net/driver.o(.text+0x1cf):
In function `e1000_ethtool_ioctl':
: undefined reference to `memcpy'
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/net/driver.o(.text+0x401):
In function `e1000_ethtool_ioctl':
: undefined reference to `memcpy'
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/net/driver.o(.text+0x9746):
In function `vortex_ioctl':
: undefined reference to `memcpy'
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/net/driver.o(.text+0xdcb8):
In function `tg3_ioctl':
: undefined reference to `memcpy'
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/net/driver.o(.text+0x2e74e):
In function `private_ioctl':
: undefined reference to `memcpy'
/home/tvrtko/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk/xen/drivers/net/driver.o(.text.init+0xf31):
more undefined references to `memcpy' follow
make[2]: *** [default] Error 1
Is this the error or this is something new?
GCC version:
tvrtko@oxygene:~/croadria/xen/xeno-1.1.bk/xeno-clone/xeno-1.1.bk> gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
--
Croadria Internet usluge <http://www.croadria.com>
- Web hosting (Linux & Windows), E-commerce
Podrska: <http://podrska.croadria.com>
Tel: 01/4657 818, 01/4655 601 Fax: 01/4657 819
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|