[Fedora-xen] Windows XP guest reboot quickly and get killed, ideas?

Guiber guiber at free.fr
Thu Dec 7 08:03:19 UTC 2006


Hello,

I am trying to set up a fully virtualized windows xp. I have many
problems. Here is my configuration (Dell XPS M1210): 
vmx, pae, 2*2GHz,
RAM 512Mo,
fedora core 6, xen 3.03
Disk sda, Cdrom hdc
broadcom B44, intel ipw3945
Fedora is in Domain-0 and I would like to add guest windows xp.


First of all I have no internet access when booting the xen kernel. The
problem may come from fedora, I found a patched kernel :
http://people.redhat.com/sct/packages/kernel/kernel-xen-2.6.18-1.2857.4.2.fc6.0.2.sct/kernel-xen-2.6.18-1.2857.4.2.fc6.0.2.sct.i686.rpm
which solve the errors I could find in fedora dmesg but I still don't
have internet access. ifconfig shows errors in eth0 and there are lots
of interfaces I don't know about. See
2006_12_07_errors_no_eth0_kernel_sctxen



Then here is how I have proceeded for my installation:
- Create a partition for windows in my LVM group: principal/winxp (1,5
Go)
- Launch virt-manager and configure a new virtual guest:
winxp, fully virtualized, from cdrom, install to /dev/principal/winxp,
use 100 Mo for the new guest

On validation a window open and the installation begins. It is all
marvellous until the (normal) reboot of the guest; then I have been
unable to create the guest again "xm create winxp". Fedora as only sda
and hdc, whereas windows as hda as first drive. I don'y know if it is a
problem, I have the line : DEBUG (blkif:24) exception looking up device
number for hda: [Errno 2] No such file or directory: \047/dev/hda\047
Else, the guest reboot quickly (1,5s) so xend stop it after a while.

I tried to change from hda to sda in the configuration file; to install
to a file; to install from an iso...

When changing hda to sda vnc come up and I can see a bosch error.
See 2006_12_07_errors_xm_dmesg_second_attempt_sda
and from "[2006-12-07 12:34:45" in the xend_logs

When installing the guest in a file I can reboot and get vnc but the
screen is all black and the guest is automatically "paused" with 0% CPU
and 26% (around 30Mo) memory.
See 2006_12_07_errors_xm_dmesg_from_scratch_reboot
and from [2006-12-07 13:42:02 in the xend_logs

When installing from an iso: impossible,
virt-manager (libvirt?) can't see my iso (which I checked with a mount
-o ro,loop). As this problem can come from a selinux policy I did:
"semanage fcontext -l | grep xen_image_t" and put the iso in /xen but
it solved nothing.


Thank you very much for your help,
(I am not a member of the list, keep me on the CC please)

Guillaume


nota bene, some errors I could get from places to places and that
might be enough to understand where the problem come from:
 DEBUG
(blkif:24) exception looking up device number for hda: [Errno 2] No
such file or directory: \047/dev/hda \047 (XEN) (GUEST: 13)
int13_harddisk: function
42. LBA out of range (XEN) (GUEST:
13) int13_harddisk: function 08, unmapped device for ELDL=81 (XEN)
(GUEST:
12) *** int 15h function AX=E980, BX=00F2 not yet supported! (XEN)
(GUEST: 12) unsupported PCI BIOS function 0x0E (XEN) (GUEST: 12)
int13_harddisk: function 15, unmapped device for ELDL=81

// Fedora dmesg
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
audit(1165470833.831:44): avc:  denied  { read write } for  pid=6706
comm="ifconfig" name="principal-winxp" dev=tmpfs ino=1066
scontext=system_u:system_r:i fconfig_t:s0
tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2006_12_07_errors_install_from_scratch_dmesg
Type: application/octet-stream
Size: 16385 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061207/9d1be914/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2006_12_07_errors_no_eth0_kernel_sctxen
Type: application/octet-stream
Size: 2030 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061207/9d1be914/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2006_12_07_errors_xm_dmesg_first_attempt
Type: application/octet-stream
Size: 16385 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061207/9d1be914/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2006_12_07_errors_xm_dmesg_first_attempt_winxp.cfg
Type: application/octet-stream
Size: 456 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061207/9d1be914/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2006_12_07_errors_xm_dmesg_from_scratch_reboot
Type: application/octet-stream
Size: 16385 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061207/9d1be914/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2006_12_07_errors_xm_dmesg_second_attempt_sda
Type: application/octet-stream
Size: 16385 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061207/9d1be914/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xend_logs
Type: application/octet-stream
Size: 202722 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061207/9d1be914/attachment-0006.obj>


More information about the Fedora-xen mailing list