关于Linux Kernel 2.6.28 以上有缺陷,在第208.5天自行重啟的问题

   

今天看到一转帖如下:

Linux Kernel 2.6.28 以上有缺陷,在第208.5天自行重啟

https://access.redhat.com/knowledge/solutions/68466

sched_clock() overflow around 208.5 days in Linux Kernellast modified by Raghu Udiyar on 04/10/12 - 09:12Issue

  • Linux Kernel panics when sched_clock() overflows around 208.5 days
  • Does RHEL 6.1 have a reboot problem which is caused by sched_clock() overflow around 208.5 days?

Environment

  • Red Hat Enterprise Linux 6
  • Kernel version earlier than kernel-2.6.32-220.4.2.el6
  • TSC clock source
  • Intel CPU

Linux Kernel 2.6.28 以上存有缺陷,啟動後經過208.5天就會自行重新啟動,此事浮出檯面。

sched_clock() overflow after 208.5 days in Linux
Kernel
 (okkyの銀河制圧奇譚)

該缺陷是於實機運行 Pentium 4
以上的Intel系CPU(含相容性CPU、32bit/64bit皆然)時發現的。於虛擬機器上運行,或運行非Intel系CPU則無此發現。

此缺陷在 Linux Kernel 2.6.32.50 / 3.0.13 / 3.1.5
已被修正。各發行版上的應對狀況如下。

Fedora 16: 已在 Fedora 16 Update: kernel-3.1.6-1.fc16
修正。

Vine Linux 6: 已用核心修補檔修正。

Red Hat Enterprise Linux 6:
尚未發佈修正版核心。請於啟動後的200天內手動重啟來迴避。

CentOS 6: 尚未發佈修正版核心。請於啟動後的200天內手動重啟來迴避。

Debian 6.0: 尚未發佈修正版核心。請於啟動後的200天內手動重啟來迴避。

Ubuntu 11.10: 尚未發佈修正版核心。請於啟動後的200天內手動重啟來迴避。

Ubuntu 11.04: 尚未發佈修正版核心。請於啟動後的200天內手動重啟來迴避。

Ubuntu 10.10: 尚未發佈修正版核心。請於啟動後的200天內手動重啟來迴避。

Ubuntu 10.04 LTS: 尚未發佈修正版核心。請於啟動後的200天內手動重啟來迴避。

SuSE 11 SP1: 可從支援服務獲得 PTF 。

仔细看了下readhat的解释:

Does Red Hat Enterprise Linux 6 or 5 have a reboot problem which is
caused by sched_clock() overflow around 208.5 days?

Updated 22 Aug 2012, 8:54 AM
GMT

Rate

5

Average: 5 (1vote)

Issue

  • Linux Kernel panics when sched_clock() overflows
    after an uptime of around 208.5 days.
  • Red Hat Enterprise Linux 6.1 system reboots with sched_clock()
    overflow after an uptime of around 208.5 days

Environment

  • Red Hat Enterprise Linux 6

    • Red Hat Enterprise Linux 6.0, 6.1 and 6.2 are affected
    • several kernels affected, see below
    • TSC clock source
    • Intel CPU
  • Red Hat Enterprise Linux 5
    • Red Hat Enterprise Linux 5.3, 5.6, 5.8: please refer to
      the resolution section
      for affected kernels
    • Red Hat Enterprise Linux 5.0, 5,1, 5.2, 5.4, 5.5 ,5.7: all kernels
      affected
    • TSC clock source
    • Intel CPU
  • An approximate uptime of around 208.5 days.

从以上官方说法可以看到时有条件触发的:

1.使用TSC时钟源

2.使用Intel CPU

3.以上系列版本和内核相关

就可能存在异常宕机的风险

可以启动boot时关闭,方法可以参考http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427

时间: 2024-08-03 19:35:55

关于Linux Kernel 2.6.28 以上有缺陷,在第208.5天自行重啟的问题的相关文章

Linux Kernel 2.6.28 以上有BUG,系统运行第208.5天down机

