Today's RELENG_5_4 and 'lock cmpxchgl'

Kris Kennaway kris at obsecurity.org
Fri Jul 1 18:29:48 GMT 2005


On Fri, Jul 01, 2005 at 03:03:35PM +0200, Marc Olzheim wrote:
> On Fri, Jul 01, 2005 at 12:41:39PM +0200, Marc Olzheim wrote:
> > On Fri, Jul 01, 2005 at 12:14:58PM +0200, Marc Olzheim wrote:
> > > Somehow, this sounds familiar, i.e.: the "lock cmpxchgl":
> > > 
> > > Fatal trap 12: page fault while in kernel mode
> > ...
> > > Stopped at      0xc05160c3 = knote+0x27:        lock cmpxchgl   %ecx,0x1c(%edx)
> > 
> > Somehow I think I solved this last time by activating 'INVARIANTS'...
> > I'll try that now.
> 
> Let's paraphrase:
> 
> I think i solved this last time by activating 'INVARIANTS'...
> 
> Anyway, tried that and yes, it didn't crash in the last few hours, so I
> guess it works. Without INVARIANTS, it crashed within seconds.
> 
> On the downside, my Gigabit performance dropped from 99 MB/sec to 80
> MB/sec because of INVARIANTS.

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.

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/20050701/b7afa68c/attachment.bin


More information about the freebsd-stable mailing list