As in a Debian 5.0.3 (Lenny) standard installation the driver for DELL
SAS HBA seems to be outdated 
I like to have I my production environment a newer version.

[    0.000000] Linux version 2.6.26-2-amd64 (Debian 2.6.26-19lenny2) 
 
(da...@debian.org) 
 
(gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25))
 
#1 SMP Thu Nov 5 02:23:12 UTC 2009 

05:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E
PCI-Express Fusion-MPT SAS (rev 08)
        Subsystem: Dell SAS 6/iR Adapter RAID Controller
...
        Kernel driver in use: mptsas
        Kernel modules: mptsas

Also in some newer kernel versions like 2.6.29.x, 2.6.30.x and so on are
only 

[    1.165426] Fusion MPT base driver 3.04.06
[    1.165426] Copyright (c) 1999-2007 LSI Corporation 

LSI provide a actual DKMS package. Related to DKMS you will find some
more infos on 

http://linux.dell.com/projects.shtml
http://linux.dell.com/dkms/
http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support

I prepared my system to build kernel modules

# aptitude install module-assistant rpm alien fakeroot 
# m-a prepare

I downloaded the latest source package from LSI 
but I think it is possible to use the package from DELL download page
too 

http://www.lsi.com/DistributionSystem/AssetDocument/MPTLINUX_RHEL5_SLES1
0_PH16-4.18.00.00-1.zip

As this is a 150MB package for different platforms I extracted from
subfolder

/MPTLINUX_RHEL5_SLES10_PH16-4.18.00.00-1.zip/mptlinux_RHEL5_SLES10_rel/R
HEL5_SLES10.tar.gz/RHEL5_SLES10.tar/dkms-1/mptlinux-4.18.00.00-1.dkms.ta
r.gz/mptlinux-4.18.00.00-1.dkms.tar

the two neccessary files

dkms-2.0.19.1-1.noarch.rpm
mptlinux-4.18.00.00-1dkms.noarch.rpm

Of course there would be a newer version of DKMS but this depends on
upstart-job 
which is part of http://packages.debian.org/search?keywords=upstart
itself. 
So in this kernel version I think this will be not necessary yet. 

Sometimes I prefare to have deb packets so I used DKMS in this way 

# alien dkms-2.0.19.1-1.noarch.rpm 
# dpkg -i dkms-2.0.19.1-1.noarch.deb 

and installed the driver sources than 

# rpm -i mptlinux-4.18.00.00-1dkms.noarch.rpm --nodeps 

and build for your system 

# dkms status
#dkms mkdeb -m mptlinux -v 4.18.00.00 

# dkms status
mptlinux, 4.18.00.00, 2.6.26-2-amd64, x86_64: installed (original_module
exists)</code>

# reboot

And my DELL SAS HBA Version 5 or 6 is working. 

# modprobe mptsas
# modinfo mptsas 
filename: /lib/modules/2.6.26-2-amd64/kernel/drivers/message/fusion/mpt
version:  4.18.00.00
...

# lsmod | grep mpt
mptsas  54416  0
mptscsih  41344  1 mptsas
mptbase  88292  2 mptsas, mptscsih
scsi_transport_sas  37504  1 mptsas
scsi_mod  161016  9
mptsas,mptscsih,scsi_transport_sas,sg,sr_mod,libdata,ses,sd_mod,megaraid
_sas



http://www.tbaumi.de/blog/?p=574

Regards 
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to