Subject: Re: Radeon server dying in -current
To: Mihai CHELARU <kefren@netbsd.ro>
From: Mihai CHELARU <kefren@netbsd.ro>
List: tech-x11
Date: 04/11/2005 13:48:05
Mihai CHELARU wrote:
> Hello,
> 
> I'm seeing something wrong with ati driver in Xfree 4.5.0, as well. 
> XFree86 crashes with a SIGBUS when trying to probe the pci bus. Last 
> line from XFree86.0.log:
> 
> (II) PCI: Probing config type using method 1
> 
> Last lines from XFree86 stdout/stderr:
> 
> (++) Using config file: "/etc/X11/XF86config".
> Bus error (core dumped)
> 
> kdump says:
> 
>    859 XFree86  GIO   fd 0 wrote 45 bytes
>        "(II) PCI: Probing config type using method 1
>        "
>    859 XFree86  RET   write 45/0x2d
>    859 XFree86  PSIG  SIGBUS SIG_DFL
>    859 XFree86  NAMI  "XFree86.core"
> 
> Sadly, I don't think I have enough time to compile -g XFree86 and to 
> investigate further.
> 
> My video card is ATI Radeon X600 and my arch is amd64.
> 

Ok, so I was wrong, I had time :)
Here is a gdb bt:

#0  ix86PciSelectCfgmech () at compiler.h:1393
1393       __asm__ __volatile__("inl %1,%0" :
(gdb) bt
#0  ix86PciSelectCfgmech () at compiler.h:1393
#1  0x00000000006a6d64 in ix86PciInit () at ix86Pci.c:704
#2  0x00000000006a5ac7 in xf86scanpci (flags=14506304) at Pci.c:1028
#3  0x0000000000669c10 in FindPCIVideoInfo () at xf86pciBus.c:207
#4  0x00000000006625f5 in InitOutput (pScreenInfo=0xdcb320, argc=4, 
argv=0x7f7fffffe9a0)
     at xf86Init.c:569
#5  0x00000000006d6b58 in main (argc=4, argv=0x7f7fffffe9a0, envp=0x0) 
at main.c:355
(gdb)


-- 
Mihai