nightmorph 07/03/19 09:09:40
Modified: handbook-mips.xml hb-install-alpha-kernel.xml
hb-install-mips-kernel.xml
Log:
kernel updates, etc.
Revision Changes Path
1.24 xml/htdocs/doc/en/handbook/draft/handbook-mips.xml
file :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml?rev=1.24&view=markup
plain:
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml?rev=1.24&content-type=text/plain
diff :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml?r1=1.23&r2=1.24
Index: handbook-mips.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- handbook-mips.xml 14 Mar 2007 06:24:40 -0000 1.23
+++ handbook-mips.xml 19 Mar 2007 09:09:40 -0000 1.24
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book SYSTEM "/dtd/book.dtd">
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml,v 1.23
2007/03/14 06:24:40 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml,v 1.24
2007/03/19 09:09:40 nightmorph Exp $ -->
<book link="/doc/en/handbook/handbook-mips.xml">
<title>Gentoo Linux/MIPS Handbook</title>
@@ -9,6 +9,8 @@
<values>
<key id="arch">MIPS</key>
<key id="/boot">/dev/sda1</key>
+ <key id="kernel-version">2.6.17.10-mips</key>
+ <key id="kernel-name">kernel-2.6.17.10-mips</key>
</values>
<author title="Author">
@@ -129,7 +131,7 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
-<version>7.2</version>
+<version>8.0</version>
<date>2006-10-08</date>
<part>
1.17
xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml
file :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml?rev=1.17&view=markup
plain:
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml?rev=1.17&content-type=text/plain
diff :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml?r1=1.16&r2=1.17
Index: hb-install-alpha-kernel.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- hb-install-alpha-kernel.xml 19 Mar 2007 07:12:37 -0000 1.16
+++ hb-install-alpha-kernel.xml 19 Mar 2007 09:09:40 -0000 1.17
@@ -4,7 +4,7 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml,v
1.16 2007/03/19 07:12:37 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml,v
1.17 2007/03/19 09:09:40 nightmorph Exp $ -->
<sections>
@@ -154,21 +154,10 @@
Now go to <c>File Systems</c> and select support for the filesystems you use.
<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be
able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc
-file system</c>. If you are using a 2.4 kernel, you should also select the
-<c>/dev file system</c> and <c>Automatically mount at boot</c> options, and
-you should make sure to <c>emerge devfsd</c>.
+file system</c>.
</p>
<pre caption="Selecting necessary file systems">
-<comment>(With a 2.4.x kernel)</comment>
-File systems --->
- [*] Virtual memory file system support (former shm fs)
- [*] /proc file system support
- [*] /dev file system support (EXPERIMENTAL)
- [*] Automatically mount at boot
- [ ] /dev/pts file system for Unix98 PTYs
-
-<comment>(With a 2.6.x kernel)</comment>
File systems --->
Pseudo Filesystems --->
[*] /proc file system support
@@ -188,13 +177,6 @@
</p>
<pre caption="Selecting PPPoE necessary drivers">
-<comment>(With a 2.4.x kernel)</comment>
-Network device support --->
- <*> PPP (point-to-point protocol) support
- <*> PPP support for async serial ports
- <*> PPP support for sync tty ports
-
-<comment>(With a 2.6.x kernel)</comment>
Device Drivers --->
Networking support --->
<*> PPP (point-to-point protocol) support
@@ -288,13 +270,7 @@
</p>
<pre caption="Compiling the kernel">
-<comment>(For 2.4 kernel)</comment>
-# <i>make dep && make vmlinux modules modules_install</i>
-
-<comment>(For 2.6 kernel)</comment>
# <i>make && make modules_install</i>
-
-<comment>(For all kernels)</comment>
# <i>make boot</i>
</pre>
@@ -359,31 +335,6 @@
<pre caption="Running genkernel">
# <i>genkernel all</i>
-* Gentoo Linux Genkernel; Version 3.4.0
-* Running with options: all
-
-* Linux Kernel 2.6.16.19 for alpha...
-* kernel: >> Running mrproper...
-<comment>(Output removed to increase readability)</comment>
-* Kernel compiled successfully!
-*
-* Required Kernel Parameters:
-* real_root=/dev/$ROOT
-*
-* Where $ROOT is the device node for your root partition as the
-* one specified in /etc/fstab
-*
-* If you require Genkernel's hardware detection features; you MUST
-* tell your bootloader to use the provided INITRAMFS file. Otherwise;
-* substitute the root argument for the real_root argument if you are
-* not planning to use the initrd...
-
-* WARNING... WARNING... WARNING...
-* Additional kernel cmdline arguments that *may* be required to boot
properly...
-* Do NOT report kernel bugs as genkernel bugs unless your bug
-* is about the default genkernel configuration...
-*
-* Make sure you have the latest genkernel before reporting bugs.
</pre>
<p>
@@ -451,9 +402,9 @@
<body>
<p>
-You should list the modules you want automatically loaded in
-<path>/etc/modules.autoload.d/kernel-2.4</path> (or <path>kernel-2.6</path>).
-You can add extra options to the modules too if you want.
+You should list the modules you want automatically loaded in
+<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
+the modules too if you want.
</p>
<p>
@@ -468,16 +419,14 @@
<p>
For instance, to automatically load the <c>3c59x.o</c> module, edit the
-<path>kernel-2.4</path> or <path>kernel-2.6</path> file and enter the module
-name in it.
+<path>kernel-2.6</path> file and enter the module name in it.
</p>
-<pre caption="Editing /etc/modules.autoload.d/kernel-2.4">
-<comment>(Example for 2.4 kernels)</comment>
-# <i>nano -w /etc/modules.autoload.d/kernel-2.4</i>
+<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
+# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
</pre>
-<pre caption="/etc/modules.autoload.d/kernel-2.4 or kernel-2.6">
+<pre caption="/etc/modules.autoload.d/kernel-2.6">
3c59x
</pre>
1.13 xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml
file :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml?rev=1.13&view=markup
plain:
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml?rev=1.13&content-type=text/plain
diff :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml?r1=1.12&r2=1.13
Index: hb-install-mips-kernel.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- hb-install-mips-kernel.xml 14 Mar 2007 06:24:40 -0000 1.12
+++ hb-install-mips-kernel.xml 19 Mar 2007 09:09:40 -0000 1.13
@@ -4,11 +4,11 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml,v
1.12 2007/03/14 06:24:40 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml,v
1.13 2007/03/19 09:09:40 nightmorph Exp $ -->
<!-- :vim:ts=2:sts=2:et:tw=80: -->
<sections>
-<version>7.1</version>
+<version>8.0</version>
<date>2007-02-26</date>
<section>
@@ -119,24 +119,13 @@
<p>
When you take a look in <path>/usr/src</path> you should see a symlink called
<path>linux</path> pointing to your kernel source. In this case, the installed
-kernel source points to <c>mips-sources-2.6.13.4</c>. Your version may be
-different, so keep this in mind.
+kernel source points to <c>mips-sources-<keyval id="kernel-version"/></c>. Your
+version may be different, so keep this in mind.
</p>
<pre caption="Viewing the kernel source symlink">
# <i>ls -l /usr/src/linux</i>
-lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux ->
linux-2.6.13.4
-</pre>
-
-<p>
-If this isn't the case (i.e. the symlink points to a different kernel source)
-change the symlink before you continue:
-</p>
-
-<pre caption="Changing the kernel source symlink">
-# <i>rm /usr/src/linux</i>
-# <i>cd /usr/src</i>
-# <i>ln -s linux-2.6.13.4 linux</i>
+lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux ->
linux-<keyval id="kernel-version"/>
</pre>
<p>
@@ -303,19 +292,16 @@
</note>
<pre caption="Compiling the kernel">
-<comment>(For 2.4 kernel only)</comment>
-# <i>make dep</i>
-
-<comment>(2.4 and 2.6 kernels -- compiling natively)</comment>
+<comment>(Compiling natively)</comment>
# <i>make vmlinux modules modules_install</i>
-<comment>(2.4 and 2.6 kernels -- cross-compiling on target machine)</comment>
-<comment>( Adjust the mips64-unknown-linux-gnu- accordingly )</comment>
+<comment>(Cross-compiling on target machine)</comment>
+<comment>(Adjust the mips64-unknown-linux-gnu- accordingly)</comment>
# <i>make vmlinux modules modules_install
CROSS_COMPILE=mips64-unknown-linux-gnu-</i>
-<comment>(When compiling on another machine, such as an x86 box... use
the)</comment>
-<comment>( following commands to compile the kernel & install modules
into)</comment>
-<comment>( a specific directory to be transferred to the target machine.
)</comment>
+<comment>(When compiling on another machine, such as an x86 box, use
the)</comment>
+<comment>(following commands to compile the kernel & install modules
into)</comment>
+<comment>(a specific directory to be transferred to the target
machine.)</comment>
# <i>make vmlinux modules CROSS_COMPILE=mips64-unknown-linux-gnu-</i>
# <i>make modules_install INSTALL_MOD_PATH=/somewhere</i>
</pre>
@@ -343,10 +329,10 @@
</note>
<pre caption="Installing the kernel">
-# <i>cp vmlinux /boot/kernel-2.6.13.4</i>
+# <i>cp vmlinux /boot/kernel-<keyval id="kernel-version"/></i>
<comment>(Cobalt Servers -- Compressing the kernel image)</comment>
-# <i>gzip -9v /boot/kernel-2.6.13.4</i>
+# <i>gzip -9v /boot/kernel-<keyval id="kernel-version"/></i>
</pre>
</body>
@@ -359,21 +345,9 @@
<body>
<p>
-You should list the modules you want automatically loaded in one of the
-relevant files listed below. You can add extra options to the modules too if
-you want.
-</p>
-
-<ul>
- <li><path>/etc/modules.autoload.d/kernel-2.4</path> - Kernel 2.4 only</li>
- <li><path>/etc/modules.autoload.d/kernel-2.6</path> - Kernel 2.6 only</li>
- <li><path>/etc/modules.autoload</path> - All Kernels</li>
-</ul>
-
-<p>
-Therefore, if you have a kernel module that you want to load -- which is common
-to both 2.4 and 2.6, then place it in <path>/etc/modules.autoload</path>.
-Otherwise it can be placed in the appropriate file.
+You should list the modules you want automatically loaded in
+<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
+the modules too if you want.
</p>
<p>
@@ -388,27 +362,18 @@
<p>
For instance, to automatically load the <c>3c59x.o</c> module, edit the
-appropriate file and enter the module name in it.
+<path>kernel-2.6</path> file and enter the module name in it.
</p>
-<pre caption="Editing /etc/modules.autoload.d/kernel-2.4">
-# <i>nano -w /etc/modules.autoload.d/kernel-2.4</i>
+<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
+# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
</pre>
-<pre caption="/etc/modules.autoload.d/kernel-2.4 or kernel-2.6">
+<pre caption="/etc/modules.autoload.d/kernel-2.6">
3c59x
</pre>
<p>
-This can be also done in a one-liner:
-</p>
-
-<pre caption="Adding a module -- the one-liner method">
-# <i>echo '3c59x' >> /etc/modules.autoload.d/kernel-2.4</i>
-<comment>(or kernel-2.6, or /etc/modules.autoload...)</comment>
-</pre>
-
-<p>
Continue the installation with <uri link="?part=1&chap=8">Configuring your
System</uri>.
</p>
--
[email protected] mailing list