What would cause my video driver to stop working after every update? Announcing the arrival of...

Amount of permutations on an NxNxN Rubik's Cube

Is it a good idea to use CNN to classify 1D signal?

Can anything be seen from the center of the Boötes void? How dark would it be?

How do living politicians protect their readily obtainable signatures from misuse?

What initially awakened the Balrog?

What order were files/directories outputted in dir?

Why weren't discrete x86 CPUs ever used in game hardware?

Most bit efficient text communication method?

Why wasn't DOSKEY integrated with COMMAND.COM?

Performance gap between vector<bool> and array

How to write this math term? with cases it isn't working

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

What's the meaning of "fortified infraction restraint"?

Can the Great Weapon Master feat's damage bonus and accuracy penalty apply to attacks from the Spiritual Weapon spell?

Is CEO the "profession" with the most psychopaths?

Do I really need to have a message in a novel to appeal to readers?

What is the difference between globalisation and imperialism?

Disembodied hand growing fangs

Why should I vote and accept answers?

How to write the following sign?

Why is the AVR GCC compiler using a full `CALL` even though I have set the `-mshort-calls` flag?

What was the first language to use conditional keywords?

Crossing US/Canada Border for less than 24 hours

Morning, Afternoon, Night Kanji



What would cause my video driver to stop working after every update?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionWhat does nouveau's “func 08 lookup failed, -2” mean?Arch Linux VGA video problemCan't boot after grub update on Arch“Illegal instruction (core dumped)” in __lll_lock_elision() for various programs after suspend with initramfs (Arch/Manjaro)GRUB confuses kernels/initramfs of Ubuntu and Arch Linux installationtty and grub boot unreadable with nvidia K1100M on zbook 15 g2 with intelCan I disable shutdown if pacman is running?Cannot start archlinux after update: Cannot find uuidKernel Update leads to xOrg errorVirtualbox VMDK to bootable usb stick not workingArch Linux stuck at “Loading version 240” after modifying configs





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















I am not sure if this is a systemd issue (like order of loading modules) or a video driver issue. It does seem like every time




  • I update boot-related stuff from a chrooted environment using my Arch ISO USB Stick, everything works.

  • It is when I update from a running native system that things go sour AND I think when boot-related things are in that update.


UPDATE 2016-04-18



I changed root (arch-chroot) into the machine and tried to rebuild the kernel with mkinitcpio -p linux. I get the following error:




ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




uname -r (check kernel version) yields



4.3.3-2-ARCH



The folders in /lib/modules/



4.5.0-1-ARCH
extramodules-4.5-ARCH


Obviously when the kernel version numbers do not match the module version numbers, this is not good. Why would this happen? This would mean there is a problem with the way the system updates itself (pacman). Or did I do something wrong?




pacman -Qo /lib/modules/4.5.0-1-ARCH (check package owner) yields



/usr/lib/modules/4.5.0-1-ARCH/ is owned by linux 4.5-1
/usr/lib/modules/4.5.0-1-ARCH/ is owned by linux-headers 4.5-1


If you give me suggestions in the comments, I'll try to be prompt at adding information.



When Problem Happens



After running yaourt -Syau --noconfirm and rebooting, upon next boot my screen resolution gets messed up (appears the driver is working) and USB devices (keyboard+mouse) become nonresponsive. Could this be due to Grub?



Error after grub boot screen is




  • Failure to Load Kernel Modules


Machine Information




  1. Bootloader is Grub 2

  2. OS Arch Linux

  3. Graphics GeForce 9500 GT (rev a1) with driver nouveau (acquired using lspci -v | grep VGA -A 10)


I can chroot into this machine by booting from an Arch ISO USB stick. Maybe it is helpful to know that I have recovered the system by waiting a few days for another update and then updating the system from a chrooted environment. Suddenly, everything starts working again. This has happened three times already. It just happened today and it is getting irritating.



enter image description hereenter image description here



Possibly Related Questions




  • https://unix.stackexchange.com/questions/224468/x-stopped-working-after-a-kernel-update

  • What does nouveau's "func 08 lookup failed, -2" mean?










share|improve this question































    3















    I am not sure if this is a systemd issue (like order of loading modules) or a video driver issue. It does seem like every time




    • I update boot-related stuff from a chrooted environment using my Arch ISO USB Stick, everything works.

    • It is when I update from a running native system that things go sour AND I think when boot-related things are in that update.


    UPDATE 2016-04-18



    I changed root (arch-chroot) into the machine and tried to rebuild the kernel with mkinitcpio -p linux. I get the following error:




    ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




    uname -r (check kernel version) yields



    4.3.3-2-ARCH



    The folders in /lib/modules/



    4.5.0-1-ARCH
    extramodules-4.5-ARCH


    Obviously when the kernel version numbers do not match the module version numbers, this is not good. Why would this happen? This would mean there is a problem with the way the system updates itself (pacman). Or did I do something wrong?




    pacman -Qo /lib/modules/4.5.0-1-ARCH (check package owner) yields



    /usr/lib/modules/4.5.0-1-ARCH/ is owned by linux 4.5-1
    /usr/lib/modules/4.5.0-1-ARCH/ is owned by linux-headers 4.5-1


    If you give me suggestions in the comments, I'll try to be prompt at adding information.



    When Problem Happens



    After running yaourt -Syau --noconfirm and rebooting, upon next boot my screen resolution gets messed up (appears the driver is working) and USB devices (keyboard+mouse) become nonresponsive. Could this be due to Grub?



    Error after grub boot screen is




    • Failure to Load Kernel Modules


    Machine Information




    1. Bootloader is Grub 2

    2. OS Arch Linux

    3. Graphics GeForce 9500 GT (rev a1) with driver nouveau (acquired using lspci -v | grep VGA -A 10)


    I can chroot into this machine by booting from an Arch ISO USB stick. Maybe it is helpful to know that I have recovered the system by waiting a few days for another update and then updating the system from a chrooted environment. Suddenly, everything starts working again. This has happened three times already. It just happened today and it is getting irritating.



    enter image description hereenter image description here



    Possibly Related Questions




    • https://unix.stackexchange.com/questions/224468/x-stopped-working-after-a-kernel-update

    • What does nouveau's "func 08 lookup failed, -2" mean?










    share|improve this question



























      3












      3








      3








      I am not sure if this is a systemd issue (like order of loading modules) or a video driver issue. It does seem like every time




      • I update boot-related stuff from a chrooted environment using my Arch ISO USB Stick, everything works.

      • It is when I update from a running native system that things go sour AND I think when boot-related things are in that update.


      UPDATE 2016-04-18



      I changed root (arch-chroot) into the machine and tried to rebuild the kernel with mkinitcpio -p linux. I get the following error:




      ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




      uname -r (check kernel version) yields



      4.3.3-2-ARCH



      The folders in /lib/modules/



      4.5.0-1-ARCH
      extramodules-4.5-ARCH


      Obviously when the kernel version numbers do not match the module version numbers, this is not good. Why would this happen? This would mean there is a problem with the way the system updates itself (pacman). Or did I do something wrong?




      pacman -Qo /lib/modules/4.5.0-1-ARCH (check package owner) yields



      /usr/lib/modules/4.5.0-1-ARCH/ is owned by linux 4.5-1
      /usr/lib/modules/4.5.0-1-ARCH/ is owned by linux-headers 4.5-1


      If you give me suggestions in the comments, I'll try to be prompt at adding information.



      When Problem Happens



      After running yaourt -Syau --noconfirm and rebooting, upon next boot my screen resolution gets messed up (appears the driver is working) and USB devices (keyboard+mouse) become nonresponsive. Could this be due to Grub?



      Error after grub boot screen is




      • Failure to Load Kernel Modules


      Machine Information




      1. Bootloader is Grub 2

      2. OS Arch Linux

      3. Graphics GeForce 9500 GT (rev a1) with driver nouveau (acquired using lspci -v | grep VGA -A 10)


      I can chroot into this machine by booting from an Arch ISO USB stick. Maybe it is helpful to know that I have recovered the system by waiting a few days for another update and then updating the system from a chrooted environment. Suddenly, everything starts working again. This has happened three times already. It just happened today and it is getting irritating.



      enter image description hereenter image description here



      Possibly Related Questions




      • https://unix.stackexchange.com/questions/224468/x-stopped-working-after-a-kernel-update

      • What does nouveau's "func 08 lookup failed, -2" mean?










      share|improve this question
















      I am not sure if this is a systemd issue (like order of loading modules) or a video driver issue. It does seem like every time




      • I update boot-related stuff from a chrooted environment using my Arch ISO USB Stick, everything works.

      • It is when I update from a running native system that things go sour AND I think when boot-related things are in that update.


      UPDATE 2016-04-18



      I changed root (arch-chroot) into the machine and tried to rebuild the kernel with mkinitcpio -p linux. I get the following error:




      ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




      uname -r (check kernel version) yields



      4.3.3-2-ARCH



      The folders in /lib/modules/



      4.5.0-1-ARCH
      extramodules-4.5-ARCH


      Obviously when the kernel version numbers do not match the module version numbers, this is not good. Why would this happen? This would mean there is a problem with the way the system updates itself (pacman). Or did I do something wrong?




      pacman -Qo /lib/modules/4.5.0-1-ARCH (check package owner) yields



      /usr/lib/modules/4.5.0-1-ARCH/ is owned by linux 4.5-1
      /usr/lib/modules/4.5.0-1-ARCH/ is owned by linux-headers 4.5-1


      If you give me suggestions in the comments, I'll try to be prompt at adding information.



      When Problem Happens



      After running yaourt -Syau --noconfirm and rebooting, upon next boot my screen resolution gets messed up (appears the driver is working) and USB devices (keyboard+mouse) become nonresponsive. Could this be due to Grub?



      Error after grub boot screen is




      • Failure to Load Kernel Modules


      Machine Information




      1. Bootloader is Grub 2

      2. OS Arch Linux

      3. Graphics GeForce 9500 GT (rev a1) with driver nouveau (acquired using lspci -v | grep VGA -A 10)


      I can chroot into this machine by booting from an Arch ISO USB stick. Maybe it is helpful to know that I have recovered the system by waiting a few days for another update and then updating the system from a chrooted environment. Suddenly, everything starts working again. This has happened three times already. It just happened today and it is getting irritating.



      enter image description hereenter image description here



      Possibly Related Questions




      • https://unix.stackexchange.com/questions/224468/x-stopped-working-after-a-kernel-update

      • What does nouveau's "func 08 lookup failed, -2" mean?







      arch-linux upgrade video graphics






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 6 hours ago









      Rui F Ribeiro

      42.2k1484142




      42.2k1484142










      asked Apr 16 '16 at 9:54









      Jonathan KomarJonathan Komar

      93821032




      93821032






















          1 Answer
          1






          active

          oldest

          votes


















          4














          It is important to note immediately that it is not just the video that has been disrupted. The modules/drivers were not permitted to load because of version-matching restraints.



          Update



          This can be caused by having an error in /etc/fstab in the /boot mount for those who keep boot on a separate partition (usually EFI main boards). If during an update this partition is not mounted, the modules could (likely would) get upgraded while the kernel, which resides in /boot, would not. dkms normally prevents kernel-module mismatches.





          I did indeed have kernel + module mismatch that led to the error message




          ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




          mentioned in the question.



          To fix it, I needed to boot from an Arch USB Stick and mount the OS and BOOT partitions to /mnt and /mnt/boot, respectively. I had to change root over to the machine arch-chroot /mnt /bin/bashand update my kernel manually (and forcefully).



          pacman -Sy linux --force


          This brought my system's kernel up to date with the modules (4.4.5-1-ARCH) such that they match (as they absolutely should!)



          As to why there was a kernel + module mismatch, I don't know. I am hoping [dkms][1] will prevent this in the future. In my case, the modules weren't built when the new kernel was installed, rather, the modules were updated when the kernel was not.




          Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.




          *Lerhaupt, Gary (September 1, 2003). "Kernel Korner - Exploring Dynamic Kernel Module Support (DKMS)". Linux Journal. Retrieved March 12, 2016.






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f276866%2fwhat-would-cause-my-video-driver-to-stop-working-after-every-update%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            It is important to note immediately that it is not just the video that has been disrupted. The modules/drivers were not permitted to load because of version-matching restraints.



            Update



            This can be caused by having an error in /etc/fstab in the /boot mount for those who keep boot on a separate partition (usually EFI main boards). If during an update this partition is not mounted, the modules could (likely would) get upgraded while the kernel, which resides in /boot, would not. dkms normally prevents kernel-module mismatches.





            I did indeed have kernel + module mismatch that led to the error message




            ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




            mentioned in the question.



            To fix it, I needed to boot from an Arch USB Stick and mount the OS and BOOT partitions to /mnt and /mnt/boot, respectively. I had to change root over to the machine arch-chroot /mnt /bin/bashand update my kernel manually (and forcefully).



            pacman -Sy linux --force


            This brought my system's kernel up to date with the modules (4.4.5-1-ARCH) such that they match (as they absolutely should!)



            As to why there was a kernel + module mismatch, I don't know. I am hoping [dkms][1] will prevent this in the future. In my case, the modules weren't built when the new kernel was installed, rather, the modules were updated when the kernel was not.




            Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.




            *Lerhaupt, Gary (September 1, 2003). "Kernel Korner - Exploring Dynamic Kernel Module Support (DKMS)". Linux Journal. Retrieved March 12, 2016.






            share|improve this answer






























              4














              It is important to note immediately that it is not just the video that has been disrupted. The modules/drivers were not permitted to load because of version-matching restraints.



              Update



              This can be caused by having an error in /etc/fstab in the /boot mount for those who keep boot on a separate partition (usually EFI main boards). If during an update this partition is not mounted, the modules could (likely would) get upgraded while the kernel, which resides in /boot, would not. dkms normally prevents kernel-module mismatches.





              I did indeed have kernel + module mismatch that led to the error message




              ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




              mentioned in the question.



              To fix it, I needed to boot from an Arch USB Stick and mount the OS and BOOT partitions to /mnt and /mnt/boot, respectively. I had to change root over to the machine arch-chroot /mnt /bin/bashand update my kernel manually (and forcefully).



              pacman -Sy linux --force


              This brought my system's kernel up to date with the modules (4.4.5-1-ARCH) such that they match (as they absolutely should!)



              As to why there was a kernel + module mismatch, I don't know. I am hoping [dkms][1] will prevent this in the future. In my case, the modules weren't built when the new kernel was installed, rather, the modules were updated when the kernel was not.




              Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.




              *Lerhaupt, Gary (September 1, 2003). "Kernel Korner - Exploring Dynamic Kernel Module Support (DKMS)". Linux Journal. Retrieved March 12, 2016.






              share|improve this answer




























                4












                4








                4







                It is important to note immediately that it is not just the video that has been disrupted. The modules/drivers were not permitted to load because of version-matching restraints.



                Update



                This can be caused by having an error in /etc/fstab in the /boot mount for those who keep boot on a separate partition (usually EFI main boards). If during an update this partition is not mounted, the modules could (likely would) get upgraded while the kernel, which resides in /boot, would not. dkms normally prevents kernel-module mismatches.





                I did indeed have kernel + module mismatch that led to the error message




                ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




                mentioned in the question.



                To fix it, I needed to boot from an Arch USB Stick and mount the OS and BOOT partitions to /mnt and /mnt/boot, respectively. I had to change root over to the machine arch-chroot /mnt /bin/bashand update my kernel manually (and forcefully).



                pacman -Sy linux --force


                This brought my system's kernel up to date with the modules (4.4.5-1-ARCH) such that they match (as they absolutely should!)



                As to why there was a kernel + module mismatch, I don't know. I am hoping [dkms][1] will prevent this in the future. In my case, the modules weren't built when the new kernel was installed, rather, the modules were updated when the kernel was not.




                Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.




                *Lerhaupt, Gary (September 1, 2003). "Kernel Korner - Exploring Dynamic Kernel Module Support (DKMS)". Linux Journal. Retrieved March 12, 2016.






                share|improve this answer















                It is important to note immediately that it is not just the video that has been disrupted. The modules/drivers were not permitted to load because of version-matching restraints.



                Update



                This can be caused by having an error in /etc/fstab in the /boot mount for those who keep boot on a separate partition (usually EFI main boards). If during an update this partition is not mounted, the modules could (likely would) get upgraded while the kernel, which resides in /boot, would not. dkms normally prevents kernel-module mismatches.





                I did indeed have kernel + module mismatch that led to the error message




                ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory




                mentioned in the question.



                To fix it, I needed to boot from an Arch USB Stick and mount the OS and BOOT partitions to /mnt and /mnt/boot, respectively. I had to change root over to the machine arch-chroot /mnt /bin/bashand update my kernel manually (and forcefully).



                pacman -Sy linux --force


                This brought my system's kernel up to date with the modules (4.4.5-1-ARCH) such that they match (as they absolutely should!)



                As to why there was a kernel + module mismatch, I don't know. I am hoping [dkms][1] will prevent this in the future. In my case, the modules weren't built when the new kernel was installed, rather, the modules were updated when the kernel was not.




                Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.




                *Lerhaupt, Gary (September 1, 2003). "Kernel Korner - Exploring Dynamic Kernel Module Support (DKMS)". Linux Journal. Retrieved March 12, 2016.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 28 '16 at 4:38

























                answered Apr 18 '16 at 17:49









                Jonathan KomarJonathan Komar

                93821032




                93821032






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f276866%2fwhat-would-cause-my-video-driver-to-stop-working-after-every-update%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...