FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-03-2010, 11:08 PM
yamada hiroyuki
 
Default 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
 
Old 11-04-2010, 10:44 AM
Camaleón
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org