public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank Sorenson <frank@tuxrocks.com>
To: knobi@knobisoft.de
Cc: abonilla@linuxwireless.org, "'Pekka Enberg'" <penberg@gmail.com>,
	linux-kernel@vger.kernel.org, axboe@suse.de,
	"'Pekka Enberg'" <penberg@cs.helsinki.fi>,
	hdaps-devel@lists.sourceforge.net
Subject: Updating hard disk firmware (Was: Re: Head parking)
Date: Thu, 07 Jul 2005 13:10:04 -0600	[thread overview]
Message-ID: <42CD7E0C.3060101@tuxrocks.com> (raw)
In-Reply-To: <20050707171434.90546.qmail@web32604.mail.mud.yahoo.com>

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

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.

Frank
- --
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department
Brigham Young University
frank@tuxrocks.com
-----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-----

  parent reply	other threads:[~2005-07-07 19:13 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         ` Frank Sorenson [this message]
2005-07-13  8:58           ` Updating hard disk firmware & parking hard disk Gijs Hillenius
2005-07-13 10:10             ` 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=42CD7E0C.3060101@tuxrocks.com \
    --to=frank@tuxrocks.com \
    --cc=abonilla@linuxwireless.org \
    --cc=axboe@suse.de \
    --cc=hdaps-devel@lists.sourceforge.net \
    --cc=knobi@knobisoft.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penberg@cs.helsinki.fi \
    --cc=penberg@gmail.com \
    /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