Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamecon script fails #1258

Closed
TimGeyssens opened this issue Feb 11, 2016 · 30 comments
Closed

Gamecon script fails #1258

TimGeyssens opened this issue Feb 11, 2016 · 30 comments

Comments

@TimGeyssens
Copy link

Can't get the gamecon script to finish successfully, tried both on RetroPie 3.4 and 3.5, always get failed to install...

@joolswills
Copy link
Member

Please post a log via pastebin.com (logs are stored in RetroPie-Setup/logs)

@TimGeyssens
Copy link
Author

I'm pretty new to this, any chance you can point me to a way of viewing the log files (tried tail but the log format seems compressed), thank you

@TimGeyssens
Copy link
Author

Ok found it, will try to get the whole file up here but in the meantime the error I get seems to be

ERROR: Module gamecon_gpio_rpi not found

@joolswills
Copy link
Member

can decompress it with 7zip on windows.

there is a known issue with installing the gamecon module once it has been built - see #1234 for a solution.

@joolswills
Copy link
Member

I think this is the same issue so please use the other ticket if that fix works.

@TimGeyssens
Copy link
Author

Not sure that issue is that related though, since when I run the command

modprobe gamecon_gpio_rpi map=0,0,2,0,0,0

I also get the error message

modprobe: FATAL: Module gamecon_gpio_rpi not found

@joolswills
Copy link
Member

ok so it didn't even compile perhaps.

I will need the log to see why (I will try myself when I have some free time).

@TimGeyssens
Copy link
Author

Ok trying to get to log up here, thank you for your help!

@TimGeyssens
Copy link
Author

Yeah you are right it doesn't compile, when I check the log file for

/var/lib/dkms/db9_gpio_rpi/1.0/build/make.log

It states

ERROR: Kernel configuration is invalid
include/generated/autoconf.h or include/config/auto.conf are missing
Run 'make oldconfig && make prepare' on kernel src to fix it

@joolswills
Copy link
Member

I need to see the retropie-setup build log also please.

@TimGeyssens
Copy link
Author

Ok just trying to figure out how to get it on my machine (from the pi)

@joolswills
Copy link
Member

via an sftp client ?

@TimGeyssens
Copy link
Author

Ok got it, you can find the log attached, again thanks for the help on this :)
log.txt

joolswills added a commit that referenced this issue Feb 11, 2016
@joolswills
Copy link
Member

please update retropie-setup and try again

@TimGeyssens
Copy link
Author

WIll do, is that following this guide? https://github.com/RetroPie/RetroPie-Setup/wiki/Updating-RetroPie Or which command should I execute?

@joolswills
Copy link
Member

just the updating the script bit from that guide - you don't need to do a full binary install.

@TimGeyssens
Copy link
Author

Okido

@joolswills
Copy link
Member

if it compiles there is still the problem mentioned in the other issue - so follow that to enable the module on boot etc. I have yet to fix up the module for that (but will do)

@TimGeyssens
Copy link
Author

Hey, updated the script and now I get

Could not install package(s) : gcc-4.7 .

@joolswills
Copy link
Member

I need a full log again. gcc-4.7 is available in the jessie repositories so it should install (it is required by the kernel headers for the gamecondriver)

@joolswills
Copy link
Member

you started from a retropie 3.4 or 3.5 image or ?

@TimGeyssens
Copy link
Author

On a 3.5 image

@joolswills
Copy link
Member

i'll check on my rpi (was testing on my dev environment)

@joolswills
Copy link
Member

works fine on my rpi with retropie 3.5 - perhaps you had a networking problem - I can't tell without seeing the log.

@TimGeyssens
Copy link
Author

Ok just a sec will get the log

@TimGeyssens
Copy link
Author

Tried to install again and now it seems to be in progress a bit longer, fingers crossed (will report back here)

@TimGeyssens
Copy link
Author

Seemed to have worked now, thanks so much for the help!

@joolswills
Copy link
Member

Welcome. I just fixed issue #1234 so please update retropie-setup and re-run the setup for gamecondriver and it should set the configs up correctly.

@TimGeyssens
Copy link
Author

Nice you rock :) 🎸 !

@joolswills
Copy link
Member

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants