public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ATA with SMART
@ 2002-07-22  6:24 Ana Yuseepi
  0 siblings, 0 replies; 2+ messages in thread
From: Ana Yuseepi @ 2002-07-22  6:24 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

Hello everyone,
 
I would like to send some SMART commands in linux. One of the command I'd like to send is return_smart_status and I needed some extra data that the device would return in Cylinder_Low and Cylinder_High registers. 
 
I have tried to use the HDIO_DRIVE_CMD, but I think this can't help me with the above operation.
 
I tried using the inw_p and outw_p, inb_p, outb_p, but with these, i usually receive the "lost interrupt" message.
 
Does anyone here have suggestions on what i should do?

Please reply, and thank you for your time,

-Ana
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ATA with SMART
@ 2002-07-23  1:48 Ana Yuseepi
  0 siblings, 0 replies; 2+ messages in thread
From: Ana Yuseepi @ 2002-07-23  1:48 UTC (permalink / raw)
  To: linux-kernel

Hello, first of all, thank you for your replies.. :)

All of the reply I received asked me to take a look at the smartsuite program. I have already taken a look at those, but those doesn't help my problem. It had a support for RETURN_SMART_STATUS command, but only the status_register is returned. The value in cylinder_high and cylinder_low is not returned. So, this is of no use to me.

Any other idea? 

Thanks a lot,

-Ana





----- Original Message -----
From: Dima Brodsky <dima@cs.ubc.ca>
Date: Mon, 22 Jul 2002 07:44:06 -0700
To: Ana Yuseepi <anayuseepi@asia.com>
Subject: Re: ATA with SMART


> Hi,
> 
> Take a look at the smartsuite set of utilities:
> 
> http://sourceforge.net/projects/smartsuite/
> 
> They are used to control the SMART functionality of a
> drive.  There is probably example code there to do what
> you want.
> 
> ttyl
> Dima
> 
> On Mon, Jul 22, 2002 at 01:24:02AM -0500, Ana Yuseepi wrote:
> > Hello everyone,
> >  
> > I would like to send some SMART commands in linux. One of the command I'd like to send is return_smart_status and I needed some extra data that the device would return in Cylinder_Low and Cylinder_High registers. 
> >  
> > I have tried to use the HDIO_DRIVE_CMD, but I think this can't help me with the above operation.
> >  
> > I tried using the inw_p and outw_p, inb_p, outb_p, but with these, i usually receive the "lost interrupt" message.
> >  
> > Does anyone here have suggestions on what i should do?
> > 
> > Please reply, and thank you for your time,
> > 
> > -Ana
> 
> 
> -- 
> Dima Brodsky                                   dima@cs.ubc.ca
>                                                http://www.cs.ubc.ca/~dima
> 201-2366 Main Mall                             (604) 822-9156 (Office)
> Department of Computer Science                 (604) 822-2895 (DSG Lab)
> University of British Columbia, Canada         (604) 822-5485 (FAX)
> 
> "The price of reliability is the pursuit of the utmost simplicity.
>  It is a price which the very rich find the most hard to pay."
> 						  (Sir Antony Hoare, 1980)
> 
> 

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-23  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-22  6:24 ATA with SMART Ana Yuseepi
  -- strict thread matches above, loose matches on Subject: below --
2002-07-23  1:48 Ana Yuseepi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox