[ydl-gen] Kernel hacking

Warren Nagourney warren at phys.washington.edu
Thu Nov 15 23:32:24 MST 2007


Thanks very much Takashi. That solved the problem and the kernel  
works fine (although, I can't tell the difference from the older  
kernel, except by typing "uname -r").

Thanks again.

Warren N

On Nov 15, 2007, at 5:21 PM, Takashi Nakamura wrote:

> Hi Warren.
>
>
>> 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.
>
> Name of PS3 storage device is renamed to '/dev/ps3daN' from '/dev/sdN'
> on 2.6.23 kernel.
> So, name of root device is changed to '/dev/ps3da2'.
>
> Did you change name of root device in 'kboot.conf'?
>
> You must change name of root device in 'kboot.conf' as follows :
> |  ydl_htlb      ='/dev/sda1:/vmlinux-2.6.16_HTLB initrd=/dev/sda1:/ 
> initrd-2.6.16_HTLB.img \
> |  root=/dev/ps3da2 init=/sbin/init video=ps3fb:mode:3 rhgb'
>
>
> Regards.
> --
> Takashi Nakamura<nakamura at fixstars.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'



More information about the yellowdog-general mailing list