public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Schwarzseher <fields35@coolgoose.com>
To: linux-kernel@vger.kernel.org
Subject: 2.5.68 and SMP on arch/sparc
Date: Tue, 29 Apr 2003 15:33:02 +0200	[thread overview]
Message-ID: <3EAE7F0E.7080003@coolgoose.com> (raw)

Hi,
out whatever reasons I'm currently trying to update a debian 
installation on an old 2 processor SparcStation 20 clone.

Unfortunately I run into trouble compiling a 2.5.68 kernel on it. It 
seems that the inline "cpu_possible" is missing out of 
include/asm-sparc/smp.h while being existent in include/asm-i386/smp.h 
and others. A
Also unfortunately it seems to be needed for compiling successfully. 
Even more unfortunately I don't have an idea on how to add it (or rather 
what to add) because I'm not so deeply involved into inner kernel 
workings or the sparc architecture.

I attached the errors below. Am I the only one who tries to ran an 
actual 2.5 testing kernel on this vintage hardware?

While in this issue (even when it's off topic for this list, so please 
ignore if you feel insulted): Does anyone have an idea why swapon 
/dev/sdc2 throws a core since I updated to a (successfully for SMP 
compiled) 2.4.20 kernel? The swapon syscall is executed and in fact the 
swapspace is added but afterwards the swapon utility hickups with an 
segmentation fault... Had a look into the source but didn't understand 
what may be happening that results into a segfault.

Regards
Schwarzseher

---8<---8<---cut here for the kernel compile errors ---8<----8<-----8<----
  gcc -Wp,-MD,init/.main.o.d -D__KERNEL__ -Iinclude -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 -fomit-frame-pointer 
-nostdinc -iwithprefix include    -DKBUILD_BASENAME=main 
-DKBUILD_MODNAME=main -c -o init/.tmp_main.o init/main.c
In file included from include/linux/blkdev.h:6,
                 from include/linux/blk.h:4,
                 from init/main.c:26:
include/linux/genhd.h: In function `disk_stat_set_all':
include/linux/genhd.h:140: warning: implicit declaration of function 
`cpu_possible'
In file included from include/linux/interrupt.h:10,
                 from include/asm/highmem.h:23,
                 from include/linux/highmem.h:12,
                 from include/linux/pagemap.h:10,
                 from include/linux/blkdev.h:10,
                 from include/linux/blk.h:4,
                 from init/main.c:26:
include/asm/hardirq.h: In function `irqs_running':
include/asm/hardirq.h:135: `smp_num_cpus' undeclared (first use in this 
function)
include/asm/hardirq.h:135: (Each undeclared identifier is reported only once
include/asm/hardirq.h:135: for each function it appears in.)
include/asm/hardirq.h:136: `BR_GLOBALIRQ_LOCK' undeclared (first use in 
this function)
include/asm/hardirq.h: In function `release_irqlock':
include/asm/hardirq.h:148: `BR_GLOBALIRQ_LOCK' undeclared (first use in 
this function)
init/main.c: In function `smp_init':
init/main.c:339: warning: implicit declaration of function `num_online_cpus'
init/main.c:341: warning: implicit declaration of function `cpu_online'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
----8<--------8<-------8<-------8<-----



             reply	other threads:[~2003-04-29 13:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 13:33 Schwarzseher [this message]
2003-04-29 14:32 ` 2.5.68 and SMP on arch/sparc Rob Radez

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=3EAE7F0E.7080003@coolgoose.com \
    --to=fields35@coolgoose.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox