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

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

Comments

Projects
None yet
9 participants
@asayler

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

This comment has been minimized.

Show comment
Hide comment
@Hexxeh

Hexxeh Jun 9, 2012

Owner

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.

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 Jun 9, 2012

@asayler

This comment has been minimized.

Show comment
Hide comment
@asayler

asayler 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?

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

This comment has been minimized.

Show comment
Hide comment
@Hexxeh

Hexxeh Jun 9, 2012

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@asayler

asayler 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.

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

This comment has been minimized.

Show comment
Hide comment
@XavM

XavM 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 ?

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

This comment has been minimized.

Show comment
Hide comment
@spiliot

spiliot 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

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

This comment has been minimized.

Show comment
Hide comment
@asayler

asayler 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).

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

This comment has been minimized.

Show comment
Hide comment
@spiliot

spiliot 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.

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

This comment has been minimized.

Show comment
Hide comment
@AXYPB

AXYPB Jun 16, 2012

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

AXYPB commented Jun 16, 2012

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

@singpolyma

This comment has been minimized.

Show comment
Hide comment
@singpolyma

singpolyma Jun 21, 2012

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

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

@singpolyma

This comment has been minimized.

Show comment
Hide comment
@singpolyma

singpolyma Jun 21, 2012

It seems to be vcfiled throwing this error

It seems to be vcfiled throwing this error

@mikebranderhorst

This comment has been minimized.

Show comment
Hide comment
@mikebranderhorst

mikebranderhorst Jun 24, 2012

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

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

This comment has been minimized.

Show comment
Hide comment
@mgcrea

mgcrea Jun 27, 2012

Same here.

mgcrea commented Jun 27, 2012

Same here.

@stefek99

This comment has been minimized.

Show comment
Hide comment
@stefek99

stefek99 Jul 29, 2012

(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 ?

(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