From: Alexander Graf <agraf@suse.de> To: "Jörg Sommer" <joerg@alea.gnuu.de> Cc: Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>, kvm list <kvm@vger.kernel.org>, kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Current kernel fails to compile with KVM on PowerPC Date: Tue, 22 Nov 2011 22:29:09 +0100 [thread overview] Message-ID: <E687C074-57CC-41AD-BA0E-0C957679E900@suse.de> (raw) In-Reply-To: <20111122200414.GA28205@alea.gnuu.de> On 22.11.2011, at 21:04, Jörg Sommer wrote: > Hi, > > 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. > [1] »kernel BUG at include/linux/kvm_host.h:603!« > http://www.mail-archive.com/kvm@vger.kernel.org/msg61433.html This is unfortunately still there. It's because of preemption being enabled. Please just use CONFIG_PREEMPT_NONE for the time being - it's on my todo list :) Alex
WARNING: multiple messages have this Message-ID (diff)
From: Alexander Graf <agraf@suse.de> To: "Jörg Sommer" <joerg@alea.gnuu.de> Cc: Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>, kvm list <kvm@vger.kernel.org>, kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Current kernel fails to compile with KVM on PowerPC Date: Tue, 22 Nov 2011 21:29:09 +0000 [thread overview] Message-ID: <E687C074-57CC-41AD-BA0E-0C957679E900@suse.de> (raw) In-Reply-To: <20111122200414.GA28205@alea.gnuu.de> On 22.11.2011, at 21:04, Jörg Sommer wrote: > Hi, > > 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. > [1] »kernel BUG at include/linux/kvm_host.h:603!« > http://www.mail-archive.com/kvm@vger.kernel.org/msg61433.html This is unfortunately still there. It's because of preemption being enabled. Please just use CONFIG_PREEMPT_NONE for the time being - it's on my todo list :) Alex
next prev parent reply other threads:[~2011-11-22 21:29 UTC|newest] Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-11-07 19:48 Current kernel fails to compile with KVM on PowerPC Jörg Sommer 2011-11-07 19:48 ` Jörg Sommer 2011-11-07 20:16 ` Avi Kivity 2011-11-07 20:16 ` Avi Kivity 2011-11-07 20:43 ` Alexander Graf 2011-11-07 20:43 ` Alexander Graf 2011-11-22 20:04 ` Jörg Sommer 2011-11-22 20:04 ` Jörg Sommer 2011-11-22 21:29 ` Alexander Graf [this message] 2011-11-22 21:29 ` Alexander Graf 2011-12-11 15:16 ` Jörg Sommer 2011-12-11 15:16 ` Jörg Sommer 2011-12-12 7:26 ` Alexander Graf 2011-12-12 7:26 ` Alexander Graf 2012-02-20 17:38 ` Jörg Sommer 2012-02-20 17:38 ` Jörg Sommer 2012-02-20 21:27 ` Alexander Graf 2012-02-20 21:27 ` Alexander Graf 2012-02-21 8:32 ` Jörg Sommer 2012-02-21 8:32 ` Jörg Sommer 2012-02-25 14:51 ` Jörg Sommer 2012-02-25 14:51 ` Jörg Sommer 2012-02-26 0:06 ` Jörg Sommer 2012-02-26 0:06 ` Jörg Sommer 2012-02-26 23:54 ` Alexander Graf 2012-02-26 23:54 ` Alexander Graf 2012-02-26 11:43 ` Alexander Graf 2012-02-26 11:43 ` Alexander Graf 2012-02-27 0:08 ` Jörg Sommer 2012-02-27 0:08 ` Jörg Sommer 2012-02-27 0:30 ` Alexander Graf 2012-02-27 0:30 ` Alexander Graf 2012-02-27 11:31 ` Jörg Sommer 2012-02-27 11:31 ` Jörg Sommer 2011-12-20 20:27 ` Jörg Sommer 2011-12-20 20:27 ` Jörg Sommer 2011-12-23 13:50 ` Alexander Graf 2011-12-23 13:50 ` Alexander Graf 2011-12-24 10:31 ` Jörg Sommer 2011-12-24 10:31 ` Jörg Sommer 2011-12-24 11:13 ` Jörg Sommer 2011-12-24 11:13 ` Jörg Sommer 2011-12-24 17:05 ` Alexander Graf 2011-12-24 17:05 ` Alexander Graf 2011-12-25 9:38 ` Avi Kivity 2011-12-25 9:38 ` Avi Kivity 2011-12-25 11:01 ` Jörg Sommer 2011-12-25 11:01 ` Jörg Sommer 2011-12-26 14:18 ` Alexander Graf 2011-12-26 14:18 ` Alexander Graf 2011-12-24 10:59 ` Jörg Sommer 2011-12-24 10:59 ` Jörg Sommer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E687C074-57CC-41AD-BA0E-0C957679E900@suse.de \ --to=agraf@suse.de \ --cc=avi@redhat.com \ --cc=joerg@alea.gnuu.de \ --cc=kvm-ppc@vger.kernel.org \ --cc=kvm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mtosatti@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.