Announcement

Collapse
No announcement yet.

Kubuntu 20.04.3, wake from suspend and dvd tray opens.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Kubuntu 20.04.3, wake from suspend and dvd tray opens.

    Currently I'm trying out Kubuntu 20.04.3, after switching between Mint Cinnamon and Kubuntu a few times.

    Now using a clean install of Kubuntu 20.04.3, with stock kernel 5.11.0.34.

    However as soon as I wake the system from suspend, the dvd drive tray opens!

    How bizarre.

    Is this an easy fix? I never found this issue in the initial release of Kubuntu 20.04 lts.

    So is this a bug in the latest kernel? Is there such a thing as an LTS kernel in Kubuntu? I'm not planning on changing my hardware specs anytime soon, and if I do it'll not be to the latest and greatest CPUs

    I'm not at the computer just now, but I'll post my system specs fully when I'm back home.

    #2
    Yes, it is a bug in the kernel you've upgraded to.
    https://www.reddit.com/r/archlinux/c..._from_suspend/
    In Discover or muon purge that kernel so you'll revert to the previous one.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Originally posted by GreyGeek View Post
      Yes, it is a bug in the kernel you've upgraded to.
      https://www.reddit.com/r/archlinux/c..._from_suspend/
      In Discover or muon purge that kernel so you'll revert to the previous one.
      Thank you!
      I'm not entirely sure how to do that in Muon / Discovery. Won't Purging the kernel make the system non bootable unless I install another kernel? And which kernel should I install? I know in Mint there was a kernel update tool where you could select which kernel to install / remove.

      Comment


        #4
        Just choose a different kernel in Grub when booting, you will have previous versions available. No need to remove anything at this point.

        Comment


          #5
          Originally posted by claydoh View Post
          Just choose a different kernel in Grub when booting, you will have previous versions available. No need to remove anything at this point.
          Thanks, that seems to have worked:

          brian@Giger:~$ uname -r
          5.11.0-27-generic
          Except my system can no longer go into sleep / suspend.

          Comment


            #6
            If the current upgraded 20.04 kernel 5.11 (HWE) is not working well you can revert to the original 5.4 (the"GA" kernel).


            https://wiki.ubuntu.com/Kernel/LTSEn...tStack#Desktop

            It can be installed and tested without removing existing kernels. If desired those can be removed as shown.



            Sent from my LM-V600 using Tapatalk

            Comment


              #7
              duplicate post, can't delete for some reason.
              Last edited by brianinnes; Sep 14, 2021, 03:24 AM.

              Comment


                #8
                Originally posted by claydoh View Post
                If the current upgraded 20.04 kernel 5.11 (HWE) is not working well you can revert to the original 5.4 (the"GA" kernel).


                https://wiki.ubuntu.com/Kernel/LTSEn...tStack#Desktop

                It can be installed and tested without removing existing kernels. If desired those can be removed as shown.



                Sent from my LM-V600 using Tapatalk
                An interesting guide, thank you.

                However trying that, and then selecting he original 5.4 kernel from the grub menu, the system hangs at "loading initial ramdisk".

                I certainly never had this amount of trouble with the original Kubuntu 20.04 release! So while Kubuntu 20.04.3 with 5.11.0-34 kernel works, it has the issue with cd tray ejecting on waking from suspend. Earlier 5.4.0-84 kernels seem to hang on loading initial ramdisk. I'm really unsure where to go from here.

                Comment


                  #9
                  I put my Human Search Bot hat on:


                  Seems a common item, across distros, and even kernel versions

                  https://bugs.launchpad.net/ubuntu/+s...v/+bug/1943379
                  https://bugzilla.kernel.org/show_bug.cgi?id=213759
                  and
                  https://forums.linuxmint.com/viewtop...56654&start=40

                  the last link may have a quick workaround/fix:
                  https://forums.linuxmint.com/viewtop...66615#p2066615


                  Me, I'd just unplug the optical drive lol. Or ignore it for a bit. Then unplug it

                  Comment


                    #10
                    Originally posted by claydoh View Post
                    I put my Human Search Bot hat on:


                    Seems a common item, across distros, and even kernel versions

                    https://bugs.launchpad.net/ubuntu/+s...v/+bug/1943379
                    https://bugzilla.kernel.org/show_bug.cgi?id=213759
                    and
                    https://forums.linuxmint.com/viewtop...56654&start=40

                    the last link may have a quick workaround/fix:
                    https://forums.linuxmint.com/viewtop...66615#p2066615


                    Me, I'd just unplug the optical drive lol. Or ignore it for a bit. Then unplug it
                    Yes, it does seem to be an issue with recent kernels on various distros.

                    Not sure that uplugging the optical drive is a realistic fix though!

                    Comment


                      #11
                      Originally posted by brianinnes View Post
                      Yes, it does seem to be an issue with recent kernels on various distros.

                      Not sure that uplugging the optical drive is a realistic fix though!
                      It of course depends on how often one uses it, or how quickly the annoyance can be fixed.

                      Comment


                        #12
                        Success!

                        Following the guide claydoh posted, https://wiki.ubuntu.com/Kernel/LTSEn...tStack#Desktop to change to the generic desktop stack. However the kernel installed with this, 5.4.0-84 had the same issue.

                        I then looked at what had been installed using Muon (linux-headers-5.4.0-84, linux-headers-5.4.0-84-generic, linux-image-5.4.0-84-generic, linux-modules-5.4.0-84-generic and linux-modules-extra-5.4.0-84 generic, and then manually installed the 5.4.0-81 version :-)

                        So far, running 5.4.0-81, no issues with suspend! ANd a bit of a learning experience, manually installing kernels.


                        There's a chance I could be doing a major system upgrade soon, a new cpu, motherboard & memory, so perhaps there won't be issue with suspend causing cd tray to eject on new system?

                        Comment

                        Working...
                        X