[opensuse] How can I stop Yast kernel updates from deleting /lib/modules for the old kernel?
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel. If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work. Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Chris, I think for the moment the best solution is to NOT let YAST or the UPDATER program do any updates that install or modify the kernel for ANY reason. Instead, note the version of the patch or kernel it wants to update and go download it manually then install it yourself with rpm -i rather than the default rpm -U that YAST and the updater program uses. I have tried with some success to use smart --gui and protected the current kernel and sources, etc and then let *it* do an update but I really prefer now to take no chances and do kernel updates manually. This has the additional advantage of leaving the old kernel alone in the menu in GRUB where once you are comfortable with whatever changes were made, you can use YAST to edit the grub menu yourself. Richard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2008-04-05 at 17:12 -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
It's not possible. You have to download the new kernel manually, and install it manually (rpm - -i <rpm>). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFH+AuotTMYHG2NR9URAvvzAJ45417N2IaEAOgmhXqdJk9MzMXi+ACfZr89 7kqNY9YZBxof6kjaw0S1gjE= =IDRA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/04/05 17:12 (GMT-0600) Chris Worley apparently typed:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel. ... Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html -- "Either the constitution controls the judges, or the judges rewrite the constitution." Judge Robert Bork Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Felix Miata wrote:
On 2008/04/05 17:12 (GMT-0600) Chris Worley apparently typed:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel. ... Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
Sure, and get your system "blistered!" No thanks.....been there enough times I don't need it again. Fred -- "Security" in Windows comes from patching a sieve. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/04/05 20:01 (GMT-0400) Fred A. Miller apparently typed:
Felix Miata wrote:
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
Sure, and get your system "blistered!" No thanks.....been there enough times I don't need it again.
I don't know anything about "blistered", but other than an occasional test of zypper, I've not used anything but Smart for updating since before 10.3 was released, and I have over a dozen 10.3 & Factory installations I've been frequently updating in that time. -- "Either the constitution controls the judges, or the judges rewrite the constitution." Judge Robert Bork Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Felix Miata wrote:
On 2008/04/05 20:01 (GMT-0400) Fred A. Miller apparently typed:
Felix Miata wrote:
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
Sure, and get your system "blistered!" No thanks.....been there enough times I don't need it again.
I don't know anything about "blistered", but other than an occasional test of zypper, I've not used anything but Smart for updating since before 10.3 was released, and I have over a dozen 10.3 & Factory installations I've been frequently updating in that time.
Smart "killed' my 10.3 64-bit system not that long ago......2nd time Smart has "killed" a perfectly running production system. I'll stay with YOU where that doesn't happen. Fred -- "Security" in Windows comes from patching a sieve. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 2008-04-06 02:18, Felix Miata wrote:
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
Sure, and get your system "blistered!" No thanks.....been there enough times I don't need it again.
I don't know anything about "blistered", but other than an occasional test of zypper, I've not used anything but Smart for updating since before 10.3 was released, and I have over a dozen 10.3 & Factory installations I've been frequently updating in that time.
It really does screw with x86_64 systems. See http://lists.labix.org/pipermail/smart-labix.org/2008-March/003431.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt wrote:
On Sunday 2008-04-06 02:18, Felix Miata wrote:
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
Sure, and get your system "blistered!" No thanks.....been there enough times I don't need it again.
I don't know anything about "blistered", but other than an occasional test of zypper, I've not used anything but Smart for updating since before 10.3 was released, and I have over a dozen 10.3 & Factory installations I've been frequently updating in that time.
It really does screw with x86_64 systems. See http://lists.labix.org/pipermail/smart-labix.org/2008-March/003431.html
'Sure does! I forgot, it also "killed" the 1st 64-bit setup I had on my laptop. I should have know better than to use Smart as it had killed a 32-bit install as well last year. I won't use it again, nor install it on any of the boxen I take care of. 'Done - no more! Fred -- "Security" in Windows comes from patching a sieve. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, Apr 05, 2008 at 07:34:52PM -0400, Felix Miata wrote:
On 2008/04/05 17:12 (GMT-0600) Chris Worley apparently typed:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel. ... Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
This is totally unrelated to above problem, smart will break it the same way. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner schreef:
On Sat, Apr 05, 2008 at 07:34:52PM -0400, Felix Miata wrote:
On 2008/04/05 17:12 (GMT-0600) Chris Worley apparently typed:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
...
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
This is totally unrelated to above problem, smart will break it the same way.
Ciao, Marcus
This is indeed very annoying.... -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oddball a écrit :
This is indeed very annoying....
kernel updates are advertised by the updater, at the moment it's easy to make a backup copy of /lib/modules... jdd -- Jean-Daniel Dodin Président du CULTe www.culte.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd sur free schreef:
Oddball a écrit :
This is indeed very annoying....
kernel updates are advertised by the updater, at the moment it's easy to make a backup copy of /lib/modules...
jdd
Not in factory updates. Besides, i think we donot ask for to break modules, and when it happened it is too late to make a back-up. -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oddball a écrit :
Not in factory updates.
when you use factory, you are aware that you can have odd things to do :-)
Besides, i think we donot ask for to break modules, and when it happened it is too late to make a back-up.
do it right now :-) I don't pretend it's the better way, but it's a provisional solution :-) jdd -- Jean-Daniel Dodin Président du CULTe www.culte.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd sur free schreef:
Oddball a écrit :
Not in factory updates.
when you use factory, you are aware that you can have odd things to do :-)
Besides, i think we donot ask for to break modules, and when it happened it is too late to make a back-up.
do it right now :-)
I don't pretend it's the better way, but it's a provisional solution :-)
jdd
For the one that works that is a good idea, the other kernel is lost. But np, is good temporary solution... ;) -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 2008-04-06 14:46, Marcus Meissner wrote:
On Sat, Apr 05, 2008 at 07:34:52PM -0400, Felix Miata wrote:
On 2008/04/05 17:12 (GMT-0600) Chris Worley apparently typed:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel. ... Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
This is totally unrelated to above problem, smart will break it the same way.
smart flag --set multi-version kernel-default -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/04/06 09:41 (GMT-0400) Jan Engelhardt apparently typed:
On Sunday 2008-04-06 14:46, Marcus Meissner wrote:
On Sat, Apr 05, 2008 at 07:34:52PM -0400, Felix Miata wrote:
On 2008/04/05 17:12 (GMT-0600) Chris Worley apparently typed:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel. ... Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
This is totally unrelated to above problem, smart will break it the same way.
smart flag --set multi-version kernel-default
If Marcus had bothered to read the URL he quoted he should have noticed another option, which is what I use, and why I provided that reference instead of an otherwise empty suggestion: smart flag --set lock kernel-default I pick and choose when to install a kernel manually. -- "Either the constitution controls the judges, or the judges rewrite the constitution." Judge Robert Bork Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Felix Miata schreef:
On 2008/04/06 09:41 (GMT-0400) Jan Engelhardt apparently typed:
On Sunday 2008-04-06 14:46, Marcus Meissner wrote:
On Sat, Apr 05, 2008 at 07:34:52PM -0400, Felix Miata wrote:
On 2008/04/05 17:12 (GMT-0600) Chris Worley apparently typed:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
...
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
This is totally unrelated to above problem, smart will break it the same way.
smart flag --set multi-version kernel-default
If Marcus had bothered to read the URL he quoted he should have noticed another option, which is what I use, and why I provided that reference instead of an otherwise empty suggestion:
smart flag --set lock kernel-default
I pick and choose when to install a kernel manually.
These are both good options thnx ;) -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 2008-04-06 16:03, Felix Miata wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel. ... Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.html
This is totally unrelated to above problem, smart will break it the same way.
smart flag --set multi-version kernel-default
If Marcus had bothered to read the URL he quoted he should have noticed another option, which is what I use, and why I provided that reference instead of an otherwise empty suggestion:
smart flag --set lock kernel-default
I pick and choose when to install a kernel manually.
0. smart flag --set lock kernel-default 1. smart download kernel-default 2. rpm -ihv kernel-default vs. 0. smart flag --set multi-version kernel-default 1. smart install kernel-default that's one step shorter! I just remembered this multi-version thing because it occurred to me that I had lots of kernel-sources floating around time and again. Which is kinda bleak, smart should come with multi-version kernel-* NOT multi-version kernel-source It's a 150 MB difference per installed package dammit! Anyway... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt schreef:
0. smart flag --set lock kernel-default 1. smart download kernel-default 2. rpm -ihv kernel-default
vs.
0. smart flag --set multi-version kernel-default 1. smart install kernel-default
that's one step shorter! I just remembered this multi-version thing because it occurred to me that I had lots of kernel-sources floating around time and again. Which is kinda bleak, smart should come with multi-version kernel-* NOT multi-version kernel-source It's a 150 MB difference per installed package dammit! Anyway...
Sorry, now i lost it.. Do you mean the 'multi version-kernel-*' setting does not work? -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/04/06 17:38 (GMT+0200) Jan Engelhardt apparently typed:
On Sunday 2008-04-06 16:03, Felix Miata wrote:
smart flag --set lock kernel-default
I pick and choose when to install a kernel manually.
0. smart flag --set lock kernel-default 1. smart download kernel-default 2. rpm -ihv kernel-default
vs.
0. smart flag --set multi-version kernel-default 1. smart install kernel-default
that's one step shorter!
Yes, and after 6 months of less steps, you can have six month's worth of installed kernels, and have many steps to remove many of them when you want your space back. :-p That's why I pick and choose, and typically remove an older one or two at the same time I install a new one. :-) -- "Either the constitution controls the judges, or the judges rewrite the constitution." Judge Robert Bork Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 7 Apr 2008 01:08:33 Jan Engelhardt wrote:
On Sunday 2008-04-06 16:03, Felix Miata wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
...
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.htm l
This is totally unrelated to above problem, smart will break it the same way.
smart flag --set multi-version kernel-default
If Marcus had bothered to read the URL he quoted he should have noticed another option, which is what I use, and why I provided that reference instead of an otherwise empty suggestion:
smart flag --set lock kernel-default
I pick and choose when to install a kernel manually.
0. smart flag --set lock kernel-default 1. smart download kernel-default 2. rpm -ihv kernel-default
vs.
0. smart flag --set multi-version kernel-default 1. smart install kernel-default
that's one step shorter! I just remembered this multi-version thing because it occurred to me that I had lots of kernel-sources floating around time and again. Which is kinda bleak, smart should come with multi-version kernel-* NOT multi-version kernel-source It's a 150 MB difference per installed package dammit! Anyway...
This is (probably the only) one advantage that yum has over smart or yast. You can tell it how many previous versions of the kernel to keep by a simple setting in the config file. If the kernel sources are installed it will automatically keep them in sync with the installed kernel versions. From that point of view, yum gets it right. Aren't YaST repositories basically the same as yum repositories? Try using Yum to manage kernel updates instead. As a former Fedora user, I never had a problem with yum breaking the system. Cheers, Rodney. -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== One of the oldest problems puzzled over in the Talmud is: "Why did God create goyim?" The generally accepted answer is "________somebody has to buy retail." -- Arthur Naiman, "Every Goy's Guide to Yiddish"
On Sat, Apr 05, 2008 at 05:12:04PM -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Thats why you should reboot after installing the update.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Have you really seen such cases or are you speculating? Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner schreef:
On Sat, Apr 05, 2008 at 05:12:04PM -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Thats why you should reboot after installing the update.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Have you really seen such cases or are you speculating?
Ciao, Marcus
I have one right now. About six modules do not work, and network is one of them also. -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oddball schreef:
Marcus Meissner schreef:
On Sat, Apr 05, 2008 at 05:12:04PM -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Thats why you should reboot after installing the update.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Have you really seen such cases or are you speculating?
Ciao, Marcus
I have one right now. About six modules do not work, and network is one of them also.
Offcourse i have several kernels that work ok, and did not loose their modules... only now i lost one, so this is happening... -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Apr 06, 2008 at 07:01:04PM +0200, Oddball wrote:
Oddball schreef:
Marcus Meissner schreef:
On Sat, Apr 05, 2008 at 05:12:04PM -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Thats why you should reboot after installing the update.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Have you really seen such cases or are you speculating?
Ciao, Marcus
I have one right now. About six modules do not work, and network is one of them also.
Offcourse i have several kernels that work ok, and did not loose their modules... only now i lost one, so this is happening...
So what kernel did you upgrade to? To one of our regular kernel updates? Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner schreef:
On Sun, Apr 06, 2008 at 07:01:04PM +0200, Oddball wrote:
Oddball schreef:
Marcus Meissner schreef:
On Sat, Apr 05, 2008 at 05:12:04PM -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Thats why you should reboot after installing the update.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Have you really seen such cases or are you speculating?
Ciao, Marcus
I have one right now. About six modules do not work, and network is one of them also.
Offcourse i have several kernels that work ok, and did not loose their modules... only now i lost one, so this is happening...
So what kernel did you upgrade to?
To one of our regular kernel updates?
Ciao, Marcus
linux-2.6.25-rc7-git2-11-default is the one that lost, in favor of: 2.6.25-rc8-12. It is not that it is a big deal, because i am not without running kernelmodules, just that the other one is useless now...i have a naked kernel that now only uses space ;) Positive, or not, is that several bugs that were gone are back, and others are gone, for the moment, but that is not only because of the kernel.... -- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Apr 6, 2008 at 10:14 AM, Marcus Meissner
On Sat, Apr 05, 2008 at 05:12:04PM -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Thats why you should reboot after installing the update.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Have you really seen such cases or are you speculating?
Yes. It gets the initrd wrong, always. I'd rather just reboot to the old system and fix it manually... but the old kernel's modules are gone and that doesn't boot either. So I wind up booting to single user and fixing it that way. Then, once up, if the kernel doesn't work for my hardware, I can't back down easily. Chris
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Chris Worley schreef:
On Sun, Apr 6, 2008 at 10:14 AM, Marcus Meissner
wrote: On Sat, Apr 05, 2008 at 05:12:04PM -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Thats why you should reboot after installing the update.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Have you really seen such cases or are you speculating?
Yes. It gets the initrd wrong, always. I'd rather just reboot to the old system and fix it manually... but the old kernel's modules are gone and that doesn't boot either. So I wind up booting to single user and fixing it that way.
Then, once up, if the kernel doesn't work for my hardware, I can't back down easily.
Chris
Ciao, Marcus
You're right about the initrd, that is mostly, but now the modules are gone, and that is new.
-- Enjoy your time around, Oddball (Now or never...) OS: Linux 2.6.25-rc8-12-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) Alpha3 KDE: 4.0.3 (KDE 4.0.3) "release 3.2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2008-04-05 at 17:12 -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Chris why don't you have a backup of your working kernel? After a kernel update I run it for a while and after I am happy I make a backup so I'm ready for the next. If you want to use this approach the following may save you some time. To save even more time just place on the clipboard the version number like 2.6.22.17-0.1 and then use the replace function of an editor and then few copy and paste in xterm and you are done. 1. Go to the boot directory #cd /boot 2. Find out the name of the running kernel #uname -r 3. make backup copy of your kernel and System.map #cp vmlinuz-2.6.22.17-0.1-default vmlinuz-2.6.22.17-0.1-bak #cp System.map-2.6.22.17-0.1-default System.map-2.6.22.17-0.1-bak #cp -r /lib/modules/2.6.22.17-0.1-default /lib/modules/2.6.22.17-0.1-bak 4. create initrd #mkinitrd 5. Check if new initrd was created: #ls and look for initrd-2.6.22.17-0.1-bak 6. Backup GRUB menu #cp -r /boot/grub/menu.lst /boot/grub/menu.lst_bak 7. edit grub menu # kwrite grub/menu.lst 8. Add new entry at the end of the file. You can copy the original entry for SUSE LINUX 10.2 and do some changes; title BACKUP openSUSE 10.3 - 2.6.22.17-0.1 root (hd0,0) kernel /vmlinuz-2.6.22.17-0.1-bak root=/dev/sda6 vga=0x346 resume=/dev/sda5 splash=silent showopts initrd /initrd-2.6.22.17-0.1-defaultbak 9. Test it -=terry(Denver)=- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (11)
-
Carlos E. R.
-
Chris Worley
-
Felix Miata
-
Fred A. Miller
-
Jan Engelhardt
-
jdd sur free
-
Marcus Meissner
-
Oddball
-
Richard Creighton
-
Rodney Baker
-
Teruel de Campo MD