From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
by nuthatch.gentoo.org with esmtp (Exim 4.43)
id 1DyBde-0003As-JC
for garchives@archives.gentoo.org; Thu, 28 Jul 2005 16:53:43 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6SGr5fp002763;
Thu, 28 Jul 2005 16:53:05 GMT
Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30])
by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6SGr4du008278
for ; Thu, 28 Jul 2005 16:53:05 GMT
Message-Id: <200507281653.j6SGr4du008278@robin.gentoo.org>
Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org)
by smtp.gentoo.org with smtp (Exim 4.43)
id 1DyBdW-0000BN-31
for gentoo-doc-cvs@lists.gentoo.org; Thu, 28 Jul 2005 16:53:34 +0000
Received: by lark.gentoo.org (sSMTP sendmail emulation); Thu, 28 Jul 2005 16:53:20 +0000
From: "Joseph Jezak"
Date: Thu, 28 Jul 2005 16:53:20 +0000
To: gentoo-doc-cvs@lists.gentoo.org
Subject: [gentoo-doc-cvs] cvs commit: hb-install-ppc-kernel.xml
Precedence: bulk
List-Post:
List-Help:
List-Unsubscribe:
List-Subscribe:
List-Id: Gentoo Linux mail
X-BeenThere: gentoo-doc-cvs@gentoo.org
Reply-to: docs-team@lists.gentoo.org
X-Archives-Salt: 9d24e2db-2dd9-43a4-8dce-4160e8a5af68
X-Archives-Hash: 43b540fcc510d29a30652e545de22fe1
josejx 05/07/28 16:53:20
Modified: xml/htdocs/doc/en/handbook/draft/2005.1
hb-install-ppc-kernel.xml
Log:
Yoswink, please don't stab me. (PPC 2005.1 handbook updates.)
Revision Changes Path
1.2 +90 -47 xml/htdocs/doc/en/handbook/draft/2005.1/hb-install-ppc-kernel.xml
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2005.1/hb-install-ppc-kernel.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2005.1/hb-install-ppc-kernel.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2005.1/hb-install-ppc-kernel.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo
Index: hb-install-ppc-kernel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2005.1/hb-install-ppc-kernel.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hb-install-ppc-kernel.xml 5 Jul 2005 08:02:04 -0000 1.1
+++ hb-install-ppc-kernel.xml 28 Jul 2005 16:53:20 -0000 1.2
@@ -4,7 +4,7 @@
-
+
@@ -44,11 +44,10 @@
-For PPC you can choose between vanilla-sources and
-gentoo-sources (both 2.6 kernels). The latter is available when you
-perform a networkless installation. Beside those there is a special
-kernel-2.6-patchset for the Pegasos: pegasos-sources. So let's
-continue with emerge'ing the kernel sources:
+We suggest using either vanilla-sources or gentoo-sources
+on PPC, which are both 2.6 kernels. The latter is available when you
+perform a networkless installation. So let's continue with emerge'ing
+the kernel sources:
@@ -56,32 +55,31 @@
-The PowerPC sources are based on a 2.6.10-kernel with security patches from
-2.6.11 backported. As the time of the release the 2.6.11 kernel produced
-several problems on different PowerPC machines.
+The suggested sources at the time of the 2005.1 release are
+gentoo-sources-2.6.12-r6 and vanilla-sources-2.6.12.2.
-When you take a look in /usr/src you should see a symlink called
-linux pointing to your kernel source. We will assume the kernel
-source installed is gentoo-sources-2.6.10-r8:
+If you take a look in /usr/src you should see a symlink named
+linux pointing to your current kernel source. Here, we will assume
+that the kernel source installed is gentoo-sources-2.6.12-r6:
# ls -l /usr/src/linux
-lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-2.6.10-gentoo-r8
+lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-2.6.12-gentoo-r6
If the symlink doesn't point to the kernel source of your choice (note that
-linux-2.6.10-gentoo-r8 is merely an example) you should change it to the
-right kernel:
+linux-2.6.12-gentoo-r6 is merely an example) you should change it to the
+desired kernel sources:
# rm /usr/src/linux
# cd /usr/src
-# ln -s linux-2.6.10-gentoo-r8 linux
+# ln -s linux-2.6.12-gentoo-r6 linux
@@ -122,7 +120,10 @@
/sys/bus/pci/devices) that lspci throws out. Alternatively, you can run
lspci from a non-chrooted environment. The results are the same.
You can also run lsmod to see what kernel modules the Installation CD
-uses (it might provide you with a nice hint on what to enable).
+uses (it might provide you with a nice hint on what to enable). Another place
+to look for clues as to what components to enable is to check the kernel
+message logs from the successful boot that got you this far. Type dmesg
+to see the kernel messages.
@@ -205,36 +206,52 @@
-Disable ADB raw keycodes:
+Users of NewWorld and OldWorld machines will want HFS support as well. OldWorld
+users require it for copying compiled kernels to the MacOS partition. NewWorld
+users require it for configuring the special Apple_Bootstrap partition:
-
-Macintosh Device Drivers --->
- [ ] Support for ADB raw keycodes
+
+File Systems --->
+ [*] HFS Support
-Also choose the correct RTC support (disable the Enhanced RTC
-option):
+At this time, kernel preemption is still unstable on PPC and may cause
+compilation failures and random segfaults. It is strongly suggested
+that you do not use this feature.
-
-Character devices --->
- [ ] Enhanced RTC
+
+Platform options --->
+ [ ] Preemptible Kernel
+
+
+
+If you're booting from Firewire, you'll need to enable these options. If you donot want to compile in support, you'll need to include these modules and their
+dependencies in an initrd.
+
-General setup --->
- [*] Support for /dev/rtc
+
+Device Drivers --->
+ IEEE 1394 (FireWire) support --->
+ <*> IEEE 1394 (FireWire) support
+ <*> OHCI-1394 support
+ <*> SBP-2 support (Harddisks etc.)
-Users of OldWorld machines will want HFS support so they can copy compiled
-kernels to the MacOS partition. This applies also to NewWorld machines as it is
-needed for the special Apple_Bootstrap partition:
+If you're booting from USB, you'll need to enable these options. If you do not
+want to compile in support, you'll need to include these modules and their
+dependencies in an initrd.
-
-File Systems --->
- [*] HFS Support
+
+Device Drivers --->
+ USB support --->
+ <*> Support for Host-side USB
+ <*> OHCI HCD support
+ <*> USB Mass Storage support
@@ -254,7 +271,7 @@
-# make all && make modules_install
+# make && make modules_install
@@ -263,9 +280,9 @@
-replace 2.6.10 with your kernel-version
-(Apple/IBM) # cp vmlinux /boot/kernel-2.6.10
-(Pegasos) # cp arch/ppc/boot/images/zImage.chrp /boot/kernel-2.6.10
+replace 2.6.12 with your kernel-version
+(Apple/IBM) # cp vmlinux /boot/kernel-2.6.12
+(Pegasos) # cp arch/ppc/boot/images/zImage.chrp /boot/kernel-2.6.12
@@ -274,7 +291,7 @@
-# cp .config /boot/config-2.6.10-gentoo-r8
+# cp .config /boot/config-2.6.12-gentoo-r6
@@ -367,21 +384,36 @@
-Now, compile your kernel sources by running genkernel --udev all.
-Be aware though, as genkernel compiles a kernel that supports almost all
-hardware, this compilation will take quite a while to finish!
+If you are using firewire or USB to boot, you'll need to add modules to the
+initrd. Edit /usr/share/genkernel/ppc/modules_load and change
+MODULES_FIREWIRE="ieee1394 ohci1394 sbp2" for firewire support or
+MODULES_USB="usbcore ohci-hcd ehci-hcd usb-storage" for USB support.
--
gentoo-doc-cvs@gentoo.org mailing list