Re: KVM module build problem on today's git testing

2009-09-16 Thread Lucas Meneghel Rodrigues
Ok, Marcelo promptly fixed kvm-kmod

 e9f6d366fa77a0988bcba2554a63a539ff1b2358
 Date:   Wed Sep 16 15:44:20 2009 -0300
 Add printk_once definition

And now build works fine. Thank you very much Marcelo!

On Wed, Sep 16, 2009 at 2:48 PM, Lucas Meneghel Rodrigues
l...@redhat.com wrote:
 Hi folks, I've got a build problem on today's git testing, the relevant
 bits of the failure can be seen here:

 09/16 13:17:22 INFO |kvm_instal:0279| Building KVM modules
 09/16 13:17:22 DEBUG|     utils:0053| Running './configure'
 09/16 13:17:22 DEBUG|     utils:0053| Running 'make clean'
 09/16 13:17:22 DEBUG|     utils:0085| make -C 
 /lib/modules/2.6.29.6-217.2.8.fc11.x86_64/build M=`pwd` clean
 09/16 13:17:23 DEBUG|     utils:0085| make[1]: Entering directory 
 `/usr/src/kernels/2.6.29.6-217.2.8.fc11.x86_64'
 09/16 13:17:24 DEBUG|     utils:0085| make[1]: Leaving directory 
 `/usr/src/kernels/2.6.29.6-217.2.8.fc11.x86_64'
 09/16 13:17:24 DEBUG|     utils:0053| Running 'make sync 
 LINUX=/usr/local/autotest/tests/kvm/src/kvm'
 09/16 13:17:26 DEBUG|     utils:0085| ./sync -v  v2.6.31-rc3-8224-g852a3e8 -l 
 /usr/local/autotest/tests/kvm/src/kvm
 09/16 13:17:32 DEBUG|     utils:0053| Running 'make -j 4'
 09/16 13:17:32 DEBUG|     utils:0085| make -C 
 /lib/modules/2.6.29.6-217.2.8.fc11.x86_64/build M=`pwd` \
 09/16 13:17:32 DEBUG|     utils:0085|           LINUXINCLUDE=-I`pwd`/include 
 -Iinclude \
 09/16 13:17:32 DEBUG|     utils:0085|            -Iarch/x86/include 
 -I`pwd`/include-compat \
 09/16 13:17:32 DEBUG|     utils:0085|           -include 
 include/linux/autoconf.h \
 09/16 13:17:32 DEBUG|     utils:0085|           -include 
 `pwd`/x86/external-module-compat.h  \
 09/16 13:17:32 DEBUG|     utils:0085|           $@
 09/16 13:17:32 DEBUG|     utils:0085| make[1]: Entering directory 
 `/usr/src/kernels/2.6.29.6-217.2.8.fc11.x86_64'
 09/16 13:17:33 DEBUG|     utils:0085|   LD      
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/built-in.o
 09/16 13:17:33 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/svm.o
 09/16 13:17:33 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/vmx-debug.o
 09/16 13:17:33 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/vmx.o
 09/16 13:17:33 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/kvm_main.o
 09/16 13:17:35 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/x86.o
 09/16 13:17:35 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/mmu.o
 09/16 13:17:35 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/emulate.o
 09/16 13:17:36 DEBUG|     utils:0085|   CC [M]  
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/../anon_inodes.o
 09/16 13:17:36 ERROR|     utils:0085| 
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/x86.c: In function 
 ‘emulator_cmpxchg_emulated’:
 09/16 13:17:36 ERROR|     utils:0085| 
 /usr/local/autotest/tests/kvm/src/kvm_kmod/x86/x86.c:2681: error: implicit 
 declaration of function ‘printk_once’
 09/16 13:17:36 ERROR|     utils:0085| make[3]: *** 
 [/usr/local/autotest/tests/kvm/src/kvm_kmod/x86/x86.o] Error 1
 09/16 13:17:36 ERROR|     utils:0085| make[3]: *** Waiting for unfinished 
 jobs
 09/16 13:17:37 ERROR|     utils:0085| make[2]: *** 
 [/usr/local/autotest/tests/kvm/src/kvm_kmod/x86] Error 2
 09/16 13:17:37 DEBUG|     utils:0085| make[1]: Leaving directory 
 `/usr/src/kernels/2.6.29.6-217.2.8.fc11.x86_64'
 09/16 13:17:37 ERROR|     utils:0085| make[1]: *** 
 [_module_/usr/local/autotest/tests/kvm/src/kvm_kmod] Error 2
 09/16 13:17:37 ERROR|     utils:0085| make: *** [all] Error 2
 09/16 13:17:37 ERROR|       kvm:0114| Test failed: Command make -j 4 
 failed, rc=2, Command returned non-zero exit status

 Please let's look into this in order to unbreak the build. The host machine 
 is a fully up-to-date Fedora 11 box. I am available to provide any additional 
 info.

 Cheers,

 Lucas

 --
 To unsubscribe from this list: send the line unsubscribe kvm in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html




-- 
Lucas
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: KVM module build problem on today's git testing

2009-09-16 Thread Avi Kivity

On 09/16/2009 10:18 PM, Lucas Meneghel Rodrigues wrote:

Ok, Marcelo promptly fixed kvm-kmod

  e9f6d366fa77a0988bcba2554a63a539ff1b2358
  Date:   Wed Sep 16 15:44:20 2009 -0300
  Add printk_once definition

And now build works fine. Thank you very much Marcelo!
   


Regardless, kvm-kmod is scheduled for termination and you should prepare 
for this.  Newer kvm features are not supportable on older hosts.


--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html