Greetings all, I have spent the past couple days trying to get this to work and I have no clue what is wrong. I''ve read a lot of walk throughs but they all are either regurgitated versions of the Xen wiki, or don''t apply to what I am trying to do. So here is my situation. I have a Dell SC1435 with a 500G RAID system and running CentOS 5.3 64bit and xen kernel. I want to add some virtual machines to this system. After a LOT of trial and error I moved away from the file based vbds due to very bad io performance. So I am trying to use the LVM-backed vbd option. This is going nowhere for me and I can''t figure out what the heck is wrong. So I created a Volume Group called VG1 and its physical volume is about 400G in size. In VG1 I created my first Logical Volume called "web1". I created an install script that has this: ### kernel = "/boot/vmlinuz-xen-install" ramdisk = "/boot/initrd-xen-install" extra = "text ks=http://testwebserv/ks/minimal-ks.cfg" name = "web1" memory = "1024" disk = [ ''phy:VG1/web1,sda1,w'' ] vif = [ ''bridge=xenbr0'', ] vcpus=1 on_reboot = ''destroy'' on_crash = ''destroy'' ### the KS file above lookes like this: ### install url --url http://mirror.centos.org/centos/5.3/os/i386/ lang en_US.UTF-8 network --device eth0 --bootproto dhcp # Bogus password, change to something sensible! rootpw --iscrypted $1$z.jhfLJ.$bHcj.p0yJUObTaqLKkn8G/ firewall --enabled --port=22 authconfig --enableshadow --enablemd5 selinux --enforcing timezone --utc America/Los_Angeles bootloader --location=mbr --driveorder=sda # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work clearpart --all --drives=sda part /boot --fstype ext3 --size=100 --ondisk=sda part pv.2 --size=0 --grow --ondisk=sda volgroup VG0 --pesize=32768 pv.2 logvol / --fstype ext3 --name=VG0_root --vgname=VG0 --size=1024 --grow logvol swap --fstype swap --name=VG0_swap --vgname=VG0 --size=1000 --grow --maxsize=2048 %packages @editors @text-internet @core @base ### That exact same config works perfectly with a file based vbd. Now I try "xm create web1" and connect to the console via "xm console web1". No problem the installtion starts, runs and when it gets to creating the partition layout, it craps out and says that the device defined in the clearpart doesn''t exist. So I commented out all the partition information with the intention of doing it manually. Sure enough when I get to that point, there arent any devices listed to install onto. I decided to try a different approach and used virt-install with the following command: virt-install -r 1024 --file=/dev/VG1/web1 -v --cdrom=/dev/cdrom That asks me some questions and seems to get started, but then just sorta goes away. If I attempt to console to it it hangs the session. Can someone please offer me some advice about what I am doing wrong. I would really like to try to get this xen system running! Thank you! Geoff Sweet _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Apr 11, 2009 at 6:11 AM, GeoffSweet <geoff.sweet@wemade.com> wrote:> In VG1 I created my first Logical Volume called "web1". > > I created an install script that has this: > ### > kernel = "/boot/vmlinuz-xen-install" > ramdisk = "/boot/initrd-xen-install" > extra = "text ks=http://testwebserv/ks/minimal-ks.cfg" > name = "web1" > memory = "1024" > disk = [ ''phy:VG1/web1,sda1,w'' ]> That exact same config works perfectly with a file based vbd.No it doesn''t. Look at your file-based vbd config again, and you''ll find there''s a BIG difference : sda vs sda1. Your config should be something like disk = [ ''phy:/dev/VG1/web1,sda,w'' ] mapping a file or dom0 LV as domU partition (e.g. sda1 or xvda1) won''t work if you''re using RHEL/Centos installer (i.e. anaconda). You have to map it as domU disk (e.g. sda or xvda). Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
So I tried to take a different stab at this. I have created a Volume Group called VG1, and within it I created a logical volume called web1. So it sits at /dev/VG1/web1 This is what I get: sudo virt-install -r 1024 --file=/dev/VG1/web1 -v --location=http://mirror.centos.org/centos/5.3/os/i386 --name=web1 Would you like to enable graphics support? (yes or no) no Starting install... Retrieving file CentOS... | 472 kB 00:01 Retrieving file boot.iso... | 8.3 MB 00:20 Creating domain... | 0 B 00:00 and that''s it... it just hangs there. The logs in /var/log/xen/xend.log say this for the entire session: [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:200) XendDomainInfo.create([''vm'', [''name'', ''web1''], [''memory'', ''1024''], [''maxmem'', ''1024''], [''vcpus'', ''1''], [''uuid'', ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''destroy''], [''on_crash'', ''destroy''], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib64/xen/bin/qemu-dm''], [''vcpus'', ''1''], [''boot'', ''d''], [''acpi'', ''1''], [''apic'', ''1''], [''pae'', ''1''], [''usb'', ''1''], [''serial'', ''pty'']]], [''device'', [''vbd'', [''dev'', ''hda:disk''], [''uname'', ''phy:/dev/VG1/web1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''dev'', ''hdc:cdrom''], [''uname'', ''file:/var/lib/xen/virtinst-boot.iso.PicwSf''], [''mode'', ''r'']]], [''device'', [''vif'', [''mac'', ''00:16:3e:10:e8:33''], [''bridge'', ''xenbr0'']]]]) [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:312) parseConfig: config is [''vm'', [''name'', ''web1''], [''memory'', ''1024''], [''maxmem'', ''1024''], [''vcpus'', ''1''], [''uuid'', ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''destroy''], [''on_crash'', ''destroy''], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib64/xen/bin/qemu-dm''], [''vcpus'', ''1''], [''boot'', ''d''], [''acpi'', ''1''], [''apic'', ''1''], [''pae'', ''1''], [''usb'', ''1''], [''serial'', ''pty'']]], [''device'', [''vbd'', [''dev'', ''hda:disk''], [''uname'', ''phy:/dev/VG1/web1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''dev'', ''hdc:cdrom''], [''uname'', ''file:/var/lib/xen/virtinst-boot.iso.PicwSf''], [''mode'', ''r'']]], [''device'', [''vif'', [''mac'', ''00:16:3e:10:e8:33''], [''bridge'', ''xenbr0'']]]] [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:417) parseConfig: result is {''shadow_memory'': None, ''start_time'': None, ''uuid'': ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'', ''on_crash'': ''destroy'', ''on_reboot'': ''destroy'', ''localtime'': None, ''image'': [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib64/xen/bin/qemu-dm''], [''vcpus'', ''1''], [''boot'', ''d''], [''acpi'', ''1''], [''apic'', ''1''], [''pae'', ''1''], [''usb'', ''1''], [''serial'', ''pty'']], ''on_poweroff'': ''destroy'', ''bootloader_args'': None, ''cpus'': None, ''name'': ''web1'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 1024, ''device'': [(''vbd'', [''vbd'', [''dev'', ''hda:disk''], [''uname'', ''phy:/dev/VG1/web1''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''dev'', ''hdc:cdrom''], [''uname'', ''file:/var/lib/xen/virtinst-boot.iso.PicwSf''], [''mode'', ''r'']]), (''vif'', [''vif'', [''mac'', ''00:16:3e:10:e8:33''], [''bridge'', ''xenbr0'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': 1024} [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1427) XendDomainInfo.construct: None [2009-04-13 15:33:10 xend 3116] DEBUG (balloon:143) Balloon: 1067556 KiB free; need 2048; done. [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1475) XendDomainInfo.initDomain: 6 1.0 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: boot, val: d [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: fda, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: fdb, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: soundhw, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: localtime, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: serial, val: pty [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: std-vga, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: isa, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: vcpus, val: 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: acpi, val: 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: usb, val: 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: usbdevice, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: k, val: None [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1514) _initDomain:shadow_memory=0x0, maxmem=0x400, memory=0x400. [2009-04-13 15:33:10 xend 3116] DEBUG (balloon:143) Balloon: 1066520 KiB free; need 1065984; done. [2009-04-13 15:33:10 xend 3116] INFO (image:137) buildDomain os=None dom=6 vcpus=1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:273) domid = 6 [2009-04-13 15:33:10 xend 3116] DEBUG (image:274) image = /usr/lib/xen/boot/hvmloader [2009-04-13 15:33:10 xend 3116] DEBUG (image:275) store_evtchn = 2 [2009-04-13 15:33:10 xend 3116] DEBUG (image:276) memsize = 1024 [2009-04-13 15:33:10 xend 3116] DEBUG (image:277) vcpus = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:278) pae = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:279) acpi = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:280) apic = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''768'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/6/768''} to /local/domain/6/device/vbd/768. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController: writing {''domain'': ''web1'', ''frontend'': ''/local/domain/6/device/vbd/768'', ''format'': ''raw'', ''dev'': ''hda'', ''state'': ''1'', ''params'': ''/dev/VG1/web1'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''6'', ''type'': ''phy''} to /local/domain/0/backend/vbd/6/768. [2009-04-13 15:33:10 xend 3116] DEBUG (blkif:27) exception looking up device number for hdc: [Errno 2] No such file or directory: ''/dev/hdc'' [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''5632'', ''device-type'': ''cdrom'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/6/5632''} to /local/domain/6/device/vbd/5632. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController: writing {''domain'': ''web1'', ''frontend'': ''/local/domain/6/device/vbd/5632'', ''format'': ''raw'', ''dev'': ''hdc'', ''state'': ''1'', ''params'': ''/var/lib/xen/virtinst-boot.iso.PicwSf'', ''mode'': ''r'', ''online'': ''1'', ''frontend-id'': ''6'', ''type'': ''file''} to /local/domain/0/backend/vbd/6/5632. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:10:e8:33'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/6/0''} to /local/domain/6/device/vif/0. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''web1'', ''handle'': ''0'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/6/device/vif/0'', ''mac'': ''00:16:3e:10:e8:33'', ''online'': ''1'', ''frontend-id'': ''6''} to /local/domain/0/backend/vif/6/0. [2009-04-13 15:33:10 xend 3116] INFO (image:432) spawning device models: /usr/lib64/xen/bin/qemu-dm [''/usr/lib64/xen/bin/qemu-dm'', ''-d'', ''6'', ''-m'', ''1024'', ''-boot'', ''d'', ''-serial'', ''pty'', ''-vcpus'', ''1'', ''-acpi'', ''-usb'', ''-domain-name'', ''web1'', ''-net'', ''nic,vlan=1,macaddr=00:16:3e:10:e8:33,model=rtl8139'', ''-net'', ''tap,vlan=1,bridge=xenbr0'', ''-nographic''] [2009-04-13 15:33:10 xend 3116] INFO (image:435) device model pid: 5250 [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:797) Storing VM details: {''shadow_memory'': ''9'', ''uuid'': ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'', ''on_reboot'': ''destroy'', ''start_time'': ''1239661990.88'', ''on_poweroff'': ''destroy'', ''name'': ''web1'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''1024'', ''on_crash'': ''destroy'', ''image'': ''(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 1) (boot d) (acpi 1) (apic 1) (pae 1) (usb 1) (serial pty))'', ''maxmem'': ''1024''} [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:832) Storing domain details: {''console/port'': ''3'', ''name'': ''web1'', ''console/limit'': ''1048576'', ''vm'': ''/vm/4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'', ''domid'': ''6'', ''cpu/0/availability'': ''online'', ''memory/target'': ''1048576'', ''store/ring-ref'': ''262142'', ''store/port'': ''2''} [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1036) XendDomainInfo.handleShutdownWatch [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:154) Waiting for devices vif. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:160) Waiting for 0. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices usb. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vbd. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:160) Waiting for 768. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/6/768/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/6/768/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:160) Waiting for 5632. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/6/5632/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices irq. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vkbd. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vfb. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices pci. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices ioports. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices tap. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vtpm. [2009-04-13 15:33:11 xend 3116] INFO (XendDomain:380) Domain web1 (6) unpaused. and the qemu log file says this: domid: 6 qemu: the number of cpus is 1 Watching /local/domain/6/logdirty/next-active char device redirected to /dev/pts/1 qemu_map_cache_init nr_buckets = 10000 shared page at pfn 3ffff buffered io page at pfn 3fffd xs_read(/vm/4cd015a8-8566-ddc8-57ec-ee891fe5f5fd/rtc/timeoffset): read error I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Triggered log-dirty buffer switch Anyone? Anyone at all? I can''t believe this is this difficult... -Geoff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I seem to have gotten it to work by going back to my original config ### kernel = "/boot/vmlinuz-xen-install" ramdisk = "/boot/initrd-xen-install" extra = "text" name = "web1" memory = "1024" disk = [ ''phy:/dev/VG1/web1,xvda,w'' ] vif = [ ''bridge=xenbr0'', ] vcpus=1 on_reboot = ''destroy'' on_crash = ''destroy'' ### and exporting the LVM parition as the device "xvda" instead of "sda". Seems to like that alright. Guess I will stick with it and see how things work. -Geoff ________________________________________ From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of GeoffSweet [geoff.sweet@wemade.com] Sent: Monday, April 13, 2009 3:38 PM To: xen-users@lists.xensource.com Subject: RE: [Xen-users] Unable to create virtual systems So I tried to take a different stab at this. I have created a Volume Group called VG1, and within it I created a logical volume called web1. So it sits at /dev/VG1/web1 This is what I get: sudo virt-install -r 1024 --file=/dev/VG1/web1 -v --location=http://mirror.centos.org/centos/5.3/os/i386 --name=web1 Would you like to enable graphics support? (yes or no) no Starting install... Retrieving file CentOS... | 472 kB 00:01 Retrieving file boot.iso... | 8.3 MB 00:20 Creating domain... | 0 B 00:00 and that''s it... it just hangs there. The logs in /var/log/xen/xend.log say this for the entire session: [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:200) XendDomainInfo.create([''vm'', [''name'', ''web1''], [''memory'', ''1024''], [''maxmem'', ''1024''], [''vcpus'', ''1''], [''uuid'', ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''destroy''], [''on_crash'', ''destroy''], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib64/xen/bin/qemu-dm''], [''vcpus'', ''1''], [''boot'', ''d''], [''acpi'', ''1''], [''apic'', ''1''], [''pae'', ''1''], [''usb'', ''1''], [''serial'', ''pty'']]], [''device'', [''vbd'', [''dev'', ''hda:disk''], [''uname'', ''phy:/dev/VG1/web1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''dev'', ''hdc:cdrom''], [''uname'', ''file:/var/lib/xen/virtinst-boot.iso.PicwSf''], [''mode'', ''r'']]], [''device'', [''vif'', [''mac'', ''00:16:3e:10:e8:33''], [''bridge'', ''xenbr0'']]]]) [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:312) parseConfig: config is [''vm'', [''name'', ''web1''], [''memory'', ''1024''], [''maxmem'', ''1024''], [''vcpus'', ''1''], [''uuid'', ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''destroy''], [''on_crash'', ''destroy''], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib64/xen/bin/qemu-dm''], [''vcpus'', ''1''], [''boot'', ''d''], [''acpi'', ''1''], [''apic'', ''1''], [''pae'', ''1''], [''usb'', ''1''], [''serial'', ''pty'']]], [''device'', [''vbd'', [''dev'', ''hda:disk''], [''uname'', ''phy:/dev/VG1/web1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''dev'', ''hdc:cdrom''], [''uname'', ''file:/var/lib/xen/virtinst-boot.iso.PicwSf''], [''mode'', ''r'']]], [''device'', [''vif'', [''mac'', ''00:16:3e:10:e8:33''], [''bridge'', ''xenbr0'']]]] [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:417) parseConfig: result is {''shadow_memory'': None, ''start_time'': None, ''uuid'': ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'', ''on_crash'': ''destroy'', ''on_reboot'': ''destroy'', ''localtime'': None, ''image'': [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib64/xen/bin/qemu-dm''], [''vcpus'', ''1''], [''boot'', ''d''], [''acpi'', ''1''], [''apic'', ''1''], [''pae'', ''1''], [''usb'', ''1''], [''serial'', ''pty'']], ''on_poweroff'': ''destroy'', ''bootloader_args'': None, ''cpus'': None, ''name'': ''web1'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 1024, ''device'': [(''vbd'', [''vbd'', [''dev'', ''hda:disk''], [''uname'', ''phy:/dev/VG1/web1''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''dev'', ''hdc:cdrom''], [''uname'', ''file:/var/lib/xen/virtinst-boot.iso.PicwSf''], [''mode'', ''r'']]), (''vif'', [''vif'', [''mac'', ''00:16:3e:10:e8:33''], [''bridge'', ''xenbr0'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': 1024} [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1427) XendDomainInfo.construct: None [2009-04-13 15:33:10 xend 3116] DEBUG (balloon:143) Balloon: 1067556 KiB free; need 2048; done. [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1475) XendDomainInfo.initDomain: 6 1.0 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: boot, val: d [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: fda, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: fdb, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: soundhw, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: localtime, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: serial, val: pty [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: std-vga, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: isa, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: vcpus, val: 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: acpi, val: 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: usb, val: 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: usbdevice, val: None [2009-04-13 15:33:10 xend 3116] DEBUG (image:328) args: k, val: None [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1514) _initDomain:shadow_memory=0x0, maxmem=0x400, memory=0x400. [2009-04-13 15:33:10 xend 3116] DEBUG (balloon:143) Balloon: 1066520 KiB free; need 1065984; done. [2009-04-13 15:33:10 xend 3116] INFO (image:137) buildDomain os=None dom=6 vcpus=1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:273) domid = 6 [2009-04-13 15:33:10 xend 3116] DEBUG (image:274) image = /usr/lib/xen/boot/hvmloader [2009-04-13 15:33:10 xend 3116] DEBUG (image:275) store_evtchn = 2 [2009-04-13 15:33:10 xend 3116] DEBUG (image:276) memsize = 1024 [2009-04-13 15:33:10 xend 3116] DEBUG (image:277) vcpus = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:278) pae = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:279) acpi = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (image:280) apic = 1 [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''768'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/6/768''} to /local/domain/6/device/vbd/768. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController: writing {''domain'': ''web1'', ''frontend'': ''/local/domain/6/device/vbd/768'', ''format'': ''raw'', ''dev'': ''hda'', ''state'': ''1'', ''params'': ''/dev/VG1/web1'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''6'', ''type'': ''phy''} to /local/domain/0/backend/vbd/6/768. [2009-04-13 15:33:10 xend 3116] DEBUG (blkif:27) exception looking up device number for hdc: [Errno 2] No such file or directory: ''/dev/hdc'' [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''5632'', ''device-type'': ''cdrom'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/6/5632''} to /local/domain/6/device/vbd/5632. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController: writing {''domain'': ''web1'', ''frontend'': ''/local/domain/6/device/vbd/5632'', ''format'': ''raw'', ''dev'': ''hdc'', ''state'': ''1'', ''params'': ''/var/lib/xen/virtinst-boot.iso.PicwSf'', ''mode'': ''r'', ''online'': ''1'', ''frontend-id'': ''6'', ''type'': ''file''} to /local/domain/0/backend/vbd/6/5632. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:10:e8:33'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/6/0''} to /local/domain/6/device/vif/0. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:112) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''web1'', ''handle'': ''0'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/6/device/vif/0'', ''mac'': ''00:16:3e:10:e8:33'', ''online'': ''1'', ''frontend-id'': ''6''} to /local/domain/0/backend/vif/6/0. [2009-04-13 15:33:10 xend 3116] INFO (image:432) spawning device models: /usr/lib64/xen/bin/qemu-dm [''/usr/lib64/xen/bin/qemu-dm'', ''-d'', ''6'', ''-m'', ''1024'', ''-boot'', ''d'', ''-serial'', ''pty'', ''-vcpus'', ''1'', ''-acpi'', ''-usb'', ''-domain-name'', ''web1'', ''-net'', ''nic,vlan=1,macaddr=00:16:3e:10:e8:33,model=rtl8139'', ''-net'', ''tap,vlan=1,bridge=xenbr0'', ''-nographic''] [2009-04-13 15:33:10 xend 3116] INFO (image:435) device model pid: 5250 [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:797) Storing VM details: {''shadow_memory'': ''9'', ''uuid'': ''4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'', ''on_reboot'': ''destroy'', ''start_time'': ''1239661990.88'', ''on_poweroff'': ''destroy'', ''name'': ''web1'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''1024'', ''on_crash'': ''destroy'', ''image'': ''(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 1) (boot d) (acpi 1) (apic 1) (pae 1) (usb 1) (serial pty))'', ''maxmem'': ''1024''} [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:832) Storing domain details: {''console/port'': ''3'', ''name'': ''web1'', ''console/limit'': ''1048576'', ''vm'': ''/vm/4cd015a8-8566-ddc8-57ec-ee891fe5f5fd'', ''domid'': ''6'', ''cpu/0/availability'': ''online'', ''memory/target'': ''1048576'', ''store/ring-ref'': ''262142'', ''store/port'': ''2''} [2009-04-13 15:33:10 xend.XendDomainInfo 3116] DEBUG (XendDomainInfo:1036) XendDomainInfo.handleShutdownWatch [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:154) Waiting for devices vif. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:160) Waiting for 0. [2009-04-13 15:33:10 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices usb. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vbd. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:160) Waiting for 768. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/6/768/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/6/768/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:160) Waiting for 5632. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/6/5632/hotplug-status. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices irq. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vkbd. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vfb. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices pci. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices ioports. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices tap. [2009-04-13 15:33:11 xend 3116] DEBUG (DevController:154) Waiting for devices vtpm. [2009-04-13 15:33:11 xend 3116] INFO (XendDomain:380) Domain web1 (6) unpaused. and the qemu log file says this: domid: 6 qemu: the number of cpus is 1 Watching /local/domain/6/logdirty/next-active char device redirected to /dev/pts/1 qemu_map_cache_init nr_buckets = 10000 shared page at pfn 3ffff buffered io page at pfn 3fffd xs_read(/vm/4cd015a8-8566-ddc8-57ec-ee891fe5f5fd/rtc/timeoffset): read error I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Triggered log-dirty buffer switch Anyone? Anyone at all? I can''t believe this is this difficult... -Geoff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users