Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2000 10:32:23 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: HPDA/DAC960PL errors 
Message-ID:  <200005031732.KAA04107@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 03 May 2000 10:26:42 PDT." <200005031726.KAA04073@mass.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005031732.KAA04107>