2014-12-23 181 views
3

我在redhat 6機器上安裝新的kernel 3.12.x。以下是我遵循的安裝新內核的步驟。錯誤:modinfo:找不到模塊

  1. 提取內核/usr/src/ directory
  2. 切換到cd /usr/src/linux-3.12.x
  3. make menuconfig
  4. 保存默認的配置文件
  5. make
  6. make modules_install
  7. make install

在這個過程中我收到以下錯誤:

ERROR: modinfo: could not find module fuse 
ERROR: modinfo: could not find module autofs4 
ERROR: modinfo: could not find module target_core_iblock 
ERROR: modinfo: could not find module target_core_file 
ERROR: modinfo: could not find module target_core_pscsi 
ERROR: modinfo: could not find module target_core_mod 
ERROR: modinfo: could not find module configfs 
ERROR: modinfo: could not find module 8021q 
ERROR: modinfo: could not find module bnx2fc 
ERROR: modinfo: could not find module fcoe 
ERROR: modinfo: could not find module libfcoe 
ERROR: modinfo: could not find module libfc 
ERROR: modinfo: could not find module scsi_transport_fc 
ERROR: modinfo: could not find module scsi_tgt 
ERROR: modinfo: could not find module garp 
ERROR: modinfo: could not find module stp 
ERROR: modinfo: could not find module llc 
ERROR: modinfo: could not find module sunrpc 
ERROR: modinfo: could not find module be2iscsi 
ERROR: modinfo: could not find module iscsi_boot_sysfs 
ERROR: modinfo: could not find module bnx2i 
ERROR: modinfo: could not find module cnic 
ERROR: modinfo: could not find module uio 
ERROR: modinfo: could not find module ib_iser 
ERROR: modinfo: could not find module rdma_cm 
ERROR: modinfo: could not find module ib_cm 
ERROR: modinfo: could not find module iw_cm 
ERROR: modinfo: could not find module ib_sa 
ERROR: modinfo: could not find module ib_mad 
ERROR: modinfo: could not find module ib_core 
ERROR: modinfo: could not find module ib_addr 
ERROR: modinfo: could not find module iscsi_tcp 
ERROR: modinfo: could not find module libiscsi_tcp 
ERROR: modinfo: could not find module libiscsi 
ERROR: modinfo: could not find module scsi_transport_iscsi 
ERROR: modinfo: could not find module cachefiles 
ERROR: modinfo: could not find module fscache 
ERROR: modinfo: could not find module ipv6 
ERROR: modinfo: could not find module dm_mirror 
ERROR: modinfo: could not find module dm_region_hash 
ERROR: modinfo: could not find module dm_log 
ERROR: modinfo: could not find module uinput 
ERROR: modinfo: could not find module iTCO_wdt 
ERROR: modinfo: could not find module iTCO_vendor_support 
ERROR: modinfo: could not find module sg 
ERROR: modinfo: could not find module coretemp 
ERROR: modinfo: could not find module kvm_intel 
ERROR: modinfo: could not find module kvm 
ERROR: modinfo: could not find module microcode 
ERROR: modinfo: could not find module serio_raw 
ERROR: modinfo: could not find module pcspkr 
ERROR: modinfo: could not find module i2c_i801 
ERROR: modinfo: could not find module i2c_core 
ERROR: modinfo: could not find module lpc_ich 
ERROR: modinfo: could not find module mfd_core 
ERROR: modinfo: could not find module shpchp 
ERROR: modinfo: could not find module dm_mod 
ERROR: modinfo: could not find module e1000e 
ERROR: modinfo: could not find module i5400_edac 
ERROR: modinfo: could not find module edac_core 
ERROR: modinfo: could not find module i5k_amb 
ERROR: modinfo: could not find module ioatdma 
ERROR: modinfo: could not find module dca 
ERROR: modinfo: could not find module floppy 
ERROR: modinfo: could not find module ext4 
ERROR: modinfo: could not find module mbcache 

你們可以幫我解決這個問題?

回答

0
  1. 創建這樣一個鏈接:

    LN -s /usr/src/linux-3.12.x在/ usr/src/linux中

,然後與步驟進行

檢查此鏈接:https://unix.stackexchange.com/questions/147478/error-installinig-kernel-on-centos-from-source

2. 另外,如果您的第3步前1個行不通將.config_XX文件從redhat6的/ boot目錄複製到/usr/src/linux-3.12.x/​​.config。然後給你的第3步爲make oldconfig。對新內核中添加的新功能說「不」。然後繼續執行步驟5.