Hi, all I get this error TCP bic registered eth0: --> smc911x_open eth0: --> smc911x_reset eth0: --> smc911x_phy_configure() eth0: --> smc911x_phy_reset() eth0: phy caps=0x7809 eth0: phy advertised caps=0x0de1 eth0: --> smc911x_phy_check_media smc911x_phy_read: phyaddr=0x1, phyreg=0x01, phydata=0x7809 smc911x_phy_read: phyaddr=0x1, phyreg=0x01, phydata=0x7809 eth0: link down eth0: --> smc911x_enable eth0: --> smc911x_set_multicast_list eth0: ~(MAC_CR_PRMS_|MAC_CR_MCPAS_) eth0: update mcast hash table 0x00000000 0x00000000 eth0: --> smc911x_query_statistics eth0: --> smc911x_set_multicast_list eth0: ~(MAC_CR_PRMS_|MAC_CR_MCPAS_) eth0: update mcast hash table 0x00000000 0x00000000 eth0: --> smc911x_query_statistics eth0: --> smc911x_query_statistics eth0: --> smc911x_set_multicast_list eth0: update mcast hash table 0x00000000 0x80000000 IP-Config: Complete: device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.254, host=uclinux, domain=, nis-domain=(none), bootserver=192.168.1.2, rootserver=192.168.1.2, rootpath= Looking up port of RPC 100003/2 on 192.168.1.2 portmap: server 192.168.1.2 not responding, timed out Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 100005/1 on 192.168.1.2 portmap: server 192.168.1.2 not responding, timed out Root-NFS: Unable to get mountd port number from server, using default mount: server 192.168.1.2 not responding, timed out Root-NFS: Server returned error -5 while mounting /home/fgiovagnini/nfsroot VFS: Unable to mount root fs via NFS, trying floppy.
I'm pretty sure I have problem on the server; buit I can mount rootfs from another computer. Tell me a way to foolw to debug Thanks a lot In data lunedì 15 marzo 2010 08:47:00, Peter Turczak ha scritto: : > Hi Fabio, > > assuming you have a linux-based computer you may set up nfs by performing > the following steps: - On your Host > 1. Install the nfs-(kernel)-server package of your Distribution. > 2. Make sure nfsd and portmap are started, if necessary please start > portmap first 3. Create the directory /nfsroot > 4. Edit /etc/exports: > /nfsroot *(no_root_squash,rw) > 5. Restart nfs-server > 6. Copy the files from the romfs/ directory of uClinux /nfsroot > 7. Create the device-Inodes in /nfsroot/dev by > 7. (a) copying all of your hosts' /dev into /nfsroot/dev . > 7. (b) create all devices "in-place" by using the following command > directly within /nfsroot/dev ls -1 @* | awk -F'[@,]' '{print "mknod " > $2,$3,$4,$5}' | sh > - On your target > 1. Enable IP-Autoconfiguration and NFS-Root in the Kernel-Options > 2. Append to the kernel-commandline, subsituting $server_ip by your hosts > IP-Address and $client_ip by your Boards IP-Address: rootfstype=nfs > root=/dev/nfs nfsroot=$server_ip:/nfsroot > ip=$client_ip:$server_ip:$server_ip:$netmask:uclinux:eth0:dhcp 3. Boot > your target: Hope you're done! > > Hope this helped. > > Best Regards, > > Peter > > On Mar 15, 2010, at 7:37 AM, Fabio Giovagnini wrote: > > Hi All, Hi Peter, > > I have this problem; now I can map my flash but I fail to mount the > > rootfs. Ho can I debug the problem? > > Does anyone know how to set the embedded kernel and the host PC to > > configure an nfsroot filesystem? > > > > Thanks a lot > > > > In data lunedì 08 marzo 2010 09:43:05, Fabio Giovagnini ha scritto: > > : > Thanks a a lot. > >> > >> What is the command to apply the patchs; so I do not get wrong. > >> > >> Thanks alot > >> > >> Alle 09:35, lunedì 8 marzo 2010, Peter Turczak ha scritto: > >>> Hi Fabio, > >>> > >>> about a one and a half year ago I stumbled across exactly the same > >>> Problem. SST reports it's flashes size twice, one time as "Blocks" and > >>> once again as "Sectors". I did a workaround for exactly this problem. > >>> (See > >>> http://www.mail-archive.com/uclinux-dev@uclinux.org/msg05737.html ). > >>> > >>> Please find attached the corresponding Patches. Unfortunately I haven't > >>> tested them on the most recent Kernels, but you might at least have > >>> hint where to search ;). > >>> > >>> Best Regards, > >>> Peter > -- Fabio Giovagnini Aurion s.r.l. P.I e C.F. 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.83.50.919 _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev