kernel recompile - make modules_install fails.

General support questions including new installations
Post Reply
webstuff
Posts: 1
Joined: 2005/04/16 13:36:44

kernel recompile - make modules_install fails.

Post by webstuff » 2005/04/16 13:53:08

I'm trying to recompile the kernel on a CentOS4 (final) 2.6.9 kernel.

I tried two different approaches and both fail at the same place :
1. downloaded kernel-sources.2.6.9...rpm
2. downloaded kernel.2.6.9....src.rpm

in both cases I've been able to go through :
make oldconfig
make menuconfig
make bzImage
make modules

however when I run make modules_install I get this error :
ln: when making multiple links, last argument must be a directory
make: *** [_modinst_] Error 1

if I do make -d modules_install it goes through some stuff and finally shows this:
No need to remake target `Makefile'.
Updating goal targets....
Considering target file `modules_install'.
File `modules_install' does not exist.
Considering target file `_modinst_'.
File `_modinst_' does not exist.
Finished prerequisites of target file `_modinst_'.
Must remake target `_modinst_'.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Putting child 0x08af7990 (_modinst_) PID 16488 on the chain.
Live child 0x08af7990 (_modinst_) PID 16488
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16488
Live child 0x08af7990 (_modinst_) PID 16492
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16492
Live child 0x08af7990 (_modinst_) PID 16493
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16493
Live child 0x08af7990 (_modinst_) PID 16494
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08af7990 PID 16494
Live child 0x08af7990 (_modinst_) PID 16495
ln: when making multiple links, last argument must be a directory
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08af7990 PID 16495
make: *** [_modinst_] Error 1
Removing child 0x08af7990 PID 16495 from chain.

I just can't figure out where what is failing... any ideas?

iidbis
Posts: 12
Joined: 2005/04/06 19:33:17

kernel recompile - make modules_install fails.

Post by iidbis » 2005/06/01 16:32:20

dont 'make bzImage'
'make modules'

just 'make'
'make modules_install'

Post Reply

Return to “CentOS 4 - General Support”