ffs_blkfree panic + lockmgr panic

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Jul 10 03:21:07 PDT 2006


Matthew Dillon wrote:
    So far I haven't had any luck reproducing the blkfree panic.  I'm doing a
    parallel buildworld and vinum init in a loop.
I could not reproduce it either.  I remembered something else:

Usually I did a
	sync
	mount -a -u -o ro
before fiddling with vinum, but /dev never re-mounted ro because of open files.  The other file systems though did, but nevertheless showed inconsistencies in fsck -f afterwards.  I don't know if this might be connected.

    I did find at least one issue with the patch set... you have to use
    getpbuf() rather then trypbuf().  You can't have temporary resource 
    failures in the places where trypbuf() is being used.  This is unrelated
    to the bug, though.
I am not sure that I understand what you mean:  The original (and now used) code checks the result of geteblk(), but this can't fail anyways.  So I decided to go with trypbuf() instead of getpbuf() so that those functions (all called from ioctl) could fail and not block.

    If you could get a crash dump of the blkfree panic onto leaf I'd like 
    to take a look at it.
Will do, but it will take some time, as it is >200mb compressed.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00009.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20060710/16a298d3/attachment-0016.obj>


More information about the Bugs mailing list