lkml.org 
[lkml]   [2005]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))
On Fri, Jul 08 2005, Jon Escombe wrote:
> Jens Axboe wrote:
>
> >On Thu, Jul 07 2005, Shawn Starr wrote:
> >
> >
> >>Model: HTS548080M9AT00 (Hitachi)
> >>Laptop: T42.
> >>
> >>segfault:/home/spstarr# ./a /dev/hda
> >>head parked
> >>
> >>Seems to park, heard it click :)
> >>
> >>
> >
> >Note on that - if the util says it parked, you can be very sure that it
> >actually did as the drive actually returns that status outside of just
> >completing the command.
> >
> >
> It's worth noting that you'll need the libata passthrough patch to make
> this work on a T43..
>
> However, with this patch I'm getting the "head not parked 4c" message,
> but I can hear the click from the drive.. It takes around 350-400ms for
> the command to execute, but when repeated, it drops to around 5ms for a
> short while (with no audible clicking), before reverting to original
> behaviour after a few seconds.
>
> The clicking and the variation in execution time lead me to think it is
> parking, but not being reported correctly?

Sounds like a pass through bug, it should pass the register output back
out again for a non-data command.

Checking code... Yeah it does not. Since the 'we parked successfully' is
stored in the lbal register, we need the full register set copied back
into the buffer. That goes for all three HDIO_* commands, there's still
some work to be done for the libata passthrough to be compliant with the
ide one.

--
Jens Axboe

-
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/

\
 
 \ /
  Last update: 2005-07-08 08:39    [W:0.090 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site