我正在尝试编译一个 Linux 内核以在 XenServer 5.6 fp1 上运行轻量级和半虚拟化。
我正在使用这里给出的指南:http://www.mad-hacking.net/documentation/linux/deployment/xen/pv-guest-basics.xml
但当我到达这个选项时,我被难住了CONFIG_COMPAT_VDSO
。
它到底在哪里make menuconfig
?该网站指出该选项位于处理器类型和功能组,但我没有看到:
[*] Tickless System (Dynamic Ticks)
[*] High Resolution Timer Support
[*] Symmetric multi-processing support
[ ] Support for extended (non-PC) x86 platforms
[ ] Single-depth WCHAN output
[*] Paravirtualized guest support --->
[*] Disable Bootmem code (NEW)
[ ] Memtest (NEW)
Processor family (Core 2/newer Xeon) --->
(2) Maximum number of CPUs
[ ] SMT (Hyperthreading) scheduler support
[ ] Multi-core scheduler support
Preemption Model (No Forced Preemption (Server)) --->
[ ] Reroute for broken boot IRQs
[ ] Machine Check / overheating reporting
< > Dell laptop support (NEW)
< > /dev/cpu/microcode - microcode support
<M> /dev/cpu/*/msr - Model-specific register support
<M> /dev/cpu/*/cpuid - CPU information support
[ ] Numa Memory Allocation and Scheduler Support
Memory model (Sparse Memory) --->
[*] Sparse Memory virtual memmap (NEW)
[*] Allow for memory hot-add
[*] Allow for memory hot remove
[ ] Allow for memory compaction
[*] Page migration
[*] Enable KSM for page merging
(65536) Low address space to protect from user allocation (NEW)
[ ] Check for low memory corruption
[ ] Reserve low 64K of RAM on AMI/Phoenix BIOSen
-*- MTRR (Memory Type Range Register) support
[ ] MTRR cleanup support
[*] Enable seccomp to safely compute untrusted bytecode (NEW)
[*] Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)
Timer frequency (100 HZ) --->
[ ] kexec system call
[ ] kernel crash dumps
[*] Build a relocatable kernel (NEW)
-*- Support for hot-pluggable CPUs
[ ] Built-in kernel command line (NEW)
仅供参考,我正在配置Gentoo 的内核 v2.6.36-hardened-r9
答案1
正如您已经说过的,它位于“处理器类型和功能”下。
您正在编译 Gentoo 的强化内核源代码,因此代码会经过多次修补。
在谷歌中快速搜索返回了这个:Gentoo 内核 VDSO。看起来 Gentoo 之前的几个版本都已经禁用了它。
为什么不直接从 kernel.org 下载呢?