softdep panic while low on memory during "make buildworld"

Peter Avalos pavalos at theshell.com
Fri Jan 25 15:50:01 PST 2008


On Fri, Jan 25, 2008 at 11:51:18AM -0800, Matthew Dillon wrote:
> 
>     This has happened to me on a virtual machine too.
> 

It happens to me on a real live kernel.

>     First, some background... softdeps holds onto buffers which have
>     dependancies, so if buf_deallocate() is EVER called on a softdep
>     bp, all softdep's callback does is panic because the situation is
>     not supposed to happen.
> 
>     I haven't been able to track it down yet.  The panic does not occur
>     very often at all and I was in the middle of some HAMMER debugging
>     when I got it and didn't want to switch modes, so to speak :-).  It
>     has only happened to me once so far.
> 
>     The VKERNEL's timing is very different from a normal kernel, and
>     most people run it with significantly less 'memory' then a real 
>     kernel (I specify 64MB for the one I test HAMMER in, similar to
>     the 64MB vkernel you were using), and those differences tend to bring
>     out software bugs that are not normally apparent when running a
>     real kernel.
> 

I have 2G of RAM, and I'm able to reproduce this if I really stress the
machine.  I've turned off softupdates since this was killing my
productivity.
Attachment:
pgp00003.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 197 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20080125/586bbc1c/attachment-0022.obj>


More information about the Bugs mailing list