<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi Geoff<BR>
<BR>
As I said previously today, I've been trying to rebuild and use different kernels on the PS3 for a while now and never with any success.<BR>
The usual problems are that the kernel seems to build with success but the machine fails to reboot successfully using the newly build kernel.<BR>
<BR>
I tried to build this kernel without the patch. <BR>
Below are the exact steps I took and any notable screen warnings:<BR>
<BR>
- Unpack the source file : <BR> tar xjf linux-2.6.26.tar.bz2<BR>
- Descend into directory<BR>
- Create a local file called 'localversion' containing the text :<BR> -20080726<BR>
- make mrproper<BR>- Copy config file:<BR> cp arch/powerpc/configs/ps3_defconfig .config<BR>- Compile config:<BR> make oldconfig<BR>
(Note : During 'make oldconfig' I was prompted to answer some questions (all of which I just pressed 'return'):<BR>
Forced module loading (MODULE_FORCE_LOAD) [N/y/?] (NEW)<BR> /dev/kmem virtual device support (DEVKMEM) [Y/n/?] (NEW)<BR> Hardware monitoring support (THERMAL_HWMON) [N/y/?] (NEW)<BR> Framebuffer foreign endianness support (FB_FOREIGN_ENDIAN) [N/y/?] (NEW)<BR> Cypress C67x00 HCD support (USB_<FONT face="">C67X00_<FONT face="">HCD</FONT></FONT>) [N/m/?] (NEW)<BR> ISP 1760 HCD support (USB_ISP1760_HCD) [N/m/?] (NEW)<BR> USB Wireless Device Management support (USB_WDM) [N/m/?] (NEW)<BR> iSight firmware loading support (USB_ISIGHTFW) [N/m/?] (NEW)<BR> Accessibility support (ACCESSIBILITY) [N/y/?] (NEW)<BR> Debug object operations (DEBUG_OBJECTS) [N/y/?] (NEW)<BR>
<BR>
- Build the kernel:<BR> make -j2<BR>- Make and install modules<BR> make modules_install<BR>- Make the kernel <BR> make install<BR>
(Note: during 'make install' I got the following warnings:)<BR> WARNING: No module uhci-hcd found for kernel 2.6.26-20080726, continuing anyway<BR> WARNING: No module ps3disk found for kernel 2.6.26-20080726, continuing anyway<BR> WARNING: No module ps3rom found for kernel 2.6.26-20080726, continuing anyway<BR> WARNING: No module ps3disk found for kernel 2.6.26-20080726, continuing anyway<BR>
<BR>
- Adapted the bootloader startup files by adding the new installed kernel. Executeed these commands:<BR>
* echo "default=custom" > /tmp/yaboot.conf.new<BR> * cat /boot/etc/yaboot.conf >> /tmp/yaboot.conf.new<BR> * cat >> /tmp/yaboot.conf.new << EOF<BR> * ><BR> * > image=/vmlinux-2.6.26-20080726<BR> * > label=custom<BR> * > read-only<BR> * > initrd=/initrd-2.6.26-20080726.img<BR> * > append="video=ps3fb:mode:138 rhgb quiet root=/dev/ps3da3"<BR> * ><BR> * > EOF<BR> * mv -f /tmp/yaboot.conf.new /boot/etc/yaboot.conf <BR> * cp -f /boot/etc/yaboot.conf /boot/yaboot/yaboot.conf<BR>
<BR>
- Finally reboot.<BR>
<BR>
<BR>
*** The problem ***<BR>
---------------------------<BR>
The machine starts ok and gets to the 'kboot:' prompt.<BR>I type 'custom' to load the new Kernel<BR>Lots of text comes up until the following line of text:<BR> "ps3-ohci-driver sb_05: USB bus 1 deregistered"<BR>The screen then goes black and stays black and nothing else happens.<BR>
<BR>
<BR>
<BR>
Note: The build steps I've taken from Remy Bohmer's site : <A href="http://www.bohmer.net/ps3_stuff/install-fedora-8-on-PS3.html" target=_blank>http://www.bohmer.net/ps3_stuff/install-fedora-8-on-PS3.html</A><BR>
<BR>Can you tell me what I'm doing wrong?<BR>
Why have I never been able to build and use a kernel I have built?<BR>
Could the problem be related to the warnings of the missing modules during the 'make install'?<BR>
<BR>
Many thanks in advance,<BR>
John<BR><BR><BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Sat, 26 Jul 2008 04:25:31 -0700<BR>> From: geoffrey.levand@am.sony.com<BR>> To: johncunha@hotmail.com<BR>> CC: cbe-oss-dev@ozlabs.org<BR>> Subject: Re: [Cbe-oss-dev] Problem with rebuilding latest Linux Kernel for PS3<BR>> <BR>> On 07/25/2008 02:35 PM, John Cunha wrote:<BR>> > <BR>> > Hi,<BR>> > <BR>> > I'm having some trouble building the 2.6.26 kernel on a Playstation 3<BR>> > (Please be patient with me)...<BR>> > <BR>> > I downloaded<BR>> > http://www.kernel.org/pub/linux/kernel/v2.6/_linux-2.6.26.tar.bz2 <BR>> <BR>> These sources will work OK as is. Use ps3_defconfig as a start.<BR>> <BR>> > I then downloaded the PS3 patch for the 2.6.26 kernel at<BR>> > <http://www.eu.kernel.org/pub/linux/kernel/projects/ps3/ps3-linux-kernel/patch-ps3-linux-2.6.26-stable.0.bz2><BR>> <BR>> These are not for end users. They are for distros who want<BR>> backports.<BR>> <BR>> > Next I did:<BR>> > make oldconfig<BR>> <BR>> You need to use ps3_defconfig.<BR>> <BR>> make mrproper<BR>> cp arch/powerpc/configs/ps3_defconfig .config<BR>> make oldconfig<BR>> <BR>> -Geoff<BR>> <BR><BR><br /><hr />Get fish-slapping on Messenger! <a href='http://clk.atdmt.com/UKM/go/101719805/direct/01/' target='_new'>Play Now</a></body>
</html>