All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ana Yuseepi" <anayuseepi@asia.com>
To: linux-kernel@vger.kernel.org
Subject: Re: ATA with SMART
Date: Mon, 22 Jul 2002 20:48:50 -0500	[thread overview]
Message-ID: <20020723014850.80864.qmail@mail.com> (raw)

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


             reply	other threads:[~2002-07-23  1:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-23  1:48 Ana Yuseepi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-22  6:24 ATA with SMART Ana Yuseepi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020723014850.80864.qmail@mail.com \
    --to=anayuseepi@asia.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.