简介: 业务服务器有一台服务器出现意外down机,服务器ping 不通.无法登陆,本想通过公司KVM系统登陆系统重启解决,登陆KVM后发现系统屏幕打印大量的内核错误,KVM无法使用.无法发送重启服务器.果断联系 机房人员帮助手工重启,手动重启服务器后服务器运行状态回归正常. 在服务器重启前通过KVM管理系统能看到系统屏幕上打印的内核错误,此时做了一个页面截屏,后根据屏幕打印的报错关键字,进行查找追踪发现原来我们的linux服务器内核bug问题导致. 此内核BUG问题会直接导致服务器down机,查

Linux Kernel - Debug Guide (Linux内核调试指南 )

http://blog.csdn.net/blizmax6/article/details/6747601 linux内核调试指南 一些前言 作者前言 知识从哪里来 为什么撰写本文档 为什么需要汇编级调试 ***第一部分:基础知识*** 总纲:内核世界的陷阱 源码阅读的陷阱 代码调试的陷阱 原理理解的陷阱 建立调试环境 发行版的选择和安装 安装交叉编译工具 bin工具集的使用 qemu的使用 initrd.img的原理与制作 x86虚拟调试环境的建立 arm虚拟调试环境的建立 arm开发板调试环

linux kernel 字符设备详解

有关Linux kernel 字符设备分析: 参考:http://blog.jobbole.com/86531/ 一.linux kernel 将设备分为3大类,字符设备,块设备,网络设备. 字符设备是指只能一个字节一个字节读写的设备, 常见的外设基本上都是字符设备. 块设备:常见的存储设备,硬盘,SD卡都归为块设备,块设备是按一块一块读取的. 网络设备:linux 将对外通信的一个机制抽象成一个设备, 通过套接字对其进行相关的操作. 每一个字符设备或块设备都在/dev目录下对应一个设备文件.l

使用 GIT 获得Linux Kernel的代码并查看,追踪历史记录

Linux kernel  的官方 GIT地址是: http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git 可以从这个地址拿到 kernel 的 代码仓库. 1. 拿代码仓库 [plain] view plaincopyprint? git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 2. 查看状态: [pla

Linux Kernel:  container_of 黑科技

1 #include<stdio.h> 2 3 #define offsetof(TYPE,MEMBER) ((size_t)&((TYPE*)0)->MEMBER) 4 5 #define container_of(ptr,type,member) ({ 6 const typeof( ((type*)0)->member ) *__mptr = (ptr); 7 (type *)( (char *)__mptr - offsetof(type,member) );})

Linux snacks from &lt;linux kernel development&gt;

introduction to the Linux kernel 1.operating system 1) considered the parts of the system 2) responsible for basic use and administration. 3) includes the kernel and device drivers, boot loader, command shell or other user interface, and basic file a

用qemu与gdb调试linux kernel tcp/ip协议栈

description 用gdb debug linux kernel容易吗?其实要走到这步真的不容易啊,其实也难道是不难,就是要知道的东西太多了.用gdb debug linux kernel 可以有2中方式:UML和qemu方式,这里主要说qemu,从源码编译安装qemu很费劲. 准备环境 linux OS: Debian7.5-i386(当时最新的Wheezy,装在VMware10上,我用的在线安装,安装后以text方式跑起来,我的笔记本配置资源有限!) root fs:Debian-Wh

Linux Kernel 排程機制介紹

http://loda.hala01.com/2011/12/linux-kernel-%E6%8E%92%E7%A8%8B%E6%A9%9F%E5%88%B6%E4%BB%8B%E7%B4%B9/ Linux Kernel 排程機制介紹 Linux Kernel 排程機制介紹 [email protected] by loda. 2011/12/2 多核心架構儼然是目前智慧型手機方案的新趨勢,隨著省電與效能上的考量,多核心的架構各家方案也都有所差異.為能讓同一個Linux Kernel在不同效

linux kernel 模块多文件编译

/*************************************************************************** * linux kernel 模块多文件编译 * 声明: * 本文主要是记录在调试驱动的阶段,我们可能会更倾向于使用模块插入的方式 * 来进行驱动调试,这样可以大大缩短调试时间.之前在调试gt9xx Touch的时候也 * 是采用这种方式,这里还是记录一下,日后方便查找. * * 2016-2-2 深圳 南山平山村 曾剑锋 **********