You are not logged in.

#1 2011-08-18 21:21:13

rugantino
Member
Registered: 2011-07-02
Posts: 13

Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

I'm installing ArchLinux on several desktops and laptops so I can learn to do it in a repeatable way. Recently, I installed it (from just "core", using the latest install.iso) on a 32-bit intel laptop,
getting 2.6.39-ARCH, and today, on a 64-bit laptop, 3.0-ARCH.  All was fine.

However, both on the previous weeks and today, with the same kind of Arch installation, both on a 64-bit Intel desktop and a 64-bit AMD desktop, uname reports 2.6.35-std201-amd64!
---while the library modules directory reported 2.6.39-ARCH (last week) and 3.0-ARCH (today).

Where did that 2.6.35-std201 come from? what kernel do I have installed? If I do pacman -Syy; pacman -Su, it says, "system already up-to-date".
What is really going on? Am I running 3.0 or 2.6.35?
Many thanks.

(I'm an Arch newbie, but with years of experience in Red Hat, Fedora, and Ubuntu, as well as with general Unix/Linux use and management).

P.S. Thu morning: I've edited "2.6.35-ltd" to "2.6.35-std201"---the "ltd" tag, gotten from memory, was wrong

Last edited by rugantino (2011-08-19 04:50:39)

Offline

#2 2011-08-18 21:28:08

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

Arch has no 2.6.35-ltd at all.  kernel26-lts is 2.6.32.something.  I believe gentoo uses 2.6.35 for their lts but a quick google search of "2.6.35-ltd" give very few hits.  No idea what to tell ya.

Last edited by graysky (2011-08-18 21:28:55)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2011-08-18 21:30:46

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

No idea either. What's in /boot and /lib/modules?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2011-08-18 21:32:54

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

Grayski is right. You have to install it from AUR or maybe you put in /etc/pacman.conf other additional repository.

I have, beside kernel 3.0, installed kernel26-lts (2.6.32-43-1).


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#5 2011-08-19 20:16:37

rugantino
Member
Registered: 2011-07-02
Posts: 13

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

Is there a more direct and intrinsic way to know what Arch kernel I'm running than asking uname?
I have recently installed Archlinux on four machines, expecting to end up with kernel 2.6.39, or, in the last couple of days, 3.0.1 or 3.0.3.

On the two laptops (one 32-bit and one 64-bit), uname indeed reports the above kernel numbers, and those are matched by directory names /lib/modules/2.6.39-ARCH and 3.0-ARCH.
However, on the two desktops (both 64-bit, one Intel and one AMD), while I get, as expected, one of those two directory names in /lib/modules, uname reports instead in both cases 2.6.35-std201!

Is there a way to somehow ask the kernel itself what version it thinks it is? What's the story behind this mixup?

Thanks

Offline

#6 2011-08-19 20:20:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

'pacman -Q linux' or 'pacman -Q kernel26'.

2.6.35-std201 doesn't look like a stock Arch kernel - is it a custom one?

Last edited by karol (2011-08-19 20:22:17)

Offline

#7 2011-08-19 20:21:28

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

uname asks the kernel itself. I'm not sure how much more accuracy you need. If it says you're using 2.6.35-std201 (some other distro?) then that's what you're using. If there's no matching modules directory in /lib/modules, then this further suggests that you're running a kernel from the wrong distro.

Offline

#8 2011-08-19 20:30:18

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

rugantino, you already opened a thread on this here: https://bbs.archlinux.org/viewtopic.php?id=124790
No cross-posting: https://wiki.archlinux.org/index.php/Fo … ss-Posting
Since there are already useful replies here, I will merge the threads.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#9 2011-08-20 02:19:38

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Which krnl do I have? uname says 2.6.35-std;/lib/modules says 3.0-ARCH

Dualbooting? Seperate /boot partion? Replaced other distro? Someone else messing with the systems? Bogus repo?

Sounds like your bootloader is set to boot a different kernel than the stock arch one.

Last edited by Mr.Elendig (2011-08-20 02:20:23)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB