Page 1 of 1

Error everytime I install a kernel

Posted: Mon Sep 30, 2019 6:41 pm
by Cavsfan
I've tried this many, many times and always end up with an unbootable system.
If I try to install an antix kernel or any kernel with the Mx Package Installer I always get this: Error! Bad return status for module build on kernel: xxx

I mean everytime since the first time I installed Mx_Linux. The first time I was able to install a 4.22 antix kernel and booted with it regularly.

I installed Mx_Linux 18.3 3-4 times today and each time it would get the same error and I ended up with a flashing cursor in the top left.

So, this last time I used a terminal to install the kernel. It is just the header and the image; I would think it would pull some other dependencies in but, it does not.
Here is what the output looked like from terminal:

Code: Select all

cavsfan@mxlinux18:~
$ sudo apt install linux-headers-5.2.15-antix.1-amd64-smp linux-image-5.2.15-antix.1-amd64-smp
[sudo] password for cavsfan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  linux-headers-5.2.15-antix.1-amd64-smp linux-image-5.2.15-antix.1-amd64-smp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.3 MB of archives.
After this operation, 355 MB of additional disk space will be used.
Get:1 http://www.gtlib.gatech.edu/pub/MX-Linux/workspace/antix/stretch stretch/main amd64 linux-headers-5.2.15-antix.1-amd64-smp amd64 5.2.15-antix.1-amd64-smp-1 [11.4 MB]
Get:2 http://www.gtlib.gatech.edu/pub/MX-Linux/workspace/antix/stretch stretch/main amd64 linux-image-5.2.15-antix.1-amd64-smp amd64 5.2.15-antix.1-amd64-smp-1 [48.9 MB]
Fetched 60.3 MB in 17s (3,444 kB/s)                                                                                                                                                                                                                                                           
Selecting previously unselected package linux-headers-5.2.15-antix.1-amd64-smp.
(Reading database ... 257882 files and directories currently installed.)
Preparing to unpack .../linux-headers-5.2.15-antix.1-amd64-smp_5.2.15-antix.1-amd64-smp-1_amd64.deb ...
Unpacking linux-headers-5.2.15-antix.1-amd64-smp (5.2.15-antix.1-amd64-smp-1) ...
Selecting previously unselected package linux-image-5.2.15-antix.1-amd64-smp.
Preparing to unpack .../linux-image-5.2.15-antix.1-amd64-smp_5.2.15-antix.1-amd64-smp-1_amd64.deb ...
Unpacking linux-image-5.2.15-antix.1-amd64-smp (5.2.15-antix.1-amd64-smp-1) ...
Setting up linux-image-5.2.15-antix.1-amd64-smp (5.2.15-antix.1-amd64-smp-1) ...
Error! Bad return status for module build on kernel: 5.2.15-antix.1-amd64-smp (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
Error! Bad return status for module build on kernel: 5.2.15-antix.1-amd64-smp (x86_64)
Consult /var/lib/dkms/nvidia-current/390.116/build/make.log for more information.
Error! Bad return status for module build on kernel: 5.2.15-antix.1-amd64-smp (x86_64)
Consult /var/lib/dkms/virtualbox-guest/5.2.24/build/make.log for more information.
update-initramfs: Generating /boot/initrd.img-5.2.15-antix.1-amd64-smp
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.2.15-antix.1-amd64-smp
Found initrd image: /boot/initrd.img-5.2.15-antix.1-amd64-smp
Found linux image: /boot/vmlinuz-4.19.0-5-amd64
Found initrd image: /boot/initrd.img-4.19.0-5-amd64
....
I should also mention that I installed nvidia-driver 390.116 The 1st time I installed the kernel before the Nvidia driver and was able to boot into it but, I only had maybe 1280 x 1024 resolution which looked pretty bad on this 4k 3840x2160 monitor.
I could not find any way to change it.

If I install it via MX Package Installer it does the DKMS thing to both kernels and is unbootable.

But, since I installed it via CLI, it lets me get in through the 4.19.0-5-amd64 kernel.

So, is there some mystery to installing these kernels? It should be a piece of cake. I tried nomodeset on the kernel line and it was still unbootable.

Re: Error everytime I install a kernel

Posted: Mon Sep 30, 2019 6:48 pm
by timkb4cq
The 390.116 nvidia driver won't build on the 5.2 kernel. That's why it fails.
The 390.129 nvidia driver in the MX Test repo has been patched for the newer kernels.

Re: Error everytime I install a kernel

Posted: Mon Sep 30, 2019 8:50 pm
by Stevo
You also have build failures for the stock 5.2.24 version of virtualbox and the stock version of broadcom-sta-dkms.

The 5.2.32 version of VBox in the experimental repo will build on the 5.2 kernel, and the 6.0.12 version in the test repo has been tested on up to and including the 5.3 kernel, as has the broadcom-sta-dkms package there.
This is nothing that we're not already aware of on MX, but we don't add the antiX kernels to our repo. We note this gotcha in the announcements when we jump to a new major version of the Liquorix kernels, which we do package.

Re: Error everytime I install a kernel

Posted: Tue Oct 01, 2019 2:06 pm
by Cavsfan
timkb4cq wrote: Mon Sep 30, 2019 6:48 pm The 390.116 nvidia driver won't build on the 5.2 kernel. That's why it fails.
The 390.129 nvidia driver in the MX Test repo has been patched for the newer kernels.
Thank you! I'll do that!
Much appreciation!!!

Re: Error everytime I install a kernel

Posted: Tue Oct 01, 2019 2:16 pm
by Cavsfan
Stevo wrote: Mon Sep 30, 2019 8:50 pm You also have build failures for the stock 5.2.24 version of virtualbox and the stock version of broadcom-sta-dkms.

The 5.2.32 version of VBox in the experimental repo will build on the 5.2 kernel, and the 6.0.12 version in the test repo has been tested on up to and including the 5.3 kernel, as has the broadcom-sta-dkms package there.
This is nothing that we're not already aware of on MX, but we don't add the antiX kernels to our repo. We note this gotcha in the announcements when we jump to a new major version of the Liquorix kernels, which we do package.
I noticed it mentioned virtualbox but, I do not want to have virtualbox installed. I have no use for it and didn't know it automatically installs.

How do I get rid of that? I know I need some dkms module to I believe load the video driver in the kernel as it's built. If I get rid of virtualbox, is there another dkms package I could/should use?
Edit: I think I found the DKMS package that goes along with the 390.129 nvidia driver in the MX Test repo.

Trying them now. But, need to reboot first.

Re: Error everytime I install a kernel

Posted: Tue Oct 01, 2019 3:14 pm
by Cavsfan
I installed these via the Test repo on the MX Package installer:
(which was 390.129-1~mx17+1 - Nvidia meta package - 390xx legacy version)

Code: Select all

The following additional packages will be installed:
  libegl-nvidia-legacy-390xx0 libgl1-nvidia-legacy-390xx-glvnd-glx
  libglx-nvidia-legacy-390xx0 libnvidia-legacy-390xx-eglcore
  libnvidia-legacy-390xx-glcore libnvidia-legacy-390xx-ml1
  nvidia-legacy-390xx-alternative nvidia-legacy-390xx-driver-bin
  nvidia-legacy-390xx-driver-libs nvidia-legacy-390xx-egl-icd
  nvidia-legacy-390xx-kernel-support nvidia-legacy-390xx-vdpau-driver
  xserver-xorg-video-nvidia-legacy-390xx
Recommended packages:
  nvidia-settings-legacy-390xx libnvidia-legacy-390xx-cfg1 nvidia-persistenced
  nvidia-legacy-390xx-driver-libs-i386 libopengl0 | libopengl0-glvnd-nvidia
  libgles-nvidia-legacy-390xx1 libgles-nvidia-legacy-390xx2
  nvidia-legacy-390xx-vulkan-icd
The following NEW packages will be installed:
  libegl-nvidia-legacy-390xx0 libgl1-nvidia-legacy-390xx-glvnd-glx
  libglx-nvidia-legacy-390xx0 libnvidia-legacy-390xx-eglcore
  libnvidia-legacy-390xx-glcore libnvidia-legacy-390xx-ml1
  nvidia-legacy-390xx-alternative nvidia-legacy-390xx-driver
  nvidia-legacy-390xx-driver-bin nvidia-legacy-390xx-driver-libs
  nvidia-legacy-390xx-egl-icd nvidia-legacy-390xx-kernel-dkms
  nvidia-legacy-390xx-kernel-support nvidia-legacy-390xx-vdpau-driver
  xserver-xorg-video-nvidia-legacy-390xx
0 upgraded, 15 newly installed, 0 to remove and 239 not upgraded.
Need to get 27.7 MB of archives.
After this operation, 115 MB of additional disk space will be used.
Do you want to continue? [Y/n]
The 5.2 kernel still won't boot but, the 4.19 kernel does.
So, how do I go about removing vbox or whatever to get the 5.2 kernel to boot?

Code: Select all

$ inxi -G
Graphics:  Device-1: NVIDIA GM200 [GeForce GTX 980 Ti] driver: nvidia v: 390.116 
           Display: x11 server: X.Org 1.19.2 driver: nvidia resolution: 3840x2160~60Hz 
           OpenGL: renderer: GeForce GTX 980 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.116
Everything says I still have the 390.116 driver running. I'm getting lost. :confused:

Re: Error everytime I install a kernel

Posted: Tue Oct 01, 2019 5:09 pm
by Stevo
The virtualbox packages won't prevent a boot on a bare-metal install, but you can open Synaptic, hit the "installed" on the Status tab, search for virtualbox there, and remove any that are installed. I don't know if you need broadcom-sta-dkms, since you haven't posted your wi-fi device, but you can remove it also if you don't have a Broadcom one.

You can manually try a rebuild of the 390xx legacy driver to see if it does error out--first make sure the 390.129 version is installed:

Code: Select all

apt policy nvidia-legacy-390xx-kernel-dkms
if so, then

Code: Select all

sudo dpkg-reconfigure nvidia-legacy-390xx-kernel-dkms

Re: Error everytime I install a kernel

Posted: Wed Oct 02, 2019 1:49 pm
by Cavsfan
Sorry but, I re-installed again and I'm just going to stick with the default kernel 4.19.0-5-amd64.

I've tried the Antix 5.1.2 kernel Meltdown and Spectre patched in the MX Package Installer and that is where I got the error initially.
Isn't there a normal progression of kernels on MX Linux 5.1.2, 5.1.3. etc? I've been playing around with MX about a year now and I have not seen a kernel update come down in regular updates.

I turned off auto update notifications and update via CLI, just like every other installation I have.

I have a custom grub setup and 9 Linux systems installed. MX Linux and Fedora are the only 2 I've come across that does not create symlinks to the kernels.

I believe most systems once installed, there are no symlinks to the kernel until the 2nd kernel gets installed. MX doesn't automatically upgrade kernels and Fedora just does not create symlinks.
This got me what I needed on MX Linux:

Code: Select all

cd /boot
sudo ln -s -f initrd.img-4.19.0-5-amd64 initrd
sudo ln -s -f vmlinuz-4.19.0-5-amd64 vmlinuz
I created a script to run on Fedora when a new kernel is created that gives me those symlinks.

I get the biggest kick out of installing/fine tuning systems. Then once they are like I want them I look for other stuff to do.

Here is my grub screen on MX Linux 18:
Image

It would be nice if one didn't have to jump through so many hoops just to install a newer kernel. But, as long as the default kernel is safe and secure, then I'm good with it.

Re: Error everytime I install a kernel

Posted: Wed Oct 02, 2019 4:17 pm
by Stevo
We've already diagnosed the issue and given the answer--you must upgrade your Nvidia driver to the legacy 390xx version from the test repo, 390.129, before you try and install a 5.2 kernel. It's no mystery why you can't boot if you don't do that.

Re: Error everytime I install a kernel

Posted: Wed Oct 02, 2019 5:57 pm
by Cavsfan
Stevo wrote: Wed Oct 02, 2019 4:17 pm We've already diagnosed the issue and given the answer--you must upgrade your Nvidia driver to the legacy 390xx version from the test repo, 390.129, before you try and install a 5.2 kernel. It's no mystery why you can't boot if you don't do that.
I can do that but, I don't think it should be that hard. It should just work. Not saying I know everything but, I know some things and I don't find this as easy as it should be.

I'll give that a shot and report back.

I just purged 3 virtualbox packages that were installed and am rebooting and if all goes well then installing the video driver you mention and the 5.2 kernel after that.

Re: Error everytime I install a kernel

Posted: Wed Oct 02, 2019 6:34 pm
by Cavsfan
Ok, I rebooted and the virtualbox packages are gone.
When you select a package in MX Package Manager it does not pull in the dependencies, so which of these do I need to install or are there more?
Screenshot-10-02-19.jpg

Re: Error everytime I install a kernel

Posted: Wed Oct 02, 2019 9:18 pm
by Stevo
I would first install the standard legacy 390.116 driver on the standard 4.19 kernel. Then when you go to MX package installer and see what's in the test repo, the 390.129 versions of what you have installed will be marked as upgrades.

Make sure to uncheck the box that hides the lib** packages. After the installed 390 legacy-driver packages have been upgraded to 390.129, try a reboot to the standard kernel to make sure that version is working for you, then you can install a 5.2 kernel and the build should be successful.

Re: Error everytime I install a kernel

Posted: Thu Oct 03, 2019 7:41 am
by Paul..
@Cavsfan, Stevo is the undisputed expert...so his approach is the safest.

Alternative
I have been using the 390.116 driver on the standard 4.19 kernel but was looking for better performance...so ended up installing the newer 435.21 driver on an older nvidia board using the following steps:

1. Ctl-Alt F1 to go to console mode...
2. logged in as root
3. Entered "ddm-mx -i nvidia" at command prompt...then accepted the option to look for newer driver on "Test"
4. ddm-mx found the newer driver 435.21 and installed correctly...
5. I then installed the antix 5.1.2 64-bit from the MX Package Installer and it works fine. (YMMV, of course.)

My nvidia board for comparison (on a Ryzen 5 1400 system):

Code: Select all

inxi -G
Graphics:  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nvidia v: 435.21 
           Display: x11 server: X.Org 1.19.2 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 750 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 
HTH

Re: Error everytime I install a kernel

Posted: Thu Oct 03, 2019 6:34 pm
by Cavsfan
Guess I should have did what Stevo said first. Because I tried installing the 435.21 driver and have not been able to boot into MX Linux 18 since.

I have used the same USB stick to re-install and gotten this error and have downloaded 3-4 other ISOs and none of them will boot. I download the ISOs on Windows 10 and use Rufus to make a bootable USB. I've done this about a hundred times.
But, every time I try to boot with any of them I get this error that flashes just before the install screen pops up (which will not install). It took me a while to catch what it was saying but, I got it with my phone camera:

Code: Select all

               Failed to open \EFI\BOOT\mmx64.efi - Not Found
               Failed to load image \EFI\BOOT\mmx64.efi: Not Found
               Failed to start MokManager: Not Found

Re: Error everytime I install a kernel

Posted: Thu Oct 03, 2019 10:07 pm
by JayM
Cavsfan wrote: Thu Oct 03, 2019 6:34 pm Guess I should have did what Stevo said first. Because I tried installing the 435.21 driver and have not been able to boot into MX Linux 18 since.

I have used the same USB stick to re-install and gotten this error and have downloaded 3-4 other ISOs and none of them will boot. I download the ISOs on Windows 10 and use Rufus to make a bootable USB. I've done this about a hundred times.
But, every time I try to boot with any of them I get this error that flashes just before the install screen pops up (which will not install). It took me a while to catch what it was saying but, I got it with my phone camera:

Code: Select all

               Failed to open \EFI\BOOT\mmx64.efi - Not Found
               Failed to load image \EFI\BOOT\mmx64.efi: Not Found
               Failed to start MokManager: Not Found
OK, my coffee's finally kicked in this morning, but this still doesn't make any sense to me. How are you able to run the installer if you can't even boot from the USB stick now?

https://mxlinux.org/wiki/system/create- ... s-desktop/ may help with USB creation and booting issues. There's a video about how to make an MX USB when Rufus doesn't work right or something like that.

Re: Error everytime I install a kernel

Posted: Fri Oct 04, 2019 6:49 pm
by Cavsfan
JayM wrote: Thu Oct 03, 2019 10:07 pm
Cavsfan wrote: Thu Oct 03, 2019 6:34 pm Guess I should have did what Stevo said first. Because I tried installing the 435.21 driver and have not been able to boot into MX Linux 18 since.

I have used the same USB stick to re-install and gotten this error and have downloaded 3-4 other ISOs and none of them will boot. I download the ISOs on Windows 10 and use Rufus to make a bootable USB. I've done this about a hundred times.
But, every time I try to boot with any of them I get this error that flashes just before the install screen pops up (which will not install). It took me a while to catch what it was saying but, I got it with my phone camera:

Code: Select all

               Failed to open \EFI\BOOT\mmx64.efi - Not Found
               Failed to load image \EFI\BOOT\mmx64.efi: Not Found
               Failed to start MokManager: Not Found
OK, my coffee's finally kicked in this morning, but this still doesn't make any sense to me. How are you able to run the installer if you can't even boot from the USB stick now?

https://mxlinux.org/wiki/system/create- ... s-desktop/ may help with USB creation and booting issues. There's a video about how to make an MX USB when Rufus doesn't work right or something like that.
Did you miss "I got it with my phone camera"? That is how I caught the error message. I would see those three errors and then the installation screen would pop-up like normal but, it would not go any farther.

Just to make sure I installed Xubuntu 19.10 beta from a 64GB USB stick and then I did what you mentioned and downloaded the ISO while in Arch Linux. I was then able to re-install MX_Linux 18.3.
I just installed the 390.129 driver from the test repo and am about to reboot. Sure hope like hell it goes past the flashing underscore.

Re: Error everytime I install a kernel

Posted: Fri Oct 04, 2019 11:03 pm
by JayM
Cavsfan wrote: Fri Oct 04, 2019 6:49 pm Did you miss "I got it with my phone camera"? That is how I caught the error message. I would see those three errors and then the installation screen would pop-up like normal but, it would not go any farther.

Just to make sure I installed Xubuntu 19.10 beta from a 64GB USB stick and then I did what you mentioned and downloaded the ISO while in Arch Linux. I was then able to re-install MX_Linux 18.3.
I just installed the 390.129 driver from the test repo and am about to reboot. Sure hope like hell it goes past the flashing underscore.
The only installations screens found in the live USB version of MX are the MX Installer to install MX Linux, MX Updater to install upgrades, Synaptic and MX Package Installer to install new packages. So again, I don't know what you're talking about, unless you possibly mean the live USB's boot menu?

If you're having problems getting a live USB to boot in UEFI mode I suggest that you follow the instructions in the wiki page I linked to in my last post, read the appropriate section of the manual (there's a link at the top of the forum), search the forum to find the help and advise that's already been given to others because maybe that will also be your solution, and if not, start a new topic about getting a live USB to boot on your specific computer.

