From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753214Ab1LLH0L (ORCPT ); Mon, 12 Dec 2011 02:26:11 -0500 Received: from cantor2.suse.de ([195.135.220.15]:57756 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752448Ab1LLH0K convert rfc822-to-8bit (ORCPT ); Mon, 12 Dec 2011 02:26:10 -0500 Subject: Re: Current kernel fails to compile with KVM on PowerPC Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Alexander Graf In-Reply-To: <20111211151620.GC28756@alea.gnuu.de> Date: Mon, 12 Dec 2011 08:26:07 +0100 Cc: Avi Kivity , Marcelo Tosatti , kvm list , kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <83BC42D5-9424-4137-BB9E-78E7C5BBFC63@suse.de> References: <20111107194838.GA23558@alea.gnuu.de> <20111122200414.GA28205@alea.gnuu.de> <20111211151620.GC28756@alea.gnuu.de> To: =?iso-8859-1?Q?J=F6rg_Sommer?= X-Mailer: Apple Mail (2.1084) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.12.2011, at 16:16, Jörg Sommer wrote: > Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben: >> On 22.11.2011, at 21:04, Jörg Sommer wrote: >>> Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben: >>>> I'm trying to build the kernel with the git commit-id >>>> 31555213f03bca37d2c02e10946296052f4ecfcd, but it fails >>>> >>>> CHK include/linux/version.h >>>> HOSTCC scripts/mod/modpost.o >>>> CHK include/generated/utsrelease.h >>>> UPD include/generated/utsrelease.h >>>> HOSTLD scripts/mod/modpost >>>> GEN include/generated/bounds.h >>>> CC arch/powerpc/kernel/asm-offsets.s >>>> In file included from arch/powerpc/kernel/asm-offsets.c:59:0: >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In function ‘compute_tlbie_rb’: >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: error: ‘HPTE_V_SECONDARY’ undeclared (first use in this function) >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: note: each undeclared identifier is reported only once for each function it appears in >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: error: ‘HPTE_V_1TB_SEG’ undeclared (first use in this function) >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: error: ‘HPTE_V_LARGE’ undeclared (first use in this function) >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: warning: right shift count >= width of type [enabled by default] >>>> make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1 >>>> make[2]: *** [prepare0] Fehler 2 >>>> make[1]: *** [deb-pkg] Fehler 2 >>>> make: *** [deb-pkg] Fehler 2 >>> >>> I'm still having this problem. I can' build >>> 6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to >>> make the kernel builds and do not oops [1] on PowerPC? >> >> The failures above should be fixed by now. > > I've pulled git://git.kernel.org/pub/scm/virt/kvm/kvm.git > (a41d08d13f903da5c633fc58ee074156f05ab3ce), but this tree doesn't contain > a suitable commit. Where can I find it? Please try: git://github.com/agraf/linux-2.6.git kvm-ppc-next That's my WIP tree. I still have a few more patches I want to collect before shoving everything through automated testing and pushing it on to Avi. Alex From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Mon, 12 Dec 2011 07:26:07 +0000 Subject: Re: Current kernel fails to compile with KVM on PowerPC Message-Id: <83BC42D5-9424-4137-BB9E-78E7C5BBFC63@suse.de> List-Id: References: <20111107194838.GA23558@alea.gnuu.de> <20111122200414.GA28205@alea.gnuu.de> <20111211151620.GC28756@alea.gnuu.de> In-Reply-To: <20111211151620.GC28756@alea.gnuu.de> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: =?iso-8859-1?Q?J=F6rg_Sommer?= Cc: Avi Kivity , Marcelo Tosatti , kvm list , kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org On 11.12.2011, at 16:16, J=F6rg Sommer wrote: > Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben: >> On 22.11.2011, at 21:04, J=F6rg Sommer wrote: >>> J=F6rg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben: >>>> I'm trying to build the kernel with the git commit-id >>>> 31555213f03bca37d2c02e10946296052f4ecfcd, but it fails >>>>=20 >>>> CHK include/linux/version.h >>>> HOSTCC scripts/mod/modpost.o >>>> CHK include/generated/utsrelease.h >>>> UPD include/generated/utsrelease.h >>>> HOSTLD scripts/mod/modpost >>>> GEN include/generated/bounds.h >>>> CC arch/powerpc/kernel/asm-offsets.s >>>> In file included from arch/powerpc/kernel/asm-offsets.c:59:0: >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h: In functi= on =91compute_tlbie_rb=92: >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: er= ror: =91HPTE_V_SECONDARY=92 undeclared (first use in this function) >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:393:10: no= te: each undeclared identifier is reported only once for each function it a= ppears in >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:396:12: er= ror: =91HPTE_V_1TB_SEG=92 undeclared (first use in this function) >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:401:10: er= ror: =91HPTE_V_LARGE=92 undeclared (first use in this function) >>>> /home/joerg/git/linux/arch/powerpc/include/asm/kvm_book3s.h:415:2: war= ning: right shift count >=3D width of type [enabled by default] >>>> make[3]: *** [arch/powerpc/kernel/asm-offsets.s] Fehler 1 >>>> make[2]: *** [prepare0] Fehler 2 >>>> make[1]: *** [deb-pkg] Fehler 2 >>>> make: *** [deb-pkg] Fehler 2 >>>=20 >>> I'm still having this problem. I can' build >>> 6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82. Are there any patches to >>> make the kernel builds and do not oops [1] on PowerPC? >>=20 >> The failures above should be fixed by now. >=20 > I've pulled git://git.kernel.org/pub/scm/virt/kvm/kvm.git > (a41d08d13f903da5c633fc58ee074156f05ab3ce), but this tree doesn't contain > a suitable commit. Where can I find it? Please try: git://github.com/agraf/linux-2.6.git kvm-ppc-next That's my WIP tree. I still have a few more patches I want to collect befor= e shoving everything through automated testing and pushing it on to Avi. Alex