[OpenAFS] Solaris8 panic w/ patch 108528-20

Ray Pasetes rayp@fnal.gov
Wed, 07 May 2003 12:13:04 -0500


Derrick J Brashear wrote:
> On Wed, 7 May 2003, Ray Pasetes wrote:
> 
> 
>>"The system is panicing because the afs driver is calling
>>read_binding_file() during the modload.  This function
>>used to only take 2 arguments.  Starting in 108528-20, it
>>takes 3 arguments.  The AFS driver is not setting up the
>>thrid argument when it calls this function so the system
>>panics.  read_binding_file() is private to the Solaris kernel.
>>3rd party modules are not permitted to call this interface."
> 
> 
> Of course this means they presumably won't tell us what the 3rd argument
> is, either.
> 
> I suspect if you comment out the calls to read_binding_file entirely and
> recompile the module, it will work, as long as "afs" was in the file when
> you booted. But I'm not sure.

Going back to Sun, the "new" read_binding_file is defined as:

	read_binding_file(char *bindfile, struct bind **hashtab,
     		int (*line_parser)(char *, int, char *, struct bind **))
     	
	Its a function pointer.


I asked if I could get more info on the call/changes and the answer was 
no, since this is supposed to be a kernel function.

I'll go and try and recompile and install and see if that works.


Thanks,
-Ray