Any objections/comments on axing out old ATA stack?

Matthias Andree mandree at FreeBSD.org
Tue Apr 2 18:43:37 UTC 2013


Am 01.04.2013 17:07, schrieb Stefan Esser:
> Am 01.04.2013 15:14, schrieb Victor Balada Diaz:
>> Being able to configure quirks from loader.conf for disks AND controllers would be great
>> and is not hard to do. If you want i can do a patch in two weeks and send it to you. That
>> way it's easy to test disabling NCQ and/or other things in case of hitting a bug. Also
>> being able to modify the configuration without a kernel recompile would be a big
>> improvement because we could still use freebsd-update to keep systems updated.
> 
> Something like:
> 
> kern.cam.ada.0.quirks=1
> 
> to force 4KB sectors?
> 
> No need to implement that, it is in -CURRENT (did not check -STABLE).
> But there is no quirk, that disables NCQ, currently, although it is
> easy to implement. See the places where "ADA_FLAG_CAN_NCQ" is set and
> make that value depend on a new quirk flag being unset ...
> 
> But instead of setting that flag in the loader, it would be good to
> collect drive signatures that need it and to add quirk entries for
> them in ata_da.c ...

Before we can do that, we need to know if it's really the drive's fault
or if the driver is wrong.  We need to debug that.

If we have relevant parameters exposed through the CAM interface (rather
than loader variables), that would also help expedite the debugging.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130402/1570d47a/attachment.sig>


More information about the freebsd-stable mailing list