Closed wallentx closed 2 years ago
@wallentx - I know there was one patch that was required when I was trying to compile the ARM64 driver for Raspberry Pi OS. It was because of a bug with the way writeq()
works on the Raspberry Pi 64-bit OS in particular: https://github.com/raspberrypi/linux/issues/4158
Just taking a moment to share this link, which has cleared up so much confusion I've had since I entered the world of enterprise storage hardware: https://forums.servethehome.com/index.php?threads/broadcom-lsi-avago-hba-and-raid-controller-technical-discussion.24119/
Wow. Ok. For what I want to do in the end, I need to get some IT firmware on this card, and now I'm realizing that a 9305-16e that I returned wasn't broke..
Dropping a nice photo of the card in this thread for reference—pilfered from this newegg listing.
.
I've been stuck on this simply due to me not understanding how to interact with my JBOD using storcli
. It's like I'm needing it in "IT mode", except that there isn't an IT mode with the tri-mode cards(?)
storcli
can be a little bit complicated, but some of the basics I remember:
sudo ./storcli64 /c0 show
Will show a detailed summary of the adapter and all the physical disks attached, along with attached 'enclosures' (if any).
Something like:
sudo ./storcli64 /c0 add vd r1 name=myraid1 drives=251:0-3 pdcache=default AWB ra direct Strip=64
Will add a virtual drive in raid 1 with four drives from enclosure 251 (0-3), named myraid1
.
The StorCLI Reference Manual has everything, but it's a bit of a read :)
@wallentx have you had any luck with above hints?
@wallentx have you had any luck with above hints?
@mi-hol Life got very busy, and I haven't budgeted time to get at this. I'll try to give it a go this week.
I'm gonna call this card 'working', though please feel free to continue adding to the issue if you find anything new here. It's still linked from the card's page and is Google-able, I just want to close issues where the original task is accomplished ;)
For the sake of completion, I did actually get a Cisco UCSC-9400-8E Brocade Broadcom 9400-8e
working and hooked up to 3 jbods with an Nvidia Jetson Orin Nano. I had to crossflash it.
Starting issue for 9440-8i from https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/196#issuecomment-917255610
Where I'm at now: I realized the 9440-8i uses megaraid_sas, rather than mpt3sas. My Waveshare CM4-IO-POE-Box-B arrived, so I switched to that.
Built the kernel with advised details, and also patched megaraid_sas_fusion.c that shipped with the kernel, and booted.
Here's dmesg output:
And lspci output:
And storcli64 output:
I grabbed the
07.1803.0200.0000
drivers from the Intel site (they look to just be the same as Broadcom), and tried tocompile.sh
them, but was getting some errors that seem to be due to gcc8? So I've been compiling gcc10 on the pi for several hours now.. and forgive me if this is just be being dumb, but I shouldn't expect to be able to compile these drivers on arm64, right? You mentioned (somewhere) that you needed drivers that were arm64 compatible.. the drivers I downloaded had an ARM folder within the archive, so I'm assuming I'm on the right track..