Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Sat, Nov 09, 2019 at 04:51:38PM -0500, Chris Ross wrote: > > > Can you provide some guidance of what I need to do to get the mrsas > > > driver to identify it when booting the install ISO? > > > > See the "PRIORITY" section of > > > > https://www.freebsd.org/cgi/man.cgi?query=mrsas=4 > > > > You can also set that tunable via the loader > > Hmm. Okay. I know I was messing with that parameter on one of these > machines, I though I'd tried it on this one. But, maybe that was the > older box with the HBA in it. Alright, my bad. Apologies to all. So, it turns out that this controller is not recognized in 12.0, but is recognized by later stable-12 builds. I have another problem that prevented 12.1 from booting at all, and I tried investigating both at the same time. This caused me to confuse things. My error. Thanks to all, and this seems to be working in stable-12 in the neighborhood of Oct 2019, perhaps earlier. - Chris ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Sat, Nov 09, 2019 at 04:48:10PM +, Gary Palmer wrote: > > Hi Doug! Thanks. Okay, I infer from that that the mpr driver is for > > HBAs that aren't raid? Grepping through the sources for 3516 found me > > only mpr. Looking more carefully, at mrsas while knowing specifically > > what I'm looking for, I find the PCI device ID (0x0014) as "AVAGO Ventura > > SAS Controller". And, that code (mrsas) is about the same in stable-12 as > > is it in -current. > > > > Can you provide some guidance of what I need to do to get the mrsas > > driver to identify it when booting the install ISO? > > See the "PRIORITY" section of > > https://www.freebsd.org/cgi/man.cgi?query=mrsas=4 > > You can also set that tunable via the loader Hmm. Okay. I know I was messing with that parameter on one of these machines, I though I'd tried it on this one. But, maybe that was the older box with the HBA in it. While I try that, I have a question. I understood that tunable to be a way to get the mfi(4) driver to allow the mrsas(4) driver to be used for devices they both would recognize. But, in this case, it's clear that the mfi(4) driver has now knowledge of this device. Is that tunable being set necessary to have the mrsas(4) driver even find the devices it knows how to support that mfi(4) doesn't? If so, that's a very unfortunate situation. Because there will be a significant set of controllers, like the one I have in this system, that totally fail to present themselves when installing from the install media. Maybe this is a political issue, and I should stop thinking about it, but. Let me know if I'm understanding the technical side, that there are cards mfi(4) has no support for, but this tunable prevents mrsas(4) from attaching them? - Chris ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Sat, Nov 09, 2019 at 11:38:54AM -0500, Chris Ross wrote: > On Fri, Nov 08, 2019 at 02:28:17PM -0800, Doug Ambrisko wrote: > > On Tue, Nov 05, 2019 at 09:44:36PM +0100, Miroslav Lachman wrote: > > | Chris Ross wrote on 11/05/2019 21:19: > > | > On Tue, Nov 05, 2019 at 08:20:15PM +0100, Miroslav Lachman wrote: > > | >> Chris Ross wrote on 11/05/2019 19:34: > > | >>> Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls > > itself > > | >>> "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. > > | >>> Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, > > which > > | >>> looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this > > should > > | >>> be supported by the mpr(4) driver, but it doesn't seem to recognize it > > | >>> at boot time. > > | > > | mpr_load="YES" goes to /etc/loader.conf > > | > > | If you need to load mpr manually in boot prompt I am not sure if it > > | should be: > > | load mpr > > | or > > | load mpr.ko > > | of full path > > | load /boot/kernel/mpr.ko > > > > This should be a mrsas card and not an HBA! mrsas supports all current > > UCS RAID cards ... and the next unreleased UCS system :-) You might need > > the one in -current for that. I'm not sure what is in 12.1. > > Hi Doug! Thanks. Okay, I infer from that that the mpr driver is for > HBAs that aren't raid? Grepping through the sources for 3516 found me > only mpr. Looking more carefully, at mrsas while knowing specifically > what I'm looking for, I find the PCI device ID (0x0014) as "AVAGO Ventura > SAS Controller". And, that code (mrsas) is about the same in stable-12 as > is it in -current. > > Can you provide some guidance of what I need to do to get the mrsas > driver to identify it when booting the install ISO? See the "PRIORITY" section of https://www.freebsd.org/cgi/man.cgi?query=mrsas=4 You can also set that tunable via the loader Regards, Gary ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Fri, Nov 08, 2019 at 02:28:17PM -0800, Doug Ambrisko wrote: > On Tue, Nov 05, 2019 at 09:44:36PM +0100, Miroslav Lachman wrote: > | Chris Ross wrote on 11/05/2019 21:19: > | > On Tue, Nov 05, 2019 at 08:20:15PM +0100, Miroslav Lachman wrote: > | >> Chris Ross wrote on 11/05/2019 19:34: > | >>> Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls > itself > | >>> "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. > | >>> Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, which > | >>> looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this should > | >>> be supported by the mpr(4) driver, but it doesn't seem to recognize it > | >>> at boot time. > | > | mpr_load="YES" goes to /etc/loader.conf > | > | If you need to load mpr manually in boot prompt I am not sure if it > | should be: > | load mpr > | or > | load mpr.ko > | of full path > | load /boot/kernel/mpr.ko > > This should be a mrsas card and not an HBA! mrsas supports all current > UCS RAID cards ... and the next unreleased UCS system :-) You might need > the one in -current for that. I'm not sure what is in 12.1. Hi Doug! Thanks. Okay, I infer from that that the mpr driver is for HBAs that aren't raid? Grepping through the sources for 3516 found me only mpr. Looking more carefully, at mrsas while knowing specifically what I'm looking for, I find the PCI device ID (0x0014) as "AVAGO Ventura SAS Controller". And, that code (mrsas) is about the same in stable-12 as is it in -current. Can you provide some guidance of what I need to do to get the mrsas driver to identify it when booting the install ISO? - Chris ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Tue, Nov 05, 2019 at 09:44:36PM +0100, Miroslav Lachman wrote: | Chris Ross wrote on 11/05/2019 21:19: | > On Tue, Nov 05, 2019 at 08:20:15PM +0100, Miroslav Lachman wrote: | >> Chris Ross wrote on 11/05/2019 19:34: | >>> Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls itself | >>> "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. | >>> Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, which | >>> looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this should | >>> be supported by the mpr(4) driver, but it doesn't seem to recognize it | >>> at boot time. | >> | >> Do you have mpr_load="YES" in loader.conf? | >> Or for ISO booting you can manually load kernel modules at boot prompt. | > | > I dropped to boot prompt in ISO boot, and entered 'mpr_load="YES"'. | > | > I tried "load", but wasn't able to devine how to load the mpr module with | > that. Is that needed, or should 'mpr_load="YES"' have accomplished the | > desired result? | | mpr_load="YES" goes to /etc/loader.conf | | If you need to load mpr manually in boot prompt I am not sure if it | should be: | load mpr | or | load mpr.ko | of full path | load /boot/kernel/mpr.ko This should be a mrsas card and not an HBA! mrsas supports all current UCS RAID cards ... and the next unreleased UCS system :-) You might need the one in -current for that. I'm not sure what is in 12.1. Doug A. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Wed, Nov 06, 2019 at 08:44:35AM +1100, Dewayne Geraghty wrote: > Chris, > After you've booted the kernel, the correct way to load a module that isn't > already in the kernel, is to: > kldload mpr > To check if mpr is loaded, try > kldstat -v|grep mpr Thanks for this. I was able to boot and verify that pci/mpr is already loaded, and trying "kldload mpr" reports that it's already loaded from the kernel. So, device just not recognized. > However, if you've already placed > mpr_load="YES" in your /etc/loader.conf and rebooted your device, then you > probably need to move into a diagnostic phase. Yeah. I think I see what PCI id is missing in the driver, after digging around in the sources. I was just hoping it was a process/human error. I'll get another machine running a build, and see if I can stub it in. Thanks all. - Chris ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
Chris, After you've booted the kernel, the correct way to load a module that isn't already in the kernel, is to: kldload mpr To check if mpr is loaded, try kldstat -v|grep mpr However, if you've already placed mpr_load="YES" in your /etc/loader.conf and rebooted your device, then you probably need to move into a diagnostic phase. On Wed, 6 Nov 2019 at 08:04, Chris Ross wrote: > On Tue, Nov 05, 2019 at 12:29:00PM -0800, Freddie Cash wrote: > > > I tried "load", but wasn't able to devine how to load the mpr module > with > > > that. Is that needed, or should 'mpr_load="YES"' have accomplished the > > > desired result? > > > > modulename_load="YES" is the syntax used in the loader.conf file. > > "load modulename" (without the quotes) is the syntax used at the loader > > prompt. > > > > So at the loader prompt, try the following: load mpr > > Or possibly: load mpr.ko > > Or, to get right finicky: load /boot/kernel/mpr.ko > > Thanks Freddie and Miroslav. > > I tried "load mpr" earler, but it complained it couldn't find it. I tried > again a few minutes ago using "load /boot/kernel/mpr.ko", which spun for > a bit then complained it couldn't load it before the kernel. I then > loaded the kernel (by full path), and tried again, with no response. Just > an immediate prompt. I tried "load /boot/kernel/zfs.ko" as well, in case > mpr.ko was already still in memory, but that also returned an immediate > prompt > without saying anything. So, I think I still have something wrong with my > attempts to "load". Should loading the mpr.ko before the kernel work? It > didn't with my last attempt (which I realize now was 12.0-RELEASE, > not 12.1-RELEASE). > >- Chris > ___ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" > -- *Disclaimer:* *As implied by email protocols, the information in this message is not confidential. Any intermediary or recipient may inspect, modify (add), copy, forward, reply to, delete, or filter email for any purpose unless said parties are otherwise obligated. Nothing in this message may be legally binding without cryptographic evidence of its integrity and/or confidentiality.* ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Tue, Nov 05, 2019 at 12:29:00PM -0800, Freddie Cash wrote: > > I tried "load", but wasn't able to devine how to load the mpr module with > > that. Is that needed, or should 'mpr_load="YES"' have accomplished the > > desired result? > > modulename_load="YES" is the syntax used in the loader.conf file. > "load modulename" (without the quotes) is the syntax used at the loader > prompt. > > So at the loader prompt, try the following: load mpr > Or possibly: load mpr.ko > Or, to get right finicky: load /boot/kernel/mpr.ko Thanks Freddie and Miroslav. I tried "load mpr" earler, but it complained it couldn't find it. I tried again a few minutes ago using "load /boot/kernel/mpr.ko", which spun for a bit then complained it couldn't load it before the kernel. I then loaded the kernel (by full path), and tried again, with no response. Just an immediate prompt. I tried "load /boot/kernel/zfs.ko" as well, in case mpr.ko was already still in memory, but that also returned an immediate prompt without saying anything. So, I think I still have something wrong with my attempts to "load". Should loading the mpr.ko before the kernel work? It didn't with my last attempt (which I realize now was 12.0-RELEASE, not 12.1-RELEASE). - Chris ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
Chris Ross wrote on 11/05/2019 21:19: On Tue, Nov 05, 2019 at 08:20:15PM +0100, Miroslav Lachman wrote: Chris Ross wrote on 11/05/2019 19:34: Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls itself "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, which looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this should be supported by the mpr(4) driver, but it doesn't seem to recognize it at boot time. Do you have mpr_load="YES" in loader.conf? Or for ISO booting you can manually load kernel modules at boot prompt. I dropped to boot prompt in ISO boot, and entered 'mpr_load="YES"'. I tried "load", but wasn't able to devine how to load the mpr module with that. Is that needed, or should 'mpr_load="YES"' have accomplished the desired result? mpr_load="YES" goes to /etc/loader.conf If you need to load mpr manually in boot prompt I am not sure if it should be: load mpr or load mpr.ko of full path load /boot/kernel/mpr.ko Kind Regards Miroslav Lachman ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Tue, Nov 5, 2019 at 12:20 PM Chris Ross wrote: > On Tue, Nov 05, 2019 at 08:20:15PM +0100, Miroslav Lachman wrote: > > Chris Ross wrote on 11/05/2019 19:34: > > > Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls > itself > > > "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. > > > Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, > which > > > looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this > should > > > be supported by the mpr(4) driver, but it doesn't seem to recognize it > > > at boot time. > > > > Do you have mpr_load="YES" in loader.conf? > > Or for ISO booting you can manually load kernel modules at boot prompt. > > I dropped to boot prompt in ISO boot, and entered 'mpr_load="YES"'. > > I tried "load", but wasn't able to devine how to load the mpr module with > that. Is that needed, or should 'mpr_load="YES"' have accomplished the > desired result? > modulename_load="YES" is the syntax used in the loader.conf file. "load modulename" (without the quotes) is the syntax used at the loader prompt. So at the loader prompt, try the following: load mpr Or possibly: load mpr.ko Or, to get right finicky: load /boot/kernel/mpr.ko You should be able to use "ls" to see what .ko files are available, and in which directory, in order to load them. -- Freddie Cash fjwc...@gmail.com ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
On Tue, Nov 05, 2019 at 08:20:15PM +0100, Miroslav Lachman wrote: > Chris Ross wrote on 11/05/2019 19:34: > > Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls itself > > "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. > > Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, which > > looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this should > > be supported by the mpr(4) driver, but it doesn't seem to recognize it > > at boot time. > > Do you have mpr_load="YES" in loader.conf? > Or for ISO booting you can manually load kernel modules at boot prompt. I dropped to boot prompt in ISO boot, and entered 'mpr_load="YES"'. I tried "load", but wasn't able to devine how to load the mpr module with that. Is that needed, or should 'mpr_load="YES"' have accomplished the desired result? - Chris ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
Chris Ross wrote on 11/05/2019 19:34: Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls itself "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, which looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this should be supported by the mpr(4) driver, but it doesn't seem to recognize it at boot time. Is there some magic I need to perform for the 12.1-RELEASE image ISO boot to get this driver loaded, or will some internal changes be needed to support this particular part due to quirks? Let me know any information I can provide that will help diagnose. Thank you. Do you have mpr_load="YES" in loader.conf? Or for ISO booting you can manually load kernel modules at boot prompt. https://www.freebsd.org/cgi/man.cgi?query=loader%288%29 On a boot prompt: load [-t type] file ... boot Miroslav Lachman ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ?
Hello. I have a Cisco UCS C220-M5 with a RAID controller. It calls itself "Cisco 12G Modular Raid Controller with 2GB cache", PPID UCSC-RAID-M5. Looking at the CIMC, it shows the PCI vendor/device ids 1000:0014, which looks to be an LSI MegaRAID Tri-Mode SAS3516. It looks like this should be supported by the mpr(4) driver, but it doesn't seem to recognize it at boot time. Is there some magic I need to perform for the 12.1-RELEASE image ISO boot to get this driver loaded, or will some internal changes be needed to support this particular part due to quirks? Let me know any information I can provide that will help diagnose. Thank you. - Chris ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"