On 2002.05.18 15:40 Felix Kühling wrote:
> On Sat, 18 May 2002 15:01:51 +0200
> Felix Kühling <[EMAIL PROTECTED]> wrote:
> 
> > For this test I compiled everything with gcc-2.95.4. I had a different
> > problem after compiling with gcc-3.0. I have to try that again and
> check
> > for compile errors. The problem was that the X server segfaulted on
> > startup. I'll report more details later.
> 
> Ok, I recompiled with gcc-3.0 again. There are no errors in world.log.
> The X-server segfaults on startup. Note that I had a working Xserver+DRI
> compiled with gcc-3.0 before Leif's last changes.
> 
> These are the relevant parts of my logfiles:
> 
> kern.log:
> [...]
> May 18 16:18:28 viking kernel: [drm] AGP 0.99 on VIA Apollo KT133 @
> 0xd0000000 64MB
> May 18 16:18:28 viking kernel: [drm] Initialized mach64 1.0.0 20020417 on
> minor 0
> May 18 16:18:29 viking kernel: [drm] Setting FIFO size to 128 entries
> May 18 16:18:29 viking kernel: [drm] Creating pci pool
> May 18 16:18:29 viking kernel: [drm] Allocating descriptor table memory
> May 18 16:18:29 viking kernel: [drm] descriptor table: cpu addr:
> 0xc0268000, bus addr: 0x00268000
> May 18 16:18:29 viking kernel: [drm] Starting DMA test...
> May 18 16:18:29 viking kernel: [drm] starting DMA transfer...
> May 18 16:18:29 viking kernel: [drm] waiting for idle...
> May 18 16:18:29 viking kernel: [drm] waiting for idle...done
> May 18 16:18:29 viking kernel: [drm] DMA test succeeded, using
> asynchronous DMA mode
> 
> XFree86.1.log:
> [...]
> (==) ATI(0): Write-combining range (0xd4000000,0x800000)
> (II) ATI(0): [drm] SAREA 2200+1212: 3412
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 11, (OK)
> drmGetBusid returned ''
> (II) ATI(0): [drm] loaded kernel module for "mach64" driver
> (II) ATI(0): [drm] created "mach64" driver at busid "PCI:1:0:0"
> (II) ATI(0): [drm] added 8192 byte SAREA at 0xd08bf000
> (II) ATI(0): [drm] mapped SAREA 0xd08bf000 to 0x40015000
> (II) ATI(0): [drm] framebuffer handle = 0xd4000000
> (II) ATI(0): [drm] added 1 reserved context for kernel
> (II) ATI(0): [agp] Using AGP 1x Mode
> (II) ATI(0): [agp] Using 8 MB AGP aperture
> (II) ATI(0): [agp] Mode 0x1f000201 [AGP 0x1106/0x0305; Card
> 0x1002/0x474d]
> (II) ATI(0): [agp] 8192 kB allocated with handle 0xd10c3000
> (II) ATI(0): [agp] Using 2 MB DMA buffer size
> (II) ATI(0): [agp] vertex buffers handle = 0xd0000000
> (II) ATI(0): [agp] Vertex buffers mapped at 0x40a38000
> (II) ATI(0): [agp] AGP texture region handle = 0xd0200000
> (II) ATI(0): [agp] AGP Texture region mapped at 0x40c38000
> (II) ATI(0): [drm] register handle = 0xd6000000
> (II) ATI(0): [dri] Visual configs initialized
> (II) ATI(0): [dri] Block 0 base at 0xd6000400
> (II) ATI(0): Memory manager initialized to (0,0) (640,1637)
> (II) ATI(0): Reserved back buffer from (0,480) to (640,960)
> (II) ATI(0): Reserved depth buffer from (0,960) to (640,1440)
> (II) ATI(0): Reserved 6144 kb for textures at offset 0x1ff900
> (II) ATI(0): Largest offscreen areas (with overlaps):
> (II) ATI(0):  640 x 6072 rectangle at 0,480
> (II) ATI(0):  512 x 6073 rectangle at 0,480
> (**) ATI(0): Option "XaaNoScreenToScreenCopy"
> (II) ATI(0): Using XFree86 Acceleration Architecture (XAA)
>       Setting up tile and stipple cache:
>               32 128x128 slots
>               18 256x256 slots
>               7 512x512 slots
> (==) ATI(0): Backing store disabled
> (==) ATI(0): Silken mouse enabled
> (**) Option "dpms"
> (**) ATI(0): DPMS enabled
> (II) ATI(0): X context handle = 0x00000001
> (II) ATI(0): [drm] installed DRM signal handler
> (II) ATI(0): [DRI] installation complete
> (II) ATI(0): [drm] Added 128 16384 byte DMA buffers
> 
> Fatal server error:
> Caught signal 11.  Server aborting
> 
> I also got a debugger backtrace after the segfault:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x086c0c3c in ?? ()
> #0  0x086c0c3c in ?? ()
> #1  0x086bef1b in ?? ()
> #2  0x080bfe18 in AddScreen (pfnInit=0x86be944, argc=5, argv=0xbffffa04)
>     at main.c:768
> #3  0x0806c425 in InitOutput (pScreenInfo=0x81cda00, argc=5,
> argv=0xbffffa04)
>     at xf86Init.c:819
> #4  0x080bf378 in main (argc=5, argv=0xbffffa04, envp=0xbffffa1c) at
> main.c:380
> 
> I know, this backtrace is not very helpful. Is there a way to get the ??
> resolved?
> 
> Regards,
>      Felix

Nice report ;-)

Try with xfree-gdb (http://www.dawa.demon.co.uk/xfree-gdb/) to see if you
have better luck.

José Fonseca


_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to