From owner-freebsd-current@FreeBSD.ORG Tue Sep 27 21:31:04 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 024D716A420 for ; Tue, 27 Sep 2005 21:31:04 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: from qproxy.gmail.com (qproxy.gmail.com [72.14.204.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8727A43D49 for ; Tue, 27 Sep 2005 21:31:03 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: by qproxy.gmail.com with SMTP id p36so612316qba for ; Tue, 27 Sep 2005 14:31:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S9c3C+uLjISCTJue4gMBpOcmCcCIKv8ubbGgQYIUhNZSJnYchxcD8CIp8bfHESKAR5E+Y5qt0jzNokf/BDqzlLXk/Jb5r96hp2x32vOzmS5sa/1lwQPjlLzq6l4i0NVoH4T3e6ItsmVUaYX6LSsWf+RnldVUnndpwXIJk1r/JVo= Received: by 10.65.52.6 with SMTP id e6mr753456qbk; Tue, 27 Sep 2005 14:31:03 -0700 (PDT) Received: by 10.65.121.4 with HTTP; Tue, 27 Sep 2005 14:31:03 -0700 (PDT) Message-ID: Date: Tue, 27 Sep 2005 23:31:03 +0200 From: Pawel Worach To: Kris Kennaway In-Reply-To: <20050927003401.GE72460@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050927003401.GE72460@xor.obsecurity.org> Cc: current@freebsd.org Subject: Re: [releng_6] mpt(4) Memory modified after free panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pawel Worach List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 21:31:04 -0000 On 9/27/05, Kris Kennaway wrote: > On Mon, Sep 26, 2005 at 11:55:53PM +0200, Pawel Worach wrote: > > Trying to use a mpt controller with only one disk attached so it's not > > possible to configure a RAID-1 volume. > > Trying to boot 6.0-BETA1 install cd results in this panic. Should it > > possible to use a single disk behind an mpt(4) with the updated driver?= This > > configuration works fine on 5.4. > > You should retry with 6.0-BETA5 - dozens of bugs have been fixed since > then. If it persists, you should set up DEBUG_MEMGUARD to watch the > M_BUS malloc type..this requires some minor source file editing and a > kernel recompile (you can build it on e.g. 5.4). False alarm, BETA5 with WITNESS and INVARIANTS re-enabled works just fine. BETA1 was the only thing I had handy the first time and since mpt(4) was unchanged I thought it would still be broken, I'll try to think less next time :) For future reference, how do I get hold of the M_BUS malloc type in kern_malloc.c ? -- Pawel