[OpenAFS] Re: Solaris8 panic w/ patch 108528-20 / Patch

Christof Hanke Christof.Hanke@rzg.mpg.de
Wed, 04 Jun 2003 10:48:25 +0200


Hi list,

just something for the archive :

I had the same problem and asked the SUN hotline and they told me that 
the new third argument to read_binding_file() is make_mbind which is 
declared in /usr/include/sys/autoconf.h.
They said this change was necessary to support hot pluggable USB 
devices. They also told me not to use that interface anyway, what the 
official patch apparently does.
This "hack" works fine for me, but I guess it is better to just discard 
it with version 1.2.10.

Rgrds,
Christof Hanke


Bernt Christandl wrote:
> Hi,
> 
> first i must say that the problem also exists with 108528-21
> 
> I append a small patch-file generated from the patched source
> of Rainer Laatsch which could be applied with the gnu-patch utility.
> 
> Second i have to say "thank you" to Rainer Laatsch and Douglas E. Engert
> for their time and help!
> 
> With regards,
> 
> Bernt Christandl
> 
> 
> 
> ------------------------------------------------------------------------
> 
> *** openafs-1.2.9/src/afs/SOLARIS/osi_vfsops.c.orig	Wed Apr 24 03:41:36 2002
> --- openafs-1.2.9/src/afs/SOLARIS/osi_vfsops.c	Tue Jun  3 16:08:56 2003
> ***************
> *** 443,448 ****
> --- 443,449 ----
>   #endif
>   #endif
>   #endif
> + #if !defined(AFS_SUN58_ENV)
>       /* 
>        * Re-read the /etc/name_to_sysnum file to make sure afs isn't added after
>        * reboot.  Ideally we would like to call modctl_read_sysbinding_file() but
> ***************
> *** 460,468 ****
>   #else
>       read_binding_file(sysbind, sb_hashtab);
>   #endif
> - #if !defined(AFS_SUN58_ENV)
>       make_syscallname("afs", AFS_SYSCALL);
> - #endif
>   
>       if (sysent[AFS_SYSCALL].sy_call == nosys) {
>   	if ((sysn = mod_getsysname(AFS_SYSCALL)) != NULL) {
> --- 461,467 ----
> ***************
> *** 476,481 ****
> --- 475,481 ----
>   #endif	
>   	}
>       }
> + #endif
>   
>       osi_Init();				/* initialize global lock, etc */
>   

-- 
-----------------------------------------------------------------
Christof Hanke                 		e-mail hanke@rzg.mpg.de
RZG (Rechenzentrum Garching)		phone +49-89-3299-1788
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut für Plasmaphysik (IPP)