Hi,

I'm trying to build a kernel for a blade server, but I can't seem to get the LSI SAS driver in there.

I have tried booting up to Mandriva in the server, and its kernel detects the hardware. When I type an lsmod, I get the following output:

Code:
Module                  Size  Used by
sco                    14533  2 
bnep                   13141  2 
l2cap                  59314  3 bnep
bluetooth              90486  5 sco,bnep,l2cap
rfkill                 15106  2 bluetooth
af_packet              17763  2 
nfs                   267889  0 
lockd                  68538  1 nfs
fscache                54663  1 nfs
nfs_acl                 2209  1 nfs
auth_rpcgss            33521  1 nfs
sunrpc                190693  5 nfs,lockd,nfs_acl,auth_rpcgss
tun                    13550  0 
cdc_ether               6941  0 
usbnet                 23350  1 cdc_ether
mii                     4409  1 usbnet
i7core_edac            14944  0 
shpchp                 24020  0 
sg                     25213  0 
dm_mirror              12062  0 
dm_region_hash          9037  1 dm_mirror
dm_log                  8615  2 dm_mirror,dm_region_hash
tpm_tis                 8751  0 
tpm                    14523  1 tpm_tis
i2c_i801                8654  0 
evdev                   7721  8 
tpm_bios                4913  1 tpm
i2c_core               25378  1 i2c_i801
button                  4865  0 
iTCO_wdt                9728  0 
ioatdma                44565  16 
iTCO_vendor_support     2502  1 iTCO_wdt
edac_core              39008  1 i7core_edac
pci_hotplug            24893  1 shpchp
dca                     5599  1 ioatdma
serio_raw               3686  0 
processor              25276  0 
ipv6                  276190  74 
autofs4                20152  6 
ext4                  331809  2 
jbd2                   68864  1 ext4
crc16                   1367  2 l2cap,ext4
sd_mod                 31958  5 
crc_t10dif              1247  1 sd_mod
sr_mod                 13620  0 
uas                     6941  0 
usb_storage            40530  3 
usbhid                 38134  0 
hid                    67285  1 usbhid
mptsas                 49874  1 
mptscsih               30704  1 mptsas
mptbase                88850  2 mptsas,mptscsih
ehci_hcd               47721  0 
uhci_hcd               22058  0 
scsi_transport_sas     27318  1 mptsas
scsi_mod              176396  8 sg,sd_mod,sr_mod,uas,usb_storage,mptsas,mptscsih,scsi_transport_sas
scsi_mod              176396  8 sg,sd_mod,sr_mod,uas,usb_storage,scsi_transport_sas
usbcore               162865  8 cdc_ether,usbnet,uas,usb_storage,usbhid,ehci_hcd,uhci_hcd
bnx2                   66322  0 
ide_cd_mod             25232  0 
ide_core               97656  1 ide_cd_mod
loop                   15037  0 
dm_mod                 63717  2 dm_mirror,dm_log
I'm guessing the relevant modules are scsi_transport_sas and scsi_mod.

In my kernel config, I've already enabled the following:
CONFIG_SCSI_MOD
CONFIG_RAID_ATTRS
CONFIG_SCSI
CONFIG_SCSI_DMS
CONFIG_SCSI_NETLINK
CONFIG_SCSI_PROC_FS
CONFIG_BLK_DEV_SD
CONFIG_BLK_DEV_SG
CONFIG_SCSI_CONSTANTS
CONFIG_SCSI_SPI_ATTRS
CONFIG_SCSI_FC_ATTRS
CONFIG_SCSI_ISCSI_ATTRS
CONFIG_SCSI_SAS_ATTRS
CONFIG_SCSI_SAS_LIBSAS
CONFIG_SCSI_LOWLEVEL
CONFIG_MEGARAID_NEWGEN
CONFIG_MEGARAID_MM
CONFIG_MEGARAID_MAILBOX
CONFIG_MEGARAID_LEGACY
CONFIG_MEGARAID_SAS
CONFIG_SCSI_MPT2SAS
CONFIG_SCSI_MPT2SAS_LOGGING
CONFIG_SCSI_DH
CONFIG_SCSI_DH_RDAC
CONFIG_SCSI_DH_HP_SW
CONFIG_SCSI_DH_EMC
CONFIG_ATA
CONFIG_ATA_VERBOSE_ERROR
CONFIG_ATA_ACPI
CONFIG_SATA_PMP

I've also enabled all SATA drivers, as well as most RAID drivers.

What am I missing out here?

I tried to extract the .config from the Mandriva kernel but was unable to do so.

Thanks!