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: frank mueller <nig@xxxxxxxxxxxxxxxx>
Date: Thu, 25 Jan 2007 19:58:43 +0100
Delivery-date: Fri, 26 Jan 2007 01:35:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Hi VDR-Klaus,

i don´t think there is something wrong with suse there,
i´ve installed suse 10.2 hvm and it works,
but i have a amd x2 processor.

Do you plan to xenify vdr :-)

cheers
frank


--On Donnerstag, 25. Januar 2007 12:59 +0100 Klaus Schmidinger <Klaus.Schmidinger@xxxxxxxxxx> wrote:

Petersson, Mats wrote:
-----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

I tried that with the SUSE 8.2 installation, but the result was just the
same.

With SUSE 10.2 I don't even get that far that I could choose the
graphics/text mode.

In the meantime I have successfully installed Windows XP in a virtual
machine. It booted straight out of the ISO image without any problems.

What's wrong with SUSE Linux that it can't boot into a virtual machine?

Klaus

_______________________________________________
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