主题 : mini2440 linux nfs 根目录挂载总是出错? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 122423
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2016-01-19
最后登录: 2016-01-20
楼主  发表于: 2016-01-20 22:16

 mini2440 linux nfs 根目录挂载总是出错?

dm9000 Ethernet Driver, V1.31
eth0: dm9000e at c486e300,c4872304 IRQ 51 MAC: 08:00:3e:18:12:54 (chip)
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.1.121, mask=255.255.255.0, gw=192.168.1.253,
     host=192.168.1.121, domain=, nis-domain=(none),
     bootserver=192.168.1.123, rootserver=192.168.1.123, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.123
eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
Looking up port of RPC 100005/1 on 192.168.1.123
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             384 mtdblock0 (driver?)
1f01            4096 mtdblock1 (driver?)
1f02           60928 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[<c00338f8>] (unwind_backtrace+0x0/0xd8) from [<c0309dcc>] (panic+0x40/0x110)
[<c0309dcc>] (panic+0x40/0x110) from [<c0008ff8>] (mount_block_root+0x1c8/0x208)
[<c0008ff8>] (mount_block_root+0x1c8/0x208) from [<c000928c>] (prepare_namespace+0x160/0x1b8)
[<c000928c>] (prepare_namespace+0x160/0x1b8) from [<c00085bc>] (kernel_init+0xe0/0x118)
[<c00085bc>] (kernel_init+0xe0/0x118) from [<c002ee3c>] (kernel_thread_exit+0x0/0x8)

这是启动日志。

bootargs=root=/dev/nfs rw nfsroot=192.168.1.123:/home/rootfs,nolock ip=192.168.1.121:192.168.1.123:192.168.1.253:255.255.255.0 console=ttySAC0,115200 mem=64M

这是我的启动参数。

跪求各位大神帮忙解决下这个问题,已经困扰我好几天了,一直解决不了。。。
级别: 新手上路
UID: 132838
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
贡献值: 0 点
综合积分: 18 分
注册时间: 2017-05-30
最后登录: 2018-05-30
1楼  发表于: 2018-04-16 22:51
楼主怎么解决的?同遇到相同的问题