Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
downgrade kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
zombics
n00b
n00b


Joined: 28 Feb 2005
Posts: 30
Location: israel

PostPosted: Tue Nov 28, 2006 1:11 pm    Post subject: downgrade kernel? Reply with quote

ok, i want 2 try 2 downgrade my gentoo-sources back 2 2.6.17, but i dont have them on my PC, and i can find how to do it.
can any1 help me with this?
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Tue Nov 28, 2006 1:21 pm    Post subject: Reply with quote

first, please write in English. It makes it easier. Second, I'm not sure what the problem is. Just emerge the sources you need using emerge gentoo-sources with the specific version. Kernel sources are sloted so it should not be a problem to have more than one. Then of course, this is just the sources. You then need to recompile, because emerging sources doesn't compile them for you. Do you know how to do that?
Back to top
View user's profile Send private message
zombics
n00b
n00b


Joined: 28 Feb 2005
Posts: 30
Location: israel

PostPosted: Tue Nov 28, 2006 1:44 pm    Post subject: Reply with quote

yes i know that, all i was asking is how do i emerge the older version?
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Tue Nov 28, 2006 2:00 pm    Post subject: Reply with quote

Try
Code:
# emerge -av1 =gentoo-sources-2 2.6.17


Last edited by batistuta on Tue Nov 28, 2006 5:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
zombics
n00b
n00b


Joined: 28 Feb 2005
Posts: 30
Location: israel

PostPosted: Tue Nov 28, 2006 3:57 pm    Post subject: Reply with quote

ok i meneged 2 do it.
i emerge it with =gentoo-soures-ver and unmasked it.
thx for your help
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Wed Nov 29, 2006 6:25 am    Post subject: Reply with quote

One issue I can think of when downgrading a kernel would be if you downgraded to below your linux-headers version (though this is not the case with the OP). For example, if you have linux-headers-2.6.17 installed and you downgraded to a 2.6.16 kernel, I would imagine that would cause a kernel panic on boot.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Wed Nov 29, 2006 8:13 am    Post subject: Reply with quote

sirdilznik wrote:
One issue I can think of when downgrading a kernel would be if you downgraded to below your linux-headers version (though this is not the case with the OP). For example, if you have linux-headers-2.6.17 installed and you downgraded to a 2.6.16 kernel, I would imagine that would cause a kernel panic on boot.

Do you mean, in case a driver like nvidia or alsa-driver was compiled against a different kernel source? Would this really cause a kernel panic or just a non-loadable module?
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Wed Nov 29, 2006 8:40 am    Post subject: Reply with quote

batistuta wrote:
sirdilznik wrote:
One issue I can think of when downgrading a kernel would be if you downgraded to below your linux-headers version (though this is not the case with the OP). For example, if you have linux-headers-2.6.17 installed and you downgraded to a 2.6.16 kernel, I would imagine that would cause a kernel panic on boot.

Do you mean, in case a driver like nvidia or alsa-driver was compiled against a different kernel source? Would this really cause a kernel panic or just a non-loadable module?
No, I meant linux-headers. Not recompiling modules should only result in the module failing to load, the OS should boot up fine otherwise.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Wed Nov 29, 2006 10:47 am    Post subject: Reply with quote

I'm not that familiar with that... could you please explain? I've thought that the linux image is just that, a binary image and that no sources (headers) are required in order to boot.
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Thu Nov 30, 2006 5:41 am    Post subject: Reply with quote

batistuta wrote:
I'm not that familiar with that... could you please explain? I've thought that the linux image is just that, a binary image and that no sources (headers) are required in order to boot.
I'm not an expert in this area either. Maybe the OS would boot fine with linux-headers lower version than the kernel itself, but I'm sure it would cause problems elsewhere.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Thu Nov 30, 2006 8:04 am    Post subject: Reply with quote

well, my question is why does the kernel need the headers in the first place
Back to top
View user's profile Send private message
andrewd18
Guru
Guru


Joined: 11 Apr 2004
Posts: 364
Location: Wisconsin, USA

PostPosted: Thu Nov 30, 2006 1:46 pm    Post subject: Reply with quote

batistuta wrote:
well, my question is why does the kernel need the headers in the first place

Because every piece of software is compiled against those, and without them working properly, nothing would work right.
_________________
Keep Your Toolchain Stable! - emwrap.sh

There's no place like ::1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum