Bug 177219 - [mfi] mfi driver does not load 8888elp during boot, but will after.
Summary: [mfi] mfi driver does not load 8888elp during boot, but will after.
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 03:50 UTC by Eric Millbrandt
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Millbrandt 2013-03-22 03:50:01 UTC
I recently installed a LSI 8888ELP SAS raid card and had trouble getting it working.  After much frustration I discovered that if I load the driver as a module, after the kernel has booted, it works.  Below are the kernel messages of the driver failing to load and it loading.  Both the stock FreeBSD mfi driver and the mfi driver from LSI show the same behavior.


Mar 21 12:24:01 norco kernel: mfi0: <LSI MegaSAS 1078> port 0x2000-0x20ff irq 16 at device 0.0 on pci5
Mar 21 12:24:01 norco kernel: mfi0: Using MSI
Mar 21 12:24:01 norco kernel: mfi0: Megaraid SAS driver Ver 4.23 
Mar 21 12:24:01 norco kernel: mfi0: Cannot allocate frame DMA tag
Mar 21 12:24:01 norco kernel: device_attach: mfi0 attach returned 12

This snippet is LSI's mfi driver also failing to load on boot:
mfi0: <LSI MegaSAS 1078> port 0x2000-0x20ff irq 16 at device 0.0 on pci5
mfi0: Megaraid SAS driver Ver 4.410.01.00 
mfi0: Firmware fault
mfi0: Firmware not in READY state, error 6
mfi0: mfi_free starts
mfi0: mfi_free release DMA tag
device_attach: mfi0 attach returned 6


Log after recompiling the kernel with mfi compiled as a module and loaded after the kernel has finished loading:

mfi0: <LSI MegaSAS 1078> port 0x2000-0x20ff mem 0xd0200000-0xd023ffff irq 16 at device 0.0 on pci5
mfi0: Using MSI
mfi0: Megaraid SAS driver Ver 4.23 
mfi0: 934979 (417236768s/0x0020/info) - Shutdown command received from host
mfid0 on mfi0
mfid0: 207168MB (424280064 sectors) RAID volume 'MAV2036-R5' is optimal
mfid1 on mfi0
mfid1: 139488MB (285671424 sectors) RAID volume 'Seagate' is optimal
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:34 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped