|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] XEN and Dapper - III
Hello all again..
have created a new disk image again:
ls /xen-image/mnt -als
total 28
4 drwxrwxrwx 2 root root 4096 2006-09-16 13:50 .
4 drwxrwxrwx 3 root root 4096 2006-09-12 18:04 ..
20 -rwxrwxrwx 1 root root 5368710144 2006-09-16 14:08 winxp.img
root@John:~#
==================================================================
Started the image (winxp) again, using this config file:
acpi=0
kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
name = "winxpt"
device_model = '/usr/lib/xen/bin/qemu-dm'
serial='pty'
memory = 512
disk = [ 'file:/xen-image/mnt/winxp.img,ioemu:hda,w' ]
on_poweroff = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'
cdrom='/dev/hda'
# cdrom='/xen-image/mnt/winxp.iso'
boot='d'
sdl=1
vnc=0
vncviewer=0
=============================================================
This is view of what is running as per XEN:
root@John:~# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 512 2 r----- 346.9
winxpt 1 512 1 r----- 2686.1
==================================================================
This is an excerpt of XEN DMESG:
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input
to Xen).
(XEN) (GUEST: 1) HVM Loader
(XEN) (GUEST: 1) Loading ROMBIOS ...
(XEN) (GUEST: 1) Loading Cirrus VGABIOS ...
(XEN) (GUEST: 1) Loading VMXAssist ...
(XEN) (GUEST: 1) VMX go ...
(XEN) (GUEST: 1) VMXAssist (Apr 13 2006)
(XEN) (GUEST: 1) Memory size 512 MB
(XEN) (GUEST: 1) E820 map:
(XEN) (GUEST: 1) 0000000000000000 - 000000000009F800 (RAM)
(XEN) (GUEST: 1) 000000000009F800 - 00000000000A0000 (Reserved)
(XEN) (GUEST: 1) 00000000000A0000 - 00000000000C0000 (Type 16)
(XEN) (GUEST: 1) 00000000000F0000 - 0000000000100000 (Reserved)
(XEN) (GUEST: 1) 0000000000100000 - 000000001FFFE000 (RAM)
(XEN) (GUEST: 1) 000000001FFFE000 - 000000001FFFF000 (Type 18)
(XEN) (GUEST: 1) 000000001FFFF000 - 0000000020000000 (Type 17)
(XEN) (GUEST: 1) 0000000020000000 - 0000000020003000 (ACPI NVS)
(XEN) (GUEST: 1) 0000000020003000 - 000000002000D000 (ACPI Data)
(XEN) (GUEST: 1) 00000000FEC00000 - 0000000100000000 (Type 16)
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) Start BIOS ...
(XEN) (GUEST: 1) Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) (GUEST: 1) rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) HVM_PIT: guest freq in cycles=150682723
(XEN) (GUEST: 1) Remapping master: ICW2 0x8 -> 0x20
(XEN) (GUEST: 1) Remapping slave: ICW2 0x70 -> 0x28
(XEN) (GUEST: 1) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50
vruppert Exp $
(XEN) (GUEST: 1) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date:
2005/05/07 15:55:26 $
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) ata0-0: PCHS=10402/16/63 translation=lba LCHS=652/255/63
(XEN) (GUEST: 1) ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (5120 MBytes)
(XEN) (GUEST: 1) ata0 slave: Unknown device
(XEN) (GUEST: 1) ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
(XEN) (GUEST: 1) ata1 slave: Unknown device
(XEN) (GUEST: 1)
(XEN) (GUEST: 1) Booting from CD-Rom...
(XEN) (GUEST: 1) unsupported PCI BIOS function 0x0E
(XEN) (GUEST: 1) int13_harddisk: function 15, unmapped device for ELDL=81
(XEN) (GUEST: 1) KBD: int09h_handler(): unknown scancode read!
(XEN) HVM_PIT: guest freq in cycles=30179987
======================================================================
The image is just sitting there "doing nothing", I see no screen /
consoles etc.
Do I have to enable / disable something else? Do I have to do something
with a network interface? I would not think so, as everything is "local"
at the moment.
Any pointers / help, much appreciated.
JC
On Sat, September 16, 2006 12:42, Z24 wrote:
>> "DD" also gives me an error:
>>
>>
>> root@John:/xen-image/mnt# dd if=/dev/hda of=/xen-image/mnt/winxp.iso
>> dd: reading `/dev/hda': Input/output error
>> 1190848+0 records in
>> 1190848+0 records out
>> 609714176 bytes (610 MB) copied, 172.029 seconds, 3.5 MB/s
>> root@John:/xen-image/mnt# ls -als
>> total 596020 4 drwxrwxrwx 2 root root 4096 Sep 16 11:50 .
>> 4 drwxrwxrwx 3 root root 4096 Sep 12 18:04 ..
>> 596012 -rw-r--r-- 1 root root 609714176 Sep 16 11:53 winxp.iso
>>
>>
>> Any ideas??
>>
>
> Have you tried to mount winxp.iso to see if the cdrom has been copied
> to it? Don't you have something like /dev/cdrom?
>
>
> If winxp.iso is ok but you get nothing on xm create, make sure you
> have all the required packages installed:
> http://www.linuxtopia.org/online_books/linux_virtualization/xen_3.0_user_
> guide/linux_virualization_xen_user_66.html#SECTION04310000000000000000 I
> had the same problem as yours (no windows opening and no cdrom bootup), I
> installed these packages and all worked: * dev86: I compiled
> bin86-0.16.17.tar.gz sources because I didn't find it using Synaptic or
> apt-get * sdl and sdl-dev: I compiled SDL-1.2.11 sources because Synaptic
> and apt-get was reporting a dependency error installing libsdl1.2-dev
> package (see Ubuntu forum) * libvncserver: I compiled LibVNCServer-0.8.2
> and x11vnc-0.8.2 because I didn't find libvncserver with Synaptic or
> apt-get; I also installed libvncserver-dev using apt-get
>
> --
> Z24
> www.computingart.tk
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
John Cassidy (Dipl.-Ingr.)
Berninastrasse 9
8057 Zuerich
Europe
Telephone: +41 (0) 43 300 4602
Mobile: +41 (0) 79 207 3268
E-Mail: john.cassidy@xxxxxxxxxxxxxxxx
http://www.JDCassidy.net
http://www.europeunited.org
http://en.wikipedia.org/wiki/Europe_United
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|