[Cbe-oss-dev] Problem with rebuilding latest Linux Kernel for PS3

John Cunha johncunha at hotmail.com
Sun Jul 27 05:41:16 EST 2008


Hi Christian,
 
Thanks for the mail!
I have had thoughts that the booter might also be the problem.
I downloaded the latest (11 June 2008) from :
http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-kboot/
 
(I did try the otheros.bld that you sent me but it didnt display any kernels)
 
Hopefully something new will come up... 
 
Many thanks,
John
 



From: gerbra at gotadsl.co.ukTo: johncunha at hotmail.comCC: cbe-oss-dev at ozlabs.orgSubject: RE: [Cbe-oss-dev] Problem with rebuilding latest Linux Kernel for PS3Date: Sat, 26 Jul 2008 20:29:09 +0100






Hi John,
 
I had a similar problem with new kernel installation.
After some time I found out it was the otheros/kboot I was using which caused the problem.
I installed a new one from here:
 
http://download.opensuse.org/distribution/10.3/repo/oss/PS3/otheros/otheros.bld
 
which I installed on my PS3.
Now the new kernel is booting.
 
But be aware that there are some changes in the new modules.
The root is no longer /dev/sda[], it is now /dev/ps3da[]
 
Btw, I’m using Debian Lenny on my PS3, with the up2date kernel.
 
Just for me, where can I get the latest otheros/kboot for my PS3.
Or how can I compile one for myself?
 
Regards,
Christian
 



From: cbe-oss-dev-bounces+gerbra=gotadsl.co.uk at ozlabs.org [mailto:cbe-oss-dev-bounces+gerbra=gotadsl.co.uk at ozlabs.org] On Behalf Of John CunhaSent: 26 July 2008 19:22To: Geoff LevandCc: cbe-oss-dev at ozlabs.orgSubject: Re: [Cbe-oss-dev] Problem with rebuilding latest Linux Kernel for PS3
 
Hi Geoff 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.The usual problems are that the kernel seems to build with success but the machine fails to reboot successfully using the newly build kernel. I tried to build this kernel without the patch. Below are the exact steps I took and any notable screen warnings: - Unpack the source file :        tar xjf linux-2.6.26.tar.bz2- Descend into directory- Create a local file called 'localversion' containing the text :       -20080726- make mrproper- Copy config file:       cp arch/powerpc/configs/ps3_defconfig .config- Compile config:       make oldconfig  (Note : During 'make oldconfig' I was prompted to answer some questions (all of which I just pressed 'return'):      Forced module loading (MODULE_FORCE_LOAD) [N/y/?] (NEW)      /dev/kmem virtual device support (DEVKMEM) [Y/n/?] (NEW)      Hardware monitoring support (THERMAL_HWMON) [N/y/?] (NEW)      Framebuffer foreign endianness support (FB_FOREIGN_ENDIAN) [N/y/?] (NEW)      Cypress C67x00 HCD support (USB_C67X00_HCD) [N/m/?] (NEW)      ISP 1760 HCD support (USB_ISP1760_HCD) [N/m/?] (NEW)      USB Wireless Device Management support (USB_WDM) [N/m/?] (NEW)      iSight firmware loading support (USB_ISIGHTFW) [N/m/?] (NEW)      Accessibility support (ACCESSIBILITY) [N/y/?] (NEW)      Debug object operations (DEBUG_OBJECTS) [N/y/?] (NEW) - Build the kernel:        make -j2- Make and install modules        make modules_install- Make the kernel         make install   (Note: during 'make install' I got the following warnings:)       WARNING: No module uhci-hcd found for kernel 2.6.26-20080726, continuing anyway       WARNING: No module ps3disk found for kernel 2.6.26-20080726, continuing anyway       WARNING: No module ps3rom found for kernel 2.6.26-20080726, continuing anyway       WARNING: No module ps3disk found for kernel 2.6.26-20080726, continuing anyway - Adapted the bootloader startup files by adding the new installed kernel. Executeed these commands:    * echo "default=custom" > /tmp/yaboot.conf.new    * cat /boot/etc/yaboot.conf >> /tmp/yaboot.conf.new    * cat >> /tmp/yaboot.conf.new << EOF    * >    * > image=/vmlinux-2.6.26-20080726    * >         label=custom    * >         read-only    * >         initrd=/initrd-2.6.26-20080726.img    * >         append="video=ps3fb:mode:138 rhgb quiet root=/dev/ps3da3"    * >    * > EOF    * mv -f /tmp/yaboot.conf.new /boot/etc/yaboot.conf     * cp -f /boot/etc/yaboot.conf /boot/yaboot/yaboot.conf - Finally reboot.  *** The problem ***---------------------------The machine starts ok and gets to the 'kboot:' prompt.I type 'custom' to load the new KernelLots of text comes up until the following line of text:   "ps3-ohci-driver sb_05: USB bus 1 deregistered"The screen then goes black and stays black and nothing else happens.   Note: The build steps I've taken from Remy Bohmer's site : http://www.bohmer.net/ps3_stuff/install-fedora-8-on-PS3.htmlCan you tell me what I'm doing wrong?Why have I never been able to build and use a kernel I have built?Could the problem be related to the warnings of the missing modules during the 'make install'? Many thanks in advance,John



> Date: Sat, 26 Jul 2008 04:25:31 -0700> From: geoffrey.levand at am.sony.com> To: johncunha at hotmail.com> CC: cbe-oss-dev at ozlabs.org> Subject: Re: [Cbe-oss-dev] Problem with rebuilding latest Linux Kernel for PS3> > On 07/25/2008 02:35 PM, John Cunha wrote:> > > > Hi,> > > > I'm having some trouble building the 2.6.26 kernel on a Playstation 3> > (Please be patient with me)...> > > > I downloaded> > http://www.kernel.org/pub/linux/kernel/v2.6/_linux-2.6.26.tar.bz2 > > These sources will work OK as is. Use ps3_defconfig as a start.> > > I then downloaded the PS3 patch for the 2.6.26 kernel at> > <http://www.eu.kernel.org/pub/linux/kernel/projects/ps3/ps3-linux-kernel/patch-ps3-linux-2.6.26-stable.0.bz2>> > These are not for end users. They are for distros who want> backports.> > > Next I did:> > make oldconfig> > You need to use ps3_defconfig.> > make mrproper> cp arch/powerpc/configs/ps3_defconfig .config> make oldconfig> > -Geoff> 



Get fish-slapping on Messenger! Play Now
_________________________________________________________________
Play and win great prizes with Live Search and Kung Fu Panda
http://clk.atdmt.com/UKM/go/101719966/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20080726/fc636bec/attachment.htm>


More information about the cbe-oss-dev mailing list