WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Problem running unmodified SUSE Linux guest on XEN/VT

To: "Klaus Schmidinger" <Klaus.Schmidinger@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Problem running unmodified SUSE Linux guest on XEN/VT
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 23 Jan 2007 13:23:40 +0100
Delivery-date: Tue, 23 Jan 2007 04:24:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45B5FC1C.8050607@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc+6B10QoVfb6VRQKOFxtnoH8JCywAARCEQ
Thread-topic: [Xen-users] Problem running unmodified SUSE Linux guest on XEN/VT
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Klaus Schmidinger
> Sent: 23 January 2007 12:14
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Problem running unmodified SUSE Linux 
> guest on XEN/VT
> 
> I have a PC with an Intel Core 2 Duo E6600 2,40GHz F1066 CPU
> that runs openSUSE 10.2. The VT feature in the BIOS is enabled.
> The XEN version is 3.0.3_11774.
> 
> uname -a:
> Linux tiger 2.6.18.2-34-xen #1 SMP Mon Nov 27 11:46:27 UTC 
> 2006 x86_64 x86_64 x86_64 GNU/Linux
> 
> On this machine I'd like to run SUSE Linux 8.2 and 10.2 as virtual
> machines. In an attempt to install a first virtual Linux machine
> I did the following:
> 
> - create an empty disk image file:
> 
>   dd if=/dev/zero of=disk2.img count=2048 bs=1M
> 
> - create a xen configuration file (named test3):
> 
>   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 = 512
>   shadow_memory = 8
>   name = "test3"
>   vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0' ]
>   disk = [ 'file:/Mirror/xen/disk2.img,ioemu:hda,w', 
> 'phy:/dev/dvd,hdc:cdrom,r' ]
>   boot = 'd'
>   device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
>   sdl=0
>   vnc=1
>   vnclisten="192.168.1.5"
>   vncviewer=0
>   stdvga=0
>   serial='pty'
>   on_crash='preserve'
> 
> - insert the SUSE installation DVD into the DVD drive
> 
> - create a VM:
> 
>   xm create test3
> 
> 
> The VM comes up and I can connect to its console with vncviewer.
> However, the various versions of SUSE Linux behave in different ways,
> none of them working correctly:
> 
> * SUSE 8.2:
> 
>   The initial installation menu comes up and offers "Boot 
> from Harddisk",
>   "Installation" etc. If I select "Installation" a popup says 
> "Starting..."
>   and "Loading Linux kernel" and the progress bar moves up 
> until it reaches
>   100%. Then the VNC screen gets blank and the VM crashes. 
> The same happens
>   with other options like "Rescue system".
> 
> * SUSE 10.2:
> 
>   I get some initial BIOS boot messages, like
> 
> 
>   Plex86/Bochs VGABios current-cvs 28 Nov 2006
>   ...
>   HVMAssist BIOS, 1 cpu, ...
>   ata0 master: QUEMU HARDDISK ATA-7 Hard-Disk (2048 MBytes)
>   ...
>   ata1 master: QUEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
>   ...
>   Booting from CD-Rom...
> 
>   ISOLINUX 3.31 0x45688c0e  Copyright (C) 1994-2005 H. Peter Anvin
>   Loading...
> 
> 
>   and nothing further happens. "xm list" gives me
> 
>   Name                    ID Mem(MiB) VCPUs State   Time(s)
>   Domain-0                 0     2432     2 r-----   1010.0
>   eagle2                  79      512     1 r-----    247.7
> 
> 
> 
> Since my server has a VT capable CPU, I would expect to be able to
> install and run any OS, without having to modify it.
> Am I doing something wrong here?
> 
> Klaus

I don't know for sure, but I would try to install in text-mode only. It
may not help, but it certainly won't hurt. 

--
Mats
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users