At Tue, 12 Oct 2010 11:34:03 -0500, David Young wrote: > On Tue, Oct 05, 2010 at 04:23:39PM -0500, KAMADA Ken'ichi wrote: > > At Fri, 19 Mar 2010 17:51:46 -0500, myself wrote: > > > > > > I'm seeing a panic: ffs_valloc: dup alloc. > > > Does anyone have a similar panic? > > > > > > The kernel is -current from March 15. > > > I cannot repeat the panic reliably, but it seems to occur after > > > suspend/resume (immediately or several minutes later). > > > The panic occured in /home, which is a ffs on cgd on wd. > > > "fsck -f" does not report any error on it. > > > > I finally found a clue for this problem. > > With the attached patch [1], my system seems to be stable again. > > That patch will break some things. Try this patch, instead?
Yes, I was testing a similar patch to yours (skip calling wdstart() when !device_is_active()) after my previous email. It did not crash so far. I'm now running with your patch and will be back in a week or so. It will take some time because the panic tends to occur after an overnight sleep rather than a short nap. -- KAMADA Ken'ichi <kam...@nanohz.org>