Web lists-archives.com

Re: Kernel problem?




David Wright composed on 2018-01-10 15:12 (UTC-0600):

> On Tue 09 Jan 2018 at 18:18:27 (-0500), Felix Miata wrote:

>> Here's a portion of /boot/ on one I just updated minutes ago:

>> lrwxrwxrwx  1       26 Jan  9 17:47 initrd -> initrd.img-4.9.0-5-686-pae
>> lrwxrwxrwx  1       26 Jan  9 17:47 initrd-cur -> initrd.img-4.9.0-5-686-pae
>> -rw-r--r--  1 17388979 Jan  9 17:45 initrd.img-4.9.0-4-686-pae
>> -rw-r--r--  1 17067283 Oct 21 03:00 .initrd.img-4.9.0-4-686-pae1
>> -rw-r--r--  1 17388194 Oct 21 04:51 .initrd.img-4.9.0-4-686-pae2
>> -rw-r--r--  1 17388979 Jan  9 17:45 .initrd.img-4.9.0-4-686-pae3
>> -rw-r--r--  1 17392772 Jan  9 17:44 initrd.img-4.9.0-5-686-pae
>> -rw-r--r--  1 17392772 Jan  9 17:44 .initrd.img-4.9.0-5-686-pae1
>> lrwxrwxrwx  1       26 Oct 21 03:18 initrd-prv -> initrd.img-4.9.0-4-686-pae
>> lrwxrwxrwx  1       23 Jan  9 17:47 vmlinuz -> vmlinuz-4.9.0-5-686-pae
>> -rw-r--r--  1  3643920 Dec 22 19:39 vmlinuz-4.9.0-4-686-pae
>> -rw-r--r--  1  3645296 Jan  4 06:12 vmlinuz-4.9.0-5-686-pae
>> lrwxrwxrwx  1       23 Jan  9 17:46 vmlinuz-cur -> vmlinuz-4.9.0-5-686-pae
>> lrwxrwxrwx  1       23 Oct 21 03:18 vmlinuz-prv -> vmlinuz-4.9.0-4-686-pae

>> Note the additional symlinks, and the in-place initrd backups.

> I understand keeping backups, but what are the symlinks for?                    

Multiboot (menu.lsts and grub prompts). Installations retaining more than two
kernels have -prv2, -prv3, etc., and occasionally, -tst or -orig.

> Your backups are already renamed with suffixes, and also hidden
> with dots.

>> If what happened
>> to you happened to me, and I was unable to rebuild the 4.9.0.5 initrd or
>> anything else to solve the problem, I would purge the 4.9.0.5 kernel, delete the
>> -cur symlinks, and copy the -prv symlinks back to vmlinuz and initrd. If and
>> when an update brings a 4.9.0.6 or newer kernel, the 4.9.0.4 would be retained,
>> as 4.9.0.5 would have if it hadn't been purged.

> They're actually 4.9.0-4 and 4.9.0-5.

Dots, underscores and hyphens in package versions exist mainly to bloat
opportunities for human errors and break alphanumeric sorting in file manager
displays. :-)

In the case of stable Debian release kernel versioning at least, the .0 in both
seem to be entirely superfluous. Does any other integer ever appear in place of
that 0? Upstream according to https://www.kernel.org/ 4.9 is at 4.9.75.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/