if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.12.2; fi /bin/sh: line 1: 3357 Killed /sbin/depmod -ae -F System.map 2.6.12.2 make: *** [_modinst_post] Error 137
原因: SELinux 阻止寫入 /lib/modules/<version>。
解法:編譯前關閉 SELinux。
修改 /boot/grub/grub.conf 核心參數加入 selinux=0,或編輯 /etc/selinux/config 設 SELINUX=disabled。
SATA 硬碟未在核心啟用相關驅動。以 lspci 確認控制器型號(如 Intel ICH7),在 make menuconfig 啟用:
缺少 VIA Rhine 驅動。make menuconfig → Networking support → Networking device support → Ethernet (10/100Mbit) → <M> VIA Rhine RevB support。
reading all physical volumes... no volume group found! unable to find volume group "VolGroup00"
核心未啟用 LVM。make menuconfig → Device Drivers → [*] Multiple devices driver support (RAID and LVM) → <*> Logical volume manager (LVM) support。