xf86-video-intel 1.9.94: crash in I830ScreenInit on 965 hardware

Barry Scott barry.scott at onelan.co.uk
Fri Apr 13 02:16:13 PDT 2007


Wang Zhenyu wrote:
> On 2007.04.12 17:43:02 +0000, Barry Scott wrote:
>   
>> I'm testing Xorg 7.2 + updated modules needed to support intel 1.9.94
>> running on 2.6.20 linux kernel with its drm drivers. I have built all of 
>> Xorg
>> and Mesa.
>>
>> I'm seeing a crash in the Xserver. Here is the config and log.
>>
>> http://www.onelan.co.uk/xorg-tmp/965.conf
>> http://www.onelan.co.uk/xorg-tmp/xserver-965.log
>>
>> Here is the output from gdb with info from the crash site and symbols.
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00f25da5 in I830ScreenInit (scrnIndex=0, pScreen=0x96066f8, argc=12, 
>> argv=0xbf9a1354) at i830_driver.c:2548
>> warning: Source file is more recent than executable.
>>
>> 2548             if (pI830->LinearAlloc &&
>> (gdb) bt
>> #0  0x00f25da5 in I830ScreenInit (scrnIndex=0, pScreen=0x96066f8, 
>> argc=12, argv=0xbf9a1354) at i830_driver.c:2548
>> #1  0x080703ad in AddScreen (pfnInit=0xf24aa8 <I830ScreenInit>, argc=12, 
>> argv=0xbf9a1354) at main.c:773
>> #2  0x0809cffa in InitOutput (pScreenInfo=0x81dd140, argc=12, 
>> argv=0xbf9a1354) at xf86Init.c:924
>> #3  0x0806fcc7 in main (argc=12, argv=0xbf9a1354, envp=0xbf9a1388) at 
>> main.c:370
>> (gdb) up
>> #1  0x080703ad in AddScreen (pfnInit=0xf24aa8 <I830ScreenInit>, argc=12, 
>> argv=0xbf9a1354) at main.c:773
>> 773     main.c: No such file or directory.
>>        in main.c
>> (gdb) down
>> #0  0x00f25da5 in I830ScreenInit (scrnIndex=0, pScreen=0x96066f8, 
>> argc=12, argv=0xbf9a1354) at i830_driver.c:2548
>> 2548             if (pI830->LinearAlloc &&
>> (gdb) l
>> 2543             if (!I830InitFBManager(pScreen, &(pI830->FbMemBox))) {
>> 2544                xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
>> 2545                           "Failed to init memory manager\n");
>> 2546             }
>> 2547
>> 2548             if (pI830->LinearAlloc &&
>> 2549                 xf86InitFBManagerLinear(pScreen,
>> 2550                                         pI830->xaa_linear->offset / 
>> pI830->cpp,
>> 2551                                         pI830->xaa_linear->size / 
>> pI830->cpp))
>> 2552             {
>> (gdb)
>>
>>     
> It looks like as you set "LinearAlloc" in conf and use XAA, but it doesn't
> alloc linear mem for xaa from your log. Do you have a clean build of driver?
> Try to do autogen.sh; make; make install? 
>   
I built the whole of Xorg from source. It is a very clean build. What do 
you expect
a clean build to fix? Surely a SEGV is a bug in the driver? If I can 
configure my way
past this problem I'd be happy to do that and move on. However when I 
run the identical
code against a 945 chip the server does not crash. The 965 is the 
variable here.

Are the docs on how to configure the new driver available so that I can 
clean up the
configuration?

I needed to use LinearAlloc with the old driver to allow XV to play 720p 
movies.

Barry




More information about the xorg mailing list