public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gijs Hillenius <gijs@hillenius.net>
To: Frank Sorenson <frank@tuxrocks.com>
Cc: hdaps-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Updating hard disk firmware & parking hard disk
Date: Wed, 13 Jul 2005 10:58:19 +0200	[thread overview]
Message-ID: <878y0bozf8.fsf@hillenius.net> (raw)
In-Reply-To: <42CD7E0C.3060101@tuxrocks.com> (Frank Sorenson's message of "Thu, 07 Jul 2005 13:10:04 -0600")

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

-- 
Is it weird in here, or is it just me?
		-- Steven Wright

  reply	other threads:[~2005-07-13  8:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 13:13 Head parking (was: IBM HDAPS things are looking up) Martin Knoblauch
2005-07-07 13:38 ` Pekka Enberg
2005-07-07 13:47   ` Martin Knoblauch
2005-07-07 14:45   ` Dan Christensen
2005-07-07 16:39   ` Martin Knoblauch
2005-07-07 16:54     ` Alejandro Bonilla
2005-07-07 17:14       ` Martin Knoblauch
2005-07-07 17:34         ` [Hdaps-devel] " Dave Hansen
2005-07-07 18:45           ` Martin Knoblauch
2005-07-07 18:51             ` Erik Mouw
2005-07-07 18:58               ` Martin Knoblauch
2005-07-07 18:59               ` Shawn Starr
2005-07-07 19:00           ` Martin Knoblauch
2005-07-07 19:10         ` Updating hard disk firmware (Was: Re: Head parking) Frank Sorenson
2005-07-13  8:58           ` Gijs Hillenius [this message]
2005-07-13 10:10             ` Updating hard disk firmware & parking hard disk Jan Engelhardt
2005-07-13 10:21               ` [Hdaps-devel] " Lenz Grimmer
2005-07-13 11:02                 ` Jan Engelhardt
2005-07-13 13:11                   ` Paul Slootman
2005-07-13 19:11                     ` Bill Davidsen
2005-07-13 19:10                       ` Paul Slootman
2005-07-13 19:18                       ` Lee Revell
2005-07-13 23:32             ` [Hdaps-devel] " Shawn Starr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878y0bozf8.fsf@hillenius.net \
    --to=gijs@hillenius.net \
    --cc=frank@tuxrocks.com \
    --cc=hdaps-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox