Announcement

Collapse
No announcement yet.

Logging in fails after update to latest kernel [4.2.0-39]

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

    Logging in fails after update to latest kernel [4.2.0-39]

    Fresh install with almost no program additions or settings. Works fine out of the box with the kernel included in the DVD (4.2.0-27). First update adds kernel 4.2.0-38 and 4.2.0-39. With 0-39, grub loads perfectly fine but after the black kubuntu logo screen it never gets to the login screen and the screen stays black without responding to any keys. The only options are to go to a tty but startx creates the same problem or to hit the on/off switch which simply shows the kubuntu logo again and shuts down.

    The 0-27 and 0-38 kernels work perfectly well however.

    #2
    I had that happen with the kernel update just before the last one.
    https://www.kubuntuforums.net/showth...098&viewfull=1
    "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
      I'm not sure if it's the same problem. I get a blank screen but no mouse pointer and alt-f2 doesn't work either. I'm pretty sure that for some reason X doesn't start up and trying to start it from the tty fails. I did a cli update and hist-upgrade but nothing really changed. Experimentally I did an autoremove which removed the headers for kernel -24 and left me with -38 and -39. Booting with -39 still breaks the system.

      Comment


        #4
        Try going to a tty and, if it exists, renaming /etc/X11/xorg.conf to something else and then starting X. If it works, try rebooting.
        If you're sitting wondering,
        Which Batman is the best,
        There's only one true answer my friend,
        It's Adam Bloody West!

        Comment


          #5
          Originally posted by elijathegold View Post
          Try going to a tty and, if it exists, renaming /etc/X11/xorg.conf to something else and then starting X. If it works, try rebooting.
          The first step of that worked. I renamed xorg.conf to xorg.congOLD and then did startx. Went straight to the SDDM loading screen and the system loaded fine. But when I rebooted the same black screen came up instead of the login screen.

          The new xorg.conf generated after I rebooted was identical with the old one.

          Comment


            #6
            A black screen without mouse or keyboard activity usually means that the ~/.Xauthority got owned by root. Boot into the recovery mode with the file system mounted and use chown to change the ownership of /home/youracctname/~.Xauthority to yourname:yourname. Then reboot.
            "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


              #7
              Originally posted by GreyGeek View Post
              A black screen without mouse or keyboard activity usually means that the ~/.Xauthority got owned by root. Boot into the recovery mode with the file system mounted and use chown to change the ownership of /home/youracctname/~.Xauthority to yourname:yourname. Then reboot.
              Still owned by my account. rw -- --

              Comment


                #8
                Originally posted by GreyGeek View Post
                A black screen without mouse or keyboard activity usually means that the ~/.Xauthority got owned by root. Boot into the recovery mode with the file system mounted and use chown to change the ownership of /home/youracctname/~.Xauthority to yourname:yourname. Then reboot.
                Or a some kind of graphics driver problem which the fact it works after renaming the xorg.conf supports. @mrcannibal, are you using proprietary drivers?
                If you're sitting wondering,
                Which Batman is the best,
                There's only one true answer my friend,
                It's Adam Bloody West!

                Comment


                  #9
                  Post the contents of the /etc/X11/xorg.conf so we can take a look at what is being included.
                  Using Kubuntu Linux since March 23, 2007
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Originally posted by elijathegold View Post
                    Or a some kind of graphics driver problem which the fact it works after renaming the xorg.conf supports. @mrcannibal, are you using proprietary drivers?
                    Yeah, the blob type nvidia drivers. I was suspecting that might be it but I wasn't sure because I could log in just fine with kernel -38 using the same drivers. The drivers panel from system settings gives 3 options. nvidia-352 (recommended), nvidia-352-updates and xserver-xorg-video-nouveau which was the default. I don't remember when (if I even did that) I selected the nvidia-352-updates package but it was the one selected. When I used the rm xorg.conf to log in using kernel -39, I tried to switch to nvidia-352 through the drivers panel, the muon package driver and by trying to install them with apt but all three methods failed.

                    I then booted again with -38, the drivers panel didn't have any problem switching to nvidia-352, rebooted with -39 and logged in normally. The only odd thing now is that the xorg.conf file is missing. I renamed the xorg-confOLD into xorg.conf and rebooted and it disappeared again. Instead, I've got two identical files, xorg.conf06152016 and xorg.conf06162016

                    Kinda hoping X won't start generating a different xorg.conf for every day of the year.

                    Originally posted by Snowhog View Post
                    Post the contents of the /etc/X11/xorg.conf so we can take a look at what is being included.
                    No xorg.conf but these are the contents of both the xorg.conf* I've got in X11/

                    Code:
                    Section "ServerLayout"
                        Identifier "layout"
                        Screen 0 "nvidia"
                        Inactive "intel"
                    EndSection
                    
                    Section "Device"
                        Identifier "intel"
                        Driver "intel"
                        BusID "PCI:0@0:2:0"
                        Option "AccelMethod" "SNA"
                    EndSection
                    
                    Section "Screen"
                        Identifier "intel"
                        Device "intel"
                    EndSection
                    
                    Section "Device"
                        Identifier "nvidia"
                        Driver "nvidia"
                        BusID "PCI:4@0:0:0"
                        Option "ConstrainCursor" "off"
                    EndSection
                    
                    Section "Screen"
                        Identifier "nvidia"
                        Device "nvidia"
                        Option "AllowEmptyInitialConfiguration" "on"
                        Option "IgnoreDisplayDevices" "CRT"
                    EndSection

                    Comment


                      #11
                      The Nvidia drivers should be updated when the kernel is, especially if installed from the driver manager. When booted into your new kernel you could try running
                      Code:
                      sudo dpkg-reconfigure nvidia-352
                      or
                      Code:
                      sudo dpkg-reconfigure nvidia-352-updates
                      depending on which you have selected and then rebooting. Just for more information, what is the output from the command
                      Code:
                      apt policy nvidia-current
                      If you're sitting wondering,
                      Which Batman is the best,
                      There's only one true answer my friend,
                      It's Adam Bloody West!

                      Comment


                        #12
                        Originally posted by elijathegold View Post
                        The Nvidia drivers should be updated when the kernel is, especially if installed from the driver manager. When booted into your new kernel you could try running
                        Code:
                        sudo dpkg-reconfigure nvidia-352
                        or
                        Code:
                        sudo dpkg-reconfigure nvidia-352-updates
                        depending on which you have selected and then rebooting. Just for more information, what is the output from the command
                        Code:
                        apt policy nvidia-current
                        Reconfiguring nvidia-352 went fine and rebooted without issue. Apt policy nvidia-current returns
                        Code:
                        E: Invalid operation policy
                        Last edited by mrcannibal; Jun 16, 2016, 11:15 AM. Reason: typo

                        Comment


                          #13
                          Originally posted by mrcannibal View Post
                          Reconfiguring nvidia-352 went fine and rebooted without issue.
                          Excellent!
                          Originally posted by mrcannibal View Post
                          Apt policy nvidia-current returns
                          Code:
                          E: Invalid operation policy
                          Try
                          Code:
                          apt-cache policy
                          instead. Although it probably doesn't matter if it's working now and your OK with reconfiguring after the occasional kernel update.
                          If you're sitting wondering,
                          Which Batman is the best,
                          There's only one true answer my friend,
                          It's Adam Bloody West!

                          Comment


                            #14
                            Originally posted by elijathegold View Post
                            Excellent!

                            Try
                            Code:
                            apt-cache policy
                            instead. Although it probably doesn't matter if it's working now and your OK with reconfiguring after the occasional kernel update.

                            Code:
                            Package files:
                             100 /var/lib/dpkg/status
                                 release a=now
                             500 http://archive.getdeb.net/ubuntu/ trusty-getdeb/apps i386 Packages
                                 release v=14.04,o=GetDeb,a=trusty-getdeb,n=trusty-getdeb,l=GetDeb,c=apps
                                 origin archive.getdeb.net
                             500 http://archive.getdeb.net/ubuntu/ trusty-getdeb/apps amd64 Packages
                                 release v=14.04,o=GetDeb,a=trusty-getdeb,n=trusty-getdeb,l=GetDeb,c=apps
                                 origin archive.getdeb.net
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/universe Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/restricted Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/multiverse Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/main Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/universe i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/multiverse i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/main i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/restricted i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/universe amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/multiverse amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed/restricted amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-proposed,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             500 http://extras.ubuntu.com/ubuntu/ trusty/main i386 Packages
                                 release v=14.04,o=LP-PPA-app-review-board,a=trusty,n=trusty,l=Application Review Board PPA,c=main
                                 origin extras.ubuntu.com
                             500 http://extras.ubuntu.com/ubuntu/ trusty/main amd64 Packages
                                 release v=14.04,o=LP-PPA-app-review-board,a=trusty,n=trusty,l=Application Review Board PPA,c=main
                                 origin extras.ubuntu.com
                             500 http://archive.canonical.com/ubuntu/ trusty/partner Translation-en
                             500 http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages
                                 release v=14.04,o=Canonical,a=trusty,n=trusty,l=Partner archive,c=partner
                                 origin archive.canonical.com
                             500 http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages
                                 release v=14.04,o=Canonical,a=trusty,n=trusty,l=Partner archive,c=partner
                                 origin archive.canonical.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/universe Translation-en
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted Translation-en
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/multiverse Translation-en
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/main Translation-en
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/multiverse i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=multiverse
                                 origin security.ubuntu.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=universe
                                 origin security.ubuntu.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
                                 origin security.ubuntu.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
                                 origin security.ubuntu.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/multiverse amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=multiverse
                                 origin security.ubuntu.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=universe
                                 origin security.ubuntu.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=restricted
                                 origin security.ubuntu.com
                             500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-security,n=trusty,l=Ubuntu,c=main
                                 origin security.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/universe Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/restricted Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/multiverse Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/main Translation-en
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/multiverse i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/universe i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/restricted i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/main i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/multiverse amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/universe amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/restricted amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             100 http://gb.archive.ubuntu.com/ubuntu/ trusty-backports/main amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-backports,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/universe Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/restricted Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/universe i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/restricted i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/restricted amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty-updates,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe Translation-en_GB
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/restricted Translation-en_GB
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/restricted Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-en_GB
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/multiverse Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main Translation-en_GB
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main Translation-en
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/multiverse i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/restricted i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=multiverse
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=universe
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/restricted amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=restricted
                                 origin gb.archive.ubuntu.com
                             500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
                                 release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
                                 origin gb.archive.ubuntu.com
                            Pinned packages:
                            Has worked fine so far. I'll see if the problem continues after I re-install and fiddle around a bit.

                            Comment


                              #15
                              Update: Tried fresh install, since I thought I had worked out all the kinks and was going for a permanent one this time, update everything plus kernel to 0-41, restart goes well. As soon as I activate nvidia-352, it broke again and reconfiguring the package didn't fix it this time.

                              Seems like every kernel update is going to break the graphical system if the nvidia drivers are in use. This is becoming more trouble than it's worth.

                              Comment

                              Working...
                              X