[root@localhost ~]# ifconfig enp0s3:flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.89 netmask255.255.255.0 broadcast 0.0.0.0 inet6 fe80::a00:27ff:fe26:bddd prefixlen 64 scopeid0x20<link> 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 overruns0 carrier 0 collisions 0 lo:flags=73<UP,LOOPBACK,RUNNING> mtu65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> 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 overruns0 carrier 0 collisions 0 [root@localhost ~]# 这是linux系统的IP EWEN210 # printenv baudrate=115200 bootargs=root=/dev/nfsnfsroot=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:offinit=/linuxrc console=ttySAC0,115200 bootcmd=run ubifsboot bootdelay=3 bootmenu_0=commandline= echo bootmenu_1=start Kernel= tftp 20000000uImage;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的环境变量 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 IPaddress 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 at20000000 ... Image Name: Linux-3.10.46 Image Type: ARM Linux KernelImage (uncompressed) Data Size: 1910808 Bytes = 1.8MiB Load Address: 20008000 Entry Point: 20008000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... Uncompressing Linux... done, booting thekernel. Booting Linux on physical CPU 0x0 1-FA) ) #10 PREEMPT Tue Aug 14 23:35:03 CST2018 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 cachewriteback CPU S5PV210/S5PC110 (id 0x43110220) S3C24XX Clocks, Copyright 2004 SimtecElectronics 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 is200000000 sclk_onenand: source is hclk_psys (0), rateis 66700000 sclk_fimc: source is ext_xtal (0), rate is24000000 sclk_fimc: source is ext_xtal (0), rate is24000000 sclk_fimc: source is ext_xtal (0), rate is24000000 sclk_cam0: source is ext_xtal (0), rate is24000000 sclk_cam1: source is ext_xtal (0), rate is24000000 sclk_fimd: source is ext_xtal (0), rate is24000000 sclk_mfc: source is sclk_a2m (0), rate is200000000 sclk_g2d: source is sclk_a2m (0), rate is200000000 sclk_g3d: source is sclk_a2m (0), rate is200000000 sclk_csis: source is ext_xtal (0), rate is24000000 sclk_pwi: source is ext_xtal (0), rate is24000000 sclk_pwm: source is ext_xtal (0), rate is24000000 CPU: All CPU(s) started in SVC mode. Built 1 zonelists in Zone order, mobilitygrouping on. Total pages: 130048 Kernel command line: root=/dev/nfsnfsroot=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:offinit=/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, 8484kreserved, 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 RCUimplementation. NR_IRQS:208 VIC @f6000000: id 0x00041192, vendor0x41 VIC @f6010000: id 0x00041192, vendor0x41 VIC @f6020000: id 0x00041192, vendor0x41 VIC @f6030000: id 0x00041192, vendor0x41 sched_clock: 32 bits at 33MHz, resolution29ns, 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 for0x8026c170 - 0x8026c1c8 NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomiccoherent allocations S3C Power Management, Copyright 2004 SimtecElectronics S5PV210: Initializing architecture bio: create slab <bio-0> at 0 SCSI subsystem initialized Switching to clocksourcesamsung_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 (established4096 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 transportmodule. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchanneltransport 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 forPL330 DMAC-267056 dma-pl330 dma-pl330.0: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32Num_Events-32 dma-pl330 dma-pl330.1: Loaded driver forPL330 DMAC-267056 dma-pl330 dma-pl330.1: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32Num_Events-32 Serial: 8250/16550 driver, 4 ports, IRQsharing 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 id0x01010101 eth0: dm9000a at a085a000,a085c004 IRQ 39MAC: 00:09:c0:ff:ec:48 (platform data) mousedev: PS/2 mouse device common for allmice TCP: cubic registered NET: Registered protocol family 17 VFP support v0.3: implementor 41architecture 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 tomount root fs on unknown-block(2,0) CPU: 0 PID: 1 Comm: swapper Not tainted3.10.46 #10 [<800138b4>](unwind_backtrace+0x0/0xf0) from [<8001176c>] (show_stack+0x10/0x14 ) [<8001176c>] (show_stack+0x10/0x14)from [<80268ca0>] (panic+0x8c/0x1e8) [<80268ca0>] (panic+0x8c/0x1e8) from[<80340f88>] (mount_block_root+0x1a4/0x254) [<80340f88>](mount_block_root+0x1a4/0x254) from [<80341200>] (mount_root+0xd8/0 xf4) [<80341200>] (mount_root+0xd8/0xf4) from[<8034137c>] (prepare_namespace+0x160/0 x1b8) [<8034137c>](prepare_namespace+0x160/0x1b8) from [<80340be8>] (kernel_init_free able+0x16c/0x1b0) [<80340be8>](kernel_init_freeable+0x16c/0x1b0) from [<8026872c>] (kernel_init+0 x8/0xe4) [<8026872c>] (kernel_init+0x8/0xe4)from [<8000e458>] (ret_from_fork+0x14/0x3c) 这是内核启动的信息,总是提示 VFS: Unable to mount root fs via NFS,trying floppy. 很郁闷,哪位高手帮我看一下
|