[OpenAFS] 1.4.0rc5 SRPMS with amd64 problems...

Derek Atkins warlord@MIT.EDU
Wed, 05 Oct 2005 13:46:58 -0400


Hi,

Let's focus on RHEL4 for the moment, okay?
1) What rpmbuild command do you give?
2) What's the first 20 lines of output from rpmbuild?

-derek

Kurt Seiffert <seiffert@indiana.edu> writes:

> I'm trying to work with the SRPM's for 1.4.0rc5.=C2=A0
>
> We are compiling IBM xSeries 346 with Xeon cpu's. We have RHEL AS v4 64 A=
MD64/
> Intel EM64T installed on one system and RHEL AS v3 for AMD64/Intel EM64T =
on
> the other system.
>
> Both systems are smp systems, though uname -r on the RHEL4 system responds
> with:
> Linux rfs2.uits.iupui.edu 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30 EDT 2=
005
> x86_64 x86_64 x86_64 GNU/Linux
>
> while the RHEL3 responds with:
> Linux rfs-gw2.iu.edu 2.4.21-37.EL #1 SMP Wed Sep 7 13:32:18 EDT 2005 x86_=
64
> x86_64 x86_64 GNU/Linux
>
> The afs system type for both appears to be amd64_linux.=C2=A0
>
> On the RHEL4 system the RPM's refuse to build a kernel-smp module to inst=
all.=C2=A0
>
>     [root@rfs2 openafs-1.4.0-rc5]# ls /usr/src/redhat/RPMS/x86_64/
>     openafs-1.4.0rc5-1.1.x86_64.rpm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0
>     openafs-kernel-1.4.0rc5-2.6.9_11.EL_1.x86_64.rpm
>     openafs-client-1.4.0rc5-1.1.x86_64.rpm=C2=A0 =C2=A0=C2=A0
>     openafs-kernel-source-1.4.0rc5-1.1.x86_64.rpm
>     openafs-compat-1.4.0rc5-1.1.x86_64.rpm=C2=A0 =C2=A0=C2=A0
>     openafs-kpasswd-1.4.0rc5-1.1.x86_64.rpm
>     openafs-debuginfo-1.4.0rc5-1.1.x86_64.rpm=C2=A0
>     openafs-krb5-1.4.0rc5-1.1.x86_64.rpm
>     openafs-devel-1.4.0rc5-1.1.x86_64.rpm=C2=A0 =C2=A0 =C2=A0
>     openafs-server-1.4.0rc5-1.1.x86_64.rpm
>     openafs-docs-1.4.0rc5-1.1.x86_64.rpm
>
> If I install the openafs-kernel rpm, the /etc/init.d/openafs-client start
> fails because it can't find an smp kernel module:
>
>     [root@rfs2 openafs-1.4.0-rc5]# /etc/init.d/openafs-client start
>     Starting openafs-client: FATAL: Module openafs not found.
>     failed to load openafs kernel module.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [FAILED]
>     [root@rfs2 openafs-1.4.0-rc5]# rpm -ql openafs-kernel
>     /lib/modules/2.6.9-11.EL/kernel/fs/openafs/openafs.ko
>
> Under RHEL3, I have a different problem. The module loads but then afsd f=
ails
> to start. I get an error in the /var/log/messages that seems to indicate =
that
> the openafs module is built for 32 bit rather than 64 bit.
>
>     [root@rfs-gw1 x86_64]# /etc/init.d/openafs-client start
>     Starting openafs-client: Warning: loading /lib/modules/2.4.21-37.EL/k=
ernel
>     /fs/openafs/openafs.o will taint the kernel: non-GPL license - http://
>     www.openafs.org/dl/license10.html
>     =C2=A0 See http://www.tux.org/lkml/#export-tainted for information ab=
out
>     tainted modules
>     Module openafs loaded, with warnings
>     afsd: Error -1 in basic initialization.
>     Adding cell 'openafs.org': error -1
>     afsd: No check server daemon in client.
>     afsd: All AFS daemons started.
>     afsd: Can't mount AFS on /afs(22)
>=20=20=20=20
>     [root@rfs-gw1 x86_64]# tail /var/log/messages
>     Oct=C2=A0 3 15:46:52 rfs-gw1 kernel: Found system call table at
>     0xffffffff805e78c0 (scan: close+chdir+write)
>     Oct=C2=A0 3 15:46:52 rfs-gw1 kernel: Found 32-bit system call table at
>     0xffffffff804412e0 (exported)
>
> Any ideas?
>
> Thanks.
>
> -KAS
>
> Kurt A. Seiffert=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 | seiffert@indiana.edu
>
> UITS Distributed Storage Services Group | C: 812-345-1892
>
> Indiana University, Bloomington =C2=A0 =C2=A0 =C2=A0 =C2=A0 | W: 1 812-85=
5-5089=C2=A0 =C2=A0 =C2=A0
>

--=20
       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