免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 953 | 回复: 0
打印 上一主题 下一主题

hwclock 执行出现的报错信息 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-25 11:25 |只看该作者 |倒序浏览
IBM 3850升级微码后,发现一个问题,系统时间变快了8小时。date -s 更改后,clock -w和hwclock都报以下错,select() to /dev/rtc to wait for clock tick timed out。重启机器后还是时间仍然没有更改过来。在 /etc/sysconfig/clock里加了一条 CLOCKFLAGS=--directisa 再hwclock --directisa。修改时间:date MMDDhhmm保存修改:hwclock -w --directisa在设置系统时间的时候遇到以下问题 :hwclock --showselect() to /dev/rtc to wait for clock tick timed out解决办法:vi /etc/sysconfig/clockHWCLOCKPARS=--directisa或者在命令行:hwclock --show --directisa (在hwclock命令中加上参数--directisa即可)Functions:--help        show this help--show        read hardware clock and print result--set         set the rtc to the time given with --date--hctosys     set the system time from the hardware clock--systohc     set the hardware clock to the current system time--adjust      adjust the rtc to account for systematic drift since                the clock was last set or adjusted--getepoch    print out the kernel's hardware clock epoch value--setepoch    set the kernel's hardware clock epoch value to the                value given with --epoch--version     print out the version of hwclock to stdoutOptions:--utc         the hardware clock is kept in coordinated universal time--localtime   the hardware clock is kept in local time--rtc=path    special /dev/... file to use instead of default--directisa   access the ISA bus directly instead of /dev/rtc--badyear     ignore rtc's year because the bios is broken--date        specifies the time to which to set the hardware clock--epoch=year specifies the year which is the beginning of the                hardware clock's epoch value--noadjfile   do not access /etc/adjtime. Requires the use of                either --utc or --localtime
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31219/showart_1878770.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP