Chinaunix首页 | 论坛 | 博客
  • 博客访问: 94078
  • 博文数量: 16
  • 博客积分: 1510
  • 博客等级: 上尉
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-09 10:23
文章分类

全部博文(16)

文章存档

2012年(3)

2010年(2)

2009年(11)

我的朋友

分类: LINUX

2010-07-05 18:13:13

    今天发现vSphere4上linux服务器重启至Starting udev后不再继续,网上查找相关资料后有以下几种方法解决此问题:

一、修改"/etc/udev/rules.d/99-vmware-scsi-udev.rules" 文件,优化系统启动设备搜寻和生成虚拟设备时间。

二、但上一种方法并不是问题本质,真正的原因是:

       Clocksource is the name of the new timekeeping subsystem introduced in the Linux 2.6.18 kernel. In this subsystem there are several clocksources that can be used to read the time. One of them is the tsc clocksource which uses the Time Stamp Counter that is present on each processor and can be used to track how much time has elapsed. The TSCs on the different processors are not necessarily perfectly in sync with each other, so time can appear to go backward if the TSC is read on one processor and then another processor. Early versions of the tsc clocksource did not handle this case, which can lead to the guest operating system not responding. Due to the different timing behavior of running in a virtual machine, this can be observed more frequently in a virtual machine.

经验证确实如此:如果是单个vCPU,则Starting udev很快就能过去。

具体解决方法:

1、把虚拟机的电源关闭

2、然后编辑配置,改为1个vCPU 

3、启动系统

4、编辑/etc/grub.conf,在kernel一行最后加上clocksource=acpi_pm

5、重启虚拟机

此方法为vmware官方说明:

阅读(2923) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~