José Alberto Suárez López
2007-Mar-12 15:41 UTC
[Xen-users] booting an ISO inside Xen (full virt)
Hi list, I''m using Dom0 gentoo with xen 3.0.4 and xenman. I have several DomU working and it is really nice :) so all my DomUs are installed with disk images. Now i want to use an ISO to boot and install a linux system (or win). When i try to boot the DomU i dont have nothing, nothing relevant (for me) in logs and i can connect to the console. The state of the DomU is unknow. Any help please? i''m going crazy. xm list output: peggy xen # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1195 2 r----- 8671.1 centos 44 128 1 -b---- 106.8 general_100.28 40 256 1 -b---- 12.9 iso 45 256 1 ------ 0.0 Yes, the ISo works, i tryed with different distros (ubuntu, gentoo, etc) and Yes i can mount the ISO in a loop device w/o problems. Any clue is welcome, i will cry soon :( I''m usign this cfg: import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' name=''iso'' kernel=''/usr/lib/xen/boot/hvmloader'' builder=''hvm'' memory=256 shadow_memory=10 #vcpus=1»···# number of vcpu''s #cpus = "0"»# all vcpus run on CPU0 pae=0 acpi=0 apic=0 vif=[''type=ioemu, bridge=xenbr0''] disk=[''file:/var/xen/iso.disk.xm,hda,w'', ''file:/var/xen/stresslinux-0.3.1.iso,hdc:cdrom,r''] device_model = ''/usr/'' + arch_libdir + ''/usr/lib/xen/bin/qemu-dm'' # Boots from CDROM.· # Change to ''c'' after windows installation in order to boot from disk. boot=''d'' #boot=''c''· sdl=0 vnc=1 vncunused=0 stdvga=0 extra='''' on_reboot=''restart'' on_shutdown=''rename-restart'' ramdisk='''' image_name=''Linux_CD_Install'' on_crash=''destroy'' image_conf=''/var/log/xenman/image_store/Linux_CD_Install/Linux_CD_Install_iso_image.conf'' bootloader='''' vcpus=1 root='''' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Mar-12 15:52 UTC
RE: [Xen-users] booting an ISO inside Xen (full virt)
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > José Alberto Suárez López > Sent: 12 March 2007 15:41 > To: xen-users@lists.xensource.com > Subject: [Xen-users] booting an ISO inside Xen (full virt) > > Hi list, > > I''m using Dom0 gentoo with xen 3.0.4 and xenman. I have > several DomU working and it is really nice :) > so all my DomUs are installed with disk images. Now i want to > use an ISO to boot and install a linux system (or win).I do this all the time, either directly from the CD/DVD or ISO files, and it works fine. [My work is with HVM mode of Xen, which essentially means that I have to install "unpatched" OS''s all the time, so I install XP, Win2K3, SuSE, etc, etc every now and again - even "Memtest86" works in Xen HVM if you like (at least it did a while back)].> > When i try to boot the DomU i dont have nothing, nothing > relevant (for me) in logs and i can connect to the console. > The state of the DomU is unknow. Any help please? i''m going crazy. > > xm list output: > > peggy xen # xm list > Name ID Mem VCPUs > State Time(s) > Domain-0 0 1195 2 > r----- 8671.1 > centos 44 128 1 > -b---- 106.8 > general_100.28 40 256 1 > -b---- 12.9 > iso 45 256 1 > ------ 0.0 > > Yes, the ISo works, i tryed with different distros (ubuntu, > gentoo, etc) and Yes i can mount the ISO in a loop device w/o > problems.Can you see if the /var/log/xen/qemu*.log contais anything useful, likewise for /var/log/xen/xend{,-debug}.log ? -- Mats> > Any clue is welcome, i will cry soon :( > > I''m usign this cfg: > > import os, re > arch = os.uname()[4] > if re.search(''64'', arch): > arch_libdir = ''lib64'' > else: > arch_libdir = ''lib'' > > name=''iso'' > > kernel=''/usr/lib/xen/boot/hvmloader'' > builder=''hvm'' > > > memory=256 > shadow_memory=10 > #vcpus=1»···# number of vcpu''s > #cpus = "0"»# all vcpus run on CPU0 > > pae=0 > acpi=0 > apic=0 > > vif=[''type=ioemu, bridge=xenbr0''] > disk=[''file:/var/xen/iso.disk.xm,hda,w'', > ''file:/var/xen/stresslinux-0.3.1.iso,hdc:cdrom,r''] > > device_model = ''/usr/'' + arch_libdir + ''/usr/lib/xen/bin/qemu-dm'' > > # Boots from CDROM.· > # Change to ''c'' after windows installation in order to boot from disk. > boot=''d'' > #boot=''c''· > > sdl=0 > vnc=1 > vncunused=0 > stdvga=0 > extra='''' > on_reboot=''restart'' > on_shutdown=''rename-restart'' > ramdisk='''' > image_name=''Linux_CD_Install'' > on_crash=''destroy'' > image_conf=''/var/log/xenman/image_store/Linux_CD_Install/Linux > _CD_Install_iso_image.conf'' > bootloader='''' > vcpus=1 > root='''' > > > _______________________________________________ > 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
Mark Williamson
2007-Mar-13 01:02 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
Please don''t cry just yet! ;-) Have you tried connecting to the VNC console for that domain? It should be on port 5900 + domid or you could just enable the SDL display... Did it give you any output? Cheers, Mark On Monday 12 March 2007 15:41, José Alberto Suárez López wrote:> Hi list, > > I''m using Dom0 gentoo with xen 3.0.4 and xenman. I have several DomU > working and it is really nice :) so all my DomUs are installed with disk > images. Now i want to use an ISO to boot and install a linux system (or > win). > > When i try to boot the DomU i dont have nothing, nothing relevant (for me) > in logs and i can connect to the console. The state of the DomU is unknow. > Any help please? i''m going crazy. > > xm list output: > > peggy xen # xm list > Name ID Mem VCPUs State > Time(s) Domain-0 0 1195 2 r----- > 8671.1 centos 44 128 1 > -b---- 106.8 general_100.28 40 256 1 > -b---- 12.9 iso 45 256 1 > ------ 0.0 > > Yes, the ISo works, i tryed with different distros (ubuntu, gentoo, etc) > and Yes i can mount the ISO in a loop device w/o problems. > > Any clue is welcome, i will cry soon :( > > I''m usign this cfg: > > import os, re > arch = os.uname()[4] > if re.search(''64'', arch): > arch_libdir = ''lib64'' > else: > arch_libdir = ''lib'' > > name=''iso'' > > kernel=''/usr/lib/xen/boot/hvmloader'' > builder=''hvm'' > > > memory=256 > shadow_memory=10 > #vcpus=1»···# number of vcpu''s > #cpus = "0"»# all vcpus run on CPU0 > > pae=0 > acpi=0 > apic=0 > > vif=[''type=ioemu, bridge=xenbr0''] > disk=[''file:/var/xen/iso.disk.xm,hda,w'', > ''file:/var/xen/stresslinux-0.3.1.iso,hdc:cdrom,r''] > > device_model = ''/usr/'' + arch_libdir + ''/usr/lib/xen/bin/qemu-dm'' > > # Boots from CDROM.· > # Change to ''c'' after windows installation in order to boot from disk. > boot=''d'' > #boot=''c''· > > sdl=0 > vnc=1 > vncunused=0 > stdvga=0 > extra='''' > on_reboot=''restart'' > on_shutdown=''rename-restart'' > ramdisk='''' > image_name=''Linux_CD_Install'' > on_crash=''destroy'' > image_conf=''/var/log/xenman/image_store/Linux_CD_Install/Linux_CD_Install_i >so_image.conf'' bootloader='''' > vcpus=1 > root='''' > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
José Alberto Suárez López
2007-Mar-13 10:22 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
Thanks Mark and Matt, i tryed sdl=1 and then: peggy xen # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1195 2 r----- 9024.0 centos 44 128 1 -b---- 111.0 general_100.28 40 256 1 -b---- 18.6 iso 47 256 1 ------ 0.0 peggy xen # xm console 47 xenconsole: Could not read tty from store: No such file or directory And: peggy xen # netstat -tuna | grep 5900 peggy xen # netstat -tuna | grep 5947 so not vnc running. And in logs i have this: peggy xen # tail -f /var/log/xen/qemu*.log /var/log/xen/xend{,-debug}.log [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''iso''], [''memory'', 256], [''shadow_memory'', 10], [''on_reboot'', ''restart''], [''on_crash'', ''destroy''], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib/usr/lib/xen/bin/qemu-dm''], [''pae'', 0], [''vcpus'', 1], [''boot'', ''d''], [''fda'', ''''], [''fdb'', ''''], [''localtime'', 0], [''serial'', ''''], [''stdvga'', 0], [''isa'', 0], [''nographic'', 0], [''soundhw'', ''''], [''vnc'', 1], [''vncunused'', 0], [''sdl'', 1], [''display'', ''localhost:11.0''], [''xauthority'', ''/root/.Xauthority''], [''acpi'', 0], [''apic'', 0], [''usb'', 0], [''usbdevice'', ''''], [''keymap'', ''''], [''vncpasswd'', ''XXXXXXXX'']]], [''device'', [''vbd'', [''uname'', ''file:/var/xen/iso.disk.xm''], [''dev'', ''hda''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/var/xen/ubuntu-6.10-desktop-i386.iso''], [''dev'', ''hdc:cdrom''], [''mode'', ''r'']]], [''device'', [''vif'', [''bridge'', ''xenbr0''], [''type'', ''ioemu'']]]]) [2007-03-13 11:17:43 xend.XendConfig 3738] WARNING (XendConfig:607) Unconverted key: cpus [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 48 256 [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: boot, val: d [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: fda, val: [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: fdb, val: [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: soundhw, val: [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: localtime, val: 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: serial, val: [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: std-vga, val: 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: isa, val: 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: vcpus, val: 1 [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: acpi, val: 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: usb, val: 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: usbdevice, val: [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: k, val: [2007-03-13 11:17:43 xend 3738] DEBUG (balloon:127) Balloon: 451064 KiB free; need 280576; done. [2007-03-13 11:17:43 xend 3738] INFO (image:125) buildDomain os=hvm dom=48 vcpus=1 [2007-03-13 11:17:43 xend 3738] DEBUG (image:347) domid = 48 [2007-03-13 11:17:43 xend 3738] DEBUG (image:348) image = /usr/lib/xen/boot/hvmloader [2007-03-13 11:17:43 xend 3738] DEBUG (image:349) store_evtchn = 2 [2007-03-13 11:17:43 xend 3738] DEBUG (image:350) memsize = 256 [2007-03-13 11:17:43 xend 3738] DEBUG (image:351) vcpus = 1 [2007-03-13 11:17:43 xend 3738] DEBUG (image:352) pae = 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:353) acpi = 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:354) apic = 0 [2007-03-13 11:17:43 xend 3738] DEBUG (image:521) hvm shutdown watch registered [2007-03-13 11:17:43 xend 3738] DEBUG (image:560) hvm reboot feature watch registered [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO (XendDomainInfo:1194) createDevice: vbd : {''uname'': ''file:/var/xen/iso.disk.xm'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': ''hda'', ''uuid'': ''3a057770-4583-a409-f57a-a1bbfef8a85e''} [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''768'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/48/768''} to /local/domain/48/device/vbd/768. [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) DevController: writing {''domain'': ''iso'', ''frontend'': ''/local/domain/48/device/vbd/768'', ''uuid'': ''3a057770-4583-a409-f57a-a1bbfef8a85e'', ''dev'': ''hda'', ''state'': ''1'', ''params'': ''/var/xen/iso.disk.xm'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to /local/domain/0/backend/vbd/48/768. [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO (XendDomainInfo:1194) createDevice: vif : {''bridge'': ''xenbr0'', ''type'': ''ioemu'', ''uuid'': ''2918c890-9d85-4006-c1bd-1028257f9d21''} [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/vif/48/0''} to /local/domain/48/device/vif/0. [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''iso'', ''handle'': ''0'', ''uuid'': ''2918c890-9d85-4006-c1bd-1028257f9d21'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/48/device/vif/0'', ''mac'': ''00:16:3e:3f:9f:41'', ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''ioemu''} to /local/domain/0/backend/vif/48/0. [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO (XendDomainInfo:1194) createDevice: vbd : {''uname'': ''file:/var/xen/ubuntu-6.10-desktop-i386.iso'', ''driver'': ''paravirtualised'', ''mode'': ''r'', ''dev'': ''hdc:cdrom'', ''uuid'': ''be0394f0-4ef6-c3b8-9eeb-ed1220e62d09''} [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''5632'', ''device-type'': ''cdrom'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/48/5632''} to /local/domain/48/device/vbd/5632. [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) DevController: writing {''domain'': ''iso'', ''frontend'': ''/local/domain/48/device/vbd/5632'', ''uuid'': ''be0394f0-4ef6-c3b8-9eeb-ed1220e62d09'', ''dev'': ''hdc'', ''state'': ''1'', ''params'': ''/var/xen/ubuntu-6.10-desktop-i386.iso'', ''mode'': ''r'', ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to /local/domain/0/backend/vbd/48/5632. [2007-03-13 11:17:43 xend 3738] INFO (image:489) spawning device models: /usr/lib/usr/lib/xen/bin/qemu-dm [''/usr/lib/usr/lib/xen/bin/qemu-dm'', ''-d'', ''48'', ''-m'', ''256'', ''-boot'', ''d'', ''-vcpus'', ''1'', ''-domain-name'', ''iso'', ''-net'', ''nic,vlan=1,macaddr=00:16:3e:1b:af:f5,model=rtl8139'', ''-net'', ''tap,vlan=1,bridge=xenbr0'', ''-vnc'', ''48'', ''-vnclisten'', ''127.0.0.1''] [2007-03-13 11:17:43 xend 3738] INFO (image:493) device model pid: 10954 [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG (XendDomainInfo:1714) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''10'', ''uuid'': ''4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''name'': ''iso'', ''on_reboot'': ''restart'', ''start_time'': ''1173781063.93'', ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', ''on_crash'': ''destroy'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''256'', ''image'': ''(hvm (kernel /usr/lib/xen/boot/hvmloader) (nographic 0) (vnc 1) (sdl 1) (vncunused 0) (device_model /usr/lib/usr/lib/xen/bin/qemu-dm) (display localhost:11.0) (xauthority /root/.Xauthority) (boot d) (isa 0) (localtime 0) (usb 0) (vcpus 1))'', ''maxmem'': ''256''} [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG (XendDomainInfo:731) Storing domain details: {''console/port'': ''3'', ''name'': ''iso'', ''console/limit'': ''1048576'', ''vm'': ''/vm/4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''domid'': ''48'', ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', ''store/ring-ref'': ''65534'', ''store/port'': ''2''} [2007-03-13 11:17:43 xend 3738] DEBUG (XendDomain:428) Adding Domain: 48 [2007-03-13 11:17:43 xend 3738] DEBUG (image:547) hvm_shutdown fired, shutdown reason=None [2007-03-13 11:17:43 xend 3738] DEBUG (image:579) hvm_reboot_feature fired, module status=None [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG (XendDomainInfo:731) Storing domain details: {''console/port'': ''3'', ''name'': ''iso'', ''console/limit'': ''1048576'', ''vm'': ''/vm/4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''domid'': ''48'', ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', ''store/ring-ref'': ''65534'', ''store/port'': ''2''} [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:148) Waiting for devices vif. [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:153) Waiting for 0. [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vif/48/0/hotplug-status. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vif/48/0/hotplug-status. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:535) hotplugStatusCallback 1. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:148) Waiting for devices usb. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:148) Waiting for devices vbd. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:153) Waiting for 768. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/48/768/hotplug-status. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/48/768/hotplug-status. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:535) hotplugStatusCallback 1. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:153) Waiting for 5632. [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/48/5632/hotplug-status. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:521) hotplugStatusCallback /local/domain/0/backend/vbd/48/5632/hotplug-status. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:535) hotplugStatusCallback 1. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) Waiting for devices irq. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) Waiting for devices vkbd. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) Waiting for devices vfb. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) Waiting for devices pci. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) Waiting for devices ioports. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) Waiting for devices tap. [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) Waiting for devices vtpm. [2007-03-13 11:17:45 xend 3738] INFO (XendDomain:1020) Domain iso (48) unpaused. ----- Mark Williamson <mark.williamson@cl.cam.ac.uk> wrote: | Please don''t cry just yet! ;-) | | Have you tried connecting to the VNC console for that domain? It | should be on | port 5900 + domid or you could just enable the SDL display... | | Did it give you any output? | | Cheers, | Mark | | On Monday 12 March 2007 15:41, José Alberto Suárez López wrote: | > Hi list, | > | > I''m using Dom0 gentoo with xen 3.0.4 and xenman. I have several | DomU | > working and it is really nice :) so all my DomUs are installed with | disk | > images. Now i want to use an ISO to boot and install a linux system | (or | > win). | > | > When i try to boot the DomU i dont have nothing, nothing relevant | (for me) | > in logs and i can connect to the console. The state of the DomU is | unknow. | > Any help please? i''m going crazy. | > | > xm list output: | > | > peggy xen # xm list | > Name ID Mem VCPUs State | | > Time(s) Domain-0 0 1195 2 | r----- | > 8671.1 centos 44 128 1 | | > -b---- 106.8 general_100.28 40 256 | 1 | > -b---- 12.9 iso 45 256 | 1 | > ------ 0.0 | > | > Yes, the ISo works, i tryed with different distros (ubuntu, gentoo, | etc) | > and Yes i can mount the ISO in a loop device w/o problems. | > | > Any clue is welcome, i will cry soon :( | > | > I''m usign this cfg: | > | > import os, re | > arch = os.uname()[4] | > if re.search(''64'', arch): | > arch_libdir = ''lib64'' | > else: | > arch_libdir = ''lib'' | > | > name=''iso'' | > | > kernel=''/usr/lib/xen/boot/hvmloader'' | > builder=''hvm'' | > | > | > memory=256 | > shadow_memory=10 | > #vcpus=1»···# number of vcpu''s | > #cpus = "0"»# all vcpus run on CPU0 | > | > pae=0 | > acpi=0 | > apic=0 | > | > vif=[''type=ioemu, bridge=xenbr0''] | > disk=[''file:/var/xen/iso.disk.xm,hda,w'', | > ''file:/var/xen/stresslinux-0.3.1.iso,hdc:cdrom,r''] | > | > device_model = ''/usr/'' + arch_libdir + ''/usr/lib/xen/bin/qemu-dm'' | > | > # Boots from CDROM.· | > # Change to ''c'' after windows installation in order to boot from | disk. | > boot=''d'' | > #boot=''c''· | > | > sdl=0 | > vnc=1 | > vncunused=0 | > stdvga=0 | > extra='''' | > on_reboot=''restart'' | > on_shutdown=''rename-restart'' | > ramdisk='''' | > image_name=''Linux_CD_Install'' | > on_crash=''destroy'' | > | image_conf=''/var/log/xenman/image_store/Linux_CD_Install/Linux_CD_Install_i | >so_image.conf'' bootloader='''' | > vcpus=1 | > root='''' | > | > | > _______________________________________________ | > Xen-users mailing list | > Xen-users@lists.xensource.com | > http://lists.xensource.com/xen-users | | -- | Dave: Just a question. What use is a unicyle with no seat? And no | pedals! | Mark: To answer a question with a question: What use is a skateboard? | Dave: Skateboards have wheels. | Mark: My wheel has a wheel! -- José Alberto Suárez López Técnico I+D / Administrador Eneo Tecnología S.L. <www.eneotecnologia.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Mar-13 10:40 UTC
RE: [Xen-users] booting an ISO inside Xen (full virt)
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > José Alberto Suárez López > Sent: 13 March 2007 10:22 > To: Mark Williamson > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > Thanks Mark and Matt, > > i tryed sdl=1 and then: > > peggy xen # xm list > Name ID Mem VCPUs > State Time(s) > Domain-0 0 1195 2 > r----- 9024.0 > centos 44 128 1 > -b---- 111.0 > general_100.28 40 256 1 > -b---- 18.6 > iso 47 256 1 > ------ 0.0 > peggy xen # xm console 47 > xenconsole: Could not read tty from store: No such file or directoryxm console doesn''t work (without effort from the user) for HVM domains, because the console setting needs to be a particular way in the configuration.> > And: > > peggy xen # netstat -tuna | grep 5900 > peggy xen # netstat -tuna | grep 5947 > > so not vnc running. > > And in logs i have this: > > peggy xen # tail -f /var/log/xen/qemu*.log > /var/log/xen/xend{,-debug}.log > > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG > (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', > ''iso''], [''memory'', 256], [''shadow_memory'', 10], [''on_reboot'', > ''restart''], [''on_crash'', ''destroy''], [''vcpus'', 1], > [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], > [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], > [''device_model'', ''/usr/lib/usr/lib/xen/bin/qemu-dm''], [''pae'', > 0], [''vcpus'', 1], [''boot'', ''d''], [''fda'', ''''], [''fdb'', ''''], > [''localtime'', 0], [''serial'', ''''], [''stdvga'', 0], [''isa'', 0], > [''nographic'', 0], [''soundhw'', ''''], [''vnc'', 1], [''vncunused'', > 0], [''sdl'', 1], [''display'', ''localhost:11.0''], [''xauthority'', > ''/root/.Xauthority''], [''acpi'', 0], [''apic'', 0], [''usb'', 0], > [''usbdevice'', ''''], [''keymap'', ''''], [''vncpasswd'', > ''XXXXXXXX'']]], [''device'', [''vbd'', [''uname'', > ''file:/var/xen/iso.disk.xm''], [''dev'', ''hda''], [''mode'', > ''w'']]], [''device'', [''vbd'', [''uname'', > ''file:/var/xen/ubuntu-6.10-desktop-i386.iso''], [''dev'', > ''hdc:cdrom''], [''mode'', ''r'']]], [''device'', [''vif'', [''bridge'', > ''xenbr0''], [''type'', ''ioemu'']]]]) > [2007-03-13 11:17:43 xend.XendConfig 3738] WARNING > (XendConfig:607) Unconverted key: cpus > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG > (XendDomainInfo:1284) XendDomainInfo.constructDomain > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG > (XendDomainInfo:1330) XendDomainInfo.initDomain: 48 256 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: boot, val: d > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: fda, val: > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: fdb, val: > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: soundhw, val: > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: > localtime, val: 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: serial, val: > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: > std-vga, val: 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: isa, val: 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: vcpus, val: 1 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: acpi, val: 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: usb, val: 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: > usbdevice, val: > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: k, val: > [2007-03-13 11:17:43 xend 3738] DEBUG (balloon:127) Balloon: > 451064 KiB free; need 280576; done. > [2007-03-13 11:17:43 xend 3738] INFO (image:125) buildDomain > os=hvm dom=48 vcpus=1 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:347) domid = 48 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:348) image > = /usr/lib/xen/boot/hvmloader > [2007-03-13 11:17:43 xend 3738] DEBUG (image:349) store_evtchn = 2 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:350) memsize = 256 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:351) vcpus = 1 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:352) pae = 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:353) acpi = 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:354) apic = 0 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:521) hvm > shutdown watch registered > [2007-03-13 11:17:43 xend 3738] DEBUG (image:560) hvm reboot > feature watch registered > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO > (XendDomainInfo:1194) createDevice: vbd : {''uname'': > ''file:/var/xen/iso.disk.xm'', ''driver'': ''paravirtualised'', > ''mode'': ''w'', ''dev'': ''hda'', ''uuid'': > ''3a057770-4583-a409-f57a-a1bbfef8a85e''} > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) > DevController: writing {''backend-id'': ''0'', ''virtual-device'': > ''768'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': > ''/local/domain/0/backend/vbd/48/768''} to > /local/domain/48/device/vbd/768. > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) > DevController: writing {''domain'': ''iso'', ''frontend'': > ''/local/domain/48/device/vbd/768'', ''uuid'': > ''3a057770-4583-a409-f57a-a1bbfef8a85e'', ''dev'': ''hda'', > ''state'': ''1'', ''params'': ''/var/xen/iso.disk.xm'', ''mode'': ''w'', > ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to > /local/domain/0/backend/vbd/48/768. > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO > (XendDomainInfo:1194) createDevice: vif : {''bridge'': > ''xenbr0'', ''type'': ''ioemu'', ''uuid'': > ''2918c890-9d85-4006-c1bd-1028257f9d21''} > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) > DevController: writing {''state'': ''1'', ''backend-id'': ''0'', > ''backend'': ''/local/domain/0/backend/vif/48/0''} to > /local/domain/48/device/vif/0. > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) > DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''iso'', > ''handle'': ''0'', ''uuid'': > ''2918c890-9d85-4006-c1bd-1028257f9d21'', ''script'': > ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': > ''/local/domain/48/device/vif/0'', ''mac'': ''00:16:3e:3f:9f:41'', > ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''ioemu''} to > /local/domain/0/backend/vif/48/0. > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO > (XendDomainInfo:1194) createDevice: vbd : {''uname'': > ''file:/var/xen/ubuntu-6.10-desktop-i386.iso'', ''driver'': > ''paravirtualised'', ''mode'': ''r'', ''dev'': ''hdc:cdrom'', ''uuid'': > ''be0394f0-4ef6-c3b8-9eeb-ed1220e62d09''} > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) > DevController: writing {''backend-id'': ''0'', ''virtual-device'': > ''5632'', ''device-type'': ''cdrom'', ''state'': ''1'', ''backend'': > ''/local/domain/0/backend/vbd/48/5632''} to > /local/domain/48/device/vbd/5632. > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) > DevController: writing {''domain'': ''iso'', ''frontend'': > ''/local/domain/48/device/vbd/5632'', ''uuid'': > ''be0394f0-4ef6-c3b8-9eeb-ed1220e62d09'', ''dev'': ''hdc'', > ''state'': ''1'', ''params'': > ''/var/xen/ubuntu-6.10-desktop-i386.iso'', ''mode'': ''r'', > ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to > /local/domain/0/backend/vbd/48/5632. > [2007-03-13 11:17:43 xend 3738] INFO (image:489) spawning > device models: /usr/lib/usr/lib/xen/bin/qemu-dm > [''/usr/lib/usr/lib/xen/bin/qemu-dm'', ''-d'', ''48'', ''-m'', ''256'', > ''-boot'', ''d'', ''-vcpus'', ''1'', ''-domain-name'', ''iso'', ''-net'', > ''nic,vlan=1,macaddr=00:16:3e:1b:af:f5,model=rtl8139'', ''-net'', > ''tap,vlan=1,bridge=xenbr0'', ''-vnc'', ''48'', ''-vnclisten'', ''127.0.0.1''] > [2007-03-13 11:17:43 xend 3738] INFO (image:493) device model > pid: 10954 > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG > (XendDomainInfo:1714) Storing VM details: {''on_xend_stop'': > ''ignore'', ''shadow_memory'': ''10'', ''uuid'': > ''4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''name'': ''iso'', > ''on_reboot'': ''restart'', ''start_time'': ''1173781063.93'', > ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', > ''on_crash'': ''destroy'', ''xend/restart_count'': ''0'', ''vcpus'': > ''1'', ''vcpu_avail'': ''1'', ''memory'': ''256'', ''image'': ''(hvm > (kernel /usr/lib/xen/boot/hvmloader) (nographic 0) (vnc 1) > (sdl 1) (vncunused 0) (device_model > /usr/lib/usr/lib/xen/bin/qemu-dm) (display localhost:11.0) > (xauthority /root/.Xauthority) (boot d) (isa 0) (localtime 0) > (usb 0) (vcpus 1))'', ''maxmem'': ''256''} > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG > (XendDomainInfo:731) Storing domain details: {''console/port'': > ''3'', ''name'': ''iso'', ''console/limit'': ''1048576'', ''vm'': > ''/vm/4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''domid'': ''48'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', > ''store/ring-ref'': ''65534'', ''store/port'': ''2''} > [2007-03-13 11:17:43 xend 3738] DEBUG (XendDomain:428) Adding > Domain: 48 > [2007-03-13 11:17:43 xend 3738] DEBUG (image:547) > hvm_shutdown fired, shutdown reason=None > [2007-03-13 11:17:43 xend 3738] DEBUG (image:579) > hvm_reboot_feature fired, module status=None > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG > (XendDomainInfo:731) Storing domain details: {''console/port'': > ''3'', ''name'': ''iso'', ''console/limit'': ''1048576'', ''vm'': > ''/vm/4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''domid'': ''48'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', > ''store/ring-ref'': ''65534'', ''store/port'': ''2''} > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG > (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:148) > Waiting for devices vif. > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:153) > Waiting for 0. > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vif/48/0/hotplug-status. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vif/48/0/hotplug-status. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:148) > Waiting for devices usb. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:148) > Waiting for devices vbd. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:153) > Waiting for 768. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) > hotplugStatusCallback > /local/domain/0/backend/vbd/48/768/hotplug-status. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) > hotplugStatusCallback > /local/domain/0/backend/vbd/48/768/hotplug-status. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:153) > Waiting for 5632. > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) > hotplugStatusCallback > /local/domain/0/backend/vbd/48/5632/hotplug-status. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:521) > hotplugStatusCallback > /local/domain/0/backend/vbd/48/5632/hotplug-status. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) > Waiting for devices irq. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) > Waiting for devices vkbd. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) > Waiting for devices vfb. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) > Waiting for devices pci. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) > Waiting for devices ioports. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) > Waiting for devices tap. > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) > Waiting for devices vtpm. > [2007-03-13 11:17:45 xend 3738] INFO (XendDomain:1020) Domain > iso (48) unpaused. >I think for some reason that your qemu-dm log file isn''t there. That may indicate that qemu-dm isn''t running, or maybe just that tail -f only takes the last argument (it looks like the only xend-debug.log came out). -- Mats> > ----- Mark Williamson <mark.williamson@cl.cam.ac.uk> wrote: > | Please don''t cry just yet! ;-) > | > | Have you tried connecting to the VNC console for that domain? It > | should be on > | port 5900 + domid or you could just enable the SDL display... > | > | Did it give you any output? > | > | Cheers, > | Mark > | > | On Monday 12 March 2007 15:41, José Alberto Suárez López wrote: > | > Hi list, > | > > | > I''m using Dom0 gentoo with xen 3.0.4 and xenman. I have several > | DomU > | > working and it is really nice :) so all my DomUs are > installed with > | disk > | > images. Now i want to use an ISO to boot and install a > linux system > | (or > | > win). > | > > | > When i try to boot the DomU i dont have nothing, nothing relevant > | (for me) > | > in logs and i can connect to the console. The state of the DomU is > | unknow. > | > Any help please? i''m going crazy. > | > > | > xm list output: > | > > | > peggy xen # xm list > | > Name ID Mem VCPUs > State > | > | > Time(s) Domain-0 0 > 1195 2 > | r----- > | > 8671.1 centos 44 > 128 1 > | > | > -b---- 106.8 general_100.28 > 40 256 > | 1 > | > -b---- 12.9 iso > 45 256 > | 1 > | > ------ 0.0 > | > > | > Yes, the ISo works, i tryed with different distros > (ubuntu, gentoo, > | etc) > | > and Yes i can mount the ISO in a loop device w/o problems. > | > > | > Any clue is welcome, i will cry soon :( > | > > | > I''m usign this cfg: > | > > | > import os, re > | > arch = os.uname()[4] > | > if re.search(''64'', arch): > | > arch_libdir = ''lib64'' > | > else: > | > arch_libdir = ''lib'' > | > > | > name=''iso'' > | > > | > kernel=''/usr/lib/xen/boot/hvmloader'' > | > builder=''hvm'' > | > > | > > | > memory=256 > | > shadow_memory=10 > | > #vcpus=1»···# number of vcpu''s > | > #cpus = "0"»# all vcpus run on CPU0 > | > > | > pae=0 > | > acpi=0 > | > apic=0 > | > > | > vif=[''type=ioemu, bridge=xenbr0''] > | > disk=[''file:/var/xen/iso.disk.xm,hda,w'', > | > ''file:/var/xen/stresslinux-0.3.1.iso,hdc:cdrom,r''] > | > > | > device_model = ''/usr/'' + arch_libdir + ''/usr/lib/xen/bin/qemu-dm'' > | > > | > # Boots from CDROM.· > | > # Change to ''c'' after windows installation in order to boot from > | disk. > | > boot=''d'' > | > #boot=''c''· > | > > | > sdl=0 > | > vnc=1 > | > vncunused=0 > | > stdvga=0 > | > extra='''' > | > on_reboot=''restart'' > | > on_shutdown=''rename-restart'' > | > ramdisk='''' > | > image_name=''Linux_CD_Install'' > | > on_crash=''destroy'' > | > > | > image_conf=''/var/log/xenman/image_store/Linux_CD_Install/Linux > _CD_Install_i > | >so_image.conf'' bootloader='''' > | > vcpus=1 > | > root='''' > | > > | > > | > _______________________________________________ > | > Xen-users mailing list > | > Xen-users@lists.xensource.com > | > http://lists.xensource.com/xen-users > | > | -- > | Dave: Just a question. What use is a unicyle with no seat? And no > | pedals! > | Mark: To answer a question with a question: What use is a > skateboard? > | Dave: Skateboards have wheels. > | Mark: My wheel has a wheel! > > > -- > José Alberto Suárez López > Técnico I+D / Administrador > Eneo Tecnología S.L. > <www.eneotecnologia.com> > > > _______________________________________________ > 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
José Alberto Suárez López
2007-Mar-13 11:10 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
==> /var/log/xen/qemu-dm.8883.log <=domid: 4 qemu: the number of cpus is 1 warning: could not open /dev/net/tun: no virtual network emulation Could not initialize device ''tap'' i have this message several times in qemu-dm logs so none fo them are for the "iso" domU (domid is different) ----- Mats Petersson <Mats.Petersson@amd.com> wrote: | > -----Original Message----- | > From: xen-users-bounces@lists.xensource.com | > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of | > José Alberto Suárez López | > Sent: 13 March 2007 10:22 | > To: Mark Williamson | > Cc: xen-users@lists.xensource.com | > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) | > | > Thanks Mark and Matt, | > | > i tryed sdl=1 and then: | > | > peggy xen # xm list | > Name ID Mem VCPUs | > State Time(s) | > Domain-0 0 1195 2 | > r----- 9024.0 | > centos 44 128 1 | > -b---- 111.0 | > general_100.28 40 256 1 | > -b---- 18.6 | > iso 47 256 1 | > ------ 0.0 | > peggy xen # xm console 47 | > xenconsole: Could not read tty from store: No such file or | directory | | xm console doesn''t work (without effort from the user) for HVM | domains, because the console setting needs to be a particular way in | the configuration. | | | > | > And: | > | > peggy xen # netstat -tuna | grep 5900 | > peggy xen # netstat -tuna | grep 5947 | > | > so not vnc running. | > | > And in logs i have this: | > | > peggy xen # tail -f /var/log/xen/qemu*.log | > /var/log/xen/xend{,-debug}.log | > | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG | > (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', | > ''iso''], [''memory'', 256], [''shadow_memory'', 10], [''on_reboot'', | > ''restart''], [''on_crash'', ''destroy''], [''vcpus'', 1], | > [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], | > [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], | > [''device_model'', ''/usr/lib/usr/lib/xen/bin/qemu-dm''], [''pae'', | > 0], [''vcpus'', 1], [''boot'', ''d''], [''fda'', ''''], [''fdb'', ''''], | > [''localtime'', 0], [''serial'', ''''], [''stdvga'', 0], [''isa'', 0], | > [''nographic'', 0], [''soundhw'', ''''], [''vnc'', 1], [''vncunused'', | > 0], [''sdl'', 1], [''display'', ''localhost:11.0''], [''xauthority'', | > ''/root/.Xauthority''], [''acpi'', 0], [''apic'', 0], [''usb'', 0], | > [''usbdevice'', ''''], [''keymap'', ''''], [''vncpasswd'', | > ''XXXXXXXX'']]], [''device'', [''vbd'', [''uname'', | > ''file:/var/xen/iso.disk.xm''], [''dev'', ''hda''], [''mode'', | > ''w'']]], [''device'', [''vbd'', [''uname'', | > ''file:/var/xen/ubuntu-6.10-desktop-i386.iso''], [''dev'', | > ''hdc:cdrom''], [''mode'', ''r'']]], [''device'', [''vif'', [''bridge'', | > ''xenbr0''], [''type'', ''ioemu'']]]]) | > [2007-03-13 11:17:43 xend.XendConfig 3738] WARNING | > (XendConfig:607) Unconverted key: cpus | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG | > (XendDomainInfo:1284) XendDomainInfo.constructDomain | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG | > (XendDomainInfo:1330) XendDomainInfo.initDomain: 48 256 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: boot, val: | d | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: fda, val: | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: fdb, val: | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: soundhw, | val: | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: | > localtime, val: 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: serial, val: | | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: | > std-vga, val: 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: isa, val: 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: vcpus, val: | 1 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: acpi, val: | 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: usb, val: 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: | > usbdevice, val: | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:397) args: k, val: | > [2007-03-13 11:17:43 xend 3738] DEBUG (balloon:127) Balloon: | > 451064 KiB free; need 280576; done. | > [2007-03-13 11:17:43 xend 3738] INFO (image:125) buildDomain | > os=hvm dom=48 vcpus=1 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:347) domid | 48 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:348) image | > = /usr/lib/xen/boot/hvmloader | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:349) store_evtchn | 2 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:350) memsize | 256 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:351) vcpus | 1 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:352) pae | 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:353) acpi | 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:354) apic | 0 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:521) hvm | > shutdown watch registered | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:560) hvm reboot | > feature watch registered | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO | > (XendDomainInfo:1194) createDevice: vbd : {''uname'': | > ''file:/var/xen/iso.disk.xm'', ''driver'': ''paravirtualised'', | > ''mode'': ''w'', ''dev'': ''hda'', ''uuid'': | > ''3a057770-4583-a409-f57a-a1bbfef8a85e''} | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) | > DevController: writing {''backend-id'': ''0'', ''virtual-device'': | > ''768'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': | > ''/local/domain/0/backend/vbd/48/768''} to | > /local/domain/48/device/vbd/768. | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) | > DevController: writing {''domain'': ''iso'', ''frontend'': | > ''/local/domain/48/device/vbd/768'', ''uuid'': | > ''3a057770-4583-a409-f57a-a1bbfef8a85e'', ''dev'': ''hda'', | > ''state'': ''1'', ''params'': ''/var/xen/iso.disk.xm'', ''mode'': ''w'', | > ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to | > /local/domain/0/backend/vbd/48/768. | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO | > (XendDomainInfo:1194) createDevice: vif : {''bridge'': | > ''xenbr0'', ''type'': ''ioemu'', ''uuid'': | > ''2918c890-9d85-4006-c1bd-1028257f9d21''} | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) | > DevController: writing {''state'': ''1'', ''backend-id'': ''0'', | > ''backend'': ''/local/domain/0/backend/vif/48/0''} to | > /local/domain/48/device/vif/0. | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) | > DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''iso'', | > ''handle'': ''0'', ''uuid'': | > ''2918c890-9d85-4006-c1bd-1028257f9d21'', ''script'': | > ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': | > ''/local/domain/48/device/vif/0'', ''mac'': ''00:16:3e:3f:9f:41'', | > ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''ioemu''} to | > /local/domain/0/backend/vif/48/0. | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] INFO | > (XendDomainInfo:1194) createDevice: vbd : {''uname'': | > ''file:/var/xen/ubuntu-6.10-desktop-i386.iso'', ''driver'': | > ''paravirtualised'', ''mode'': ''r'', ''dev'': ''hdc:cdrom'', ''uuid'': | > ''be0394f0-4ef6-c3b8-9eeb-ed1220e62d09''} | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:115) | > DevController: writing {''backend-id'': ''0'', ''virtual-device'': | > ''5632'', ''device-type'': ''cdrom'', ''state'': ''1'', ''backend'': | > ''/local/domain/0/backend/vbd/48/5632''} to | > /local/domain/48/device/vbd/5632. | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:117) | > DevController: writing {''domain'': ''iso'', ''frontend'': | > ''/local/domain/48/device/vbd/5632'', ''uuid'': | > ''be0394f0-4ef6-c3b8-9eeb-ed1220e62d09'', ''dev'': ''hdc'', | > ''state'': ''1'', ''params'': | > ''/var/xen/ubuntu-6.10-desktop-i386.iso'', ''mode'': ''r'', | > ''online'': ''1'', ''frontend-id'': ''48'', ''type'': ''file''} to | > /local/domain/0/backend/vbd/48/5632. | > [2007-03-13 11:17:43 xend 3738] INFO (image:489) spawning | > device models: /usr/lib/usr/lib/xen/bin/qemu-dm | > [''/usr/lib/usr/lib/xen/bin/qemu-dm'', ''-d'', ''48'', ''-m'', ''256'', | > ''-boot'', ''d'', ''-vcpus'', ''1'', ''-domain-name'', ''iso'', ''-net'', | > ''nic,vlan=1,macaddr=00:16:3e:1b:af:f5,model=rtl8139'', ''-net'', | > ''tap,vlan=1,bridge=xenbr0'', ''-vnc'', ''48'', ''-vnclisten'', | ''127.0.0.1''] | > [2007-03-13 11:17:43 xend 3738] INFO (image:493) device model | > pid: 10954 | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG | > (XendDomainInfo:1714) Storing VM details: {''on_xend_stop'': | > ''ignore'', ''shadow_memory'': ''10'', ''uuid'': | > ''4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''name'': ''iso'', | > ''on_reboot'': ''restart'', ''start_time'': ''1173781063.93'', | > ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', | > ''on_crash'': ''destroy'', ''xend/restart_count'': ''0'', ''vcpus'': | > ''1'', ''vcpu_avail'': ''1'', ''memory'': ''256'', ''image'': ''(hvm | > (kernel /usr/lib/xen/boot/hvmloader) (nographic 0) (vnc 1) | > (sdl 1) (vncunused 0) (device_model | > /usr/lib/usr/lib/xen/bin/qemu-dm) (display localhost:11.0) | > (xauthority /root/.Xauthority) (boot d) (isa 0) (localtime 0) | > (usb 0) (vcpus 1))'', ''maxmem'': ''256''} | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG | > (XendDomainInfo:731) Storing domain details: {''console/port'': | > ''3'', ''name'': ''iso'', ''console/limit'': ''1048576'', ''vm'': | > ''/vm/4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''domid'': ''48'', | > ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', | > ''store/ring-ref'': ''65534'', ''store/port'': ''2''} | > [2007-03-13 11:17:43 xend 3738] DEBUG (XendDomain:428) Adding | > Domain: 48 | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:547) | > hvm_shutdown fired, shutdown reason=None | > [2007-03-13 11:17:43 xend 3738] DEBUG (image:579) | > hvm_reboot_feature fired, module status=None | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG | > (XendDomainInfo:731) Storing domain details: {''console/port'': | > ''3'', ''name'': ''iso'', ''console/limit'': ''1048576'', ''vm'': | > ''/vm/4cd6184a-448b-4af2-0800-3cdb179d7f03'', ''domid'': ''48'', | > ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', | > ''store/ring-ref'': ''65534'', ''store/port'': ''2''} | > [2007-03-13 11:17:43 xend.XendDomainInfo 3738] DEBUG | > (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:148) | > Waiting for devices vif. | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:153) | > Waiting for 0. | > [2007-03-13 11:17:43 xend 3738] DEBUG (DevController:521) | > hotplugStatusCallback | /local/domain/0/backend/vif/48/0/hotplug-status. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) | > hotplugStatusCallback | /local/domain/0/backend/vif/48/0/hotplug-status. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:535) | > hotplugStatusCallback 1. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:148) | > Waiting for devices usb. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:148) | > Waiting for devices vbd. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:153) | > Waiting for 768. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) | > hotplugStatusCallback | > /local/domain/0/backend/vbd/48/768/hotplug-status. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) | > hotplugStatusCallback | > /local/domain/0/backend/vbd/48/768/hotplug-status. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:535) | > hotplugStatusCallback 1. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:153) | > Waiting for 5632. | > [2007-03-13 11:17:44 xend 3738] DEBUG (DevController:521) | > hotplugStatusCallback | > /local/domain/0/backend/vbd/48/5632/hotplug-status. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:521) | > hotplugStatusCallback | > /local/domain/0/backend/vbd/48/5632/hotplug-status. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:535) | > hotplugStatusCallback 1. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) | > Waiting for devices irq. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) | > Waiting for devices vkbd. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) | > Waiting for devices vfb. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) | > Waiting for devices pci. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) | > Waiting for devices ioports. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) | > Waiting for devices tap. | > [2007-03-13 11:17:45 xend 3738] DEBUG (DevController:148) | > Waiting for devices vtpm. | > [2007-03-13 11:17:45 xend 3738] INFO (XendDomain:1020) Domain | > iso (48) unpaused. | > | | I think for some reason that your qemu-dm log file isn''t there. That | may indicate that qemu-dm isn''t running, or maybe just that tail -f | only takes the last argument (it looks like the only xend-debug.log | came out). | | -- | Mats | > | > ----- Mark Williamson <mark.williamson@cl.cam.ac.uk> wrote: | > | Please don''t cry just yet! ;-) | > | | > | Have you tried connecting to the VNC console for that domain? It | > | should be on | > | port 5900 + domid or you could just enable the SDL display... | > | | > | Did it give you any output? | > | | > | Cheers, | > | Mark | > | | > | On Monday 12 March 2007 15:41, José Alberto Suárez López wrote: | > | > Hi list, | > | > | > | > I''m using Dom0 gentoo with xen 3.0.4 and xenman. I have several | > | DomU | > | > working and it is really nice :) so all my DomUs are | > installed with | > | disk | > | > images. Now i want to use an ISO to boot and install a | > linux system | > | (or | > | > win). | > | > | > | > When i try to boot the DomU i dont have nothing, nothing | relevant | > | (for me) | > | > in logs and i can connect to the console. The state of the DomU | is | > | unknow. | > | > Any help please? i''m going crazy. | > | > | > | > xm list output: | > | > | > | > peggy xen # xm list | > | > Name ID Mem VCPUs | > State | > | | > | > Time(s) Domain-0 0 | > 1195 2 | > | r----- | > | > 8671.1 centos 44 | > 128 1 | > | | > | > -b---- 106.8 general_100.28 | > 40 256 | > | 1 | > | > -b---- 12.9 iso | > 45 256 | > | 1 | > | > ------ 0.0 | > | > | > | > Yes, the ISo works, i tryed with different distros | > (ubuntu, gentoo, | > | etc) | > | > and Yes i can mount the ISO in a loop device w/o problems. | > | > | > | > Any clue is welcome, i will cry soon :( | > | > | > | > I''m usign this cfg: | > | > | > | > import os, re | > | > arch = os.uname()[4] | > | > if re.search(''64'', arch): | > | > arch_libdir = ''lib64'' | > | > else: | > | > arch_libdir = ''lib'' | > | > | > | > name=''iso'' | > | > | > | > kernel=''/usr/lib/xen/boot/hvmloader'' | > | > builder=''hvm'' | > | > | > | > | > | > memory=256 | > | > shadow_memory=10 | > | > #vcpus=1»···# number of vcpu''s | > | > #cpus = "0"»# all vcpus run on CPU0 | > | > | > | > pae=0 | > | > acpi=0 | > | > apic=0 | > | > | > | > vif=[''type=ioemu, bridge=xenbr0''] | > | > disk=[''file:/var/xen/iso.disk.xm,hda,w'', | > | > ''file:/var/xen/stresslinux-0.3.1.iso,hdc:cdrom,r''] | > | > | > | > device_model = ''/usr/'' + arch_libdir + | ''/usr/lib/xen/bin/qemu-dm'' | > | > | > | > # Boots from CDROM.· | > | > # Change to ''c'' after windows installation in order to boot | from | > | disk. | > | > boot=''d'' | > | > #boot=''c''· | > | > | > | > sdl=0 | > | > vnc=1 | > | > vncunused=0 | > | > stdvga=0 | > | > extra='''' | > | > on_reboot=''restart'' | > | > on_shutdown=''rename-restart'' | > | > ramdisk='''' | > | > image_name=''Linux_CD_Install'' | > | > on_crash=''destroy'' | > | > | > | | > image_conf=''/var/log/xenman/image_store/Linux_CD_Install/Linux | > _CD_Install_i | > | >so_image.conf'' bootloader='''' | > | > vcpus=1 | > | > root='''' | > | > | > | > | > | > _______________________________________________ | > | > Xen-users mailing list | > | > Xen-users@lists.xensource.com | > | > http://lists.xensource.com/xen-users | > | | > | -- | > | Dave: Just a question. What use is a unicyle with no seat? And | no | > | pedals! | > | Mark: To answer a question with a question: What use is a | > skateboard? | > | Dave: Skateboards have wheels. | > | Mark: My wheel has a wheel! | > | > | > -- | > José Alberto Suárez López | > Técnico I+D / Administrador | > Eneo Tecnología S.L. | > <www.eneotecnologia.com> | > | > | > _______________________________________________ | > 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 -- José Alberto Suárez López Técnico I+D / Administrador Eneo Tecnología S.L. <www.eneotecnologia.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Mar-13 11:39 UTC
RE: [Xen-users] booting an ISO inside Xen (full virt)
> -----Original Message----- > From: José Alberto Suárez López [mailto:jasuarez@eneotecnologia.com] > Sent: 13 March 2007 11:11 > To: Petersson, Mats > Cc: xen-users@lists.xensource.com; Mark Williamson > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > > ==> /var/log/xen/qemu-dm.8883.log <=> domid: 4 > qemu: the number of cpus is 1 > warning: could not open /dev/net/tun: no virtual network emulation > Could not initialize device ''tap'' > > i have this message several times in qemu-dm logs so none fo > them are for the "iso" domU (domid is different)So you have other HVM domains that are working? Is qemu-dm (proces 8883) still alive? It sounds like your "tap" isn''t working right, which is not right. I checked my xend-debug.log, and it looks very similar to yours, so I don''t think the arguments to qemu-dm are wrong. If you go to the "dist/chk" directory of your xen installation, and do "./chk install", do you get any error messages? -- Mats [snip old logs] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
José Alberto Suárez López
2007-Mar-13 12:33 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
well this qemu-dm logs are old, right now when i create the new "iso" domU i dont have any qemu log. So about tun/tap i loaded the module manually (no errors) then: peggy ~ # xm create /etc/xen/iso.cfg Using config file "/etc/xen/iso.cfg". Started domain iso ps aux | grep qemu root 22044 26.0 0.2 31892 3420 ? Sl 13:28 0:03 /usr/lib/xen/bin/qemu-dm -d 54 -m 256 -boot d -vcpus 1 -domain-name iso -net nic,vlan=1,macaddr=00:16:3e:0a:76:1a,model=rtl8139 -net tap,vlan=1,bridge=xenbr0 -vnc 54 -vnclisten 127.0.0.1 peggy ~ # netstat -tuna | grep 59 tcp 0 0 127.0.0.1:5954 0.0.0.0:* LISTEN peggy ~ # vncviewer 127.0.0.1:5954 vncviewer: ConnectToTcpAddr: connect: Connection refused Unable to connect to VNC server it seem near to the goal, so not works yet. I dont have any qemu log, and xen-debug logs are "normals" any idea? Thanks Mats :) ----- Mats Petersson <Mats.Petersson@amd.com> wrote: | > -----Original Message----- | > From: José Alberto Suárez López [mailto:jasuarez@eneotecnologia.com] | | > Sent: 13 March 2007 11:11 | > To: Petersson, Mats | > Cc: xen-users@lists.xensource.com; Mark Williamson | > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) | > | > | > ==> /var/log/xen/qemu-dm.8883.log <=| > domid: 4 | > qemu: the number of cpus is 1 | > warning: could not open /dev/net/tun: no virtual network emulation | > Could not initialize device ''tap'' | > | > i have this message several times in qemu-dm logs so none fo | > them are for the "iso" domU (domid is different) | | So you have other HVM domains that are working? | | Is qemu-dm (proces 8883) still alive? | | It sounds like your "tap" isn''t working right, which is not right. | | I checked my xend-debug.log, and it looks very similar to yours, so I | don''t think the arguments to qemu-dm are wrong. | | If you go to the "dist/chk" directory of your xen installation, and do | "./chk install", do you get any error messages? | | -- | Mats | [snip old logs] | | | | _______________________________________________ | Xen-users mailing list | Xen-users@lists.xensource.com | http://lists.xensource.com/xen-users -- José Alberto Suárez López Técnico I+D / Administrador Eneo Tecnología S.L. <www.eneotecnologia.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Mar-13 12:39 UTC
RE: [Xen-users] booting an ISO inside Xen (full virt)
> -----Original Message----- > From: José Alberto Suárez López [mailto:jasuarez@eneotecnologia.com] > Sent: 13 March 2007 12:34 > To: Petersson, Mats > Cc: Mark Williamson; xen-users@lists.xensource.com > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > well this qemu-dm logs are old, right now when i create the > new "iso" domU i dont have any qemu log. > So about tun/tap i loaded the module manually (no errors) then: > > peggy ~ # xm create /etc/xen/iso.cfg > Using config file "/etc/xen/iso.cfg". > Started domain iso > > ps aux | grep qemu > > root 22044 26.0 0.2 31892 3420 ? Sl 13:28 > 0:03 /usr/lib/xen/bin/qemu-dm -d 54 -m 256 -boot d -vcpus 1 > -domain-name iso -net > nic,vlan=1,macaddr=00:16:3e:0a:76:1a,model=rtl8139 -net > tap,vlan=1,bridge=xenbr0 -vnc 54 -vnclisten 127.0.0.1 > > peggy ~ # netstat -tuna | grep 59 > tcp 0 0 127.0.0.1:5954 0.0.0.0:* > LISTEN > > peggy ~ # vncviewer 127.0.0.1:5954 > vncviewer: ConnectToTcpAddr: connect: Connection refused > Unable to connect to VNC serverNot really. I use SDL over "ssh -X", so I don''t know what would make vncviewer fail. -- Mats> > it seem near to the goal, so not works yet. I dont have any > qemu log, and xen-debug logs are "normals" > > any idea? > > Thanks Mats :) > > > ----- Mats Petersson <Mats.Petersson@amd.com> wrote: > | > -----Original Message----- > | > From: José Alberto Suárez López > [mailto:jasuarez@eneotecnologia.com] > | > | > Sent: 13 March 2007 11:11 > | > To: Petersson, Mats > | > Cc: xen-users@lists.xensource.com; Mark Williamson > | > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > | > > | > > | > ==> /var/log/xen/qemu-dm.8883.log <=> | > domid: 4 > | > qemu: the number of cpus is 1 > | > warning: could not open /dev/net/tun: no virtual network emulation > | > Could not initialize device ''tap'' > | > > | > i have this message several times in qemu-dm logs so none fo > | > them are for the "iso" domU (domid is different) > | > | So you have other HVM domains that are working? > | > | Is qemu-dm (proces 8883) still alive? > | > | It sounds like your "tap" isn''t working right, which is not right. > | > | I checked my xend-debug.log, and it looks very similar to > yours, so I > | don''t think the arguments to qemu-dm are wrong. > | > | If you go to the "dist/chk" directory of your xen > installation, and do > | "./chk install", do you get any error messages? > | > | -- > | Mats > | [snip old logs] > | > | > | > | _______________________________________________ > | Xen-users mailing list > | Xen-users@lists.xensource.com > | http://lists.xensource.com/xen-users > > > -- > José Alberto Suárez López > Técnico I+D / Administrador > Eneo Tecnología S.L. > <www.eneotecnologia.com> > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2007-Mar-13 12:44 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > peggy ~ # netstat -tuna | grep 59 > > tcp 0 0 127.0.0.1:5954 0.0.0.0:* > > LISTEN > > > > peggy ~ # vncviewer 127.0.0.1:5954 > > vncviewer: ConnectToTcpAddr: connect: Connection refused > > Unable to connect to VNC serveriptables? jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
José Alberto Suárez López
2007-Mar-13 12:55 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
Not iptables, so it is stragne, i added the option: vnclisten="192.168.100.3" to iso.cfg and no i can connect to the vnc form my desktop :) vncviewer:61 or vncviewer::5961 The conneciton opens, so i only have a "blank" (black) vnc window. We are near my friends... :P any clue? so how can i use sdl? just sdl=1 and then xm console domid? regards and thanks both ----- Original Message ----- From: Jerry Amundson <jamundso@gmail.com> To: xen-users@lists.xensource.com Sent: martes 13 de marzo de 2007 13H44 GMT+0100 Europe/Berlin Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > peggy ~ # netstat -tuna | grep 59 > > tcp 0 0 127.0.0.1:5954 0.0.0.0:* > > LISTEN > > > > peggy ~ # vncviewer 127.0.0.1:5954 > > vncviewer: ConnectToTcpAddr: connect: Connection refused > > Unable to connect to VNC serveriptables? jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- José Alberto Suárez López Técnico I+D / Administrador Eneo Tecnología S.L. <www.eneotecnologia.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Mar-13 13:07 UTC
RE: [Xen-users] booting an ISO inside Xen (full virt)
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > José Alberto Suárez López > Sent: 13 March 2007 12:55 > To: Jerry Amundson > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > Not iptables, so it is stragne, i added the option: > > vnclisten="192.168.100.3" > > to iso.cfg and no i can connect to the vnc form my desktop :) > > vncviewer:61 or vncviewer::5961 > > The conneciton opens, so i only have a "blank" (black) vnc window. > We are near my friends... :P > > any clue? > > > so how can i use sdl? just sdl=1 and then xm console domid?sdl=1, and you will get a window pop up on X-windows. (assuming you have X-windows). [If you''ve build your own Xen, you''ll also need to install the right SDL-devel package, but it should work from a pre-built installation]. -- Mats> > regards and thanks both > > > ----- Original Message ----- > From: Jerry Amundson <jamundso@gmail.com> > To: xen-users@lists.xensource.com > Sent: martes 13 de marzo de 2007 13H44 GMT+0100 Europe/Berlin > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > peggy ~ # netstat -tuna | grep 59 > > > tcp 0 0 127.0.0.1:5954 0.0.0.0:* > > > LISTEN > > > > > > peggy ~ # vncviewer 127.0.0.1:5954 > > > vncviewer: ConnectToTcpAddr: connect: Connection refused > > > Unable to connect to VNC server > > iptables? > > jerry > > -- > "Oh joy! Rapture! I''ve got a brain" > -Scarecrow > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -- > José Alberto Suárez López > Técnico I+D / Administrador > Eneo Tecnología S.L. > <www.eneotecnologia.com> > > > _______________________________________________ > 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
Yves-gaël Chény
2007-Mar-13 13:16 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
Perhaps it''s in your xend_config.sxp # The interface for VNC servers to listen on. Defaults # to 127.0.0.1 To restore old ''listen everywhere'' behaviour # set this to 0.0.0.0 (vnc-listen ''0.0.0.0'') # The default password for VNC console on HVM domain. # Empty string is no authentication. (vncpasswd '''') regards yves José Alberto Suárez López a écrit :> Not iptables, so it is stragne, i added the option: > > vnclisten="192.168.100.3" > > to iso.cfg and no i can connect to the vnc form my desktop :) > > vncviewer:61 or vncviewer::5961 > > The conneciton opens, so i only have a "blank" (black) vnc window. > We are near my friends... :P > > any clue? > > > so how can i use sdl? just sdl=1 and then xm console domid? > > regards and thanks both > > > ----- Original Message ----- > From: Jerry Amundson <jamundso@gmail.com> > To: xen-users@lists.xensource.com > Sent: martes 13 de marzo de 2007 13H44 GMT+0100 Europe/Berlin > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > >>> peggy ~ # netstat -tuna | grep 59 >>> tcp 0 0 127.0.0.1:5954 0.0.0.0:* >>> LISTEN >>> >>> peggy ~ # vncviewer 127.0.0.1:5954 >>> vncviewer: ConnectToTcpAddr: connect: Connection refused >>> Unable to connect to VNC server >>> > > iptables? > > jerry > >-- Yves-Gaël Chény Responsable développements techniques Responsable Achats techniques Responsable RH technique 261 route de Clisson 44230 St Sébastien sur Loire Tel : 02 40 97 62 67 - 08 73 77 24 91 http://www.tranquilitsystems.com/ yves-gael.cheny@tranquil-it-systems.fr Tranquil IT Systems . SAS 37 000 ¤ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
José Alberto Suárez López
2007-Mar-13 13:21 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
Hi Yves, yes, i tryed this, i can connect to the vnc w/o pass, so i still have a black window. About SDL i have installed libsdl (before xen) but i dont have any "pop up window" when i create the domu. And the domu stay in state "unknow". with vnc almost it goes to running state. thanks both, more clues? ----- Original Message ----- From: Yves-gaël Chény <yves-gael.cheny@tranquil-it-systems.fr> To: jasuarez@eneotecnologia.com, xen-users@lists.xensource.com Sent: martes 13 de marzo de 2007 14H16 GMT+0100 Europe/Berlin Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) Perhaps it''s in your xend_config.sxp # The interface for VNC servers to listen on. Defaults # to 127.0.0.1 To restore old ''listen everywhere'' behaviour # set this to 0.0.0.0 (vnc-listen ''0.0.0.0'') # The default password for VNC console on HVM domain. # Empty string is no authentication. (vncpasswd '''') regards yves José Alberto Suárez López a écrit :> Not iptables, so it is stragne, i added the option: > > vnclisten="192.168.100.3" > > to iso.cfg and no i can connect to the vnc form my desktop :) > > vncviewer:61 or vncviewer::5961 > > The conneciton opens, so i only have a "blank" (black) vnc window. > We are near my friends... :P > > any clue? > > > so how can i use sdl? just sdl=1 and then xm console domid? > > regards and thanks both > > > ----- Original Message ----- > From: Jerry Amundson <jamundso@gmail.com> > To: xen-users@lists.xensource.com > Sent: martes 13 de marzo de 2007 13H44 GMT+0100 Europe/Berlin > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > >>> peggy ~ # netstat -tuna | grep 59 >>> tcp 0 0 127.0.0.1:5954 0.0.0.0:* >>> LISTEN >>> >>> peggy ~ # vncviewer 127.0.0.1:5954 >>> vncviewer: ConnectToTcpAddr: connect: Connection refused >>> Unable to connect to VNC server >>> > > iptables? > > jerry > >-- Yves-Gaël Chény Responsable développements techniques Responsable Achats techniques Responsable RH technique 261 route de Clisson 44230 St Sébastien sur Loire Tel : 02 40 97 62 67 - 08 73 77 24 91 http://www.tranquilitsystems.com/ yves-gael.cheny@tranquil-it-systems.fr Tranquil IT Systems . SAS 37 000 ¤ -- José Alberto Suárez López Técnico I+D / Administrador Eneo Tecnología S.L. <www.eneotecnologia.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
José Alberto Suárez López
2007-Mar-13 15:54 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
well now it works in sdl mode :) i can boot and windows iso w/o problems and install it, but not a linux iso. i can see the syslinux promot so after the kernel boot i only have a black screen. any idea? im going crazy :( reagards ----- Original Message ----- From: Mats Petersson <Mats.Petersson@amd.com> To: jasuarez@eneotecnologia.com, Jerry Amundson <jamundso@gmail.com> Cc: xen-users@lists.xensource.com Sent: martes 13 de marzo de 2007 14H07 GMT+0100 Europe/Berlin Subject: RE: [Xen-users] booting an ISO inside Xen (full virt)> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > José Alberto Suárez López > Sent: 13 March 2007 12:55 > To: Jerry Amundson > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > Not iptables, so it is stragne, i added the option: > > vnclisten="192.168.100.3" > > to iso.cfg and no i can connect to the vnc form my desktop :) > > vncviewer:61 or vncviewer::5961 > > The conneciton opens, so i only have a "blank" (black) vnc window. > We are near my friends... :P > > any clue? > > > so how can i use sdl? just sdl=1 and then xm console domid?sdl=1, and you will get a window pop up on X-windows. (assuming you have X-windows). [If you''ve build your own Xen, you''ll also need to install the right SDL-devel package, but it should work from a pre-built installation]. -- Mats> > regards and thanks both > > > ----- Original Message ----- > From: Jerry Amundson <jamundso@gmail.com> > To: xen-users@lists.xensource.com > Sent: martes 13 de marzo de 2007 13H44 GMT+0100 Europe/Berlin > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > peggy ~ # netstat -tuna | grep 59 > > > tcp 0 0 127.0.0.1:5954 0.0.0.0:* > > > LISTEN > > > > > > peggy ~ # vncviewer 127.0.0.1:5954 > > > vncviewer: ConnectToTcpAddr: connect: Connection refused > > > Unable to connect to VNC server > > iptables? > > jerry > > -- > "Oh joy! Rapture! I''ve got a brain" > -Scarecrow > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -- > José Alberto Suárez López > Técnico I+D / Administrador > Eneo Tecnología S.L. > <www.eneotecnologia.com> > > > _______________________________________________ > 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 -- José Alberto Suárez López Técnico I+D / Administrador Eneo Tecnología S.L. <www.eneotecnologia.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Mar-13 17:03 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
> well now it works in sdl mode :) i can boot and windows iso w/o problems > and install it, but not a linux iso. i can see the syslinux promot so after > the kernel boot i only have a black screen. > > any idea? im going crazy :(I can''t remember if you said what hardware you were on... Is this an Intel or an AMD machine? Which Linux are you trying to boot. IIRC, SuSE Linux''s graphical startup has had issues on Intel VT-x installs. Cheers, Mark> reagards > > > ----- Original Message ----- > From: Mats Petersson <Mats.Petersson@amd.com> > To: jasuarez@eneotecnologia.com, Jerry Amundson <jamundso@gmail.com> > Cc: xen-users@lists.xensource.com > Sent: martes 13 de marzo de 2007 14H07 GMT+0100 Europe/Berlin > Subject: RE: [Xen-users] booting an ISO inside Xen (full virt) > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > José Alberto Suárez López > > Sent: 13 March 2007 12:55 > > To: Jerry Amundson > > Cc: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > > > Not iptables, so it is stragne, i added the option: > > > > vnclisten="192.168.100.3" > > > > to iso.cfg and no i can connect to the vnc form my desktop :) > > > > vncviewer:61 or vncviewer::5961 > > > > The conneciton opens, so i only have a "blank" (black) vnc window. > > We are near my friends... :P > > > > any clue? > > > > > > so how can i use sdl? just sdl=1 and then xm console domid? > > sdl=1, and you will get a window pop up on X-windows. (assuming you have > X-windows). > > [If you''ve build your own Xen, you''ll also need to install the right > SDL-devel package, but it should work from a pre-built installation]. > > -- > Mats > > > regards and thanks both > > > > > > ----- Original Message ----- > > From: Jerry Amundson <jamundso@gmail.com> > > To: xen-users@lists.xensource.com > > Sent: martes 13 de marzo de 2007 13H44 GMT+0100 Europe/Berlin > > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > > > On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > peggy ~ # netstat -tuna | grep 59 > > > > tcp 0 0 127.0.0.1:5954 0.0.0.0:* > > > > LISTEN > > > > > > > > peggy ~ # vncviewer 127.0.0.1:5954 > > > > vncviewer: ConnectToTcpAddr: connect: Connection refused > > > > Unable to connect to VNC server > > > > iptables? > > > > jerry > > > > -- > > "Oh joy! Rapture! I''ve got a brain" > > -Scarecrow > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > -- > > José Alberto Suárez López > > Técnico I+D / Administrador > > Eneo Tecnología S.L. > > <www.eneotecnologia.com> > > > > > > _______________________________________________ > > 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-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
José Alberto Suárez López
2007-Mar-14 08:34 UTC
Re: [Xen-users] booting an ISO inside Xen (full virt)
It is an intel, i tryed ubuntu and suse, both have problems ----- Original Message ----- From: Mark Williamson <mark.williamson@cl.cam.ac.uk> To: xen-users@lists.xensource.com, jasuarez@eneotecnologia.com Cc: Mats Petersson <Mats.Petersson@amd.com>, Jerry Amundson <jamundso@gmail.com> Sent: martes 13 de marzo de 2007 18H03 GMT+0100 Europe/Berlin Subject: Re: [Xen-users] booting an ISO inside Xen (full virt)> well now it works in sdl mode :) i can boot and windows iso w/o problems > and install it, but not a linux iso. i can see the syslinux promot so after > the kernel boot i only have a black screen. > > any idea? im going crazy :(I can''t remember if you said what hardware you were on... Is this an Intel or an AMD machine? Which Linux are you trying to boot. IIRC, SuSE Linux''s graphical startup has had issues on Intel VT-x installs. Cheers, Mark> reagards > > > ----- Original Message ----- > From: Mats Petersson <Mats.Petersson@amd.com> > To: jasuarez@eneotecnologia.com, Jerry Amundson <jamundso@gmail.com> > Cc: xen-users@lists.xensource.com > Sent: martes 13 de marzo de 2007 14H07 GMT+0100 Europe/Berlin > Subject: RE: [Xen-users] booting an ISO inside Xen (full virt) > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > José Alberto Suárez López > > Sent: 13 March 2007 12:55 > > To: Jerry Amundson > > Cc: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > > > Not iptables, so it is stragne, i added the option: > > > > vnclisten="192.168.100.3" > > > > to iso.cfg and no i can connect to the vnc form my desktop :) > > > > vncviewer:61 or vncviewer::5961 > > > > The conneciton opens, so i only have a "blank" (black) vnc window. > > We are near my friends... :P > > > > any clue? > > > > > > so how can i use sdl? just sdl=1 and then xm console domid? > > sdl=1, and you will get a window pop up on X-windows. (assuming you have > X-windows). > > [If you''ve build your own Xen, you''ll also need to install the right > SDL-devel package, but it should work from a pre-built installation]. > > -- > Mats > > > regards and thanks both > > > > > > ----- Original Message ----- > > From: Jerry Amundson <jamundso@gmail.com> > > To: xen-users@lists.xensource.com > > Sent: martes 13 de marzo de 2007 13H44 GMT+0100 Europe/Berlin > > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt) > > > > On 3/13/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > peggy ~ # netstat -tuna | grep 59 > > > > tcp 0 0 127.0.0.1:5954 0.0.0.0:* > > > > LISTEN > > > > > > > > peggy ~ # vncviewer 127.0.0.1:5954 > > > > vncviewer: ConnectToTcpAddr: connect: Connection refused > > > > Unable to connect to VNC server > > > > iptables? > > > > jerry > > > > -- > > "Oh joy! Rapture! I''ve got a brain" > > -Scarecrow > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > -- > > José Alberto Suárez López > > Técnico I+D / Administrador > > Eneo Tecnología S.L. > > <www.eneotecnologia.com> > > > > > > _______________________________________________ > > 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-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- José Alberto Suárez López Técnico I+D / Administrador Eneo Tecnología S.L. <www.eneotecnologia.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users