<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi John,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I had a similar problem with new kernel installation.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>After some time I found out it was the otheros/kboot I was using
which caused the problem.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I installed a new one from here:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a
href="http://download.opensuse.org/distribution/10.3/repo/oss/PS3/otheros/otheros.bld">http://download.opensuse.org/distribution/10.3/repo/oss/PS3/otheros/otheros.bld</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>which I installed on my PS3.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Now the new kernel is booting.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>But be aware that there are some changes in the new modules.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The root is no longer /dev/sda[], it is now /dev/ps3da[]<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Btw, I’m using Debian Lenny on my PS3, with the up2date
kernel.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Just for me, where can I get the latest otheros/kboot for my
PS3.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Or how can I compile one for myself?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Christian<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>
cbe-oss-dev-bounces+gerbra=gotadsl.co.uk@ozlabs.org
[mailto:cbe-oss-dev-bounces+gerbra=gotadsl.co.uk@ozlabs.org] <b>On Behalf Of </b>John
Cunha<br>
<b>Sent:</b> 26 July 2008 19:22<br>
<b>To:</b> Geoff Levand<br>
<b>Cc:</b> cbe-oss-dev@ozlabs.org<br>
<b>Subject:</b> Re: [Cbe-oss-dev] Problem with rebuilding latest Linux Kernel
for PS3<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>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_C67X00_HCD)
[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>
<o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
<hr size=2 width="100%" align=center id=stopSpelling>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><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>
<o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Get
fish-slapping on Messenger! <a
href="http://clk.atdmt.com/UKM/go/101719805/direct/01/" target="_new">Play Now</a><o:p></o:p></span></p>
</div>
</div>
</body>
</html>