One tip I can give you is to format the USB stick again in Windows, as Fat32, then try burning the iso with Rufus again, making sure you choose the appropriate options to make it UEFI-bootable. Sometimes things get messed up when you reburn isos to already-used USB sticks and you need to wipe them clean by reformatting them and start over fresh.

Edit: first, do what fehlix suggested below. He knows more about fixing booting issues (and about many other Linux things) than I do.

Re: Error everytime I install a kernel

Posted: Fri Oct 04, 2019 11:54 pm
by fehlix
Cavsfan wrote: Thu Oct 03, 2019 6:34 pm But, every time I try to boot with any of them I get this error that flashes just before the install screen pops up (which will not install). It took me a while to catch what it was saying but, I got it with my phone camera:

Code: Select all

               Failed to open \EFI\BOOT\mmx64.efi - Not Found
               Failed to load image \EFI\BOOT\mmx64.efi: Not Found
               Failed to start MokManager: Not Found
You might probaly "fix" the issue in a way as mentioned here: https://forum.mxlinux.org/viewtopic.php ... 02#p520002
by copying grubx64.efi to mmx64.efi within the /EFI/BOOT folder on the USB-stick.
:puppy:

Re: Error everytime I install a kernel

Posted: Sat Oct 05, 2019 3:57 pm
by Cavsfan
JayM wrote: Fri Oct 04, 2019 11:03 pm
Cavsfan wrote: Fri Oct 04, 2019 6:49 pm Did you miss "I got it with my phone camera"? That is how I caught the error message. I would see those three errors and then the installation screen would pop-up like normal but, it would not go any farther.

