DB9/Gamecon installation error
-
Good evening,
Pi Model or other hardware: PI3 b
Power Supply used: SteepDown in 5.1v 3a
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.2 ~ 4.3.8
Built From: Berryboot, Image created from the last version available on the site.
USB Devices connected: HDD Seagate 500 - Usb Storage 8gb
Controller used: Keyboard, Dualshock3 and Xbox 360 controler
Error messages received:
GameconGpio Driver installation FAILED
Db9 GPIO Driver installation FAILEDLog found in /dev/shm/runcommand.log (if relevant): /home/pi/RetroPie-Setup/logs
Guide used: (Mention if you followed a guide)
File: (File with issue - with FULL path)
Emulator: (Name of emulator - if applicable)
Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)I get this error when installing Drive for Db9 Gpio, is there a solution?
Log started at: Dom Jan 14 01:41:28 -02 2018
RetroPie-Setup version: 4.3.8 (f482904)
System: Linux retropie 4.9.26v7-aufs #1 SMP Tue May 9 20:14:03 CEST 2017 armv7l GNU/Linux= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'gamecondriver' : Gamecon & db9 drivers
= = = = = = = = = = = = = = = = = = = = == = = = = = = = = = = = = = = = = = = = =
Installing 'gamecondriver' : Gamecon & db9 drivers
= = = = = = = = = = = = = = = = = = = = =A seleccionar pacote anteriormente não seleccionado gamecon-gpio-rpi-dkms.
(Lendo banco de dados ... 141750 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar gamecon-gpio-rpi-dkms_1.3_all.deb ...
A descompactar gamecon-gpio-rpi-dkms (1.3) ...
Configurando gamecon-gpio-rpi-dkms (1.3) ...
Loading new gamecon_gpio_rpi-1.3 DKMS files...
First Installation: checking all kernels...
dpkg: aviso: versão '-' tem sintaxe errada: número de versão não começa com um dígito
It is likely that 4.9.26v7-aufs belongs to a chroot's host
Building for architecture armv7l
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
A seleccionar pacote anteriormente não seleccionado db9-gpio-rpi-dkms.
(Lendo banco de dados ... 141758 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar db9-gpio-rpi-dkms_1.1_all.deb ...
A descompactar db9-gpio-rpi-dkms (1.1) ...
Configurando db9-gpio-rpi-dkms (1.1) ...
Loading new db9_gpio_rpi-1.1 DKMS files...
First Installation: checking all kernels...
dpkg: aviso: versão '-' tem sintaxe errada: número de versão não começa com um dígito
It is likely that 4.9.26v7-aufs belongs to a chroot's host
Building for architecture armv7l
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
modinfo: ERROR: Module gamecon_gpio_rpi not found.
modinfo: ERROR: Module db9_gpio_rpi not found.
Gamecon GPIO driver installation FAILED
Db9 GPIO driver installation FAILEDLog ended at: Dom Jan 14 01:41:41 -02 2018
Total running time: 0 hours, 0 mins, 13 secs -
@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. -
@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?
-
@luizoti Why do you want the drivers installed ? Do you have the hardware/gameblock attached to your PI ?
-
@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. -
@luizoti Alright then, installing the kernel headers for your kernel can be done via
apt-get
oraptitude
, from a command line on the Pi. Runsudo apt-get -y install linux-headers-`uname -r`
-
@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' -
@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 withapt-get -y install raspberrypi-kernel-headers
If this works, re-run the RetroPie-Setup script again and try to install the drivers.
-
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.
-
@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
-
@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. -
-
@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 -
@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 ?
-
@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?
-
@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. -
@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?
-
@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.
-
@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.
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.