[Cbe-oss-dev] Custom partition layout troubles with Kboot?

Robert McGwier rwmcgwier at gmail.com
Mon Dec 24 07:36:18 EST 2007


The patch does not help because there is no storage module

strip -s -R .comment vmlinux -o vmlinux.strip
  WRAP    arch/powerpc/boot/zImage.ps3
DTC: dts->dtb  on file "/data/PS3/ps3-linux/arch/powerpc/boot/dts/ps3.dts"
256+0 records in
256+0 records out
256 bytes (256 B) copied, 0.013619 s, 18.8 kB/s
256+0 records in
256+0 records out
256 bytes (256 B) copied, 0.011117 s, 23.0 kB/s
sh -x /data/PS3/ps3-linux/arch/powerpc/boot/install.sh
"2.6.24-rc6-g9452fb83-dirty" vmlinux System.map "/boot"
arch/powerpc/boot/zImage.ps3
+ '[' -x /home/n4hy/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ exec /sbin/installkernel 2.6.24-rc6-g9452fb83-dirty vmlinux System.map
/boot arch/powerpc/boot/zImage.ps3
WARNING: No module uhci-hcd found for kernel 2.6.24-rc6-g9452fb83-dirty,
continuing anyway
WARNING: No module ps3_storage found for kernel
2.6.24-rc6-g9452fb83-dirty, continuing anyway

The warnings make it clear that even though PS3 storage and disk are
indicated as modules in the source,  the modules are not being made.

fdisk -l  returns

/dev/ps3da1 as /
and
/dev/ps3da2 as swap (518M)

mount gives

/dev/ps3da


Your 20/Dec/2007 Cell ADDON kernel works and uses the drives perfectly
but I need NFS server so I have to make the kernel and this fails.  When
the boot screeches it says that /dev/root is not found /proc and /sys
are not found.  I am using the kboot from that same ADDON disk image.

This is with a straight

make ps3_defconfig

on the patched source.






Geoff Levand wrote:
> On 12/19/2007 06:13 AM, Robert McGwier wrote:
>> Edward Strong wrote:
>>> Still stuck on this, I'm afraid.  Any help would be most appreciative.
>>>
>>>> Apologies, I should have mentioned that I am indeed using the initrd
>>>> generated using the "make install" script in the kernel source.  Trying to
>>>> specify the direct path (boot=/dev/ps3da3) does work with the stock Fedora
>>>> kernel but not with the development tree kernel.
>>>>
>>>> Many thanks,
>>>>
>>>> Edward
>> That is my experience as well.  I cannot boot the latest git pull since
>> I do not allow LVM, etc. to start.  I am attempting to boot from
>> /dev/ps3da3 and it cannot find the right entry in /dev. I did the custom
>> partition when LVM would not work on the FC7 disks.
> 
> It is difficult to say what is wrong, but at the kboot prompt
> type 'mount' and 'fdisk -l' and post the output.
> 
> Also, try this patch and see if there are any messages indicating a
> problem with the device or driver.
> 
> diff --git a/arch/powerpc/platforms/ps3/device-init.c b/arch/powerpc/platforms/ps3/device-init.c
> index 4288b98..a58d8be 100644
> --- a/arch/powerpc/platforms/ps3/device-init.c
> +++ b/arch/powerpc/platforms/ps3/device-init.c
> @@ -17,7 +17,7 @@
>   *  along with this program; if not, write to the Free Software
>   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
>   */
> -
> +#define DEBUG
>  #include <linux/delay.h>
>  #include <linux/freezer.h>
>  #include <linux/kernel.h>
> 
> -Geoff
> 
> 


-- 
AMSAT Director and VP Engineering. Member: ARRL, AMSAT-DL,
TAPR, Packrats, NJQRP, QRP ARCI, QCWA, FRC. ARRL SDR WG Chair
“An optimist may see a light where there is none, but why
must the pessimist always run to blow it out?” Descartes



More information about the cbe-oss-dev mailing list