[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-sparc
Subject:    [gentoo-sparc] ss20 dual ross hypersparc; smp; 2.4/2.6 kernel
From:       Heitzso <heitzso () growthmodels ! com>
Date:       2003-09-23 13:53:21
[Download RAW message or body]

I'm wanting to setup SMP on a dual ross hypersparc ss20
with 2.4 or 2.6 kernel to be able to use iptables, etc.
(SOHO firewall/router/web server)

Because I'm familiar with debian (have had on my dev 386 box
for a long time) I went with debian install.  I'm cross posting
because debian/gentoo are the two active sparc development
efforts I'm aware of.  Debian stable 2.2.. single cpu
kernel out of the box worked fine.  I upgraded to Debian
unstable 2.4.. SMP and that kernel locked up on the way up.
That doesn't surprise me because I've been watching the
gentoo sparc list and noticing all of the SMP problems
discussed.  I tried compiling 2.6.0-test5 w/ both 2.95
and 3.3.2 gcc without luck.  Compiles broke fairly early.

I checked the changelog for 2.4.23 patch 5 and noticed
numerous gcc and sparc changes so attempted to compile
that version of the kernel.  At the moment using the 3.3.2
version of gcc.

With 2.4.23 p5 ...
device.c linux_cpus type collides with smp.h's version
smp.h's seems to be picking up the new config setting
via NR_CPUS while neither sparc nor sparc64 flavors do.
I altered the linux_cpus line in
	arch/sparc/kernel/device.c
and the compile went to completion.  I gather that
several individuals on these lists contribute to sparc
kernel development effort so ... if someone could
slip this patch into the code base that would be
great.  Thanks!

Next note is 'make bzImage' doesn't work in this
version of the kernel.  A simple 'make' builds
vmlinux and I (believe, haven't tried) can work
from there.  NOTE I assume this is not related
to sparc architecture but have not tracked it down.

Finally, I haven't tried running with this new
2.4.23-pre5 kernel yet.  That's next.


Heitzso


--
gentoo-sparc@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic