Upgrade firmware for perc 5/e in Debian

Dell create easy install firmware, drivers, management utilities and such for Redhat. These seldom work in Debian, often because of the different package management systems they use (rpm for Redhat / dpkg for Debian) .
I had to upgrade the firmware on a PERC 5/E raid controller, and we mainly run Debian where I work, so I’ve poked around for a solution on this issue.
There might have been a solution with creating a floppy or using some Dell utilities boot cd, but I’m 300 kilometres from the server so that wasn’t an option.
Here’s some links that helped me in the process.
http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
http://linux.dell.com/repo/community/deb/latest/
http://sysadmin.wikia.com/wiki/PERC_firmware_upgrade_on_debian
Sysadmin.wikia.com’s solution didn’t do the trick for me, there was some script that really wanted rpm on my system (?) . I ended up with something like this:

# apt-get install alien
# rpm2cpio srvadmin-storelib-sysfs-7.0.0-4.1.4.el4.i386.rpm | cpio -idmv
# cp -a ../unpack_rpm/opt/lsi/ /opt/
# vi /etc/ld.so.conf.d/lsi_tmp.conf (adding to this file these lines)
/opt/lsi/3rdpartylibs/
/opt/lsi/3rdpartylibs/x86_64
# ./sasdupie -u -s ./payload/

I then got the xml output which told me a reboot was required .

4 comments on “Upgrade firmware for perc 5/e in Debian

  1. Linus January 2, 2012 9:42 pm

    Thanks for this short guide, it made my upgrade go through πŸ™‚
    At least I think so, the server isnt coming up after reboot, but Ill check what thats about tomorrow morning when I get to the office πŸ˜›

  2. Sebastian April 11, 2012 10:11 pm

    Hi Joar,

    this did not work on my ubuntu 11.10 PowerEdge R300.
    Did you installed anything special?

    I’m always getting
    root@ten:~/RAIDFW# ./sasdupie -u -s ./payload/
    -bash: ./sasdupie: No such file or directory

    thx in advance

  3. Joar Jegleim April 11, 2012 10:19 pm

    hmm, it’s been a while since I did this one so my memory might fail. Note that this isn’t really a howto, more like ‘pointers’ in the direction on how I did it. You won’t make this just by typing those commands, check the links especially the last one there from sysadmin.wikia.com . I think you’ll find sasdupie when you’ve extracted the firmware stuff from the *.bin file from dell, hint: ./RAID_FRMW_LX_R216024.BIN –extract RAIDFW . Best of luck ! πŸ™‚@Sebastian

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.