https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254841

Daniel Austin <freebsd-po...@dan.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #223884|0                           |1
        is obsolete|                            |

--- Comment #1 from Daniel Austin <freebsd-po...@dan.me.uk> ---
Created attachment 223965
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223965&action=edit
Add functionality to mpsutil

I've updated the patch to show whether SATA NCQ is enabled in 'show adapter'
and also added a new command "set ncq [enable|disable]" which enables or
disables NCQ in the NVRAM of the card.

This is particularly useful in some external JBOD enclosures.
For example, I use a QNAP TL-D1600S 16 bay and with NCQ enabled wth mps cards I
receive errors from all attached drives.

Once the system is booted, you can use camcontrol tags to effectively disable
NCQ which works around the problem, but the kernel still has to suffer before
that point (e.g. with ZFS, just probing for pools could make my system take 5+
mins to boot)... I discovered this workaround via Google.

I had worked around it by using lsiutil in Linux to disable NCQ on the card,
and with this patch users of FreeBSD / TrueNAS etc can set that setting in
their chosen OS.

Note: this diff also adds a new file (mps_set.c)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to