Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   How can I get the currently running kernel version's source ? (http://www.linux-archive.org/debian-user/447820-how-can-i-get-currently-running-kernel-versions-source.html)

yamada hiroyuki 11-03-2010 11:08 PM

How can I get the currently running kernel version's source ?
 
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-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 566475.76673.qm@web31105.mail.kks.yahoo.co.jp">htt p://lists.debian.org/566475.76673.qm@web31105.mail.kks.yahoo.co.jp

Camaleón 11-04-2010 10:44 AM

How can I get the currently running kernel version's source ?
 
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-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.11.04.11.44.43@gmail.com">http://lists.debian.org/pan.2010.11.04.11.44.43@gmail.com


All times are GMT. The time now is 08:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.