From: Bruce A. <ba...@gr...> - 2005-04-20 05:12:35
|
Christian, This seems like a nice hack. Is there a better way? I think the problem of accessing SMART data from Promise controllers under Win32 is a long-standing one, isn't it? Cheers, Bruce On Sun, 17 Apr 2005, Dariusz Rzonca wrote: > Hello! > Two days ago I asked about adding support for Promise ATA controller to > smartmontools under Windows (under Linux it works fine). Then I spent > some time on research and finally managed to do it myself. > Drivers from Promise for Windows 98 include file smartvsd.vxd (different > than orginal one from Microsoft!). Using smartvsd.vxd from Microsoft you > are able to monitor SMART only on first IDE controller (on motherboard). > When you copy Promise smartvsd.vxd to windows\system\iosubsys > (overwriting Microsoft one) you are able to monitor SMART on second IDE > controller (Promise), but not on first one (motherboard)! I have added > support for Promise controller in this way: > 1) Copied Promise smartvsd.vxd to windows\system\iosubsys under > different name (i.e. smartprm.vxd) > 2) Modified smartprm.vxd to be available as \\.\SMARTPRM > 3) Modified os_win32.c from smartmontools to use \\.\SMARTVSD for first > four drives (hda-hdd) and \\.\SMARTPRM for next four (hde-hdh). > 4) Compiled smartmontools and checked if it works - and it works like a > charm, so I'm able to monitor SMART on all my HDD under Windows at least! > Of course it is only a "hack" to make sure if it works. I would be glad > to help in adding full support for Promise controllers in next > smartmontools version. > > -- > Kind regards, > Dariusz Rzonca > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime info, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > > |