|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Problems with starting first virtual domain
> After installing an e100 NIC, my system now boots fine. However, I am unable
> to start the first virtual domain. Here comes the relevant output:
>
> /dev/hda6 is indeed a valid root filesystem, while /dev/hda5 is a swap
> partition. Both are dedicated for the new domain.
> linux:~ # cat /etc/xenctl.xml
> <?xml version="1.0"?>
> <domctl_defaults>
> <domain_name>XenoLinux</domain_name>
> <domain_size_kb>65536</domain_size_kb>
> <domain_image>/boot/xenolinux.gz</domain_image>
> <domain_vifs>1</domain_vifs>
> <root_device>/dev/hda6</root_device>
> <root_args>rw</root_args>
You probably want root_args set to "ro", otherwise fsck will
complain.
> <args>init=/linuxrc 4 DOMID=+</args>
Assuming you've installed hda6 with a standard linux
installation, you probably don't want to explicit set the init
program, or the run level
e.g. <args>DOMID=+</args>
> <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.
> Domain created with arguments:
> /usr/local/bin/xi_create 65536 XenoLinux
> Domain built with arguments:
> /usr/local/bin/xi_build 9 /tmp/xen-image-63036.tmp 1
> ip=192.168.200.26::192.168.200.1:255.255.255.0::eth0:off init=/linuxrc 4
> DOMID=9 root=/dev/hda6 rw
> VIF 0 initialized with arguments:
> /usr/local/bin/xi_vifinit 9 0 192.168.200.26
> Granted physical access to domain 9
> warning: state file not found [/var/lib/xen/vdstate.xml]
> Partition /dev/hda6 (resolved to /dev/hda6) does not exist.
I don't like the look of this last line -- its definitely the
primary cause of your problems.
What version of Xen/Xenolinux are you using? What's the contents of
/proc/xeno/blkdev_info ?
Best,
Ian
-------------------------------------------------------
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
|
|
|
|
|