{"id":59,"date":"2011-06-10T06:32:00","date_gmt":"2011-06-10T01:02:00","guid":{"rendered":"http:\/\/asgaur.com\/wp\/?p=59"},"modified":"2011-06-10T06:32:00","modified_gmt":"2011-06-10T01:02:00","slug":"compiling-kernel-support-for-hba-failover-using-qlogic-drivers","status":"publish","type":"post","link":"http:\/\/www.asgaur.com\/wp\/compiling-kernel-support-for-hba-failover-using-qlogic-drivers\/","title":{"rendered":"Compiling Kernel Support for HBA Failover using Qlogic Drivers"},"content":{"rendered":"<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"><!-- Adsense block #242 not displayed since it exceed the limit of 3 --><!-- Adsense block #243 not displayed since it exceed the limit of 3 --><!-- Adsense block #244 not displayed since it exceed the limit of 3 -->Steps to enable via commandline following boot<\/span><\/span><\/p>\n<\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<ol>\n<li><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">rmmod      qla2300<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">insmod      qla2300 ql2xfailover=1<\/span><\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">Steps to compile in qlogic driver failover and use more than 4G of ram on redhat 3.0.<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> tar -xvf qla2x00-v7.01.01-dist.tar<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">cd qlogic<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">edit qla_settings.h, make MPIO_SUPPORT 1 rather than 0<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">.\/drvrinstall<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">make all SMP=1<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">make all install<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">update \/etc\/modules.conf with these entries<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">alias scsi_hostadapter0 qla2300_conf<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">alias scsi_hostadapter1 qla2300<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">alias scsi_hostadapter2 qla2300_conf<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">alias scsi_hostadapter3 qla2300<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> options scsi_mod max_scsi_luns=128<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">options qla2300 ql2xfailover=1<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- <br \/><\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">modprobe qla2300<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">mv \/boot\/initrd-2.4.21-20.ELhugemem.img \/boot\/initrd-2.4.21-20.ELhugemem.img.orig<\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/span><\/p>\n<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\">mkinitrd -f \/boot\/initrd-2.4.21-20.ELhugemem.img 2.4.21-20.ELhugemem<\/span><\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif;\"> <\/span><\/p>\n<div class=\"item_footer\">\n<p><small><a href=\"http:\/\/asgaur.com\/asgaur.php\/2011\/06\/10\/compiling-kernel-support-for-hba\" target=\"_blank\" rel=\"noopener\">Original post<\/a> blogged on <a href=\"http:\/\/b2evolution.net\/\" target=\"_blank\" rel=\"noopener\">b2evolution<\/a>.<\/small><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Steps to enable via commandline following boot rmmod qla2300 insmod qla2300 ql2xfailover=1 Steps to compile in qlogic driver failover and use more than 4G of ram on redhat 3.0. tar -xvf qla2x00-v7.01.01-dist.tar cd qlogic edit qla_settings.h, make MPIO_SUPPORT 1 rather than 0 .\/drvrinstall make all SMP=1 make all install update \/etc\/modules.conf with these entries &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}