Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Shawn Starr
It should be noted im using linux-2.6.git. --- Jens Axboe <[EMAIL PROTECTED]> wrote: > On Fri, Jul 08 2005, Jon Escombe wrote: > > Jens Axboe wrote: > > > > >On Thu, Jul 07 2005, Shawn Starr wrote: > > > > > > > > >>Model: HTS548080M9AT00 (Hitachi) > > >>Laptop: T42. > > >> > >

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Vojtech Pavlik
On Fri, Jul 08, 2005 at 02:56:08AM +0200, Bodo Eggert wrote: > Clemens Koller <[EMAIL PROTECTED]> wrote: > > > Well, sure, it's not a notebook HDD, but maybe it's possible > > to give headpark a more generic way to get the heads parked? > > I remember my old MFM HDD, which had a Landing Zone

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Jens Axboe
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

Re: IBM HDAPS things are looking up

2005-07-08 Thread Jens Axboe
On Thu, Jul 07 2005, Alejandro Bonilla wrote: > Bodo Eggert wrote: > > >Clemens Koller <[EMAIL PROTECTED]> wrote: > > > > > > > >>Well, sure, it's not a notebook HDD, but maybe it's possible > >>to give headpark a more generic way to get the heads parked? > >> > >> > > > >I remember my old

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Jens Axboe
On Fri, Jul 08 2005, Bodo Eggert wrote: > Clemens Koller <[EMAIL PROTECTED]> wrote: > > > Well, sure, it's not a notebook HDD, but maybe it's possible > > to give headpark a more generic way to get the heads parked? > > I remember my old MFM HDD, which had a Landing Zone stored in the BIOS to >

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Jens Axboe
On Fri, Jul 08 2005, Bodo Eggert wrote: Clemens Koller [EMAIL PROTECTED] wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? I remember my old MFM HDD, which had a Landing Zone stored in the BIOS to which the

Re: IBM HDAPS things are looking up

2005-07-08 Thread Jens Axboe
On Thu, Jul 07 2005, Alejandro Bonilla wrote: Bodo Eggert wrote: Clemens Koller [EMAIL PROTECTED] wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? I remember my old MFM HDD, which had a Landing

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Jens Axboe
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,

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Vojtech Pavlik
On Fri, Jul 08, 2005 at 02:56:08AM +0200, Bodo Eggert wrote: Clemens Koller [EMAIL PROTECTED] wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? I remember my old MFM HDD, which had a Landing Zone stored in

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-08 Thread Shawn Starr
It should be noted im using linux-2.6.git. --- Jens Axboe [EMAIL PROTECTED] wrote: 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

Re: IBM HDAPS things are looking up

