[OpenAFS-devel] Solaris 8 hangs with 64 bit files

Charles Clancy security@xauth.net
Tue, 25 Jun 2002 12:16:42 -0500 (CDT)


> There appears to be a bug in OpenAFS on 64 bit Solaris 8 systems which causes
> the kernel to hang.  I have a test case which reproduces the problem.  You can
> find the test case here: http://www.dementia.org/~md/testcase.tar.gz
> ...
> I came across this problem while compiling openAFS on an Ultra/10 using
> Sun's WorkShop 5.0 compiler.

So, is it a problem with Sun's cc v5.0, or the more recent OpenAFS
versions?  Have you tried it with "gcc -m64"?  I don't have any newer
non-production systems to play with:

$ uname -a
SunOS crusader 5.8 Generic_108528-14 sun4u sparc
$ psrinfo -v
Status of processor 0 as of: 06/25/02 12:13:04
  Processor has been on-line since 05/12/02 07:06:07.
  The sparcv9 processor operates at 440 MHz,
        and has a sparcv9 floating point processor.
$ strings /usr/vice/etc/afsd | grep "OpenAFS stable"
@(#) OpenAFS stable 1.0.3 built  2001-03-08
$ which cc
/usr/local/forte-6.1/SUNWspro/bin/cc
$ cc -g -xarch=v9 t.c
"t.c", line 17: warning: improper pointer/integer combination: arg #1
$ ./a.out
All done...
$ uptime
 12:08pm  up 44 days,  5:01,  3 users,  load average: 0.00, 0.01, 0.02

Didn't crash for me.

[  t charles clancy  ]-[  tclancy@uiuc.edu  ]-[  uiuc.edu/~tclancy  ]