[OpenAFS] deamons started, ls /afs hangs session

Derek Atkins warlord@MIT.EDU
25 Jan 2002 13:00:51 -0500


What kernel version are you using?  There are known prblems with 1.2.2
and some of the 2.4.9 kernels.  These problems should be fixed in
the (pending) 1.2.3 release.

-derek

"Miller, Sam" <sam.miller@intel.com> writes:

> Folks,
> 
> I am trying to get OpenAFS running with redhat 7.2.
> 
> I installed the rpms and re-compiled the kernel source (only interesting
> thing I did was link /usr/src/linux -> /usr/src/linux-2.4 to get .configure
> to run)
> everything seems to look OK:
> 	- /etc/init.d/afs start says it finds a module and all deamons are
> started.
> 	-klog seems to work
> 	-"vos listaddrs" returns interesting things 
> 	-vos listpart -server XXX return interesting things
> 	-the CellServDB I am using worked fine on the Win2K client I
> installed.
> 
> However, "ls" hangs when I try to look at anything, below is the trace that
> ends with the session locking up.  Any ideas?
> 
> Sam
> 
> [sgmiller@pshasta01 afs]$ strace ls
> execve("/bin/ls", ["ls"], [/* 30 vars */]) = 0
> uname({sys="Linux", node="pshasta01", ...}) = 0
> brk(0)                                  = 0x80541a4
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=107844, ...}) = 0
> old_mmap(NULL, 107844, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
> close(3)                                = 0
> open("/lib/libtermcap.so.2", O_RDONLY)  = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\r\0"..., 1024)
> = 1024
> fstat64(3, {st_mode=S_IFREG|0755, st_size=11832, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x40032000
> old_mmap(NULL, 14932, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40033000
> mprotect(0x40036000, 2644, PROT_NONE)   = 0
> old_mmap(0x40036000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
> 0x2000) = 0x40036000
> close(3)                                = 0
> open("/lib/i686/libc.so.6", O_RDONLY)   = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \306\1"..., 1024) =
> 1024
> fstat64(3, {st_mode=S_IFREG|0755, st_size=5772268, ...}) = 0
> old_mmap(NULL, 1290088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40037000
> mprotect(0x40169000, 36712, PROT_NONE)  = 0
> old_mmap(0x40169000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
> 0x131000) = 0x40169000
> old_mmap(0x4016e000, 16232, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016e000
> close(3)                                = 0
> munmap(0x40017000, 107844)              = 0
> brk(0)                                  = 0x80541a4
> brk(0x80541cc)                          = 0x80541cc
> brk(0x8055000)                          = 0x8055000
> open("/usr/share/locale/locale.alias", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x40017000
> read(3, "# Locale name alias data base.\n#"..., 4096) = 2601
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0x40017000, 4096)                = 0
> open("/usr/lib/locale/en_US/LC_IDENTIFICATION", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=370, ...}) = 0
> mmap2(NULL, 370, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_MEASUREMENT", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=28, ...}) = 0
> mmap2(NULL, 28, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_TELEPHONE", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
> mmap2(NULL, 64, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40019000
> close(3)                                = 0
> brk(0x8056000)                          = 0x8056000
> open("/usr/lib/locale/en_US/LC_ADDRESS", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=160, ...}) = 0
> mmap2(NULL, 160, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001a000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_NAME", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=82, ...}) = 0
> mmap2(NULL, 82, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001b000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_PAPER", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=39, ...}) = 0
> mmap2(NULL, 39, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_MESSAGES", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=57, ...}) = 0
> mmap2(NULL, 57, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_MONETARY", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=291, ...}) = 0
> mmap2(NULL, 291, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_COLLATE", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=21499, ...}) = 0
> mmap2(NULL, 21499, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001f000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_TIME", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=2456, ...}) = 0
> mmap2(NULL, 2456, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40025000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_NUMERIC", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0
> mmap2(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40026000
> close(3)                                = 0
> open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=173408, ...}) = 0
> mmap2(NULL, 173408, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40172000
> close(3)                                = 0
> rt_sigaction(SIGTERM, {0x8049690, [TERM], SA_RESTART|0x4000000}, {SIG_DFL},
> 8) = 0
> rt_sigaction(SIGKILL, {0x8049690, [KILL], SA_RESTART|0x4000000}, {SIG_DFL},
> 8) = -1 EINVAL (Invalid argument)
> rt_sigaction(SIGSTOP, {0x8049690, [STOP], SA_RESTART|0x4000000}, {SIG_DFL},
> 8) = -1 EINVAL (Invalid argument)
> ioctl(1, 0x5401, {B38400 opost isig icanon echo ...}) = 0
> ioctl(1, 0x5413, {ws_row=70, ws_col=156, ws_xpixel=955, ws_ypixel=914}) = 0
> brk(0x8059000)                          = 0x8059000
> open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> fstat64(3, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
> fcntl64(0x3, 0x2, 0x1, 0x3)             = 0
> brk(0x805b000)                          = 0x805b000
> getdents64(0x3, 0x8058a20, 0x1000, 0x8058a20
> _______________________________________________
> 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