Active Topics

 


Reply
Thread Tools
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#541
I set that modules mbxaccess and omaplcd load at boot,
move starting scripts of various daemon in /etc/init.d/
But doesn't help.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#542
It also does not matter when mbxaccess and omaplcd are loaded or when mbxdaemon is started, the allocation is done when you run glinfo (or I think so)
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#543
If I load modules at boot time:
[ 97.632812] OMAPLCD: Copy from user failed.OMAPLCD: Copy from user failed.OMAPLCD: Copy from user failed.OMAPLCD: Copy from user failed.
mbxdaemon didn't start ...
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#544
Ok.
Can you tell me how modify system to start glinfo?
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#545
What daemons can I prevent start?

ls /etc/init.d/
af-base-apps glibc.sh _mediaplayer-daemon product-code
af-services _gpsdriver _metalayer-crawler0 rc
af-startup hal minireboot rc.pvr
alarmd _hdparm minishutdown rcS
_apmonitord _hildon-application-manager module-init-tools ssh
_binkd _hildon-desktop _mpd supllistenerd
_bluez-utils hulda _multimediad _sysklogd
brightness-permission hwclockfirst.sh _nethack-common _tablet-browser-daemon
btcond hwclock.sh networking ttyusb0
dbus _icd2 _obexsrv usbnet
_dbus-scripts _ke-recv osso-applet-display _wide-dhcpv6-client
dnsmasq klogd _osso-ipv6 _wlancond
dsp-init libgpsbt osso-systemui x11-common
esd maemo-launcher osso-systemui-early x-server
fb-progress.sh mce procps zzinitdone
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#546
Originally Posted by svs57 View Post
Ok.
Can you tell me how modify system to start glinfo?
I don't know.
I copied whole Graphics_SDK/OMAP24xx_MBX_SDK_N8xx/bin/binary_omap2420_linux_release folder to N810, copied stuff to /usr/lib
flashed kernel, booted with usb cable attached to PC, opened osso-xterm, created device nodes, inserted modules, run mbxdeamon and glinfo worked, then I have tried with my own kernel and it worked too

When it didn't work I've seen the exact allocation failure you posted but I'm not sure I've seen the "Copy from user' one
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2010-02-24 at 13:40.
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#547
I did all you wrote
Result is the same

[ 133.687500] No flipbuffers
[ 133.695312] request OMAPLCD IRQ failedrequest OMAPLCD IRQ failed<6>PVR_KERNLError): Failed to find offset struct (KVAddress=c8abd000)
[ 133.851562] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
[ 133.851562] PVR_KERNLError): Failed to find offset struct (KVAddress=c891a000)
[ 133.851562] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
[ 133.851562] PVR_KERNLError): Failed to find offset struct (KVAddress=c8914000)
[ 133.851562] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
[ 133.859375] PVR_KERNLError): Failed to find offset struct (KVAddress=c8912000)
[ 133.859375] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#548
Then I suggest to wait and spend our time with something more productive.

I hope that hacking omaplcd to steal flipbuffers from already allocated omapfb plane 2 instead of allocating it dynamically is possible. Even if it is a quick and dirty hack it would allow us to avoid this issue and also use stock kernel. Can take few days.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#549
Originally Posted by svs57 View Post
I did all you wrote
Result is the same

[ 133.687500] No flipbuffers
[ 133.695312] request OMAPLCD IRQ failedrequest OMAPLCD IRQ failed<6>PVR_KERNLError): Failed to find offset struct (KVAddress=c8abd000)
[ 133.851562] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
[ 133.851562] PVR_KERNLError): Failed to find offset struct (KVAddress=c891a000)
[ 133.851562] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
[ 133.851562] PVR_KERNLError): Failed to find offset struct (KVAddress=c8914000)
[ 133.851562] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
[ 133.859375] PVR_KERNLError): Failed to find offset struct (KVAddress=c8912000)
[ 133.859375] [567, /home/carsten/powervr/embedded/services/env/linux/mmap.c]
The allocation didn't fail here. What happens if you run eglxtest?
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#550
I start glinfo as the last script in /etc/rc2.d
It works
 

The Following User Says Thank You to svs57 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:29.