|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
[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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-users] Problem running unmodified SUSE Linux guest on XEN/VT,
Klaus Schmidinger <=
 |  |  | 
  
    |  |  |