amd64_linux26?

mmarion@qualcomm.com mmarion at qualcomm.com
Fri Jul 9 01:39:11 CEST 2004


On 30 Jun, Tomas Olsson wrote:

> Another option is migrating to the procfs interface, but that requires
> building against a patched/snapshot heimdal, and using arla-0.36.2,
> released yesterday. It's likely to have the same compilation problems you
> saw, though. My patch:
> 
> http://www.stacken.kth.se/cgi-bin/cvsweb.cgi/arla/nnpfs/linux/nnpfs_syscalls.c.diff?cvsroot=SourceRepository&r2=1.102&r1=1.101&f=u

Interesting.. I got it to build using your patch, and afs appears to be
working, but tools like fs fail:

rs-workstation:/usr/arla/etc # /usr/arla/bin/fs sys
Error detecting AFS

End of a strace on that:
open("/lib64/tls/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340X\0\0"..., 640) =
640
fstat(3, {st_mode=S_IFREG|0755, st_size=99188, ...}) = 0
mmap(NULL, 1129880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95e1d000
madvise(0x2a95e1d000, 1129880, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2a95e2b000, 1072536, PROT_NONE) = 0
mmap(0x2a95f1d000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x2a95f1d000
mmap(0x2a95f2d000, 15768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95f2d000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2a95f31000
arch_prctl(0x1002, 0x2a95f31540)        = 0
munmap(0x2a9556c000, 101611)            = 0
SYS_218(0x2a95f315d0, 0x7fbffff418, 0x2a95f31540, 0xffffffffffffffff,
0xffffffff00000000) = 14948
rt_sigaction(SIGRTMIN, {0x2a95e22840, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0
getrlimit(0x3, 0x7fbffff2a0)            = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7fbffff0a0, 34, (nil), 0}) = 0
rt_sigaction(SIGSYS, {0x428200, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
afs_syscall(0x14, 0, 0x40185603, 0x7fbffff130, 0) = -1 ENOSYS (Function not
implemented)
rt_sigaction(SIGSYS, {SIG_DFL}, {0x428200, [], SA_RESTART|0x4000000}, 8) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2a9556c000
write(1, "Error detecting AFS\n", 20Error detecting AFS
)   = 20
munmap(0x2a9556c000, 4096)              = 0
exit_group(1)                           = ?

but I can see stuff in afs ok:
rs-workstation:/usr/arla/etc # /afs/qualcomm.com/amd64_linux26/pkg/gnu/bin/gcc
-v
Reading specs from
/afs/qualcomm.com/amd64_linux26/pkg/gnu/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../../gcc-3.2/configure --prefix=/pkg/gnu/gcc/3.2
Thread model: posix
gcc version 3.2

-- 
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com
"If the government were to set technology standards," said Richard Diamond, a
spokesman for House Majority Leader Dick Armey, R-Texas, "we'd still be using
eight-track tapes right now."  ==> Article about the SSSCA/CBDTPA
http://www.foxnews.com/story/0,2933,48567,00.html






More information about the Arla-drinkers mailing list