Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-28-2023, 10:46 AM
|
#1
|
LQ Newbie
Registered: Jul 2023
Posts: 3
Rep:
|
megaraid controller not showing up as drive
I have a megaRAID 9540-2M2 installed. In windows10 I can interact with it using storCLI and see it as a valid drive, but I'm having problems with my debian system dual booted on the same machine.
The device is detected:
Code:
$ lspci -v | grep -i megaraid
Code:
08:00.0 RAID bus controller: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS38xx
Subsystem: Broadcom / LSI MegaRAID 9540-2M2
Kernel modules: megaraid_sas
But storCLI can't find it:
Code:
$ sudo /opt/MegaRAID/storcli/storcli64 show
Code:
CLI Version = 007.2612.0000.0000 June 13, 2023
Operating system = Linux 6.1.0-10-amd64
Status Code = 0
Status = Success
Description = None
Number of Controllers = 0
Host Name = glassDeb
Operating System = Linux 6.1.0-10-amd64
Whereas this same command on windows finds the controller.
And it doesn't show up on fdisk at all.
Running debian 12 with kernel 6.1.0-10-amd64. Already updated the device firmware to latest available version.
What am I missing?
|
|
|
07-28-2023, 10:49 AM
|
#2
|
LQ Newbie
Registered: Jul 2023
Posts: 3
Original Poster
Rep:
|
I've also already installed the drives for debian from broadcomms website:
Code:
$ sudo modinfo megaraid_sas
filename: /lib/modules/6.1.0-10-amd64/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: Broadcom MegaRAID SAS Driver
author: megaraidlinux.pdl@broadcom.com
version: 07.719.03.00-rc1
license: GPL
srcversion: 338342EDD80423BCAF009A0
alias: pci:v00001000d000010E7sv*sd*bc*sc*i*
alias: pci:v00001000d000010E4sv*sd*bc*sc*i*
alias: pci:v00001000d000010E3sv*sd*bc*sc*i*
alias: pci:v00001000d000010E0sv*sd*bc*sc*i*
alias: pci:v00001000d000010E6sv*sd*bc*sc*i*
alias: pci:v00001000d000010E5sv*sd*bc*sc*i*
alias: pci:v00001000d000010E2sv*sd*bc*sc*i*
alias: pci:v00001000d000010E1sv*sd*bc*sc*i*
alias: pci:v00001000d0000001Csv*sd*bc*sc*i*
alias: pci:v00001000d0000001Bsv*sd*bc*sc*i*
alias: pci:v00001000d00000017sv*sd*bc*sc*i*
alias: pci:v00001000d00000016sv*sd*bc*sc*i*
alias: pci:v00001000d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000014sv*sd*bc*sc*i*
alias: pci:v00001000d00000053sv*sd*bc*sc*i*
alias: pci:v00001000d00000052sv*sd*bc*sc*i*
alias: pci:v00001000d000000CFsv*sd*bc*sc*i*
alias: pci:v00001000d000000CEsv*sd*bc*sc*i*
alias: pci:v00001000d0000005Fsv*sd*bc*sc*i*
alias: pci:v00001000d0000005Dsv*sd*bc*sc*i*
alias: pci:v00001000d0000002Fsv*sd*bc*sc*i*
alias: pci:v00001000d0000005Bsv*sd*bc*sc*i*
alias: pci:v00001028d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000413sv*sd*bc*sc*i*
alias: pci:v00001000d00000071sv*sd*bc*sc*i*
alias: pci:v00001000d00000073sv*sd*bc*sc*i*
alias: pci:v00001000d00000079sv*sd*bc*sc*i*
alias: pci:v00001000d00000078sv*sd*bc*sc*i*
alias: pci:v00001000d0000007Csv*sd*bc*sc*i*
alias: pci:v00001000d00000060sv*sd*bc*sc*i*
alias: pci:v00001000d00000411sv*sd*bc*sc*i*
depends: scsi_mod
retpoline: Y
intree: Y
name: megaraid_sas
vermagic: 6.1.0-10-amd64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Debian Secure Boot CA
sig_key: 32:A0:28:7F:84:1A:03:6F:A3:93:C1:E0:65:C4:3A:E6:B2:42:26:43
sig_hashalgo: sha256
signature: 51:6A:12:EC:BB:96:C7:53:49:77:4F:AC:F6:C8:A1:56:BA:D6:21:08:
4B:24:76:98:CF:74:99:15:F9:7B:23:72:C6:EB:78:70:43:FF:50:72:
F3:74:6A:A9:7F:D5:AD:9B:35:46:2F:C8:C1:8C:DD:43:E6:1D:EF:7C:
1B:18:55:79:35:E2:9F:FD:D6:36:D6:1D:09:B3:3D:AA:0F:1C:45:40:
08:A1:EF:63:59:48:5D:6A:DD:23:E7:22:82:06:EB:27:3A:5F:31:EB:
FC:D6:D0:D6:91:A7:CD:2F:BB:F9:65:4C:04:52:FE:27:83:F5:B7:1D:
52:75:75:AA:71:65:CF:80:F1:61:FC:39:75:84:91:F3:32:B2:10:32:
ED:FE:10:EC:8B:C3:90:B1:5D:36:E9:61:E9:6A:C4:E6:8E:A2:00:8D:
AB:7E:43:1A:6B:FF:77:EA:05:EF:50:01:06:0F:53:97:D6:62:96:F6:
C6:B4:F1:E0:B1:15:AD:B6:40:80:A4:97:72:CC:9F:3C:F0:F4:35:A6:
65:0D:76:77:F4:50:A4:C4:90:E6:41:0F:85:33:53:EA:CC:2F:C6:52:
75:8F:9C:E1:49:A9:A5:73:38:11:6E:E4:45:08:60:F5:80:69:8A:CF:
61:8B:45:84:03:DB:4E:4E:A6:8C:0A:0C:A1:3A:46:6A
parm: lb_pending_cmds:Change raid-1 load balancing outstanding threshold. Valid Values are 1-128. Default: 4 (int)
parm: max_sectors:Maximum number of sectors per IO command (int)
parm: msix_disable:Disable MSI-X interrupt handling. Default: 0 (int)
parm: msix_vectors:MSI-X max vector count. Default: Set by FW (int)
parm: allow_vf_ioctls:Allow ioctls in SR-IOV VF mode. Default: 0 (int)
parm: throttlequeuedepth:Adapter queue depth when throttled due to I/O timeout. Default: 16 (int)
parm: resetwaittime:Wait time in (1-180s) after I/O timeout before resetting adapter. Default: 180s (int)
parm: smp_affinity_enable:SMP affinity feature enable/disable Default: enable(1) (int)
parm: rdpq_enable:Allocate reply queue in chunks for large queue depth enable/disable Default: enable(1) (int)
parm: dual_qdepth_disable:Disable dual queue depth feature. Default: 0 (int)
parm: scmd_timeout:scsi command timeout (10-90s), default 90s. See megasas_reset_timer. (int)
parm: perf_mode:Performance mode (only for Aero adapters), options:
0 - balanced: High iops and low latency queues are allocated &
interrupt coalescing is enabled only on high iops queues
1 - iops: High iops queues are not allocated &
interrupt coalescing is enabled on all queues
2 - latency: High iops queues are not allocated &
interrupt coalescing is disabled on all queues
default mode is 'balanced' (int)
parm: event_log_level:Asynchronous event logging level- range is: -2(CLASS_DEBUG) to 4(CLASS_DEAD), Default: 2(CLASS_CRITICAL) (int)
parm: enable_sdev_max_qd:Enable sdev max qd as can_queue. Default: 0 (int)
parm: poll_queues:Number of queues to be use for io_uring poll mode.
This parameter is effective only if host_tagset_enable=1 &
It is not applicable for MFI_SERIES. &
Driver will work in latency mode. &
High iops queues are not allocated &
(int)
parm: host_tagset_enable:Shared host tagset enable/disable Default: enable(1) (int)
|
|
|
03-10-2024, 03:00 PM
|
#3
|
LQ Newbie
Registered: Mar 2024
Posts: 2
Rep:
|
Same issue
It seems I am having exactly the same issue. I don't suppose you are able to explain were you able to resolve it?
The Raid bus controller appears to be recognized:
Code:
root@Tmubian:/opt/MegaRAID/storcli# lspci -v | grep -i megaraid
01:00.0 RAID bus controller: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS38xx
Subsystem: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS38xx
Kernel modules: megaraid_sas
But Storcli does not seem to be able to find the controller:
Code:
root@Tmubian:/opt/MegaRAID/storcli# /opt/MegaRAID/storcli/storcli64 show
CLI Version = 007.2807.0000.0000 Dec 22, 2023
Operating system = Linux 6.1.0-18-amd64
Status Code = 0
Status = Success
Description = None
Number of Controllers = 0
Host Name = Tmubian
Operating System = Linux 6.1.0-18-amd64
Code:
root@Tmubian:/opt/MegaRAID/storcli# sudo modinfo megaraid_sas
filename: /lib/modules/6.1.0-18-amd64/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: Broadcom MegaRAID SAS Driver
author: megaraidlinux.pdl@broadcom.com
version: 07.719.03.00-rc1
license: GPL
srcversion: 90F097156D9D67A1BF6B11B
alias: pci:v00001000d000010E7sv*sd*bc*sc*i*
alias: pci:v00001000d000010E4sv*sd*bc*sc*i*
alias: pci:v00001000d000010E3sv*sd*bc*sc*i*
alias: pci:v00001000d000010E0sv*sd*bc*sc*i*
alias: pci:v00001000d000010E6sv*sd*bc*sc*i*
alias: pci:v00001000d000010E5sv*sd*bc*sc*i*
alias: pci:v00001000d000010E2sv*sd*bc*sc*i*
alias: pci:v00001000d000010E1sv*sd*bc*sc*i*
alias: pci:v00001000d0000001Csv*sd*bc*sc*i*
alias: pci:v00001000d0000001Bsv*sd*bc*sc*i*
alias: pci:v00001000d00000017sv*sd*bc*sc*i*
alias: pci:v00001000d00000016sv*sd*bc*sc*i*
alias: pci:v00001000d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000014sv*sd*bc*sc*i*
alias: pci:v00001000d00000053sv*sd*bc*sc*i*
alias: pci:v00001000d00000052sv*sd*bc*sc*i*
alias: pci:v00001000d000000CFsv*sd*bc*sc*i*
alias: pci:v00001000d000000CEsv*sd*bc*sc*i*
alias: pci:v00001000d0000005Fsv*sd*bc*sc*i*
alias: pci:v00001000d0000005Dsv*sd*bc*sc*i*
alias: pci:v00001000d0000002Fsv*sd*bc*sc*i*
alias: pci:v00001000d0000005Bsv*sd*bc*sc*i*
alias: pci:v00001028d00000015sv*sd*bc*sc*i*
alias: pci:v00001000d00000413sv*sd*bc*sc*i*
alias: pci:v00001000d00000071sv*sd*bc*sc*i*
alias: pci:v00001000d00000073sv*sd*bc*sc*i*
alias: pci:v00001000d00000079sv*sd*bc*sc*i*
alias: pci:v00001000d00000078sv*sd*bc*sc*i*
alias: pci:v00001000d0000007Csv*sd*bc*sc*i*
alias: pci:v00001000d00000060sv*sd*bc*sc*i*
alias: pci:v00001000d00000411sv*sd*bc*sc*i*
depends: scsi_mod
retpoline: Y
intree: Y
name: megaraid_sas
vermagic: 6.1.0-18-amd64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Debian Secure Boot CA
sig_key: 32:A0:28:7F:84:1A:03:6F:A3:93:C1:E0:65:C4:3A:E6:B2:42:26:43
sig_hashalgo: sha256
signature: 71:5E:CC:D5:C2:AE:C5:CE:C0:20:59:0E:29:1D:42:2B:1E:9C:60:95:
67:B3:3B:A3:B1:81:5C:FE:FD:A8:68:4E:FC:13:23:5F:4C:B4:AE:0D:
1B:36:89:5A:80:BA:7B:D6:16:7A:39:BA:9D:06:2D:78:17:16:77:72:
64:CC:63:7D:B7:C9:6B:C8:21:96:FD:BC:D5:16:8A:86:E4:E4:56:B1:
E4:CE:41:40:D0:57:4A:E3:70:46:7C:EB:5E:5E:1B:29:EF:3B:91:6F:
21:B4:24:C6:97:A6:42:AF:58:AD:79:74:7C:21:15:27:5C:0B:A4:AF:
F4:89:64:B3:71:A6:9C:27:C0:38:0C:CD:46:22:81:8A:D1:98:B8:D2:
3A:D7:F9:ED:02:C1:B1:B0:4A:8F:2B:34:1F:D8:B1:CC:49:CF:80:2B:
C9:7E:0C:4F:A1:1D:20:AB:C3:DB:FA:02:D3:A2:07:72:23:BD:C3:93:
D2:C9:62:4B:3B:FC:C4:D9:0B:88:FC:07:1B:25:BC:50:83:C4:90:B7:
C9:B7:E4:3A:2D:45:FD:D4:9D:CA:E4:BF:F7:29:83:D0:E6:B6:AB:F7:
D0:41:78:1C:CA:11:CE:1A:45:21:62:72:95:18:83:52:5B:F4:AF:C2:
1D:46:9E:C6:F4:E0:82:79:87:B8:6B:79:20:53:00:00
parm: lb_pending_cmds:Change raid-1 load balancing outstanding threshold. Valid Values are 1-128. Default: 4 (int)
parm: max_sectors:Maximum number of sectors per IO command (int)
parm: msix_disable:Disable MSI-X interrupt handling. Default: 0 (int)
parm: msix_vectors:MSI-X max vector count. Default: Set by FW (int)
parm: allow_vf_ioctls:Allow ioctls in SR-IOV VF mode. Default: 0 (int)
parm: throttlequeuedepth:Adapter queue depth when throttled due to I/O timeout. Default: 16 (int)
parm: resetwaittime:Wait time in (1-180s) after I/O timeout before resetting adapter. Default: 180s (int)
parm: smp_affinity_enable:SMP affinity feature enable/disable Default: enable(1) (int)
parm: rdpq_enable:Allocate reply queue in chunks for large queue depth enable/disable Default: enable(1) (int)
parm: dual_qdepth_disable:Disable dual queue depth feature. Default: 0 (int)
parm: scmd_timeout:scsi command timeout (10-90s), default 90s. See megasas_reset_timer. (int)
parm: perf_mode:Performance mode (only for Aero adapters), options:
0 - balanced: High iops and low latency queues are allocated &
interrupt coalescing is enabled only on high iops queues
1 - iops: High iops queues are not allocated &
interrupt coalescing is enabled on all queues
2 - latency: High iops queues are not allocated &
interrupt coalescing is disabled on all queues
default mode is 'balanced' (int)
parm: event_log_level:Asynchronous event logging level- range is: -2(CLASS_DEBUG) to 4(CLASS_DEAD), Default: 2(CLASS_CRITICAL) (int)
parm: enable_sdev_max_qd:Enable sdev max qd as can_queue. Default: 0 (int)
parm: poll_queues:Number of queues to be use for io_uring poll mode.
This parameter is effective only if host_tagset_enable=1 &
It is not applicable for MFI_SERIES. &
Driver will work in latency mode. &
High iops queues are not allocated &
(int)
parm: host_tagset_enable:Shared host tagset enable/disable Default: enable(1) (int)
|
|
|
03-12-2024, 01:51 PM
|
#4
|
LQ Newbie
Registered: Jul 2023
Posts: 3
Original Poster
Rep:
|
Sort of. Never got it working with that install, but I later installed Fedora desktop and everything worked properly. Probably some drivers that hadn't made it into Debian.
|
|
|
03-12-2024, 04:36 PM
|
#5
|
Moderator
Registered: Mar 2008
Posts: 22,240
|
Is there a raid bios key command to enter config?
|
|
|
03-23-2024, 10:32 PM
|
#6
|
Member
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 279
Rep:
|
@Tmuussoni , Try a ..
Code:
lspci -v | grep -i megaraid
take the three digit sequence you get and do a ...
Code:
lspci -v -s ${Sequence}
See if there is anything out of the ordinary , Bel is my output that is working well .
Code:
# lspci -v -s 04:00.0
04:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS-3 3108 [Invader] (rev 02)
Subsystem: LSI Logic / Symbios Logic MegaRAID SAS 9361-8i
Flags: bus master, fast devsel, latency 0, IRQ 29
I/O ports at d000 [size=256]
Memory at fba00000 (64-bit, non-prefetchable) [size=64K]
Memory at fb900000 (64-bit, non-prefetchable) [size=1M]
Expansion ROM at fb800000 [disabled] [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [68] Express Endpoint, MSI 00
Capabilities: [d0] Vital Product Data
Capabilities: [a8] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=97 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [1e0] #19
Capabilities: [1c0] Power Budgeting <?>
Capabilities: [148] Alternative Routing-ID Interpretation (ARI)
Kernel driver in use: megaraid_sas
|
|
|
04-27-2024, 10:05 PM
|
#7
|
Member
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 279
Rep:
|
@Tmuussoni , Well I was being blind you'd already done what I asked within your first post .
I went & whacked at the Broadcom/megaraid & found a document concerning drives they are aware that function with you controller . The only other possibilty is that since then a newer kernel has an updated driver .
Hth , JimL
https://techdocs.broadcom.com/conten...rt-ditamap.pdf
|
|
|
06-19-2024, 05:38 PM
|
#8
|
LQ Newbie
Registered: Jun 2024
Location: Germany
Distribution: Manjaro, Debian, Ubuntu
Posts: 4
Rep:
|
Hi just try thé following command:
sudo storcli /c0 /eall /sall show
|
|
|
06-20-2024, 12:56 AM
|
#9
|
LQ Newbie
Registered: Mar 2024
Posts: 2
Rep:
|
Hi,
Just to let you know I gave up on the issue. Just couldn't get it working. I tried 5 linux distros and problems on all of them. Sold the RAID controller and went for a different approach.
Thanks all for assistance anyway.
|
|
|
All times are GMT -5. The time now is 11:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|