2005-07-07 Thread Alejandro Bonilla
Bodo Eggert wrote: Clemens Koller <[EMAIL PROTECTED]> wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? I remember my old MFM HDD, which had a Landing Zone stored in the BIOS to which the park command

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Bodo Eggert
Clemens Koller <[EMAIL PROTECTED]> wrote: > Well, sure, it's not a notebook HDD, but maybe it's possible > to give headpark a more generic way to get the heads parked? I remember my old MFM HDD, which had a Landing Zone stored in the BIOS to which the park command would seek. Maybe you could do

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Alejandro Bonilla
Jon Escombe wrote: Jens Axboe wrote: 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

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jon Escombe
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

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Matthew Garrett wrote: > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > What is needed is to flesh out what the kernel interface should looke > > like. I suggested a sysfs file for suspending and resuming access to the > > device, if people have other ideas they should voice

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Erik Mouw
On Thu, Jul 07, 2005 at 11:45:38AM -0700, Martin Knoblauch wrote: > If IBM would provide a CD image (bootable ISO) containing FW for all > supported drives - that would be great. No need for the "other OS" any > more. I can imagine IBM doesn't do that because in that way you can't update the

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Folkert van Heusden
Doesn't park here: ehm:/home/folkert# ./park /dev/hda head not parked 4c ehm:/home/folkert# hdparm -i /dev/hda /dev/hda: Model=IC25N060ATMR04-0, FwRev=MO3OAD5A, SerialNo=MRG357K3KKN0XH Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0,

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Erik Mouw <[EMAIL PROTECTED]> wrote: > On Thu, Jul 07, 2005 at 11:45:38AM -0700, Martin Knoblauch wrote: > > If IBM would provide a CD image (bootable ISO) containing FW for > all > > supported drives - that would be great. No need for the "other OS" > any > > more. > > I can imagine IBM

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Dave Hansen <[EMAIL PROTECTED]> wrote: > > I have the feeling that this will work for many T4[012]p? users: > > http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=TPAD-HDFIRM > Actually, I think your feeling is wrong. Looking at the readme.txt it seems version 7.1 of the

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Shawn Starr
You can take the .exe file and turn this into a bootable CD (using a RW CD) I forgot how I did it, but if I remember correctly, I took a floppy dos image and made that into the boot 'stub' and threw the exe into the CD (a la El-Torito). I flashed the disk firmware once since I got the laptop.

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Dave Hansen wrote: > On Thu, 2005-07-07 at 19:27 +0200, Jens Axboe wrote: > > On Thu, Jul 07 2005, Clemens Koller wrote: > > > Well, sure, it's not a notebook HDD, but maybe it's possible > > > to give headpark a more generic way to get the heads parked? > > > > This _is_ the

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Dave Hansen <[EMAIL PROTECTED]> wrote: > On Thu, 2005-07-07 at 10:14 -0700, Martin Knoblauch wrote: > > Basically I saw that the only difference between me and Pekka was > the > > FW (discounting the different CPU speed and Kernel version). I > googled > > around and found the IBM FW page

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Dave Hansen
On Thu, 2005-07-07 at 14:01 -0400, Lee Revell wrote: > On Thu, 2005-07-07 at 10:38 -0700, Dave Hansen wrote: > > On Thu, 2005-07-07 at 19:27 +0200, Jens Axboe wrote: > > > This _is_ the generic way, if your drive doesn't support it you are out > > > of luck. > > > > I do wonder what is done in

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Lee Revell
On Thu, 2005-07-07 at 10:38 -0700, Dave Hansen wrote: > On Thu, 2005-07-07 at 19:27 +0200, Jens Axboe wrote: > > On Thu, Jul 07 2005, Clemens Koller wrote: > > > Well, sure, it's not a notebook HDD, but maybe it's possible > > > to give headpark a more generic way to get the heads parked? > > > >

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Matthew Garrett
Jens Axboe <[EMAIL PROTECTED]> wrote: > What is needed is to flesh out what the kernel interface should looke > like. I suggested a sysfs file for suspending and resuming access to the > device, if people have other ideas they should voice them. That sounds quite reasonable. Does it need to do

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Dave Hansen
On Thu, 2005-07-07 at 10:14 -0700, Martin Knoblauch wrote: > Basically I saw that the only difference between me and Pekka was the > FW (discounting the different CPU speed and Kernel version). I googled > around and found the IBM FW page at: > >

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Alejandro Bonilla wrote: > > > Hello, > > > > Just for the records > > - > > [EMAIL PROTECTED]:~$ ./headpark /dev/hda > > head not parked 4c > > - > > > > HDD is a desktop Maxtor Diamond MaxPlus 9 120GB > > on a Promise Ultra133 TX2 IDE Controller. > > > > Well,

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Clemens Koller wrote: > Hello, > > Just for the records > - > [EMAIL PROTECTED]:~$ ./headpark /dev/hda > head not parked 4c > - > > HDD is a desktop Maxtor Diamond MaxPlus 9 120GB > on a Promise Ultra133 TX2 IDE Controller. > > Well, sure, it's not a notebook

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Alejandro Bonilla
> Hello, > > Just for the records > - > [EMAIL PROTECTED]:~$ ./headpark /dev/hda > head not parked 4c > - > > HDD is a desktop Maxtor Diamond MaxPlus 9 120GB > on a Promise Ultra133 TX2 IDE Controller. > > Well, sure, it's not a notebook HDD, but maybe it's possible > to give headpark

RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Alejandro Bonilla <[EMAIL PROTECTED]> wrote: > > > --- Pekka Enberg <[EMAIL PROTECTED]> wrote: > > > > > On 7/7/05, Martin Knoblauch <[EMAIL PROTECTED]> wrote: > > > > Interesting. Same Notebook, same drive. The program say "not > > > parked" > > > > :-( This is on FC2 with a pretty much

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Clemens Koller
Hello, Just for the records - [EMAIL PROTECTED]:~$ ./headpark /dev/hda head not parked 4c - HDD is a desktop Maxtor Diamond MaxPlus 9 120GB on a Promise Ultra133 TX2 IDE Controller. Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to

RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Alejandro Bonilla
> --- Pekka Enberg <[EMAIL PROTECTED]> wrote: > > > On 7/7/05, Martin Knoblauch <[EMAIL PROTECTED]> wrote: > > > Interesting. Same Notebook, same drive. The program say "not > > parked" > > > :-( This is on FC2 with a pretty much vanilla 2.6.9 kernel. > > > > > > [EMAIL PROTECTED] tmp]# hdparm

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Pekka Enberg <[EMAIL PROTECTED]> wrote: > On 7/7/05, Martin Knoblauch <[EMAIL PROTECTED]> wrote: > > Interesting. Same Notebook, same drive. The program say "not > parked" > > :-( This is on FC2 with a pretty much vanilla 2.6.9 kernel. > > > > [EMAIL PROTECTED] tmp]# hdparm -i /dev/hda > >

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Alejandro Bonilla wrote: > Jens, > > Thanks for this util. :-) It will make things easier for us and do part > of > the Job we are looking for. I will post this script in the hdaps.sf.net for > people if it's ok with you. Knock yourself out, I have no interest in

Re: [Hdaps-devel] Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Shawn Starr
Model: HTS548080M9AT00 (Hitachi) Laptop: T42. segfault:/home/spstarr# ./a /dev/hda head parked Seems to park, heard it click :) Shawn. On July 7, 2005 04:48, Jens Axboe wrote: > On Thu, Jul 07 2005, Lenz Grimmer wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi, > > > >

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
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

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Shawn Starr
Model: HTS548080M9AT00 (Hitachi) Laptop: T42. segfault:/home/spstarr# ./a /dev/hda head parked Seems to park, heard it click :) Shawn. On July 7, 2005 04:03, Jens Axboe wrote: > On Mon, Jul 04 2005, Jens Axboe wrote: > > On Mon, Jul 04 2005, Lenz Grimmer wrote: > > > -BEGIN PGP SIGNED

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Dan Christensen
# ./park /dev/hda head not parked 4c # hdparm -i /dev/hda /dev/hda: Model=HTS548040M9AT00, FwRev=MG2OA53A, SerialNo=MRL252L2JU2JYB Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=DualPortCache, BuffSize=7877kB,

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Alejandro Bonilla
Jens, Thanks for this util. :-) It will make things easier for us and do part of the Job we are looking for. I will post this script in the hdaps.sf.net for people if it's ok with you. Thanks again, .Alejandro > > #include > > #include > > #include > > #include > > #include > >

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Shawn Starr
Model: HTS548080M9AT00 (Hitachi) Laptop: T42. segfault:/home/spstarr# ./a /dev/hda head parked Seems to park, heard it click :) Shawn. On July 7, 2005 04:03, Jens Axboe wrote: > On Mon, Jul 04 2005, Jens Axboe wrote: > > On Mon, Jul 04 2005, Lenz Grimmer wrote: > > > -BEGIN PGP SIGNED

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Pekka Enberg <[EMAIL PROTECTED]> wrote: > > Martin, don't trim the cc! > sorry about that, but I did not have the CC at time of reply. I read LKLM from the archives and respond by cut and paste. Martin -- Martin Knoblauch email: k n

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Pekka Enberg
On 7/7/05, Martin Knoblauch <[EMAIL PROTECTED]> wrote: > Interesting. Same Notebook, same drive. The program say "not parked" > :-( This is on FC2 with a pretty much vanilla 2.6.9 kernel. > > [EMAIL PROTECTED] tmp]# uname -a > Linux l15833 2.6.9-noagp #1 Wed May 4 16:09:14 CEST 2005 i686 i686

Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
On Thu, Jul 07 2005, Pekka Enberg wrote: > Jens Axboe wrote: > > > ATA7 defines a park maneuvre, I don't know how well supported it is > > > yet though. You can test with this little app, if it says 'head > > > parked' it works. If not, it has just idled the drive. > > On 7/7/05, Lenz Grimmer

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Pekka Enberg wrote: > Jens Axboe wrote: > > > ATA7 defines a park maneuvre, I don't know how well supported it is > > > yet though. You can test with this little app, if it says 'head > > > parked' it works. If not, it has just idled the drive. > > On 7/7/05, Lenz Grimmer

