[OpenAFS] Problem with installing

Derek Atkins warlord@MIT.EDU
18 May 2001 09:26:34 -0400


This is a known problem with the 2x.1 RPMS.  Wait for the 2x.2 RPMS to
become available.  The 22.2 RPMS for RH 6.2 are available now, and
Derrick should be rebuilding the 24.2 RPMS for RH 7.0 and 7.1 Really
Soon Now (TM).

-derek

"Tufan Sen" <tufan@itu.edu.tr> writes:

> >
> > > Then I used the RPMS for RedHat 7.1.
> > > When I try to start afs with "/etc/rc.d/init.d/afs start" I
> > got an error
> > > about the kernel module. I fixed it by copying the kernel
> > module with the
> > > correct name. (I added smp to the module name.) Then
> > everything worked fine
> > > until I tried to write a file.
> >
> > This is not a fix. a non-smp module is correctly named for use on a
> > non-smp system, and won't work on an smp system. You'll need
> > to compile a
> > module for your system, and there are reports it won't work with the
> > Redhat kernel in the SMP case, which I haven't verified.
> > OpenAFS 1.0.4 is
> > known to work on a 2.4.4 SMP (4 processor) system with a non-Alan-Cox
> > kernel.
> >
> 
> I tried to compile the kernel modules from openafs-kernel-source rpm for RH
> 7.1. I got the following error. "redhat.sh" is missing. Where can I get it?
> Or is there another way to compile the kernel modules ? Thanks for your
> helps.
> 
> [root@seawolf openafs-kernel-1.0.4]# make build-it
> LNX24_SRCDIR=/usr/src/linux
> cd src; make all LINUX_SRCDIR=/usr/src/linux-`uname -r`
> LINUX_VERS=`uname -r`
> make[1]: Entering directory `/usr/src/openafs-kernel-1.0.4/src'
> Makefile:167: warning: overriding commands for target `xdr_int64.o'
> Makefile.common:234: warning: ignoring old commands for target `xdr_int64.o'
> rm -f h net netinet sys rpc
> ln -s rx rpc
> for v in 2.4.2-2smp ; do \
>         for m in MP SP ; do \
>                 KDIR=MODLOAD-$v-$m; \
>                 mkdir -p ${KDIR}; \
>                 ln -fs ../Makefile ${KDIR}/Makefile ; \
>                 ln -fs ../Makefile.common ${KDIR}/Makefile.common; \
>                 sh ./redhat.sh /usr/src/linux-2.4.2-2smp$v
> ${KDIR}/Makefile.extradefs; \
>         done \
> done
> ./redhat.sh: ./redhat.sh: No such file or directory
> ./redhat.sh: ./redhat.sh: No such file or directory
> make[1]: *** [setup] Error 127
> make[1]: Leaving directory `/usr/src/openafs-kernel-1.0.4/src'
> make: *** [src/COMMON/libafs.o] Error 2
> 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available