From owner-freebsd-stable@FreeBSD.ORG Thu Nov 8 11:18:17 2007 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88B3416A419; Thu, 8 Nov 2007 11:18:17 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-70484.0x50a6c9a6.abnxx16.customer.tele.dk [80.166.201.166]) by mx1.freebsd.org (Postfix) with ESMTP id DE91B13C48E; Thu, 8 Nov 2007 11:18:16 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from ws.local (ws.deepcore.dk [194.192.25.137]) by spider.deepcore.dk (8.13.8/8.13.8) with ESMTP id lA8BHxba092824; Thu, 8 Nov 2007 12:17:59 +0100 (CET) (envelope-from sos@deepcore.dk) Message-ID: <4732F067.7080601@deepcore.dk> Date: Thu, 08 Nov 2007 12:17:59 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@FreeBSD.ORG, Henrik Brix Andersen , sos@FreeBSD.ORG Subject: Re: 7 on Soekris net4801? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 11:18:17 -0000 Ian Smith wrote: > On Sat, 3 Nov 2007, Henrik Brix Andersen wrote: > > On Sun, Nov 04, 2007 at 02:59:36AM +1100, Ian Smith wrote: > > > any particular/new issues with RELENG_7 on the Soekris net4801? > > >=20 > > > Thought I should check before upgrading my T23 as a build platform= .. > > > I haven't done this before, and will be relying on the howtos for = 6.X > >=20 > > I recently upgraded two of my net4801s to RELENG_7 - the only proble= m > > I have seen so far, is that savecore(8) attempts to do non-aligned D= MA > > transfers and fails. I haven't had time to dig further into this iss= ue > > yet, though. > > Thanks, Brix. I'm wondering if that's still (again?) to do with item 3= > at http://www.soekris.com/Issue0003.htm ? I've no idea whether a simila= r > 'quick-fix' to that given for FreeBSD 4.X to /sys/dev/ata/ata-dma.c > would work with the 5.5-S and 6.1-R code I have here, noting that the > alignment is now specified in bytes rather than the earlier bytes-1, so= > '4' is presumably the value needed for dword alignment. > > Hmm, ok, trying to dig a little deeper .. rev 1.118 notes say: > > Add support for a the National Geode SC1100. Thanks to Soekris engine= ering > for sponsoring a Soekris 4801 to make this support. > > but I couldn't find anywhere in 1.118 or in later versions up to 1.147 > (RELENG_7, HEAD) that does anything other than 'ch->dma->alignment =3D = 2;' > > (Not that me not finding it means much :) I also noticed at 1.137.2.2:= =20 > > Add support for using DMA on dump, greatly speeds up the dump process= =2E > > Copying Soren in case he may have a bead on this, but it hardly seems > any impediment to preparation or building for it when the box arrives. > > =20 Actually aligment is set to 16 but a bit untraditionally in=20 ata_national_setmode(). I should change that to do it in an ata_national_allocate() function=20 which now can contain just a few lines. I'd figure that the problem is that the geode chip doesn't support 128=20 sector writes just up to 126, that is not honered from the dump rutine II= RC. -S=F8ren