From owner-cvs-src@FreeBSD.ORG Wed Feb 1 17:17:59 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CAA516A422; Wed, 1 Feb 2006 17:17:59 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F2043D4C; Wed, 1 Feb 2006 17:17:58 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id k11HHspr067960; Wed, 1 Feb 2006 09:17:54 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id k11HHsxP067959; Wed, 1 Feb 2006 09:17:54 -0800 (PST) (envelope-from sgk) Date: Wed, 1 Feb 2006 09:17:54 -0800 From: Steve Kargl To: Andrew Gallatin Message-ID: <20060201171754.GA67925@troutmask.apl.washington.edu> References: <200601311109.k0VB9MRq025366@repoman.freebsd.org> <20060201104752.A68774@grasshopper.cs.duke.edu> <20060201160923.GA67621@troutmask.apl.washington.edu> <17376.58731.618704.264566@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17376.58731.618704.264566@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Pawel Jakub Dawidek , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_malloc.c src/share/man/man9 Makefile redzone.9 src/sys/vm redzone.c redzone.h src/sys/conf NOTES files options X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 17:17:59 -0000 On Wed, Feb 01, 2006 at 11:44:27AM -0500, Andrew Gallatin wrote: > > Steve Kargl writes: > > On Wed, Feb 01, 2006 at 10:47:52AM -0500, Andrew Gallatin wrote: > > > WARNING: WITNESS option enabled, expect reduced performance. > > > Memory modified after free 0xffffff0000006d00(248) val=5 @ 0xffffff0000006dd0 > > > kernel trap 9 with interrupts disabled > > > > You can trigger this panic without the red zone stuff. > > See my string of post from yesterday. Something went > > Your panic looks like the same panic as mine, but with memguard rather > than redzone. These systems do similar things, I suppose it is only > natural that they'd be hit by the same bug. You get it without memguard, too. Kris suggested that I try memguard to capture the problem. Unfortunately, memguard actually made matters worse in that I did not even make it to single user mode before a panic. > > into sys/ on 2006-01-26 that is causing the problems. > > I suspect the pts code, but can't prove it, yet. > > I built a kernel without 'device pty' thus removing the pts code, and > I still see the same panic with redzone enabled. Perhaps your initial > panic is the result of the pts code, but this memguard/redzone panic > is different, and may not be related. I was doing a binary search for the offending commit when the last panic took out parts of my /usr/include and /usr/src. This led to a fun dance with __format_arg. > My original question still stands: Does redzone work in combination > with INVARIANTS on other platforms? Amd64 is the only -current > platform I'm running... Sorry, I missed your original question. I too have INVARIANTS in my amd64 kernel. -- Steve