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 of the CD/DVD drive. Bootable FreeDOS floppy images would
be a nice idea, though.


Erik (not a ThinkPad owner)

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 because in that way you can't
> update
> the firmware of the CD/DVD drive. Bootable FreeDOS floppy images
> would
> be a nice idea, though.
> 
> 

 now, this is getting off-topic. The CD image I proposed would be only
for the hard disks.

 Bootable -Dos floppy images that one could just "dd" of the floppy
would be great, because they eliminate the need for "the other OS", but
you still need a floppy drive. I am not sure how many Notebook owners
actually have one. The hardest part in my FW upgrade was actually
finding a drive in our company.

Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 floppy has the "BA" firmware that I
had on my disk in the beginning (not parking the heads).

Cheers
Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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.

Shawn.


On July 7, 2005 14:51, Erik Mouw 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 because in that way you can't update
> the firmware of the CD/DVD drive. Bootable FreeDOS floppy images would
> be a nice idea, though.
>
>
> Erik (not a ThinkPad owner)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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:
> > 
> >
>
http://www-306.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm=MIGR-41008
> > 
> >  Download is simple, just don't use the "IBM Download Manager".
> Main
> > problem is that one needs a bootable floopy drive and "the other
> OS" to
> > create a bootable floppy. It would be great if IBM could provide
> floppy
> > images for use with "dd" for the poor Linux users.
> 
> Did you really need to make 18 diskettes?
>

 yikes - no !! :-) Somewhere on that page there is a table that tells
you which of the 18 floppies is for your disk. In my case it was #13.
 
> 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
> 

 Yeah, I think that is the "DA" version. You still need "the other OS",
although you don't need the floppy.

 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.

Cheers
Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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:
> 
> http://www-306.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm=MIGR-41008
> 
>  Download is simple, just don't use the "IBM Download Manager". Main
> problem is that one needs a bootable floopy drive and "the other OS" to
> create a bootable floppy. It would be great if IBM could provide floppy
> images for use with "dd" for the poor Linux users.

Did you really need to make 18 diskettes?

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

-- Dave

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


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.
> > > >
> > > > [EMAIL PROTECTED] tmp]# hdparm -i /dev/hda
> > > >
> > > > /dev/hda:
> > > >
> > > >  Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
> > >
> > > haji ~ # hdparm -i /dev/hda
> > >
> > > /dev/hda:
> > >
> > >  Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB
> >
> >  OK, different FW levels. After upgrading my disk to MH40A6GA my
> head
> > parks :-) Minimum required level for this disk seems to be A6DA.
> Hope
> > this info is useful.
> 
> Martin,
> 
>   Simply upgrading your firmware fixed your problem for being to park
> the
> head?
> 

 Yup. Do not forget that FW is very powerful. Likely the parking
feature was added after A6BA.

 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:

http://www-306.ibm.com/pc/support/site.wss/document.do?sitestyle=ibm=MIGR-41008

 Download is simple, just don't use the "IBM Download Manager". Main
problem is that one needs a bootable floopy drive and "the other OS" to
create a bootable floppy. It would be great if IBM could provide floppy
images for use with "dd" for the poor Linux users.

 Then I pondered over the risk involved with the update. Curiosity won
:-) And now the head parks. BUT - I definitely do not encourage anybody
to perform the procedure. Do at your own risk after thinking about the
possible consequences ...

 Anyway someone reported a non working  HTS548040M9AT00 with FW
revision MG2OA53A. The newest revision, from the same floppy image, is
A5HA.

Cheers
Martin 

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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
> > >
> > > /dev/hda:
> > >
> > >  Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
> >
> > haji ~ # hdparm -i /dev/hda
> >
> > /dev/hda:
> >
> >  Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB
>
>  OK, different FW levels. After upgrading my disk to MH40A6GA my head
> parks :-) Minimum required level for this disk seems to be A6DA. Hope
> this info is useful.

Martin,

Simply upgrading your firmware fixed your problem for being to park the
head?

.Alejandro

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


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:
> > 
> >  Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
> 
> haji ~ # hdparm -i /dev/hda
> 
> /dev/hda:
> 
>  Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB

 OK, different FW levels. After upgrading my disk to MH40A6GA my head
parks :-) Minimum required level for this disk seems to be A6DA. Hope
this info is useful. 

