Subject: [fwd] Re: problems getting SMP going...
To: None <tech-smp@netbsd.org>
From: Rob Windsor <windsor@warthog.com>
List: tech-smp
Date: 02/05/2002 17:01:01
ah, a copy for the list, worthy of telling.

Rob++

------- Forwarded Message

To: "." <telastyn@ideology.com>
From: Rob Windsor <windsor@warthog.com>
Reply-To: Rob Windsor <windsor@warthog.com>
Subject: Re: problems getting SMP going.. 
In-reply-to: Your message of "Tue, 05 Feb 2002 14:18:17 PST."
             <000701c1ae93$03d23d60$4500000a@interrupt.recourse.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 05 Feb 2002 16:59:17 -0600
Sender: windsor@warthog.com

On Tue, 05 Feb 2002 14:18:17 PST, verily did "." write:

>> Anyway, moving on...

>> : swamprat:/var/tmp/mp_kernel/sys/arch/i386/conf; config SWAMPRAT.MP
>> ../../../../arch/i386/conf/files.i386:203: redefinition of `joy'
>> ../../../../arch/i386/conf/files.i386:207: attach at `pci' already done by `joy_pci'
>> ../../../../arch/i386/conf/files.i386:287: redefinition of `joy_isa'
>> ../../../../arch/i386/conf/files.i386:315: redefinition of `joy_isapnp'
>> *** Stop.

> /*  work around  */
> I fiddled with this problem last night, and it appears to be more of
> a -current problem rather than with sommerfeld. (please correct if I'm
> mistaken). Commenting out the Joystick configs (unless you need a
> joystick...) in SWAMPRAT.MP (or GENERIC if it's included from there)
> should fix that problem (it did for me).

> I ran into a few other things (missing config_file.h, various
> re-declarations) which were beyond the time and patience I had to play
> with it.

Ah, I got it fixed, although I think I applied a "convenient hack" and not
something that should be broadcast.  Basically I whacked out the lines in
files.i386 that were generating complaints, added the two "joy" lines from
untagged -current and dropped in a copy of sys/arch/i386/isa/joy_timer.c
from untagged -current.

I didn't run into config_file.h problems.

The system is up and running now on the MP kernel.  I tried to run "make
build" with NBUILDJOBJS set to 4 and it blew up compiling the tools
(typical -j "getting the cart ahead of the horse" problem).  ah well.

Rob++
- ----------------------------------------
Internet: windsor@warthog.com                             __o
Life: Rob@Carrollton.Texas.USA.Earth                    _`\<,_
                                                       (_)/ (_)
The weather is here, wish you were beautiful.


------- End of Forwarded Message