Just to make sure I installed Xubuntu 19.10 beta from a 64GB USB stick and then I did what you mentioned and downloaded the ISO while in Arch Linux. I was then able to re-install MX_Linux 18.3.
I just installed the 390.129 driver from the test repo and am about to reboot. Sure hope like hell it goes past the flashing underscore.
The only installations screens found in the live USB version of MX are the MX Installer to install MX Linux, MX Updater to install upgrades, Synaptic and MX Package Installer to install new packages. So again, I don't know what you're talking about, unless you possibly mean the live USB's boot menu?

If you're having problems getting a live USB to boot in UEFI mode I suggest that you follow the instructions in the wiki page I linked to in my last post, read the appropriate section of the manual (there's a link at the top of the forum), search the forum to find the help and advise that's already been given to others because maybe that will also be your solution, and if not, start a new topic about getting a live USB to boot on your specific computer.

One tip I can give you is to format the USB stick again in Windows, as Fat32, then try burning the iso with Rufus again, making sure you choose the appropriate options to make it UEFI-bootable. Sometimes things get messed up when you reburn isos to already-used USB sticks and you need to wipe them clean by reformatting them and start over fresh.

Edit: first, do what fehlix suggested below. He knows more about fixing booting issues (and about many other Linux things) than I do.
fehlix wrote: Fri Oct 04, 2019 11:54 pm
Cavsfan wrote: Thu Oct 03, 2019 6:34 pm But, every time I try to boot with any of them I get this error that flashes just before the install screen pops up (which will not install). It took me a while to catch what it was saying but, I got it with my phone camera:

Code: Select all

               Failed to open \EFI\BOOT\mmx64.efi - Not Found
               Failed to load image \EFI\BOOT\mmx64.efi: Not Found
               Failed to start MokManager: Not Found
You might probaly "fix" the issue in a way as mentioned here: https://forum.mxlinux.org/viewtopic.php ... 02#p520002
by copying grubx64.efi to mmx64.efi within the /EFI/BOOT folder on the USB-stick.
:puppy:
Those 3 errors that popped up for about 1 second when I booted using the bad USB installer stick were apparently caused by Windows Rufus.
I have never seen it do that before and the fact that it continued on to the installation screen after the error was what was weird.

I went by the directions at the bottom of the MX Linux download page to create the USB and it worked well.

Then I installed MX Linux 18.3 for probably the 20th time. I did install the 390.129 nvidia driver in the MX Test repo and rebooted.
All was well. I think I got a bunch of updates.
Then today I installed the antix 5.2 kernel and it got the same errors as before; the one that cause me to open this thread.

So, once again I had to re-install and I'm going with stock packages. If it comes through in regular updates, I'll install it.

But, I think it is too much to ask for a user to mix test repo packages with stable packages. I know a little but, just consider me a regular user. I do not feel comfortable installing any kernel this way.

So, I'll use the default kernel until another one is released.

