geli(8) breaks after a couple hours of uptime

Fabian Keil freebsd-listen at fabiankeil.de
Fri Feb 8 08:57:25 UTC 2013


Ulrich Spörlein <uqs at FreeBSD.org> wrote:

> On Thu, 2013-02-07 at 15:33:22 +0100, Fabian Keil wrote:
> > Ulrich Spörlein <uqs at FreeBSD.org> wrote:
> > 
> > > Yes, it's pretty much as weird as it sounds. All new machine, forklifted
> > > the image from on old i386 machine running 8.x to current on amd64.
> > > 
> > > Everything seemingly works fine, attaching geli volumes shortly after
> > > boot is fine, attached devices continue to work fine. There are no
> > > strange crashes with this machine or anything, but when I try to attach
> > > an USB volume the next day, geli attach segfaults.
> > 
> > This could be:
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=174831

> Except it happens to me when run as root, and:

Depending on your settings the limit could still apply.
Did you check with ulimit -l to be sure?

> root at coyote:~# sysctl vm.old_mlock
> vm.old_mlock: 0

Looks like I got the logic wrong in the PR ...

fk at r500 ~ $sysctl -d vm.old_mlock
vm.old_mlock: Do not apply RLIMIT_MEMLOCK on mlockall

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130208/bfe7ea67/attachment.sig>


More information about the freebsd-current mailing list