Re: Oracle Java 16.0.1 CPU usage 100% after kernel update to 4.19.0-17-amd64
On Wed 07 Jul 2021 at 16:05:13 (-0400), Polyna-Maude Racicot-Summerside wrote:
> On 2021-07-07 2:47 p.m., Andrei POPESCU wrote:
> > On Mi, 07 iul 21, 09:35:17, Polyna-Maude Racicot-Summerside wrote:
> >>
> >> Yes you can downgrand
> >> apt-get downlaod linux-image-4.19.0-16-amd64
> >> dpkg -i linux-image-4.19.0.16-amd64.deb
> >
> > Why so complicated?
> >
> > If APT can download the package it can also install it (by calling dpkg
> > itself, of course).
> >
> You could do so...
> apt-get reinstall linux-image-4.19.0-16-amd64
> and it will be back as default in grub.
Apart from being an extravagant way to try reordering grub.cfg,
of course, it doesn't, because 17 > 16:
# apt-get reinstall linux-image-4.19.0-16-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 48.4 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 linux-image-4.19.0-16-amd64 amd64 4.19.181-1 [48.4 MB]
Fetched 48.4 MB in 4s (10.8 MB/s)
(Reading database ... 308149 files and directories currently installed.)
Preparing to unpack .../linux-image-4.19.0-16-amd64_4.19.181-1_amd64.deb ...
Unpacking linux-image-4.19.0-16-amd64 (4.19.181-1) over (4.19.181-1) ...
Setting up linux-image-4.19.0-16-amd64 (4.19.181-1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-16-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.0-17-amd64
Found initrd image: /boot/initrd.img-4.19.0-17-amd64
Found linux image: /boot/vmlinuz-4.19.0-16-amd64
Found initrd image: /boot/initrd.img-4.19.0-16-amd64
Found Debian GNU/Linux 11 (bullseye) on /dev/sda5
done
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
#
and so:
$ grep Loading /boot/grub/grub.cfg
echo 'Loading Linux 4.19.0-17-amd64 ...'
echo 'Loading initial ramdisk ...'
echo 'Loading Linux 4.19.0-17-amd64 ...'
echo 'Loading initial ramdisk ...'
echo 'Loading Linux 4.19.0-17-amd64 ...'
echo 'Loading initial ramdisk ...'
echo 'Loading Linux 4.19.0-16-amd64 ...'
echo 'Loading initial ramdisk ...'
echo 'Loading Linux 4.19.0-16-amd64 ...'
echo 'Loading initial ramdisk ...'
$
Cheers,
David.
Reply to: