<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>A quick amendment to my previous email:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The device name you should use in the
CONFIG_CMDLINE  &#8220;root=&#8230;&#8221; can be found in the routine call to
register_blkdev() in the driver source code. The first parameter to
register_blkdev() is the major number of the device. The second parameter is
the name of the device, as in /dev/xsda2, or /dev/xsysace2. This second
parameter will contain just the &#8216;xsda&#8217; or &#8216;xsysace&#8217; in
it, and it may be a preprocessor constant defined earlier in the file, such as #define
MAJOR_NAME &#8220;xsda&#8221;, but it might not be a constant either. It
depends on the code.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hopefully this clears things up a bit.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>- John<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> linuxppc-embedded-bounces+jbonesio=xilinx.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+jbonesio=xilinx.com@ozlabs.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Pradeep Sampath<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 04, 2006
10:35 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Ming Liu; ammubhai@gmail.com<br>
<b><span style='font-weight:bold'>Cc:</span></b> linuxppc-embedded@ozlabs.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: booting 2.6 kernel on
ML403</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hello Ameet/Ming,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>First of all really appreciate your inputs on this... <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Problem 1 :<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I was using the factory shipped compact flash as is which comes with a
DOS FAT16 partition and a linux 83 partition with ext3 filesystem. I&nbsp;tried
it on 2&nbsp;factory shipped CFs and its&nbsp;the same behavior - . When i
plug-in the CF card reader to the linux box it always reads it as
&quot;sda&quot; and in the linux2.6.17.1/Documentation/devices.txt - sda is the
device file for SCSI disk devices. Wonerding how you guys configured the root
option as &quot;/dev/xsa&quot;.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Now i re-formatted my CF, created a ext2 filesystem using busybox-1.1.0
like the BYU instructions. Created 2 partitions on CF card 1. FAT16 partition
&amp; 2. linux partition and then created 1. dos file system using mkdosfs and 2.
linux ext2 filesystem using mke2fs.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>But the problem still persists and i get &quot;Please append a correct
&quot;root=&quot; boot option :&quot;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>:(<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Problem 2: After i included the TEMAC driver and sysace drivers,
the&nbsp;kernel just hangs. I thought i'll fix problem 1 before i get to
problem 2... <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>With your help i am getting the confidence that i can make this all
work!<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>thanks once again.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>-Pradeep<br>
<br>
<br>
<br>
<b><i><span style='font-weight:bold;font-style:italic'>Ming Liu
&lt;eemingliu@hotmail.com&gt;</span></i></b> wrote:<o:p></o:p></span></font></p>

</div>

<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 3.0pt;
margin-left:3.4pt;margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hello Ameet,<br>
I am using that driver very well now. There is only one problem. It seems <br>
that the driver for TEMAC only support Gigabit Enet, not 10/100/1000M <br>
adapted. But because I want to use the Gigabit enet, I don't care that. So <br>
it's OK, at lease for 1Gbit/s.<br>
<br>
So I don't think Pradeep's problem is caused by Temac. I still suspect that <br>
he didn't pass a right parameter to &quot;root=&quot;, just like what I posted <br>
before.<br>
<br>
Regards<br>
Ming<br>
<br>
<br>
&gt;From: Ameet Patil <br>
<AMMUBHAI@GMAIL.COM>&gt;To: Ming Liu <br>
<EEMINGLIU@HOTMAIL.COM>&gt;CC: pradeepsampath@yahoo.com,
linuxppc-embedded@ozlabs.org<br>
&gt;Subject: Re: booting 2.6 kernel on ML403<br>
&gt;Date: Wed, 04 Oct 2006 09:35:07 +0100<br>
&gt;<br>
&gt;Ming Liu wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt;&gt; [ 3.093694] TCP bic registered<br>
&gt; &gt;&gt; [ 3.129458] NET: Registered protocol family 8<br>
&gt; &gt;&gt; [ 3.181412] NET: Registered protocol family 20<br>
&gt; &gt;&gt; [ 3.236744] VFS: Cannot open root device &quot;xsa2&quot; or
unknown-block(0,0)<br>
&gt; &gt;&gt; [ 3.313092] Please append a correct &quot;root=&quot; boot option<br>
&gt; &gt;<br>
&gt; &gt; It looks that some errors still exist in the parameters you passed to<br>
&gt; &gt; &quot;root=&quot;. Please double check it, or post it in the maillist
for deep<br>
&gt; &gt; analysis.<br>
&gt; &gt; Regards<br>
&gt; &gt; Ming<br>
&gt; &gt;<br>
&gt; &gt; _________________________________________________________________<br>
&gt; &gt; ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com<br>
&gt; &gt; <br>
------------------------------------------------------------------------<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Linuxppc-embedded mailing list<br>
&gt; &gt; Linuxppc-embedded@ozlabs.org<br>
&gt; &gt; https://ozlabs.org/mailman/listinfo/linuxppc-embedded<br>
&gt;Hi Ming,<br>
&gt;IIRC, you are or were using the TEMAC driver along with my System Ace<br>
&gt;driver, isn't it? Does my driver patch ***-after-TEMAC.patch work for<br>
&gt;you? I ask this because Pradeep is having some problems using it (see<br>
&gt;Problem 2 in his email). Could you please update on this?<br>
&gt;<br>
&gt;Thanks,<br>
&gt;-Ameet<br>
<br>
_________________________________________________________________<br>
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓàMSN Messenger: http://messenger.msn.com/cn <br>
<br>
_______________________________________________<br>
Linuxppc-embedded mailing list<br>
Linuxppc-embedded@ozlabs.org<br>
https://ozlabs.org/mailman/listinfo/linuxppc-embedded<o:p></o:p></span></font></p>

</blockquote>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>