Re: [Hdaps-devel] Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Lenz Grimmer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jens Axboe wrote: > Very cool, I wasn't sure if this was a 'new' feature waiting to be > implemented in drives or if ata7 just documented existing use in some > drives. > > How long did the park take? Spec states it can take up to 500ms.

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Pekka Enberg
Jens Axboe wrote: > > ATA7 defines a park maneuvre, I don't know how well supported it is > > yet though. You can test with this little app, if it says 'head > > parked' it works. If not, it has just idled the drive. On 7/7/05, Lenz Grimmer <[EMAIL PROTECTED]> wrote: > Great! Thanks for digging

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Lenz Grimmer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > Jens Axboe wrote: > > > ATA7 defines a park maneuvre, I don't know how well supported it is > > yet though. You can test with this little app, if it says 'head > > parked' it works. If not,

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Lenz Grimmer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jens Axboe wrote: > ATA7 defines a park maneuvre, I don't know how well supported it is > yet though. You can test with this little app, if it says 'head > parked' it works. If not, it has just idled the drive. Great! Thanks for digging this

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Mon, Jul 04 2005, Jens Axboe wrote: > On Mon, Jul 04 2005, Lenz Grimmer wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi, > > > > Jens Axboe wrote: > > > > > It isn't too pretty to rely on such unreliable timing anyways. I'm > > > not too crazy about spinning the disk

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Mon, Jul 04 2005, Jens Axboe wrote: On Mon, Jul 04 2005, Lenz Grimmer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jens Axboe wrote: It isn't too pretty to rely on such unreliable timing anyways. I'm not too crazy about spinning the disk down either, it's

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Lenz Grimmer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jens Axboe wrote: ATA7 defines a park maneuvre, I don't know how well supported it is yet though. You can test with this little app, if it says 'head parked' it works. If not, it has just idled the drive. Great! Thanks for digging this up

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Lenz Grimmer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jens Axboe wrote: ATA7 defines a park maneuvre, I don't know how well supported it is yet though. You can test with this little app, if it says 'head parked' it works. If not, it has just

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Pekka Enberg
Jens Axboe wrote: ATA7 defines a park maneuvre, I don't know how well supported it is yet though. You can test with this little app, if it says 'head parked' it works. If not, it has just idled the drive. On 7/7/05, Lenz Grimmer [EMAIL PROTECTED] wrote: Great! Thanks for digging this up -

Re: [Hdaps-devel] Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Lenz Grimmer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jens Axboe wrote: Very cool, I wasn't sure if this was a 'new' feature waiting to be implemented in drives or if ata7 just documented existing use in some drives. How long did the park take? Spec states it can take up to 500ms. Hard to

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Pekka Enberg wrote: Jens Axboe wrote: ATA7 defines a park maneuvre, I don't know how well supported it is yet though. You can test with this little app, if it says 'head parked' it works. If not, it has just idled the drive. On 7/7/05, Lenz Grimmer [EMAIL

Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
On Thu, Jul 07 2005, Pekka Enberg wrote: Jens Axboe wrote: ATA7 defines a park maneuvre, I don't know how well supported it is yet though. You can test with this little app, if it says 'head parked' it works. If not, it has just idled the drive. On 7/7/05, Lenz Grimmer [EMAIL

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Pekka Enberg
On 7/7/05, Martin Knoblauch [EMAIL PROTECTED] wrote: Interesting. Same Notebook, same drive. The program say not parked :-( This is on FC2 with a pretty much vanilla 2.6.9 kernel. [EMAIL PROTECTED] tmp]# uname -a Linux l15833 2.6.9-noagp #1 Wed May 4 16:09:14 CEST 2005 i686 i686 i386

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Pekka Enberg [EMAIL PROTECTED] wrote: Martin, don't trim the cc! sorry about that, but I did not have the CC at time of reply. I read LKLM from the archives and respond by cut and paste. Martin -- Martin Knoblauch email: k n o b

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Shawn Starr
Model: HTS548080M9AT00 (Hitachi) Laptop: T42. segfault:/home/spstarr# ./a /dev/hda head parked Seems to park, heard it click :) Shawn. On July 7, 2005 04:03, Jens Axboe wrote: On Mon, Jul 04 2005, Jens Axboe wrote: On Mon, Jul 04 2005, Lenz Grimmer wrote: -BEGIN PGP SIGNED

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Alejandro Bonilla
Jens, Thanks for this util. :-) It will make things easier for us and do part of the Job we are looking for. I will post this script in the hdaps.sf.net for people if it's ok with you. Thanks again, .Alejandro #include stdio.h #include unistd.h #include fcntl.h #include

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Dan Christensen
# ./park /dev/hda head not parked 4c # hdparm -i /dev/hda /dev/hda: Model=HTS548040M9AT00, FwRev=MG2OA53A, SerialNo=MRL252L2JU2JYB Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=DualPortCache, BuffSize=7877kB,

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Shawn Starr
Model: HTS548080M9AT00 (Hitachi) Laptop: T42. segfault:/home/spstarr# ./a /dev/hda head parked Seems to park, heard it click :) Shawn. On July 7, 2005 04:03, Jens Axboe wrote: On Mon, Jul 04 2005, Jens Axboe wrote: On Mon, Jul 04 2005, Lenz Grimmer wrote: -BEGIN PGP SIGNED

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
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

Re: [Hdaps-devel] Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Shawn Starr
Model: HTS548080M9AT00 (Hitachi) Laptop: T42. segfault:/home/spstarr# ./a /dev/hda head parked Seems to park, heard it click :) Shawn. On July 7, 2005 04:48, Jens Axboe wrote: On Thu, Jul 07 2005, Lenz Grimmer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jens Axboe

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Alejandro Bonilla wrote: Jens, Thanks for this util. :-) It will make things easier for us and do part of the Job we are looking for. I will post this script in the hdaps.sf.net for people if it's ok with you. Knock yourself out, I have no interest in this

Re: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Pekka Enberg [EMAIL PROTECTED] wrote: On 7/7/05, Martin Knoblauch [EMAIL PROTECTED] wrote: Interesting. Same Notebook, same drive. The program say not parked :-( This is on FC2 with a pretty much vanilla 2.6.9 kernel. [EMAIL PROTECTED] tmp]# hdparm -i /dev/hda /dev/hda:

RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Alejandro Bonilla
--- Pekka Enberg [EMAIL PROTECTED] wrote: On 7/7/05, Martin Knoblauch [EMAIL PROTECTED] wrote: Interesting. Same Notebook, same drive. The program say not parked :-( This is on FC2 with a pretty much vanilla 2.6.9 kernel. [EMAIL PROTECTED] tmp]# hdparm -i /dev/hda

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Clemens Koller
Hello, Just for the records - [EMAIL PROTECTED]:~$ ./headpark /dev/hda head not parked 4c - HDD is a desktop Maxtor Diamond MaxPlus 9 120GB on a Promise Ultra133 TX2 IDE Controller. Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to

RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Alejandro Bonilla [EMAIL PROTECTED] wrote: --- Pekka Enberg [EMAIL PROTECTED] wrote: On 7/7/05, Martin Knoblauch [EMAIL PROTECTED] wrote: Interesting. Same Notebook, same drive. The program say not parked :-( This is on FC2 with a pretty much vanilla 2.6.9 kernel.

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Alejandro Bonilla
Hello, Just for the records - [EMAIL PROTECTED]:~$ ./headpark /dev/hda head not parked 4c - HDD is a desktop Maxtor Diamond MaxPlus 9 120GB on a Promise Ultra133 TX2 IDE Controller. Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Clemens Koller wrote: Hello, Just for the records - [EMAIL PROTECTED]:~$ ./headpark /dev/hda head not parked 4c - HDD is a desktop Maxtor Diamond MaxPlus 9 120GB on a Promise Ultra133 TX2 IDE Controller. Well, sure, it's not a notebook HDD, but maybe

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Alejandro Bonilla wrote: Hello, Just for the records - [EMAIL PROTECTED]:~$ ./headpark /dev/hda head not parked 4c - HDD is a desktop Maxtor Diamond MaxPlus 9 120GB on a Promise Ultra133 TX2 IDE Controller. Well, sure, it's not a notebook

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Dave Hansen
On Thu, 2005-07-07 at 10:14 -0700, Martin Knoblauch wrote: Basically I saw that the only difference between me and Pekka was the FW (discounting the different CPU speed and Kernel version). I googled around and found the IBM FW page at:

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Matthew Garrett
Jens Axboe [EMAIL PROTECTED] wrote: What is needed is to flesh out what the kernel interface should looke like. I suggested a sysfs file for suspending and resuming access to the device, if people have other ideas they should voice them. That sounds quite reasonable. Does it need to do

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Lee Revell
On Thu, 2005-07-07 at 10:38 -0700, Dave Hansen wrote: On Thu, 2005-07-07 at 19:27 +0200, Jens Axboe wrote: On Thu, Jul 07 2005, Clemens Koller wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? This _is_

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Dave Hansen
On Thu, 2005-07-07 at 14:01 -0400, Lee Revell wrote: On Thu, 2005-07-07 at 10:38 -0700, Dave Hansen wrote: On Thu, 2005-07-07 at 19:27 +0200, Jens Axboe wrote: This _is_ the generic way, if your drive doesn't support it you are out of luck. I do wonder what is done in Windows,

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Dave Hansen [EMAIL PROTECTED] wrote: On Thu, 2005-07-07 at 10:14 -0700, Martin Knoblauch wrote: Basically I saw that the only difference between me and Pekka was the FW (discounting the different CPU speed and Kernel version). I googled around and found the IBM FW page at:

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Dave Hansen wrote: On Thu, 2005-07-07 at 19:27 +0200, Jens Axboe wrote: On Thu, Jul 07 2005, Clemens Koller wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? This _is_ the generic way,

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Shawn Starr
You can take the .exe file and turn this into a bootable CD (using a RW CD) I forgot how I did it, but if I remember correctly, I took a floppy dos image and made that into the boot 'stub' and threw the exe into the CD (a la El-Torito). I flashed the disk firmware once since I got the laptop.

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Dave Hansen [EMAIL PROTECTED] wrote: I have the feeling that this will work for many T4[012]p? users: http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=TPAD-HDFIRM Actually, I think your feeling is wrong. Looking at the readme.txt it seems version 7.1 of the upgrade

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Martin Knoblauch
--- Erik Mouw [EMAIL PROTECTED] wrote: On Thu, Jul 07, 2005 at 11:45:38AM -0700, Martin Knoblauch wrote: If IBM would provide a CD image (bootable ISO) containing FW for all supported drives - that would be great. No need for the other OS any more. I can imagine IBM doesn't do that

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Folkert van Heusden
Doesn't park here: ehm:/home/folkert# ./park /dev/hda head not parked 4c ehm:/home/folkert# hdparm -i /dev/hda /dev/hda: Model=IC25N060ATMR04-0, FwRev=MO3OAD5A, SerialNo=MRG357K3KKN0XH Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4

Re: [Hdaps-devel] RE: Head parking (was: IBM HDAPS things are looking up)

2005-07-07 Thread Erik Mouw
On Thu, Jul 07, 2005 at 11:45:38AM -0700, Martin Knoblauch wrote: If IBM would provide a CD image (bootable ISO) containing FW for all supported drives - that would be great. No need for the other OS any more. I can imagine IBM doesn't do that because in that way you can't update the firmware

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jens Axboe
On Thu, Jul 07 2005, Matthew Garrett wrote: Jens Axboe [EMAIL PROTECTED] wrote: What is needed is to flesh out what the kernel interface should looke like. I suggested a sysfs file for suspending and resuming access to the device, if people have other ideas they should voice them. That

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Jon Escombe
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

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Alejandro Bonilla
Jon Escombe wrote: Jens Axboe wrote: 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

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-07 Thread Bodo Eggert
Clemens Koller [EMAIL PROTECTED] wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? I remember my old MFM HDD, which had a Landing Zone stored in the BIOS to which the park command would seek. Maybe you could do

Re: IBM HDAPS things are looking up

2005-07-07 Thread Alejandro Bonilla
Bodo Eggert wrote: Clemens Koller [EMAIL PROTECTED] wrote: Well, sure, it's not a notebook HDD, but maybe it's possible to give headpark a more generic way to get the heads parked? I remember my old MFM HDD, which had a Landing Zone stored in the BIOS to which the park command would

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Sander
Alejandro Bonilla wrote (ao): > If you check the IBM software in Windows, it shows 2 things. > First, when it pauses the HD and when it stops the HD. It all > depends on how hard you hit the PC. In one we suspend the drive > and in the other we park the drive. This is not

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Alejandro Bonilla
> Alejandro Bonilla wrote (ao): > > If you check the IBM software in Windows, it shows 2 things. > > First, when it pauses the HD and when it stops the HD. It all > > depends on how hard you hit the PC. In one we suspend the drive > > and in the other we park the drive. > > This is

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Lee Revell
On Tue, 2005-07-05 at 06:29 -0600, Alejandro Bonilla wrote: > .Alejandro > (removing some people so they don't get triplicated emails) Please don't trim cc: lists! We *want* the duplicate emails, so that one goes in the Inbox and one in the LKML folder. See the list archives for more reasons

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Alejandro Bonilla
> > As Lenz already suggested, you both pretty much seem to be describing > laptop mode. See the documentation. > > -- > Jens Axboe > Jens, Yes, I know about laptop_mode, I always use it, but HD APS does not automatically starts laptop_mode currently. That's why I was spitting out that

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Jens Axboe
On Mon, Jul 04 2005, Alejandro Bonilla wrote: > Pavel Machek wrote: > > > > >Actually, "spin disk down and keep it down" would be nice for other > >reasons. Taking computer for a jog playing mp3s from ramdisk is > >something I'd like to do... > > Pavel > > > > > This

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Jens Axboe
On Mon, Jul 04 2005, Alejandro Bonilla wrote: Pavel Machek wrote: Actually, spin disk down and keep it down would be nice for other reasons. Taking computer for a jog playing mp3s from ramdisk is something I'd like to do... Pavel This is exactly what I

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Alejandro Bonilla
As Lenz already suggested, you both pretty much seem to be describing laptop mode. See the documentation. -- Jens Axboe Jens, Yes, I know about laptop_mode, I always use it, but HD APS does not automatically starts laptop_mode currently. That's why I was spitting out that it could

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Lee Revell
On Tue, 2005-07-05 at 06:29 -0600, Alejandro Bonilla wrote: .Alejandro (removing some people so they don't get triplicated emails) Please don't trim cc: lists! We *want* the duplicate emails, so that one goes in the Inbox and one in the LKML folder. See the list archives for more reasons why

RE: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Alejandro Bonilla
Alejandro Bonilla wrote (ao): If you check the IBM software in Windows, it shows 2 things. First, when it pauses the HD and when it stops the HD. It all depends on how hard you hit the PC. In one we suspend the drive and in the other we park the drive. This is not true.

Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

2005-07-05 Thread Sander
Alejandro Bonilla wrote (ao): If you check the IBM software in Windows, it shows 2 things. First, when it pauses the HD and when it stops the HD. It all depends on how hard you hit the PC. In one we suspend the drive and in the other we park the drive. This is not

Re: IBM HDAPS things are looking up

2005-07-04 Thread Lee Revell
On Mon, 2005-07-04 at 11:36 -0700, dean gaudet wrote: > as for other details it's trivial to lock the daemon in memory and run > it at nice -4 to get a head start on parking even when at 100% cpu and > under memory load. > Negative nice values are not the correct solution when dealing with RT

Re: IBM HDAPS things are looking up

2005-07-04 Thread Pavel Machek
Hi! > > Actually, "spin disk down and keep it down" would be nice for other > > reasons. Taking computer for a jog playing mp3s from ramdisk is > > something I'd like to do... > > Isn't that called "laptop-mode" and available already? I remember that > Jens wrote something like that :)

  1   2   >