[OpenAFS-devel] RE: OpenAFS with Linux Kernel 2.4.18

Neulinger, Nathan nneul@umr.edu
Wed, 13 Mar 2002 13:17:05 -0600


void osi_linux_unmask() {
    spin_lock_irq(&rxk_ListenerTask->sigmask_lock);
    sigemptyset(&rxk_ListenerTask->blocked);
    recalc_sigpending(rxk_ListenerTask);
    spin_unlock_irq(&rxk_ListenerTask->sigmask_lock);
}

/* unmask signals in rxk listener */
void afs_osi_UnmaskRxkSignals(){
#ifdef AFS_LINUX22_ENV
    osi_linux_unmask();
#endif
}

and here is where it's actually called:

#if defined(RXK_LISTENER_ENV)
    afs_warn("RxListener... ");
#ifndef UKERNEL
    afs_osi_UnmaskRxkSignals();
#endif
    /* cancel rx listener */
    osi_StopListener(); /* This closes rx_socket. */
    while (afs_termState =3D=3D AFSOP_STOP_RXK_LISTENER)
        afs_osi_Sleep(&afs_termState);
#endif
#else
    afs_termState =3D  AFSOP_STOP_COMPLETE;
#endif
    afs_warn("\n");


It eventually makes it's way to a LWP_DestroyProcess in rx/rx_lwp.c.=20

I'm checking to see if I can track down where exactly it's hanging, but
I figured this would help.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216


> -----Original Message-----
> From: Derrick J Brashear [mailto:shadow@dementia.org]=20
> Sent: Wednesday, March 13, 2002 12:26 PM
> To: openafs-info@openafs.org
> Subject: RE: [OpenAFS] OpenAFS with Linux Kernel 2.4.18=20
>=20
>=20
> On Wed, 13 Mar 2002, Neulinger, Nathan wrote:
>=20
> > Hmm... Let me see if I can reproduce it... I think you may=20
> be right - I
> > think it was the RxListener entry.=20
> >=20
> > Yep, you were right, it hangs right after RxListener... Anything you
> > want me to try (this is a development box that I test -current on.)
>=20
> the magic to let it be signalled should happen in=20
> osi_linux_unmask, and
> then the pid of the listener should be getting "kill"ed,=20
> iirc. see if it
> is
>=20
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>=20