[EMAIL PROTECTED] tmp]# hdparm -i /dev/hda

/dev/hda:

 Model=HTS726060M9AT00, FwRev=MH4OA6GA, SerialNo=MRH403M4GS88XB
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:

 * signifies the current active mode

[EMAIL PROTECTED] tmp]# ./park /dev/hda
head parked
[EMAIL PROTECTED] tmp]#


Cheers
Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 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 - it works on my T42, using a Fujitsu
> > MHT2080AH drive:
> >
> >   [EMAIL PROTECTED]:~/work/ibm_hdaps> sudo ./headpark /dev/hda
> >   head parked
> >
> > Judging from the sound the drive makes, this is the same operation that
> > the windows tool performs.
>
> 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.
>
> > However, the head does not remain parked for a very long time,
> > especially if there is a lot of disk activity going on (I tested it by
> > running a "find /" in parallel). The head parks, but leaves the park
> > position immediately afterwards again. I guess now we need to find a way
> > to "nail" the head into the parking position for some time - otherwise
> > it may already be on its way back to the platter before the laptop hits
> > the ground...
>
> The head just remains parked until the next command is issued. This
> needs to be combined with some ide help, to freeze the queue. Perhaps
> some sysfs file so you could do
>
> # echo park > /sys/block/hda/device/head_state
>
> Or whatever, at least just exposing this possibility so that the drive
> internally can block future io until a 'resume' command is issued.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78140160
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: 

 * signifies the current active mode

Dan

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


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 i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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
> GNU/Linux
> [EMAIL PROTECTED] tmp]# hdparm -i /dev/hda
> 
> /dev/hda:
> 
>  Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
>  BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
>  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
>  PIO modes:  pio0 pio1 pio2 pio3 pio4
>  DMA modes:  mdma0 mdma1 mdma2
>  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
>  AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
>  Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:
> 
>  * signifies the current active mode
> 
> [EMAIL PROTECTED] tmp]# ./park /dev/hda
> head not parked 4c
> [EMAIL PROTECTED] tmp]#

Martin, don't trim the cc!

haji ~ # uname -a
Linux haji 2.6.12 #12 Mon Jun 20 09:39:37 EEST 2005 i686 Intel(R)
Pentium(R) M processor 2.00GHz GenuineIntel GNU/Linux

haji ~ # hdparm -i /dev/hda

/dev/hda:

 Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:

 * signifies the current active mode
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 PROTECTED]> wrote:
> > Great! Thanks for digging this up - it works on my T42, using a Fujitsu
> > MHT2080AH drive:
> 
> Works on my T42p which uses a Hitachi HTS726060M9AT00 drive. I don't
> hear any sound, though.

Did it say 'head parked'? If the drive is idle, you wont hear anything.
Laptop drives auto-park really quickly themselves. A time ./park
/dev/hda should tell you whether it needed to park or not, if it
executes faster than a few hundred ms it was already parked.

-- 
Jens Axboe

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


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 measure (I don't have the C skills to add timing to your sample
snippet...), but almost instantly after issuing the command. "time"
states the command takes around 0.733 seconds in total (until the
command returns), the head park happens almost instantly after the
program started, probably after ~300ms).

> The head just remains parked until the next command is issued.

Right, which usually happens right away on a busy system, especially
when it's using swap (think KDE desktops :) )

> This needs to be combined with some ide help, to freeze the queue.
> Perhaps some sysfs file so you could do
> 
> # echo park > /sys/block/hda/device/head_state
> 
> Or whatever, at least just exposing this possibility so that the
> drive internally can block future io until a 'resume' command is
> issued.

Or for a given timeout, whatever happens first. Sounds good to me!
So would this feature require modifications to the IDE layer?

Bye,
LenZ
- --
- --
 Lenz Grimmer <[EMAIL PROTECTED]> -o)
 [ICQ: 160767607 | Jabber: [EMAIL PROTECTED]/\\
 http://www.lenzg.org/   V_V
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzQE+SVDhKrJykfIRAtN9AJ9207U5cJIw1i5a0t+PsrkbbkW6/ACfZk0M
D0l/YVWoiq+Jo0zw+mqFV9g=
=Eda0
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 - it works on my T42, using a Fujitsu
> MHT2080AH drive:

Works on my T42p which uses a Hitachi HTS726060M9AT00 drive. I don't
hear any sound, though.

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


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 idled the drive.
> 
> Great! Thanks for digging this up - it works on my T42, using a Fujitsu
> MHT2080AH drive:
> 
>   [EMAIL PROTECTED]:~/work/ibm_hdaps> sudo ./headpark /dev/hda
>   head parked
>
> Judging from the sound the drive makes, this is the same operation that
> the windows tool performs.

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.

> However, the head does not remain parked for a very long time,
> especially if there is a lot of disk activity going on (I tested it by
> running a "find /" in parallel). The head parks, but leaves the park
> position immediately afterwards again. I guess now we need to find a way
> to "nail" the head into the parking position for some time - otherwise
> it may already be on its way back to the platter before the laptop hits
> the ground...

The head just remains parked until the next command is issued. This
needs to be combined with some ide help, to freeze the queue. Perhaps
some sysfs file so you could do

# echo park > /sys/block/hda/device/head_state

Or whatever, at least just exposing this possibility so that the drive
internally can block future io until a 'resume' command is issued.

-- 
Jens Axboe

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


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 - it works on my T42, using a Fujitsu
MHT2080AH drive:

  [EMAIL PROTECTED]:~/work/ibm_hdaps> sudo ./headpark /dev/hda
  head parked

Judging from the sound the drive makes, this is the same operation that
the windows tool performs.

However, the head does not remain parked for a very long time,
especially if there is a lot of disk activity going on (I tested it by
running a "find /" in parallel). The head parks, but leaves the park
position immediately afterwards again. I guess now we need to find a way
to "nail" the head into the parking position for some time - otherwise
it may already be on its way back to the platter before the laptop hits
the ground...

Thanks again - this is another helpful bit in getting all the pieces
together.

Bye,
LenZ
- --
- --
 Lenz Grimmer <[EMAIL PROTECTED]> -o)
 [ICQ: 160767607 | Jabber: [EMAIL PROTECTED]/\\
 http://www.lenzg.org/   V_V
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzOqlSVDhKrJykfIRAlm0AJ9WvadtsxAdLdTCe40N/KDbvSLf5wCdEWWA
OsiXzwFjziNuKvK5HKSMjb4=
=qXXH
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 - it works on my T42, using a Fujitsu
MHT2080AH drive:

  [EMAIL PROTECTED]:~/work/ibm_hdaps sudo ./headpark /dev/hda
  head parked

Judging from the sound the drive makes, this is the same operation that
the windows tool performs.

However, the head does not remain parked for a very long time,
especially if there is a lot of disk activity going on (I tested it by
running a find / in parallel). The head parks, but leaves the park
position immediately afterwards again. I guess now we need to find a way
to nail the head into the parking position for some time - otherwise
it may already be on its way back to the platter before the laptop hits
the ground...

Thanks again - this is another helpful bit in getting all the pieces
together.

Bye,
LenZ
- --
- --
 Lenz Grimmer [EMAIL PROTECTED] -o)
 [ICQ: 160767607 | Jabber: [EMAIL PROTECTED]/\\
 http://www.lenzg.org/   V_V
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzOqlSVDhKrJykfIRAlm0AJ9WvadtsxAdLdTCe40N/KDbvSLf5wCdEWWA
OsiXzwFjziNuKvK5HKSMjb4=
=qXXH
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 idled the drive.
 
 Great! Thanks for digging this up - it works on my T42, using a Fujitsu
 MHT2080AH drive:
 
   [EMAIL PROTECTED]:~/work/ibm_hdaps sudo ./headpark /dev/hda
   head parked

 Judging from the sound the drive makes, this is the same operation that
 the windows tool performs.

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.

 However, the head does not remain parked for a very long time,
 especially if there is a lot of disk activity going on (I tested it by
 running a find / in parallel). The head parks, but leaves the park
 position immediately afterwards again. I guess now we need to find a way
 to nail the head into the parking position for some time - otherwise
 it may already be on its way back to the platter before the laptop hits
 the ground...

The head just remains parked until the next command is issued. This
needs to be combined with some ide help, to freeze the queue. Perhaps
some sysfs file so you could do

# echo park  /sys/block/hda/device/head_state

Or whatever, at least just exposing this possibility so that the drive
internally can block future io until a 'resume' command is issued.

-- 
Jens Axboe

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


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 - it works on my T42, using a Fujitsu
 MHT2080AH drive:

Works on my T42p which uses a Hitachi HTS726060M9AT00 drive. I don't
hear any sound, though.

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


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 measure (I don't have the C skills to add timing to your sample
snippet...), but almost instantly after issuing the command. time
states the command takes around 0.733 seconds in total (until the
command returns), the head park happens almost instantly after the
program started, probably after ~300ms).

 The head just remains parked until the next command is issued.

Right, which usually happens right away on a busy system, especially
when it's using swap (think KDE desktops :) )

 This needs to be combined with some ide help, to freeze the queue.
 Perhaps some sysfs file so you could do
 
 # echo park  /sys/block/hda/device/head_state
 
 Or whatever, at least just exposing this possibility so that the
 drive internally can block future io until a 'resume' command is
 issued.

Or for a given timeout, whatever happens first. Sounds good to me!
So would this feature require modifications to the IDE layer?

Bye,
LenZ
- --
- --
 Lenz Grimmer [EMAIL PROTECTED] -o)
 [ICQ: 160767607 | Jabber: [EMAIL PROTECTED]/\\
 http://www.lenzg.org/   V_V
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzQE+SVDhKrJykfIRAtN9AJ9207U5cJIw1i5a0t+PsrkbbkW6/ACfZk0M
D0l/YVWoiq+Jo0zw+mqFV9g=
=Eda0
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 PROTECTED] wrote:
  Great! Thanks for digging this up - it works on my T42, using a Fujitsu
  MHT2080AH drive:
 
 Works on my T42p which uses a Hitachi HTS726060M9AT00 drive. I don't
 hear any sound, though.

Did it say 'head parked'? If the drive is idle, you wont hear anything.
Laptop drives auto-park really quickly themselves. A time ./park
/dev/hda should tell you whether it needed to park or not, if it
executes faster than a few hundred ms it was already parked.

-- 
Jens Axboe

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


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
 GNU/Linux
 [EMAIL PROTECTED] tmp]# hdparm -i /dev/hda
 
 /dev/hda:
 
  Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
  Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
  BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4
  DMA modes:  mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
  AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
  Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:
 
  * signifies the current active mode
 
 [EMAIL PROTECTED] tmp]# ./park /dev/hda
 head not parked 4c
 [EMAIL PROTECTED] tmp]#

Martin, don't trim the cc!

haji ~ # uname -a
Linux haji 2.6.12 #12 Mon Jun 20 09:39:37 EEST 2005 i686 Intel(R)
Pentium(R) M processor 2.00GHz GenuineIntel GNU/Linux

haji ~ # hdparm -i /dev/hda

/dev/hda:

 Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:

 * signifies the current active mode
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78140160
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: 

 * signifies the current active mode

Dan

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


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 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 - it works on my T42, using a Fujitsu
  MHT2080AH drive:
 
[EMAIL PROTECTED]:~/work/ibm_hdaps sudo ./headpark /dev/hda
head parked
 
  Judging from the sound the drive makes, this is the same operation that
  the windows tool performs.

 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.

  However, the head does not remain parked for a very long time,
  especially if there is a lot of disk activity going on (I tested it by
  running a find / in parallel). The head parks, but leaves the park
  position immediately afterwards again. I guess now we need to find a way
  to nail the head into the parking position for some time - otherwise
  it may already be on its way back to the platter before the laptop hits
  the ground...

 The head just remains parked until the next command is issued. This
 needs to be combined with some ide help, to freeze the queue. Perhaps
 some sysfs file so you could do

 # echo park  /sys/block/hda/device/head_state

 Or whatever, at least just exposing this possibility so that the drive
 internally can block future io until a 'resume' command is issued.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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:
  
   Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
 
 haji ~ # hdparm -i /dev/hda
 
 /dev/hda:
 
  Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB

 OK, different FW levels. After upgrading my disk to MH40A6GA my head
parks :-) Minimum required level for this disk seems to be A6DA. Hope
this info is useful. 

[EMAIL PROTECTED] tmp]# hdparm -i /dev/hda

/dev/hda:

 Model=HTS726060M9AT00, FwRev=MH4OA6GA, SerialNo=MRH403M4GS88XB
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:

 * signifies the current active mode

[EMAIL PROTECTED] tmp]# ./park /dev/hda
head parked
[EMAIL PROTECTED] tmp]#


Cheers
Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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
  
   /dev/hda:
  
Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
 
  haji ~ # hdparm -i /dev/hda
 
  /dev/hda:
 
   Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB

  OK, different FW levels. After upgrading my disk to MH40A6GA my head
 parks :-) Minimum required level for this disk seems to be A6DA. Hope
 this info is useful.

Martin,

Simply upgrading your firmware fixed your problem for being to park the
head?

.Alejandro

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


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.
   
[EMAIL PROTECTED] tmp]# hdparm -i /dev/hda
   
/dev/hda:
   
 Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB
  
   haji ~ # hdparm -i /dev/hda
  
   /dev/hda:
  
Model=HTS726060M9AT00, FwRev=MH4OA6DA, SerialNo=MRH453M4H2A6PB
 
   OK, different FW levels. After upgrading my disk to MH40A6GA my
 head
  parks :-) Minimum required level for this disk seems to be A6DA.
 Hope
  this info is useful.
 
 Martin,
 
   Simply upgrading your firmware fixed your problem for being to park
 the
 head?
 

 Yup. Do not forget that FW is very powerful. Likely the parking
feature was added after A6BA.

 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:

http://www-306.ibm.com/pc/support/site.wss/document.do?sitestyle=ibmlndocid=MIGR-41008

 Download is simple, just don't use the IBM Download Manager. Main
problem is that one needs a bootable floopy drive and the other OS to
create a bootable floppy. It would be great if IBM could provide floppy
images for use with dd for the poor Linux users.

 Then I pondered over the risk involved with the update. Curiosity won
:-) And now the head parks. BUT - I definitely do not encourage anybody
to perform the procedure. Do at your own risk after thinking about the
possible consequences ...

 Anyway someone reported a non working  HTS548040M9AT00 with FW
revision MG2OA53A. The newest revision, from the same floppy image, is
A5HA.

Cheers
Martin 

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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:
 
 http://www-306.ibm.com/pc/support/site.wss/document.do?sitestyle=ibmlndocid=MIGR-41008
 
  Download is simple, just don't use the IBM Download Manager. Main
 problem is that one needs a bootable floopy drive and the other OS to
 create a bootable floppy. It would be great if IBM could provide floppy
 images for use with dd for the poor Linux users.

Did you really need to make 18 diskettes?

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

-- Dave

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


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:
  
 

http://www-306.ibm.com/pc/support/site.wss/document.do?sitestyle=ibmlndocid=MIGR-41008
  
   Download is simple, just don't use the IBM Download Manager.
 Main
  problem is that one needs a bootable floopy drive and the other
 OS to
  create a bootable floppy. It would be great if IBM could provide
 floppy
  images for use with dd for the poor Linux users.
 
 Did you really need to make 18 diskettes?


 yikes - no !! :-) Somewhere on that page there is a table that tells
you which of the 18 floppies is for your disk. In my case it was #13.
 
 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
 

 Yeah, I think that is the DA version. You still need the other OS,
although you don't need the floppy.

 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.

Cheers
Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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.

Shawn.


On July 7, 2005 14:51, Erik Mouw 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 because in that way you can't update
 the firmware of the CD/DVD drive. Bootable FreeDOS floppy images would
 be a nice idea, though.


 Erik (not a ThinkPad owner)
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 floppy has the BA firmware that I
had on my disk in the beginning (not parking the heads).

Cheers
Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 because in that way you can't
 update
 the firmware of the CD/DVD drive. Bootable FreeDOS floppy images
 would
 be a nice idea, though.
 
 

 now, this is getting off-topic. The CD image I proposed would be only
for the hard disks.

 Bootable -Dos floppy images that one could just dd of the floppy
would be great, because they eliminate the need for the other OS, but
you still need a floppy drive. I am not sure how many Notebook owners
actually have one. The hardest part in my FW upgrade was actually
finding a drive in our company.

Martin

--
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 of the CD/DVD drive. Bootable FreeDOS floppy images would
be a nice idea, though.


Erik (not a ThinkPad owner)

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/