SAS controller using mpt3sas/mpt2sas fails in 22.04 HWE kernel 6.2

Bug #2032120 reported by Marian Rainer-Harbach
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have an HPE server running Ubuntu 22.04 HWE kernels. The server has an LSI SAS 9212-4i4e controller. It has worked fine for years, up to and including 5.19 kernel series.

Since switching to the 6.2 series (currently 6.2.0-26), initialization of the SAS controller fails with:
kernel: mpt3sas version 43.100.00.00 loaded
kernel: mpt3sas 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
kernel: mpt3sas 0000:03:00.0: BAR 1: can't reserve [mem 0x805c0000-0x805c3fff 64bit]
kernel: mpt2sas_cm0: pci_request_selected_regions: failed
kernel: mpt2sas_cm0: failure at drivers/scsi/mpt3sas/mpt3sas_scsih.c:12348/_scsih_probe()!

Setting the pci=realloc=off kernel parameter as a workaround causes the SAS controller to work again:
kernel: mpt3sas version 43.100.00.00 loaded
kernel: mpt3sas 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
kernel: mpt2sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (20379788 kB)
kernel: mpt2sas_cm0: CurrentHostPageSize is 0: Setting default host page size to 4k
kernel: mpt2sas_cm0: MSI-X vectors supported: 1
kernel: mpt2sas_cm0: 0 1 1
kernel: mpt2sas_cm0: High IOPs queues : disabled
kernel: mpt2sas0-msix0: PCI-MSI-X enabled: IRQ 34
kernel: mpt2sas_cm0: iomem(0x0000000092c40000), mapped(0x000000002b3619b6), size(16384)
kernel: mpt2sas_cm0: ioport(0x0000000000002000), size(256)
kernel: mpt2sas_cm0: CurrentHostPageSize is 0: Setting default host page size to 4k
kernel: mpt2sas_cm0: scatter gather: sge_in_main_msg(1), sge_per_chain(9), sge_per_io(128), chains_per_io(15)
kernel: mpt2sas_cm0: request pool(0x000000003817f1fe) - dma(0x1218c0000): depth(1836), frame_size(128), pool_size(229 kB)
kernel: mpt2sas_cm0: sense pool(0x0000000085ef2f61) - dma(0x122000000): depth(1599), element_size(96), pool_size (149 kB)
kernel: mpt2sas_cm0: reply pool(0x00000000fce25422) - dma(0x122040000): depth(1900), frame_size(128), pool_size(237 kB)
kernel: mpt2sas_cm0: config page(0x00000000d30f2a68) - dma(0x121bb8000): size(512)
kernel: mpt2sas_cm0: Allocated physical memory: size(3652 kB)
kernel: mpt2sas_cm0: Current Controller Queue Depth(1596),Max Controller Queue Depth(1720)
kernel: mpt2sas_cm0: Scatter Gather Elements per IO(128)
kernel: mpt2sas_cm0: LSISAS2008: FWVersion(15.00.00.00), ChipRevision(0x03), BiosVersion(07.27.01.00)
kernel: mpt2sas_cm0: Protocol=(Initiator), Capabilities=(Raid,TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
kernel: mpt2sas_cm0: sending port enable !!
kernel: mpt2sas_cm0: hba_port entry: 0000000089564428, port: 255 is added to hba_port list
kernel: mpt2sas_cm0: host_add: handle(0x0001), sas_addr(0x500605b006509f50), phys(8)
kernel: mpt2sas_cm0: handle(0x9) sas_address(0x51402ec012084604) port_type(0x1)
kernel: mpt2sas_cm0: port enable: SUCCESS

Tags: jammy 22.04 hwe
Revision history for this message
Marian Rainer-Harbach (marianrh) wrote :
Revision history for this message
Marian Rainer-Harbach (marianrh) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Maciej Urbanowicz (murbspace) wrote :

I had to downgrade my Ubuntu Server to older 20.04 LTS (kernel 5.15) in order to be able to use my NAS.

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.