I run Fedora 25 on my laptop,on a dedicated partition,other OSs on other partitions,and a strange thing happens:
On my Fedora 25 /boot/ directory I only have kernels 4.2.3 and 4.9.12 the most recent(and a rescue kernel not numbered).However Grub2 shows 3 entries for kernel 4.8.6,4.2.3,4.9.12.I tried to get rid of 4.8.6 but rpm -qi kernel or rpm -qi kernel-core only show kernels 4.2.3 and 4.9.12.The same using dnf.The kernel 4.8.6 does not appear on /boot directory nor with rpm,dnf or anything I tried.This is really a stealth kernel and I do not know where it stands,in the first place,to get rid of it.
When I choose the corresponding GRUB2 menu entry this kernel 4.8.6 shows that it is real.With uname --all it appears as the active kernel.
You've been hacked? :) :)
But seriously, look in /lib/modules and tell us what you see.
On Wed, Mar 1, 2017 at 5:50 PM, renaud.luca@gmail.com wrote:
I run Fedora 25 on my laptop,on a dedicated partition,other OSs on other partitions,and a strange thing happens:
On my Fedora 25 /boot/ directory I only have kernels 4.2.3 and 4.9.12 the most recent(and a rescue kernel not numbered).However Grub2 shows 3 entries for kernel 4.8.6,4.2.3,4.9.12.I tried to get rid of 4.8.6 but rpm -qi kernel or rpm -qi kernel-core only show kernels 4.2.3 and 4.9.12.The same using dnf.The kernel 4.8.6 does not appear on /boot directory nor with rpm,dnf or anything I tried.This is really a stealth kernel and I do not know where it stands,in the first place,to get rid of it.
When I choose the corresponding GRUB2 menu entry this kernel 4.8.6 shows that it is real.With uname --all it appears as the active kernel. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 03/01/2017 07:50 PM, renaud.luca@gmail.com wrote:
I run Fedora 25 on my laptop,on a dedicated partition,other OSs on other partitions,and a strange thing happens:
On my Fedora 25 /boot/ directory I only have kernels 4.2.3 and 4.9.12 the most recent(and a rescue kernel not numbered).However Grub2 shows 3 entries for kernel 4.8.6,4.2.3,4.9.12.I tried to get rid of 4.8.6 but rpm -qi kernel or rpm -qi kernel-core only show kernels 4.2.3 and 4.9.12.The same using dnf.The kernel 4.8.6 does not appear on /boot directory nor with rpm,dnf or anything I tried.This is really a stealth kernel and I do not know where it stands,in the first place,to get rid of it.
When I choose the corresponding GRUB2 menu entry this kernel 4.8.6 shows that it is real.With uname --all it appears as the active kernel. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
Now THIS is scary! I've been using Fedora since release 13-14, and I've never heard of this. I was in a state of semi-retirement regarding these mailing lists, but this has caught my attention. If I discover that this exists elsewhere? I'm gonna have to pull the plug on the three servers we have installed at work and go with something else. I'm hoping one of the developers chimes in with some guidance on this.
EGO II
On Thu, 02 Mar 2017 00:50:52 -0000 renaud.luca@gmail.com wrote:
I run Fedora 25 on my laptop,on a dedicated partition,other OSs on other partitions,and a strange thing happens:
On my Fedora 25 /boot/ directory I only have kernels 4.2.3 and 4.9.12 the most recent(and a rescue kernel not numbered).However Grub2 shows 3 entries for kernel 4.8.6,4.2.3,4.9.12.I tried to get rid of 4.8.6 but rpm -qi kernel or rpm -qi kernel-core only show kernels 4.2.3 and 4.9.12.The same using dnf.The kernel 4.8.6 does not appear on /boot directory nor with rpm,dnf or anything I tried.This is really a stealth kernel and I do not know where it stands,in the first place,to get rid of it.
When I choose the corresponding GRUB2 menu entry this kernel 4.8.6 shows that it is real.With uname --all it appears as the active kernel.
I think you must have interrupted a kernel update at some point; after install, but before completion. You could try rebuilding the rpm database; as root run rpm --rebuilddb
You could try the dnf equivalent of the yum package-cleanup commands. dnf repoquery --unsatisfied dnf repoquery --installonly to see what kinds of results you get. They are documented in man yum2dnf
If you go back through /var/log/dnf.log.*, is there any kind of report of irregularity when the 4.8.6 kernel is being installed?
Just some ideas.
On 03/02/17 08:50, renaud.luca@gmail.com wrote:
I run Fedora 25 on my laptop,on a dedicated partition,other OSs on other partitions,and a strange thing happens:
On my Fedora 25 /boot/ directory I only have kernels 4.2.3 and 4.9.12 the most recent(and a rescue kernel not numbered).However Grub2 shows 3 entries for kernel 4.8.6,4.2.3,4.9.12.I tried to get rid of 4.8.6 but rpm -qi kernel or rpm -qi kernel-core only show kernels 4.2.3 and 4.9.12.The same using dnf.The kernel 4.8.6 does not appear on /boot directory nor with rpm,dnf or anything I tried.This is really a stealth kernel and I do not know where it stands,in the first place,to get rid of it.
When I choose the corresponding GRUB2 menu entry this kernel 4.8.6 shows that it is real.With uname --all it appears as the active kernel.
If you cd to /boot/grub2 and do...
grep linux16 grub.cfg
what are the results?
On Wed, Mar 1, 2017 at 4:50 PM, renaud.luca@gmail.com wrote:
When I choose the corresponding GRUB2 menu entry this kernel 4.8.6 shows that it is real.With uname --all it appears as the active kernel.
Well, we could all guess at what's happening, or you could include your grub.cfg file. Maybe post it here: https://paste.fedoraproject.org/
On 03/01/2017 08:11 PM, Ed Greshko wrote:
If you cd to /boot/grub2 and do... grep linux16 grub.cfg what are the results?
That'll only work for BIOS systems. It's probably best to make a habit of something like:
grep linux16 /etc/grub2*.cfg
That'll search symlinks to both the BIOS and UEFI files. Only one should be present.
On 02.03.2017, renaud.luca@gmail.com wrote:
I run Fedora 25 on my laptop,on a dedicated partition,other OSs on other partitions,and a strange thing happens:
[....]
You can have as many kernels in grub.conf as you like. That does not mean they have to exist. So can you actually boot from your ghost kernel? Does it exist in /boot?
[lucaR@localhost ~]$ ls -ls /lib/modules/ total 8 4 drwxr-xr-x. 5 root root 4096 Nov 25 15:18 4.2.3-300.fc23.x86_64 4 drwxr-xr-x. 6 root root 4096 Feb 28 14:07 4.9.12-200.fc25.x86_64 [lucaR@localhost ~]$ ls -ls /boot/ total 113596 160 -rw-r--r--. 1 root root 160270 Oct 5 2015 config-4.2.3-300.fc23.x86_64 180 -rw-r--r--. 1 root root 180609 Feb 23 19:49 config-4.9.12-200.fc25.x86_64 4 drwxr-xr-x. 4 root root 4096 Nov 15 21:09 efi 184 -rw-r--r--. 1 root root 184380 Apr 5 2016 elf-memtest86+-5.01 4 drwxr-xr-x. 2 root root 4096 Nov 15 21:04 extlinux 4 drwxr-xr-x. 3 root root 4096 Dec 30 22:56 grub2 53056 -rw-------. 1 root root 54327576 Nov 25 00:54 initramfs-0-rescue-9dde38ff39b64e0e82848af594cd4f14.img 16936 -rw-------. 1 root root 17339434 Nov 25 15:19 initramfs-4.2.3-300.fc23.x86_64.img 17228 -rw-------. 1 root root 17641075 Feb 28 14:08 initramfs-4.9.12-200.fc25.x86_64.img 180 -rw-r--r--. 1 root root 182704 Apr 5 2016 memtest86+-5.01 3080 -rw-------. 1 root root 3152021 Oct 5 2015 System.map-4.2.3-300.fc23.x86_64 3368 -rw-------. 1 root root 3444767 Feb 23 19:49 System.map-4.9.12-200.fc25.x86_64 6636 -rwxr-xr-x. 1 root root 6794376 Nov 25 00:54 vmlinuz-0-rescue-9dde38ff39b64e0e82848af594cd4f14 5840 -rwxr-xr-x. 1 root root 5977368 Oct 5 2015 vmlinuz-4.2.3-300.fc23.x86_64 6736 -rwxr-xr-x. 1 root root 6894632 Feb 23 19:50 vmlinuz-4.9.12-200.fc25.x86_64 [lucaR@localhost ~]$ uname --all Linux localhost.localdomain 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux [lucaR@localhost ~]$
Den 2017-03-02 kl. 17:32, skrev renaud.luca@gmail.com:
[lucaR@localhost ~]$ ls -ls /lib/modules/ total 8 4 drwxr-xr-x. 5 root root 4096 Nov 25 15:18 4.2.3-300.fc23.x86_64 4 drwxr-xr-x. 6 root root 4096 Feb 28 14:07 4.9.12-200.fc25.x86_64 [lucaR@localhost ~]$ ls -ls /boot/ total 113596 160 -rw-r--r--. 1 root root 160270 Oct 5 2015 config-4.2.3-300.fc23.x86_64 180 -rw-r--r--. 1 root root 180609 Feb 23 19:49 config-4.9.12-200.fc25.x86_64 4 drwxr-xr-x. 4 root root 4096 Nov 15 21:09 efi 184 -rw-r--r--. 1 root root 184380 Apr 5 2016 elf-memtest86+-5.01 4 drwxr-xr-x. 2 root root 4096 Nov 15 21:04 extlinux 4 drwxr-xr-x. 3 root root 4096 Dec 30 22:56 grub2 53056 -rw-------. 1 root root 54327576 Nov 25 00:54 initramfs-0-rescue-9dde38ff39b64e0e82848af594cd4f14.img 16936 -rw-------. 1 root root 17339434 Nov 25 15:19 initramfs-4.2.3-300.fc23.x86_64.img 17228 -rw-------. 1 root root 17641075 Feb 28 14:08 initramfs-4.9.12-200.fc25.x86_64.img 180 -rw-r--r--. 1 root root 182704 Apr 5 2016 memtest86+-5.01 3080 -rw-------. 1 root root 3152021 Oct 5 2015 System.map-4.2.3-300.fc23.x86_64 3368 -rw-------. 1 root root 3444767 Feb 23 19:49 System.map-4.9.12-200.fc25.x86_64 6636 -rwxr-xr-x. 1 root root 6794376 Nov 25 00:54 vmlinuz-0-rescue-9dde38ff39b64e0e82848af594cd4f14 5840 -rwxr-xr-x. 1 root root 5977368 Oct 5 2015 vmlinuz-4.2.3-300.fc23.x86_64 6736 -rwxr-xr-x. 1 root root 6894632 Feb 23 19:50 vmlinuz-4.9.12-200.fc25.x86_64 [lucaR@localhost ~]$ uname --all Linux localhost.localdomain 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux [lucaR@localhost ~]$
Why do you have a Fedora 23 kernel? Did you upgrade from Fedora 23 to Fedora 25 and how? Or is it clean Fedora 25 install? I see that your newest kernel is probably installed 2017-02-28, so have you rebooted your computer since?
17228 -rw-------. 1 root root 17641075 Feb 28 14:08
initramfs-4.9.12-200.fc25.x86_64.img
I do have a Fedora 23 kernel because it is the only way to have a functional Ethernet interface (unless I build a legacy kernel from scratch on Fedora 25).These recent kernels 4.4.x,4.8.x,4.9.x don't recognize my wired network card (Toshiba Satellite laptop).Anyway the Fedora 23 kernel works without any visible problem. I did a clean install of Fedora 25,just after that I installed a Fedora 23 kernel with rpm -Uvh "Fedora23kernel".rpm,so I could have a functional Ethernet.
On Wed, Mar 1, 2017 at 7:01 PM, Eddie G. O'Connor Jr. eoconnor25@gmail.com wrote:
On 03/01/2017 07:50 PM, renaud.luca@gmail.com wrote:
I run Fedora 25 on my laptop,on a dedicated partition,other OSs on other partitions,and a strange thing happens:
On my Fedora 25 /boot/ directory I only have kernels 4.2.3 and 4.9.12 the most recent(and a rescue kernel not numbered).However Grub2 shows 3 entries for kernel 4.8.6,4.2.3,4.9.12.I tried to get rid of 4.8.6 but rpm -qi kernel or rpm -qi kernel-core only show kernels 4.2.3 and 4.9.12.The same using dnf.The kernel 4.8.6 does not appear on /boot directory nor with rpm,dnf or anything I tried.This is really a stealth kernel and I do not know where it stands,in the first place,to get rid of it.
When I choose the corresponding GRUB2 menu entry this kernel 4.8.6 shows that it is real.With uname --all it appears as the active kernel. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
Now THIS is scary! I've been using Fedora since release 13-14, and I've never heard of this. I was in a state of semi-retirement regarding these mailing lists, but this has caught my attention. If I discover that this exists elsewhere? I'm gonna have to pull the plug on the three servers we have installed at work and go with something else. I'm hoping one of the developers chimes in with some guidance on this.
EGO II
Did you see the 2 smilies? I was just poking some fun into the mystery. That why I said: But seriously, look in /lib/modules and tell us what you see. The OP has not responded yet.
On 03/03/17 00:32, renaud.luca@gmail.com wrote:
[lucaR@localhost ~]$ ls -ls /lib/modules/ total 8 4 drwxr-xr-x. 5 root root 4096 Nov 25 15:18 4.2.3-300.fc23.x86_64 4 drwxr-xr-x. 6 root root 4096 Feb 28 14:07 4.9.12-200.fc25.x86_64 [lucaR@localhost ~]$ ls -ls /boot/ total 113596 160 -rw-r--r--. 1 root root 160270 Oct 5 2015 config-4.2.3-300.fc23.x86_64 180 -rw-r--r--. 1 root root 180609 Feb 23 19:49 config-4.9.12-200.fc25.x86_64 4 drwxr-xr-x. 4 root root 4096 Nov 15 21:09 efi 184 -rw-r--r--. 1 root root 184380 Apr 5 2016 elf-memtest86+-5.01 4 drwxr-xr-x. 2 root root 4096 Nov 15 21:04 extlinux 4 drwxr-xr-x. 3 root root 4096 Dec 30 22:56 grub2 53056 -rw-------. 1 root root 54327576 Nov 25 00:54 initramfs-0-rescue-9dde38ff39b64e0e82848af594cd4f14.img 16936 -rw-------. 1 root root 17339434 Nov 25 15:19 initramfs-4.2.3-300.fc23.x86_64.img 17228 -rw-------. 1 root root 17641075 Feb 28 14:08 initramfs-4.9.12-200.fc25.x86_64.img 180 -rw-r--r--. 1 root root 182704 Apr 5 2016 memtest86+-5.01 3080 -rw-------. 1 root root 3152021 Oct 5 2015 System.map-4.2.3-300.fc23.x86_64 3368 -rw-------. 1 root root 3444767 Feb 23 19:49 System.map-4.9.12-200.fc25.x86_64 6636 -rwxr-xr-x. 1 root root 6794376 Nov 25 00:54 vmlinuz-0-rescue-9dde38ff39b64e0e82848af594cd4f14 5840 -rwxr-xr-x. 1 root root 5977368 Oct 5 2015 vmlinuz-4.2.3-300.fc23.x86_64 6736 -rwxr-xr-x. 1 root root 6894632 Feb 23 19:50 vmlinuz-4.9.12-200.fc25.x86_64 [lucaR@localhost ~]$ uname --all Linux localhost.localdomain 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
We really need to see the contents of your grub.cfg as well as the output of df to show your mounted partitions.
On 02.03.2017 19:18, renaud.luca@gmail.com wrote:
I do have a Fedora 23 kernel because it is the only way to have a functional Ethernet interface (unless I build a legacy kernel from scratch on Fedora 25).These recent kernels 4.4.x,4.8.x,4.9.x don't recognize my wired network card (Toshiba Satellite laptop).Anyway the Fedora 23 kernel works without any visible problem.
[...]
Is it "Qualcomm Atheros AR8162 Fast Ethernet"?
Would you mind paste here the output of command: $ lspci -knn -d ::0200
On 03/02/2017 07:18 PM, renaud.luca@gmail.com wrote:
I do have a Fedora 23 kernel because it is the only way to have a functional Ethernet interface (unless I build a legacy kernel from scratch on Fedora 25).These recent kernels 4.4.x,4.8.x,4.9.x don't recognize my wired network card (Toshiba Satellite laptop).Anyway the Fedora 23 kernel works without any visible problem. I did a clean install of Fedora 25,just after that I installed a Fedora 23 kernel with rpm -Uvh "Fedora23kernel".rpm,so I could have a functional Ethernet.
Is ethernet now working? You are apparently running a f25 kernel which is not installed anymore, as you have a newer f25 one (in addition to the f23 one).
There is nothing particularly crazy about not having on the disk the kernel you are running. Of course you can have a problem if you plug a device that needs loading a new module, because it will not be found.
I suppose you got there with some rpm -i, rpm -U, rpm -e combination after your last boot. (how is your uptime?)