RFC: ATA to CAM integration patch

Alexander Motin mav at FreeBSD.org
Tue Jun 30 10:36:10 UTC 2009


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


More information about the freebsd-current mailing list