[stable 9] panic on reboot: ipmi_wd_event()

John Baldwin jhb at freebsd.org
Thu Aug 2 17:50:29 UTC 2012


On Wednesday, August 01, 2012 6:48:48 pm Sean Bruno wrote:
> On Wed, 2012-08-01 at 05:53 -0700, John Baldwin wrote:
> > Index: vfs_subr.c
> > ===================================================================
> > --- vfs_subr.c  (revision 238969)
> > +++ vfs_subr.c  (working copy)
> > @@ -1868,8 +1868,11 @@ sched_sync(void)
> >                                 continue;
> >                         }
> >  
> > -                       if (first_printf == 0)
> > +                       if (first_printf == 0) {
> > +                               mtx_unlock(&sync_mtx);
> >                                 wdog_kern_pat(WD_LASTVAL);
> > +                               mtx_lock(&sync_mtx);
> > +                       }
> >  
> >                 }
> >                 if (!LIST_EMPTY(gslp)) {
> > 
> > 
> > -- 
> > John Baldwin 
> 
> This definitely makes the panic go away on reboot.

Attilio, does this change seem ok to you?

-- 
John Baldwin


More information about the freebsd-stable mailing list