RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    DB9/Gamecon installation error

    Scheduled Pinned Locked Moved Help and Support
    genesisgpiodb9-gpio-rpi
    19 Posts 2 Posters 3.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator @luizoti
      last edited by mitu

      @luizoti said in DB9/Gamecon installation error:

      The error comes from:

      Module build for the currently running kernel was skipped since the
      kernel source for this kernel does not seem to be installed.

      You have a custom kernel installed (4.9.26v7-aufs) and the installer thinks you're running in a chroot so it doesn't install the kernel sources and headers automatically. You need to install the corresponding linux-headers package for your kernel and try again.

      L 1 Reply Last reply Reply Quote 0
      • L
        luizoti @mitu
        last edited by

        @mitu said in DB9/Gamecon installation error:

        @luizoti said in DB9/Gamecon installation error:

        The error comes from:

        Module build for the currently running kernel was skipped since the
        kernel source for this kernel does not seem to be installed.

        You have a custom kernel installed (4.9.26v7-aufs) and the installer thinks you're running in a chroot so it doesn't install the kernel sources and headers automatically. You need to install the corresponding linux-headers package for your kernel and try again.

        How do I do that?

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @luizoti
          last edited by

          @luizoti Why do you want the drivers installed ? Do you have the hardware/gameblock attached to your PI ?

          L 1 Reply Last reply Reply Quote 0
          • L
            luizoti @mitu
            last edited by

            @mitu
            I intend to use Genesis controls directly on the GPIO, I've already connected, to do the tests, but the drive does not install.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @luizoti
              last edited by

              @luizoti Alright then, installing the kernel headers for your kernel can be done via apt-get or aptitude, from a command line on the Pi. Run

              sudo apt-get -y install linux-headers-`uname -r`
              
              1 Reply Last reply Reply Quote 0
              • L
                luizoti
                last edited by

                @mitu said in DB9/Gamecon installation error:

                sudo apt-get -y install linux-headers-uname -r

                I tried the command that passed me and I got this error, Any idea?

                pi @ retropie: ~ $ sudo apt-get -y install linux-headers-4.9.26v7-aufs
                Reading package lists ... Ready
                Building dependency tree
                Reading status information ... Ready
                E: Unable to find package linux-headers-4.9.26v7-aufs
                E: The package could not be found through the regular expression 'linux-headers-4.9.26v7-aufs'

                mituM L 2 Replies Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @luizoti
                  last edited by mitu

                  @luizoti Seems similar to https://www.raspberrypi.org/forums/viewtopic.php?t=131788. Update your kernel to the latest via

                  apt-get update
                  apt-get dist-upgrade
                  

                  followed by a reboot. The previous commands will take some time, so you'll have to be patient. After rebooting, verify that your kernel is at version 4.9.35-v7+ with the command uname -r and install the kernel headers with

                  apt-get -y install raspberrypi-kernel-headers
                  

                  If this works, re-run the RetroPie-Setup script again and try to install the drivers.

                  1 Reply Last reply Reply Quote 0
                  • L
                    luizoti @luizoti
                    last edited by

                    @luizoti

                    It does not work, the command does not update the kernel. I had already tried installing the 4.9.35-v7 + kernel via .deb, but it did not work either.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @luizoti
                      last edited by

                      @luizoti said in DB9/Gamecon installation error:

                      I had already tried installing the 4.9.35-v7 + kernel via .deb, but it did not work either.

                      You shouldn't try installing .deb files directly. What happens if you try to run:

                      sudo apt-get -y install raspberrypi-kernel raspberrypi-kernel-headers
                      

                      This should install

                      1 Reply Last reply Reply Quote 0
                      • L
                        luizoti
                        last edited by

                        @mitu said in DB9/Gamecon installation error:

                        sudo apt-get -y install raspberrypi-kernel raspberrypi-kernel-headers

                        All installed.

                        Reading package lists ... Ready
                        Building dependency tree
                        Reading status information ... Ready
                        raspberrypi-kernel is already the newest version.
                        raspberrypi-kernel-headers is already the newest version.
                        0 packages upgraded, 0 new packages installed, 0 to be removed and 0 not upgraded.

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @luizoti
                          last edited by

                          @luizoti what does

                          apt-cache show raspberrypi-kernel
                          

                          output ?

                          1 Reply Last reply Reply Quote 0
                          • L
                            luizoti
                            last edited by

                            @mitu said in DB9/Gamecon installation error:

                            output ?

                            Package: raspberrypi-kernel
                            Source: raspberrypi-firmware
                            Version: 1.20170703-1
                            Architecture: armhf
                            Maintainer: Serge Schneider serge@raspberrypi.org
                            Installed-Size: 110932
                            Breaks: raspberrypi-bootloader (<< 1.20160324-1)
                            Replaces: raspberrypi-bootloader (<< 1.20160324-1)
                            Provides: linux-image
                            Homepage: https://github.com/raspberrypi/firmware
                            Priority: extra
                            Section: kernel
                            Filename: pool/main/r/raspberrypi-firmware/raspberrypi-kernel_1.20170703-1_armhf.deb
                            Size: 31621828
                            SHA256: 2da176335d2760e452805f6f02b205b77e9a6427cdc4f0aeed82e8fcdff38035
                            SHA1: faa739c461cb038bd86102372a87683d0f9f9664
                            MD5sum: 06e80e9ebab01b7dffe1b4e6ea173978
                            Description: Raspberry Pi bootloader
                            This package contains the Raspberry Pi Linux kernel.
                            Description-md5: 7536ab227cf13dcddacdeb86a3d06624

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @luizoti
                              last edited by

                              @luizoti Looks right, except the kernel you're running is not the one in this package. Did you manually install another kernel over the distro-provided kernel ?

                              1 Reply Last reply Reply Quote 0
                              • L
                                luizoti
                                last edited by

                                @mitu said in DB9/Gamecon installation error:

                                Did you manually install another kernel over the distro-provided kernel ?

                                I would not know how to do it, if I did it, I did not mean to.

                                Would rpi-update have the ability to install another kernel?

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @luizoti
                                  last edited by mitu

                                  @luizoti Ok

                                  @luizoti said in DB9/Gamecon installation error:

                                  I would not know how to do it, if I did it, I did not mean to.

                                  OK, so reading more - the mismatch is because of the Berryboot env. It boots with the Berryboot kernel and not with the Raspbian kernel (the one included in the raspberrypi-kernel), hence the problem.
                                  I also found https://github.com/RetroPie/RetroPie-Setup/issues/1428. As said in the issue, one solution is to use the RetroPie image instead of the Berryboot one.

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    luizoti
                                    last edited by

                                    @mitu said in DB9/Gamecon installation error:

                                    As said in the issue, one solution is to use the RetroPie image instead of the Berryboot one.

                                    The solution is not to use Berryboot?

                                    Do you know a way to convert a berryboot image to normal SD?

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @luizoti
                                      last edited by

                                      @luizoti said in DB9/Gamecon installation error:

                                      Do you know a way to convert a berryboot image to normal SD?

                                      I don't, didn't work with Berryboot, only normal images.

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        luizoti
                                        last edited by

                                        @mitu said in DB9/Gamecon installation error:

                                        I don't, didn't work with Berryboot, only normal images.

                                        Thanks for the help, I'll look for a way to convert an image.

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.