Re: RFC: ATA to CAM integration patch

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Tue, 30 Jun 2009 13:36:04 +0300
Kamigishi Rei wrote:
> Alexander Motin wrote:
>> It could be not a real bug, but incorrect diagnostic, in situation,
>> when the last of 32 submitted command finishes first. NCQ in practice. :)
> Running for > 24 hours now, no such messages yet - so probably as you
> stated it was just a problem of an incorrect diagnostics assumption.
> Thanks gods you didn't use panic("ALL SLOTS BUSY") ;)

Fine. That's why I don't like panic(). :)

> By the way: smartctl from smartmontools doesn't work with this new
> driver (with -d scsi or -d sat as well). How would one request SMART
> information from a device provided by ahci.ko (I mean, maybe it can be
> implemented in smartmontools easily)?

smartmontools need to be updated to support the new order. It should use
same CAM system calls as for -d scsi, but commands as for -d ata. I have
made quick look and think should not be difficult to implement it. So if
somebody wants to help - it is the place.

-- 
Alexander Motin
Received on Tue Jun 30 2009 - 08:36:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC