[OpenAFS] OpenAFS 1.4.7 (namei, libafs64.o) + Solaris 10 x86 u5 + NFS write = crash & reboot

Lee Damon nomad@ssli-mail.ee.washington.edu
Wed, 13 Aug 2008 14:56:21 -0700

I've been working on a Sun x4500 (thumper) running Solaris 10 x86 (u5) 
and OpenAFS 1.4.7.  I was able to make it crash & reboot reliably with 
the simple expedient of

1. NFS exporting any filesystem (UFS or ZFS) from the x4500.

2. NFS (v3) mounting the filesystem to a RHEL 4 (u5 or u6, doesn't 
matter) box.  Note that the problem doesn't happen under NFSv4.

3. On the RHEL box touch (or cp, edit, rm, or any other write) a file on 
the NFS mounted filesystem.  Boom, instant panic on the x4500 NFS server.

Sun finally got around to looking at the core files (Sun's report is 
attached).  After reading their report I rebooted the x4500 with AFS 
turned off and sure enough, the panic went away.

I then replaced /kernel/fs/afs with libafs64.nonfs.o (on the x4500) and 
rebooted.  No crash upon NFS write attempt.

This problem report brought to you by the letter "hoping to help others 
avoid the same problem" and the number "NFS still sucks!"


-------- Original Message --------
Subject: 	Re: Core files for 66036317
Date: 	Tue, 12 Aug 2008 18:06:59 -0600
From: 	Kelley Perrin <Kelley.Perrin@Sun.COM>
Reply-To: 	Kelley.Perrin@Sun.COM
To: 	Lee Damon

This case was escalated to my backline engineers for the hardware. they
have since escalated to our kernel engineers. They have replied with the

Both corefile vmcore.0 and vmcore.1 panic in afs:is_afs_fh3() when
the first argument (NULL) is dereferenced.

Sun does not provide the
AFS filesystem nor do we have source or expertise in this product.
The case is lacking an Explorer and none was found on proactive.central
so I cannot determine what package and vendor the customer should

The customer should contact his AFS provider for assistance in debugging
this issue.  Sun can provide assistance to that provider if they have
a cooperative support agreement with Sun.


Contact third party software provider for support assistance.

If a cooperative support agreement between that vendor and Sun is in
place, provide third party support case reference number to Sun to
enable collaborative assistance.

Let us know if there are further questions or information needed.