Skip to content

This patch is for LSI MegaRAID SAS 9240-4i / 9240-8i driver using. (Note: FreeBSD-9.1-RELEASE now support the hardware natively)

Notifications You must be signed in to change notification settings

linpc/sas9240-freebsd-mfi-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

sas9240-freebsd-mfi-driver

About

This patch is for LSI MegaRAID SAS 9240-4i / 9240-8i driver using.

Test only on FreeBSD 9.0-release amd64, IBM M3 X3550.

How to use this patch:

  1. Make sure the kernel source has been installed on your system.

  2. Copy the kernel configuration:

    cd /usr/src/sys/amd64/conf
    cp GENERIC MYKERNEL
    vi MYKERNEL
    

    Comment out the following line:

    --- device     cbb          # cardbus (yenta) bridg
    +++ #device     cbb         # cardbus (yenta) bridg
    
  3. Add the following line to the file /usr/src/sys/conf/files.

    Note that the added line should next to the line which has dev/mfi/mfi_cam.c optional mfi:

        dev/mfi/mfi_cam.c optional mfi
    +++ dev/mfi/mfi_syspd.c optional mfi
    
  4. Replace the mfi driver patch:

    mv /usr/src/sys/dev/mfi /root/mfibackup
    cd ~
    git clone git://github.com/linpc/sas9240-freebsd-mfi-driver.git .
    cp -r sas9240-freebsd-mfi-driver/9.0/mfi /usr/src/sys/dev/mfi
    
  5. Rebuild the kernel:

    cd /usr/src
    make kernel KERNCONF=MYKERNEL
    

One step patch using the patch file:

If you don't want to do manual patch, you can just use the .patch file in the repository.

Also, make sure you have kernel source installed:

cd /usr/src
patch -s -d /usr/src  < /root/sas9240-freebsd-mfi-driver/patch_9.0.diff
make kernel KERNCONF=GENERIC

Supported Controllers

  • MegaRAID SAS 9240-4i
  • MegaRAID SAS 9240-8i
  • MegaRAID SAS 9260-4i
  • MegaRAID SAS 9260-8i
  • MegaRAID SAS 9260DE-8i
  • MegaRAID SAS 9261-8i
  • MegaRAID SAS 9280-4i4e
  • MegaRAID SAS 9280-8e
  • MegaRAID SAS 9280DE-8e
  • MegaRAID SAS 9280-24i4e
  • MegaRAID SAS 9280-16i4e
  • MegaRAID SAS 9280-16i

Copyright:

All copyright claimed by what signed in the source code. (The FreeBSD Project)

About

This patch is for LSI MegaRAID SAS 9240-4i / 9240-8i driver using. (Note: FreeBSD-9.1-RELEASE now support the hardware natively)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages