<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>I'm finding it difficult to believe that the Kernelo build is bad or that the install is bad since I have tried building so many kernels and never with any success.<BR>
<BR>
I was wondering if anyone out there could give me specific steps to building a kernel ON the PS3 FOR the PS3 that are known to work?<BR>
For example:<BR>
1- Download kernel 'X' from site 'Y'<BR>
2 -Perform step A<BR>3 -Perform step B<BR>
4 -Perform step C<BR>
.<BR>
.<BR>
8 -Reboot PS3<BR>
9 - At kboot execute command 'Z'<BR><BR>
I know I'm asking alot but I've been following steps suggested by many web sites on a variety of Kernel sources and never with success.<BR>
I would just like to have a starting point for a successful build and reboot that I can work from.<BR>
<BR>
Many thanks, again,<BR>
John<BR>
<BR>
<BR> <BR>
<HR id=stopSpelling>
<BR>
> Date: Mon, 28 Jul 2008 10:27:54 -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/26/2008 11:21 AM, John Cunha wrote:<BR>> > Hi Geoff<BR>> > <BR>> > As I said previously today, I've been trying to rebuild and use<BR>> > 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<BR>> > the machine fails to reboot successfully using the newly build kernel.<BR>> <BR>> Is it the kernel itself or a bad install?<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<BR>> > 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/?]<BR>> > (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,<BR>> > continuing anyway<BR>> > WARNING: No module ps3disk found for kernel 2.6.26-20080726,<BR>> > continuing anyway<BR>> > WARNING: No module ps3rom found for kernel 2.6.26-20080726,<BR>> > continuing anyway<BR>> > WARNING: No module ps3disk found for kernel 2.6.26-20080726,<BR>> > continuing anyway<BR>> <BR>> This means the kernel config does not match your distro's install script.<BR>> In this case you must not use 'make install'. Try:<BR>> <BR>> cp vmlinux.strip /boot/vmlinux<BR>> <BR>> or<BR>> <BR>> cp vmlinux /boot<BR>> <BR>> Then from kboot try:<BR>> <BR>> /boot/vmlinux video=safe root=/dev/ps3da3<BR>> <BR>> > <BR>> > - Adapted the bootloader startup files by adding the new installed<BR>> > 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>> In general, this entry seems screwed up. Is your root really<BR>> on /dev/ps3da3? I doubt you need an initrd.<BR>> <BR>> I recommend you just get it to boot from the kboot command line<BR>> first, then add a conf file entry.<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>