[ydl-gen] Kernel hacking

Paulo J. Matos pocm at soton.ac.uk
Thu Nov 15 13:16:06 MST 2007


On Nov 15, 2007 7:04 PM, Sanders, Rob M. <sanders-rob at zai.com> wrote:
> Hey Warren,
>   Yes.  I've built kernels for YDL on both my G5 as well as the PS3.
> The PS3 kernels were for the initial YDL5 release, so I could get
> hugetbl support for the cell back last November.  It took something
> like a day to figure out exactly how to do it (what source to use)
> before I got it up.  I think I've got some of the emails at home
> between Owen and I from then.
>   Currently I'm running FC7 on the PS3, so I can play with SDK3.0.

Can't you use SDK3.0 in YDL?

> If you haven't already done so, check out the following page:
>     http://www.ibm.com/developerworks/power
> Lots of links to good articles, and also check out the Cell Broadband
> Forum pages, I know I've seen a bunch of posts about hugetbl
> installations.
>
> -Rob
>
> -----Original Message-----
> From: yellowdog-general-bounces at lists.terrasoftsolutions.com on behalf of Warren Nagourney
> Sent: Thu 11/15/2007 1:25 PM
> To: Discussion List for General Yellow Dog Linux User Topics
>
> Subject: Re: [ydl-gen] Kernel hacking
>
> Thanks, Rob. Actually, I did make the initrd after building the
> kernel (and I included the appropriate reference to initrd in my
> kboot.conf). Have you ever done the kernel build on YDL?
>
> Warren
>
> On Nov 15, 2007, at 4:42 AM, Sanders, Rob M. wrote:
>
> > Warren,
> >   I've done the hugetbl/hugepages mods a couple of times on a PS3
> > without
> > having any problems.  The last time was with Fedora 7 (needed to
> > play with
> > SDK3.0).  I didn't use the kernel from the cell addon, but one from
> > Geoff's
> > page (don't have the link handy, but should be google-able [is that
> > a word?]).
> >   Did you make a new initrd image from your new kernel?  It sounded
> > like you
> > didn't from your email.  I don't know if that would make a huge
> > difference or
> > not, I don't normally make an initrd when booting my G5, but it
> > seems most
> > of the x86 distro's I've used and the PS3 use it.
> >
> >   Rob
> >
> >
> >
> > -----Original Message-----
> > From: yellowdog-general-bounces at lists.terrasoftsolutions.com on
> > behalf of Warren Nagourney
> > Sent: Wed 11/14/2007 10:53 PM
> > To: Discussion List for General Yellow Dog Linux User Topics
> > Subject: [ydl-gen] Kernel hacking
> >
> > For a number of reasons, I have gone into the kernel hacking business
> > in YDL 5.02 on a PS3 and started by taking the 2.6.23 kernel (from
> > the most recent CELL linux ADDON iso) and compiling it, following the
> > instructions in the Cell Performance article on making huge pages. I
> > made the appropriate changes in the kboot.conf file to reflect the
> > new kernel and tried to boot. SInce this is my first attempt at
> > kernel manufacture, I was not surprised that it didn't work: I got an
> > error message "switchroot: mount failed" and a kernel panic.
> >
> > I looked at the init file in the initrd image and compared it to the
> > one in the initrd for a working kernel: they were identical (not
> > surprising, since the same mkinitrd was probably used for both). Does
> > anyone have any suggestions? Thanks.
> >
> > Warren Nagourney
> >
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general at lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> > HINT: to Google archives, try  '<keywords>
> > site:terrasoftsolutions.com'
> >
> > <winmail.dat>
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general at lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> > HINT: to Google archives, try  '<keywords>
> > site:terrasoftsolutions.com'
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>
>
>
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>



-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK


More information about the yellowdog-general mailing list