[OpenAFS-devel] Kernel 2.4.0 Oops when afs is shutting down

Michael Pronath michael.pronath@gmx.de
Tue, 16 Jan 2001 17:40:36 +0100


On Tue, Jan 16, 2001 at 10:46:12AM -0500, Derek Atkins wrote:
> Ok, I've just taken a closer look.
> 
> If you go to afs/afs_call.c around line 1164...  Move the
> osi_StopListener() call to happen _AFTER_ the while loop.  In other
> words, make the code look like this:
> 
>     while (afs_termState == AFSOP_STOP_RXK_LISTENER) 
> 	afs_osi_Sleep(&afs_termState);
>     osi_StopListener(); /* This closes rx_socket. */
> 
> Let me know if this fixes your problem. :)
> 
> -derek

Now it doesn't oops anymore, but it hangs.  
Michael


-- 

Dipl.-Ing. Michael Pronath
Lehrstuhl fuer Entwurfsautomatisierung            Tel:  +49 89 289 23659
Technische Universitaet Muenchen                  Fax:  +49 89 289 63666
Arcisstr.21, D-80333 Muenchen         TU-Innenhof, Gebaeude 9, Raum 4915
Mailto:Michael.Pronath@ei.tum.de