Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2008 12:05:48 +0200
From:      CZUCZY Gergely <phoemix@harmless.hu>
To:        "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de>
Cc:        phoemix@harmless.hu, freebsd-current@freebsd.org
Subject:   Re: ata mode at startup
Message-ID:  <20080524120548.14435974@mort.in.publishing.hu>
In-Reply-To: <20080523152056.GA14884@wep4017.physik.uni-wuerzburg.de>
References:  <20080523155635.054f5ec4@twoflower.in.publishing.hu> <20080523152056.GA14884@wep4017.physik.uni-wuerzburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/ypiyZAPw.TlGFf893vWNeGM
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

The thing is, in my case, the disk fails to work properly in UDMA100,
this means, when it's under heavier load, it does some errors. However,
it works perfectly in UDMA66. The sysctls affect all disks in the
configuration, and the other n-1 disks still needs to be tuned, nut
just the failing one. So, the sysctl is not a fine grained solution for
this issue as I see.

On Fri, 23 May 2008 17:20:56 +0200
"Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> wrote:

> On Fri, May 23, 2008 at 03:56:35PM +0200, phoemix@harmless.hu wrote:
> > Hello,
> >=20
> > As known, FreeBSD sets the highest supported ATA mode, but
> > sometimes it's inproper, since the disk fails to work in this mode.
> > This will be obsolate by recent SATA drives, but PATA is still in
> > use :)
> >=20
> > I've though of the possibility of adding an "atamodetab" rc script,
> > with which the administrator could specify the disk modes to set on
> > startup.
> >=20
> > I've already got a sketch for this script that I use, but I'd like
> > to ask, does it worth the effort working on it a bit more, and
> > adding it to the core OS? I think this would be a quite useful
> > feature to have.
> >=20
> Hello!
>=20
> I think such a thing should be set much earlier than in rc script,
> somewhere in loader.conf(5) and it is already done.
> >From ata(4):
>=20
> [snip]
>      The following tunables are settable from the loader:
>=20
>      hw.ata.ata_dma
>      set to 1 for DMA access, 0 for PIO (default is DMA).
>=20
>      hw.ata.atapi_dma
>      set to 1 for DMA access, 0 for PIO (default is DMA).
>=20
> [snip]
>=20
> Alexey.
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe@freebsd.org"


--=20

Sincerely,

Gergely CZUCZY,
Harmless Digital
mailto: gergely.czuczy@harmless.hu

Legacy software is software that works.

--Sig_/ypiyZAPw.TlGFf893vWNeGM
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFIN+h+zrC0WyuMkpsRAs+CAKCkr4aHHDMNeX48u4KNeGPbOD3dUwCfTvIi
sFUPqvQvQj4rNcGqPPPVGQo=
=QlVv
-----END PGP SIGNATURE-----

--Sig_/ypiyZAPw.TlGFf893vWNeGM--



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