<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ProjeKt D.K &#187; sata</title>
	<atom:link href="http://blog.punkid.org/tag/sata/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.punkid.org</link>
	<description>Where We ROT!</description>
	<lastBuildDate>Sun, 04 Jul 2010 07:51:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://blog.punkid.org/?pushpress=hub'/>
		<item>
		<title>Why I &lt;3 Gentoo and Its Community So Much</title>
		<link>http://blog.punkid.org/2007/11/10/why-i-love-gentoo-and-its-community-so-much/</link>
		<comments>http://blog.punkid.org/2007/11/10/why-i-love-gentoo-and-its-community-so-much/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 07:21:23 +0000</pubDate>
		<dc:creator>punkid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ASUS K8N4-E]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[nForce]]></category>
		<category><![CDATA[sata]]></category>
		<category><![CDATA[内核无法识别SATA设备]]></category>

		<guid isPermaLink="false">http://blog.punkid.org/2007/11/10/why-i-love-gentoo-and-its-community-so-much/</guid>
		<description><![CDATA[今天，总算是把Gentoo下困扰我N久的一个问题给解决了，把经历分享下，以便与我同命相连的人google到这篇日志。 主要症状是这样的: 使用华硕K8N4-E/Deluxe主板的，无论是使用Gentoo LiveCD 06/07版还是自编译内核(>2.6.13)启动，都无法识别到SATA硬盘设备，必须采用降级内核的方式或者使用Gentoo LiveCD 2005才能正常识别，而在Ubuntu/Fedora Core (2.6.2系列kernel)下却没有这个问题。只要是大于2.6.13的内核无论是gentoo-sources, genkernel, vanilla-sources, mm-sources, sabayon-sources甚至Ubuntu和Fedora的kernel都没用。我曾经在论坛里发过帖子询问，当时没太在意，以为降级内核到2.6.13就算解决了，但是随便kernel的不断更新，问题越来越多了，udev不能用最新的，与之而来的就是hal不能自动挂载移动储存设备，nvidia驱动不能用100系列版本，否则退出X会花屏，xorg-x11不能用7.3，因为没有100系列的nvidia驱动配合，这么多问题差点让我被迫转投ubuntu了，还好最终还是选择向Gentoo Community寻求帮助。 我在open a new thread之前就发现论坛里用同样一块主板的朋友都遇到了这个问题: SATA drives not recognized on kernel &#62; 2.6.11 Problem finding my SATA-drives kernel panic (solved) What does &#8220;VFS: Cannot open root device&#8230;&#8221; mean, exactly? 加上后面两个我之前发布的贴子/回复，搜集好所有信息后，我发了个新的帖子: Kernels(&#62;2.6.13) dont recognize sata disk on K8N4-E [solved] 并给当时发表/回复那些帖子的人发了封private message，也得到了这些人的热心帮助，但是始终没能解决问题。于是我去Gentoo Mailing List上发邮件，也没能得到解决的办法，最终选择了向Gentoo的Bugzilla提交bug，直接询问Gentoo [...]]]></description>
			<content:encoded><![CDATA[<p>今天，总算是把Gentoo下困扰我N久的一个问题给解决了，把经历分享下，以便与我同命相连的人google到这篇日志。</p>
<p>主要症状是这样的: 使用华硕K8N4-E/Deluxe主板的，无论是使用Gentoo LiveCD 06/07版还是自编译内核(>2.6.13)启动，都无法识别到SATA硬盘设备，必须采用降级内核的方式或者使用Gentoo LiveCD 2005才能正常识别，而在Ubuntu/Fedora Core (2.6.2系列kernel)下却没有这个问题。只要是大于2.6.13的内核无论是gentoo-sources, genkernel, vanilla-sources, mm-sources, sabayon-sources甚至Ubuntu和Fedora的kernel都没用。我曾经在论坛里<a href="http://forums.gentoo.org/viewtopic-t-442276.html" title="kernel panic (solved)">发过帖子</a>询问，当时没太在意，以为降级内核到2.6.13就算解决了，但是随便kernel的不断更新，问题越来越多了，udev不能用最新的，与之而来的就是hal不能自动挂载移动储存设备，nvidia驱动不能用100系列版本，否则退出X会花屏，xorg-x11不能用7.3，因为没有100系列的nvidia驱动配合，这么多问题差点让我被迫转投ubuntu了，还好最终还是选择向Gentoo Community寻求帮助。<br />
<span id="more-169"></span><br />
我在open a new thread之前就发现论坛里用同样一块主板的朋友都遇到了这个问题:</p>
<ol>
<li><a href="http://forums.gentoo.org/viewtopic-t-522268.html" title="ATA drives not recognized on kernel &gt; 2.6.11">SATA drives not recognized on kernel &gt; 2.6.11</a></li>
<li><a href="http://forums.gentoo.org/viewtopic-t-525163.html" title="Problem finding my SATA-drives">Problem finding my SATA-drives</a></li>
<li><a href="http://forums.gentoo.org/viewtopic-t-442276.html" title="kernel panic (solved)">kernel panic (solved)</a></li>
<li><a href="http://forums.gentoo.org/viewtopic-t-510265.html" title="What does "VFS: Cannot open root device..." mean, exactly?">What does &#8220;VFS: Cannot open root device&#8230;&#8221; mean, exactly?</a></li>
</ol>
<p>加上后面两个我之前发布的贴子/回复，搜集好所有信息后，我发了个新的帖子:</p>
<p><a href="http://forums.gentoo.org/viewtopic-t-581033.html" title="Kernels(&gt;2.6.13) dont recognize sata disk on K8N4-E [solved]">Kernels(&gt;2.6.13) dont recognize sata disk on K8N4-E [solved]</a></p>
<p>并给当时发表/回复那些帖子的人发了封private message，也得到了这些人的热心帮助，但是始终没能解决问题。于是我去Gentoo Mailing List上发邮件，也没能得到解决的办法，最终选择了向Gentoo的Bugzilla提交bug，直接询问Gentoo Developers。</p>
<p>Bugzilla Bug 194531 : <a href="http://bugs.gentoo.org/show_bug.cgi?id=194531" title="Kernels (&gt;2.6.13) dont recognize the sata harddisk on ASUS K8N4-E motherboard">Kernels (&gt;2.6.13) dont recognize the sata harddisk on ASUS K8N4-E motherboard</a></p>
<p>在这里得到了解决方案，关闭MMCONFIG PCI Access Mode可以成功识别到SATA设备，正如其中一个developer说的: <em>Nforce motherboards don&#8217;t have the best history with the linux kernel</em>。关闭MMCONFIG有两种方式，一是设置内核:</p>
<p>取消自动选择模式和MMCONFIG模式，选择BIOS或者DIRECT方式</p>
<pre>
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
CONFIG_PCI_GODIRECT=y
# CONFIG_PCI_GOANY is not set
</pre>
<p>二是在grub.conf的kernel行末尾添加<code>pci=nommconf</code>参数来关闭它。</p>
<p>同样，使用Gentoo LiveCD的话，可以在启动时加入启动参数<em>nommconf</em>来顺利引导LiveCD读取SATA硬盘。问题是解决了，不过查看下ubuntu和fedora的kernel config文件，并没有关闭MMCONFIG模式，难道还是Gentoo的问题?</p>
<p>在Developers的帮助下，进入Kubuntu/Fedora LiveCD，<code>cat /proc/iomem</code>发现其中没有那句<code>f0000000-f3ffffff : PCI MMCONFIG 0</code>，意味着Ubuntu和Fedora把MMCONFIG给blacklist了。<strong>哪位使用Ubuntu或者Fedora的朋友麻烦把<code>cat /proc/iomem</code>的结果贴出来给我看下</strong>，我想知道是Ubuntu/Fedora直接blacklist了MMCONFIG还是在硬件检测时根据我的硬件关闭了MMCONFIG。</p>
<p>这样，整个症结就落在了MMCONFIG上，排除了Gentoo本身的因素。</p>
<p>Gentoo之所以受青睐的原因不仅是它的高度可定制性和portage的包管理方式，还有它背后强大的社区支持。<a href="http://forums.gentoo.org/" title="Gentoo Forums">Gentoo的官方论坛</a> 是目前最活跃的linux论坛之一了，里面集结了来自全世界各地的顶尖linux高手和geek，无论是帖子还是回复都是高质量的，即便是不用Gentoo Linux的朋友在里面都能找到很多有价值的东西。而Bugzilla作为forum的补充，提供了与开发人员直接的交流平台，你可以得到最专业的帮助。</p>
<p>I &lt;3 Gentoo and its Community !</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://blog.punkid.org/2009/03/23/free-sms-notification-on-amule-completed-download/" title="给aMule增加下载完成短信通知功能 (March 23, 2009)">给aMule增加下载完成短信通知功能</a> (9)</li>
	<li><a href="http://blog.punkid.org/2008/08/14/compile-tuxonice-kernel-in-archlinux/" title="在Archlinux下编译TuxOnIce内核 (August 14, 2008)">在Archlinux下编译TuxOnIce内核</a> (2)</li>
	<li><a href="http://blog.punkid.org/2008/11/09/why-to-upgrade-to-libgpod-svn-build/" title="Why to Upgrade to Libgpod SVN Build (November 9, 2008)">Why to Upgrade to Libgpod SVN Build</a> (3)</li>
	<li><a href="http://blog.punkid.org/2008/08/23/use-gentoo-bashrc-under-archlinux/" title="Use gentoo-bashrc under Archlinux (August 23, 2008)">Use gentoo-bashrc under Archlinux</a> (7)</li>
	<li><a href="http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/" title="Ultimate Guide to Manage Your iPod under Linux : Revised (January 6, 2008)">Ultimate Guide to Manage Your iPod under Linux : Revised</a> (53)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://blog.punkid.org/2007/11/10/why-i-love-gentoo-and-its-community-so-much/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
