ts-7000
[Top] [All Lists]

[ts-7000] TS-7200: VFS: Cannot open root device "hda1" or unknown-block(

To:
Subject: [ts-7000] TS-7200: VFS: Cannot open root device "hda1" or unknown-block(2,0)
From: "gunnar.kjemphol" <>
Date: Sat, 16 Oct 2010 09:56:09 -0000
I am trying to install the tskernel-2.6.21-ts on a CF card on the TS-7200 
board, and boot process stops with the a bow message. 
Here is my procedure on a Ubuntu host:

Format the CF card:
sudo umount /dev/sdc1
sudo mkfs.ext2 -I 128 /dev/sdc1
sudo tune2fs -i 0 /dev/sdc1

Get the crosstool and kernel:
wget 
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/cross-toolchains/crosstool-linux26-3.4.4-2005q3-2.tar.gz
tar -xzf crosstool-linux26-3.4.4-2005q3-2.tar.gz
wget 
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/sources/tskernel-2.6.21-ts-src.tar.gz
tar -xzf tskernel-2.6.21-ts-src.tar.gz

cd linux-2.6.21-ts
make ts72xx_defconfig
make menuconfig
make
Error message:
scripts/mod/sumversion.c:384: error: `PATH_MAX' undeclared (first use in this 
function)

added
   include <linux/limits.h>
in sumversion.c
make
make modules

sudo tar cvfz ../linux-2.6.21-ts.tgz *
cd /mnt/cfcard
tar xvfz [path-to]/linux-2.6.21-ts.tgz

then I boot CF image from redboot:
Redboot> load -b 0x00218000 -m disk hda1:/boot/vmlinux
Redboot> exec -c "console=ttyAM0,115200 root=/dev/hda1"

I get the following error message:
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "hda1" 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)

Can anyone help me with this one?
Is it something I have misunderstand?






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

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