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

vchiq_lib: Very incompatible VCHIQ library - cannot retrieve driver version #8

Closed
asayler opened this issue Jun 9, 2012 · 14 comments
Closed

Comments

@asayler
Copy link

asayler commented Jun 9, 2012

Running 'rpi-update' on a recently shipped (6/6/12) Raspberry Pi using the standard 4/19/12 RPI Debain Squeeze image results in the following error:

2282281000: vchiq_lib: Very incompatible VCHIQ library - cannot retrieve driver version

The rpi-update run then completes, and the RPi seems to boot and function correctly. I have not verified whether or not the firmware was actually updated, but it appears to have been given that the time stamps for the files in the /boot directory were updated.

Prior to running 'rpi-update', I ran 'apt-get update; apt-get upgrade' in order to update the OS to the latest version of all packages. I also had to run 'ldconfig' prior to running 'rpi-update' to fix the issue discussed here: #7.

It seems this may be related to the very similar issue discussed in basn's Jun 05, 2012 5:59pm post here: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=5037&p=92585.

@Hexxeh
Copy link
Owner

Hexxeh commented Jun 9, 2012

This isn't an issue with rpi-update. As the thread you linked describes, you'll see this error when you use an application compiled against an older version of the VC libs this tool updates.

@Hexxeh Hexxeh closed this as completed Jun 9, 2012
@asayler
Copy link
Author

asayler commented Jun 9, 2012

Noted. I mainly posted this here in case others that use rpi-update encounter it.

Is there a fix that you know of? Is it even really an issue that I should be concerned about?

@Hexxeh
Copy link
Owner

Hexxeh commented Jun 9, 2012

The "fix" is to recompile the application that complains against a new version of the libraries. The app probably won't work until you do.

@asayler
Copy link
Author

asayler commented Jun 9, 2012

Subsequent runs if rpi-update (removing /boot/.firmware_revision between each) do not produce the error. It appears that it's only the first run of rpi-update on an un-updated board lead to the error.

The "application" that was complaining was the rpi-updater itself (or since it is a script, one of the utilities that it calls, maybe whatever uses the SoftFP libraries). But since it seems to resolve itself after one run, it seems to be a non issue.

@XavM
Copy link

XavM commented Jun 14, 2012

Probleme can be reproduced with any first run of rpi-update against a fresh "install" on the stock 20120419 Debian Squeeze image.

Sequence :

First boot ever from a fresh 20120419 image
sudo apt-get update
sudo apt-get update
sudo apt-get install ca-certificates
sudo apt-get install git-core
sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update
sudo chmod +x /usr/bin/rpi-update
sudo rpi-update
    ---> ERROR : /opt/vc/sbin/vcfiled: error while loading shared libraries: libvchiq_arm.so: cannot open shared object file: No such file or directory
    ---> CF : https://github.com/Hexxeh/rpi-update/issues/7
sudo rm /boot/.firmware_revision
sudo ldconfig
sudo rpi-update
    ---> ERROR : 2769590689: vchiq_lib: Very incompatible VCHIQ library - cannot retrieve driver version
    ---> CF : https://github.com/Hexxeh/rpi-update/issues/8
sudo rm /boot/.firmware_revision
sudo reboot
sudo rpi-update
    ---> OK

Could it be something in the rpi-update logic around the sdk update that occurs but is not roll-backed after a ldconfig error ?

@spiliot
Copy link

spiliot commented Jun 14, 2012

Before running rpi-update you should:
sudo apt-get update
sudo apt-get upgrade

or rpi-update should be changed to be asking/doing it for you

@asayler
Copy link
Author

asayler commented Jun 14, 2012

As mentioned in my OP, I ran both apt-get update and apt-get upgrade prior to experiencing this error. The error XavM describes still occurs even after the upgrade (unless the issue has been fixed via a package upgrade in the last week).

@spiliot
Copy link

spiliot commented Jun 14, 2012

In my case, running upgrade fixed it and did it just yesterday. I don't have another sdcard at the moment to try from scratch but I will to confirm it.

@AXYPB
Copy link

AXYPB commented Jun 16, 2012

The steps above to upgrade and ldconfig still return this error for me.

@singpolyma
Copy link

The updater prints this error even after the first update, for me

@singpolyma
Copy link

It seems to be vcfiled throwing this error

@mikebranderhorst
Copy link

Fresh Debian 20120419 image

$ sudo passwd root
$ su
$ apt-get update
$ apt-get update
$ apt-get upgrade
$ apt-get install git
$ wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update
$ chmod +x /usr/bin/rpi-update
$ swapon -a
$ rpi-update
    ---> ERROR : 2769590689: vchiq_lib: Very incompatible VCHIQ library - cannot retrieve driver version
$ rm /boot/.firmware_revision
$ reboot
$ su
$ rpi-update
    ---> OK

@mgcrea
Copy link

mgcrea commented Jun 27, 2012

Same here.

@stefek99
Copy link

(somehow related)

http://www.raspberrypi.org/archives/1139

Quake III binaries available (only tested so far on the most recent Debian release) at radium.hexxeh.net/quake3.zip.

vchiq_lib: Very incompatible VCHIQ library

Hexxeh: #8 (comment)

The "fix" is to recompile the application that complains against a new version of the libraries. The app probably won't work until you do.

Are there any new versions of site:http://hexxeh.net/ quake3 ?

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

9 participants