Hello Nasim --
--- In "nasim751" <> wrote:
>
> 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
With that netmask, 10.101.x.x is a different network than 10.172.x.x.
> dns_ip: 10.101.1.32
Same here.
>
> 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)
This should be:
/nfsroot *(rw,sync,no_root_squash,insecure)
> #
> # 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)
Look at the output of "exportfs -v" on your nfs server machine to be
sure NFS is started and exporting correctly.
>
> /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
Remove the last line above from the /etc/fstab on the server.
Edit the file /nfsroot/etc/fstab on the server. Add the same line
above to this file. Also, comment out or remove the existing line in
/nfsroot/etc/fstab that mounts /. This tells the TS-7200 where it's
rootfs is located, and to use NFS instead of /dev/hda1 or whatever.
>
> 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"
Do not use dhcp to start. root=/nfsroot is wrong, should be
root=/dev/nfsroot. Set your ip in redboot to 10.172.1.33.
Use this line:
exec -c "console-ttyAM0,115200 root=/dev/nfsroot ip=10.172.1.33
nfsroot=10.172.1.159:/nfsroot"
If you still have problems, please google for nfs howto. Also, Please
read the NFS section in the "Getting Started with Linux" document on
the TS website.
Regards, ........ Charlie
> rgards
> ahmed
>
>
> --- In "charliem_1216" <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/
|