Hi, I''m doing some tests of Xen with the latest Intel processors and I''d like to run an unmodified linux inside a virtual machine. If possible, I''d like to be able to install this OS (a version of Scientific Linux, in case you''re interested) from our PXE servers, but I can also install it from a DVD image. I''ve seen several HOWTOs on running Windows like this, so I thought it would be pretty similar. I basically replaced the Windows CD image for an SL image, but I haven''t been able to get it to work. I get this: xenmaster ~ # xm create -c /etc/xen/slc43.hvm Using config file "/etc/xen/slc43.hvm". Started domain SLC43 xenconsole: Could not read tty from store: No such file or directory xenmaster ~ # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 343 4 r----- 11909.8 SLC43 36 2048 1 -b---- 0.0 The virtual machine is apparently up, but I can''t (or don''t know how to) connect to it, it just sits there blocked. The same thing happens if I use SDL and VNC. I''ve googled to see if I could fix that problem with xencosole, but with no results. I''ve downloaded a Debian image from jailtime.org and that works fine (although I don''t see the kernel boot messages, which is kind of odd). Can anyone offer some tips? Thanks, Alex ---- Some more info ---- xenmaster ~ # xm info host : xenmaster release : 2.6.16.26-xen version : #10 SMP Mon Aug 14 20:34:44 CEST 2006 machine : i686 nr_cpus : 4 nr_nodes : 1 sockets_per_node : 2 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2992 hw_caps : bfebfbff:20100000:00000000:00000140:0004e3bd:00000000:00000001 total_memory : 2555 free_memory : 132 xen_major : 3 xen_minor : 0 xen_extra : .2 xen_caps : xen-3.0-x86_32 hvm-3.0-x86_32 platform_params : virt_start=0xfc000000 xen_changeset : Sat Apr 8 12:14:27 2006 +0100 9598:1bce05ff1e52 cc_compiler : gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) cc_compile_by : root cc_compile_domain : cc_compile_date : Mon Aug 14 19:29:17 CEST 2006 (from /var/log/xend.log) [2006-08-16 17:13:44 xend.XendDomainInfo] DEBUG (XendDomainInfo:178) XendDomainInfo.create([''vm'', [''name'', ''SLC43''], [''memory'', 2048], [''vcpus'', 1], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''args'', ''VNC_VIEWER=127.0.0.1:5501 ''], [''device_model'', ''/usr/lib/xen/bin/qemu-dm''], [''vcpus'', 1], [''cdrom'', ''/root/SLC43_i386_dvd.iso''], [''boot'', ''d''], [''vnc'', 1], [''vncviewer'', 1], [''xauthority'', ''/root/.Xauthority'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/xenfs/slc4root''], [''dev'', ''ioemu:hda''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:04:23:D1:9E:4A''], [''type'', ''ioemu'']]]]) [2006-08-16 17:13:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:284) parseConfig: config is [''vm'', [''name'', ''SLC43''], [''memory'', 2048], [''vcpus'', 1], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''args'', ''VNC_VIEWER=127.0.0.1:5501 ''], [''device_model'', ''/usr/lib/xen/bin/qemu-dm''], [''vcpus'', 1], [''cdrom'', ''/root/SLC43_i386_dvd.iso''], [''boot'', ''d''], [''vnc'', 1], [''vncviewer'', 1], [''xauthority'', ''/root/.Xauthority'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/xenfs/slc4root''], [''dev'', ''ioemu:hda''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:04:23:D1:9E:4A''], [''type'', ''ioemu'']]]] [2006-08-16 17:13:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:380) parseConfig: result is {''ssidref'': None, ''uuid'': None, ''on_crash'': None, ''on_reboot'': None, ''image'': [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''args'', ''VNC_VIEWER=127.0.0.1:5501 ''], [''device_model'', ''/usr/lib/xen/bin/qemu-dm''], [''vcpus'', 1], [''cdrom'', ''/root/SLC43_i386_dvd.iso''], [''boot'', ''d''], [''vnc'', 1], [''vncviewer'', 1], [''xauthority'', ''/root/.Xauthority'']], ''on_poweroff'': None, ''cpus'': None, ''name'': ''SLC43'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, ''vcpu_avail'': None, ''memory'': 2048, ''device'': [(''vbd'', [''vbd'', [''uname'', ''phy:/dev/xenfs/slc4root''], [''dev'', ''ioemu:hda''], [''mode'', ''w '']]), (''vif'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:04:23:D1:9E:4A''], [''type'', ''ioemu'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': None} [2006-08-16 17:13:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) XendDomainInfo.construct: None 0 [2006-08-16 17:13:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196) XendDomainInfo.initDomain: 36 1.0 [2006-08-16 17:13:47 xend] DEBUG (image:266) args: cdrom, val: /root/SLC43_i386_dvd.iso [2006-08-16 17:13:47 xend] DEBUG (image:266) args: boot, val: d [2006-08-16 17:13:47 xend] DEBUG (image:266) args: fda, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: fdb, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: nic-ne2000, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: enable-audio, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: localtime, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: serial, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: std-vga, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: isa, val: None [2006-08-16 17:13:47 xend] DEBUG (image:266) args: vcpus, val: 1 [2006-08-16 17:13:47 xend] DEBUG (balloon:126) Balloon: free 2182; need 2049; done. [2006-08-16 17:13:48 xend] INFO (image:135) buildDomain os=hvm dom=36 vcpus=1 [2006-08-16 17:13:48 xend] DEBUG (image:224) dom = 36 [2006-08-16 17:13:48 xend] DEBUG (image:225) image = /usr/lib/xen/boot/hvmloader [2006-08-16 17:13:48 xend] DEBUG (image:226) store_evtchn = 1 [2006-08-16 17:13:48 xend] DEBUG (image:227) memsize = 2048 [2006-08-16 17:13:48 xend] DEBUG (image:228) vcpus = 1 [2006-08-16 17:13:48 xend] DEBUG (image:229) pae = 0 [2006-08-16 17:13:48 xend] DEBUG (image:230) acpi = 0 [2006-08-16 17:13:48 xend] DEBUG (image:231) apic = 0 [2006-08-16 17:13:48 xend] DEBUG (image:396) hvm shutdown watch registered [2006-08-16 17:13:49 xend] DEBUG (blkif:24) exception looking up device number for hda: [Errno 2] No such file or directory: ''/dev/hda'' [2006-08-16 17:13:49 xend] DEBUG (DevController:103) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/vbd/36/768''} to /local/domain/36/device/vbd/768. [2006-08-16 17:13:49 xend] DEBUG (DevController:105) DevController: writing {''domain'': ''SLC43'', ''frontend'': ''/local/domain/36/device/vbd/768'', ''dev'': ''ioemu:hda'', ''state'': ''1'', ''params'': ''/dev/xenfs/slc4root'', ''mode'': ''w'', ''frontend-id'': ''36'', ''type'': ''phy''} to /local/domain/0/backend/vbd/36/768. [2006-08-16 17:13:49 xend] DEBUG (DevController:103) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/vif/36/0''} to /local/domain/36/device/vif/0. [2006-08-16 17:13:49 xend] DEBUG (DevController:105) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''SLC43'', ''handle'': ''0'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/36/device/vif/0'', ''mac'': ''00:04:23:D1:9E:4A'', ''frontend-id'': ''36'', ''type'': ''ioemu''} to /local/domain/0/backend/vif/36/0. [2006-08-16 17:13:49 xend] INFO (image:355) spawning device models: /usr/lib/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'', ''-vncconnect'', ''127.0.0.1:5501'', ''-d'', ''36'', ''-m'', ''2048'', ''-cdrom'', ''/root/SLC43_i386_dvd.iso'', ''-boot'', ''d'', ''-vcpus'', ''1'', ''-domain-name'', ''SLC43'', ''-hda'', ''/dev/xenfs/slc4root'', ''-macaddr'', ''00:04:23:D1:9E:4A'', ''-bridge'', ''xenbr0'', ''-nics'', ''1'', ''-vnc'', ''-k'', ''en-us'', ''-vncport'', ''5936''] [2006-08-16 17:13:49 xend] INFO (image:357) device model pid: 28580 [2006-08-16 17:13:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing VM details: {''ssidref'': ''0'', ''uuid'': ''b497d350-07ce-cfd7-dc5b-d6bc584b7421'', ''on_reboot'': ''restart'', ''start_time'': ''1155741229.36'', ''on_poweroff'': ''destroy'', ''name'': ''SLC43'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''2048'', ''on_crash'': ''restart'', ''image'': "(hvm (kernel /usr/lib/xen/boot/hvmloader) (args ''VNC_VIEWER=127.0.0.1:5501 '') (device_model /usr/lib/xen/bin/qemu-dm) (vcpus 1) (cdrom /root/SLC43_i386_dvd.iso) (boot d) (vnc 1) (vncviewer 1) (xauthority /root/.Xauthority))", ''maxmem'': ''2048''} [2006-08-16 17:13:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing domain details: {''console/port'': ''2'', ''name'': ''SLC43'', ''console/limit'': ''1048576'', ''vm'': ''/vm/b497d350-07ce-cfd7-dc5b-d6bc584b7421'', ''domid'': ''36'', ''cpu/0/availability'': ''online'', ''memory/target'': ''2097152'', ''store/ring-ref'': ''345485'', ''store/port'': ''1''} [2006-08-16 17:13:49 xend] DEBUG (image:419) hvm_shutdown fired, shutdown reason=None [2006-08-16 17:13:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) XendDomainInfo.handleShutdownWatch [2006-08-16 17:13:49 xend] DEBUG (DevController:132) Waiting for devices vif. [2006-08-16 17:13:49 xend] DEBUG (DevController:138) Waiting for 0. [2006-08-16 17:13:49 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/36/0/hotplug-status. [2006-08-16 17:13:53 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/36/0/hotplug-status. [2006-08-16 17:13:53 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices usb. [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices vbd. [2006-08-16 17:13:53 xend] DEBUG (DevController:138) Waiting for 768. [2006-08-16 17:13:53 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/36/768/hotplug-status. [2006-08-16 17:13:53 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/36/768/hotplug-status. [2006-08-16 17:13:53 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices irq. [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices pci. [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices ioports. [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices vtpm. [2006-08-16 17:13:53 xend] INFO (XendDomain:363) Domain SLC43 (36) unpaused. (and then it just stops there until I kill the VM) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alex Iribarren wrote:> Hi, > > I''m doing some tests of Xen with the latest Intel processors and I''d > like to run an unmodified linux inside a virtual machine. If possible, > I''d like to be able to install this OS (a version of Scientific Linux, > in case you''re interested) from our PXE servers, but I can also install > it from a DVD image. > > I''ve seen several HOWTOs on running Windows like this, so I thought it > would be pretty similar. I basically replaced the Windows CD image for > an SL image, but I haven''t been able to get it to work. I get this: > > xenmaster ~ # xm create -c /etc/xen/slc43.hvm > Using config file "/etc/xen/slc43.hvm". > Started domain SLC43 > xenconsole: Could not read tty from store: No such file or directory > xenmaster ~ # xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 343 4 r----- 11909.8 > SLC43 36 2048 1 -b---- 0.0 > > The virtual machine is apparently up, but I can''t (or don''t know how to) > connect to it, it just sits there blocked. The same thing happens if I > use SDL and VNC. I''ve googled to see if I could fix that problem with > xencosole, but with no results. I''ve downloaded a Debian image from > jailtime.org and that works fine (although I don''t see the kernel boot > messages, which is kind of odd). > > Can anyone offer some tips? > > Thanks, > Alex > > ---- Some more info ---- > xenmaster ~ # xm info > host : xenmaster > release : 2.6.16.26-xen > version : #10 SMP Mon Aug 14 20:34:44 CEST 2006 > machine : i686 > nr_cpus : 4 > nr_nodes : 1 > sockets_per_node : 2 > cores_per_socket : 2 > threads_per_core : 1 > cpu_mhz : 2992 > hw_caps : > bfebfbff:20100000:00000000:00000140:0004e3bd:00000000:00000001 > total_memory : 2555 > free_memory : 132 > xen_major : 3 > xen_minor : 0 > xen_extra : .2 > xen_caps : xen-3.0-x86_32 hvm-3.0-x86_32 > platform_params : virt_start=0xfc000000 > xen_changeset : Sat Apr 8 12:14:27 2006 +0100 9598:1bce05ff1e52 > cc_compiler : gcc version 3.4.6 (Gentoo 3.4.6-r1, > ssp-3.4.5-1.0, pie-8.7.9) > cc_compile_by : root > cc_compile_domain : > cc_compile_date : Mon Aug 14 19:29:17 CEST 2006 > > (from /var/log/xend.log) > [2006-08-16 17:13:44 xend.XendDomainInfo] DEBUG (XendDomainInfo:178) > XendDomainInfo.create([''vm'', [''name'', ''SLC43''], [''memory'', 2048], > [''vcpus'', 1], [''image'', [''hvm'', [''kernel'', > ''/usr/lib/xen/boot/hvmloader''], [''args'', ''VNC_VIEWER=127.0.0.1:5501 ''], > [''device_model'', ''/usr/lib/xen/bin/qemu-dm''], [''vcpus'', 1], [''cdrom'', > ''/root/SLC43_i386_dvd.iso''], [''boot'', ''d''], [''vnc'', 1], [''vncviewer'', > 1], [''xauthority'', ''/root/.Xauthority'']]], [''device'', [''vbd'', [''uname'', > ''phy:/dev/xenfs/slc4root''], [''dev'', ''ioemu:hda''], [''mode'', ''w'']]], > [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:04:23:D1:9E:4A''], > [''type'', ''ioemu'']]]]) > [2006-08-16 17:13:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:284) > parseConfig: config is [''vm'', [''name'', ''SLC43''], [''memory'', 2048], > [''vcpus'', 1], [''image'', [''hvm'', [''kernel'', > ''/usr/lib/xen/boot/hvmloader''], [''args'', ''VNC_VIEWER=127.0.0.1:5501 ''], > [''device_model'', ''/usr/lib/xen/bin/qemu-dm''], [''vcpus'', 1], [''cdrom'', > ''/root/SLC43_i386_dvd.iso''], [''boot'', ''d''], [''vnc'', 1], [''vncviewer'', > 1], [''xauthority'', ''/root/.Xauthority'']]], [''device'', [''vbd'', [''uname'', > ''phy:/dev/xenfs/slc4root''], [''dev'', ''ioemu:hda''], [''mode'', ''w'']]], > [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:04:23:D1:9E:4A''], > [''type'', ''ioemu'']]]] > [2006-08-16 17:13:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:380) > parseConfig: result is {''ssidref'': None, ''uuid'': None, ''on_crash'': None, > ''on_reboot'': None, ''image'': [''hvm'', [''kernel'', > ''/usr/lib/xen/boot/hvmloader''], [''args'', ''VNC_VIEWER=127.0.0.1:5501 ''], > [''device_model'', ''/usr/lib/xen/bin/qemu-dm''], [''vcpus'', 1], [''cdrom'', > ''/root/SLC43_i386_dvd.iso''], [''boot'', ''d''], [''vnc'', 1], [''vncviewer'', > 1], [''xauthority'', ''/root/.Xauthority'']], ''on_poweroff'': None, ''cpus'': > None, ''name'': ''SLC43'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, > ''vcpu_avail'': None, ''memory'': 2048, ''device'': [(''vbd'', [''vbd'', [''uname'', > ''phy:/dev/xenfs/slc4root''], [''dev'', ''ioemu:hda''], [''mode'', ''w > '']]), (''vif'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', > ''00:04:23:D1:9E:4A''], [''type'', ''ioemu'']])], ''bootloader'': None, ''cpu'': > None, ''maxmem'': None} [2006-08-16 17:13:45 > xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) > XendDomainInfo.construct: None 0 > [2006-08-16 17:13:46 xend.XendDomainInfo] > DEBUG (XendDomainInfo:1196) XendDomainInfo.initDomain: 36 1.0 > [2006-08-16 > 17:13:47 xend] DEBUG (image:266) args: cdrom, val: /root/SLC43_i386_dvd.iso > [2006-08-16 17:13:47 xend] DEBUG (image:266) args: boot, val: d > > [2006-08-16 17:13:47 xend] DEBUG (image:266) > args: fda, val: None > [2006-08-16 17:13:47 > xend] DEBUG (image:266) args: fdb, val: None > > [2006-08-16 17:13:47 xend] DEBUG (image:266) args: nic-ne2000, val: None > [2006-08-16 17:13:47 xend] DEBUG (image:266) args: enable-audio, val: > None > [2006-08-16 17:13:47 xend] DEBUG (image:266) > args: localtime, val: None > [2006-08-16 17:13:47 > xend] DEBUG (image:266) args: serial, val: None > > [2006-08-16 17:13:47 xend] DEBUG (image:266) args: std-vga, val: None > [2006-08-16 17:13:47 xend] DEBUG (image:266) args: isa, val: None > > [2006-08-16 17:13:47 xend] DEBUG (image:266) > args: vcpus, val: 1 > [2006-08-16 17:13:47 > xend] DEBUG (balloon:126) Balloon: free 2182; need 2049; done. > > [2006-08-16 17:13:48 xend] INFO (image:135) buildDomain os=hvm > dom=36 vcpus=1 > [2006-08-16 17:13:48 xend] DEBUG (image:224) dom = 36 > > [2006-08-16 17:13:48 xend] DEBUG (image:225) > image = /usr/lib/xen/boot/hvmloader > [2006-08-16 17:13:48 > xend] DEBUG (image:226) store_evtchn = 1 > > [2006-08-16 17:13:48 xend] DEBUG (image:227) memsize = 2048 > [2006-08-16 17:13:48 xend] DEBUG (image:228) vcpus = 1 > > [2006-08-16 17:13:48 xend] DEBUG (image:229) > pae = 0 > [2006-08-16 17:13:48 > xend] DEBUG (image:230) acpi = 0 > > [2006-08-16 17:13:48 xend] DEBUG (image:231) apic = 0 > [2006-08-16 17:13:48 xend] DEBUG (image:396) hvm shutdown watch > registered > [2006-08-16 17:13:49 xend] DEBUG (blkif:24) exception looking up device > number for hda: [Errno 2] No such file or directory: ''/dev/hda'' > [2006-08-16 17:13:49 xend] DEBUG (DevController:103) DevController: > writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': > ''/local/domain/0/backend/vbd/36/768''} to /local/domain/36/device/vbd/768. > [2006-08-16 17:13:49 xend] DEBUG (DevController:105) DevController: > writing {''domain'': ''SLC43'', ''frontend'': > ''/local/domain/36/device/vbd/768'', ''dev'': ''ioemu:hda'', ''state'': ''1'', > ''params'': ''/dev/xenfs/slc4root'', ''mode'': ''w'', ''frontend-id'': ''36'', > ''type'': ''phy''} to /local/domain/0/backend/vbd/36/768. > [2006-08-16 17:13:49 xend] DEBUG (DevController:103) DevController: > writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': > ''/local/domain/0/backend/vif/36/0''} to /local/domain/36/device/vif/0. > [2006-08-16 17:13:49 xend] DEBUG (DevController:105) DevController: > writing {''bridge'': ''xenbr0'', ''domain'': ''SLC43'', ''handle'': ''0'', ''script'': > ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': > ''/local/domain/36/device/vif/0'', ''mac'': ''00:04:23:D1:9E:4A'', > ''frontend-id'': ''36'', ''type'': ''ioemu''} to /local/domain/0/backend/vif/36/0. > [2006-08-16 17:13:49 xend] INFO (image:355) spawning device models: > /usr/lib/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'', ''-vncconnect'', > ''127.0.0.1:5501'', ''-d'', ''36'', ''-m'', ''2048'', ''-cdrom'', > ''/root/SLC43_i386_dvd.iso'', ''-boot'', ''d'', ''-vcpus'', ''1'', ''-domain-name'', > ''SLC43'', ''-hda'', ''/dev/xenfs/slc4root'', ''-macaddr'', ''00:04:23:D1:9E:4A'', > ''-bridge'', ''xenbr0'', ''-nics'', ''1'', ''-vnc'', ''-k'', ''en-us'', ''-vncport'', > ''5936''] > [2006-08-16 17:13:49 xend] INFO (image:357) device model pid: 28580 > [2006-08-16 17:13:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) > Storing VM details: {''ssidref'': ''0'', ''uuid'': > ''b497d350-07ce-cfd7-dc5b-d6bc584b7421'', ''on_reboot'': ''restart'', > ''start_time'': ''1155741229.36'', ''on_poweroff'': ''destroy'', ''name'': > ''SLC43'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''2048'', ''on_crash'': > ''restart'', ''image'': "(hvm (kernel /usr/lib/xen/boot/hvmloader) (args > ''VNC_VIEWER=127.0.0.1:5501 '') (device_model /usr/lib/xen/bin/qemu-dm) > (vcpus 1) (cdrom /root/SLC43_i386_dvd.iso) (boot d) (vnc 1) (vncviewer > 1) (xauthority /root/.Xauthority))", ''maxmem'': ''2048''} > [2006-08-16 17:13:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) > Storing domain details: {''console/port'': ''2'', ''name'': ''SLC43'', > ''console/limit'': ''1048576'', ''vm'': > ''/vm/b497d350-07ce-cfd7-dc5b-d6bc584b7421'', ''domid'': ''36'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''2097152'', > ''store/ring-ref'': ''345485'', ''store/port'': ''1''} > [2006-08-16 17:13:49 xend] DEBUG (image:419) hvm_shutdown fired, > shutdown reason=None > [2006-08-16 17:13:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) > XendDomainInfo.handleShutdownWatch > [2006-08-16 17:13:49 xend] DEBUG (DevController:132) Waiting for devices > vif. > [2006-08-16 17:13:49 xend] DEBUG (DevController:138) Waiting for 0. > [2006-08-16 17:13:49 xend] DEBUG (DevController:403) > hotplugStatusCallback /local/domain/0/backend/vif/36/0/hotplug-status. > [2006-08-16 17:13:53 xend] DEBUG (DevController:403) > hotplugStatusCallback /local/domain/0/backend/vif/36/0/hotplug-status. > [2006-08-16 17:13:53 xend] DEBUG (DevController:417) > hotplugStatusCallback 1. > [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices > usb. > [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices > vbd. > [2006-08-16 17:13:53 xend] DEBUG (DevController:138) Waiting for 768. > [2006-08-16 17:13:53 xend] DEBUG (DevController:403) > hotplugStatusCallback /local/domain/0/backend/vbd/36/768/hotplug-status. > [2006-08-16 17:13:53 xend] DEBUG (DevController:403) > hotplugStatusCallback /local/domain/0/backend/vbd/36/768/hotplug-status. > [2006-08-16 17:13:53 xend] DEBUG (DevController:417) > hotplugStatusCallback 1. > [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices > irq. > [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices > pci. > [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices > ioports. > [2006-08-16 17:13:53 xend] DEBUG (DevController:132) Waiting for devices > vtpm. > [2006-08-16 17:13:53 xend] INFO (XendDomain:363) Domain SLC43 (36) unpaused. > (and then it just stops there until I kill the VM) > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersI am also having problems getting the console to connect in a linux on linux HVM. Although I did not find a fix for this I did find a work around. I simply enabled VNC and used that to connect to my Linux DomU to complete the install. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I''m doing some tests of Xen with the latest Intel processors and I''d > like to run an unmodified linux inside a virtual machine. If possible, > I''d like to be able to install this OS (a version of Scientific Linux, > in case you''re interested) from our PXE servers, but I can also install > it from a DVD image.DVD is likely to be much easier at the moment.> I''ve seen several HOWTOs on running Windows like this, so I thought it > would be pretty similar. I basically replaced the Windows CD image for > an SL image, but I haven''t been able to get it to work. I get this: > > xenmaster ~ # xm create -c /etc/xen/slc43.hvm > Using config file "/etc/xen/slc43.hvm". > Started domain SLC43 > xenconsole: Could not read tty from store: No such file or directory > xenmaster ~ # xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 343 4 r----- 11909.8 > SLC43 36 2048 1 -b---- 0.0Do you have a qemu-dm process in dom0? Are there any qemu logs in /var/log/qemue-dm.*?> The virtual machine is apparently up, but I can''t (or don''t know how to) > connect to it, it just sits there blocked. The same thing happens if I > use SDL and VNC. I''ve googled to see if I could fix that problem with > xencosole, but with no results. I''ve downloaded a Debian image from > jailtime.org and that works fine (although I don''t see the kernel boot > messages, which is kind of odd).xm cons applied to an HVM domain will connect to the serial port rather than the VGA console. Steven. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alex Iribarren wrote:> Hi, > > I''m doing some tests of Xen with the latest Intel processors and I''d > like to run an unmodified linux inside a virtual machine. If possible, > I''d like to be able to install this OS (a version of Scientific Linux, > in case you''re interested) from our PXE servers, but I can also install > it from a DVD image. > > I''ve seen several HOWTOs on running Windows like this, so I thought it > would be pretty similar. I basically replaced the Windows CD image for > an SL image, but I haven''t been able to get it to work. I get this: > > xenmaster ~ # xm create -c /etc/xen/slc43.hvm > Using config file "/etc/xen/slc43.hvm". > Started domain SLC43 > xenconsole: Could not read tty from store: No such file or directory > xenmaster ~ # xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 343 4 r----- 11909.8 > SLC43 36 2048 1 -b---- 0.0 > > The virtual machine is apparently up, but I can''t (or don''t know how to) > connect to it, it just sits there blocked. The same thing happens if I > use SDL and VNC. I''ve googled to see if I could fix that problem with > xencosole, but with no results. I''ve downloaded a Debian image from > jailtime.org and that works fine (although I don''t see the kernel boot > messages, which is kind of odd). >Alex, I''m not convinced that your guest is really "up". OK, xm shows a process but I bet it is just an "empty shell" as there is this error message in your debug output: No such file or directory: ''/dev/hda'' I''d go for this and try to find out the reason. If you want you can post your config file here. Good luck, Andrej _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 8/16/06, Steven Smith <sos22-xen@srcf.ucam.org> wrote:> > I''m doing some tests of Xen with the latest Intel processors and I''d > > like to run an unmodified linux inside a virtual machine. If possible, > > I''d like to be able to install this OS (a version of Scientific Linux, > > in case you''re interested) from our PXE servers, but I can also install > > it from a DVD image. > DVD is likely to be much easier at the moment.I just tried PXE booting with hvm on xen-testing some days ago and it didn''t work out with etherboot images - see the message about that in xen-devel. It might work better with xen stable or unstable. Alexe: Ben Thomas sent me some more info how he did id, but I didn''t try yet, it involves using unstable, which I am a bit hestitating to do. I can forward the info to you if you are interested. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Smith wrote:> Do you have a qemu-dm process in dom0? Are there any qemu logs > in /var/log/qemue-dm.*?(/var/log/qemu-dm.*.log when using SDL) domid: 3 qemu: the number of cpus is 1 warning: could not open /dev/net/tun: no virtual network emulation shared page at pfn:80400, mfn: 2ebbb (and when trying to use VNC) /usr/lib/xen/bin/qemu-dm: invalid option -- ''-vncconnect''> xm cons applied to an HVM domain will connect to the serial port > rather than the VGA console.I''ll try booting an ISO with serial console output enabled, but I don''t know if it will do much good, seeing as how I can''t connect to the console anyway... Cheers, Alex _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrej Radonic wrote:> I''m not convinced that your guest is really "up". > OK, xm shows a process but I bet it is just an "empty shell" as there is > this error message in your debug output: > > No such file or directory: ''/dev/hda''I suppose this is related to this line in my config file: disk = [ ''phy:/dev/xenfs/slc4root,ioemu:hda,w'' ] I don''t know what I''m supposed to put there, if not hda. /dev/xenfs/scl4root is a LVM logical volume, it exists and can be mounted without problems, so I don''t think that is the issue. I''ve tried to change hda to sda, sda1, hda1 and some other things, and I always get this error: Error: hvm: for qemu vbd type=file&dev=hda~hdd> I''d go for this and try to find out the reason. If you want you can post > your config file here.Here''s my config file, slc43.hvm, sans comments. Most of this is taken right from http://www.xensource.com/files/xen_install_windows.pdf import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 2048 name = "SLC43" extra = "linux text console=ttyS0,9600n8" vif = [ ''type=ioemu, mac=00:04:23:D1:9E:4A, bridge=xenbr0'' ] disk = [ ''phy:/dev/xenfs/slc4root,ioemu:hda,w'' ] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' cdrom="/root/SLC43_i386_dvd.iso" boot="d" sdl=1 vnc=0 vncviewer=1 stdvga=0 serial=''pty'' ne2000=0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Do you have a qemu-dm process in dom0? Are there any qemu logs > > in /var/log/qemue-dm.*? > > (/var/log/qemu-dm.*.log when using SDL)Sorry, yes, that was a typo.> domid: 3 > qemu: the number of cpus is 1 > warning: could not open /dev/net/tun: no virtual network emulation > shared page at pfn:80400, mfn: 2ebbb > > (and when trying to use VNC) > /usr/lib/xen/bin/qemu-dm: invalid option -- ''-vncconnect''You could try setting vncviewer=0 and vnc=1 in your configuration file. Steven. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > I''d go for this and try to find out the reason. If you want you can post > > your config file here. > Here''s my config file, slc43.hvm, sans comments. Most of this is taken > right from http://www.xensource.com/files/xen_install_windows.pdfAre you on xen-unstable? The configuration file format for HVM guests changed a week or so ago.> extra = "linux text console=ttyS0,9600n8"I don''t think extra does anything for fully virtualised domains.> vif = [ ''type=ioemu, mac=00:04:23:D1:9E:4A, bridge=xenbr0'' ] > disk = [ ''phy:/dev/xenfs/slc4root,ioemu:hda,w'' ]You might want to try disk = [ ''phy:/dev/xenfs/slc4root,hda,w'', ''file:/root/SLC43_i386_dvd.iso,hdc:cdrom,r'' ] and see if that works any better. Steven. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Smith wrote:> Are you on xen-unstable? The configuration file format for HVM guests > changed a week or so ago.Nope, I''m running Xen 3.0.2, the same version the pdf talks about.>> extra = "linux text console=ttyS0,9600n8" > I don''t think extra does anything for fully virtualised domains.Ok, I was just hoping I''d be able to get a console somehow. I''ve commented it out.> disk = [ ''phy:/dev/xenfs/slc4root,hda,w'', > ''file:/root/SLC43_i386_dvd.iso,hdc:cdrom,r'' ]That didn''t work, I got this: Error: invalid literal for int(): :cdrom Taking off the cdrom line leaves me in the same situation as before. xm list says the VM is running, although it is blocked. xm console doesn''t work with HVMs (right?), and I don''t know how else to connect to the VM, since SDL and VNC don''t seem to work either. Cheers, Alex _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users