Project

General

Profile

Bug #8931

Update mrsas driver

Added by Josh Paetzel over 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
Josh Paetzel
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No


Related issues

Related to FreeNAS - Bug #8835: LSI MegaRAID 9361-8i, AOCS3108LH8iR timeout bugResolved2015-03-24

Associated revisions

Revision e8ced917 (diff)
Added by kadesai over 5 years ago

Current MegaRAID firmware and hence the driver only supported 64VDs. E.g: If the user wants to create more than 64VD on a controller, it is not possible on current firmware/driver. New feature and requirement to support upto 256VD, firmware/driver/apps need changes. In addition to that, there must be a backward compatibility of the new driver with the older firmware and vice versa. RAID map is the interface between Driver and FW to fetch all required fields(attributes) for each Virtual Drives. In the earlier design driver was using the FW copy of RAID map where as in the new design the Driver will keep the RAID map copy of its own; on which it will operate for any raid map access in fast path. Local driver raid map copy will provide ease of access through out the code and provide generic interface for future FW raid map changes. For the backward compatibility driver will notify FW that it supports 256VD to the FW in driver capability field. Based on the controller properly returned by the FW, the Driver will know whether it supports 256VD or not and will copy the RAID map accordingly. At any given time, driver will always have old or new Raid map. Reviewed by : ambrisko MFC after : 2 weeks Sponsored by: AVAGO Technologies git-svn-id: svn+ssh://svn.freebsd.org/base/head@272735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 3492ed2ab5cb2ef5177483b38ed7639d627cbdb8) Ticket: #8931

Revision e8ced917 (diff)
Added by kadesai over 5 years ago

Current MegaRAID firmware and hence the driver only supported 64VDs. E.g: If the user wants to create more than 64VD on a controller, it is not possible on current firmware/driver. New feature and requirement to support upto 256VD, firmware/driver/apps need changes. In addition to that, there must be a backward compatibility of the new driver with the older firmware and vice versa. RAID map is the interface between Driver and FW to fetch all required fields(attributes) for each Virtual Drives. In the earlier design driver was using the FW copy of RAID map where as in the new design the Driver will keep the RAID map copy of its own; on which it will operate for any raid map access in fast path. Local driver raid map copy will provide ease of access through out the code and provide generic interface for future FW raid map changes. For the backward compatibility driver will notify FW that it supports 256VD to the FW in driver capability field. Based on the controller properly returned by the FW, the Driver will know whether it supports 256VD or not and will copy the RAID map accordingly. At any given time, driver will always have old or new Raid map. Reviewed by : ambrisko MFC after : 2 weeks Sponsored by: AVAGO Technologies git-svn-id: svn+ssh://svn.freebsd.org/base/head@272735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 3492ed2ab5cb2ef5177483b38ed7639d627cbdb8) Ticket: #8931

Revision 6eb14ec6 (diff)
Added by kadesai over 5 years ago

Current MegaRAID firmware and hence the driver only supported 64VDs. E.g: If the user wants to create more than 64VD on a controller, it is not possible on current firmware/driver. New feature and requirement to support upto 256VD, firmware/driver/apps need changes. In addition to that, there must be a backward compatibility of the new driver with the older firmware and vice versa. RAID map is the interface between Driver and FW to fetch all required fields(attributes) for each Virtual Drives. In the earlier design driver was using the FW copy of RAID map where as in the new design the Driver will keep the RAID map copy of its own; on which it will operate for any raid map access in fast path. Local driver raid map copy will provide ease of access through out the code and provide generic interface for future FW raid map changes. For the backward compatibility driver will notify FW that it supports 256VD to the FW in driver capability field. Based on the controller properly returned by the FW, the Driver will know whether it supports 256VD or not and will copy the RAID map accordingly. At any given time, driver will always have old or new Raid map. Reviewed by : ambrisko MFC after : 2 weeks Sponsored by: AVAGO Technologies git-svn-id: svn+ssh://svn.freebsd.org/base/head@272735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 3492ed2ab5cb2ef5177483b38ed7639d627cbdb8) Ticket: #8931 (cherry picked from commit e8ced9174919e124cd9f492e34df3479347f1781)

Revision 6eb14ec6 (diff)
Added by kadesai over 5 years ago

Current MegaRAID firmware and hence the driver only supported 64VDs. E.g: If the user wants to create more than 64VD on a controller, it is not possible on current firmware/driver. New feature and requirement to support upto 256VD, firmware/driver/apps need changes. In addition to that, there must be a backward compatibility of the new driver with the older firmware and vice versa. RAID map is the interface between Driver and FW to fetch all required fields(attributes) for each Virtual Drives. In the earlier design driver was using the FW copy of RAID map where as in the new design the Driver will keep the RAID map copy of its own; on which it will operate for any raid map access in fast path. Local driver raid map copy will provide ease of access through out the code and provide generic interface for future FW raid map changes. For the backward compatibility driver will notify FW that it supports 256VD to the FW in driver capability field. Based on the controller properly returned by the FW, the Driver will know whether it supports 256VD or not and will copy the RAID map accordingly. At any given time, driver will always have old or new Raid map. Reviewed by : ambrisko MFC after : 2 weeks Sponsored by: AVAGO Technologies git-svn-id: svn+ssh://svn.freebsd.org/base/head@272735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 3492ed2ab5cb2ef5177483b38ed7639d627cbdb8) Ticket: #8931 (cherry picked from commit e8ced9174919e124cd9f492e34df3479347f1781)

Revision 5494a4e0 (diff)
Added by kadesai over 5 years ago

Current MegaRAID firmware and hence the driver only supported 64VDs. E.g: If the user wants to create more than 64VD on a controller, it is not possible on current firmware/driver. New feature and requirement to support upto 256VD, firmware/driver/apps need changes. In addition to that, there must be a backward compatibility of the new driver with the older firmware and vice versa. RAID map is the interface between Driver and FW to fetch all required fields(attributes) for each Virtual Drives. In the earlier design driver was using the FW copy of RAID map where as in the new design the Driver will keep the RAID map copy of its own; on which it will operate for any raid map access in fast path. Local driver raid map copy will provide ease of access through out the code and provide generic interface for future FW raid map changes. For the backward compatibility driver will notify FW that it supports 256VD to the FW in driver capability field. Based on the controller properly returned by the FW, the Driver will know whether it supports 256VD or not and will copy the RAID map accordingly. At any given time, driver will always have old or new Raid map. Reviewed by : ambrisko MFC after : 2 weeks Sponsored by: AVAGO Technologies git-svn-id: svn+ssh://svn.freebsd.org/base/head@272735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 3492ed2ab5cb2ef5177483b38ed7639d627cbdb8) Ticket: #8931 (cherry picked from commit e8ced9174919e124cd9f492e34df3479347f1781)

Revision 5494a4e0 (diff)
Added by kadesai over 5 years ago

Current MegaRAID firmware and hence the driver only supported 64VDs. E.g: If the user wants to create more than 64VD on a controller, it is not possible on current firmware/driver. New feature and requirement to support upto 256VD, firmware/driver/apps need changes. In addition to that, there must be a backward compatibility of the new driver with the older firmware and vice versa. RAID map is the interface between Driver and FW to fetch all required fields(attributes) for each Virtual Drives. In the earlier design driver was using the FW copy of RAID map where as in the new design the Driver will keep the RAID map copy of its own; on which it will operate for any raid map access in fast path. Local driver raid map copy will provide ease of access through out the code and provide generic interface for future FW raid map changes. For the backward compatibility driver will notify FW that it supports 256VD to the FW in driver capability field. Based on the controller properly returned by the FW, the Driver will know whether it supports 256VD or not and will copy the RAID map accordingly. At any given time, driver will always have old or new Raid map. Reviewed by : ambrisko MFC after : 2 weeks Sponsored by: AVAGO Technologies git-svn-id: svn+ssh://svn.freebsd.org/base/head@272735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 3492ed2ab5cb2ef5177483b38ed7639d627cbdb8) Ticket: #8931 (cherry picked from commit e8ced9174919e124cd9f492e34df3479347f1781)

History

#1 Updated by Josh Paetzel over 5 years ago

  • Related to Bug #8835: LSI MegaRAID 9361-8i, AOCS3108LH8iR timeout bug added

#2 Updated by Josh Paetzel over 5 years ago

  • Status changed from Investigation to 19

#3 Updated by Josh Paetzel over 5 years ago

  • Status changed from 19 to Ready For Release

#4 Updated by Andreas A over 5 years ago

Hello Josh

FreeNAS-9.3-Nightlies-201503310630.GUI_Upgrade.txz
FreeNAS-9.3-Nightlies-201504010630.GUI_Upgrade.txz
downloaded from http://download.freenas.org/latest/Nightlies/

are reporting

LSI MegaRAID SAS FreeBSD mrsas driver version: 06.704.01.00-fbsd

Is the new driver available in a downloadable version?

Regards
byte-sorter

#5 Updated by Josh Paetzel over 5 years ago

The driver version didn't change. I cherry picked the 256 VD change from FreeBSD. Doug Ambrisko has been managing the FreeBSD MegaRAID drivers for a very long time now. If he hasn't updated the driver in FreeBSD there's generally a reason.

#6 Updated by Josh Paetzel over 5 years ago

  • ChangeLog Entry updated (diff)

#7 Updated by Josh Paetzel over 5 years ago

  • ChangeLog Entry updated (diff)

#8 Updated by Jordan Hubbard over 5 years ago

  • Status changed from Ready For Release to Resolved

#9 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Target version changed from Unspecified to N/A

Also available in: Atom PDF