Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-29 Thread Todd Zullinger
Sreyan Chakravarty wrote: > On Mon, Jul 27, 2020 at 7:47 PM stan via users < > users@lists.fedoraproject.org> wrote: > >> rpm keeps track of low level details and is the authority for packages >> on the system, dnf provides abstraction to make package handling easier >> for the user (packagekit ta

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-29 Thread Todd Zullinger
Hi, I'm mostly replying to Sreyan's questions, hopefully adding to what you've said (much) more succinctly than I, Samuel. I may have taken a few tangents along the way. Samuel Sieb wrote: > On 7/29/20 2:57 PM, Sreyan Chakravarty wrote: >> I tried: >> $ dnf repoquery --installed kernel*-5.6.* >>

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-29 Thread Samuel Sieb
On 7/29/20 2:57 PM, Sreyan Chakravarty wrote: I tried: $ dnf repoquery --installed kernel*-5.6.* kernel-0:5.6.10-300.fc32.x86_64 Where is the extra 0 in " kernel-0 " coming from ? If you see the rpm -qa output the zero is not present there: That seems like an odd command, but that "0:" is the

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-29 Thread Sreyan Chakravarty
On Mon, Jul 27, 2020 at 7:47 PM stan via users < users@lists.fedoraproject.org> wrote: > rpm keeps track of low level details and is the authority for packages > on the system, dnf provides abstraction to make package handling easier > for the user (packagekit takes that abstraction even further).

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-29 Thread Sreyan Chakravarty
On Mon, Jul 27, 2020 at 8:09 PM Todd Zullinger wrote: > > The subsection "NEVRA Matching" lists the forms dnf accepts. > For kernel*-5.7.*, we're matching the name-[epoch:]version > form (the '[epoch:]' portion means it's optional to provide > the Epoch portion (that's the E in NEVRA¹). > > So ke

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Samuel Sieb
On 7/27/20 12:00 PM, Sreyan Chakravarty wrote: On Mon, Jul 27, 2020 at 11:05 PM Samuel Sieb > wrote: I've had that message for a very long time on many computers.  It hasn't had any effect and I haven't bothered investigating what it's trying to load. We

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Sreyan Chakravarty
On Mon, Jul 27, 2020 at 11:05 PM Samuel Sieb wrote: > I've had that message for a very long time on many computers. It hasn't > had any effect and I haven't bothered investigating what it's trying to > load. > Well have tried accessing the /boot/efi directory on computers that you did receive t

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Samuel Sieb
On 7/27/20 7:17 AM, stan via users wrote: On Mon, 27 Jul 2020 17:46:30 +0530 Sreyan Chakravarty wrote: Did the trick perfectly. Only have 2 stable 5.6 kernels now. Great! What is the difference between dnf and rpm ? When do I use dnf over rpm and vice versa ? Shouldn't DNF be able to do ev

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Samuel Sieb
On 7/27/20 5:29 AM, Sreyan Chakravarty wrote: On 7/27/20 1:15 AM, Dave Ulrick wrote: In my opinion, this is a pretty easy workaround. I'll stick with the 5.7 kernel unless I run into other issues. 5.7 could not mount /boot/efi in my case. Also there was a message : Failed Loading Kernel Mod

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Todd Zullinger
Sreyan Chakravarty wrote: > > On 7/27/20 12:23 AM, Todd Zullinger wrote: >> Refer to the "SPECIFYING PACKAGES" section in the dnf man >> page. It explains the syntax options you can use to >> specify a , which is used by many dnf >> commands, like dnf remove. > > The doc is all good but without

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread stan via users
On Mon, 27 Jul 2020 17:46:30 +0530 Sreyan Chakravarty wrote: > Did the trick perfectly. Only have 2 stable 5.6 kernels now. Great! > What is the difference between dnf and rpm ? When do I use dnf over > rpm and vice versa ? Shouldn't DNF be able to do everything that rpm > does ? > > What is

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Sreyan Chakravarty
On 7/27/20 1:49 AM, Samuel Sieb wrote: Interesting, I've only ever used "dd" to create swap files.  Anyway, if you do run into this problem, there's a very simple fix. If this was the only problem I may have reconsidered, but even /boot/efi was not mounted on my system and God knows what other

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Sreyan Chakravarty
On 7/27/20 1:15 AM, Dave Ulrick wrote: In my opinion, this is a pretty easy workaround. I'll stick with the 5.7 kernel unless I run into other issues. 5.7 could not mount /boot/efi in my case. Also there was a message : Failed Loading Kernel Modules In my case I need it to be more stable b

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Sreyan Chakravarty
On 7/27/20 12:53 AM, Samuel Sieb wrote: A "lot" of bugs? Yeah, I have linked a full pastebin of errors in the first message of this thread. Don't get be wrong, 5.6 also had errors at startup according to journalctl -b, but nothing as basic as not being able to initialize swap or mounting t

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Sreyan Chakravarty
On 7/27/20 12:51 AM, Samuel Sieb wrote: You didn't give the output from dnf, but I assume that it only let you remove the kernel metapackage because you can't remove the running kernel. I don't know what I removed at first, but it did remove something according to DNF. A better command, at

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Sreyan Chakravarty
On 7/27/20 12:23 AM, Todd Zullinger wrote: Refer to the "SPECIFYING PACKAGES" section in the dnf man page. It explains the syntax options you can use to specify a , which is used by many dnf commands, like dnf remove. The doc is all good but without some real examples I find it difficult to

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-27 Thread Sreyan Chakravarty
On 7/26/20 11:56 PM, stan via users wrote: That is the problem with the dnf technique, it doesn't give the actual package name, you have to put it together manually. On my system I ran the following convoluted command in order to isolate a single kernel. rpm -qa | grep ^kernel | grep 5\.8 | gre

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Samuel Sieb
On 7/26/20 9:48 AM, George N. White III wrote: On Sun, 26 Jul 2020 at 12:47, Sreyan Chakravarty > wrote: I just upgraded to the new 5.7 kernel and it has a lot of bugs. If you are using ext4, look for the "swapfile has holes

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread George N. White III
On Sun, 26 Jul 2020 at 16:24, Samuel Sieb wrote: > On 7/26/20 8:47 AM, Sreyan Chakravarty wrote: > > I just upgraded to the new 5.7 kernel and it has a lot of bugs. > > A "lot" of bugs? > > > It can't even initialize my swap file: > > How did you create that swap file? > If it is the bug reporte

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Dave Ulrick
On 7/26/20 2:23 PM, Samuel Sieb wrote: On 7/26/20 8:47 AM, Sreyan Chakravarty wrote: I just upgraded to the new 5.7 kernel and it has a lot of bugs. A "lot" of bugs? It can't even initialize my swap file: I too experienced the "swap file has holes" issue after I upgraded F32 to the 5.7 ke

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Samuel Sieb
On 7/26/20 8:47 AM, Sreyan Chakravarty wrote: I just upgraded to the new 5.7 kernel and it has a lot of bugs. A "lot" of bugs? It can't even initialize my swap file: How did you create that swap file? ___ users mailing list -- users@lists.fedorapr

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Samuel Sieb
On 7/26/20 10:56 AM, Sreyan Chakravarty wrote: Yeah, I have removed the a kernel component via: sudo dnf remove kernel-*5.7.10-201.fc32.x86_64 And it did remove something but it did not remove the kernel as it is still present on the GRUB menu and is bootable. You didn't give the output from

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Todd Zullinger
Sreyan Chakravarty wrote: > How do I remove a specific version of a package using DNF ? Refer to the "SPECIFYING PACKAGES" section in the dnf man page. It explains the syntax options you can use to specify a , which is used by many dnf commands, like dnf remove. While there, the remove-n, remove

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread stan via users
On Sun, 26 Jul 2020 23:26:05 +0530 Sreyan Chakravarty wrote: > Running the following command I get the output: > > $ dnf list installed kernel-* | grep -i 5.7 > > kernel-core.x86_64 5.7.10-201.fc32 > kernel-devel.x86_64 5.7.10-201.fc32 > kernel-headers.x86_64 5.7.10-200.fc32 > kernel-modules.x8

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Sreyan Chakravarty
On 7/26/20 11:19 PM, stan via users wrote: dnf will not let you remove a running kernel, so you will have to reboot, hit space or F2 or ... while booting to bring up the grub menu. Then, select the 5.6 kernel you want to run, and boot it. Now, run dnf remove [list of kernel packages found above

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Sreyan Chakravarty
On 7/26/20 10:45 PM, Tom Horsley wrote: First you have to boot into an older kernel. Then you might want to look for all rpms with 5.7.10-201 in the name and remove them all since they broke kernels up into multiple packages for some reason. That should also get it out of the boot menu, but the

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread stan via users
On Sun, 26 Jul 2020 22:50:07 +0530 Sreyan Chakravarty wrote: > Is there a way to remove the kernel ? Run rpm -qa | grep -i kernel\* | less In the resulting list, you will see all installed packages associated with kernel-5.7*, the kernel that you want to remove. dnf will not let you remove a ru

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Sreyan Chakravarty
On Sun, Jul 26, 2020 at 10:46 PM Tom Horsley wrote: > On Sun, 26 Jul 2020 22:15:51 +0530 > Sreyan Chakravarty wrote: > > > Okay guys how do I uninstall a kernel ? > > First you have to boot into an older kernel. > Then you might want to look for all rpms with > 5.7.10-201 in the name and remove t

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Sreyan Chakravarty
On Sun, Jul 26, 2020 at 10:18 PM George N. White III wrote: > > Maybe you shouldn't be using Fedora. >> > Thanks I will take that under advisement. > The bug was reported in May, so "some time" might translate to "real soon > now". > Was it reported in Fedora or the kernel-mailing lists ? Why

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Tom Horsley
On Sun, 26 Jul 2020 22:15:51 +0530 Sreyan Chakravarty wrote: > Okay guys how do I uninstall a kernel ? First you have to boot into an older kernel. Then you might want to look for all rpms with 5.7.10-201 in the name and remove them all since they broke kernels up into multiple packages for some

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread George N. White III
On Sun, 26 Jul 2020 at 12:47, Sreyan Chakravarty wrote: > I just upgraded to the new 5.7 kernel and it has a lot of bugs. > If you are using ext4, look for the "swapfile has holes " message. There is a kernel bug, but two proposed fixes, one

Re: Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Sreyan Chakravarty
Okay guys how do I uninstall a kernel ? sudo dnf remove kernel-5.7.10-201.fc32.x86_64 does absolutely nothing. I can even boot from the removed kernel after the removal. How do I remove a kernel for good ? I want it gone from the GRUB boot menu too. On 7/26/20 9:17 PM, Sreyan Chakravarty wr

Various bugs with the new 5.7 kernel on Fedora 32

2020-07-26 Thread Sreyan Chakravarty
I just upgraded to the new 5.7 kernel and it has a lot of bugs. It can't even initialize my swap file: Jul 26 21:01:12 localhost.HPNotebook systemd[1]: fedora.swap.swap: Failed with result 'exit-code'.   6 Jul 26 21:01:12 localhost.HPNotebook systemd[1]: Failed to activate swap /fedora.swap.