[OpenAFS-devel] openAFS 1.4.1 Solaris 10 sparcv9 crash

Douglas E. Engert deengert@anl.gov
Tue, 02 May 2006 14:47:58 -0500


We downloaded the OpenAFS-1.4.1 for sun4x_510 built on 5/1 on to a Solaris 10
system and get the following kernel failure. But running versions we complied
locally of either 1.4.1-rc10 or the 1.4.1 works fine.

Any ideas?


May  2 10:40:37 pistol.ctd.anl.gov bge: [ID 801725 kern.info] NOTICE: bge0: link
  up 100Mbps Full-Duplex (forced)
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 836849 kern.notice]
May  2 10:40:39 pistol.ctd.anl.gov ^Mpanic[cpu0]/thread=300021252e0:
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 340138 kern.notice] BAD TRAP: type=
31 rp=2a100635420 addr=40 mmu_fsr=0 occurred in module "genunix" due to a NULL p
ointer dereference
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 100000 kern.notice]
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 839527 kern.notice] afsd:
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 520581 kern.notice] trap type = 0x3
1
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 381800 kern.notice] addr=0x40
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 101969 kern.notice] pid=435, pc=0x1
11be68, sp=0x2a100634cc1, tstate=0x1100001600, context=0x37e
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 743441 kern.notice] g1-g7: 701b9800
, eee5, 1098390, 820, 185a508, 0, 300021252e0
May  2 10:40:39 pistol.ctd.anl.gov unix: [ID 100000 kern.notice]
May  2 10:40:39 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5140 unix:die+78 (31, 2a100635420, 40, 0, 2a100635200, 1074000)
May  2 10:40:39 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000001fff 0000000000000031 0000000001000000 0000000000002000
May  2 10:40:39 pistol.ctd.anl.gov   %l4-7: 0000000001819da0 0000000001819c00 00
00000000000000 0000001100001600
May  2 10:40:39 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5220 unix:trap+8fc (2a100635420, 5, 1fff, 1c00, 0, 1)
May  2 10:40:39 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000000000 00000300026a4fb0 0000000000000031 0000000000000000
May  2 10:40:39 pistol.ctd.anl.gov   %l4-7: ffffffffffffe000 00000000ffbfc8db 00
00000000000001 0000000000000005
May  2 10:40:39 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5370 unix:ktl0+48 (41, 1c, 11, 1, ffbfec88, ffbfdc88)
May  2 10:40:39 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000000001 0000000000001400 0000001100001600 00000000010195c4
May  2 10:40:39 pistol.ctd.anl.gov   %l4-7: 0000000000051126 0000000000000000 00
00000000000000 000002a100635420
May  2 10:40:39 pistol.ctd.anl.gov genunix: [ID 562518 kern.notice] 000002a10063
54c0 1aedc (0, 2e, 0, 1, 0, 0)
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
000009289b4fb 00000000ffbf97f4 0000000000000001 00000000ffbfb7f8
May  2 10:40:40 pistol.ctd.anl.gov   %l4-7: 00000000000005dc 00000000ffbfa7f4 00
000000ffbfdc88 00000000ffbfec88
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5570 genunix:___const_seg_900001402+d34 (0, 1, ff0ff512, 0, 80808080, ff300898)
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000039800 000000000004c000 000000000005e400 000000000005d800
May  2 10:40:40 pistol.ctd.anl.gov   %l4-7: 000000000005dcb4 000000000005d7dc 00
0000000005e1e0 0000000000051027
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5620 afs:afs_syscall_call+50 (11, 1, ffbfec88, ffbfdc88, ffbfcc88, 0)
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000000001 00000000701b9800 0000000000003000 0000000000000001
May  2 10:40:40 pistol.ctd.anl.gov   %l4-7: 0000000000800000 0000000000000000 00
0000000000f000 000000000000c000
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5860 afs:Afs_syscall+d4 (2a100635a28, 2a100635a28, ff000000, 1, 0, 1859c00)
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000000000 0000000000000011 00000000ff3ee190 0000000000000001
May  2 10:40:40 pistol.ctd.anl.gov   %l4-7: 00000000ffbfec88 00000000ffbfdc88 00
000000ffbfcc88 00000000ffbfc728
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5970 genunix:syscall_ap+58 (820, 11, 185a508, 7b6b4050, 41, 18)
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000c10081 0000000000300000 00000000ff3ee1c4 00000000ff3ee2a8
May  2 10:40:40 pistol.ctd.anl.gov   %l4-7: 00000000ffffffff 0000030001528e20 00
0002a100635b90 0000000000000006
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 723222 kern.notice] 000002a10063
5a30 genunix:loadable_syscall+6c (1c, 11, 1, ffbfec88, ffbfdc88, ffbfcc88)
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 179002 kern.notice]   %l0-3: 000
0000000000001 0000030001529048 00000300000ea708 0000000000000001
May  2 10:40:40 pistol.ctd.anl.gov   %l4-7: 0000000000000041 0000000000000820 00
00000000000041 000000000185a508
May  2 10:40:40 pistol.ctd.anl.gov unix: [ID 100000 kern.notice]
May  2 10:40:40 pistol.ctd.anl.gov genunix: [ID 672855 kern.notice] syncing file
  systems...




Our build used:

#!/bin/sh
SYS=`fs sysname | cut -d"'" -f2`

lndir.dee ../src

KRB5CFLAGS="-I$K5BUILD/$SYS/krb5/include"
KRB5LIBS="/usr/lib/gss/mech_krb5.so -R/usr/lib/gss"
export KRB5CFLAGS
export KRB5LIBS

CC=/opt/SUNWspro/bin/cc
export CC

./configure --enable-transarc-paths \
                         --with-krb5=yes \
             --enable-largefile-fileserver \
                 --host=sparc-sun-solaris2.10

and the output of the configure and compile can be found at:

/afs/anl.gov/appl/openAFS-1.4.1/anl-dist/sun4x_510

The only change we have is to the aklog program to use Solaris Kerberos.