[issue1412] sysutils/smartmontools doesn't work with ahci(4)

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Mon Sep 7 15:53:35 PDT 2009

Alex Hornung <ahornung at gmail.com> added the comment:

Ok, I think one should use device type 'sat' for smartmontools (ata over scsi, 
or scsi attached ata). For this to be feasible, ATA_PASS_* have to be 
implemented in our ahci driver.
Relevant snippet in ahci_cam.c:
        case ATA_PASS_12:
        case ATA_PASS_16:
                 * XXX implement pass-through
                ccbh->status = CAM_FUNC_NOTAVAIL;

I'll give it a shot, but any hint is welcome.

Alex Hornung

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list