Home  >  Q&A  >  body text

Linux因为LAPIC开机自动重启,如何debug?

目前操作系统:Debian 8
主板型号:超微 X8DTL-3F
CPU:E5506 x 2


在grub添加nolapic后。系统可运行,不再自动重启。只是8核变成单核,只能用一个cpu。
或者在BIOS内禁用APIC功能后,也可以进系统。但也是一个cpu。

通过google找了很多资料,可以确定的是BIOS本身有Bug,该主板的BIOS固件很长时间也没有更新。(我已经升级为官方最新的R 2.1b版本)很多类似的问题,用户都是超微主板。

服务器10年3月购买,现在跟换主板不是很划得来。所以想通过系统等非硬件方面解决这个问题。
但是在grub中添加 apic=debug 或者 apic=verbose 并没有任何错误提示。在内核加载(黑屏)过程中直接重启。

目前已经走到一个死胡同,不知道错误细节,没法通过google去查找问题。

想请教大家:
1,禁用nolapic后,可否开启多cpu?
2,不禁用BIOS中的APIC,如何使用Linux排错?(查找问题,想规避这个错误)


Windows运行正常,测试其他Linux操作系统,问题一样。测试过的有
ubuntu-16.04.1-desktop-amd64
openSUSE-Tumbleweed-GNOME-Live-x86_64-Snapshot20161128-Media
Fedora-Workstation-Live-x86_64-25-1.3
debian-8.6.0-amd64-netinst
debian-live-7.6.0-amd64-standard
debian-live-7.11.0-amd64-standard

高洛峰高洛峰2766 days ago445

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 16:28:30

    After an unexpected restart on November 5th, it started to restart automatically. I thought it was a memory problem, so I bought a new memory module
    November 10. After replacing the memory module, the problem remained. Scanned the hard disk and thought it was caused by bad sectors on the hard disk. I bought a new hard drive, but the problem still persists
    ... After a month of hard work, I refreshed the BIOS and changed the system. Understand linux core startup parameters, etc. Understand that you can enter the system by disabling apic such as nolapic
    December 17th I tried all non-hardware solutions, but with no results. I thought it was the north bridge of the motherboard that was burned out, so I bought a second-hand motherboard. After replacement, the problem still persists
    December 22 Purchased a CPU + fan, chassis + power supply. Replacing the CPU didn't solve the problem. The last part that was not replaced and was never thought of was the power supply. It can be used after replacement. Everything is fine now. At this moment, I assembled another server.
    December 24th Purchased another server power supply
    December 28th Both units are ready for use. . .

    reply
    0
  • Cancelreply