[OpenAFS] OpenAFS-Client crashes AIX 5.1
Hans-Gunther Borrmann
hans-gunther.borrmann@rz.uni-freiburg.de
Tue, 18 Jan 2005 11:33:15 +0100
Hello all,
What I did:
I compiled openafs-snap-2005-01-17 under AIX 5.1with the following patch to
rxkad.p.h, which defines the max ticket length as 344:
*** rxkad.p.h 2005-01-18 09:52:10.000000000 +0100
--- ./rxkad.p.h.orig 2004-12-07 17:49:11.000000000 +0100
***************
*** 17,23 ****
--- 17,31 ----
#define MAXKTCTICKETLIFETIME (30*24*3600)
#define MINKTCTICKETLEN 32
+ #if defined(AFS_AIX52_ENV)
+ #ifdef __XCOFF64__
+ #define MAXKTCTICKETLEN 12000 /* was 344 */
+ #else
#define MAXKTCTICKETLEN 344
+ #endif
+ #else
+ #define MAXKTCTICKETLEN 12000 /* was 344 */
+ #endif
#define MAXKTCNAMELEN 64 /* name & inst should be 256 */
#define MAXKTCREALMLEN 64 /* should be 256 */
The call to configure is:
CC=cc ./configure --with-afs-sysname=rs_aix51 \
--enable-namei-fileserver \
--enable-largefile-fileserver \
--enable-fast-restart \
--enable-bitmap-later \
--enable-tivoli-tsm \
--enable-transarc-paths \
--disable-pam
After the installation of this version on my test machine I started the
client, got a token and tard my AFS home directory to /dev/null. After some
time the system crashed. Crash information follows:
[root@ibm1:ras]# kdb /tmp/dump /unix
The specified kernel file is a UP kernel
/tmp/dump mapped from @ 70000000 to @ 744f7c7d
Preserving 950098 bytes of symbol table
First symbol __mulh
Component Names:
1) dmp_minimal [5 entries]
2) proc [241 entries]
3) thrd [577 entries]
4) ldr [2 entries]
5) errlg [3 entries]
6) bos [7 entries]
7) ipc [7 entries]
8) vmm [20 entries]
9) rtastrc [8 entries]
10) sscsidd [2 entries]
11) scdisk [6 entries]
12) lvm [2 entries]
13) tty [4 entries]
14) smint0 [6 entries]
15) netstat [10 entries]
16) phxent_dd [5 entries]
17) bldd [5 entries]
18) kbddd [2 entries]
19) mousedd [2 entries]
20) jfs2 [1 entries]
Component Dump Table has 915 entries
START END <name>
0000000000003500 0000000001759EC8 _system_configuration+000020
000000002FF3B400 000000002FF80A70 __ublock+000000
000000002FF22FF4 000000002FF22FF8 environ+000000
000000002FF22FF8 000000002FF22FFC errno+000000
00000000E0000000 00000000F0000000 lkwseg+10000000
PFT:
id....................0007
raddr.....0000000001800000 eaddr.....0000000001800000
size..............00000000 align.............00000000
valid..1 ros....0 holes..0 io.....0 seg....1 wimg...2
PVT:
id....................0008
raddr.....0000000000603000 eaddr.....0000000000000000
size..............00000000 align.............00000000
valid..1 ros....0 holes..0 io.....0 seg....1 wimg...2
Dump analysis on CHRP_UP_PCI POWER_PC POWER_630 machine with 1 cpu(s) (64-bit
registers)
Processing symbol table...
.......................done
(0)> stat
SYSTEM_CONFIGURATION:
CHRP_UP_PCI POWER_PC POWER_630 machine with 1 cpu(s) (64-bit registers)
SYSTEM STATUS:
sysname... AIX
nodename.. ibm1
release... 1
version... 5
machine... 00415FAC4C00
nid....... 415FAC4C
time of crash: Tue Jan 18 10:53:57 2005
age of system: 14 min., 41 sec.
xmalloc debug: disabled
CRASH INFORMATION:
CPU 0 CSA 2FF3B400 at time of crash, error code for LEDs: 30000000
pvthread+004700 STACK:
[05B53F2C]afs_RemoveVCB+0000C8 (69746572 [??])
[05B4A328]afs_GetDCache+001774 (33CF1720, 00000000, 00000000, 2FF3B188,
2FF3B178, 2FF3B180, 00000001)
[05B8464C]BPrefetch+00008C (05BD2D68)
[05B84E98]afs_BackgroundDaemon+0002A8 ()
[05B2B390]afs_syscall_call+000238 (00000002, 00000000, 2FF22FFC, 0000D0B2,
00000000, 60000000)
[05B2AE94]syscall+0000A0 (0000001C, 00000002, 00000000, 2FF22FFC,
0000D0B2, 00000000, 60000000)
[00003A50].sys_call+000000 ()
Gunther
--
________________________________________________________________
Hans-Gunther Borrmann <hans-gunther.borrmann@rz.uni-freiburg.de>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +49 761/203-4652
Fax: +49 761/203-4643