{"id":9387,"date":"2026-08-01T21:27:19","date_gmt":"2026-08-02T04:27:19","guid":{"rendered":"https:\/\/blog.networkpresence.co\/?p=9387"},"modified":"2026-08-01T21:27:19","modified_gmt":"2026-08-02T04:27:19","slug":"adding-areca-storage-controller-drivers-to-rhel-9-based-linux","status":"publish","type":"post","link":"https:\/\/blog.networkpresence.co\/?p=9387","title":{"rendered":"Adding Areca storage controller drivers to RHEL 9 based Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Adding an Areca ARC-188x series PCIe 2.0\/3.0 to SAS\/SATA 6\/12Gb RAID Controller to a server involved installing the arcmsr driver to the existing CentOS 9 based Linux OS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This install from source from the vendor was required because the package install for kmod-acrmsr failed with an error:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>nothing provides kernel(_dev_info) = 0x749cbadd needed by kmod-arcmsr-1.50.00.05-20210429.12.el9_8.elrepo.x86_64 from elrepo<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Steps to obtain build and install the arcmsr driver were:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">a) Determine the driver to download it and download it to \/usr\/local\/src\/<br>Use the output of &#8220;<code>lspci | grep Areca<\/code>&#8221; to identify the card&#8217;s model # (&#8220;ARC-188x&#8221; in this case) and download the relevant zip file from <a href=\"https:\/\/www.areca.us\/products\/_driver_raidcard_1110.html#linux\">https:\/\/www.areca.us\/products\/_driver_raidcard_1110.html#linux<\/a> <br>In our case we downloaded the RHEL 9.4 based zip file and got a file named 9_4.zip from the Areca site, which we extracted to \/usr\/local\/src\/areca-download-rhel9_4\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>b) In the \/usr\/local\/src\/areca-download-rhel9_4\/ directory, create a new directory for the extracted contents of the arcmsr-1.51.0X.16-20231226.zip file:<br><br><code>mkdir arcmsr-1.51.0X.16-20231226 &amp;&amp; cd arcmsr-1.51.0X.16-20231226 &amp;&amp; unzip ..\/arcmsr-1.51.0X.16-20231226.zip<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">c) In your extracted arcmsr-1.51.0X.16-20231226\/ directory, we need to apply some patches to the arcmsr.c file for modern RHEL 9 based kernels eg: from 5.14.0-6xx onwards kernel levels<br><br>The diff output of the patching required to arcmsr.c is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>201,202d200<br>&lt; #include<br>&lt; #include<br>1284c1282<\/code><br><code>&lt; nvec = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_INTX);<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> >   nvec = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_LEGACY);<\/code><br><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><code>ACB *pacb = from_timer(pacb, t, refresh_timer);<\/code><\/p>\n<\/blockquote>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><code>    nvec = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_LEGACY);<\/code><\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><code>4614c4612<\/code><\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><code>&lt; ACB *acb = container_of(t, ACB, eternal_timer);<\/code><\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><code>ACB *acb = from_timer(acb, t, eternal_timer);<\/code><\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><code>5317c5315<\/code><\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><code>&lt; ACB *pacb = container_of(t, ACB, refresh_timer);<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">d) Now you can begin the DKMS Add, Build, Install process with:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create dkms.conf file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>cat &lt;&lt; EOF > dkms.conf<br>PACKAGE_NAME=&#8221;arcmsr&#8221;<br>PACKAGE_VERSION=&#8221;1.51.00.16&#8243;<br>BUILT_MODULE_NAME[0]=&#8221;arcmsr&#8221;<br>DEST_MODULE_LOCATION[0]=&#8221;\/kernel\/drivers\/scsi\/&#8221;<br>AUTOINSTALL=&#8221;yes&#8221;<br>EOF<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><br><br>Setup DKMS source directory:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>mkdir \/usr\/src\/arcmsr-1.51.00.16\/<br>cp \/usr\/local\/src\/areca-download-rhel9_4\/arcmsr-1.51.0x.16-20231226\/*  \/usr\/src\/arcmsr-1.51.00.16\/<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the DKMS commands to build and install the kernel module:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><code>dkms add -m arcmsr -v 1.51.00.16<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>dkms build -m arcmsr -v 1.51.00.16 ## if needed: -k `uname -r`<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>dkms install  -m arcmsr -v 1.51.00.16<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check with: <code>dkms status<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Reboot to confirm.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding an Areca ARC-188x series PCIe 2.0\/3.0 to SAS\/SATA 6\/12Gb RAID Controller to a server involved installing the arcmsr driver to the existing CentOS 9 based Linux OS. This install from source from the vendor was required because the package &hellip; <a href=\"https:\/\/blog.networkpresence.co\/?p=9387\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-9387","post","type-post","status-publish","format-standard","hentry","category-sales"],"_links":{"self":[{"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9387"}],"version-history":[{"count":2,"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9387\/revisions"}],"predecessor-version":[{"id":9389,"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9387\/revisions\/9389"}],"wp:attachment":[{"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}