Re: Current kernel fails to compile with KVM on PowerPC

From: Jörg Sommer
Date: Sun Dec 11 2011 - 10:39:28 EST


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?

Bye, JÃrg.
--
> Ich kenn mich mit OpenBSD kaum aus, was sind denn da so die
> Vorteile gegenueber Linux und iptables?
Der Fuchsschwanzeffekt ist grÃÃer. :->
Message-ID: <slrnb11064.54g.hschlen@xxxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP