ts-7000
[Top] [All Lists]

[ts-7000] Re: need help mountain NFS file system on 7200 from Ubuntu des

To:
Subject: [ts-7000] Re: need help mountain NFS file system on 7200 from Ubuntu desktop 2.6 kernel
From: "nasim751" <>
Date: Mon, 10 Mar 2008 07:03:18 -0000
Hello Charli,
I want to boot ts-7200 using rootfs from my desktop pc? This is
network information Boot script and Desktop.

BOOt Script:

Gateway IP address: 10.172.1.1
Board IP address: 10.172.1.33
Local IP address mask: 255.255.255.0
Default server IP address: 10.101.1.32
dns_ip: 10.101.1.32

Desktop Ip
IP 10.172.1.159
gateway 10.172.1.1
netmask 255.255.255.0
dns ip 10.101.1.32

And my NFS root is 10.172.1.159

etc/exports path

# /etc/exports: the access control list for filesystems which may be
exported
#               to NFS clients.  See exports(5).
#/home  *(rw,sync,no_root_squash)
/nfsroot        *(rw,sync,no_root_squash)
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes  gss/krb5i(rw,sync)
 
/etc/fstab path

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda8
UUID=e10c77e3-eaac-4e0a-b661-beca5f871a58 /               ext3   
defaults,errors=remount-ro 0       1
# /dev/sda6
UUID=356e56fa-4c25-4e7e-baa8-076710d2dd5b /boot           ext3   
defaults        0       2
# /dev/sda1
UUID=A438681A3867E9AE /media/sda1     ntfs   
defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/sda5
UUID=7E20041D2003DB53 /media/sda5     ntfs   
defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/sda7
UUID=555763cc-c3f2-4cf8-8cde-1a9438804b5f none            swap    sw 
            0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
10.172.1.159:/nfsroot   /       nfs     exec,dev,suid   1       1

please tell me how will write in boot script though i have written
like this if any mistake please tell

fis load vmlinux
exec -c "console=ttyAM0,115200 root=/nfsroot ip=dhcp
nfsroot=10.172.1.159:/nfsroot"
rgards
ahmed


--- In  "charliem_1216" <> wrote:
>
> Hi Nasim --
> 
> --- In  "nas_embedded" <nas_embedded@> 
> wrote:
> >
> > hello,
> > I got a problem when trying to access my board TS-7200 from 
> desktop
> > ubuntu (2.6kernel). My any other desktop can access my pc using 
> NFS
> > file system but when trying for ts-7200 getting this 
> problem.........
> 
> Do you want to access files on your pc from ts-7200 via nfs?  Or do 
> you want to boot ts-7200 using rootfs on your pc?
> 
> > 
> > >> TS-BOOTROM, Rev 1.06 - built 14:21:24, Dec  5 2005
> > >> Copyright (C) 2005, Technologic Systems
> > >> TS-7200: Rev E0 CPU, Rev C PLD, 32MB SDRAM, options ( RS485 )
> > 
> > +Ethernet eth0: MAC address 00:d0:69:40:29:90
> > IP: 10.172.1.44/255.255.255.0, Gateway: 10.172.1.1
> > Default server: 10.101.1.32
> > 
> > RedBoot(tm) bootstrap and debug environment [ROMRAM]
> > Non-certified release, version current-TS_5 - built 15:41:04, Mar  
> 8 2005
> > 
> > Platform: TS-7200 Board (ARM920T) Rev A
> > Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
> > 
> > RAM: 0x00000000-0x02000000, [0x00044c28-0x01fdd000] available
> > FLASH: 0x60000000 - 0x60800000, 64 blocks of 0x00020000 bytes 
> each.
> > == Executing boot script in 0.100 seconds - enter ^C to abort
> > RedBoot> fis load vmlinux
> > RedBoot> exec -c "console=ttyAM0,115200 
> nfsroot=10.172.1.159:/nfsroot"
> 
> Try adding "root=/dev/nfs" to your exec command line.  I also found 
> I needed to add an "ip= ... " to my command line.  In your case I 
> guess it would be "ip=10.172.1.44", but you may not need it.
> 
> Are you sure /nfsroot is exported on your server, and is a valid arm 
> rootfs?
> 
> Finally, be sure when you do get NFS working, that your init scripts 
> don't change the IP address from 10.172.1.44, or else you'll loose 
> your rootfs.
> 
> Regards, ........ Charlie
> 
> > Using base address 0x00218000 and length 0x000b388c
> > Linux version 2.4.26-ts9  (gcc version 3.3.4) #1 
> Tue
> > Oct 25 15:30:14 MST 2005
> 
> 
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> > NetWinder Floating Point Emulator V0.97 (double precision)
> > Looking up port of RPC 100003/2 on 10.172.1.159
> > RPC: sendmsg returned error 101
> > portmap: RPC call returned error 101
> > Root-NFS: Unable to get nfsd port number from server, using 
> default
> > Looking up port of RPC 100005/1 on 10.172.1.159
> > RPC: sendmsg returned error 101
> > portmap: RPC call returned error 101
> > Root-NFS: Unable to get mountd port number from server, using 
> default
> > RPC: sendmsg returned error 101
> > mount: RPC call returned error 101
> > Root-NFS: Server returned error -101 while mounting /nfsroot
> > VFS: Unable to mount root fs via NFS, trying floppy.
> > VFS: Cannot open root device "" or 02:00
> > Please append a correct "root=" boot option
> > Kernel panic: VFS: Unable to mount root fs on 02:00
> > 
> > Please can anyone give me idea how can i solve this problem.
> > regards
> > Nasim Ahmed
> >
>




 
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