{"id":190,"date":"2008-02-22T16:50:08","date_gmt":"2008-02-22T14:50:08","guid":{"rendered":"http:\/\/lukav.com\/wordpress\/2008\/02\/22\/howto-install-hpt374-raid-driver-in-debian\/"},"modified":"2025-05-24T16:27:21","modified_gmt":"2025-05-24T14:27:21","slug":"howto-install-hpt374-raid-driver-in-debian","status":"publish","type":"post","link":"https:\/\/lukav.com\/wordpress\/2008\/02\/22\/howto-install-hpt374-raid-driver-in-debian","title":{"rendered":"HowTo install hpt374 raid driver in debian"},"content":{"rendered":"<p>Over the year I had to compile and install several times hpt374 driver for the HighPoint IDE controller.<\/p>\n<p>Although the hardware is very old and probably nobody use it anymore I decide to put down this howto, for anyone interested.<\/p>\n<p>The last time we&#8217;ve upgraded debian to etch with kernel 2.6.18-6-686 so the instruction will assume this kernel version.<\/p>\n<p>First install the kernel-headers package<\/p>\n<pre>apt-get install linux-headers-2.6.18-6-686<\/pre>\n<p>then download the driver in this case hpt374-opensource-v2.17-1114<br \/>\nextract to some folder, for example: \/usr\/src\/hpt374-2.6.18-6-686\/<\/p>\n<p>compile the driver<\/p>\n<pre>make KERNELDIR=\/usr\/src\/linux-headers-2.6.18-6-686<\/pre>\n<p>you should now have hpt374.ko. Copy this file in the kernel modules directory<\/p>\n<pre>cp hpt374.ko \/lib\/modules\/2.6.18-6-686\/kernel\/drivers\/ide\/pci\/<\/pre>\n<p>We need to populate the modules dependencies<\/p>\n<pre>depmod -r 2.6.18-6-686<\/pre>\n<p>add hpt374 to \/etc\/initramfs-tools\/modules if it is not already there<\/p>\n<pre>echo hpt374 &gt;&gt; \/etc\/initramfs-tools\/modules<\/pre>\n<p>update the initrd image so the module gets loaded on system start up<\/p>\n<pre>update-initramfs -u -k 2.6.18-6-686<\/pre>\n<p>And thats it. You should now be able to reboot and use the new kernel with the raid<\/p>\n<p>P.S. I&#8217;ve wrote this in a hurry, so I&#8217;ve may missed something.<\/p>\n<div id=\"facebook_like\"><iframe src=\"\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Flukav.com%2Fwordpress%2F2008%2F02%2F22%2Fhowto-install-hpt374-raid-driver-in-debian&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:500px; height:80px;\" allowTransparency=\"true\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>Over the year I had to compile and install several times hpt374 driver for the HighPoint IDE controller. Although the hardware is very old and probably nobody use it anymore I decide to put down this howto, for anyone interested. The last time we&#8217;ve upgraded debian to etch with kernel 2.6.18-6-686 so the instruction will [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[70,40],"tags":[],"class_list":["post-190","post","type-post","status-publish","format-standard","hentry","category-en","category-tech"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/posts\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/comments?post=190"}],"version-history":[{"count":1,"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/posts\/190\/revisions"}],"predecessor-version":[{"id":774,"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/posts\/190\/revisions\/774"}],"wp:attachment":[{"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/media?parent=190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/categories?post=190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lukav.com\/wordpress\/wp-json\/wp\/v2\/tags?post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}