"Make modules" command does not create all modules

I am running Fedora 14 64 bit.

I cloned the original kernel tree from git: //git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

About a week ago, I compiled and updated the kernel from 2.6.35 to 2.6.39, everything went pretty smoothly, everything I did was very straightforward:

make menuconfig
make oldconfig
make -j8
make modules_install && install

Then I added a dummy system call (I followed it using the Linux kernel development book by Robert Love) and tried to compile again, it compiled the kernel, but when I released:

[root@xps420 Kernel]# make modules
CHK     include/linux/version.h
CHK     include/generated/utsrelease.h
CALL    scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 4 modules

he made only 4 modules, previously there were more than 2000 modules.

I thought it was my dummy system call that was causing the problem, I turned off all changes and tried again with the same result.

Again, the steps I took were:

make menuconfig
make oldconfig
make -j8
make modules ----> suspicious

I am not sure what causes this.

EDIT: , make clean , 4 . - modules_install /lib/modules/[ver], 4 . , make install , , .

EDIT: (2.6.39.1) kernel.org, , , . . , - :( , - .

+3
5

, googling , , , ,.config , ? - .config( 4 ). , .config menuconfig, , , , . !

+2

"make clean", . , , .

0

, , . , make clean, , . , !

0

make V=1 ... . V=2.

0

, wliao.

:

  1. 5.0.0 3.x.x ( CentOS7) ;
  2. 5.3.0-rc6 +;
  3. make distclean;
  4. make, make modules_install make install ;
  5. : error: /vmlinuz-5.3.0-rc6+ has invalid signature.
  6. After a long search, I came here, thank God!

Decisive steps:

  1. Copy existing configuration file from / boot
    cp -p /boot/config-3.10.0-957.27.2.el7.x86_64 .config
    
  2. Configure advanced settings with menuconfig
    make menuconfig
    
  3. build
    make -j $(nproc)
    sudo make modules_install
    sudo make install
    
  4. Show your new kernel version
    sudo grep ^menuentry /boot/efi/EFI/centos/grub.cfg | cut -d "'" -f2
    
  5. Set your default boot kernel
    sudo grub2-set-default 'CentOS Linux (5.3.0-rc6+) 7 (Core)'
    
  6. Boot successfully!
0
source

All Articles