Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2001 01:05:19 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Gordon Tetlow <gordont@bluemtn.net>
Cc:        Matt Groener <matt@groenquist.com>, Paul Murphy <pnmurphy1@home.com>, jacol@ids.gda.pl, freebsd-scsi@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: mylex dac960pl and FreeBSD 4.3 - bus_dmamap_load 
Message-ID:  <200105080805.f4885Ji01622@mass.dis.org>
In-Reply-To: Your message of "Tue, 08 May 2001 00:49:54 PDT." <Pine.BSF.4.33.0105080048040.7718-100000@sdmail0.sd.bmarts.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hmm, I just went through all of the mlx related files and none of them
> changed between 4.2-RELEASE and 4.3-RELEASE. So it looks like there is
> something more sinister going on.

This is a known problem.  I don't know what's up, and I can't reproduce =

it (as I don't have any of these cards).  I suspect that it may be an =

issue with non-page-aligned I/O and the very limited scatter-gather that =

these cards support.

You might try overriding the assignment in mlx_disk.c:

     279     dsk->si_iosize_max =3D imin(s1, s2);                        =
         =


and change it to eg. (8 * PAGE_SIZE) instead to see if this masks the =

problem.


> -gordon
> =

> On Mon, 7 May 2001, Matt Groener wrote:
> =

> > I have been trying to get anyone to respond to this issue as well.
> > I have offered both my time and the fact that I own many many Mylex
> > cards and would be happy to test, mail them out, perform magic
> > tricks, etc., to get some assistance.
> >
> > Greg Loomis (of vinum fame) helped me out with a problem with
> > Mylex RAID's and vinum, only to have it fail again at this point.
> > (He is not responsible for this error or Mylex drivers; I only
> > mention this because he bailed me out last minute and then I still
> > got stuck with this driver issue, which was a bummer for me).
> > The problem is confirmed to not be present at 4.2-RELEASE. I have
> > back-ported Greg's fix for 4.2-RELEASE to get around the Mylex
> > problem for the time being.
> >
> > I am not using the Mylex card as a boot device if that is of concern.=

> >
> > I only have Mylex cards with 2.73 firmware or lower (they are mostly
> > scavenged cards from Alpha's now running in Intel chassis). It is pos=
sible
> > that others do not experience with problem with other Mylex cards bes=
ides
> > the 960's, or with newer firmware.
> >
> > Anyone comment on what has changed, or can the Mylex driver maintaine=
r
> > (looks to be msmith?) offer any thoughts for us stuck with cards that=
 no
> > longer work?
> >
> > Thanks,
> > -matt
> >
> >
> > On Sun, 6 May 2001, Paul Murphy wrote:
> >
> > > Jacek J=EAdrzejczak wrote:
> > >
> > > > <dmesg>
> > > > mlx0: DAC96PL, 2 channels, firmware 2.73-0-00, 4MB
> > > > mlxd0: <Mylex System Drive> on mlx0
> > > > mlxd0: 20335MB (41646080 sectors) RAID 5 (online)
> > > >
> > > > No matter which installation process i choose (floppies - kern.fl=
p &
> > > > mfsroot.flp or bootable cd) i always get this error message:
> > > >
> > > > <debug>
> > > > bus_dmamap_load: Too many segs! buf_len =F0xaa0
> > > > mlx0: I/O error - attempt to write beyond end of drive
> > > >
> > >
> > >   I have the exact same machine with the exact same problem!
> > >
> > >   I sure would like to know the answer too.
> > >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
> >
> =

> =

> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-scsi" in the body of the message

-- =

=2E.. every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



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?200105080805.f4885Ji01622>