Today's RELENG_5_4 and 'lock cmpxchgl'

Kris Kennaway kris at obsecurity.org
Wed Jul 13 12:00:38 GMT 2005


On Wed, Jul 13, 2005 at 11:29:39AM +0200, Marc Olzheim wrote:
> On Mon, Jul 11, 2005 at 04:32:16PM +0200, Marc Olzheim wrote:
> > On Sun, Jul 03, 2005 at 10:38:58AM +0200, Philippe PEGON wrote:
> > > >The panic appears to be an instance of a known bug in 5.4 (and
> > > >INVARIANTS will not fix it, but may just delay the inevitable by
> > > >changing timings).  See Doug White's recent emails which point to a
> > > >patch you should test.
> > > 
> > > If you think about this mail :
> > > 
> > > http://lists.freebsd.org/mailman/htdig/freebsd-stable/2005-June/016165.html
> > > 
> > > and follow the thread, you will see that this patch doesn't solve the 
> > > problem.
> > > The last mail which I can see from doug white about this problem is :
> > > 
> > > http://lists.freebsd.org/mailman/htdig/freebsd-stable/2005-June/016495.html
> > > 
> > > for the moment, it seems that there is no solution for 5.x
> > 
> > Well, the bug hasn't bitten me since I reactivated INVARIANTS, so I'll
> > keep this workaround active for now. :-/ If I don't enable INVARIANTS,
> > as soon as I start 'screen', it's a panic.
> 
> Stress testing this gives me instant fatal trap 12 on both 11 juli's
> CURRENT and RELENG_5.
> 
> I'll file a PR.

Make sure you recompile any modules when activating INVARIANTS, or
you'll get panics.

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050713/371a888b/attachment.bin


More information about the freebsd-stable mailing list