Try using the hvmloader.
kernel = "/usr/lib/xen/boot/hvmloader"
I have also noticed that using "/dev/cdrom" sometimes does not work.
"/dev/cdrom" will point to something like "/dev/hdc". Try using that instead.
Aravindh
> -----Original Message-----
> From: Rafal Zawadzki [mailto:rafal.zawadzki@xxxxx]
> Sent: Wednesday, March 01, 2006 3:38 PM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] vmx problem - no booting from cd
>
> Hi. I am trying get use xen vmx, it shows only black window. I attach my
> config and logs.
>
> config:
>
> import os, re
> arch = os.uname()[4]
> if re.search('64', arch):
> else:
> kernel = "/usr/lib/xen/boot/vmxloader"
> builder='vmx'
> memory = 128
> name = "bluszcz"
> vif = [ 'type=ioemu, bridge=xenbr0' ]
> disk = [ 'file:/tmp/hd.img,ioemu:hda,w' ]
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> cdrom='/dev/cdrom'
> boot='d'
> sdl=1
> vnc=0
> vncviewer=0
> ne2000=0
> localtime=1
>
> log
>
>
> [2006-03-01 21:32:37 xend] INFO (image:352) spawning device
> models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d',
> '24',
> '-p', '3', '-m', '128', '-cdrom', '/dev/cdrom', '-boot', 'd', '-
> localtime',
> '-vcpus', '1', '-domain-name', 'bluszcz', '-hda', '/tmp/hd.img', '-
> macaddr',
> '00:16:3e:29:98:03', '-bridge', 'xenbr0', '-nics', '1']
> [2006-03-01 21:32:37 xend] INFO (image:354) device model pid: 11018
> [2006-03-01 21:32:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:663)
> Storing
> VM details: {'ssidref': '0', 'uuid': 'a0982f00-f1ce-55e2-1752-
> 28f065954e48',
> 'on_reboot': 'restart', 'start_time': '1141245157.34', 'on_poweroff':
> 'destroy', 'name': 'bluszcz', 'vcpus': '1', 'vcpu_avail': '1', 'memory':
> '128', 'on_crash': 'restart', 'image': '(vmx
> (kernel /usr/lib/xen/boot/vmxloader)
> (device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 1) (cdrom /dev/cdrom)
> (boot
> d) (localtime 1) (sdl 1) (display :0.0))', 'maxmem': '128'}
> [2006-03-01 21:32:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:688)
> Storing
> domain details: {'console/port': '2', 'name': 'bluszcz', 'console/limit':
> '1048576', 'vm': '/vm/a0982f00-f1ce-55e2-1752-28f065954e48', 'domid':
> '24',
> 'cpu/0/availability': 'online', 'memory/target': '131072', 'store/ring-
> ref':
> '308812', 'store/port': '1'}
> [2006-03-01 21:32:37 xend] DEBUG (image:432) vmx_shutdown fired, shutdown
> reason=None
> [2006-03-01 21:32:37 xend] DEBUG (DevController:132) Waiting for devices
> vif.
> [2006-03-01 21:32:37 xend] DEBUG (DevController:132) Waiting for devices
> usb.
> [2006-03-01 21:32:37 xend] DEBUG (DevController:132) Waiting for devices
> vbd.
> [2006-03-01 21:32:37 xend] DEBUG (DevController:132) Waiting for devices
> pci.
> [2006-03-01 21:32:37 xend] DEBUG (DevController:132) Waiting for devices
> ioports.
> [2006-03-01 21:32:37 xend] DEBUG (DevController:132) Waiting for devices
> vtpm.
>
>
>
>
>
> --
> Rafał つた Zawadzki
> Release/Deploy Manager
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|