This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NFS boot issues

Other Parts Discussed in Thread: AM1808, OMAP-L138, DA8XX, PMP

 

Hi All,

 

I just started with an AM1808 EVM Development Kit.

I’m trying to boot via tftp and use nfs as root filesystem.

 

My Target(AM1808) ip assigned as    - 192.168.1.100

My Host Ubuntu(10.04LTE)server      - 192.168.1.200.

 

I have modified few steps for NFS as follows:

 

  1. I have modified in /etc/exports the following line:

      /home/kumar/AM1808/filesys *(rw,sync,no_subtree_check)

 

  1. And, in /etc/hosts.allow:

      portmap mountd nfsd statd lockd rquotad : 192.168.1.10

 

  1. And, in /etc/hosts.deny:

      portmap mountd nfsd statd lockd rquotad : ALL

 

  1. Then I started my NFS services:

      root$ service portmap start

      root$ /etc/init.d/nfs-kernel-server restart

 

  1. NFS service is running on Ubuntu as below:

root@ubuntu:/etc# ps -e | grep nfs

 

 671 ?        00:00:00 nfsiod

 2145 ?        00:00:00 nfsd4

 2146 ?        00:00:00 nfsd

 2147 ?        00:00:00 nfsd

 2148 ?        00:00:00 nfsd

 2149 ?        00:00:00 nfsd

 2150 ?        00:00:00 nfsd

 2151 ?        00:00:00 nfsd

 2152 ?        00:00:00 nfsd

 2153 ?        00:00:00 nfsd

 

  1. I Run this command to check the NFS service is running or not:

root@ubuntu:/etc# chkconfig | grep nfs

nfs-kernel-server           on

umountnfs.sh                0

 

  1. I have Checked rpc service is started or not using following comment:

root@ubuntu:/etc# rpcinfo -p

   program vers proto   port

    100000    2   tcp    111  portmapper

    100000    2   udp    111  portmapper

    100024    1   udp  59266  status

    100024    1   tcp  51333  status

    100021    1   udp  47282  nlockmgr

    100021    3   udp  47282  nlockmgr

    100021    4   udp  47282  nlockmgr

    100021    1   tcp  45584  nlockmgr

    100021    3   tcp  45584  nlockmgr

    100021    4   tcp  45584  nlockmgr

    100003    2   udp   2049  nfs

    100003    3   udp   2049  nfs

    100003    4   udp   2049  nfs

    100003    2   tcp   2049  nfs

    100003    3   tcp   2049  nfs

    100003    4   tcp   2049  nfs

    100005    1   udp  56583  mountd

    100005    1   tcp  41591  mountd

    100005    2   udp  56583  mountd

    100005    2   tcp  41591  mountd

    100005    3   udp  56583  mountd

    100005    3   tcp  41591  mountd

 

  1. Exporting the file systems for mounting

root@ubuntu:/etc# sudo exportfs -ra

 

exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/home/kumar/AM1808/filesys".

Assuming default behaviour ('no_subtree_check').

NOTE: this default has changed since nfs-utils version 1.0.x

 

  1. root@ubuntu:/etc# /etc/init.d/nfs-kernel-server restart

* Stopping NFS kernel daemon                         [ OK ]

* Unexporting directories for NFS kernel daemon...   [ OK ]

* Exporting directories for NFS kernel daemon...                              

exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/home/kumar/AM1808/filesys".

      Assuming default behaviour ('no_subtree_check').

NOTE: this default has changed since nfs-utils version 1.0.x                                           [ OK ]

* Starting NFS kernel daemon      [ OK ]

      root@ubuntu:/etc# chkconfig | grep nfs-kernel-server

nfs-kernel-server           on

 

  1. root@ubuntu:/etc# service portmap restart

portmap start/running, process 700

 

  1. root@ubuntu:/etc# chkconfig | grep portmap

portmap                     off

portmap-boot                off

portmap-wait                off

 

Target Bootargs

