瀏覽代碼

Add a sed to the kernel to prevent panics on some systems

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9300 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 15 年之前
父節點
當前提交
79f68964ac
共有 3 個文件被更改,包括 20 次插入2 次删除
  1. 12 0
      chapter01/changelog.xml
  2. 6 0
      chapter08/kernel.xml
  3. 2 2
      general.ent

+ 12 - 0
chapter01/changelog.xml

@@ -36,6 +36,18 @@
     </listitem>
 
 -->
+    <listitem>
+      <para>2010-06-18</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add a sed to the current kernel to work around
+          a bug in linux-2.6.34 and earlier.  This change will be removed 
+          when incorporated into a subsequent verion of the kernel. 
+          Fixes <ulink url="&lfs-ticket-root;2662">#2662</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2010-06-16</para>
       <itemizedlist>

+ 6 - 0
chapter08/kernel.xml

@@ -40,6 +40,12 @@
   <sect2 role="installation">
     <title>Installation of the kernel</title>
 
+    <para>First, fix a bug that causes a kernel panic on some systems:</para>
+
+<screen><userinput remap="pre">sed -i -e 's/inline void rdtsc_barrier/__always_inline void rdtsc_barrier/' \
+  arch/x86/include/asm/system.h</userinput></screen>
+
+
     <para>Building the kernel involves a few steps&mdash;configuration,
     compilation, and installation. Read the <filename>README</filename> file
     in the kernel source tree for alternative methods to the way this book

+ 2 - 2
general.ent

@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20100616">
-<!ENTITY releasedate "June 16, 2010">
+<!ENTITY version "SVN-20100618">
+<!ENTITY releasedate "June 18, 2010">
 <!ENTITY copyrightdate "1999-2010"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone "6.7">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->