public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* compile 2.6.23 for zx2000?
@ 2007-10-10  6:35 Grant Grundler
  2007-10-10  9:08 ` Andreas Schwab
  2007-10-11  5:16 ` Grant Grundler
  0 siblings, 2 replies; 3+ messages in thread
From: Grant Grundler @ 2007-10-10  6:35 UTC (permalink / raw)
  To: linux-ia64

Hi folks,
After a long break, I'm trying to update the kernel on my ia64 HP zx2000.
Config file is attached. Two issues with kernel.org 2.6.23:

1) Can't build with NUMA=n and DISCONTIG=y.
   Build quickly dies with NODE_DATA being undefined.
   I tried to "work around" it with two changes:
   a) include <asm/nodedata.h> from asm/mmzone.h. Not the other way around!
   No one includes asm/nodedata.h (except processor.h).
   Everyone includes linux/mmzone.h (which includes asm/mmzone.h).
   That needs to include nodedata.h to provide NODE_DATA.
   The few arches I checked define NODE_DATA in their asm/mmzone.h.

   b) added defined(CONFIG_NEED_MULTIPLE_NODES) to a few places that
   check CONFIG_NUMA so NODE_DATA would get properly defined.
   e.g. asm/processor.h for
#if defined(CONFIG_NUMA) || defined(CONFIG_NEED_MULTIPLE_NODES)
        struct ia64_node_data *node_data;
#endif


   I decided this wasn't meant to be when node_cpuid was not defined.
   Forcing CONFIG_NUMA when DISCONTIG was enabled got me alot further:

--- linux-2.6.23/arch/ia64/Kconfig-ORIG	2007-10-09 13:31:38.000000000 -0700
+++ linux-2.6.23/arch/ia64/Kconfig	2007-10-09 22:51:19.000000000 -0700
@@ -101,6 +101,7 @@
 config IA64_GENERIC
 	bool "generic"
 	select NUMA
+	select NEED_MULTIPLE_NODES
 	select ACPI_NUMA
 	select SWIOTLB
 	help
@@ -358,6 +359,7 @@
 	depends on !IA64_HP_SIM && !FLATMEM
 	default y if IA64_SGI_SN2
 	select ACPI_NUMA if ACPI
+	select NEED_MULTIPLE_NODES
 	help
 	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
 	  Access).  This option is for configuring high-end multiprocessor


2) But I'm getting this error:
  CC [M]  drivers/char/ipmi/ipmi_si_intf.o
drivers/char/ipmi/ipmi_si_intf.c:1095: error: __param_hotmod causes a section type conflict
make[3]: *** [drivers/char/ipmi/ipmi_si_intf.o] Error 1

I've no idea what's going on here. config file is attached.

Lastly, I've failed to boot with a 2.6.22-2-mckinley on my zx2000.
But I suspect it's failing because I don't have "noasync" and will
retry with that. (This zx2000 has u320 SCSI card for it's internal disks.)

thanks,
grant

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile 2.6.23 for zx2000?
  2007-10-10  6:35 compile 2.6.23 for zx2000? Grant Grundler
@ 2007-10-10  9:08 ` Andreas Schwab
  2007-10-11  5:16 ` Grant Grundler
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2007-10-10  9:08 UTC (permalink / raw)
  To: linux-ia64

Grant Grundler <grundler@parisc-linux.org> writes:

> 2) But I'm getting this error:
>   CC [M]  drivers/char/ipmi/ipmi_si_intf.o
> drivers/char/ipmi/ipmi_si_intf.c:1095: error: __param_hotmod causes a section type conflict

This is probably the same as
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id1490>.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile 2.6.23 for zx2000?
  2007-10-10  6:35 compile 2.6.23 for zx2000? Grant Grundler
  2007-10-10  9:08 ` Andreas Schwab
@ 2007-10-11  5:16 ` Grant Grundler
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Grundler @ 2007-10-11  5:16 UTC (permalink / raw)
  To: linux-ia64

On Wed, Oct 10, 2007 at 11:08:31AM +0200, Andreas Schwab wrote:
> Grant Grundler <grundler@parisc-linux.org> writes:
> 
> > 2) But I'm getting this error:
> >   CC [M]  drivers/char/ipmi/ipmi_si_intf.o
> > drivers/char/ipmi/ipmi_si_intf.c:1095: error: __param_hotmod causes a section type conflict
> 
> This is probably the same as
> <http://gcc.gnu.org/bugzilla/show_bug.cgi?id1490>.

Yup - looks like the same symptom at least.
Does Debian have a gcc 4.2 or later compiler with that fixed?

I'd be happy to test it by building/running a 2.6.23 kernel if
given a .deb to install.

thanks,
grant

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-11  5:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10  6:35 compile 2.6.23 for zx2000? Grant Grundler
2007-10-10  9:08 ` Andreas Schwab
2007-10-11  5:16 ` Grant Grundler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox