Skip to contentSkip to conversation

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

DISCUSSION Martin Knoblauch 14 participants 23 messages Jul 7, 2005 – Jul 13, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Pekka Enberg
Quoted 1 line · Jens Axboe
Quoted 1 line

ATA7 defines a park maneuvre, I don't know how well supported it

is

Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

yet though. You can test with this little app, if it says 'head parked' it works. If not, it has just idled the drive.

Quoted 1 line · Lenz Grimmer

Great! Thanks for digging this up - it works on my T42, using a

Fujitsu

Quoted 4 lines
Quoted 1 line

MHT2080AH drive:

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

Interesting. Same Notebook, same drive. The program say "not parked"
:-( This is on FC2 with a pretty much vanilla 2.6.9 kernel.

[root@l15833 tmp]# uname -a
Linux l15833 2.6.9-noagp #1 Wed May 4 16:09:14 CEST 2005 i686 i686 i386 GNU/Linux
[root@l15833 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

[root@l15833 tmp]# ./park /dev/hda
head not parked 4c
[root@l15833 tmp]#

Cheers
Martin

------------------------------------------------------
Martin Knoblauch

email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
#1 lore raw
Quoted 22 lines · Martin Knoblauch

Interesting. Same Notebook, same drive. The program say "not parked"
:-( This is on FC2 with a pretty much vanilla 2.6.9 kernel.

[root@l15833 tmp]# uname -a
Linux l15833 2.6.9-noagp #1 Wed May 4 16:09:14 CEST 2005 i686 i686 i386 GNU/Linux
[root@l15833 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:

Quoted 5 lines

* signifies the current active mode

[root@l15833 tmp]# ./park /dev/hda
head not parked 4c
[root@l15833 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

#2 lore raw
Quoted 3 lines · --- Pekka Enberg

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
#3 lore raw
In reply to Pekka Enberg
# ./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

#4 lore raw
In reply to Pekka Enberg
Quoted 9 lines · --- Pekka Enberg
Quoted 1 line · Martin Knoblauch

Interesting. Same Notebook, same drive. The program say "not

parked"

Quoted 6 lines

:-( This is on FC2 with a pretty much vanilla 2.6.9 kernel.

[root@l15833 tmp]# hdparm -i /dev/hda

/dev/hda:

Quoted 7 lines
Quoted 1 line

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.

[root@l15833 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

[root@l15833 tmp]# ./park /dev/hda
head parked
[root@l15833 tmp]#

Cheers
Martin

------------------------------------------------------
Martin Knoblauch

email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de
#5 lore raw
Quoted 16 lines
Quoted 13 lines · --- Pekka Enberg
Quoted 1 line · Martin Knoblauch

Interesting. Same Notebook, same drive. The program say "not

parked"

Quoted 7 lines

:-( This is on FC2 with a pretty much vanilla 2.6.9 kernel.

[root@l15833 tmp]# hdparm -i /dev/hda

/dev/hda:

Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB

haji ~ # hdparm -i /dev/hda

Quoted 7 lines
Quoted 3 lines

/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

#6 lore raw
Quoted 23 lines · --- Alejandro Bonilla
Quoted 14 lines
Quoted 11 lines · --- Pekka Enberg
Quoted 1 line · Martin Knoblauch

Interesting. Same Notebook, same drive. The program say "not

parked"

Quoted 7 lines

:-( This is on FC2 with a pretty much vanilla 2.6.9 kernel.

[root@l15833 tmp]# hdparm -i /dev/hda

/dev/hda:

Model=HTS726060M9AT00, FwRev=MH4OA6BA, SerialNo=MRH403M4GS88XB

Quoted 7 lines
Quoted 5 lines

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

Quoted 1 line

parks :-) Minimum required level for this disk seems to be A6DA.

Quoted 9 lines

Hope

Quoted 1 line

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&lndocid=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
#7 lore raw
Quoted 10 lines · Martin Knoblauch

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&lndocid=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

#8 lore raw
Quoted 9 lines · --- Dave Hansen
Quoted 1 line · Martin Knoblauch

Basically I saw that the only difference between me and Pekka was

the

Quoted 1 line

FW (discounting the different CPU speed and Kernel version). I

googled

Quoted 3 lines

around and found the IBM FW page at:

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

Quoted 11 lines
Quoted 2 lines

Download is simple, just don't use the "IBM Download Manager".

Main

Quoted 1 line

problem is that one needs a bootable floopy drive and "the other

OS" to

Quoted 1 line

create a bootable floppy. It would be great if IBM could provide

floppy

Quoted 1 line

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.

Quoted 3 lines

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

Quoted 1 line

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
#9 lore raw
Quoted 3 lines · Martin Knoblauch

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)

Signature · 2 lines
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
#10 lore raw

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.

Quoted 11 lines · Erik Mouw
Quoted 3 lines · Martin Knoblauch

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)

#11 lore raw
In reply to Erik Mouw
Quoted 4 lines · --- Erik Mouw
Quoted 1 line · Martin Knoblauch

If IBM would provide a CD image (bootable ISO) containing FW for

all

Quoted 1 line

supported drives - that would be great. No need for the "other OS"

Quoted 10 lines

any

Quoted 1 line

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 XXXX-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
#12 lore raw
In reply to Dave Hansen
Quoted 4 lines · --- Dave Hansen

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

Quoted 1 line

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
#13 lore raw

Updating hard disk firmware (Was: Re: Head parking)

In reply to Martin Knoblauch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Martin Knoblauch

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.

You may be able to use this process to avoid using either a floppy drive or "the other OS":

1) Download the appropriate firmware exe from
http://www-306.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-41008
(in my case, this looks like fwhd3313.exe)

2) Find a freedos disk image (I used one that came with biosdisk -
http://linux.dell.com/biosdisk/)

3) Create a disk image for the firmware executable:
cp /usr/share/biosdisk/dosdisk.img /tmp/fwdisk1.img mount -oloop /tmp/fwtemp.img /mnt/tmp
cp fwhd3313.exe /mnt/tmp
umount /mnt/tmp

4) Create a blank disk image for the extracted contents:
dd if=/dev/zero of=/boot/fwdisk.img bs=1474560 count=1

5) Run qemu to extract files and write the disk image:
qemu -fda /tmp/fwtemp.img -fdb /boot/fwdisk.img A:\>fwhd3313
...
exit qemu

6) Set up grub to boot the new disk image (requires memdisk from syslinux - http://syslinux.zytor.com/):
$EDITOR /boot/grub/grub.conf
title IBM Hard Drive Firmware update
kernel /memdisk
initrd=/fwdisk.img floppy

7) Reboot and select the "IBM Hard Drive Firmware update" option

It allowed me to run the firmware update program, however it didn't believe my drive needed updating, so I haven't even successfully tried the entire process. Please let me know if it works for you.

DISCLAIMER: I also provide no guarantees. Hopefully your hard disk
won't fly off the spindle or anything else bad. If it does, blame someone else.

Frank
- --
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department
Brigham Young University
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzX4MaI0dwg4A47wRAnXUAKCEsQQSj4aHkwMr8vZLei23+DhUuwCfb1Mb NTmyLHJDa602Iex/QAr/N2I=
=fexM
-----END PGP SIGNATURE-----

#14 lore raw

Updating hard disk firmware & parking hard disk

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Frank Sorenson writes:

> Martin Knoblauch wrote:
>> 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.

> You may be able to use this process to avoid using either a > floppy drive or "the other OS":

> 1) Download the appropriate firmware exe from
> http://www-306.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-41008
> (in my case, this looks like fwhd3313.exe)

> 2) Find a freedos disk image (I used one that came with > biosdisk - http://linux.dell.com/biosdisk/)

> 3) Create a disk image for the firmware executable: cp > /usr/share/biosdisk/dosdisk.img /tmp/fwdisk1.img mount -oloop > /tmp/fwtemp.img /mnt/tmp cp fwhd3313.exe /mnt/tmp umount > /mnt/tmp

> 4) Create a blank disk image for the extracted contents: dd > if=/dev/zero of=/boot/fwdisk.img bs=1474560 count=1

> 5) Run qemu to extract files and write the disk image: qemu > -fda /tmp/fwtemp.img -fdb /boot/fwdisk.img A:\>fwhd3313 ... > exit qemu

> 6) Set up grub to boot the new disk image (requires memdisk > from syslinux - http://syslinux.zytor.com/): $EDITOR > /boot/grub/grub.conf title IBM Hard Drive Firmware update > kernel /memdisk initrd=/fwdisk.img floppy

> 7) Reboot and select the "IBM Hard Drive Firmware update" > option

> It allowed me to run the firmware update program, however it > didn't believe my drive needed updating, so I haven't even > successfully tried the entire process. Please let me know if > it works for you.

> DISCLAIMER: I also provide no guarantees. Hopefully your hard > disk won't fly off the spindle or anything else bad. If it > does, blame someone else.

Hi Frank,

FYI I succesfully used your above method to update the firmware for the IC25N040ATMR04-0 hard disk that came with my Thinkpad R51.

Before the update hdparm -i /dev/hda
Model=IC25N040ATMR04-0, FwRev=MO2OAD4A

and after the update
Model=IC25N040ATMR04-0, FwRev=MO2OADEA

So, thanks!

however, the firmware update did not solve the 'head not park' issue. :-(

sudo ./park /dev/hda
head not parked 4c

Regards

Gijs

Signature · 2 lines
Is it weird in here, or is it just me?
		-- Steven Wright
#15 lore raw

Re: Updating hard disk firmware & parking hard disk

Quoted 6 lines

however, the firmware update did not solve the 'head not park' issue. :-(

sudo ./park /dev/hda
head not parked 4c

Head parking while the system running is almost useless, since sooner or later, someone's going to write/read something.
If you want head parking at shutdown, I suggest using hdparm -y. This puts the drive to sleep, which includes spindle spindown and, included, appropriate head parking.

Jan Engelhardt

#16 lore raw

Re: [Hdaps-devel] Re: Updating hard disk firmware & parking hard disk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Jan Engelhardt

Head parking while the system running is almost useless, since sooner or later, someone's going to write/read something.

Correct, that's why we're discussing to freeze the request queue as well.

Quoted 3 lines

If you want head parking at shutdown, I suggest using hdparm -y. This puts the drive to sleep, which includes spindle spindown and, included, appropriate head parking.

But it suffers from the same fate - as soon as the disk receives a new request, it will spin up again. So there is no gain, except that just parking the head without spinning down the spindle can be performed much faster.

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

iD8DBQFC1OseSVDhKrJykfIRAnk3AJ9EqLIBprtaYikZCQaRdIpPOrOWiACeMXOC pwjn2afI737DDzqOKDaEUCA=
=JtxS
-----END PGP SIGNATURE-----

#17 lore raw

Re: [Hdaps-devel] Re: Updating hard disk firmware & parking hard disk

Quoted 5 lines
Quoted 3 lines

Head parking while the system running is almost useless, since sooner or later, someone's going to write/read something.

Correct, that's why we're discussing to freeze the request queue as well.

Sounds good (esp. for laptops/notebooks, which should preferably run "on RAM" as long as possible)

Quoted 2 lines

But it suffers from the same fate - as soon as the disk receives a new request, it will spin up again.

In case of the SUSE bootscripts (and possibly others), some flush barriers are engaged, then the disk is spun down and immediately after the poweroff happens.

Quoted 3 lines

So there is no gain, except that just
parking the head without spinning down the spindle can be performed much faster.

What's the gain in parking the head manually if it's done anyway when the disk spins down (for whatever reason)?

Jan Engelhardt

#18 lore raw

Re: [Hdaps-devel] Re: Updating hard disk firmware & parking hard disk

Quoted 3 lines · Jan Engelhardt

What's the gain in parking the head manually if it's done anyway when the disk spins down (for whatever reason)?

It seems you're completely missing the whole point of this discussion, which was how to implement the hard disk active protection system that IBM offers under windows for its laptops, that will park the disk when it detects that e.g. the laptop is falling off a table.

Paul Slootman

#19 lore raw

Re: [Hdaps-devel] Re: Updating hard disk firmware & parking hard disk

Quoted 9 lines · Paul Slootman
Quoted 1 line · Jan Engelhardt

What's the gain in parking the head manually if it's done anyway when the disk spins down (for whatever reason)?

It seems you're completely missing the whole point of this discussion, which was how to implement the hard disk active protection system that IBM offers under windows for its laptops, that will park the disk when it detects that e.g. the laptop is falling off a table.

Does that imply that we have software to detect falling off a table?

Signature · 3 lines
   -bill davidsen ([email protected])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me
#20 lore raw

Re: [Hdaps-devel] Re: Updating hard disk firmware & parking hard disk

Quoted 7 lines · Bill Davidsen
Quoted 6 lines · Paul Slootman
Quoted 2 lines · Jan Engelhardt

What's the gain in parking the head manually if it's done anyway when the disk spins down (for whatever reason)?

Quoted 7 lines
Quoted 4 lines

It seems you're completely missing the whole point of this discussion, which was how to implement the hard disk active protection system that IBM offers under windows for its laptops, that will park the disk when it detects that e.g. the laptop is falling off a table.

Does that imply that we have software to detect falling off a table?

IBM does, in their Windows driver.

This was all covered in the HDAPS threads of the past few weeks, check the archives.

Lee

#21 lore raw

Re: [Hdaps-devel] Re: Updating hard disk firmware & parking hard disk

In reply to Bill Davidsen
Quoted 7 lines · Bill Davidsen
Quoted 6 lines · Paul Slootman
Quoted 2 lines · Jan Engelhardt

What's the gain in parking the head manually if it's done anyway when the disk spins down (for whatever reason)?

Quoted 6 lines
Quoted 4 lines

It seems you're completely missing the whole point of this discussion, which was how to implement the hard disk active protection system that IBM offers under windows for its laptops, that will park the disk when it detects that e.g. the laptop is falling off a table.

Does that imply that we have software to detect falling off a table?

Progress is indeed being made, according to what I've been reading on l-k.

Paul Slootman

#22 lore raw

Re: [Hdaps-devel] Updating hard disk firmware & parking hard disk

In reply to Gijs Hillenius

Perhaps you also need to flash the BIOS and or Embedded Controller firmware?

Shawn.

Quoted 72 lines · Gijs Hillenius
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Frank Sorenson writes:

> Martin Knoblauch wrote:
>
>> 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.
>>
> You may be able to use this process to avoid using either a > floppy drive or "the other OS":
>
> 1) Download the appropriate firmware exe from
> http://www-306.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-
>41008 (in my case, this looks like fwhd3313.exe)
>
> 2) Find a freedos disk image (I used one that came with > biosdisk - http://linux.dell.com/biosdisk/)
>
> 3) Create a disk image for the firmware executable: cp
> /usr/share/biosdisk/dosdisk.img /tmp/fwdisk1.img mount -oloop > /tmp/fwtemp.img /mnt/tmp cp fwhd3313.exe /mnt/tmp umount > /mnt/tmp
>
> 4) Create a blank disk image for the extracted contents: dd > if=/dev/zero of=/boot/fwdisk.img bs=1474560 count=1
>
> 5) Run qemu to extract files and write the disk image: qemu > -fda /tmp/fwtemp.img -fdb /boot/fwdisk.img A:\>fwhd3313 ... > exit qemu
>
> 6) Set up grub to boot the new disk image (requires memdisk > from syslinux - http://syslinux.zytor.com/): $EDITOR
> /boot/grub/grub.conf title IBM Hard Drive Firmware update > kernel /memdisk initrd=/fwdisk.img floppy
>
> 7) Reboot and select the "IBM Hard Drive Firmware update" > option
>
>
> It allowed me to run the firmware update program, however it > didn't believe my drive needed updating, so I haven't even > successfully tried the entire process. Please let me know if > it works for you.
>
> DISCLAIMER: I also provide no guarantees. Hopefully your hard > disk won't fly off the spindle or anything else bad. If it > does, blame someone else.

Hi Frank,

FYI I succesfully used your above method to update the firmware for the IC25N040ATMR04-0 hard disk that came with my Thinkpad R51.

Before the update hdparm -i /dev/hda
Model=IC25N040ATMR04-0, FwRev=MO2OAD4A

and after the update
Model=IC25N040ATMR04-0, FwRev=MO2OADEA

So, thanks!

however, the firmware update did not solve the 'head not park' issue. :-(

sudo ./park /dev/hda
head not parked 4c

Regards

Gijs