[kvm-devel] KVM-61/62 build fails on SLES 10

2008-02-29 Thread M.J. Rutter
Whereas KVM-60 builds out of the box on SLES 10 SP1 (assuming gcc 3.4 is 
installed), KVM-61 and KVM-62 don't. They fail with:

make[1]: Entering directory `/scratch/KVM/kvm-61/kernel'
# include header priority 1) INUX 2) ERNELDIR 3) include-compat
make -C /lib/modules/2.6.16.54-0.2.5-smp/build M=`pwd` \
LINUXINCLUDE=-I`pwd`/include -Iinclude -I`pwd`/include-compat \
-include include/linux/autoconf.h \
$@
make[2]: Entering directory 
`/usr/src/linux-2.6.16.54-0.2.5-obj/x86_64/smp'
make -C ../../../linux-2.6.16.54-0.2.5 
O=../linux-2.6.16.54-0.2.5-obj/x86_64/smp
  LD  /scratch/KVM/kvm-61/kernel/built-in.o
  CC [M]  /scratch/KVM/kvm-61/kernel/svm.o
In file included from command line:1:
/scratch/KVM/kvm-61/kernel/external-module-compat.h:10:28: error: 
linux/compiler.h: No such file or directory
/scratch/KVM/kvm-61/kernel/external-module-compat.h:12:26: error: 
linux/string.h: No such file or directory

Trying to fiddle the include path to ensure that it finds 
/usr/src/linux/include then produces an error for linux/clocksource.h.

SLES 10 SP1 uses a kernel whose version is 2.6.16.54-0.2.5-smp, i.e. 
2.6.16 plus various back-ported bits. However, SLES 10 SP1 is the current 
version of SuSE Linux Enterprise Server, so in some sense this is current.

KVM was configured with

./configure --prefix=/usr/local/kvm/kvm-61 \
  --qemu-cc=/scratch/gcc-3.4/bin/gcc-3.4

Michael

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] KVM-61/62 build fails on SLES 10

2008-02-29 Thread M.J. Rutter
On Fri, 29 Feb 2008, M.J. Rutter wrote:

 Whereas KVM-60 builds out of the box on SLES 10 SP1 (assuming gcc 3.4 is 
 installed), KVM-61 and KVM-62 don't.

Bother. Ignore that. As far as I can see, no KVM since about KVM-37 has 
actually run on a kernel that old, due to the lack of hrtimer_init and 
friends. KVM-60 may build, but it certainly doesn't run, so KVM-61/62's 
inability to build is of no consequence.

Michael

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] SLES 10 install failing on KVM-28

2007-06-20 Thread M.J. Rutter
With KVM-28, attempting to install SLES 10 x86_64 from its DVD gives a 
blank black screen as soon as the installer switches from text mode, after 
the kernel has booted and the text-mode non-interactive part of yast has 
run: the window resizes from the text mode size, and is redrawn black, and 
then things stop, with kvm consuming almost no CPU.

If one tries the -std-vga option, then the same point is reached, only 
the console also fills with

kvm: get_dirty_pages returned -2

The command line was

/usr/local/kvm/bin/qemu-system-x86_64 -hda /scratch/sda6/VM/8GB_2 -cdrom \
 /dev/hda -m 1024 -k en-gb -net nic,macaddr=52:54:00:01:02:01 -net tap \
 -boot d -std-vga

and the host is an Intel Core2 running SLES 10 x86_64.

On the plus side, kvm successfully works with our PXE/autoyast SuSE 9.3
install system, even if SuSE 9.3 is now history...

Michael

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel