Problems loading SGX drivers in Angstrom

Hi all,

I've got issues with SGX drivers in Angstrom. I built an unstable
"task-base-extended" image for a beagleboard REV C4 machine using narcissus
builder checking the "PowerVR SGX drivers for OMAP3" box. However, it seems
it can't load the modules. From dmesg:

[ 40.819061] pvrsrvkm: no symbol version for struct_module
[ 40.975097] pvrsrvkm: no symbol version for struct_module
[ 41.002227] omaplfb: no symbol version for struct_module

root@beagleboard:~# uname -r
2.6.29-omap1

What I'm missing? Checking "PowerVR SGX drivers for OMAP3" is it supposed
to work out-of-the-box?

Thanks for any help!

Cheers,

Hi,

Hi all,

I’ve got issues with SGX drivers in Angstrom. I built an unstable
“task-base-extended” image for a beagleboard REV C4 machine using narcissus
builder checking the “PowerVR SGX drivers for OMAP3” box. However, it seems
it can’t load the modules. From dmesg:

[ 40.819061] pvrsrvkm: no symbol version for struct_module
[ 40.975097] pvrsrvkm: no symbol version for struct_module
[ 41.002227] omaplfb: no symbol version for struct_module

root@beagleboard:~# uname -r
2.6.29-omap1

What I’m missing? Checking “PowerVR SGX drivers for OMAP3” is it supposed
to work out-of-the-box?

No it wont work out-of-the-box.
SGX kernel modules (pvrsrvkm, omaplfb, bufferclass_ti etc) are need to be build again for the running kernel.
Source code for the modules is available in the Graphics SDK.

regards,
Amit Pundir.

Op 8 feb 2010 om 06:42 heeft Amit Pundir <pundiramit@gmail.com> het volgende geschreven:\

Hi,

Hi all,

I’ve got issues with SGX drivers in Angstrom. I built an unstable
“task-base-extended” image for a beagleboard REV C4 machine using narcissus
builder checking the “PowerVR SGX drivers for OMAP3” box. However, it seems
it can’t load the modules. From dmesg:

[ 40.819061] pvrsrvkm: no symbol version for struct_module
[ 40.975097] pvrsrvkm: no symbol version for struct_module
[ 41.002227] omaplfb: no symbol version for struct_module

root@beagleboard:~# uname -r
2.6.29-omap1

What I’m missing? Checking “PowerVR SGX drivers for OMAP3” is it supposed
to work out-of-the-box?

No it wont work out-of-the-box.

Yes, it bleeping will. That’s the whole point of a distribution. Please keep quiet next time on stuff you know nothing about instead of telling lies.

    I've got issues with SGX drivers in Angstrom. I built an unstable
    "task-base-extended" image for a beagleboard REV C4 machine using
    narcissus
    builder checking the "PowerVR SGX drivers for OMAP3" box. However,
    it seems
    it can't load the modules. From dmesg:

    [ 40.819061] pvrsrvkm: no symbol version for struct_module
    [ 40.975097] pvrsrvkm: no symbol version for struct_module
    [ 41.002227] omaplfb: no symbol version for struct_module

No it wont work out-of-the-box.

Yes, it bleeping will. That's the whole point of a distribution. Please

So what? I have the same issue. Can't get /etc/init.d/pvr-init to start from recent such narcissus builds: when trying to start manually, it complains about 'Invalid module format'. Has anybody been able to do that on a C4? Or did I simply miss something / is there something else we need to do?

I agree that the whole point of a distribution is that you should not need to recompile stuff, but also, it should actually work if offered as an option. (Preferably also for the n00bs among us :wink: )

Kind regards,
Stefan

I just tried in and it works, so I don't know what's going wrong in your cases, especially since people aren't giving enough information to go on. All I can say from the things people are saying is that their uImage doesn't match the modules.

Do the problems still persist after:

opkg update ; opkg upgrade

? If so, do they still persist after

cp /boot/uImage /media/mmcblk0p1/

?

Koen Kooi wrote:

what does

opkg list_installed | grep sgx

say?

Koen Kooi wrote:

Weird, I'll upload a new kernel and module set to rule out any form of corruption. Thanks for testing!

Just for the record: I wanted to confirm that it was only a temporary glitch and the Narcissus builds do work with the SGX drivers (again) out of the box.

Stefan

Koen Kooi wrote:

Excerpts from Dr. Stefan Rapp's message of mar feb 16 16:45:13 +0100 2010:

Just for the record: I wanted to confirm that it was only a temporary
glitch and the Narcissus builds do work with the SGX drivers (again) out
of the box.

Thank you very much for pointing it out.

Cheers,