elviswzd
elviswzd
采纳率0%
2018-08-16 05:20 阅读 640

virtualbox虚拟机安装的fedora20, 开发板挂载NFS出错,哪位高手帮我看看好吗?

20

[root@localhost ~]# ifconfig
enp0s3: flags=4163 mtu 1500
inet 192.168.1.89 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::a00:27ff:fe26:bddd prefixlen 64 scopeid 0x20
ether 08:00:27:26:bd:dd txqueuelen 1000 (Ethernet)
RX packets 8887 bytes 548956 (536.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9271 bytes 11990079 (11.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 1009 bytes 101680 (99.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1009 bytes 101680 (99.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@localhost ~]#
这是linux系统的IP

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

3条回答 默认 最新

  • elviswzd elviswzd 2018-08-16 05:23

    EWEN210 # printenv
    baudrate=115200
    bootargs=root=/dev/nfs nfsroot=192.168.1.89:/opt/ewen/rootfs ip=192.168.1.122:192.168.1.89:192.168.1.1:255.255.255.0:localhost:eth0:off init=/linuxrc console=ttySAC0,115200
    bootcmd=run ubifsboot
    bootdelay=3
    bootmenu_0=commandline= echo
    bootmenu_1=start Kernel= tftp 20000000 uImage;bootm 20000000
    ethact=dm9000
    ethaddr=1A:2A:3A:4A:5A:6A
    ipaddr=192.168.1.120
    mtdids=nand0=s5p-nand
    serverip=192.168.1.89
    splashimage=0x23000000
    stderr=serial
    stdin=serial
    stdout=serial

    Environment size: 513/131068 bytes
    EWEN210 #
    这是uboot的环境变量

    点赞 评论 复制链接分享
  • elviswzd elviswzd 2018-08-16 05:23

    dm9000 i/o: 0x88000000, id: 0x90000a46
    DM9000: running in 16 bit mode
    MAC: 1a:2a:3a:4a:5a:6a
    operating at 100M full duplex mode
    Using dm9000 device
    TFTP from server 192.168.1.89; our IP address is 192.168.1.120
    Filename 'uImage'.
    Load address: 0x20000000
    Loading: T #################################################################
    #################################################################
    #
    255.9 KiB/s
    done
    Bytes transferred = 1910872 (1d2858 hex)

    Booting kernel from Legacy Image at 20000000 ...

    Image Name: Linux-3.10.46
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1910808 Bytes = 1.8 MiB
    Load Address: 20008000
    Entry Point: 20008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    Booting Linux on physical CPU 0x0

    Linux version 3.10.46 (root@localhost.localdomain) (gcc version 4.5.1 (ctng-1.8.
    1-FA) ) #10 PREEMPT Tue Aug 14 23:35:03 CST 2018

    CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7d

    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

    Machine: SMDKV210

    Memory policy: ECC disabled, Data cache writeback

    CPU S5PV210/S5PC110 (id 0x43110220)

    S3C24XX Clocks, Copyright 2004 Simtec Electronics

    S5PV210: PLL settings, A=1000000000, M=667000000, E=96000000 V=54000000

    S5PV210: ARMCLK=1000000000, HCLKM=200000000, HCLKD=166750000

    HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000

    sclk_dmc: source is sclk_a2m (0), rate is 200000000

    sclk_onenand: source is hclk_psys (0), rate is 66700000

    sclk_fimc: source is ext_xtal (0), rate is 24000000

    sclk_fimc: source is ext_xtal (0), rate is 24000000

    sclk_fimc: source is ext_xtal (0), rate is 24000000

    sclk_cam0: source is ext_xtal (0), rate is 24000000

    sclk_cam1: source is ext_xtal (0), rate is 24000000

    sclk_fimd: source is ext_xtal (0), rate is 24000000

    sclk_mfc: source is sclk_a2m (0), rate is 200000000

    sclk_g2d: source is sclk_a2m (0), rate is 200000000

    sclk_g3d: source is sclk_a2m (0), rate is 200000000

    sclk_csis: source is ext_xtal (0), rate is 24000000

    sclk_pwi: source is ext_xtal (0), rate is 24000000

    sclk_pwm: source is ext_xtal (0), rate is 24000000

    CPU: All CPU(s) started in SVC mode.

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

    Kernel command line: root=/dev/nfs nfsroot=192.168.1.89:/opt/ewen/rootfs ip=192.
    168.1.122:192.168.1.89:192.168.1.1:255.255.255.0:localhost:eth0:off init=/linuxr
    c console=ttySAC0,115200

    PID hash table entries: 2048 (order: 1, 8192 bytes)

    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

    Memory: 512MB = 512MB total

    Memory: 515804k/515804k available, 8484k reserved, 0K highmem

    Virtual kernel memory layout:

    vector : 0xffff0000 - 0xffff1000 ( 4 kB)

    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

    vmalloc : 0xa0800000 - 0xff000000 (1512 MB)

    lowmem : 0x80000000 - 0xa0000000 ( 512 MB)

    modules : 0x7f000000 - 0x80000000 ( 16 MB)

    .text : 0x80008000 - 0x8033f174 (3293 kB)

    .init : 0x80340000 - 0x80361d7c ( 136 kB)

    .data : 0x80362000 - 0x80391f80 ( 192 kB)

    .bss : 0x80391f80 - 0x803cd0a8 ( 237 kB)

    SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    Preemptible hierarchical RCU implementation.

    NR_IRQS:208

    VIC @f6000000: id 0x00041192, vendor 0x41

    VIC @f6010000: id 0x00041192, vendor 0x41

    VIC @f6020000: id 0x00041192, vendor 0x41

    VIC @f6030000: id 0x00041192, vendor 0x41

    sched_clock: 32 bits at 33MHz, resolution 29ns, wraps every 128784ms

    Console: colour dummy device 80x30

    Calibrating delay loop... 663.55 BogoMIPS (lpj=1658880)

    pid_max: default: 32768 minimum: 301

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    Setting up static identity map for 0x8026c170 - 0x8026c1c8

    NET: Registered protocol family 16

    DMA: preallocated 256 KiB pool for atomic coherent allocations

    S3C Power Management, Copyright 2004 Simtec Electronics

    S5PV210: Initializing architecture

    bio: create slab at 0

    SCSI subsystem initialized

    Switching to clocksource samsung_clocksource_timer

    NET: Registered protocol family 2

    TCP established hash table entries: 4096 (order: 3, 32768 bytes)

    TCP bind hash table entries: 4096 (order: 4, 81920 bytes)

    TCP: Hash tables configured (established 4096 bind 4096)

    TCP: reno registered

    UDP hash table entries: 256 (order: 1, 12288 bytes)

    UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)

    NET: Registered protocol family 1

    RPC: Registered named UNIX socket transport module.

    RPC: Registered udp transport module.

    RPC: Registered tcp transport module.

    RPC: Registered tcp NFSv4.1 backchannel transport module.

    ROMFS MTD (C) 2007 Red Hat, Inc.

    io scheduler noop registered

    io scheduler deadline registered

    io scheduler cfq registered (default)

    dma-pl330 dma-pl330.0: Loaded driver for PL330 DMAC-267056

    dma-pl330 dma-pl330.0: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32

    dma-pl330 dma-pl330.1: Loaded driver for PL330 DMAC-267056

    dma-pl330 dma-pl330.1: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32

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

    s5pv210-uart.0: ttySAC0 at MMIO 0xe2900000 (irq = 74) is a S3C6400/10

    console [ttySAC0] enabled

    s5pv210-uart.1: ttySAC1 at MMIO 0xe2900400 (irq = 75) is a S3C6400/10

    s5pv210-uart.2: ttySAC2 at MMIO 0xe2900800 (irq = 76) is a S3C6400/10

    s5pv210-uart.3: ttySAC3 at MMIO 0xe2900c00 (irq = 77) is a S3C6400/10

    brd: module loaded

    loop: module loaded

    dm9000 dm9000: read wrong id 0x01010101

    eth0: dm9000a at a085a000,a085c004 IRQ 39 MAC: 00:09:c0:ff:ec:48 (platform data)
    mousedev: PS/2 mouse device common for all mice

    TCP: cubic registered

    NET: Registered protocol family 17

    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2

    dm9000 dm9000 eth0: link down

    dm9000 dm9000 eth0: link down

    IP-Config: Complete:

    device=eth0, hwaddr=00:09:c0:ff:ec:48, ipaddr=192.168.1.122, mask=255.255.2
    55.0, gw=192.168.1.1

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

    bootserver=192.168.1.89, rootserver=192.168.1.89, rootpath=

    dm9000 dm9000 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1

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

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

    Please append a correct "root=" boot option; here are the available partitions:
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

    CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.46 #10

    from

    from

    from
    from

    from

    from

    from

    from
    这是内核启动的信息,总是提示
    VFS: Unable to mount root fs via NFS, trying floppy. 很郁闷,哪位高手帮我看一下

    点赞 评论 复制链接分享
  • wjh145236 wjh145236 2018-08-16 06:25

    很有可能是你的NFS服务器配置不正确或是没有安装NFS服务。

    点赞 评论 复制链接分享

相关推荐