[SCore-users-jp] Re: [SCore-users] scali SCI

kameyama @ pccluster.org kameyama @ pccluster.org
2003年 9月 16日 (火) 11:02:59 JST


In article <20030913154657.01602046.igor_makunin @ nightmail.ru> =?KOI8-R?Q?=ED=C1=CB=D5=CE=C9=CE_=E9=C7=CF=D2=D8?= <igor_makunin @ nightmail.ru> wrotes:
> I have installed 
> 	ScaSCI.Linux2.i86pc-2.4.18.rpm  
> 	ScaSCIadap.Linux2.i86pc-2.4.18.rpm  
> 	ScaSCIddk.Linux2.i86pc-2.4.18.rpm
> and SCore 5.4.0
> 
> and when in the directory /opt/score/score-src/SCore/pm2/arch/sci/driver/linu
> x
> I do 'make'
> I have the next error:
> 	gcc -D__KERNEL__ -I. -I../../include -I../../../../include -I/home/maku
> nin/kernel-2.4.19-score/include -I/opt/scali/include -I/opt/scali/include/icm
>  -I/opt/scali/kernel/rebuild/include -I/opt/scali/kernel/rebuild/Linux -Wall 
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -
> pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-funct
> ions=2 -DCPU=686 -DMODULE -DEXPORT_SYMTAB -D__KERNEL__=1 -DLinux=1 -DUSE_ALLO
> C_FIX=1 -c pm_sci.c
> `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
> 	In file included from pm_sci.c:72:
> 	/home/makunin/kernel-2.4.19-score/include/linux/malloc.h:4:2: warning: 
> #warning linux/malloc.h is deprecated, use linux/slab.h instead.
> 	pm_sci.c: In function `pm_sci_dev_getcsraddress':
> 	pm_sci.c:995: structure has no member named `csr_base'
> 	pm_sci.c:996: warning: control reaches end of non-void function
> 	pm_sci.c: At top level:
> 	pm_sci.c:29: warning: `rcsid' defined but not used
> 	make: *** [pm_sci.o] Error 1
> 
> what version of Scali SCI driver should I use?

We compile with ScaSCI* 2.4.4.
If you want to compile with 2.4.18, please change at 995 from:
    return (void *)(sc->padapter->card->csr_base);
to
    return (void *)(&(sc->padapter->card->asadr[0]));

Note that we cannot test PM/sci now because we don't have SCI board.

                       from Kameyama Toyohisa
_______________________________________________
SCore-users mailing list
SCore-users @ pccluster.org
http://www.pccluster.org/mailman/listinfo/score-users



SCore-users-jp メーリングリストの案内