View previous topic :: View next topic |
Author |
Message |
justinCOD n00b
Joined: 08 Mar 2004 Posts: 73
|
Posted: Wed Nov 17, 2004 10:42 pm Post subject: Kernel oddity..a "y" character at the end of kerne |
|
|
I just recompiled my 2.6.9 kernel today. I also unmerged some older kernel versions that still had source sitting out there (2.6.7 and 2.6.8 kernels).
Now here is the weird part when I do a uname or look at the modules directory:
Code: |
justin@rosco justin $ uname -a
Linux rosco 2.6.9-gentoo-r4y #1 Wed Nov 17 14:01:00 MST 2004 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz GenuineIntel GNU/Linux |
Notice the trailing "y" character after r4?? Why is that there? I don't think it's normal because I've never seen it before. Also...
Code: |
justin@rosco modules $ pwd
/lib/modules
justin@rosco modules $ ll
total 20
drwxr-xr-x 5 root root 4096 Nov 17 15:25 .
drwxr-xr-x 8 root root 4096 Nov 16 17:47 ..
drwxr-xr-x 3 root root 4096 Nov 17 10:18 2.6.9-gentoo-r1y
drwxr-xr-x 3 root root 4096 Nov 17 15:19 2.6.9-gentoo-r4
drwxr-xr-x 4 root root 4096 Nov 17 15:25 2.6.9-gentoo-r4y
|
The only thing in the r4 directory w/out a "y" is:
Code: |
justin@rosco modules $ ll 2.6.9-gentoo-r4
total 12
drwxr-xr-x 3 root root 4096 Nov 17 15:19 .
drwxr-xr-x 5 root root 4096 Nov 17 15:25 ..
drwxr-xr-x 2 root root 4096 Nov 17 15:19 CiscoVPN
|
The vpn client I just emerged so that was obviously just made.
Oh, I also checked my kernel Makefile just in case:
Code: |
justin@rosco linux $ head Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 9
EXTRAVERSION = -gentoo-r4
NAME=Zonked Quokka |
Any ideas why that character is there? Everything seems to be working fine so far but that just seems really weird...
Thanks. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed Nov 17, 2004 10:49 pm Post subject: |
|
|
What does Code: | # grep CONFIG_LOCALVERSION /usr/src/linux/.config | output? Make sure it's unset: Code: | CONFIG_LOCALVERSION="" |
_________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
justinCOD n00b
Joined: 08 Mar 2004 Posts: 73
|
Posted: Wed Nov 17, 2004 11:03 pm Post subject: |
|
|
Hrmph...
Code: |
justin@rosco log $ grep CONFIG_LOCALVERSION /usr/src/linux/.config
CONFIG_LOCALVERSION="y" |
How did that get in there?? Before compiling I did a 'make oldconfig' and did not manually change any kernel config values...
I assume if I clear that value and go back and recompile all will look normal again. Thx. |
|
Back to top |
|
|
skunkworx Guru
Joined: 02 Feb 2003 Posts: 420 Location: Planet Houston
|
Posted: Wed Nov 17, 2004 11:12 pm Post subject: |
|
|
justinCOD wrote: | Hrmph...
Code: |
justin@rosco log $ grep CONFIG_LOCALVERSION /usr/src/linux/.config
CONFIG_LOCALVERSION="y" |
How did that get in there?? Before compiling I did a 'make oldconfig' and did not manually change any kernel config values... |
This is a fairly new option, so "make oldconfig" probably stopped at this point, waiting for you to make a decision. You probably thought it was a question, and typed "y" meaning "yes." Now you know better. _________________ Proud to be a... eh, forget it.
"Everyday is just one day." -- not the Traveling Wilburys |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed Nov 17, 2004 11:16 pm Post subject: |
|
|
skunkworx wrote: | ldconfig" probably stopped at this point, waiting for you to make a decision. You probably thought it was a question, and typed "y" meaning "yes." Now you know better. | Yup. I always type '?' to make sure I'm doing the right thing in saying Y, N, M, or something else for the new options. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
justinCOD n00b
Joined: 08 Mar 2004 Posts: 73
|
Posted: Wed Nov 17, 2004 11:39 pm Post subject: |
|
|
Well, I know what it does when a new option is available. It didn't stop and ask if I wanted this option compiled in or not, or as a module. I've done make oldconfig a million times so I'm used to what it does.
I must have set it to Yes in a previous kernel build because my .config from 2.6.9-r1 had the same entry. I don't remember doing it though which is weird, because I just don't hit 'yes' for all the new kernel options during an oldconfig. I actually do find out what they do before adding them to the kernel...
At any rate it's back to normal after recompile:
Code: |
justin@rosco justin $ uname -r
2.6.9-gentoo-r4 |
Thx for the help |
|
Back to top |
|
|
|