From owner-freebsd-sparc64@FreeBSD.ORG Tue Feb 5 06:06:56 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C246FB6A; Tue, 5 Feb 2013 06:06:56 +0000 (UTC) (envelope-from lidl@hydra.pix.net) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::3c]) by mx1.freebsd.org (Postfix) with ESMTP id 46D538AF; Tue, 5 Feb 2013 06:06:56 +0000 (UTC) Received: from hydra.pix.net (localhost [127.0.0.1]) by hydra.pix.net (8.14.5/8.14.5) with ESMTP id r1566q5b040960; Tue, 5 Feb 2013 01:06:52 -0500 (EST) (envelope-from lidl@hydra.pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.6 at mail.pix.net Received: (from lidl@localhost) by hydra.pix.net (8.14.5/8.14.5/Submit) id r1566p41040959; Tue, 5 Feb 2013 01:06:51 -0500 (EST) (envelope-from lidl) Date: Tue, 5 Feb 2013 01:06:51 -0500 From: Kurt Lidl To: Marius Strobl Subject: Re: smartmontools panics 9.1-RELEASE on sunfire 240 Message-ID: <20130205060651.GA40942@pix.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130123221024.GP85306@alchemy.franken.de> 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 06:06:56 -0000 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! -Kurt