Re: Error everytime I install a kernel

Posted: Sat Oct 05, 2019 4:26 pm
by richb
But, I think it is too much to ask for a user to mix test repo packages with stable packages. I know a little but, just consider me a regular user. I do not feel comfortable installing any kernel this way.
To be clear no one forces a user to install from the test repo. It is a test repo. The packagers want feedback if a user chooses to install. That is why it is test. Only if feedback is positive will the package be moved to main.

Re: Error everytime I install a kernel

Posted: Sat Oct 05, 2019 6:03 pm
by Stevo
I haven't tested the antiX 5.2 kernel, but wonder if you are seeing the driver rebuild when you install it. It's pretty apparent when you scroll back up the terminal output after its done.

I also wonder if you're getting the same failures if you install the 5.2 Liquorix kernel--I have more experience with that one.

Re: Error everytime I install a kernel

Posted: Wed Oct 09, 2019 10:54 am
by Cavsfan
richb wrote: Sat Oct 05, 2019 4:26 pm
But, I think it is too much to ask for a user to mix test repo packages with stable packages. I know a little but, just consider me a regular user. I do not feel comfortable installing any kernel this way.
To be clear no one forces a user to install from the test repo. It is a test repo. The packagers want feedback if a user chooses to install. That is why it is test. Only if feedback is positive will the package be moved to main.
Thank you! That was what I was basically saying that I'm not going to do any mixing of repos. I opened this thread thinking there was a problem I didn't know about when I got the checksum error installing the 5.2 antix kernel from MX Package Installer.

I guess I failed to mention that it was not important to me to install this kernel. I trust what is the "Production kernel" as being good enough for me, which is the 4.19.0-5-amd64 kernel.

I am not one to go installing kernels; I prefer to let them be updated automatically.

I also have MX 19 beta1 installed and it installed the same kernel.

Re: Error everytime I install a kernel

Posted: Wed Oct 09, 2019 10:57 am
by Cavsfan
Stevo wrote: Sat Oct 05, 2019 6:03 pm I haven't tested the antiX 5.2 kernel, but wonder if you are seeing the driver rebuild when you install it. It's pretty apparent when you scroll back up the terminal output after its done.

I also wonder if you're getting the same failures if you install the 5.2 Liquorix kernel--I have more experience with that one.
Sorry, I didn't see this post before I replied but, this previous reply of mine says what I meant

Re: Error everytime I install a kernel

Posted: Wed Oct 16, 2019 1:28 pm
by Cavsfan
I believe I was a little naive about MX Linux, in that it does not update it's kernel. I installed Mint a long time ago and it took me a long time to realize that they did not update kernels either.
Unless you want to and I believe once I set that switch, the kernel was regularly updated after that.

I do not believe I should have to troubleshoot why no kernel will install because I'm not a developer nor is MX 18.3 in the developmental stage. I figured more people would have been reporting problems with this but, I didn't see any.
The price is too high when it fails as a complete re-install is required. I'd help if I could but, I've already tried and while I'll admit initially installing systems is my thing, re-installing the same system over and over is not for me.

I like a variety of Operating systems and have Arch Linux with the bleeding edge kernel 5.3.6.arch1-1 released 2 days ago.

I installed MX Linux 19 beta3 a day or two ago. I't looking pretty good.

Re: Error everytime I install a kernel

Posted: Wed Oct 16, 2019 8:55 pm
by Stevo
Dolphin_oracle just fixed the Nvidia Installer on at least MX 19 to install the 435.21 driver from the test repo correctly when that's the choice, and it now works correctly in my tests. The new version should be pushed as an update to MX 19 and 18 quite soon, so wait a bit. Before the fix, you get the stock Debian version no matter what your choice.

As a workaround before the fix, I was able to update the 418.74 stock Buster driver to the 435.21 version after the stock version was incorrectly installed from the test repo tab of MX PI, as explained above, but you had to check to make sure your hardware would work with the 435 version.

Re: Error everytime I install a kernel

Posted: Mon Nov 04, 2019 3:35 pm
by Cavsfan
Stevo wrote: Wed Oct 16, 2019 8:55 pm Dolphin_oracle just fixed the Nvidia Installer on at least MX 19 to install the 435.21 driver from the test repo correctly when that's the choice, and it now works correctly in my tests. The new version should be pushed as an update to MX 19 and 18 quite soon, so wait a bit. Before the fix, you get the stock Debian version no matter what your choice.

