Gentoo Archives: gentoo-user

From: Ernie Schroder <schroder@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] uname -a question
Date: Sat, 28 Jan 2006 16:37:55
Message-Id: 200601281130.42418.schroder@ntplx.net
In Reply to: Re: [gentoo-user] uname -a question by Richard Fish
1 On Saturday 28 January 2006 10:31, a tiny voice compelled Richard Fish to
2 write:
3 > On 1/28/06, Ernie Schroder <schroder@×××××.net> wrote:
4 > > Where does uname find kernel version? For my last 2 new kernels, uname -a
5 > > returns some off the wall kernel version. It seems to be picking up extra
6 > > info from God know where.
7 >
8 > It comes from the version embedded in the kernel, returned via the
9 > uname system call (man 2 uname).
10 >
11 > carcharias rjf # strace -v -e uname uname
12 > uname({sysname="Linux", nodename="carcharias",
13 > release="2.6.15-suspend2-r3", version="#3 PREEMPT Sat Jan 21 10:00:05
14 > MST 2006", machine="i686"}) = 0
15 > uname({sysname="Linux", nodename="carcharias",
16 > release="2.6.15-suspend2-r3", version="#3 PREEMPT Sat Jan 21 10:00:05
17 > MST 2006", machine="i686"}) = 0
18 >
19 > > $ uname -a
20 > > Linux MRK 2.6.15-gentoo-r12.6.14-r-4_new #1 Fri Jan 27 12:38:49 EST 2006
21 > > i686 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux
22 >
23 > There are various ways these versions can be set, including
24 > EXTRAVERSION and LOCALVERSION.
25 >
26 > What are using to build these kernels?
27 >
28 > -Richard
29 using the typical change symlink copy over .config, make oldconfig make &&
30 make modules_install cp arch etc.
31 Obviously, I made a typo last upgrade but I can't figure out how to fix it
32 now.
33 --
34 Regards, Ernie
35 --
36 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] uname -a question Neil Bothwick <neil@××××××××××.uk>