ethaddr=00:08:EE:04:32:85

serverip=192.168.6.16

eth0 192.168.1.10

sereverip=192.168.1.1

bootdelay=3

baudrate=115200

autoload=no

get_kernel=run tftp_kernel

eth0=192.168.1.200

bootserver=192.168.1.100

addr=192.168.1.200

mask=255.255.255.0

gw=192.168.1.1

host=192.168.1.100

ipaddr=192.168.1.10

serverip=192.168.1.100

filesize=2040D0

fileaddr=C0700000

loadaddr=0xc0700000

ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off

mmcboot=mmc init; fatload mmc 0 0x80000000 uImage; bootm 0x80000000

get_initrd=run nand_initrd

serverip=192.168.1.200

netmask=255.255.255.0

gatewayip=192.168.1.1

dnsip=192.168.1.1

nfshost=192.168.1.100

rootpath=/targetNFS

bootfile=uImage

bootcmd=static;tftp;bootm

ipaddr=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off

bootargs=console=ttyS2,115200n8 noinitrd rw ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off root=/dev/nfs nfsroot=192.168.1.200:/targetNFS, nolock mem=32M

stdin=serial

stdout=serial

stderr=serial

ver=U-Boot 2009.11 (Mar 25 2010 - 14:39:42)

 

After target is booting the uImage through tftp transfer, I am getting the following error related to nfs:

omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, id=7c0f1)

IP-Config: Complete:

     device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1,

     host=192.168.1.100, domain=, nis-domain=(none),

     bootserver=192.168.1.200, rootserver=192.168.1.200, rootpath=

Looking up port of RPC 100003/2 on 192.168.1.200

PHY: 1:00 - Link is Up - 100/Full

rpcbind: server 192.168.1.200 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.200

rpcbind: server 192.168.1.200 not responding, timed out

Root-NFS: Unable to get mountd port number from server, using default

Root-NFS: Server returned error -110 while mounting /home/kumar/AM1808/filesys

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or unknown-block(2,0)

Please append a correct "root=" boot option; here are the available partitions:

1f00             256 mtdblock0 (driver?)

1f01              64 mtdblock1 (driver?)

1f02            7808 mtdblock2 (driver?)