As a workaround before the fix, I was able to update the 418.74 stock Buster driver to the 435.21 version after the stock version was incorrectly installed from the test repo tab of MX PI, as explained above, but you had to check to make sure your hardware would work with the 435 version.
Sounds good! I have MX 18.3 as well as MX 19 beta installed and on 19 I have the 418.74 driver. So, I'll get that update when it is released.
I forgot MX is based on Debian, so no new kernel every few days like Arch Linux using the 5.3.8.1-1-ARCH-1 kernel.

I installed Debian Buster too and I like how they've worked on compiz/emerald/fusion-icon, probably the same as MX Linux.

Code: Select all

$ inxi -SMCG
System:    Host: mxlinux19 Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.1 
           Distro: MX-19beta-3_x64 patito feo September 22  2019 
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: <root required> 
           Mobo: ASUSTeK model: Z87-K v: Rev X.0x serial: <root required> 
           UEFI: American Megatrends v: 1103 date: 01/02/2014 
CPU:       Topology: Quad Core model: Intel Core i7-4770K bits: 64 type: MT MCP 
           L2 cache: 8192 KiB 
           Speed: 2976 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 3664 2: 3478 3: 3531 
           4: 3491 5: 3587 6: 3676 7: 3656 8: 3453 
Graphics:  Device-1: NVIDIA GM200 [GeForce GTX 980 Ti] driver: nvidia v: 418.74 
           Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 3840x2160~60Hz 
           OpenGL: renderer: GeForce GTX 980 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 418.74 

Re: Error everytime I install a kernel

Posted: Mon Nov 04, 2019 3:50 pm
by Stevo
If you do want to track new kernel releases, you can add the Liquorix kernel repo, or I rebuild them for our test repos about once a week or so.

But then you have to make sure your third party drivers will build against a new kernel release, or at least be prepared to revert to a known working kernel via the "advanced options" submenu in GRUB.

Re: Error everytime I install a kernel

Posted: Mon Nov 25, 2019 8:17 pm
by Cavsfan
Stevo wrote: Mon Nov 04, 2019 3:50 pm If you do want to track new kernel releases, you can add the Liquorix kernel repo, or I rebuild them for our test repos about once a week or so.

But then you have to make sure your third party drivers will build against a new kernel release, or at least be prepared to revert to a known working kernel via the "advanced options" submenu in GRUB.
Sounds good. That could be something for the future. I've got 9 Linux systems on this computer: Arch Linux, Fedora 30 & 31, openSUSE Tumbleweed, Debian Buster and Testing, MX 18, 19 and Xubuntu 18.04.3 LTS.

I hadn't realized that MX Linux 19 final was released until a few days ago, I had installed a beta 3 ISO. But, this installation went very well.

I was able to install the 5.2 kernel from the MX Package Installer and it said it was going to use the that newer Nvidia driver but, it said there was a newer Nvidia driver in the Test Repo and asked if I wanted to use that; I gave it a "Y" and it installed 435.21.
It all went together, I got some warnings but both kernels boot fine. I created 4 symlinks for both parts of the 2 kernels initrd.img and vmlinuz. I just added antix to the names of the 2 parts of that kernel.

Code: Select all

$ inxi -S -G
System:    Host: mxlinux19 Kernel: 5.2.15-antix.1-amd64-smp x86_64 bits: 64 Desktop: Xfce 4.14.1 
           Distro: MX-19_x64 patito feo October 21  2019 
Graphics:  Device-1: NVIDIA GM200 [GeForce GTX 980 Ti] driver: nvidia v: 435.21 
           Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 3840x2160~60Hz 
           OpenGL: renderer: GeForce GTX 980 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 

Code: Select all

$ ls -lA /boot | grep " -"
lrwxrwxrwx 1 root root       35 Nov 23 20:55 initrd-antix.img -> initrd.img-5.2.15-antix.1-amd64-smp
lrwxrwxrwx 1 root root       25 Nov 23 19:07 initrd.img -> initrd.img-4.19.0-6-amd64
lrwxrwxrwx 1 root root       22 Nov 23 19:07 vmlinuz -> vmlinuz-4.19.0-6-amd64
lrwxrwxrwx 1 root root       32 Nov 23 20:56 vmlinuz-antix -> vmlinuz-5.2.15-antix.1-amd64-smp
This is really looking good.