LSI Harpoon support in megaraid_sas module

Bug #1683587 reported by Daniel Axtens
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Daniel Axtens

Bug Description

The Dell PERC H740 series RAID controllers, codename "Harpoon", are not supported in standard Ubuntu kernels.

There is a series of kernel patches required to support these: http://<email address hidden>/msg1307314.html

There is also a relevant follow-up series: https://www.spinics.net/lists/linux-scsi/msg104667.html especially patches 1 and 12.

The relevant PCI IDs from the PCI database (http://pciids.sourceforge.net/v2.2/pci.ids) are:

0016 MegaRAID Tri-Mode SAS3508
1028 1fc9 PERC H840 Adapter
1028 1fcb PERC H740P Adapter
1028 1fcd PERC H740P Mini
1028 1fcf PERC H740P Mini

They should be supported from Xenial onwards. The upstream commit is going in for 4.11, so this will need to be backported to v4.4 and v4.10.

I am working on SRU patches for this.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1683587

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel Axtens (daxtens) wrote :

This is relayed from another user, so I cannot directly collect apport data.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Is there any progress on this issue?

Revision history for this message
Daniel Axtens (daxtens) wrote :

Hi,

We currently have a user testing the patches for Xenial onwards.

Regards,
Daniel

Revision history for this message
Edward P (edwardmp) wrote :

Hi

I have a new Dell PowerEdge R640 server a PERC H740P RAID Controller.

I tried to install the latest 16.04 LTS Ubuntu on it, but during installation it failed to detect any disks. After pulling my hair out while diagnosing this issue for hours I finally found this thread.

Can anyone confirm that the behavior I'm seeing (no disks showing up during setup) is because of the lacking support?

If so, is there any way I can test this or to help to speed up the release, as I need to setup this server with Ubuntu but basically I'm stuck due to this.

Revision history for this message
Edward P (edwardmp) wrote :

What I did to get it working for now is creating a modified ISO with kernel version v4.11.12 that has support for this RAID controller. Works fine, so hope this patch is applied to the default kernel that is shipped with Ubuntu soon.

Revision history for this message
Daniel Axtens (daxtens) wrote : Re: [Bug 1683587] Re: LSI Harpoon support in megaraid_sas module

Hi Edward,

I am glad to hear the modified ISO works. I have backported the
patches and am in discussions with the kernel team about including
them in the default kernel.

One of our issues is that the patch set is quite large so we're
worried about regressions - do you have any older H7** raid
controllers? Are you in a position to help with regression testing?

Regards,
Daniel

On Mon, Aug 21, 2017 at 8:26 AM, Edward P <email address hidden> wrote:
> What I did to get it working for now is creating a modified ISO with
> kernel version v4.11.12 that has support for this RAID controller. Works
> fine, so hope this patch is applied to the default kernel that is
> shipped with Ubuntu soon.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1683587
>
> Title:
> LSI Harpoon support in megaraid_sas module
>
> Status in linux package in Ubuntu:
> Confirmed
>
> Bug description:
> The Dell PERC H740 series RAID controllers, codename "Harpoon", are
> not supported in standard Ubuntu kernels.
>
> The kernel patch to support these new devices is:
>
> https://github.com/torvalds/linux/commit/45f4f2eb3da3cbff02c3d77c784c81320c733056
>
> The relevant PCI IDs from the PCI database
> (http://pciids.sourceforge.net/v2.2/pci.ids) are:
>
> 0016 MegaRAID Tri-Mode SAS3508
> 1028 1fc9 PERC H840 Adapter
> 1028 1fcb PERC H740P Adapter
> 1028 1fcd PERC H740P Mini
> 1028 1fcf PERC H740P Mini
>
> They should be supported from Trusty onwards. The upstream commit is
> going in for 4.11, so this will need to be backported to
> v3.13/v4.4/v4.8/v4.10.
>
> I am working on SRU patches for this.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1683587/+subscriptions

Daniel Axtens (daxtens)
description: updated
Revision history for this message
Tommy Giesler (guardion) wrote :

Hi

even though I'm late to the party, I could offer to test the modified kernel with H330, H710 and H730.

If you send me all the necessary things and provide a list of what things to look out for, then I could test these.

Revision history for this message
Pankaj Mansukhani (pmansukh28) wrote :

Hi,

Can someone please inform in which release of Ubuntu 16.04 we are planning to have this fix ?

Revision history for this message
Colin Tregenza Dancer (colintd) wrote :

Is it possible to get a copy of a patched 17.04 iso? I too am trying to get an R740 system installed, and would be happy to give the code a whirl.

Revision history for this message
willmo (willmo) wrote :

Are the patches for 4.4 (Xenial) available somewhere? We'd like patches so we can build the kernel ourselves. We can immediately do basic testing against H730/830 (Invader, previously supported) and H840 (Harpoon, new, probably same as H740 except with external connectors instead of internal). With a little more time and effort we can do some testing on H720 as well.

Revision history for this message
Daniel Axtens (daxtens) wrote :

Hi,

It turns out that support for this driver would require a very large
backport with several series of patches, involving significant
refactoring, code movement and other code change. This makes it very
hard for us to be sure that our backport is correct, and that it's not
going to fail unexpectedly on this new model or on any of the many
older models supported by this driver.

Therefore, we have decided that the complexity and risk of regression
is unacceptably high, and we will not be providing a backport to the
4.4 kernel series.

This means that you will need to use the HWE kernel for this
chassis. The Artful kernel, which is out next week, has full support.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
willmo (willmo) wrote :

Thanks.

It looks like there's also an out-of-tree driver available, if people want to go that direction. (For example, it's available from Dell at https://downloads.dell.com/FOLDER04588242M/1/UnifiedDriver_7.700.52.00_SLES12.tar.gz , found on the drivers and downloads page for the R640 or R740 after selecting SLES or RHEL.) I haven't tried building it on Ubuntu yet.

Revision history for this message
Pierre (pierren) wrote :

Hi,

FWIW, I've put the Dell OOT driver in deb format here: https://github.com/npf/megaraid_sas/ .
Works ok on Debian jessie/stretch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.