[OpenAFS] openafs problem on Solaris 8
Dominic Lai
dominic@cs.ust.hk
Fri, 12 Jan 2001 14:38:17 +0800
Chas,
Thanks for your help. With your attached information (Ultra 5, 64bit OS),
I quickly rolled out an Ultra 2 running 64-bit version of Solaris 8.
With openafs-1.0.1, it runs completely okay too. However, it
does not work on a 32-bit environment, such as my Sparc 20 running
32-bit version of Solaris 8. :-(
By the way, during compilation, I find that the 32-bit AFS kernel driver
(libafs.nonfs.o, under root.client/usr/vice/etc/modload) is eventually
over-written by the 64-bit AFS driver. If you take a look at the
resultant files, you can see that libafs.nonfs.o and libafs64.nonfs.o
are the same binary. :-) Of course, I did copy the 32-bit driver
out from obj/libafs/MODLOAD32. But still, this driver gives a kernel
panic whenever accessing files. :-(
So in a conclusion, the 64-bit driver works but the 32-bit one does not. :-(
Dominic
P.S. : "set lwp_default_stksize=0x4000" does not help either.
On Thu, Jan 11, 2001 at 09:46:05AM -0500, Chas Williams (chas@cmf.nrl.navy.mil) wrote:
> >patch #108528-04, I find that openafs (even I tried 1.0.1) no longer
>
> after installing 108528-04 on my local solaris8 box, i am not seeing
> any problems with openafs 1.0.1.
>
> bashir.2% uname -a
> SunOS bashir 5.8 Generic_108528-04 sun4u sparc SUNW,Ultra-5_10
> bashir.3% cksum /afs/cmf/users/chas/fstuning.txt
> 1159131399 69047 /afs/cmf/users/chas/fstuning.txt
>
> try appending the following to /etc/system and rebooting.
>
> set lwp_default_stksize=0x4000
>
> since afs 3.6 some of our solaris boxes have been overflowing
> the stack of the kernel threads. i usually just add this
> out of habit anymore just to prevent any trouble. the real
> fix is too change the default stack size unsed when creating
> the threads in src/lwp/.
--
Dominic Lai, Assistant Computer Officer, CS System Group
Computer Science Department, The Hong Kong University of Science & Technology
Home Page : http://www.cs.ust.hk/~dominic
PGP Public Key: ftp://ftp.cs.ust.hk/pub/cssystem/dominic/pgp.pubkey.asc
Mojo: Rock N' Roll Forever
Any unsolicited mails will be reported to <rbl.maps.vix.com> to have
the corresponding mail domains added to the blackhole list.