[Cbe-oss-dev] Problems booting PS3 kernel

Geoff Levand geoffrey.levand at am.sony.com
Sun Apr 22 03:37:46 EST 2007


Julio M. Merino Vidal wrote:
> Well, there are no error messages as per se.  As I mentioned earlier,  
> booting the kernel installed by the rpm-pkg results in:
> 
> kboot: testing
> get memory ranges:1
> Invalid memory segment 0x800000 - 0x9fdfff
> get memory ranges:1
> Invalid memory segment 0x800000 - 0x9fdfff
> Segmentation fault

I looks like it is trying to boot a zImage, which the legacy
bootloader can't handle.

There are two things you need do to to make it work.  One is to get vmlinux
or vmlinux.strip somewhere the bootloader can load it from, and two, is to
make a proper kboot command to load that file.

For the first, at the kboot prompt, type this

  kboot: ls -l //mnt/root/boot

Note the double slashes.  You need to see the newly installed vmlinux there.
If it is not there, or an old file is there ,you need to modify
scripts/package/mkspec, or manually copy the file there after the install.

Once that is working, then try this:

  kboot: echo $testing

or

 kboot: cat //mnt/root/etc/kboot.conf

It sould have vmlinux or vmlinux.strip.  My guess is that it will not, and
will be zImage.ps3.  You need to make a new menu item that is correct.

-Geoff
 







> kboot:
> 
> And that was because I was using an invalid kernel (again, the one  
> installed by rpm-pkg):
> 
> ps3:~> file /boot/vmlinuz*
> /boot/vmlinuz-2.6.21-rc5-20070330: ELF 64-bit MSB executable, cisco
> 7500, version 1 (SYSV), statically linked, stripped
> /boot/vmlinuz-2.6.21-rc7-20070418: ELF 32-bit MSB executable, PowerPC
> or cisco 4500, version 1 (SYSV), statically linked, not stripped
> 
> I may be able to debug this on Monday.
> 





More information about the cbe-oss-dev mailing list