Re: Latest build kernel panic on AIX 6.1 6100-09-12

Benjamin Kaduk <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel
Message-ID <[email protected]>
On Tue, Aug 16, 2022 at 08:34:09AM -0400, Jeffrey E Altman wrote:
> On 8/16/2022 2:50 AM, Ben Huntsman ([email protected]) wrote:
> > CRASH INFORMATION:
> > CPU 0 CSA F00000002FF47600 at time of crash, error code for LEDs: 30000000
> > pvthread+01DB00 STACK:
> > [0000E864]___memset64+00005C ()
> > [F1000000C04C1AF4]rxevent_alloc+000094 ()
> >
> Try fixing the misplaced #endif. 
> 
> 
> diff --git a/src/rx/rx_event.c b/src/rx/rx_event.c
> --- a/src/rx/rx_event.c
> +++ b/src/rx/rx_event.c
> @@ -126,8 +126,8 @@ rxevent_alloc(void)
>         mrec->next = freeEvents.mallocs;
>         freeEvents.mallocs = mrec;
>         MUTEX_EXIT(&freeEvents.lock);
> -#endif
>         ev = &evlist[0];
> +#endif
>      } else {
>         ev = opr_queue_Shift(&freeEvents.list, struct rxevent, q);
>         MUTEX_EXIT(&freeEvents.lock);

Well that's a pretty obvious fix, yes.
Tracking at https://gerrit.openafs.org/15106 for now.

-Ben
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.