View previous topic :: View next topic |
Author |
Message |
zombics n00b
Joined: 28 Feb 2005 Posts: 30 Location: israel
|
Posted: Tue Nov 28, 2006 1:11 pm Post subject: downgrade kernel? |
|
|
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 |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Tue Nov 28, 2006 1:21 pm Post subject: |
|
|
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 |
|
|
zombics n00b
Joined: 28 Feb 2005 Posts: 30 Location: israel
|
Posted: Tue Nov 28, 2006 1:44 pm Post subject: |
|
|
yes i know that, all i was asking is how do i emerge the older version? |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Tue Nov 28, 2006 2:00 pm Post subject: |
|
|
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 |
|
|
zombics n00b
Joined: 28 Feb 2005 Posts: 30 Location: israel
|
Posted: Tue Nov 28, 2006 3:57 pm Post subject: |
|
|
ok i meneged 2 do it.
i emerge it with =gentoo-soures-ver and unmasked it.
thx for your help |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Wed Nov 29, 2006 6:25 am Post subject: |
|
|
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 |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Wed Nov 29, 2006 8:13 am Post subject: |
|
|
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 |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Wed Nov 29, 2006 8:40 am Post subject: |
|
|
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 |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Wed Nov 29, 2006 10:47 am Post subject: |
|
|
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 |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Thu Nov 30, 2006 5:41 am Post subject: |
|
|
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 |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Thu Nov 30, 2006 8:04 am Post subject: |
|
|
well, my question is why does the kernel need the headers in the first place |
|
Back to top |
|
|
andrewd18 Guru
Joined: 11 Apr 2004 Posts: 364 Location: Wisconsin, USA
|
Posted: Thu Nov 30, 2006 1:46 pm Post subject: |
|
|
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 |
|
|
|