View previous topic :: View next topic |
Author |
Message |
brent_weaver Guru


Joined: 01 Jul 2004 Posts: 510 Location: Burlington, VT
|
Posted: Tue Jun 16, 2009 3:32 pm Post subject: How do I downgrade kernel? |
|
|
I am not 100% sure of what version I want. I am motivated to do this by the fact that I cannot get my sound card to work in 2.6.29-r5. I understand from various forums that there are known bugs in this kernel, so I thought that it may work if I downgrade
I am sooo bummed w/ gentoo these days! _________________ Brent Weaver |
|
Back to top |
|
 |
kevstar31 Guru


Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10826 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jun 16, 2009 4:55 pm Post subject: |
|
|
Although it's not too hard, that's not really the easy way or the Gentoo way. Use equery to see the kernels that are in the Portage tree, like so: Code: | IPSN-JOHNGRAH2 ~ # equery list -p gentoo-sources
[ Searching for package 'gentoo-sources' in all categories among: ]
* installed packages
[I--] [ ~] sys-kernel/reiser4-gentoo-sources-2.6.24-r2 (2.6.24-r2)
[I--] [ ~] sys-kernel/reiser4-gentoo-sources-2.6.27-r10 (2.6.27-r10)
* Portage tree (/usr/portage)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.16-r13 (2.6.16-r13)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.25-r9 (2.6.25-r9)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.26-r4 (2.6.26-r4)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.27-r8 (2.6.27-r8)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.27-r10 (2.6.27-r10)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.28 (2.6.28)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.28-r1 (2.6.28-r1)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.28-r2 (2.6.28-r2)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.28-r3 (2.6.28-r3)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.28-r4 (2.6.28-r4)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.28-r5 (2.6.28-r5)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.28-r6 (2.6.28-r6)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.29 (2.6.29)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.29-r1 (2.6.29-r1)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.29-r2 (2.6.29-r2)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.29-r3 (2.6.29-r3)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.29-r4 (2.6.29-r4)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.29-r5 (2.6.29-r5)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.30 (2.6.30)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.30-r1 (2.6.30-r1)
IPSN-JOHNGRAH2 ~ # | Then choose an earlier stable kernel and install it, for example like so: Code: | USE="symlink" emerge -v =sys-kernel/gentoo-sources-2.6.28-r5 | After that, your chosen kernel will be available in /usr/src/linux. Also note that your existing kernel source(s) will not be disturbed.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Tue Jun 16, 2009 5:03 pm Post subject: |
|
|
Why the symlink flag? Don't you prefer to use eselect? Also there is a shorter atom syntax, like: Code: | emerge -va "=gentoo-sources-2.6.16-r13" | I was really fed up with typing categories till I found out ;] |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10826 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jun 16, 2009 5:42 pm Post subject: |
|
|
All valid points. I showed it the way I would do it, which is to double click on the kernel that was shown by equery, thus marking it (and incidentally including the category), then typing <Copy>emerge -v =<Paste><Enter>". Just from a perspective of user interface manipulation, it's more work not to include the category. I like eselect but try not to use it when I don't have to. I personally have "symlink" in my USE flags but I didn't know whether the original poster did, so I included it for completeness.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Tue Jun 16, 2009 5:46 pm Post subject: |
|
|
I guess that it'd take me longer to reach for the mouse, click, move the hand back on the keyboard then to just type the name. I was like "wow, you can do that?" when I read your post, although pretty obvious it never occured to me ;] |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10826 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jun 16, 2009 5:51 pm Post subject: |
|
|
Heh. The real purpose of a GUI is to display a more sophisticated console window.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Tue Jun 16, 2009 6:10 pm Post subject: |
|
|
 |
|
Back to top |
|
 |
|