From owner-freebsd-stable Wed May 3 10:23:56 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mass.cdrom.com (adsl-63-202-176-114.dsl.snfc21.pacbell.net [63.202.176.114]) by hub.freebsd.org (Postfix) with ESMTP id A303937BBDD for ; Wed, 3 May 2000 10:23:50 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id KAA04107 for ; Wed, 3 May 2000 10:32:23 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200005031732.KAA04107@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: freebsd-stable@freebsd.org Subject: Re: HPDA/DAC960PL errors In-reply-to: Your message of "Wed, 03 May 2000 10:26:42 PDT." <200005031726.KAA04073@mass.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 May 2000 10:32:23 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Well, perhaps not. Running the old firmware, 2.39, my install of 4.0 fails > > > early on copying files: > > > > > > bus_dmamap_load : Too many segs! buf_len = 0x10000 > > > mlx0 : I/O error -- attempt to write beyond end of drive > > > > > > Any idea what these mean? > > > > The 2.x firmware only supports a very small number of scatter/gather > > segments (17). It looks like someone's trying to do a non-page-aligned > > 64kb transaction there and we're overflowing. Addressing this is > > probably going to require a driver patch. 8( > > Ok. I know how I'm going to have to deal with this; the problem is that > we only use 16 of the 17 available S/G segments (so I can pack the S/G > tables without crossing page boundaries). This is going to take a little > while to implement, unfortunately. (Just to continue talking to myself) - The reason I never ran into this, I realised, is that I did all my work on the 2.x firmware in Alpha systems which have an 8k page size. With a 64k d_maxio, you'll never see more than 9 segments. Sorry about this. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message