Comment 23 for bug 474207

Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote :

Poop. Didn't realize "dkms add ..." creates the symlink. Also the "debhelper" package is a requirement.

One more time (patch from previous message is the one to use)

Fetch the 4.22.00.00-2 drivers for RHEL5 etc. from
http://www.lsi.com/storage_home/products_home/standard_product_ics/sas_ics/lsisas1068/index.html?remote=1&locale=EN
Unpack and unpack until you get to mptlinux-4.22.00.00-1dkms.noarch.rpm

fakeroot alien --to-deb mptlinux-4.22.00.00-1dkms.noarch.rpm
sudo dpkg -i mptlinux_4.22.00.00-2_all.deb

cd /usr/src/mptlinux-4.22.00.00
patch -p 0 < ~/mpt-4.22.00.00-2.patch
cd -

sudo aptitude install dkms debhelper
sudo dpkg -i mptlinux_4.22.00.00-2_all.deb
sudo dkms add -m mptlinux -v 4.22.00.00
sudo dkms build -m mptlinux -v 4.22.00.00

To deploy the driver on the current system
sudo dkms install -m mptlinux -v 4.22.00.00
sudo reboot

To deploy the drive on another system
sudo dkms mkdeb -m mptlinux -v 4.22.00.00
The resulting deb package file:
/var/lib/dkms/mptlinux/4.22.00.00/deb/mptlinux-dkms_4.22.00.00_all.deb
Can be copied to the target system

sudo aptitude install dkms
sudo dpkg -i mptlinux_4.22.00.00-2_all.deb
sudo dkms add -m mptlinux -v 4.22.00.00
sudo dkms build -m mptlinux -v 4.22.00.00
sudo dkms install -m mptlinux -v 4.22.00.00
sudo reboot