我已经在我的 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;
有什么问题?