Re: Stable update of linux-2.6
- To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Cc: Ben Hutchings <ben@decadent.org.uk>, stable@kernel.org, Debian kernel maintainers <debian-kernel@lists.debian.org>, debian-release@lists.debian.org, "Adam D. Barratt" <adam@adam-barratt.org.uk>, greg@kroah.com, paulmck@linux.vnet.ibm.com, mikey@neuling.org, anton@samba.org, Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
- Subject: Re: Stable update of linux-2.6
- From: dann frazier <dannf@dannf.org>
- Date: Mon, 4 Apr 2011 16:10:55 -0600
- Message-id: <[🔎] 20110404221055.GF3720@dannf.org>
- In-reply-to: <[🔎] 1301780019.2549.31.camel@pasglop>
- References: <1301254282.26693.661.camel@localhost> <1301437578.12508.562.camel@hathi.jungle.funky-badger.org> <1301440319.10056.13.camel@localhost> <20110330084109.GA8255@linux.vnet.ibm.com> <[🔎] 20110402172303.GB2611@dannf.org> <[🔎] 20110402184007.GA4822@linux.vnet.ibm.com> <[🔎] 1301780019.2549.31.camel@pasglop>
On Sun, Apr 03, 2011 at 07:33:39AM +1000, Benjamin Herrenschmidt wrote:
> On Sun, 2011-04-03 at 00:10 +0530, Kamalesh Babulal wrote:
> > * dann frazier <dannf@dannf.org> [2011-04-02 11:23:03]:
> >
> > > 2.6.32.36 also fails to build on powerpc/SMP:
> > >
> > > CC arch/powerpc/kernel/crash.o
> > > arch/powerpc/kernel/crash.c: In function 'crash_kexec_wait_realmode':
> > > arch/powerpc/kernel/crash.c:176: error: 'paca' undeclared (first use in this function)
> > > arch/powerpc/kernel/crash.c:176: error: (Each undeclared identifier is reported only once
> > > arch/powerpc/kernel/crash.c:176: error: for each function it appears in.)
> > > make[1]: *** [arch/powerpc/kernel/crash.o] Error 1
> > > make: *** [arch/powerpc/kernel] Error 2
> >
> > This build is not reproducible locally, can you please
> > send the .config file.
>
> Smells to me like a 32-bit build...
Yep, it is.
> Current upstream has the function crash_kexec_wait_realmode() protected
> by:
>
> #ifdef CONFIG_PPC_STD_MMU_64
>
> Maybe that is missing in .32.36 ? You can disable CONFIG_CRASH_DUMP as a
> workaround. Is it that useful anyways on 32-bit ? (Does it even work ?)
I'm just reporting this as a build-time regression in stable as it
caused an issue when we merged recent stable updates into the Debian
tree. I've never personally tried to configure kdump on powerpc.
fwiw, a quick test shows that kexec doesn't work on my test box:
dannf@macmini:~$ sudo kexec -l /boot/vmlinux-2.6.32-5-powerpc --append="root=/dev/hda3 ro" --initrd=/boot/initrd.img-2.6.32-5-powerpc
get_memory_ranges(): Unsupported platform
Could not get memory layout
Reply to: