All of lore.kernel.org
 help / color / mirror / Atom feed
From: "BERTRAND Joël" <mt1@systella.fr>
To: sparclinux@vger.kernel.org
Subject: Re: 2.6.17-rc5 does not build for sparc
Date: Sun, 28 May 2006 09:30:55 +0000	[thread overview]
Message-ID: <44796DCF.1030209@systella.fr> (raw)
In-Reply-To: <4478bffd45960@wp.pl>

Bob Breuer a écrit :
> Krzysztof Helt wrote:
> 
>>Hello,
>>
>>I tried to build the 2.6.17-rc5 for sparc with SMP enabled. The
>>kernel was not build due to a missing macro. Here is a patch
>>which fixes this (I copied the macro from a sparc64 header).
>>
> 
> 
> That's not all that is broken.  I think I have what could be 4 separate
> patches for smp here: (combined in the attached patch)
>   1. add topology_init - fixes a boot time crash
>   2. setup cpu_possible_map - actually boot the additional cpu's
>   3. fix smp related section mismatch warnings
>   4. add the missing *_can_lock macros
> 
> If you are running a local framebuffer, you may encounter a problem with
> vmalloc.  Adding "migration_cost\x10000" to the kernel command line
> should cover up the problem.
> 
> I haven't had the time to give it a thorough testing and see if it
> self-recompiles recently, but I was previously able to successfully
> rebuild the kernel with "make -j6" on a dual SuperSPARC II.

	I have tried your patch too and I only can randomly use a SS20 with two 
SSI/75 (448 MB). I have tested the last kernel proposed on the 
debian-sparc mailing list without any trouble but with only one SSII 
(SMP is broken but I haven't seen any DMA error).

	Question : does somebody use a SS20 with four ROSS ? I have seens a 
very strange trouble. I have a lot of RT626, SS20 and memory chips. With 
all configurations I have tested with more than two RT626, Solaris 9 
returns "watchdog reset". All motherboards have been tested and work 
fine. Same observations for RT626 and memory. Thus, I don't know if the 
trouble I have seen with Linux 2.6 and 4*RT626 come from hardware 
incompatibility or software mistake. Any idea ? Currently, I retest a 
SS20 with Solaris 9 and 2*RT626 and I have built without any trouble 
gcc-4.1.0 and gcc-4.1.1.

	Regards,

	JKB

  parent reply	other threads:[~2006-05-28  9:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-27 21:09 2.6.17-rc5 does not build for sparc Krzysztof Helt
2006-05-27 22:43 ` Bob Breuer
2006-05-28  9:30 ` BERTRAND Joël [this message]
2006-05-28 10:27 ` Christian Joensson
2006-05-29  6:03 ` Krzysztof Helt
2006-06-06  4:15 ` David Miller
2006-06-06  4:59 ` Bob Breuer
2006-06-06  5:08 ` David Miller
2006-06-06  7:09 ` Bob Breuer
2006-06-08 11:33 ` Krzysztof Helt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44796DCF.1030209@systella.fr \
    --to=mt1@systella.fr \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.