[CentOS] Oddity with kernel built under CentOS 5.0

Tue May 29 17:58:59 UTC 2007
Mark Hull-Richter <mhullrich at gmail.com>

Yesterday I found a need to have the NTFS module support in my CentOS
5.0 at home, so I happily installed the 8.1.4 source, prepped it
(after deleting the rhel and olpc lines per Johnny's notice earlier in
this list), made the config with a ".nx" version name using make
menuconfig (copying the config from the SOURCES directory, editing it
to include the # x86_64 line and copying it back), changing the spec
file to make the release also have a ".nx" after the embedded one.

The kernel built and installed without errors, but when it booted
(this morning), there were massive errors.  It did come up, but
without the graphical desktop, so I went in and poked around and found
16 of these:

May 29 07:58:28 localhost modprobe: FATAL: Could not load
/lib/modules/2.6.18-8.1.4.el5.nx.nx/modules.dep: No such file or
directory

".nx.nx"?????

The kernel rpm is this:

-rw-r--r-- 1 mhr users  15318350 May 29 03:34
kernel-2.6.18-8.1.4.el5.nx.x86_64.rpm

and the running version is this:

Linux mhrichter 2.6.18-8.1.4.el5.nx.nx #1 SMP Tue May 29 03:11:28 PDT
2007 x86_64 x86_64 x86_64 GNU/Linux

I got around this by creating a symlink:

drwxr-xr-x 7 root root 4096 May 29 08:31 2.6.18-8.1.4.el5.nx/
lrwxrwxrwx 1 root root   19 May 29 10:56 2.6.18-8.1.4.el5.nx.nx ->
2.6.18-8.1.4.el5.nx/

My question is: why is the kernel version getting that extra ".nx" in
it?  I didn't see this problem when I built my 5.0 test kernel at
work, and I never saw anything like it in 4.4.  Where did I go awry?

-- 
Mark Hull-Richter
DATAllegro (www.datallegro.com)
85 Enterprise, Second Floor, Aliso Viejo, CA  92656
949-680-3082 - Office     949-680-3001 - fax