自定义内核在core2duo中显示一个cpu


0

我在我的Core2Duo系统中安装了Debian 8。

lscpu显示2个核心可用 - 0,1

为了构建我的自定义内核,我从kernel.org下载了内核3.18.21。我已经按照这个文件 内核编译来编译我的自定义内核。

它是成功构建的,但我面临的问题是在我构建自定义内核之后,lscpu只显示一个CPU-0。另一个CPU 1在哪里?

我检查了BIOS,在内核编译之前和之后都没有变化。

在启动时,出现错误。它显示了systemd-modules-load.service加载失败的加载内核模块失败

$ systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since Tue 2015-09-08 19:47:02 IST; 36min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 215 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 215 (code=exited, status=1/FAILURE)

我添加了/ etc / default / grub

(1)
    GRUB_CMDLINE_LINUX_DEFAULT="acpi_apic_instance=2 quiet"

(2)
    GRUB_CMDLINE_LINUX_DEFAULT="acpi_apic_instance=2 quiet"

但是上述两个选项没有解决问题。

在我的/etc/modprobe.d目录下面有conf文件。

    dkms.conf  
    fbdev-blacklist.conf
    modesetting.conf 
    open-vm-tools-dkms.conf

b@debian:/etc/modprobe.d# cat dkms.conf 
# modprobe information used for DKMS modules
#
# This is a stub file, should be edited when needed,
# used by default by DKMS.

b@debian:/etc/modprobe.d# cat fbdev-blacklist.conf 
# This file blacklists most old-style PCI framebuffer drivers.

blacklist arkfb
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist kyrofb
blacklist matroxfb_base
blacklist mb862xxfb
blacklist neofb
blacklist pm2fb
blacklist pm3fb
blacklist s3fb
blacklist savagefb
blacklist sisfb
blacklist tdfxfb
blacklist tridentfb
blacklist vt8623fb

b@debian:/etc/modprobe.d# cat modesetting.conf 
options cirrus modeset=1
options mgag200 modeset=1

b@debian:/etc/modprobe.d# cat open-vm-tools-dkms.conf 
install pcnet32 /sbin/modprobe -q --ignore-install vmxnet; /sbin/modprobe -q --ignore-install pcnet32 $CMDLINE_OPTS; /bin/true;

有什么问题?


我可能错了(如果我确定我会被纠正),但“0,1”就是2个内核被命名的方式,你实际上有2个内核。
Xavierjazz 2015年

是的,我有2个内核,并且新安装的OS显示2个内核,但在重新编译内核后,一个CPU被禁用。不知道怎么样。
bholanath 2015年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.