Skip to contentSkip to conversation

kvm-kmod-2.6.36

ANNOUNCE Jan Kiszka 2 participants 5 messages Oct 21, 2010 – Oct 25, 2010 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

Kernel 2.6.36 is baked, and so is the corresponding kvm-kmod now. A few fixes went in since -rc6, see below.

This release also marks the end of life for the kvm-kmod-2.6.35 series - although there are a few unreleased kvm-kmod fixes in git. But the very same patches can be obtained via .36 now, and there is currently no 2.6.35.8 with KVM updates in sight.

KVM changes since kvm-kmod-2.6.36-rc6:
- x86: Fix fs/gs reload oops with invalid ldt
- x86: Move TSC reset out of vmcb_init
- x86: Fix SVM VMCB reset

kvm-kmod changes:
- x86: make sure kvm_get_desc_base() doesn't sign extend
- Improve accuracy of tboot_enabled wrapping

#1 lore raw

Hello Jan,
trying to compile on 2.6.32.25-rc1 I get:

make -C /usr/src/redhat/BUILD/linux-2.6.32 M=`pwd` \
                LINUXINCLUDE="-I`pwd`/include -Iinclude \
                         -Iinclude2 -I/usr/src/redhat/BUILD/linux-2.6.32/source/include -I/usr/src/redhat/BUILD/linux-2.6.32/source/arch/x86/include \
                        -I`pwd`/include-compat -I`pwd`/x86 \
                        -include  include/linux/autoconf.h \
                        -include `pwd`/x86/external-module-compat.h" \
                "$@"

make[1]: Entering directory `/home/src/redhat/BUILD/linux-2.6.32'
CC [M] /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/svm.o
In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
from <command line>:1:
include/linux/types.h:4:23: error: asm/types.h: No such file or directory
In file included from include/linux/types.h:14,
from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9, from <command line>:1:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
from <command line>:1:
include/linux/types.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’ include/linux/types.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’ include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’ include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’ include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’ include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’ include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’ include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’ include/linux/types.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’ include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’ include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’ include/linux/types.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’ include/linux/types.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’ include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’ .
.
.

not sure whether I'm not doing something wrong, can You help me with that? thanks a lot in advance!
with best regards
nikola ciprich

Quoted 21 lines · Jan Kiszka

Kernel 2.6.36 is baked, and so is the corresponding kvm-kmod now. A few fixes went in since -rc6, see below.

This release also marks the end of life for the kvm-kmod-2.6.35 series - although there are a few unreleased kvm-kmod fixes in git. But the very same patches can be obtained via .36 now, and there is currently no 2.6.35.8 with KVM updates in sight.

KVM changes since kvm-kmod-2.6.36-rc6:
- x86: Fix fs/gs reload oops with invalid ldt
- x86: Move TSC reset out of vmcb_init
- x86: Fix SVM VMCB reset

kvm-kmod changes:
- x86: make sure kvm_get_desc_base() doesn't sign extend
- Improve accuracy of tboot_enabled wrapping
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
#2 lore raw

hmm,
seems to be regression between kvm-kmod-2.6.35-rc3 and kvm-kmod-2.6.35, namely this snippet:

configure 2010-10-01 11:30:03.000000000 +0200 renamed from configure 2010-06-24 19:49:35.000000000 +0200 +1 -1
@@ -89,7 +89,7 @@
 kerneldir=$(cd $kerneldir; pwd)
                                                                                                                                                                                                               
 # see if we have split build and source directories
-if [ -d "$kerneldir/include2" -o -L "$kerneldir/source" ]; then
+if [ ! -d "$kerneldir/Kbuild" ]; then
     kernelsourcedir=$kerneldir/source
     if [ ! -L "$kernelsourcedir" ]; then
         kernelsourcedir=${kerneldir%/build*}/source

n.

Quoted 88 lines · Nikola Ciprich

Hello Jan,
trying to compile on 2.6.32.25-rc1 I get:

make -C /usr/src/redhat/BUILD/linux-2.6.32 M=`pwd` \
                LINUXINCLUDE="-I`pwd`/include -Iinclude \
                         -Iinclude2 -I/usr/src/redhat/BUILD/linux-2.6.32/source/include -I/usr/src/redhat/BUILD/linux-2.6.32/source/arch/x86/include \
                        -I`pwd`/include-compat -I`pwd`/x86 \
                        -include  include/linux/autoconf.h \
                        -include `pwd`/x86/external-module-compat.h" \
                "$@"

make[1]: Entering directory `/home/src/redhat/BUILD/linux-2.6.32'
CC [M] /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/svm.o
In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
from <command line>:1:
include/linux/types.h:4:23: error: asm/types.h: No such file or directory
In file included from include/linux/types.h:14,
from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9, from <command line>:1:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory In file included from /usr/src/redhat/BUILD/linux-2.6.32/kvm-kmod-2.6.36/x86/external-module-compat.h:9,
from <command line>:1:
include/linux/types.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’ include/linux/types.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’ include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’ include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’ include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’ include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’ include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’ include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’ include/linux/types.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’ include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’ include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’ include/linux/types.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’ include/linux/types.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’ include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’ .
.
.

