centos 内核升级到2.6.35碰到的问题


In: 系统管理 | Author: easylife | 349 views

17 2010

朋友更新内核出了点问题,帮忙看了一下,报错信息大致如下:

1
2
3
4
5
6
Volume group “VolGroup00″ not found
Unalbe to access resume device (/dev/VolGroup00/LogVol00)
mount: could not find filesystem ‘/dev/root’
setuproot:moving /dev failed: No such file or directory
setuproot:error mounting /proc: No such file or directory
setuproot:error mounting /sys: No such file or directory

起初以为是内核里的LVM模块或者是文件系统的问题,但是检查之后发现相关选项都已经选上了,思路到这里就断了,然后G了一把,发现网上碰到这类问题的人也有些,解决方法也很简单,只要在.config里加入以下两个配置段即可:

1
2
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y

感觉出现问题的主要原因还是新老内核在sysfs上的不一致产生的

Author:蜗牛

4 Responses to centos 内核升级到2.6.35碰到的问题

Avatar

19466846

八月 24th, 2010 at 21:28

这个问题在debian的bug report中已经有过讨论:
Upgrading kernel to 2.6.25.9, the LVM utilities could not find any Volume
Groups. This is due to the new /sys/block layout and the LVM sysfs_scan
expecting the old layout. Two fixes until sysfs_scan gets updated:
(1) configure kernel to use deprecated sysfs layout, or,
(2) set “sysfs_scan = 1″ in /etc/lvm/lvm.conf.

Avatar

init4

八月 24th, 2010 at 21:30

这个问题我也遇到过

Avatar

天空之城

六月 15th, 2011 at 16:14

恩,是这样的。iptables的问题遇到过吗?我在头疼这个问题。

Avatar

Vincent

七月 14th, 2011 at 10:10

这个问题我也遇到了,很久都没解决,编译了N多次,感谢啊~~~(内牛满面)

Comment Form

About this blog

这是一个Linux/Unix技术交流群成员交流知识、分享技巧的群交流平台。如果你有好的资料愿意分享,但暂时不是本群成员,可以点击顶部导航Add Group按钮进行入群测试。欢迎你的加入!

Photostream

    Unix和Unix-like的发展历史

    理解Linux的处理器负载均值

  • Vincent: 这个问题我也遇到了,很久都没解决,编译了N多次,感谢啊~~~(内牛满面) [...]
  • 天空之城: 恩,是这样的。iptables的问题遇到过吗?我在头疼这个问题。 [...]
  • ky: 楼上的太恶劣了。。。 [...]
  • fh.cn: ....再板凳 [...]
  • fh.cn: 呵呵、板凳 [...]
  • yoyojacky: well done! Mike, it’s unbeliveable! wish this site a fabulous 2010… [...]
  • init4: 这个问题我也遇到过 [...]
  • 19466846: 这个问题在debian的bug report中已经有过讨论: Upgrading kernel to 2.6.25.9, the LVM utilities could not find any Volume Groups. This is due to the new /sys/block layout and the LVM sysf [...]

无觅相关文章插件,快速提升流量