Re: ATA with SMART

Ana Yuseepi (anayuseepi@asia.com)
Mon, 22 Jul 2002 20:48:50 -0500


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/