not sure whether I'm not doing something wrong, can You help me with that? thanks a lot in advance!
with best regards
nikola ciprich

Quoted 21 lines · Jan Kiszka

Kernel 2.6.36 is baked, and so is the corresponding kvm-kmod now. A few fixes went in since -rc6, see below.

This release also marks the end of life for the kvm-kmod-2.6.35 series - although there are a few unreleased kvm-kmod fixes in git. But the very same patches can be obtained via .36 now, and there is currently no 2.6.35.8 with KVM updates in sight.

KVM changes since kvm-kmod-2.6.36-rc6:
- x86: Fix fs/gs reload oops with invalid ldt
- x86: Move TSC reset out of vmcb_init
- x86: Fix SVM VMCB reset

kvm-kmod changes:
- x86: make sure kvm_get_desc_base() doesn't sign extend
- Improve accuracy of tboot_enabled wrapping
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 17 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
author
#3 lore raw
Quoted 15 lines · Nikola Ciprich

hmm,
seems to be regression between kvm-kmod-2.6.35-rc3 and kvm-kmod-2.6.35, namely this snippet:

configure 2010-10-01 11:30:03.000000000 +0200 renamed from configure 2010-06-24 19:49:35.000000000 +0200 +1 -1
@@ -89,7 +89,7 @@
 kerneldir=$(cd $kerneldir; pwd)
 
 # see if we have split build and source directories
-if [ -d "$kerneldir/include2" -o -L "$kerneldir/source" ]; then
+if [ ! -d "$kerneldir/Kbuild" ]; then
     kernelsourcedir=$kerneldir/source
     if [ ! -L "$kernelsourcedir" ]; then
         kernelsourcedir=${kerneldir%/build*}/source
Quoted 1 line

n.

Oops, small but obviously fatal copy&paste mistake. Does this solve your issue?

configure +1 -1
index 4a37883..e37f5ff 100755
@@ -89,7 +89,7 @@ arch=${arch%%-*}
 kerneldir=$(cd $kerneldir; pwd)
 
 # see if we have split build and source directories
-if [ ! -d "$kerneldir/Kbuild" ]; then
+if [ ! -e "$kerneldir/Kbuild" ]; then
     kernelsourcedir=$kerneldir/source
     if [ ! -L "$kernelsourcedir" ]; then
         kernelsourcedir=${kerneldir%/build*}/source

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#4 lore raw
Quoted 17 lines

Oops, small but obviously fatal copy&paste mistake. Does this solve your issue?

configure +1 -1
index 4a37883..e37f5ff 100755
@@ -89,7 +89,7 @@ arch=${arch%%-*}
 kerneldir=$(cd $kerneldir; pwd)
 
 # see if we have split build and source directories
-if [ ! -d "$kerneldir/Kbuild" ]; then
+if [ ! -e "$kerneldir/Kbuild" ]; then
     kernelsourcedir=$kerneldir/source
     if [ ! -L "$kernelsourcedir" ]; then
         kernelsourcedir=${kerneldir%/build*}/source
Quoted 3 lines

Jan

Hello Jan,
yes, it does! thanks!
n.

Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------