ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: load kernel from cf

To:
Subject: Re: [ts-7000] Re: load kernel from cf
From: Jim Jackson <>
Date: Thu, 4 Aug 2011 21:02:27 +0100 (BST)


On Thu, 4 Aug 2011, wawan_wiratno wrote:

> Thanks, I think -I 128 is the solution

No, or it wouldn't be possible to boot using the kernel in the onboard 
flash, with the CFdisk partition as the root file system!

I do not see much analysis here, and much grasping at straws.

> 
> but I got kernel panic :
> VFS: Unable to mount root fs via NFS, trying floppy.                 
> VFS: Cannot open root device "sda1" or unknown-block(2,0)     
> Please append a correct "root=" boot option                
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
> 
> I have tried root=/dev/hda1 or root=/dev/sda1, same result
> something on config I've missed?

Without an EXACT cut and paste of what you've done, we  sometimes need to 
be mystic Meg with her crystal ball :-) But...

It appears that you have loaded and executed the kernel from the CFDisk?
But that this kernel has then failed to mount the root filesystem.
This _could_ be a problem with the kernel - you don't say what this kernel 
is. 

My approach would be to take the onboard flash kernel and make sure you 
can boot THAT kernel from the CFdisk. That way you KNOW you have a good 
kernel, and you are ONLY testing the ability to load an run the kernel from 
CFdisk.

When that works, try a kernel that you have made.

> 
> 
> --- In  "J. Langley" <> wrote:
> >
> > Here are my notes from getting a TS-7200 to boot from CF card using a 2.6
> > kernel located at /boot/vmlinux on the CF card:
> > 
> > "I was able to get this loaded into the CF card and boot into the board with
> > the command:
> > load -b 0x00218000 -m disk hda1:/boot/vmlinux
> > 
> > This was after I reformatted the ext2 partition with an inode size of 128.
> >  Did this with the command: mkfs.ext2 -I 128 /dev/sdb1
> > The kernel would not load from an ext2 partition with an inode size of 256
> > (default size without specifying otherwise)."
> > 
> > Not sure if that helps.  I haven't touched it since I got it working about a
> > year ago.
> > 
> > 
> > On Tue, Aug 2, 2011 at 11:12 AM, Jim Jackson <> wrote:
> > 
> > > **
> > >
> > >
> > >
> > >
> > > On Tue, 2 Aug 2011, wawan_wiratno wrote:
> > >
> > > > Hi,
> > > >
> > > > its like classic case on this forum, but i cannot still figure out
> > > > my ts-7200 can only boot from flash.
> > > > I have recompile the kernel 2.4 and placed vmlinux.bin on root of my fs
> > > on cf card.
> > > >
> > > > on redboot here is my command:
> > > > load -r -b 0x00218000 -m disk hda1:/vmlinux.bin
> > > > exec -c "console=ttyAM0,115200 root=/dev/hda1"
> > > >
> > > > but still cannot boot it says
> > > > cannot openfile
> > > >
> > > > should I delete vmlinux on redboot list?
> > >
> > > NO! It is your safety net!
> > >
> > > How did you set up the CFdisk?
> > >
> > > The CFdisk is partitioned and the first (maybe only) partition is
> > > formatted with an ext2 File system?
> > >
> > > If you boot from the flash, can you mount the cfdisk?
> > >
> > > Can you cut and paste the output from the console, and the messages when 
> > > it
> > >
> > > fails to load the kernel?
> > >
> > >  
> > >
> >
> 
> 
> 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU