Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I get the currently running kernel version's source ?

43 views
Skip to first unread message

yamada hiroyuki

unread,
Nov 3, 2010, 8:10:01 PM11/3/10
to
Hello,

I built the kernel with debug information for systemtap.
But, systemtap says

Error inserting module '/tmp/staplTSL5T/stap_c7ba0a7f4c2310db9aea2545f5537756_433.ko': Invalid module format

when insmod is internally called.
I think it is from version conflict between the one currently running and the one I built for debug.
I got the source from the following command.

apt-get source linux-image-$(uname -r)

It seems kernel 2.6.26-25lenny1 is donwloaded.
But running kernel is 2.6.26-21lenny3.
So, I am wondering how I can get 2.6.26-21lenny3 source code.
(I could not find the one on the debian site.)

Also, 2.6.26-21lenny3 is what linux kernel version ?
The dmesg says

Linux version 2.6.26-2-amd64 (Debian 2.6.26-21lenny3) ...

Is it linux 2.6.26.2 ?
Could anyone give me a help ?

Thanks in advance,

Hiro


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/566475....@web31105.mail.kks.yahoo.co.jp

Camaleón

unread,
Nov 4, 2010, 7:50:02 AM11/4/10
to
On Thu, 04 Nov 2010 09:08:41 +0900, yamada hiroyuki wrote:

(...)

> apt-get source linux-image-$(uname -r)
>
> It seems kernel 2.6.26-25lenny1 is donwloaded. But running kernel is
> 2.6.26-21lenny3. So, I am wondering how I can get 2.6.26-21lenny3 source
> code. (I could not find the one on the debian site.)

There must be something around here:

http://snapshot.debian.org/archive/debian-security/20100213T055431Z/pool/updates/main/l/linux-2.6/

> Also, 2.6.26-21lenny3 is what linux kernel version ? The dmesg says
>
> Linux version 2.6.26-2-amd64 (Debian 2.6.26-21lenny3) ...
>
> Is it linux 2.6.26.2 ?

Yes, it's a 2.6.26.2 kernel release for 64 bits.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/pan.2010.11...@gmail.com

0 new messages