[OpenAFS-devel] Latest build kernel panic on AIX 6.1 6100-09-12

Benjamin Kaduk kaduk@mit.edu
Tue, 16 Aug 2022 07:56:19 -0700


On Tue, Aug 16, 2022 at 08:34:09AM -0400, Jeffrey E Altman wrote:
> On 8/16/2022 2:50 AM, Ben Huntsman (ben@huntsmans.net) 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