当前位置: 技术问答>linux和unix
求救!!!!!关于nfs启动的问题
来源: 互联网 发布时间:2016-12-07
本文导语: 由于我是第一次弄nfs 出现了些问题 求救呀。。。。。 先贴出来我的开发板参数设置 arm9 2440 我先试了开发板在正常系统下可以ping通虚拟机 可以显示nfs文件夹里的内容 这是我的nfs启动设置 bootdelay=3 ...
由于我是第一次弄nfs 出现了些问题 求救呀。。。。。
先贴出来我的开发板参数设置 arm9 2440 我先试了开发板在正常系统下可以ping通虚拟机 可以显示nfs文件夹里的内容
这是我的nfs启动设置
bootdelay=3
baudrate=115200
ethaddr=00:0c:20:02:0a:5b
bootcmd=nand read.jffs2 33000000 0x50000 13FF4C;bootm 33000000
filesize=1F44000
fileaddr=30000000
netmask=255.255.255.0
ipaddr=192.168.1.99
serverip=192.168.1.98
ipaddrs=ip=192.168.1.99:192.168.1.98:192.168.1.98:255.255.255.0:tocore:eth0:up
bootargs=root=/dev/nfs rw nfsroot=192.168.1.100:/home/root_nfs console=ttySAC0 1
15200 ip=192.168.1.99:192.168.1.100:192.168.1.1:255.255.255.0 init=/init
stdin=serial
stdout=serial
stderr=serial
然后再从起系统 把内核拷到30000000 然后直接bootm 30000000 启动系统
走到mount主机的时候就停了 我不知道到底哪出问题了 各位大虾99小弟了
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 384 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
logger: created 64K log 'log_main'
logger: created 64K log 'log_events'
logger: created 64K log 'log_radio'
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
IP-Config: No network devices available.
Looking up port of RPC 100003/2 on 192.168.1.100
rpcbind: server 192.168.1.100 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.100
rpcbind: server 192.168.1.100 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
先贴出来我的开发板参数设置 arm9 2440 我先试了开发板在正常系统下可以ping通虚拟机 可以显示nfs文件夹里的内容
这是我的nfs启动设置
bootdelay=3
baudrate=115200
ethaddr=00:0c:20:02:0a:5b
bootcmd=nand read.jffs2 33000000 0x50000 13FF4C;bootm 33000000
filesize=1F44000
fileaddr=30000000
netmask=255.255.255.0
ipaddr=192.168.1.99
serverip=192.168.1.98
ipaddrs=ip=192.168.1.99:192.168.1.98:192.168.1.98:255.255.255.0:tocore:eth0:up
bootargs=root=/dev/nfs rw nfsroot=192.168.1.100:/home/root_nfs console=ttySAC0 1
15200 ip=192.168.1.99:192.168.1.100:192.168.1.1:255.255.255.0 init=/init
stdin=serial
stdout=serial
stderr=serial
然后再从起系统 把内核拷到30000000 然后直接bootm 30000000 启动系统
走到mount主机的时候就停了 我不知道到底哪出问题了 各位大虾99小弟了
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 384 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
logger: created 64K log 'log_main'
logger: created 64K log 'log_events'
logger: created 64K log 'log_radio'
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
IP-Config: No network devices available.
Looking up port of RPC 100003/2 on 192.168.1.100
rpcbind: server 192.168.1.100 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.100
rpcbind: server 192.168.1.100 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
|
bootargs里的ip没有设置成内核启动时就开启
ip=192.168.1.99:192.168.1.100:192.168.1.1:255.255.255.0:tocore:eth0:on
ip=192.168.1.99:192.168.1.100:192.168.1.1:255.255.255.0:tocore:eth0:on
|
估计又是万恶的防火墙。呵呵