Find the answer to your Linux question:
Results 1 to 2 of 2
the tqm5200 board won't boot via nfs. the kernel 3.6.10 loads and boots ok via tftp, then the system like hangs and after five minutes reboots: [ 306.882182] VFS: Unable ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    1

    emb system tqm5200 fails mounting rootfs through nfs from fedora 18


    the tqm5200 board won't boot via nfs. the kernel 3.6.10 loads and boots ok via tftp, then the system like hangs and after five minutes reboots:
    [ 306.882182] VFS: Unable to mount root fs via NFS, trying floppy.

    [ 306.889433] VFS: Cannot open root device «nfs» or unknown-block(2,0): error -6

    [ 306.896900] Please append a correct «root=» boot option; here are the available partitions:

    [ 306.905546] 1f00 32768 mtdblock0 (driver?)



    the settings in uboot seem to be corresponding to /etc/export. where showld i look for the error? this is urgent, i've already dumped two days for this. please help!

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    hello and welcome!

    On the server side

    show what your NFS server is sharing by showing the contents of your /etc/exports file, e.g.:
    Code:
    cat /etc/exports
    you can look for system messages in this file:
    Code:
    /var/log/messages
    and security related events here:
    Code:
    /var/log/secure
    make sure NFS is running on the F18 server, e.g.:

    Code:
    ps auxww|grep nfs
    If a firewall is running, temporarily disable it. you can always punch a hole in it later:
    Code:
    systemctl stop iptables.service
    with F18, it now might be:
    Code:
    systemctl stop firewall.service
    try to connect to the NFS share from another client PC, to make sure that the server is working. you can use the showmount command on Linux machines.

    see if SELinux is enabled, just for kicks:
    Code:
    getenforce
    On the client side

    is NFS support enabled in the kernel for the embedded device?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •