Home

Secondary links

  • News
    • Energy News
    • IT News
    • Sustainability News
  • Login/Join
    • Home
    • Search

Recent blog posts

  • The Kind of Stuff that Only Prince Would Sing About
  • Southern Kid and Goatling Show
  • Same Planet, Different Worlds
  • A Tale of Two Goaties
  • ...and so that's how Grace Kelly came to live at our farm
  • 15 out of 50 isn't too bad...
  • The Blackboard is GO!
  • Hello Hamish!
  • Greens Win the Seat of Fremantle - 44% Primary - 54% Final :)
  • Life and Death Under the Island Sky
more

Island Sky News

  • Farewell Pixie and Lala
more

Using a Standard Debian / Ubuntu Kernel on DELL PERCraid Servers

Submitted by craige on August 5, 2006 - 17:23
  • Debian
  • Ubuntu

Assumptions:
This article assumes you have already installed Debian or Ubuntu from one of the many aacraid / PERCraid / megaraid installation CD's that are available online but now want to switch to a supported Debian / Ubuntu packaged kernel to take adavantage of security updates etc.

You will need to install the below packages. I have chosen the kernel-image-2.6.686-smp as Debian is installed on a dual PIII DELL PowerEdge 2450. You will need to choose the appropriate Debian / Ubuntu kernel package that suits your hardware. irqbalance is only for SMP machines:

$ sudo apt-get install initrd-tools irqbalance kernel-image-2.6-686-smp module-i
nit-tools

initrd-tools provides us with mkinitrd which we will need to make an initrd image
kernel-image-2.6-686-smp provides us with a packaged kernel for which we will build the initrd image and replace the existing installation kernel.

As all of the aacraid / PERCraid / Megaraid installation disks I have come across are based on a 2.4 Linux kernel and use lilo, you will most likely need to:

$ sudo vi /etc/lilo.conf 

and add an initrd line as per below to the section for the installed kernel

     initrd=/initrd.img

which should result in a completed section for the installed kernel looking something like this:

 image=/vmlinuz
label=Linux
read-only
initrd=/initrd.img

Now edit /etc/mkinitrd/modules to include the module you need for PERCraid:

$ sudo vi /etc/mkinitrd/modules 

As the version of PERCraid in the PowerEdge 2450 is Perc2/DC I need to include the megaraid driver and added the below lines to the bottom of /etc/mkinitrd/modules:

#
# Driver for DELL Perc2/DC in DELL PowerEdge 2450
#
megaraid

You will now need to make an initrd image that includes the megaraid driver for the kernel you have installed. In this example, the kernel that the Debian package installed was version 2.6.8-3-686-smp so I ran the following command to build the initrd image:

$ sudo mkinitrd -o /boot/initrd.img-2.6.8-3-686-smp 2.6.8-3-686-smp

You will need to substitute the version above to the versions on your system. To be on the safe side, I keep a copy of the install kernel hanging around so I end up with the following kernels on the file system:

$ ls -l /vmlinuz*
/vmlinuz -> boot/vmlinuz-2.6.8-3-686-smp
/vmlinuz-PERCraid -> /boot/bzImage-PERCraid-2.4.18

I then also add this kernel to /etc/lilo.conf as per below:

 image=/vmlinuz.PERCraid
label=PERCraid
read-only
optional

Make sure that your lilo.conf includes a delay statement and "install=text " then update lilo:

$ sudo lilo
Added Linux *
Added PERCraid
$

Now reboot and make sure your PERcraid rescue CD is handy incase you made a mistake. If everything has been completed correctly then you should be booting into the supported kernel with the initrd image ensuring that PERCraid is handled correctly.

  • craige's blog
  • Add new comment

I'll have to see if this

Submitted by Michael Fox (not verified) on August 10, 2006 - 14:15.

I'll have to see if this information will enable my Poweredge 2300 I think it is with SMP to boot a 2.6 kernel. I am sure it will as the problem has been that newer kernels dont have the stuff in the initrd.img to get it past a certain point.I've never really sat down to do anything further with it, but I guess I will have a go at it tonight (or this weekend before I go overseas on holidays).It would be nice to have it running a 2.6 kernel (for when I eventually do something with it). It was a donation from a mate for tinkering :)

  • reply

Sustainability

  • The Machinery Shed
  • Modest Makeover
  • A Study in Contrasts
  • Spreading its Wings
  • Height & Light
  • Once in a Lifetime
  • Best of Both Worlds
more

Energy News

  • Wind power led recovery - Environmental Management News (subscription)
  • First Solar Quarterly Profit Drops as Own Project Development Increases - Bloomberg
  • Queen's University set to design fully submerged deepwater turbine - Irish Times
  • Greens say Labor's solar ads dishonest - Sky News Australia
  • First Solar profit tops Street, trims sales view - Reuters
  • Spain Nearing Plan to Cut Solar Subsidy 15%, Extend Payments Three Years - Bloomberg
  • Ormat Names John Hancock Exclusive Debt Provider Under DOE Loan Guarantee ... - PR Newswire (press release)
  • MEMC 2Q Profit Soars On Strong Sales; 2010 View Weak - Wall Street Journal
more

IT News

  • Google site fools interwebs into China blockage scare
  • World's Fastest Hybrid OK'd For Production
  • 'Suspicious' Android wallpaper app nabs user data
  • Data for 100m Facebook accounts published to BitTorrent
  • Uncle Sam sues Oracle (again) for alleged fraud
  • Sometimes It's OK To Steal My Games
  • Thermoelectrics Could Let You Feel the Heat In Games
  • Ballmer and Softies sacrifice sleep to catch iPad
more
© Craige McWhirter