[techtalk] New Linux Kernel

Jeff Dike jdike at karaya.com
Fri Mar 16 20:12:53 EST 2001

marisa at teleport.com said:
> the directory (/usr/src/linux) is correct

/usr/src/linux is WRONG.

Don't build new kernels in it.  The reason is that the headers in 
/usr/src/linux/asm have to match the system (i.e. libc), because 
/usr/include/asm is a link to /usr/src/linux/include/asm.  Dumping a new 
kernel pool in /usr/src/linux will replace your existing, libc-compatible 
kernel headers with a possibly incompatible set.

And this is practically guaranteed when you're going from one major version to 

What I would recommend is build the kernel in your home directory (i.e. make 
vmlinuz), and do only the installation of the kernel (make zlilo) as root.


More information about the Techtalk mailing list