Re: 2.6.20 [drm:i915_wait_irq] *ERROR*
> > I'm running a 2.6.20 kernel on my macbook. When running an openGL > application, if the opengl window's region is moved somewhere outside > the screen limits, then keyboard locks, I can only move the mouse, > nothing response. I can only reboot the box by pressing the power button > 5 seconds. /var/log/syslog contains that : > > kernel: [drm:i915_wait_irq] *ERROR* i915_wait_irq: EBUSY -- rec: 730561 > emitted: 730570 > > The macbook uses an intel card : > > 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT > Express Memory Controller Hub (rev 03) > 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML > Express Integrated Graphics Controller (rev 03) > I'm cc'ing dri devel in case anyone there knows why this might happen... Dave. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Hown compile and install linux-agp-compat
On Tue, 2007-02-06 at 21:27 +0100, Thomas Hellström wrote: > > On Tue, 2007-02-06 at 19:51 +0100, Thomas Hellström wrote: > >> git-clone git://git.freedesktop.org/git/mesa/linux-agp-compat > >> cd linux-agp-compat/ > >> make > >> cc -I. -o testgart testgart.c > >> make -C /lib/modules/2.6.19-1.2895.fc6/build > >> SUBDIRS=/home/sergio/Mesa/linux-agp-compat modules > >> make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' > >> Building modules, stage 2. > >> MODPOST 0 modules > >> make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' > > > > My problem is here, MODPOST 0 modules ? > > No modules are created > > > Does your kernel config enable agpgart and intel-agp as modules? no , is compiled into kernel CONFIG_AGP=y CONFIG_AGP_ALI=y CONFIG_AGP_ATI=y CONFIG_AGP_AMD=y CONFIG_AGP_AMD64=y CONFIG_AGP_INTEL=y CONFIG_AGP_NVIDIA=y CONFIG_AGP_SIS=y CONFIG_AGP_SWORKS=y CONFIG_AGP_VIA=y CONFIG_AGP_EFFICEON=y is required be compiled has module ? > > > > > > what README ? > > > Seems like that last commit never got pushed. > Will fix tomorrow. OK Thanks, -- Sérgio M. B. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Hown compile and install linux-agp-compat
> On Tue, 2007-02-06 at 19:51 +0100, Thomas Hellström wrote: >> git-clone git://git.freedesktop.org/git/mesa/linux-agp-compat >> cd linux-agp-compat/ >> make >> cc -I. -o testgart testgart.c >> make -C /lib/modules/2.6.19-1.2895.fc6/build >> SUBDIRS=/home/sergio/Mesa/linux-agp-compat modules >> make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' >> Building modules, stage 2. >> MODPOST 0 modules >> make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' > > My problem is here, MODPOST 0 modules ? > No modules are created > Does your kernel config enable agpgart and intel-agp as modules? > > >> Hmm, >> Testgart is only an application that slipped in. Not really needed, >> but I >> think the problem is that the X server has already acquired AGP. Try >> without the X server running. Also make sure you take a look at the >> README > > > what README ? > Seems like that last commit never got pushed. Will fix tomorrow. /Thomas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Hown compile and install linux-agp-compat
On Tue, 2007-02-06 at 19:51 +0100, Thomas Hellström wrote: > git-clone git://git.freedesktop.org/git/mesa/linux-agp-compat > cd linux-agp-compat/ > make > cc -I. -o testgart testgart.c > make -C /lib/modules/2.6.19-1.2895.fc6/build > SUBDIRS=/home/sergio/Mesa/linux-agp-compat modules > make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' > Building modules, stage 2. > MODPOST 0 modules > make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' My problem is here, MODPOST 0 modules ? No modules are created > Hmm, > Testgart is only an application that slipped in. Not really needed, > but I > think the problem is that the X server has already acquired AGP. Try > without the X server running. Also make sure you take a look at the > README what README ? > before trying to run any DRI apps. Thanks, - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Hown compile and install linux-agp-compat
> What is wrong ? I am using FC6 > > git-clone git://git.freedesktop.org/git/mesa/linux-agp-compat > cd linux-agp-compat/ > make > cc -I. -o testgart testgart.c > make -C /lib/modules/2.6.19-1.2895.fc6/build > SUBDIRS=/home/sergio/Mesa/linux-agp-compat modules > make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' > Building modules, stage 2. > MODPOST 0 modules > make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' > > su - > ./testgart > Using AGPIOC_ACQUIRE > ioctl(AGPIOC_ACQUIRE): Device or resource busy > Hmm, Testgart is only an application that slipped in. Not really needed, but I think the problem is that the X server has already acquired AGP. Try without the X server running. Also make sure you take a look at the README before trying to run any DRI apps. /Thomas > > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > -- > ___ > Dri-devel mailing list > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Hown compile and install linux-agp-compat
What is wrong ? I am using FC6 git-clone git://git.freedesktop.org/git/mesa/linux-agp-compat cd linux-agp-compat/ make cc -I. -o testgart testgart.c make -C /lib/modules/2.6.19-1.2895.fc6/build SUBDIRS=/home/sergio/Mesa/linux-agp-compat modules make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' Building modules, stage 2. MODPOST 0 modules make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' su - ./testgart Using AGPIOC_ACQUIRE ioctl(AGPIOC_ACQUIRE): Device or resource busy - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[PATCH 2.6.20] drm: Use ARRAY_SIZE macro when appropriate
Hi all, A patch to use ARRAY_SIZE macro already defined in kernel.h Signed-off-by: Ahmed S. Darwish <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/drm_proc.c b/drivers/char/drm/drm_proc.c index 62d5fe1..8943ad1 100644 --- a/drivers/char/drm/drm_proc.c +++ b/drivers/char/drm/drm_proc.c @@ -72,7 +72,7 @@ static struct drm_proc_list { #endif }; -#define DRM_PROC_ENTRIES (sizeof(drm_proc_list)/sizeof(drm_proc_list[0])) +#define DRM_PROC_ENTRIES ARRAY_SIZE(drm_proc_list) /** * Initialize the DRI proc filesystem for a device. -- Ahmed S. Darwish http://darwish-07.blogspot.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel