tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: ffs_valloc: dup alloc



On Sat, Mar 20, 2010 at 10:29:44PM +1030, Brett Lymn wrote:
 > I have given up on suspending because my filesystems would be
 > corrupted with monotonous regularity.  The chances of a corruption
 > seems to increase with the amount of disk activity happening on
 > suspend.   It seems like something is not being flushed (or not being
 > marked as flushed) when the suspend happens.

We don't support suspend-to-disk, right? So the contents of kernel
memory are supposed to be preserved in this suspend? Because if so,
unflushed buffers shouldn't matter. One would think.

That suggests that something is flushing buffers to a device that's
suspended and it's throwing them away instead of rejecting them or
panicing.

Does stuffing a couple sync calls somewhere before it starts
suspending devices (wherever that is, I don't know) make the problems
go away?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index