* Re: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
@ 2005-03-09 10:37 ` Darren Williams
2005-03-09 19:31 ` Luck, Tony
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Darren Williams @ 2005-03-09 10:37 UTC (permalink / raw)
To: linux-ia64
Hi dann
On Tue, 08 Mar 2005, dann frazier wrote:
> In 2.6.11, cpu_to_node_map has moved from numa.c to smpboot.c. Since
> smpboot.c isn't built on non-SMP systems, this causes non-smp builds to
> fail to link in various places.
>
> I don't know what the right answer is here - resurrect numa.c maybe?
We do not seem to have a problem on our Autobuild with CONFIG_SMP=n
http://www.gelato.unsw.edu.au/kerncomp/
Just tested latest bk ChangeSet@1.2028, 2005-03-08 16:26:54-08:00, gregkh@suse.de
tiger_defconfig
CONFIG_SMP=n
plus removal of some unwanted drivers builds OK
>
> --
> dann frazier <dannf@hp.com>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
2005-03-09 10:37 ` Darren Williams
@ 2005-03-09 19:31 ` Luck, Tony
2005-03-09 22:21 ` Christoph Hellwig
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Luck, Tony @ 2005-03-09 19:31 UTC (permalink / raw)
To: linux-ia64
>> In 2.6.11, cpu_to_node_map has moved from numa.c to smpboot.c. Since
>> smpboot.c isn't built on non-SMP systems, this causes
>non-smp builds to
>> fail to link in various places.
>>
>> I don't know what the right answer is here - resurrect numa.c maybe?
>We do not seem to have a problem on our Autobuild with CONFIG_SMP=n
>http://www.gelato.unsw.edu.au/kerncomp/
>
>Just tested latest bk ChangeSet@1.2028, 2005-03-08
>16:26:54-08:00, gregkh@suse.de
>tiger_defconfig
>CONFIG_SMP=n
>
>plus removal of some unwanted drivers builds OK
Yes, tiger builds ok with SMP=n (if you pull from the linux-ia64-test-2.6.12
you'll also gets Bjorn's fix to iosapic so the the resulting kernel will
boot, rather than hang).
There are still problems with building the generic kernel with SMP=n
-Tony
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
2005-03-09 10:37 ` Darren Williams
2005-03-09 19:31 ` Luck, Tony
@ 2005-03-09 22:21 ` Christoph Hellwig
2005-03-09 22:51 ` Jesse Barnes
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Christoph Hellwig @ 2005-03-09 22:21 UTC (permalink / raw)
To: linux-ia64
On Wed, Mar 09, 2005 at 09:37:29PM +1100, Darren Williams wrote:
> Hi dann
>
> On Tue, 08 Mar 2005, dann frazier wrote:
>
> > In 2.6.11, cpu_to_node_map has moved from numa.c to smpboot.c. Since
> > smpboot.c isn't built on non-SMP systems, this causes non-smp builds to
> > fail to link in various places.
> >
> > I don't know what the right answer is here - resurrect numa.c maybe?
> We do not seem to have a problem on our Autobuild with CONFIG_SMP=n
> http://www.gelato.unsw.edu.au/kerncomp/
>
> Just tested latest bk ChangeSet@1.2028, 2005-03-08 16:26:54-08:00, gregkh@suse.de
> tiger_defconfig
> CONFIG_SMP=n
>
> plus removal of some unwanted drivers builds OK
Is that an IA64_GENERIC build?
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
` (2 preceding siblings ...)
2005-03-09 22:21 ` Christoph Hellwig
@ 2005-03-09 22:51 ` Jesse Barnes
2005-03-10 0:13 ` Luck, Tony
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jesse Barnes @ 2005-03-09 22:51 UTC (permalink / raw)
To: linux-ia64
On Wednesday, March 9, 2005 11:31 am, Luck, Tony wrote:
> Yes, tiger builds ok with SMP=n (if you pull from the
> linux-ia64-test-2.6.12 you'll also gets Bjorn's fix to iosapic so the the
> resulting kernel will boot, rather than hang).
>
> There are still problems with building the generic kernel with SMP=n
I thought we had worked all these out awhile ago? I assume you're merging all
this stuff as fast as you can now that 2.6.12 is open? Or do you need me to
resend? If so, let me know when you've got the bulk of your queue merged and
I can fix things up, rediff and resend.
Thanks,
Jesse
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
` (3 preceding siblings ...)
2005-03-09 22:51 ` Jesse Barnes
@ 2005-03-10 0:13 ` Luck, Tony
2005-03-10 1:28 ` Darren Williams
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Luck, Tony @ 2005-03-10 0:13 UTC (permalink / raw)
To: linux-ia64
>On Wednesday, March 9, 2005 11:31 am, Luck, Tony wrote:
>> Yes, tiger builds ok with SMP=n (if you pull from the
>> linux-ia64-test-2.6.12 you'll also gets Bjorn's fix to
>iosapic so the the
>> resulting kernel will boot, rather than hang).
>>
>> There are still problems with building the generic kernel with SMP=n
>
>I thought we had worked all these out awhile ago? I assume you're merging all
>this stuff as fast as you can now that 2.6.12 is open? Or do
>you need me to resend? If so, let me know when you've got the bulk of your
>queue merged and I can fix things up, rediff and resend.
I'm trying to not go "as fast as I can" this time around ... I'm
aiming for better review and test of stuff as I put it in (to avoid
at least some of the messes that I made before).
At the moment I'm skimming backwards and forwards through the
backlog picking stuff and loading it into linux-ia64-test-2.6.12
tree. I'm going to try to be more systematic about routing
patches through the test tree before moving them into the release
tree.
I have little hope that the SMP=n,GENERIC patches will still apply
by the time I get back to them ... so a re-diffed fix would be
appreciated (in a couple of weeks when the backlog has drained).
-Tony
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
` (4 preceding siblings ...)
2005-03-10 0:13 ` Luck, Tony
@ 2005-03-10 1:28 ` Darren Williams
2005-03-10 17:19 ` dann frazier
2005-03-10 21:09 ` Luck, Tony
7 siblings, 0 replies; 9+ messages in thread
From: Darren Williams @ 2005-03-10 1:28 UTC (permalink / raw)
To: linux-ia64
Hi Luck,
On Wed, 09 Mar 2005, Luck, Tony wrote:
> >On Wednesday, March 9, 2005 11:31 am, Luck, Tony wrote:
> >> Yes, tiger builds ok with SMP=n (if you pull from the
> >> linux-ia64-test-2.6.12 you'll also gets Bjorn's fix to
> >iosapic so the the
> >> resulting kernel will boot, rather than hang).
> >>
> >> There are still problems with building the generic kernel with SMP=n
> >
> >I thought we had worked all these out awhile ago? I assume you're merging all
> >this stuff as fast as you can now that 2.6.12 is open? Or do
> >you need me to resend? If so, let me know when you've got the bulk of your
> >queue merged and I can fix things up, rediff and resend.
>
> I'm trying to not go "as fast as I can" this time around ... I'm
> aiming for better review and test of stuff as I put it in (to avoid
> at least some of the messes that I made before).
>
> At the moment I'm skimming backwards and forwards through the
> backlog picking stuff and loading it into linux-ia64-test-2.6.12
> tree. I'm going to try to be more systematic about routing
> patches through the test tree before moving them into the release
> tree.
>
> I have little hope that the SMP=n,GENERIC patches will still apply
> by the time I get back to them ... so a re-diffed fix would be
> appreciated (in a couple of weeks when the backlog has drained).
>
Let me know when the SMP=n,GENERIC patches have been push into
mainline and I will add a build run for it on the ia64 autobuild:
http://www.gelato.unsw.edu.au/kerncomp/
Darren
> -Tony
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
` (5 preceding siblings ...)
2005-03-10 1:28 ` Darren Williams
@ 2005-03-10 17:19 ` dann frazier
2005-03-10 21:09 ` Luck, Tony
7 siblings, 0 replies; 9+ messages in thread
From: dann frazier @ 2005-03-10 17:19 UTC (permalink / raw)
To: linux-ia64
On Wed, 2005-03-09 at 11:31 -0800, Luck, Tony wrote:
> >> In 2.6.11, cpu_to_node_map has moved from numa.c to smpboot.c. Since
> >> smpboot.c isn't built on non-SMP systems, this causes
> >non-smp builds to
> >> fail to link in various places.
> >>
> >> I don't know what the right answer is here - resurrect numa.c maybe?
> >We do not seem to have a problem on our Autobuild with CONFIG_SMP=n
> >http://www.gelato.unsw.edu.au/kerncomp/
> >
> >Just tested latest bk ChangeSet@1.2028, 2005-03-08
> >16:26:54-08:00, gregkh@suse.de
> >tiger_defconfig
> >CONFIG_SMP=n
> >
> >plus removal of some unwanted drivers builds OK
>
> Yes, tiger builds ok with SMP=n (if you pull from the linux-ia64-test-2.6.12
> you'll also gets Bjorn's fix to iosapic so the the resulting kernel will
> boot, rather than hang).
>
> There are still problems with building the generic kernel with SMP=n
fyi, I tried a UP build of linux-ia64-test-2.6.12 (assuming I checked
out the right stuff - I don't use bk much), and I get the following
compile error:
AS arch/ia64/kernel/head.o
arch/ia64/kernel/head.S:267:54: macro
"SAL_TO_OS_BOOT_HANDOFF_STATE_SAVE" passed 3 arguments, but takes just 2
make[1]: *** [arch/ia64/kernel/head.o] Error 1
This is because the macro is defined as the following w/
CONFIG_HOTPLUG_CPU:
#define SAL_TO_OS_BOOT_HANDOFF_STATE_SAVE(_reg1,_reg2,_pred)
But, if CONFIG_HOTPLUG_CPU is disabled (it requires CONFIG_SMP), the
following is defined:
#define SAL_TO_OS_BOOT_HANDOFF_STATE_SAVE(a1,a2)
I posted my .config here:
http://free.linux.hp.com/~dannf/linux-ia64-test-2.6.12-20050310.config
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: cpu_to_node_map on UP systems
2005-03-09 6:48 cpu_to_node_map on UP systems dann frazier
` (6 preceding siblings ...)
2005-03-10 17:19 ` dann frazier
@ 2005-03-10 21:09 ` Luck, Tony
7 siblings, 0 replies; 9+ messages in thread
From: Luck, Tony @ 2005-03-10 21:09 UTC (permalink / raw)
To: linux-ia64
>fyi, I tried a UP build of linux-ia64-test-2.6.12 (assuming I checked
>out the right stuff - I don't use bk much), and I get the following
>compile error:
>
> AS arch/ia64/kernel/head.o
>arch/ia64/kernel/head.S:267:54: macro
>"SAL_TO_OS_BOOT_HANDOFF_STATE_SAVE" passed 3 arguments, but
>takes just 2
>make[1]: *** [arch/ia64/kernel/head.o] Error 1
I'd just found the same thing ... Ashok gave me a patch, and
I just pushed it up to bkbits. So do a "bk pull" and try again.
-Tony
^ permalink raw reply [flat|nested] 9+ messages in thread