> > > 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,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to