Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2010 08:18:10 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        des@des.no
Cc:        yanefbsd@gmail.com, freebsd-current@freebsd.org, pjd@freebsd.org, hselasky@c2i.net
Subject:   Re: Patch for rc.d/devd on FreeBSD 9-current
Message-ID:  <20100628.081810.502133560696912792.imp@bsdimp.com>
In-Reply-To: <86iq537egy.fsf@ds4.des.no>
References:  <AANLkTikI223vbyBdEqLuA6FjcBBeQcqFujOimP5horsv@mail.gmail.com> <20100627.201716.1108826596298620201.imp@bsdimp.com> <86iq537egy.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <86iq537egy.fsf@ds4.des.no>
            Dag-Erling Sm=F8rgrav <des@des.no> writes:
: "M. Warner Losh" <imp@bsdimp.com> writes:
: > Maybe the real problem is that devd locks the file, then dies.  The=

: > file remains locked, so the flopen is failing with EWOULDBLOCK.
: =

: The lock is released when the process that holds it terminates.

So which process is that?  devd took it out, and is subsequently
killed.  When it restarts, it can't take out the lock.

The same code works perfectly in 8.0-stable from April.

The conclusion, I believe, is that somebody broke locking in
current...

<grump>

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100628.081810.502133560696912792.imp>