Re: [asus-port] Booting from CF

From: Santiago Lizardo Oscares <santiago.lizardo_at_gmail.com>
Date: Fri, 9 Mar 2007 18:02:40 +0100

Uops, nothing yet.

The message is:

Roots-NFS: No NFS server available, giving up.
VFS: Unable to mount root via NFS, trying floppy.
VFS: Cannot open root device "hda1" or unknow-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block(2,0)

I start thinking that the problem is the way I prepare the CF, instead
de kernel or boot options.

My CF has two partitions, one fat and one ext2. Also, I uncompressed
the OPIE distribution found somewhere on asus730 page from hh.org. I
need to use the latest from the OPIE page instead?
I need to do something special with the /boot directory? I didn't
copied kernel nor system.map, etc... maybe here is the problem.

Thank you for your help!

On 3/8/07, Tux P <gentuu_at_gmail.com> wrote:
> Santiago,
>
> sure please specify "root=/dev/hdaX" or "root=3:X"
> as you see - "hda" device is found and is your CF card.
>
> Also please note that using initrd file rejects using "root=" kernel option
> as it does (well, "should") all the things (real root mounting, exec'ing
> real init...).
> So if you don't have the _correct_ initrd - please don't specify initrd
> parameter anywhere.
>
> I didn't look into your config for now.
> But please let me know your results.
>
> Thanks
> -------
> Nick
>
>
> 2007/3/6, Santiago Lizardo Oscares < santiago.lizardo_at_gmail.com>:
> >
> > Well, I can't success with those tips yet.
> >
> > The kernel has support for ATA drives, it's the default config after a
> > "make asus730_config", but look at inside for check it out. (it's
> > attached)
> >
> > Also, I put you the last lines of my incomplete boot:
> >
> > XScale: iWMMXt coprocessor detected.
> > hda: CF500, CFA Disk drive
> > hdb: no response (status = 0xa1, ressetting drive
> > hdb: no response (status = 0x81)
> > ide0 at 0xc48000000-0xc48000007 on irq 43
> > ide-cs: hda: Vpp = 0.0
> > Waiting 3sec before mounting root device...
> > RAMDISK: Couldn't find valid RAM disk image starting at 0.
> > VFS: Cannot open root device "8:1" or unknow-block(8,1)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknow-block(8,1)
> >
> > Finally, my boot options are:
> > set kernel zImage
> > set inirtrd "initrd.gz"
> > set cmdline "root=8:1 ramdisk_size=8192 rw mem=64m rootdelay=3
> > video=pxafb:pixclock:52000 cachepolicy=writetrough"
> > set mtype 691
> > boot
> >
> > At last, I ask me, Is the initrz.gz of my own correct? I found it on
> > the hh.org site but I don't know if it's the correct one, according to
> > my kernel or configuration.
> >
> > Thanks & regards,
> >
> >
> >
> > On 3/5/07, Serge Nikolaenko <mypal_hh_at_utl.ru> wrote:
> > > On 5 March 2007 06:56, Santiago Lizardo Oscares wrote:
> > > > Hello everybody,
> > > >
> > > > I'm trying to boot Linux in my MyPal A730 after compiling the kernel
> > > > 2.6 from HH.org and everything goes very well, but when I finally boot
> > > > with the haret 0.4.6 and my new kernel I only get the "unable to mount
> > > > root" message.
> > >
> > > Check, that CF and ATA support is compiled in.
> > > Make sure, you've defined correct partition (for CF here: /dev/hdaN).
> > > Try to use kernel parameter rootdelay=3 - CF card was detected as an IDE
> > > device right after (with 1-3 seconds delay) kernel was trying to mount
> root.
> > >
> > > > I don't have clear which is the right device that identifies my
> > > > compact flash memory card.
> > > > I saw things like /dev/hda1 /dev/mmc/blk0 /dev/ram0 254:2 0:0 and
> > > > etc... I have tried almost all the possibilities and I can't use my
> > > > opie distribution.
> > > >
> > > > My CF memory card was properly formatted and the OPIE distribution was
> > > > uncompressed with root privileges (in order to create the /dev files)
> > > >
> > > > Can somebody give me a hand? I spent several days and I giving up :(
> > > >
> > > > Thank you and awesome work!
> > > _______________________________________________
> > > asus-port mailing list
> > > asus-port_at_handhelds.org
> > > https://www.handhelds.org/mailman/listinfo/asus-port
> > >
> >
> >
> > --
> > Santiago Lizardo Oscares
> > Free Software Consultant
> >
> > _______________________________________________
> > asus-port mailing list
> > asus-port_at_handhelds.org
> > https://www.handhelds.org/mailman/listinfo/asus-port
> >
> >
>
>

-- 
Santiago Lizardo Oscares
Free Software Consultant
Received on Fri Mar 09 2007 - 12:02:41 EST

This archive was generated by hypermail 2.2.0 : Fri Mar 09 2007 - 12:03:00 EST