Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1617193
  • 博文数量: 197
  • 博客积分: 10046
  • 博客等级: 上将
  • 技术积分: 1983
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-07 12:36
个人简介

在外企做服务器开发, 目前是项目经理, 管理两个server开发的项目。不做嵌入式好久了。

文章分类
文章存档

2011年(2)

2010年(6)

2009年(18)

2008年(30)

2007年(100)

2006年(41)

分类: LINUX

2007-08-31 18:02:28

根文件系统突然出了点问题,解决ok

一 ,  原来屏幕根本不会打出来 ,

QUOTE:
process '/sbin/getty 38400 tty6' (pid 876) exited. Scheduling it for restart.

这样讨厌的信息,  不知道改了busybox 选项改了哪里了, 就出现这个问题了。

解决办法: 两个办法: 1 > delete  /etc/inittab 文件即可。
2>  就是建立 /dev/tty6 节点 : cd /dev/;  mknod tty6 c 4 6  

就没有讨厌的信息。  


二 ,

发现一个讨厌的问题:
内核启动后:

QUOTE:
Pv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
eth0: using half-duplex 10Base-T (RJ-45)
Sending DHCP and RARP requests ...... timed out!
IP-Config: Reopening network devices...
eth0: using half-duplex 10Base-T (RJ-45)
Sending DHCP and RARP requests ...... timed out!
IP-Config: Reopening network devices...
eth0: using half-duplex 10Base-T (RJ-45)
Sending DHCP and RARP requests ...... timed out!
IP-Config: Reopening network devices...
eth0: using half-duplex 10Base-T (RJ-45)
Sending DHCP and RARP requests ...... timed out!
IP-Config: Reopening network devices...
eth0: using half-duplex 10Base-T (RJ-45)
Sending DHCP and RARP requests .....

原来是为了支持NFS作为根文件系统 ,我选了  networking -》networking options -》IP:Kernel level autoconfiguration
但是,切记一定不能选 下面三个子项 , 否则就会出现上面的问题嘞。  


三 ,进入系统后, 发现 mount nfs 不能正常工作, 但是发给Lei的版本却可以work , 奇怪。

mount -tnfs  192.168.167.150:/work/nfs  /mnt/ 老是提示下面的错误:

QUOTE:
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
lockd_up: makesock failed, error=-5
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
lockd_down: no lockd running
.

后来才知道应该加这个参数 -t nolock 就可以嘞。

QUOTE:
mount -tnfs -o nolock  192.168.167.150:/work/nfs  /mnt/

还可以加更多的参数, 我试验过, 确实没有timeout的现象发生,

CODE:
mount -t nfs 192.168.167.162:/home/leibian/nfs/initrd /mnt -o nolock,rsize=1024,wsize=1024,timeo=15
阅读(3058) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-09-16 14:09:35

后来才知道应该加这个参数 -t nolock 就可以嘞。 QUOTE: mount -tnfs -o nolock 192.168.167.150:/work/nfs /mnt/ 是不是有点问题,到底是-t 还是-o