From: Bruce A. <ba...@gr...> - 2008-11-05 12:22:26
|
Bokhan, what code version are you using (smartd -V will show this)? On Wed, 5 Nov 2008, Christian Franke wrote: > Hi All, > > Bruce Allen wrote: >> ... >> Christian: I wonder if this is associated with the fact that the >> ata_command_interface() can return +1 in the case of a SMART STATUS >> CHECK failure (not just 0 and -1 as for the other commands). >> > > Yes, possibly. The SMART STATUS CHECK command is the only SMART command > where the ATA output registers are relevant. > > There might be a problem in > - the Areca ioctl itself (not returning ATA registers properly), > - the STATUS_CHECK return value os_linux.cpp Areca code, > - the (device independent) mapping between 'return value' and 'ATA > registers' in the adapter routines of the new interface. > The latter is done twice because areca code still uses the > 'smart_command_set' interface. > > Here are update commands for two CVS snapshots that may help to track > down a possible regression introduced by my changes: > > Just before checkin of new interface modules > (os_linux.cpp 1.115): > > $ cvs up -D '2008-07-25 21:00 UTC' > > > Just before migration of os_linux.cpp to new interface > (os_linux.cpp 1.116): > > $ cvs up -D '2008-08-23 20:00 UTC' > > > After cvs update, make sure to re-run ./autogen.sh before ./configure. > > Cheers, > Christian > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > |