<br><br><div><span class="gmail_quote">On 3/17/07, <b class="gmail_sendername">Geoff Levand</b> &lt;<a href="mailto:geoffrey.levand@am.sony.com">geoffrey.levand@am.sony.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Aegis Lin wrote:<br>&gt; On 3/16/07, Geoff Levand &lt;<a href="mailto:geoffrey.levand@am.sony.com">geoffrey.levand@am.sony.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; In my testing I found that it is because for some reason (not dig yet) the
<br>&gt; current git kernel<br>&gt; (2.6.21-rc1) for PS3 won&#39;t take command lines from kboot, so initrd will<br>&gt; never have a chance<br>&gt; to be loaded. I&#39;ve verified this on FC5 and YDL5, for kboot (otheros.bld
)<br>&gt; provided by both<br>&gt; Sony and YDL.<br><br>See the line LOAD_REG_IMMEDIATE(r3, dt_blob_start) here:<br><br>&nbsp;&nbsp;<a href="http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux-patches.git;a=blob_plain;f=ps3-hacks/ps3-no-bootwrapper-hack.diff">
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux-patches.git;a=blob_plain;f=ps3-hacks/ps3-no-bootwrapper-hack.diff</a></blockquote><div><br>Ok, I think I got the idea... <br></div>(And might need some time to pick up the gap between 
2.6.16 and git-current)<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; If the default kernel config is used, the kernel will be compiled with a
<br>&gt; default command<br>&gt; line which only assigns &quot;root&quot; and &quot;videomode&quot;. FC5 can still be booted<br>&gt; normally because<br>&gt; (root):/dev (the real directory, not the mounted tmpfs one) really contains
<br>&gt; the dev nodes<br>&gt; needed during boot, while for YDL5, /dev is in fact empty. After booting,<br>&gt; anyway udev will<br>&gt; take control...<br><br>That makes sense.&nbsp;&nbsp;I needed to add the nodes when I switched to FC6.&nbsp;&nbsp;So
<br>I guess the distro&#39;s initrd has those nodes?&nbsp;&nbsp;I never checked into it.<br><br>-Geoff</blockquote><div>I&#39;ve checked initrd generated by mkinitrd for both FC5 and YDL5. Slight differences, but similar.<br><br>Ini init(), before init_post() if initrd has been mounted, /init will be executed, which is usually a simple nash
<br>shell script. In that script tmpfs will be mounted onto /dev and sevral important nodes (including<br>/dev/console) will be created. So if during boot the chance is missed and the real /dev is empty,<br>the open attempt to /dev/console will surely fail in init_post().
<br><br></div></div>-- <br>&lt;i&gt;Yet another coder currently roaming in Japan...&lt;/i&gt;<br>Yu-Te Aegis Lin, aka AirL<br>alternative email: ydlin (at) <a href="http://ntu.edu.tw">ntu.edu.tw</a>