[Cbe-oss-dev] how to rebuild ps3 kernel

Geert Uytterhoeven Geert.Uytterhoeven at sonycom.com
Sat Jan 6 20:30:31 EST 2007


On Fri, 5 Jan 2007, Bill Hoover wrote:
> There are two features I need that are not enabled by default in the ps3
> kernel.  Specifically CONFIG_TUN=m (so that I can use vpnc), and 
> CONFIG_HUGETLBFS=y and CONFIG_HUGETLB_PAGE=y (so that I can try the huge
> pages, as used in some of the cellsdk examples).
> 
> I rebuilt the kernel after making these changes to the config, and the
> TUN one worked as it just created a new module which the old kernel
> could use.  The question is how to replace the kernel itself.  When I
> moved vmlinux over as /boot/vmlinux-2.6.16 and tried to boot it, right
> after it starts loading the usb-storage.ko module I get complaints about
> unknown symbols for scsi_scan_host and several other scsi things.  Then
> insmod says it had an error, it continues for a little then hangs
> loading usbhid.ko.  Copying the Sony-provided vmlinux-2.6.16 back on to
> and everything works.
> 
> This is on an FC5-based install.  gcc is 4.1.0-3.  I started from
> linux-20061110, changed the config file, said make, then copied the
> vmlinux.  Does something else need to be done?  I couldn't find any
> other instructions.  (It might also be nice to have these options on by
> default, but that is a different issue).

Did you install the new kernel modules?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven at sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium



More information about the cbe-oss-dev mailing list