Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 17:44:16 +0200
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@freebsd.org>
To:        Julian Stacey <jhs@berklix.org>
Cc:        phoemix@harmless.hu, freebsd-current@freebsd.org
Subject:   Re: ata mode at startup 
Message-ID:  <A289B32D-AA0C-4EB9-9E63-7587ED33E82E@freebsd.org>
In-Reply-To: <200805231443.m4NEhGTM090324@fire.js.berklix.net>
References:  <200805231443.m4NEhGTM090324@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23May, 2008, at 16:43 , Julian Stacey wrote:

> phoemix@harmless.hu wrote:
>> Hello,
>> As known, FreeBSD sets the highest supported ATA mode, but =20
>> sometimes it's
>> inproper, since the disk fails to work in this mode. This will be =20
>> obsolate =3D
>> by
>> recent SATA drives, but PATA is still in use :)
>> I've though of the possibility of adding an "atamodetab" rc script, =20=

>> with wh=3D
>> ich
>> the administrator could specify the disk modes to set on startup.
> ......^^^^^^^^^^^^^ ....
>
> No good waiting for an admin to manually edit a table:
> An admin cant edit till FreeBSD boots.
> FreeBSD fails to boot on some older laptops eg
> 	http://www.berklix.com/~jhs/hardware/digital/
> 	http://www.berklix.com/~jhs/hardware/laptops/=20
> dell_latitude_xpi_p133st/
> unless one pre-knows FreeBSD magic like =09
> 	loader.conf hw.ata.ata_dma=3D0
> 	http://www.berklix.com/~jhs/hardware/laptops/#loader.conf
>
> A table in src/ that would automatically recognise flakey ATA hardware
> & reduce ambitious FreeBSD so it could boot, would be nice.

It would also be impossible to maintain, thats why the current knobs =20
are there, if DMA fails you boot in "safe" mode ie PIO and then you =20
can experiment to your hearts content what your flakey HW can take.

-S=F8ren=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A289B32D-AA0C-4EB9-9E63-7587ED33E82E>