Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2012 15:48:48 -0700
From:      Sean Bruno <seanbru@yahoo-inc.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        "attilio@freebsd.org" <attilio@freebsd.org>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: [stable 9] panic on reboot: ipmi_wd_event()
Message-ID:  <1343861328.5229.6.camel@powernoodle.corp.yahoo.com>
In-Reply-To: <201208010853.11447.jhb@freebsd.org>
References:  <1342742294.2656.24.camel@powernoodle.corp.yahoo.com> <201207311634.24169.jhb@freebsd.org> <CAJ-FndC3pyfJNJBZMZEW9WGs7yA=xeAD2vMyuEeJjELcLOVbOA@mail.gmail.com> <201208010853.11447.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Sean




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1343861328.5229.6.camel>