{"id":60,"date":"2007-05-11T18:48:25","date_gmt":"2007-05-11T17:48:25","guid":{"rendered":"http:\/\/www.treg.be\/blog\/index.php\/2007\/05\/11\/linux-kernel-sata-bug-solved\/"},"modified":"2007-05-12T10:23:10","modified_gmt":"2007-05-12T09:23:10","slug":"linux-kernel-sata-bug-solved","status":"publish","type":"post","link":"https:\/\/www.treg.be\/blog\/2007\/05\/linux-kernel-sata-bug-solved\/","title":{"rendered":"Linux kernel SATA bug solved."},"content":{"rendered":"<p>Finally there&#8217;s a bugfix for the Linux kernel SATA bug I mentioned in <a href=\"https:\/\/www.treg.be\/blog\/index.php\/2006\/10\/16\/kernel-2617-upstream-sata-bug\/\" target=\"_blank\">this<\/a> post. This is how I fixed it on my Ubuntu 7.04 machine:<\/p>\n<p>&#8211; Make a file called stopsata in the folder \/etc\/init.d<br \/>\nThe file should contain the following two rules:<br \/>\n<code>#!\/bin\/sh<br \/>\necho 1 &gt; \/sys\/class\/scsi_disk\/0\\:0\\:0\\:0\/stop_on_shutdown<\/code><br \/>\n&#8211; Make a file called S89stopsata in the folder \/etc\/rc0.d<br \/>\nThe file is a symlink to the previously made script. You can link it with:<br \/>\n<code>ln -s \/etc\/init.d\/stopsata S89stopsata<\/code><\/p>\n<p>Attention, Ubuntu 7.04 is using kernel 2.6.20.x. This fix is already included in the kernel but not standard activated yet.<\/p>\n<p>Info\/patch about the bug on kernel.org: <a href=\"http:\/\/bugzilla.kernel.org\/show_bug.cgi?id=7838\" target=\"_blank\">http:\/\/bugzilla.kernel.org\/show_bug.cgi?id=7838<\/a><br \/>\nInfo about the bug on Ubuntu&#8217;s launchpad: Bug <a href=\"http:\/\/bugs.launchpad.net\/ubuntu\/+source\/linux-source-2.6.17\/+bug\/63937\" target=\"_blank\">#63937<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally there&#8217;s a bugfix for the Linux kernel SATA bug I mentioned in this post. This is how I fixed it on my Ubuntu 7.04 machine: &#8211; Make a file called stopsata in the folder \/etc\/init.d The file should contain the following two rules: #!\/bin\/sh echo 1 &gt; \/sys\/class\/scsi_disk\/0\\:0\\:0\\:0\/stop_on_shutdown &#8211; Make a file called S89stopsata [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[4,8,7],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-linux","category-tech"],"_links":{"self":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":0,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}