Re: [opensuse] Strange behaviour of ACPI on laptop
![](https://seccdn.libravatar.org/avatar/24bb2e844b59ac313317505c0d622e6c.jpg?s=120&d=mm&r=g)
Cristea Bogdan wrote:
After downloading the rpm, use yast to install sources in the default location /usr/src. Change to the installation directory (e.g. usr/src/linux-2.6.21-8) and execute the following commands as root:
make menuconfig (or xconfig) //here you should change some options in oder to match your hardware config.
But first I think I need to modify grub so I can switch back to the "old" kernel. This point I think I can manage. Secondly, I would prefer to use the old kernel configuration as a starting point for the configuration of the new kernel. Can I somehow "export" the configuration of the old kernel and use it as a starting point for the new kernel? best regards Torben -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/7cf94e20656d4d219ee2a3a5380fe929.jpg?s=120&d=mm&r=g)
torben wrote:
[...] Secondly, I would prefer to use the old kernel configuration as a starting point for the configuration of the new kernel. Can I somehow "export" the configuration of the old kernel and use it as a starting point for the new kernel?
Yes. With SuSE kernel sources, you can just run "make cloneconfig" in the new kernel source tree and this will clone the configuration of the currently running kernel. With vanilla kernel sources (however, it works of course also with SuSE kernel sources), you can copy the existing old configuration (e.g. /boot/config-2.6.xyz or /usr/src/oldkernel/.config) to a file called .config in the new kernel source tree and then run "make oldconfig". Both approaches do not use a build directory, but you might not want to use one anyway... HTH, Th. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Thomas Hertweck
-
torben