Hi all,
you should probably know S.M.A.R.T. hard disk prediction failure
capability exposed to IDE and SCSI HD drivers.
My application needs to access these information. I downloaded some demo
applications and they are able to access these infos w/out installing any hd
filter drivers, so it should be easy to retrieve such information in USER
environment, but I did not find any documentation about it.
Could you please help me?
Regards,
Andrea

Re: S.M.A.R.T. hard disk information by Jeff

Jeff
Thu Feb 09 07:37:29 CST 2006

Most such programs I've seen use a generic I/O port driver such as portio or
giveio to issue the SMART commands, IIRC over the SMI bus. It's been a few
years since I looked at this stuff, but ISTR a public-domain program named
i8kfanctrl (for controlling cooling fans on Dell Inspirons) that got hard
drive temperatures that way. A quick Google search might turn it up; I may
have the source for it at home, since I used that program on an Inspiron I
used to own.


"Andrea" <beppegenco@nospammail.nospammail> wrote in message
news:3E0926B5-2044-49B8-A48C-FE10F62D58D8@microsoft.com...
> Hi all,
> you should probably know S.M.A.R.T. hard disk prediction failure
> capability exposed to IDE and SCSI HD drivers.
> My application needs to access these information. I downloaded some demo
> applications and they are able to access these infos w/out installing any
> hd
> filter drivers, so it should be easy to retrieve such information in USER
> environment, but I did not find any documentation about it.
> Could you please help me?
> Regards,
> Andrea



Re: S.M.A.R.T. hard disk information by beppegenco

beppegenco
Thu Feb 09 10:08:28 CST 2006

Hi Jeff,
my Google canno find i8kfanctrl or similar app. I checked @ sourceforge
and got Disk Communicator project that is pretty nice. I'll study it seems to
fit my needs.
Thanks a lot. In the meanwhile I will appreciate if you can send me the
i8kfanctrl code at a.denardis@qtxcth_isacsrl.it (remove qtxcth_). Thanks a
lot.
Regards,
Andrea

"Jeff Henkels" wrote:

> Most such programs I've seen use a generic I/O port driver such as portio or
> giveio to issue the SMART commands, IIRC over the SMI bus. It's been a few
> years since I looked at this stuff, but ISTR a public-domain program named
> i8kfanctrl (for controlling cooling fans on Dell Inspirons) that got hard
> drive temperatures that way. A quick Google search might turn it up; I may
> have the source for it at home, since I used that program on an Inspiron I
> used to own.
>
>
> "Andrea" <beppegenco@nospammail.nospammail> wrote in message
> news:3E0926B5-2044-49B8-A48C-FE10F62D58D8@microsoft.com...
> > Hi all,
> > you should probably know S.M.A.R.T. hard disk prediction failure
> > capability exposed to IDE and SCSI HD drivers.
> > My application needs to access these information. I downloaded some demo
> > applications and they are able to access these infos w/out installing any
> > hd
> > filter drivers, so it should be easy to retrieve such information in USER
> > environment, but I did not find any documentation about it.
> > Could you please help me?
> > Regards,
> > Andrea
>
>
>

Re: S.M.A.R.T. hard disk information by RossettoeCioccolato

RossettoeCioccolato
Thu Feb 09 12:10:46 CST 2006

Andrea,

Just a guess, but might this be what you are looking for:
SMART_RCV_DRIVE_DATA..

You can also use ATA passthroughts for this.

Regards,

George.

"Andrea" <beppegenco@nospammail.nospammail> schrieb im Newsbeitrag
news:3E0926B5-2044-49B8-A48C-FE10F62D58D8@microsoft.com...
> Hi all,
> you should probably know S.M.A.R.T. hard disk prediction failure
> capability exposed to IDE and SCSI HD drivers.
> My application needs to access these information. I downloaded some demo
> applications and they are able to access these infos w/out installing any
> hd
> filter drivers, so it should be easy to retrieve such information in USER
> environment, but I did not find any documentation about it.
> Could you please help me?
> Regards,
> Andrea



Re: S.M.A.R.T. hard disk information by Jeff

Jeff
Thu Feb 09 19:58:31 CST 2006

Couldn't find the source, but you can download the source from
http://www.diefer.de/software/i8kfangui220-source.zip . It turns out
they're using the SMART_RCV_DRV_DATA DeviceIoControl and not the SMI bus.

"Andrea" <beppegenco@nospammail.nospammail> wrote in message
news:80BFD9AF-D426-4454-9265-854A8EFB57A4@microsoft.com...
> Hi Jeff,
> my Google canno find i8kfanctrl or similar app. I checked @ sourceforge
> and got Disk Communicator project that is pretty nice. I'll study it seems
> to
> fit my needs.
> Thanks a lot. In the meanwhile I will appreciate if you can send me the
> i8kfanctrl code at a.denardis@qtxcth_isacsrl.it (remove qtxcth_). Thanks a
> lot.
> Regards,
> Andrea
>
> "Jeff Henkels" wrote:
>
>> Most such programs I've seen use a generic I/O port driver such as portio
>> or
>> giveio to issue the SMART commands, IIRC over the SMI bus. It's been a
>> few
>> years since I looked at this stuff, but ISTR a public-domain program
>> named
>> i8kfanctrl (for controlling cooling fans on Dell Inspirons) that got hard
>> drive temperatures that way. A quick Google search might turn it up; I
>> may
>> have the source for it at home, since I used that program on an Inspiron
>> I
>> used to own.
>>
>>
>> "Andrea" <beppegenco@nospammail.nospammail> wrote in message
>> news:3E0926B5-2044-49B8-A48C-FE10F62D58D8@microsoft.com...
>> > Hi all,
>> > you should probably know S.M.A.R.T. hard disk prediction failure
>> > capability exposed to IDE and SCSI HD drivers.
>> > My application needs to access these information. I downloaded some
>> > demo
>> > applications and they are able to access these infos w/out installing
>> > any
>> > hd
>> > filter drivers, so it should be easy to retrieve such information in
>> > USER
>> > environment, but I did not find any documentation about it.
>> > Could you please help me?
>> > Regards,
>> > Andrea
>>
>>
>>



Re: S.M.A.R.T. hard disk information by Maxim

Maxim
Sat Feb 11 12:39:13 CST 2006

IOCTL_SCSI_MINIPORT/SMART_RCV_DRIVE_DATA and friends.

Do not even think about using PortIO to access the disk controller ports -
you have no ways to synchronize your work with the normal OS work, and the race
on disk controller's ports will surely hang the whole OS.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Andrea" <beppegenco@nospammail.nospammail> wrote in message
news:3E0926B5-2044-49B8-A48C-FE10F62D58D8@microsoft.com...
> Hi all,
> you should probably know S.M.A.R.T. hard disk prediction failure
> capability exposed to IDE and SCSI HD drivers.
> My application needs to access these information. I downloaded some demo
> applications and they are able to access these infos w/out installing any hd
> filter drivers, so it should be easy to retrieve such information in USER
> environment, but I did not find any documentation about it.
> Could you please help me?
> Regards,
> Andrea


Re: S.M.A.R.T. hard disk information by Maxim

Maxim
Sat Feb 11 12:41:05 CST 2006

> http://www.diefer.de/software/i8kfangui220-source.zip . It turns out
> they're using the SMART_RCV_DRV_DATA DeviceIoControl and not the SMI
>bus.

Surely. SMI bus has 100% nothing to do with IDE/SATA at all. For instance,
there is no SMI wires to disk drives :)

More so, according to some information from Microsoft, only the ACPI EC can do
transactions over the SMI bus, the OS software can only invoke the ACPI stuff
to do this.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Re: S.M.A.R.T. hard disk information by Jeff

Jeff
Mon Feb 13 07:38:28 CST 2006

My memory had been a bit fuzzy -- I hadn't looked at the code in several
years, but remembered it used SMI to control the fans, and just assumed it
used SMI for everything else.

"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:egZKbozLGHA.1288@TK2MSFTNGP09.phx.gbl...
>> http://www.diefer.de/software/i8kfangui220-source.zip . It turns out
>> they're using the SMART_RCV_DRV_DATA DeviceIoControl and not the SMI
>>bus.
>
> Surely. SMI bus has 100% nothing to do with IDE/SATA at all. For instance,
> there is no SMI wires to disk drives :)
>
> More so, according to some information from Microsoft, only the ACPI EC
> can do
> transactions over the SMI bus, the OS software can only invoke the ACPI
> stuff
> to do this.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>



Re: S.M.A.R.T. hard disk information by Maxim

Maxim
Mon Feb 13 08:36:53 CST 2006

> My memory had been a bit fuzzy -- I hadn't looked at the code in several
> years, but remembered it used SMI to control the fans, and just assumed it
> used SMI for everything else.

Fans - yes. Fans are on-mobo stuff. Disks are not.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Re: S.M.A.R.T. hard disk information by beppegenco

beppegenco
Thu Feb 16 02:27:29 CST 2006

Hi all,
I found the code useful but I solved the problem looking at the disk
communicator code.
It uses:

//
// IOCTL commands
//
#define DFP_GET_VERSION 0x00074080
#define DFP_SEND_DRIVE_COMMAND 0x0007c084
#define DFP_RECEIVE_DRIVE_DATA 0x0007c088

PortIO is not available and is purely a sample driver, there's no simple way
to synchrnonize it with the OS disk driver.
Thanks a lot.
Regards,
Andrea

"Maxim S. Shatskih" wrote:

> > My memory had been a bit fuzzy -- I hadn't looked at the code in several
> > years, but remembered it used SMI to control the fans, and just assumed it
> > used SMI for everything else.
>
> Fans - yes. Fans are on-mobo stuff. Disks are not.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>