Re: [gentoo-user] uname -a question

2006-01-31 Thread Richard Fish
On 1/30/06, Jerry Eastmanhouser [EMAIL PROTECTED] wrote:
 I thought that this was in the top 4 lines of the kernel Makefile.

 Standard location is going to be /usr/src/linux/Makefile


 VERSION = 2
 PATCHLEVEL = 4

This is still true with the 2.6 kernel, except that there is now also
a LOCALVERSION that comes from the .config file.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] uname -a question

2006-01-30 Thread Jerry Eastmanhouser
I thought that this was in the top 4 lines of the kernel Makefile.
It's embedded in the kernel after the kernel is compiled.
Example is from my servers below for the 2.4 kernel.
The extraversion line is set to whatever I want...it just appends
that to the end of kernel name...so if you want to have two 2.4.31
kernels you just change the extra version to something different
to differenciate between the kernels.

Standard location is going to be /usr/src/linux/Makefile

VERSION = 2PATCHLEVEL = 4SUBLEVEL = 31EXTRAVERSION = -gentoo-r1
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
On 1/29/06, Ernie Schroder [EMAIL PROTECTED] wrote:
On Sunday 29 January 2006 11:29, a tiny voice compelled Neil Bothwick towrite: On Sun, 29 Jan 2006 10:33:39 -0500, Ernie Schroder wrote:
  $ grep VERSION /usr/src/linux/.config  CONFIG_LOCALVERSION=2.6.14-r-4_new   Hmm that seems to be it. It would appear that I have to rebuild the  kernel with appropriate version descriptor. I used my old config and
  added the 2.6.14-r4-new string when I built that kernel. You need to set it to , but it's not critical for now.So true! I am annoyed by this but as far as I can see, the only way to get rid
of the string is to rebuild my kernel. I guess I'll wait for the next versionbump.--Regards, Ernie--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] uname -a question

2006-01-29 Thread Neil Bothwick
On Sat, 28 Jan 2006 11:30:42 -0500, Ernie Schroder wrote:

  What are using to build these kernels?

  using the typical change symlink copy over .config, make oldconfig
 make  make modules_installcp arch etc.
 Obviously, I made a typo last upgrade but I can't figure out how to fix
 it now.

What does  grep VERSION /usr/src/linux/.config return?


-- 
Neil Bothwick

Never drink coffee that's been anywhere near a fish.


signature.asc
Description: PGP signature


Re: [gentoo-user] uname -a question

2006-01-29 Thread Ernie Schroder
On Sunday 29 January 2006 10:02, a tiny voice compelled Neil Bothwick to 
write:
 On Sat, 28 Jan 2006 11:30:42 -0500, Ernie Schroder wrote:
   What are using to build these kernels?
 
   using the typical change symlink copy over .config, make oldconfig
  make  make modules_installcp arch etc.
  Obviously, I made a typo last upgrade but I can't figure out how to fix
  it now.

 What does  grep VERSION /usr/src/linux/.config return?


$ grep VERSION /usr/src/linux/.config
CONFIG_LOCALVERSION=2.6.14-r-4_new

Hmm that seems to be it. It would appear that I have to rebuild the kernel 
with appropriate version descriptor. I used my old config and added the 
2.6.14-r4-new string when I built that kernel. I guess I'll just live with it 
until I build another one. Thanks Neil.

-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] uname -a question

2006-01-29 Thread Neil Bothwick
On Sun, 29 Jan 2006 10:33:39 -0500, Ernie Schroder wrote:

 $ grep VERSION /usr/src/linux/.config
 CONFIG_LOCALVERSION=2.6.14-r-4_new
 
 Hmm that seems to be it. It would appear that I have to rebuild the
 kernel with appropriate version descriptor. I used my old config and
 added the 2.6.14-r4-new string when I built that kernel.

You need to set it to , but it's not critical for now.

-- 
Neil Bothwick

Veni, vermini, vomui
I came, I got ratted, I threw up


signature.asc
Description: PGP signature


Re: [gentoo-user] uname -a question

2006-01-29 Thread Ernie Schroder
On Sunday 29 January 2006 11:29, a tiny voice compelled Neil Bothwick to 
write:
 On Sun, 29 Jan 2006 10:33:39 -0500, Ernie Schroder wrote:
  $ grep VERSION /usr/src/linux/.config
  CONFIG_LOCALVERSION=2.6.14-r-4_new
 
  Hmm that seems to be it. It would appear that I have to rebuild the
  kernel with appropriate version descriptor. I used my old config and
  added the 2.6.14-r4-new string when I built that kernel.

 You need to set it to , but it's not critical for now.

So true! I am annoyed by this but as far as I can see, the only way to get rid 
of the string is to rebuild my kernel. I guess I'll wait for the next version 
bump.

-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] uname -a question

2006-01-28 Thread Richard Fish
On 1/28/06, Ernie Schroder [EMAIL PROTECTED] wrote:
 Where does uname find kernel version? For my last 2 new kernels, uname -a
 returns some off the wall kernel version. It seems to be picking up extra
 info from God know where.

It comes from the version embedded in the kernel, returned via the
uname system call (man 2 uname).

carcharias rjf # strace -v -e uname uname
uname({sysname=Linux, nodename=carcharias,
release=2.6.15-suspend2-r3, version=#3 PREEMPT Sat Jan 21 10:00:05
MST 2006, machine=i686}) = 0
uname({sysname=Linux, nodename=carcharias,
release=2.6.15-suspend2-r3, version=#3 PREEMPT Sat Jan 21 10:00:05
MST 2006, machine=i686}) = 0

 $ uname -a
 Linux MRK 2.6.15-gentoo-r12.6.14-r-4_new #1 Fri Jan 27 12:38:49 EST 2006 i686
 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux

There are various ways these versions can be set, including
EXTRAVERSION and LOCALVERSION.

What are using to build these kernels?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] uname -a question

2006-01-28 Thread Ernie Schroder
On Saturday 28 January 2006 10:31, a tiny voice compelled Richard Fish to 
write:
 On 1/28/06, Ernie Schroder [EMAIL PROTECTED] wrote:
  Where does uname find kernel version? For my last 2 new kernels, uname -a
  returns some off the wall kernel version. It seems to be picking up extra
  info from God know where.

 It comes from the version embedded in the kernel, returned via the
 uname system call (man 2 uname).

 carcharias rjf # strace -v -e uname uname
 uname({sysname=Linux, nodename=carcharias,
 release=2.6.15-suspend2-r3, version=#3 PREEMPT Sat Jan 21 10:00:05
 MST 2006, machine=i686}) = 0
 uname({sysname=Linux, nodename=carcharias,
 release=2.6.15-suspend2-r3, version=#3 PREEMPT Sat Jan 21 10:00:05
 MST 2006, machine=i686}) = 0

  $ uname -a
  Linux MRK 2.6.15-gentoo-r12.6.14-r-4_new #1 Fri Jan 27 12:38:49 EST 2006
  i686 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux

 There are various ways these versions can be set, including
 EXTRAVERSION and LOCALVERSION.

 What are using to build these kernels?

 -Richard
 using the typical change symlink copy over .config, make oldconfig make  
make modules_installcp arch etc.
Obviously, I made a typo last upgrade but I can't figure out how to fix it 
now.
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list