[opensuse-autoinstall] Specify kernel version
Hi! We are running in to some problems with our autoyast installs. The problem is not directly connected to autoyast, but to the kernel version beeing selected via autoyast. One of out most important piece of software are having problems with the newest kernel from Novell, kernel-default-2.6.32.46, and fails to start. With the previous version of the kernel, kernel-default-2.6.32.45 everything works as expected. Since we can not halt installation of new servers until the software is fixed, we need to automatically choose kernel-default-2.6.32.45 during installation. I have looked through the autoyast documentation and I can see that I'm able to select a kernel using <kernel>kernel-default</kernel> in the software selection. I have tried to specify the kernel version aswell, but by doing this autoyast selects a different kernel, for example kernel-ec2. Is there any way to specify the kernel version? I tried with: <kernel>kernel-default-2.6.32.45</kernel> and <kernel>kernel-default-2.6.32.45-0.3.2.1</kernel>, but with luck.. All help would be greatly appreciated! Best regards, Alexander Holte-Davidsen -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
on Friday 21 October 2011 Alexander Holte-Davidsen wrote:
One of out most important piece of software are having problems with the newest kernel from Novell, kernel-default-2.6.32.46, and fails to start. With the previous version of the kernel, kernel-default-2.6.32.45 everything works as expected.
if that's not a problem in your software but in the kernel update, please create a bugreport for that.
Since we can not halt installation of new servers until the software is fixed, we need to automatically choose kernel-default-2.6.32.45 during installation. I have looked through the autoyast documentation and I can see that I'm able to select a kernel using
I'm afraid that's not possible. You can tell zypper to install a specific version by doing "zypper in kernel-default-2.6.32.45" but autoyast itself is not able to deal with version numbers in the <package> description. Maybe you can try to install the other kernel somehow with a chroot-script but that's the only (quite ugly) solution that comes to my mind. I'm not sure if a file like: cat /etc/zypp/locks type: package match_type: glob case_sensitive: on solvable_name: kernel-default-2.6.32.46 would work in the inst-sys Worth a try maybe. There is no officially supported way in autoyast to achieve what you need. -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net listening to: "Der Galaktische Zoo" by Stillste Stund -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Is there any way to specify the kernel version?
I tried with:
<kernel>kernel-default-2.6.32.45</kernel> and <kernel>kernel-default-2.6.32.45-0.3.2.1</kernel>, but with luck..
If you use your own repo, you may try to remove kernels newer than the one you need, so 2.6.32.45 will be installed. br, Miki -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On Fri, Oct 21, 2011 at 07:01:49PM +0100, Magyari, Miklos wrote:
If you use your own repo, you may try to remove kernels newer than the one you need, so 2.6.32.45 will be installed.
That would be my suggestion. This is one reason we don't do auto updates via smt into our install repo. With a lot of the EDA tools we support being very touchy with updates, we have smt repos that we copy in the updated stuff when/if needed and tested, into our own updates path. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Peter: "Oh my God! Brian, there's a message in my Alphabits.. it says, 'oooooo'" Brian: "Peter, those are Cheerios!" -- Family Guy. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hi, Thanks to all of you for your replies and insight. I'm already disallowing kernel-updates via zypper, so already installed systems are not causing any problem - only newly deployed. I have sovled this, not in a good way, by removing the kernel-packages that does not work from my installation repository. As a few of you suggested as a solution. It solves the problem, and I believe it's better than reinstalling the kernel using init-script or similar (at least a lot less hacking ;)), although I hoped I could solve this directly in autoyast :) Again, thanks for your reply and valuable insight! Have a nice weekend! / Alexander On Fri, Oct 21, 2011 at 11:33 PM, Mike Marion <mmarion@qualcomm.com> wrote:
On Fri, Oct 21, 2011 at 07:01:49PM +0100, Magyari, Miklos wrote:
If you use your own repo, you may try to remove kernels newer than the one you need, so 2.6.32.45 will be installed.
That would be my suggestion. This is one reason we don't do auto updates via smt into our install repo. With a lot of the EDA tools we support being very touchy with updates, we have smt repos that we copy in the updated stuff when/if needed and tested, into our own updates path.
-- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Peter: "Oh my God! Brian, there's a message in my Alphabits.. it says, 'oooooo'" Brian: "Peter, those are Cheerios!" -- Family Guy.
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
I assume that you can install the system and the installations works fine. In this case use a init-script to install the required kernel since at this stage you have full control over the system. Thus you can use zypper and an fix-repro which contains the required kernel or download the kernel and install via RPM . As Uwe mentioned you should look afterwards the kernel packages so they do not replaced from an update. Have a nice weekend Hajo -----Original Message----- From: Alexander Holte-Davidsen [mailto:alexander.davidsen@gmail.com] Sent: Friday, October 21, 2011 11:17 AM To: opensuse-autoinstall@opensuse.org Subject: [opensuse-autoinstall] Specify kernel version Hi! We are running in to some problems with our autoyast installs. The problem is not directly connected to autoyast, but to the kernel version beeing selected via autoyast. One of out most important piece of software are having problems with the newest kernel from Novell, kernel-default-2.6.32.46, and fails to start. With the previous version of the kernel, kernel-default-2.6.32.45 everything works as expected. Since we can not halt installation of new servers until the software is fixed, we need to automatically choose kernel-default-2.6.32.45 during installation. I have looked through the autoyast documentation and I can see that I'm able to select a kernel using <kernel>kernel-default</kernel> in the software selection. I have tried to specify the kernel version aswell, but by doing this autoyast selects a different kernel, for example kernel-ec2. Is there any way to specify the kernel version? I tried with: <kernel>kernel-default-2.6.32.45</kernel> and <kernel>kernel-default-2.6.32.45-0.3.2.1</kernel>, but with luck.. All help would be greatly appreciated! Best regards, Alexander Holte-Davidsen -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (5)
-
Alexander Holte-Davidsen
-
Hans-Joachim Ehlers
-
Magyari, Miklos
-
Mike Marion
-
Uwe Gansert