Bug 191171

Summary: megaraid_sas fails to recognize RAID on startup, worked with version 4.1.20
Product: SCSI Drivers Reporter: Pierre-Alain Blanc (blancpa)
Component: OtherAssignee: scsi_drivers-other
Status: NEW ---    
Severity: normal CC: kashyap.desai
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.1.36 Subsystem:
Regression: No Bisected commit-id:
Attachments: Boot with kernel 4.1.36 which fails to see RAID
Boot with kerrnel 4.1.20 which works

Description Pierre-Alain Blanc 2016-12-26 08:05:54 UTC
Created attachment 248561 [details]
Boot with kernel 4.1.36 which fails to see RAID

After a kernel update made by openSuSE Leap 42.1 on-line update and a reboot, the kernel didn't find anymore the RAID.
Rebooting with previous kernel (4.1.20) fixed the problem.
See attached journalctl logs (fail & working)

Hardware environment:
- Intel Xeon E5-2650 v2
- Intel C602 Patsburg-A chipset
- 128 GB RAM
- LSI MegaRAID 9261-8i SAS-2 RAID Controller, PCIe 2.0 (512Mb RAM)

OS:
- openSuSE Leap 42.1
Comment 1 Pierre-Alain Blanc 2016-12-26 08:06:42 UTC
Created attachment 248571 [details]
Boot with kerrnel 4.1.20 which works
Comment 2 kashyap 2016-12-26 08:17:02 UTC
(In reply to Pierre-Alain Blanc from comment #1)
> Created attachment 248571 [details]
> Boot with kerrnel 4.1.20 which works

You need  5e5ec1759dd6 ("scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression") PATCH.
Comment 3 Pierre-Alain Blanc 2016-12-26 09:57:39 UTC
(In reply to kashyap from comment #2)
> (In reply to Pierre-Alain Blanc from comment #1)
> > Created attachment 248571 [details]
> > Boot with kerrnel 4.1.20 which works
> 
> You need  5e5ec1759dd6 ("scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to
> avoid regression") PATCH.

OK. Many thanks for your very fast reply ! 
Since my system does work with the "old" kernel, I would like to wait for the patch to be included in next version. Is it OK for you or do you want/need me to test the patch on the 4.1.36 ?

Note: sorry not to have posted the bug report on the openSuSE site.