Skippy VonDrake
2012-Sep-25 20:35 UTC
Cannot boot to cdrom (or file) using xl create for XP hvm
Trying to build an XP hvm using a compiled "xenified" kernel
(3.5.4) but having no success reading the cdrom or an image
made from the install disk.
Error in vnc display:
Booting from Cd-Rom...
CDROM boot failure code : 0003
Boot from CD-Rom failed: could not read the boot disk
No bootable device. Powering off in 30 seconds.
xl -vvv create testXpOn15g.cfg
Parsing config file configXL.cfg
xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->0000000000172b10
TOTAL: 0000000000000000->000000003f800000
ENTRY ADDRESS: 00000000001015a0
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000001fb
1GB PAGES: 0x0000000000000000
Daemon running with PID 11236
xc: debug: hypercall buffer: total allocations:585 total releases:585
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:582 misses:2 toobig:1
testXpOn15g.cfg contents:
builder = "hvm"
name = "testXpOn15g.hvm"
viridian = 1
memory = 1024
vcpus = 1
vif = [ '''' ]
# Disk Devices
#disk = [
''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,hdc:cdrom,r''
]
#disk = [
''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,ioemu:hdc:cdrom,r''
]
#disk = [
''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,sda:cdrom,r''
]
disk = [
''phy:/dev/guestsVG/xpVol,hda,w'',''/home/skippy/myXpImage/xpImage.iso,hdc:cdrom,r''
]
vnc = 1
boot = "d"
The qemu-dm-testXpOn15g.hvm.log:
domid: 22
-videoram option does not work with cirrus vga device model. Videoram set to 4M.
Using file /dev/guestsVG/xpVol in read-write mode
Strip off blktap sub-type prefix to (drv ''aio'')
Watching /local/domain/0/device-model/22/logdirty/cmd
Watching /local/domain/0/device-model/22/command
Watching /local/domain/22/cpu
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 1ce296c3-b4ba-4f01-a181-734fe2df26da
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/22/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error.
/vm/1ce296c3-b4ba-4f01-a181-734fe2df26da/vncpasswd.
medium change watch on `hdc'' (index: 1): aio:
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Log-dirty: no command yet.
vcpu-set: watch node error.
xs_read(/local/domain/22/log-throttling): read error
qemu: ignoring not-understood drive `/local/domain/22/log-throttling''
medium change watch on `/local/domain/22/log-throttling'' - unknown
device, ignored
cirrus vga map change while on lfb mode
mapping vram to f0000000 - f0400000
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
The xl-testXpOn15g.hvm.log:
Waiting for domain testXpOn15g.hvm (domid 22) to die [pid 11237]
Domain 22 is dead
Action for shutdown reason code 0 is destroy
Domain 22 needs to be cleaned up: destroying the domain
libxl: debug: libxl_dm.c:761:libxl__destroy_device_model Device Model signaled
Done. Exiting now
Suggestions? I''ve used this XP install cd several times and know
it''s good.
Jan Hejl
2012-Sep-25 21:16 UTC
Re: Cannot boot to cdrom (or file) using xl create for XP hvm
Try add "xen_platform_pci=1" line to config file. On 25.9.2012 22:35, Skippy VonDrake wrote:> Trying to build an XP hvm using a compiled "xenified" kernel > (3.5.4) but having no success reading the cdrom or an image > made from the install disk. > > Error in vnc display: > Booting from Cd-Rom... > CDROM boot failure code : 0003 > Boot from CD-Rom failed: could not read the boot disk > No bootable device. Powering off in 30 seconds. > > xl -vvv create testXpOn15g.cfg > Parsing config file configXL.cfg > xc: info: VIRTUAL MEMORY ARRANGEMENT: > Loader: 0000000000100000->0000000000172b10 > TOTAL: 0000000000000000->000000003f800000 > ENTRY ADDRESS: 00000000001015a0 > xc: info: PHYSICAL MEMORY ALLOCATION: > 4KB PAGES: 0x0000000000000200 > 2MB PAGES: 0x00000000000001fb > 1GB PAGES: 0x0000000000000000 > Daemon running with PID 11236 > xc: debug: hypercall buffer: total allocations:585 total releases:585 > xc: debug: hypercall buffer: current allocations:0 maximum allocations:2 > xc: debug: hypercall buffer: cache current size:2 > xc: debug: hypercall buffer: cache hits:582 misses:2 toobig:1 > > testXpOn15g.cfg contents: > builder = "hvm" > name = "testXpOn15g.hvm" > viridian = 1 > memory = 1024 > vcpus = 1 > vif = [ '''' ] > # Disk Devices > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,hdc:cdrom,r'' ] > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,ioemu:hdc:cdrom,r'' ] > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,sda:cdrom,r'' ] > disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''/home/skippy/myXpImage/xpImage.iso,hdc:cdrom,r'' > ] > vnc = 1 > boot = "d" > > The qemu-dm-testXpOn15g.hvm.log: > domid: 22 > -videoram option does not work with cirrus vga device model. Videoram set to 4M. > Using file /dev/guestsVG/xpVol in read-write mode > Strip off blktap sub-type prefix to (drv ''aio'') > Watching /local/domain/0/device-model/22/logdirty/cmd > Watching /local/domain/0/device-model/22/command > Watching /local/domain/22/cpu > qemu_map_cache_init nr_buckets = 10000 size 4194304 > shared page at pfn feffd > buffered io page at pfn feffb > Guest uuid = 1ce296c3-b4ba-4f01-a181-734fe2df26da > populating video RAM at ff000000 > mapping video RAM from ff000000 > Register xen platform. > Done register platform. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. > xs_read(/local/domain/0/device-model/22/xen_extended_power_mgmt): read error > xs_read(): vncpasswd get error. > /vm/1ce296c3-b4ba-4f01-a181-734fe2df26da/vncpasswd. > medium change watch on `hdc'' (index: 1): aio: > I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > Log-dirty: no command yet. > vcpu-set: watch node error. > xs_read(/local/domain/22/log-throttling): read error > qemu: ignoring not-understood drive `/local/domain/22/log-throttling'' > medium change watch on `/local/domain/22/log-throttling'' - unknown > device, ignored > cirrus vga map change while on lfb mode > mapping vram to f0000000 - f0400000 > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. > > The xl-testXpOn15g.hvm.log: > Waiting for domain testXpOn15g.hvm (domid 22) to die [pid 11237] > Domain 22 is dead > Action for shutdown reason code 0 is destroy > Domain 22 needs to be cleaned up: destroying the domain > libxl: debug: libxl_dm.c:761:libxl__destroy_device_model Device Model signaled > Done. Exiting now > > Suggestions? I''ve used this XP install cd several times and know > it''s good. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
Jan Hejl
2012-Sep-25 21:41 UTC
Re: Cannot boot to cdrom (or file) using xl create for XP hvm
Changing this line: ''/home/skippy/myXpImage/xpImage.iso,hdc:cdrom,r'' to this: ''file:/home/skippy/myXpImage/xpImage.iso,hdc:cdrom,r'' (added file: directive) did the magic. Jan On 25.9.2012 22:35, Skippy VonDrake wrote:> Trying to build an XP hvm using a compiled "xenified" kernel > (3.5.4) but having no success reading the cdrom or an image > made from the install disk. > > Error in vnc display: > Booting from Cd-Rom... > CDROM boot failure code : 0003 > Boot from CD-Rom failed: could not read the boot disk > No bootable device. Powering off in 30 seconds. > > xl -vvv create testXpOn15g.cfg > Parsing config file configXL.cfg > xc: info: VIRTUAL MEMORY ARRANGEMENT: > Loader: 0000000000100000->0000000000172b10 > TOTAL: 0000000000000000->000000003f800000 > ENTRY ADDRESS: 00000000001015a0 > xc: info: PHYSICAL MEMORY ALLOCATION: > 4KB PAGES: 0x0000000000000200 > 2MB PAGES: 0x00000000000001fb > 1GB PAGES: 0x0000000000000000 > Daemon running with PID 11236 > xc: debug: hypercall buffer: total allocations:585 total releases:585 > xc: debug: hypercall buffer: current allocations:0 maximum allocations:2 > xc: debug: hypercall buffer: cache current size:2 > xc: debug: hypercall buffer: cache hits:582 misses:2 toobig:1 > > testXpOn15g.cfg contents: > builder = "hvm" > name = "testXpOn15g.hvm" > viridian = 1 > memory = 1024 > vcpus = 1 > vif = [ '''' ] > # Disk Devices > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,hdc:cdrom,r'' ] > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,ioemu:hdc:cdrom,r'' ] > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,sda:cdrom,r'' ] > disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''/home/skippy/myXpImage/xpImage.iso,hdc:cdrom,r'' > ] > vnc = 1 > boot = "d" > > The qemu-dm-testXpOn15g.hvm.log: > domid: 22 > -videoram option does not work with cirrus vga device model. Videoram set to 4M. > Using file /dev/guestsVG/xpVol in read-write mode > Strip off blktap sub-type prefix to (drv ''aio'') > Watching /local/domain/0/device-model/22/logdirty/cmd > Watching /local/domain/0/device-model/22/command > Watching /local/domain/22/cpu > qemu_map_cache_init nr_buckets = 10000 size 4194304 > shared page at pfn feffd > buffered io page at pfn feffb > Guest uuid = 1ce296c3-b4ba-4f01-a181-734fe2df26da > populating video RAM at ff000000 > mapping video RAM from ff000000 > Register xen platform. > Done register platform. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. > xs_read(/local/domain/0/device-model/22/xen_extended_power_mgmt): read error > xs_read(): vncpasswd get error. > /vm/1ce296c3-b4ba-4f01-a181-734fe2df26da/vncpasswd. > medium change watch on `hdc'' (index: 1): aio: > I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > Log-dirty: no command yet. > vcpu-set: watch node error. > xs_read(/local/domain/22/log-throttling): read error > qemu: ignoring not-understood drive `/local/domain/22/log-throttling'' > medium change watch on `/local/domain/22/log-throttling'' - unknown > device, ignored > cirrus vga map change while on lfb mode > mapping vram to f0000000 - f0400000 > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. > > The xl-testXpOn15g.hvm.log: > Waiting for domain testXpOn15g.hvm (domid 22) to die [pid 11237] > Domain 22 is dead > Action for shutdown reason code 0 is destroy > Domain 22 needs to be cleaned up: destroying the domain > libxl: debug: libxl_dm.c:761:libxl__destroy_device_model Device Model signaled > Done. Exiting now > > Suggestions? I''ve used this XP install cd several times and know > it''s good. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
Casey DeLorme
2012-Sep-25 21:50 UTC
Re: Cannot boot to cdrom (or file) using xl create for XP hvm
On Tue, Sep 25, 2012 at 4:35 PM, Skippy VonDrake <skippyvondrake@gmail.com>wrote:> Trying to build an XP hvm using a compiled "xenified" kernel > (3.5.4) but having no success reading the cdrom or an image > made from the install disk. > >Assuming Xen 4.2 given that you are using the latest kernel. First read these: [Xen Man Pages](http://wiki.xen.org/wiki/Xen_Man_Pages) [xl.cfg doc](http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html) Relative to your previous question: [xl Disk Configuration]( http://xenbits.xen.org/docs/unstable/misc/xl-disk-configuration.txt)> Error in vnc display: > Booting from Cd-Rom... > CDROM boot failure code : 0003 > Boot from CD-Rom failed: could not read the boot disk > No bootable device. Powering off in 30 seconds. > > xl -vvv create testXpOn15g.cfg > Parsing config file configXL.cfg > xc: info: VIRTUAL MEMORY ARRANGEMENT: > Loader: 0000000000100000->0000000000172b10 > TOTAL: 0000000000000000->000000003f800000 > ENTRY ADDRESS: 00000000001015a0 > xc: info: PHYSICAL MEMORY ALLOCATION: > 4KB PAGES: 0x0000000000000200 > 2MB PAGES: 0x00000000000001fb > 1GB PAGES: 0x0000000000000000 > Daemon running with PID 11236 > xc: debug: hypercall buffer: total allocations:585 total releases:585 > xc: debug: hypercall buffer: current allocations:0 maximum allocations:2 > xc: debug: hypercall buffer: cache current size:2 > xc: debug: hypercall buffer: cache hits:582 misses:2 toobig:1 > >Your able to start the HVM and connect via VNC but it cannot boot to the iso?> testXpOn15g.cfg contents: > builder = "hvm" > name = "testXpOn15g.hvm" > viridian = 1 > memory = 1024 > vcpus = 1 > vif = [ '''' ] > # Disk Devices > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,hdc:cdrom,r'' ] > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,ioemu:hdc:cdrom,r'' > ] > #disk = [ ''phy:/dev/guestsVG/xpVol,hda,w'',''phy:/dev/sr0,sda:cdrom,r'' ] > disk = [ > ''phy:/dev/guestsVG/xpVol,hda,w'',''/home/skippy/myXpImage/xpImage.iso,hdc:cdrom,r'' > ] > vnc = 1 > boot = "d" > >Based on the provided configuration, I would suggest trying this revised copy: name="testXpOn15g.hvm" builder="hvm" vcpus=1 memory=1024 disk=[ ''/dev/guestsVG/xpVol,,hda,w'', ''/dev/sr0,,hdc,r,devtype=cdrom'' ] vif=[ '''' ] boot=''dc'' videoram=8 stdvga=1 viridian = 1 vnc=1 usb=1 usbdevice="tablet" localtime=1> The qemu-dm-testXpOn15g.hvm.log: > domid: 22 > -videoram option does not work with cirrus vga device model. Videoram set > to 4M. > Using file /dev/guestsVG/xpVol in read-write mode > Strip off blktap sub-type prefix to (drv ''aio'') > Watching /local/domain/0/device-model/22/logdirty/cmd > Watching /local/domain/0/device-model/22/command > Watching /local/domain/22/cpu > qemu_map_cache_init nr_buckets = 10000 size 4194304 > shared page at pfn feffd > buffered io page at pfn feffb > Guest uuid = 1ce296c3-b4ba-4f01-a181-734fe2df26da > populating video RAM at ff000000 > mapping video RAM from ff000000 > Register xen platform. > Done register platform. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw > state. > xs_read(/local/domain/0/device-model/22/xen_extended_power_mgmt): read > error > xs_read(): vncpasswd get error. > /vm/1ce296c3-b4ba-4f01-a181-734fe2df26da/vncpasswd. > medium change watch on `hdc'' (index: 1): aio: > I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > Log-dirty: no command yet. > vcpu-set: watch node error. > xs_read(/local/domain/22/log-throttling): read error > qemu: ignoring not-understood drive `/local/domain/22/log-throttling'' > medium change watch on `/local/domain/22/log-throttling'' - unknown > device, ignored > cirrus vga map change while on lfb mode > mapping vram to f0000000 - f0400000 > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw > state. > platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro > state. > > The xl-testXpOn15g.hvm.log: > Waiting for domain testXpOn15g.hvm (domid 22) to die [pid 11237] > Domain 22 is dead > Action for shutdown reason code 0 is destroy > Domain 22 needs to be cleaned up: destroying the domain > libxl: debug: libxl_dm.c:761:libxl__destroy_device_model Device Model > signaled > Done. Exiting now > > Suggestions? I''ve used this XP install cd several times and know > it''s good. > >Another suggestion is to try creating a disk image to work off of using: sudo dd if=/dev/sr0 of=/path/to/disk.iso Then change the line for your cdrom to read: ''/path/to/disk.iso,,hdc,r,devtype=cdrom'' I know you said you''ve used the CD before, but the only times I have specifically encountered that error message with proper configuration was when the image file I was using had been corrupted. Just to be sure, try cleaning the disk, or making an image copy using dd or another utility of your choice.> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >Here is my Windows 7 HVM Configuration File as an example: name=''windows'' builder=''hvm'' vcpus=4 memory=8192 disk=[ ''/dev/mapper/xen-windows,,hda,w'' ] vif=[ ''bridge=xenbr1,model=e1000,mac=00:16:3e:14:b1:1c'' ] pci = [ ''00:1d.0'', ''01:00.0'', ''01:00.1'', ''0b:00.0'', ''0c:00.0'' ] boot=''c'' pae=1 nx=1 videoram=16 stdvga=1 #sdl=1 vnc=1 vnclisten="0.0.0.0:10" vncpasswd='''' usb=1 usbdevice="tablet" localtime=1 xen_platform_pci=1 _The "xen_platform_pci" flag is for PV on HVM, it should not have anything to do with your configuration until after you install Windows and then the GPLPV drivers._ _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users