1f03              64 mtdblock3 (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

Backtrace:

[<c0031730>] (dump_backtrace+0x0/0x114) from [<c0320420>] (dump_stack+0x18/0x1c)

 r7:00008000 r6:c1c13000 r5:c0025a08 r4:c0446f38

[<c0320408>] (dump_stack+0x0/0x1c) from [<c0320488>] (panic+0x64/0x13c)

[<c0320424>] (panic+0x0/0x13c) from [<c0008fec>] (mount_block_root+0x1e0/0x220)

 r3:00000001 r2:00000001 r1:c1c23f60 r0:c03b5856

[<c0008e0c>] (mount_block_root+0x0/0x220) from [<c00090f0>] (mount_root+0xc4/0xfc)

 r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000

[<c000902c>] (mount_root+0x0/0xfc) from [<c0009298>] (prepare_namespace+0x170/0x1c8)

 r5:c0025a08 r4:c0446a20

[<c0009128>] (prepare_namespace+0x0/0x1c8) from [<c00084c8>] (kernel_init+0xf0/0x12c)

 r5:00000000 r4:c04467e0

[<c00083d8>] (kernel_init+0x0/0x12c) from [<c0045424>] (do_exit+0x0/0x6b4)

 r5:00000000 r4:00000000


I believe this is because mount is not connected properly. Can I know the issue where I have missed it? Please give a suggestions.

 

Thanks,

Francis


 

  • Hi,

    for nfs booting, the kernel nfs related boot command argument should be same as the exported directory name .

    in your case

    I have modified in /etc/exports the following line:
          /home/kumar/AM1808/filesys *(rw,sync,no_subtree_check)

    and
    kernel command line argument are different
    bootargs=console=ttyS2,115200n8 noinitrd rw ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off
    root=/dev/nfs nfsroot=192.168.1.200:/targetNFS, nolock mem=32M

    To correct it, change kernel command line argument as
    bootargs=console=ttyS2,115200n8 noinitrd rw ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off
    root=/dev/nfs nfsroot=192.168.1.200:/home/kumar/AM1808/filesys, nolock mem=32M


    Reagrds
    Gururaja

  • Hi Gururaja,

    Those environment variables are old one. As per your suggestion, i have modified the same thing but i got the same message:
      
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, id=7c0f1)
    IP-Config: Complete:
         device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1,
         host=192.168.1.100, domain=, nis-domain=(none),
         bootserver=192.168.1.200, rootserver=192.168.1.200, rootpath=
    Looking up port of RPC 100003/2 on 192.168.1.200
    PHY: 1:00 - Link is Up - 100/Full
    rpcbind: server 192.168.1.200 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.200
    rpcbind: server 192.168.1.200 not responding, timed out
    Root-NFS: Unable to get mountd port number from server, using default
    Root-NFS: Server returned error -110 while mounting /home/kumar/AM1808/filesys
    VFS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "nfs" or unknown-block(2,0)
    Please append a correct "root=" boot option; here are the available partitions:
    1f00             256 mtdblock0 (driver?)
    1f01              64 mtdblock1 (driver?)
    1f02            7808 mtdblock2 (driver?)
    1f03              64 mtdblock3 (driver?)
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
    Backtrace:
    [<c0031730>] (dump_backtrace+0x0/0x114) from [<c0320420>] (dump_stack+0x18/0x1c)
     r7:00008000 r6:c1c13000 r5:c0025a08 r4:c0446f38
    [<c0320408>] (dump_stack+0x0/0x1c) from [<c0320488>] (panic+0x64/0x13c)
    [<c0320424>] (panic+0x0/0x13c) from [<c0008fec>] (mount_block_root+0x1e0/0x220)
     r3:00000001 r2:00000001 r1:c1c23f60 r0:c03b5856
    [<c0008e0c>] (mount_block_root+0x0/0x220) from [<c00090f0>] (mount_root+0xc4/0xfc)
     r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000
    [<c000902c>] (mount_root+0x0/0xfc) from [<c0009298>] (prepare_namespace+0x170/0x1c8)
     r5:c0025a08 r4:c0446a20
    [<c0009128>] (prepare_namespace+0x0/0x1c8) from [<c00084c8>] (kernel_init+0xf0/0x12c)
     r5:00000000 r4:c04467e0
    [<c00083d8>] (kernel_init+0x0/0x12c) from [<c0045424>] (do_exit+0x0/0x6b4)
     r5:00000000 r4:00000000

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

    Target Environment variables:


    Hit any key to stop autoboot:  0
    U-Boot > printenv
    ethaddr=00:08:EE:04:32:85
    serverip=192.168.6.16
    eth0 192.168.1.10
    sereverip=192.168.1.1
    bootdelay=3
    baudrate=115200
    autoload=no
    get_kernel=run tftp_kernel
    eth0=192.168.1.200
    bootserver=192.168.1.100
    addr=192.168.1.200
    mask=255.255.255.0
    gw=192.168.1.1
    host=192.168.1.100
    ipaddr=192.168.1.10
    serverip=192.168.1.100
    filesize=2040D0
    fileaddr=C0700000
    loadaddr=0xc0700000
    ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off
    mmcboot=mmc init; fatload mmc 0 0x80000000 uImage; bootm 0x80000000
    get_initrd=run nand_initrd
    dnsip=192.168.1.1
    bootfile=uImage
    bootcmd=static;tftp;bootm
    rootpath=/home/kumar/AM1808/filesys
    serverip=192.168.1.200
    nfshost=192.168.1.200
    gatewayip=192.168.1.1
    netmask=255.255.255.0
    ipaddr=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off
    bootargs=console=ttyS2,115200n8 noinitrd rw ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off root=/dev/nfs nfsroot=192.168.1.200:/home/kumar/AM1808/filesys, nolock mem=32M
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2009.11 (Mar 25 2010 - 14:39:42)

    Environment size: 1079/65532 bytes

    Please find my settings in Ubuntu 10.04 LTE(lucid)

    root@ubuntu:/etc# vi hosts.deny

    portmap mountd nfsd statd lockd rquotad : ALL

    root@ubuntu:/etc# vi hosts.allow

    portmap mountd nfsd statd lockd rquotad : 192.168.1.100

    root@ubuntu:/etc# service portmap start
    portmap start/running, process 8230
    root@ubuntu:/etc# /etc/init.d/nfs-kernel-server start
     * Exporting directories for NFS kernel daemon...                        [ OK ]
     * Starting NFS kernel daemon                                            [ OK ]
    root@ubuntu:/etc# /etc/init.d/nfs-kernel-server restart
     * Stopping NFS kernel daemon                                            [ OK ]
     * Unexporting directories for NFS kernel daemon...                      [ OK ]
     * Exporting directories for NFS kernel daemon...                        [ OK ]
     * Starting NFS kernel daemon                                            [ OK ]
    root@ubuntu:/etc# sudo exportfs -av
    exporting *:/home/kumar/AM1808/filesys 

    Please suggest me to resolve NFS issues

    Thanks
    francis

  • Since u-boot can get uImage via TFTP, we can assume the HW connection is good. The boot messages suggest that the NFS processes are still being blocked. Are you running the iptables firewall? My experience is with Fedora and on that distro the firewall is disabled with:

    service iptables stop

    I've never checked this but supposedly the file "/var/log/secure" should have messages about connections being rejected. You could try "ALL:ALL" in your "hosts.allow" file. Not a secure setup for the long term. I think it's okay for a few quick tests.

    Your target will need to connect as root. Your exports file should avoid squashing root access. Something like:
    /home/kumar/AM1808/filesys *(rw,no_root_squash,no_all_squash,sync)

    You might have other problems with the the filesys directory itself. Depends how you created it.

     

  •  

    Hi,

    I have tried as per your suggestions.I am facing again nfs issue. The file system had downloaded from TI. I untar the files system in :/home/kumar/AM1808/filesys directory.

    Filesystem : arago-demo-image-da850-omapl138-evm.tar

    root@ubuntu:/home/kumar/AM1808/filesys# ls -l

    total 68

    drwxrwxrwx  2 root root 4096 2011-01-25 21:00 bin

    drwxrwxrwx  2 root root 4096 2011-01-25 21:00 boot

    drwxrwxrwx  3 root root 4096 2011-05-26 01:09 dev

    -rwxrwxrwx  1 root root  161 2011-05-26 04:30 etab

    drwxrwxrwx 27 root root 4096 2011-01-25 20:59 etc

    drwxrwxrwx  3 root root 4096 2011-01-25 10:16 home

    drwxrwxrwx  5 root root 4096 2011-01-11 22:57 lib

    lrwxrwxrwx  1 root root   12 2011-05-25 07:00 linuxrc -> /bin/busybox

    drwxrwxrwx 10 root root 4096 2011-01-25 10:16 media

    drwxrwxrwx  3 root root 4096 2011-01-25 10:16 mnt

    drwxrwxrwx  2 root root 4096 2011-01-25 21:00 opt

    drwxrwxrwx  2 root root 4096 2010-12-21 23:19 proc

    drwxrwxrwx  2 root root 4096 2011-01-25 21:00 sbin

    drwxrwxrwx  3 root root 4096 2011-01-25 10:16 srv

    drwxrwxrwx  2 root root 4096 2010-12-21 23:19 sys

    drwxrwxrwx  2 root root 4096 2011-01-25 21:00 tmp

    drwxrwxrwx 10 root root 4096 2010-12-21 16:25 usr

    drwxrwxrwx  7 root root 4096 2011-01-08 13:54 var

     

    root@ubuntu:/etc# vi exports

    /home/kumar/AM1808/filesys *(rw,no_root_squash,no_all_squash,sync)

     

    root@ubuntu:/etc# vi hosts.allow 

    portmap mountd nfsd statd lockd rquotad : ALL

     

    root@ubuntu:/etc# vi hosts.deny

    portmap mountd nfsd statd lockd rquotad : ALL

     

    root@ubuntu:/home/kumar# sudo ufw status

    Status: inactive

     

    root@ubuntu:/home/kumar# sudo ufw enable

    Firewall is active and enabled on system startup

    root@ubuntu:/home/kumar# sudo ufw status

    Status: active

     

    root@ubuntu:/home/kumar# sudo ufw disable

    Firewall stopped and disabled on system startup

     

    root@ubuntu:/home/kumar# sudo ufw status

    Status: inactive

     

    Target Environment variables:

     

    U-Boot > printenv                                                               

    ethaddr=00:08:EE:04:32:85                                                       

    serverip=192.168.6.16                                                           

    eth0 192.168.1.10                                                               

    sereverip=192.168.1.1                                                           

    bootdelay=3                                                                     

    baudrate=115200                                                                 

    autoload=no                                                                     

    get_kernel=run tftp_kernel                                                      

    eth0=192.168.1.200                                                              

    bootserver=192.168.1.100                                                        

    addr=192.168.1.200                                                              

    mask=255.255.255.0                                                              

    gw=192.168.1.1                                                                  

    host=192.168.1.100                                                              

    ipaddr=192.168.1.10                                                             

    serverip=192.168.1.100                                                          

    filesize=2040D0                                                                 

    fileaddr=C0700000                                                               

    loadaddr=0xc0700000                                                             

    ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off              

    mmcboot=mmc init; fatload mmc 0 0x80000000 uImage; bootm 0x80000000             

    get_initrd=run nand_initrd                                                      

    dnsip=192.168.1.1                                                               

    bootfile=uImage                                                                 

    bootcmd=static;tftp;bootm                                                       

    rootpath=/home/kumar/AM1808/filesys                                             

    serverip=192.168.1.200                                                          

    nfshost=192.168.1.200                                                           

    gatewayip=192.168.1.1                                                           

    netmask=255.255.255.0                                                           

    ipaddr=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off          

    bootargs=console=ttyS2,115200n8 noinitrd rw ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off root=/dev/nfs nfsroot=192.168.1.200:/home/kumar/AM1808/filesys, nolock mem=32M

     

    stdin=serial                                                                    

    stdout=serial                                                                   

    stderr=serial                                                                   

    ver=U-Boot 2009.11 (Mar 25 2010 - 14:39:42)                                     

     

    Environment size: 1079/65532 bytes                                              

    U-Boot > boot                                                                   

    Unknown command 'static' - try 'help'                                           

    Using  device                                                                   

    TFTP from server 192.168.1.200; our IP address is 192.168.1.100                 

    Filename 'uImage'.                                                              

    Load address: 0xc0700000                                                        

    Loading: T T #################################################################

             #################################################################

             #################################################################

             #################################################################

             #################################################################

             #################################################################

             #######################

    done

    Bytes transferred = 2113744 (2040d0 hex)

    ## Booting kernel from Legacy Image at c0700000 ...

       Image Name:   Linux-2.6.33-rc4

       Image Type:   ARM Linux Kernel Image (uncompressed)

       Data Size:    2113680 Bytes =  2 MB

       Load Address: c0008000

       Entry Point:  c0008000

       Verifying Checksum ... OK

       Loading Kernel Image ... OK

    OK

     

    Starting kernel ...

     

    Uncompressing Linux... done, booting the kernel.

    Linux version 2.6.33-rc4 (x0029463@psplinux051) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Thu Mar 25 15:06:29 IST 2010

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    CPU: VIVT data cache, VIVT instruction cache

    Machine: DaVinci DA850/OMAP-L138/AM18xx EVM

    Memory policy: ECC disabled, Data cache writeback

    DaVinci da850/omap-l138 variant 0x0

    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128

    Kernel command line: console=ttyS2,115200n8 noinitrd rw ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off root=/dev/nfs nfsroot=192.168.1.200:/home/kumar/AM1808/filesys, nolock meM

    PID hash table entries: 128 (order: -3, 512 bytes)

    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

    Memory: 32MB = 32MB total

    Memory: 27972KB available (4012K code, 315K data, 148K init, 0K highmem)

    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    Hierarchical RCU implementation.

    NR_IRQS:245

    Console: colour dummy device 80x30

    Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    DaVinci: 144 gpio irqs

    regulator: core version 0.5

    NET: Registered protocol family 16

    bio: create slab <bio-0> at 0

    SCSI subsystem initialized

    usbcore: registered new interface driver usbfs

    usbcore: registered new interface driver hub

    usbcore: registered new device driver usb

    regulator: VDCDC1: 3200 <--> 3300 mV at 3300 mV 

    regulator: VDCDC2: 1750 <--> 3300 mV at 3300 mV 

    regulator: VDCDC3: 950 <--> 1375 mV at 1200 mV 

    regulator: LDO1: 1800 mV 

    regulator: LDO2: 1150 <--> 1300 mV at 1200 mV 

    pca953x 1-0020: failed reading register

    i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)

    Switching to clocksource timer0_1

    musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0

    Waiting for USB PHY clock good...

    musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58

    musb_hdrc musb_hdrc: MUSB HDRC host driver

    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    NET: Registered protocol family 2

    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

    TCP established hash table entries: 1024 (order: 1, 8192 bytes)

    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

    TCP: Hash tables configured (established 1024 bind 1024)

    TCP reno registered

    UDP hash table entries: 256 (order: 0, 4096 bytes)

    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    NET: Registered protocol family 1

    RPC: Registered udp transport module.

    RPC: Registered tcp transport module.

    RPC: Registered tcp NFSv4.1 backchannel transport module.

    EMAC: MII PHY configured, RMII PHY will not be functional

    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.

    msgmni has been set to 54

    io scheduler noop registered (default)

    da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel

    Console: switching to colour frame buffer device 60x34

    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled

    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A

    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A

    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A

    console [ttyS2] enabled

    brd: module loaded

    ahci ahci: forcing PORTS_IMPL to 0x1

    ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode

    ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc 

    scsi0 : ahci

    ata1: SATA max UDMA/133 irq 67

    spi_davinci spi_davinci.1: DaVinci SPI driver in EDMA mode

    Using RX channel = 18 , TX channel = 19 and event queue = 1

    m25p80 spi1.0: m25p64 (8192 Kbytes)

    Creating 4 MTD partitions on "m25p80":

    0x000000000000-0x000000040000 : "U-Boot"

    0x000000040000-0x000000050000 : "U-Boot Environment"

    0x000000050000-0x0000007f0000 : "Linux"

    0x0000007f0000-0x000000800000 : "MAC Address"

    Read MAC addr from EEPROM: ff:ff:ff:ff:ff:ff

    spi_davinci spi_davinci.1: Controller at 0xfef0e000 

    console [netcon0] enabled

    netconsole: network logging started

    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

    ohci ohci.0: DA8xx OHCI

    ohci ohci.0: new USB bus registered, assigned bus number 2

    ohci ohci.0: irq 59, io mem 0x01e25000

    hub 2-0:1.0: USB hub found

    hub 2-0:1.0: 1 port detected

    Initializing USB Mass Storage driver...

    usbcore: registered new interface driver usb-storage

    USB Mass Storage support registered.

    input: TPS6507x Touchscreen as /devices/platform/i2c-gpio.1/i2c-1/1-0048/input/input0

    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0

    omap_rtc: RTC power up reset detected

    omap_rtc: already running

    i2c /dev entries driver

    Linux video capture interface: v2.00

    usbcore: registered new interface driver uvcvideo

    USB Video Class driver (v0.1.0)

    watchdog watchdog: heartbeat 60 sec

    cpuidle: using governor ladder

    cpuidle: using governor menu

    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode

    usbcore: registered new interface driver usbhid

    usbhid: USB HID core driver

    Advanced Linux Sound Architecture Driver Version 1.0.21.

    usbcore: registered new interface driver snd-usb-audio

    No device for DAI tlv320aic3x

    asoc: tlv320aic3x <-> davinci-i2s mapping ok

    ALSA device list:

      #0: DA850/OMAP-L138 EVM (tlv320aic3x)

    TCP cubic registered

    NET: Registered protocol family 17

    Clocks: disable unused emac

    Clocks: disable unused aemif

    Clocks: disable unused spi0

    ata1: SATA link down (SStatus 0 SControl 300)

    regulator_init_complete: incomplete constraints, leaving LDO2 on

    regulator_init_complete: incomplete constraints, leaving LDO1 on

    regulator_init_complete: incomplete constraints, leaving VDCDC3 on

    regulator_init_complete: incomplete constraints, leaving VDCDC2 on

    regulator_init_complete: incomplete constraints, leaving VDCDC1 on

    davinci_emac_probe: using random MAC addr: 26:61:f4:0c:b8:ec

    emac-mii: probed

    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:44:11 UTC (946687451)

    eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, id=7c0f1)

    IP-Config: Complete:

         device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1,

         host=192.168.1.100, domain=, nis-domain=(none),

         bootserver=192.168.1.200, rootserver=192.168.1.200, rootpath=

    Looking up port of RPC 100003/2 on 192.168.1.200

    PHY: 1:00 - Link is Up - 100/Full

    PHY: 1:00 - Link is Down

    rpcbind: server 192.168.1.200 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.200

    rpcbind: server 192.168.1.200 not responding, timed out

    Root-NFS: Unable to get mountd port number from server, using default

    Root-NFS: Server returned error -110 while mounting /home/kumar/AM1808/filesys

    VFS: Unable to mount root fs via NFS, trying floppy.

    VFS: Cannot open root device "nfs" or unknown-block(2,0)

    Please append a correct "root=" boot option; here are the available partitions:

    1f00             256 mtdblock0 (driver?)

    1f01              64 mtdblock1 (driver?)

    1f02            7808 mtdblock2 (driver?)

    1f03              64 mtdblock3 (driver?)

    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

    Backtrace: 

    [<c0031730>] (dump_backtrace+0x0/0x114) from [<c0320420>] (dump_stack+0x18/0x1c)

     r7:00008000 r6:c1c13000 r5:c0025a08 r4:c0446f38

    [<c0320408>] (dump_stack+0x0/0x1c) from [<c0320488>] (panic+0x64/0x13c)

    [<c0320424>] (panic+0x0/0x13c) from [<c0008fec>] (mount_block_root+0x1e0/0x220)

     r3:00000001 r2:00000001 r1:c1c23f60 r0:c03b5856

    [<c0008e0c>] (mount_block_root+0x0/0x220) from [<c00090f0>] (mount_root+0xc4/0xfc)

     r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000

    [<c000902c>] (mount_root+0x0/0xfc) from [<c0009298>] (prepare_namespace+0x170/0x1c8)

     r5:c0025a08 r4:c0446a20

    [<c0009128>] (prepare_namespace+0x0/0x1c8) from [<c00084c8>] (kernel_init+0xf0/0x12c)

     r5:00000000 r4:c04467e0

    [<c00083d8>] (kernel_init+0x0/0x12c) from [<c0045424>] (do_exit+0x0/0x6b4)

     r5:00000000 r4:0000000     YP+

                                                                                                        

    Please recommend me with any suggestions. 

    Thanks

    Francis 

     

  • Your network may not be coming up fast enough. Try adding "rootdelay=4" to the bootargs.

     

  • Hi,

    I have added in my bootargs. Still it is showing error as rpcbind: server 192.168.1.200 not responding, timed out

    Bootargs


    setenv bootargs console=ttyS2,115200n8 noinitrd rootdelay=4 rw ip=192.168.1.100:192.168.1.200:192.168.1.1:255.255.255.0::eth0:off root=/dev/nfs nfsroot=192.168.1.200:/home/kumar/AM1808/filesys, nolock mem=32M

    NFS Error


    IP-Config: Complete:
         device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1,
         host=192.168.1.100, domain=, nis-domain=(none),
         bootserver=192.168.1.200, rootserver=192.168.1.200, rootpath=
    Waiting 4sec before mounting root device...
    PHY: 1:00 - Link is Up - 100/Full
    Looking up port of RPC 100003/2 on 192.168.1.200
    rpcbind: server 192.168.1.200 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.200
    rpcbind: server 192.168.1.200 not responding, timed out
    Root-NFS: Unable to get mountd port number from server, using default
    Root-NFS: Server returned error -110 while mounting /home/kumar/AM1808/filesys
    VFS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "nfs" or unknown-block(2,0)
    Please append a correct "root=" boot option; here are the available partitions:
    1f00             256 mtdblock0 (driver?)
    1f01              64 mtdblock1 (driver?)
    1f02            7808 mtdblock2 (driver?)
    1f03              64 mtdblock3 (driver?)
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
    Backtrace:
    [<c0031730>] (dump_backtrace+0x0/0x114) from [<c0320420>] (dump_stack+0x18/0x1c)
     r7:00008000 r6:c1c13000 r5:c0025a08 r4:c0446f38
    [<c0320408>] (dump_stack+0x0/0x1c) from [<c0320488>] (panic+0x64/0x13c)
    [<c0320424>] (panic+0x0/0x13c) from [<c0008fec>] (mount_block_root+0x1e0/0x220)
     r3:00000001 r2:00000001 r1:c1c23f60 r0:c03b5856
    [<c0008e0c>] (mount_block_root+0x0/0x220) from [<c00090f0>] (mount_root+0xc4/0xfc)
     r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000
    [<c000902c>] (mount_root+0x0/0xfc) from [<c0009298>] (prepare_namespace+0x170/0x1c8)
     r5:c0025a08 r4:c0446a20
    [<c0009128>] (prepare_namespace+0x0/0x1c8) from [<c00084c8>] (kernel_init+0xf0/0x12c)
     r5:00000000 r4:c04467e0
    [<c00083d8>] (kernel_init+0x0/0x12c) from [<c0045424>] (do_exit+0x0/0x6b4)
     r5:00000000 r4:00000000

    Can i know further steps to resolve this issue. Is there any problem with my File system(dowloaded from TI http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sdk/omap_l138/1_00/latest/index_FDS.html )

    Thanks
    Francis

  • I would guess your file system is okay.Won't know until NFS is up. NFS should not care at this point. If the NFS server has this

    rpcinfo -p
        100003    2   udp   2049  nfs
        100003    2   tcp   2049  nfs
        100005    1   udp  56583  mountd
        100005    1   tcp  41591  mountd

    then the client should show

    Looking up port of RPC 100003/2 on 192.168.1.200
    Looking up port of RPC 100005/1 on 192.168.1.200

    without errors.

    Your bootargs may have a extra space in the nfsroot parameter. I think it should be

    nfsroot=192.168.1.200:/home/kumar/AM1808/filesys,nolock

    with no space between "filesys," and "nolock". I don't think it will solve your NFS problems.

    I'm out of ideas. Something is still blocking. Hopefully some Ubuntu experts will speak up.

     

  • I noticed your hosts.allow has IP address 192.168.1.10, while your board is using 192.168.1.100.

    Try allow all access first.

  • Hi,

    My NFS issue is resolved. My filesystem is corrupted one. i have downloaded other one it got resolved.

    Thanks for your support

    Francis