From owner-freebsd-sparc64@FreeBSD.ORG Tue Feb 5 20:16:37 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BD82AEB7; Tue, 5 Feb 2013 20:16:37 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7443FA; Tue, 5 Feb 2013 20:16:36 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.5/8.14.5/ALCHEMY.FRANKEN.DE) with ESMTP id r15KGTsY030981; Tue, 5 Feb 2013 21:16:29 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.5/8.14.5/Submit) id r15KGTws030980; Tue, 5 Feb 2013 21:16:29 +0100 (CET) (envelope-from marius) Date: Tue, 5 Feb 2013 21:16:29 +0100 From: Marius Strobl To: Kurt Lidl Subject: Re: smartmontools panics 9.1-RELEASE on sunfire 240 Message-ID: <20130205201629.GQ80850@alchemy.franken.de> References: <20130104051914.GA22613@pix.net> <20130104235336.GB37999@alchemy.franken.de> <20130105013224.GA31361@pix.net> <20130105015242.GB26039@alchemy.franken.de> <20130106021923.GE1410@funkthat.com> <20130106031245.GC26039@alchemy.franken.de> <20130107090200.GA53424@pix.net> <20130123221024.GP85306@alchemy.franken.de> <20130205060651.GA40942@pix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130205060651.GA40942@pix.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: mav@freebsd.org, freebsd-sparc64@freebsd.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 20:16:37 -0000 On Tue, Feb 05, 2013 at 01:06:51AM -0500, Kurt Lidl wrote: > On Wed, Jan 23, 2013 at 11:10:24PM +0100, Marius Strobl wrote: > > Could you please revert the patches to sys/cam/cam_periph.c and smartd.cpp > > of smartmontools and try with the following kernel patch instead? > > http://people.freebsd.org/~marius/ata_pio_odd_buf.diff > > OK - I was finally able to test this out. > > I completely reverted a machine (sunfire V120) to a stock 9.1-RELEASE > kernel. I completely reverted the smartmontools. > > I double-checked that the combination of that kernel, and that binary > still caused the problem. Check. > > Then I applied your patch to the kernel and tried the smartd program > again. No panic. > > It appears your patch fixes the problem. Thanks, I've committed it in r246257 and will MFC it to stable/{8,9}. Marius