[OpenAFS] Re: modload failing, Sol10 SPARC, 1.4.14
Jeff Blaine
jblaine@kickflop.net
Sat, 28 May 2011 19:37:42 -0400
On 5/27/2011 4:36 PM, Andrew Deason wrote:
> On Fri, 27 May 2011 16:21:44 -0400
> Jeff Blaine<jblaine@kickflop.net> wrote:
>
>> cc: Warning: Option xmodel=kernel is not available on SPARC Solaris
>> platform, ignored
>
> Oh, duh. Try -xbuiltin=%none instead of -xmodel=kernel
Nope, same old.
bash-3.00# grep xbuiltin src/libafs/Make*
src/libafs/MakefileProto.SOLARIS.in:KDEFS_64 = -m64 -xbuiltin=%none
bash-3.00# ./configure --enable-namei-fileserver --disable-afsdb
--enable-transarc-paths --with-krb5-conf=/usr/rcf-krb5/bin/krb5-config
2>&1 | tee c.log
...
bash-3.00# grep xbuiltin src/libafs/Make*
src/libafs/MakefileProto.SOLARIS:KDEFS_64 = -m64 -xbuiltin=%none
src/libafs/MakefileProto.SOLARIS.in:KDEFS_64 = -m64 -xbuiltin=%none
bash-3.00#
bash-3.00# make dest 2>&1 | tee makedest.log
...
bash-3.00# cp sun4x_510/dest/root.client/usr/vice/etc/modload/libafs64.o
/kernel/fs/sparcv9/afs
bash-3.00# modload /kernel/fs/sparcv9/afs
can't load module: Invalid argument
bash-3.00#
May 28 12:24:08 rcf-afs-test.our.org unix: [ID 819705 kern.notice]
/var/tmp/openafs-1.4.14-src/sun4x_510/dest/root.client/usr/vice/etc/modload/libafs64.o:
undefined symbol
May 28 12:24:08 rcf-afs-test.our.org unix: [ID 826211 kern.notice] '_memset'
May 28 12:24:08 rcf-afs-test.our.org unix: [ID 472681 kern.notice]
WARNING: mod_load: cannot load module 'libafs64.o'
/opt/SUNWspro/bin/cc -I. -I.. -I../nfs -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/rx/SOLARIS
-I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/rxkad/domestic
-I/var/tmp/openafs-1.4.14/src/util -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/util -I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/fsint
-I/var/tmp/openafs-1.4.14/src/vlserver -I/var/tmp/openafs-1.4.14/include
-I/var/tmp/openafs-1.4.14/include/afs -I. -I..
-I/var/tmp/openafs-1.4.14/src/config -DAFSDEBUG -DKERNEL -DAFS -DVICE
-DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -D_KERNEL -DSYSV -dn -m64
-xbuiltin=%none
-DAFS_NONFSTRANS -DAFS_WRAPPER=libafs.nonfs.o_wrapper
-DAFS_CONF_DATA=libafs.nonfs.o_conf_data -o osi_vfsops.o -c
/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 220:
warning: implicit function declaration: afs_osi_vget
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 235:
warning: old-style declaration or incorrect type for: afs_mountroot
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 248:
warning: old-style declaration or incorrect type for: afs_swapvp
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 279:
warning: initialization type mismatch
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 282:
warning: initialization type mismatch
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 331:
warning: no explicit type given
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 338:
warning: improper pointer/integer combination: op "="
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 348:
warning: old-style declaration or incorrect type for: afsinit
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 358:
warning: assignment type mismatch:
pointer to function() returning int "=" pointer to function()
returning
long
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 360:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 364:
warning: assignment type mismatch:
pointer to function() returning int "=" pointer to function()
returning
long
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 366:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 509:
warning: old-style declaration or incorrect type for: _init
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 597:
warning: old-style declaration or incorrect type for: _info
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 606:
warning: old-style declaration or incorrect type for: _fini
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 614:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 617:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
/opt/SUNWspro/bin/cc -I. -I.. -I../nfs -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/rx/SOLARIS
-I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/rxkad/domestic
-I/var/tmp/openafs-1.4.14/src/util -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/SOLARIS
-I/var/tmp/openafs-1.4.14/src/util -I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/fsint
-I/var/tmp/openafs-1.4.14/src/vlserver -I/var/tmp/openafs-1.4.14/include
-I/var/tmp/openafs-1.4.14/include/afs -I. -I..
-I/var/tmp/openafs-1.4.14/src/config -DAFSDEBUG -DKERNEL -DAFS -DVICE
-DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -D_KERNEL -DSYSV -dn -m64
-xbuiltin=%none
-DAFS_WRAPPER=libafs.o_wrapper -DAFS_CONF_DATA=libafs.o_conf_data -o
osi_vfsops_nfs.o -c /var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 220:
warning: implicit function declaration: afs_osi_vget
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 235:
warning: old-style declaration or incorrect type for: afs_mountroot
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 248:
warning: old-style declaration or incorrect type for: afs_swapvp
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 279:
warning: initialization type mismatch
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 282:
warning: initialization type mismatch
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 331:
warning: no explicit type given
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 338:
warning: improper pointer/integer combination: op "="
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 348:
warning: old-style declaration or incorrect type for: afsinit
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 358:
warning: assignment type mismatch:
pointer to function() returning int "=" pointer to function()
returning
long
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 360:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 364:
warning: assignment type mismatch:
pointer to function() returning int "=" pointer to function()
returning
long
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 366:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 385:
warning: implicit function declaration: afs_xlatorinit_v2
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 392:
warning: implicit function declaration: afs_xlatorinit_v3
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 509:
warning: old-style declaration or incorrect type for: _init
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 597:
warning: old-style declaration or incorrect type for: _info
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 606:
warning: old-style declaration or incorrect type for: _fini
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 614:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
"/var/tmp/openafs-1.4.14/src/afs/SOLARIS/osi_vfsops.c", line 617:
warning: assignment type mismatch:
pointer to function() returning long "=" pointer to function()
returning int
/opt/SUNWspro/bin/cc -I. -I.. -I../nfs -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs
-I/var/tmp/openafs-1.4.14/src/afs/UKERNEL
-I/var/tmp/openafs-1.4.14/src/config -I/var/tmp/openafs-1.4.14/src/rx
-I/var/tmp/openafs-1.4.14/src/rx/UKERNEL
-I/var/tmp/openafs-1.4.14/src/rxkad
-I/var/tmp/openafs-1.4.14/src/rxkad/domestic
-I/var/tmp/openafs-1.4.14/src/util -I/var/tmp/openafs-1.4.14/src
-I/var/tmp/openafs-1.4.14/src/afs/UKERNEL
-I/var/tmp/openafs-1.4.14/src/afs -I/var/tmp/openafs-1.4.14/src/util
-I/var/tmp/openafs-1.4.14/src/rxkad -I/var/tmp/openafs-1.4.14/src/config
-I/var/tmp/openafs-1.4.14/src/fsint
-I/var/tmp/openafs-1.4.14/src/vlserver
-I/var/tmp/openafs-1.4.14/src/libuafs -I/var/tmp/openafs-1.4.14/include
-I/var/tmp/openafs-1.4.14/include/afs -O -DKERNEL
-DAFS_WEB_ENHANCEMENTS -I. -I.. -I/var/tmp/openafs-1.4.14/src/config
-D_REENTRANT -DKERNEL -DUKERNEL -c
/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c -DAFS_NONFSTRANS
"/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c", line 41:
warning: old-style declaration or incorrect type for: afs_mount
"/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c", line 60:
warning: old-style declaration or incorrect type for: afs_unmount
"/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c", line 69:
warning: old-style declaration or incorrect type for: afs_root
"/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c", line 110:
warning: old-style declaration or incorrect type for: afs_sync
"/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c", line 117:
warning: old-style declaration or incorrect type for: afs_statfs
"/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c", line 129:
warning: old-style declaration or incorrect type for: afs_mountroot
"/var/tmp/openafs-1.4.14/src/afs/UKERNEL/osi_vfsops.c", line 135:
warning: old-style declaration or incorrect type for: afs_swapvp