[Bug 2055147] Re: Kernel upgrade to 6.5.0-21-generic fails to boot

2024-02-29 Thread Matthew Ruffell
Hi Sly,

We do actually test as many dkms builds as we can. Well, mainly all the
kernel modules present in the Ubuntu archive, like evdi-dkms.

The trouble starts when you get dkms sources from other places that we
don't know about, like the DisplayLink installer that I linked above.
You, me, and other users just install it, and forget all about it, until
something breaks.

The real solution is to get rid of as many out of tree kernel modules as
we can. In the case of evdi, a few people have tried, and failed, to get
it into the mainline kernel. Upstream aren't interested in tidying it up
for inclusion, so it just rots out of tree.

Anyway, I am glad that it works for you now.

Thanks,
Matthew

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055147

Title:
  Kernel upgrade to 6.5.0-21-generic fails to boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055147/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055147] Re: Kernel upgrade to 6.5.0-21-generic fails to boot

2024-02-29 Thread Sly Gryphon
Thanks. Installing an updated EVDI seems to have done the trick `sudo
apt-get install evdi-dkms`. The new kernel is now working.

However it is not good that automatic updating the kernel broke boot up.

I know that there are so many different packages, etc, that you can't
possible test all combinations.

But maybe there is some way the install could test if the compile works,
and if it doesn't then don't add/configure the new kernel but instead
report an installation error. The problem would still need fixing, but
at least it can be checked before installing that would stop creating a
boot up issue.

Or maybe you have to install the kernel first before it can be checked,
so that may not be possible.


Anyway, thanks for the help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055147

Title:
  Kernel upgrade to 6.5.0-21-generic fails to boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055147/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2055147] Re: Kernel upgrade to 6.5.0-21-generic fails to boot

2024-02-28 Thread Matthew Ruffell
Hi Sly,

Your evdi kernel module for DisplayLink docks failed to compile. It
likely couldn't generate your initramfs, leaving your 6.5.0-21-generic
not able to boot.

Your logs say its trying to build version 1.11.0:

ERROR (dkms apport): binary package for evdi: 1.11.0 not found
Error! Bad return status for module build on kernel: 6.5.0-21-generic (x86_64)
Consult /var/lib/dkms/evdi/1.11.0/build/make.log for more information.

This is a bit old and outdated. You can re-install the DisplayLink
drivers from the upstream source, that has a newer version of evdi:

https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu

That will probably remove the old evdi and install a newer one.

Alternatively, you can remove the old evdi dkms entry and install evdi-
dkms from the Ubuntu repositories which has a evdi compatible with
6.5.0-21-generic.

DisplayLink support is kinda bad on Ubuntu, but its what we must do to
have working displays with our docks.

Thanks,
Matthew

** Changed in: linux (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055147

Title:
  Kernel upgrade to 6.5.0-21-generic fails to boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055147/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs