2002-08-15 00:12:35

by Scott Bronson

[permalink] [raw]
Subject: smp_num_cpus undeclared workaround

Kernel 2.4.19:

I was being plagued by the smp_num_cpus undeclared problems that seems
be circulating since the 2.3 days. I appear to have triggered it by
turning SMP on, doing a full build, and then turning it off. No
combination of make clean/dep/etc fixes it. Finally, in desperation, I
tried:

cp .config ~/config.bak
make mrproper
cp ~/config.bak .config
make

And that fixed it. Surprising. Has anyone looked into what file
isn't being properly cleaned? Given the LKML traffic that this
problem has generated, this should probably be fixed.


Thanks,

- Scott



2002-08-15 00:22:54

by Scott Bronson

[permalink] [raw]
Subject: Re: smp_num_cpus undeclared workaround

Dammit, I'm sorry about this...

Everything here is true, but this message is incomplete. I wanted to do
some more research before posting this so I told Evolution to "Send
Later."

Apparently, to Evolution, Send Later means Send in About 15 Minutes.

I'll post again after I've played around some more. Again, my
apologies.





On Wed, 2002-08-14 at 17:15, Scott Bronson wrote:
> Kernel 2.4.19:
>
> I was being plagued by the smp_num_cpus undeclared problems that seems
> be circulating since the 2.3 days. I appear to have triggered it by
> turning SMP on, doing a full build, and then turning it off. No
> combination of make clean/dep/etc fixes it. Finally, in desperation, I
> tried:
>
> cp .config ~/config.bak
> make mrproper
> cp ~/config.bak .config
> make
>
> And that fixed it. Surprising. Has anyone looked into what file
> isn't being properly cleaned? Given the LKML traffic that this
> problem has generated, this should probably be fixed.
>
>
> Thanks,
>
> - Scott
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


2002-08-15 00:52:08

by Rik van Riel

[permalink] [raw]
Subject: Re: smp_num_cpus undeclared workaround

On 14 Aug 2002, Scott Bronson wrote:

> Everything here is true, but this message is incomplete. I wanted to do
> some more research before posting this so I told Evolution to "Send
> Later."
>
> Apparently, to Evolution, Send Later means Send in About 15 Minutes.

Looks like Evolution is Darwinian, after all ;)

Rik
--
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.com/

2002-08-15 03:32:19

by Scott Bronson

[permalink] [raw]
Subject: Re: smp_num_cpus undeclared workaround

On Wed, 2002-08-14 at 17:55, Rik van Riel wrote:
> Looks like Evolution is Darwinian, after all ;)

Unfortunately for me, yes. PEBKAC: I needed to use "Save as Draft," not
"Send Later."

And, now, this 100% reproducible link error is not reproducing for me.
I thought I had it. Bah! Well, I'll continue to keep an eye out for
it.

- Scott