Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X doesn't work anymore



Hi,

On Fri, Jul 10, 2009 at 10:49:22PM +0200, Michael wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> On Jul 10, 2009, at 4:45 PM, Kurt Schreiner wrote:
> [....]
> > Yep, including "options PCI_ALLOW_MMAP" gets things going again - as  
> > long as I don't add "radeondrm* at vga?", too. With this added I get
> > an unusable X server causing 100% sys in vmstat...
> 
> And that worked before?
That worked 'till ~ mid June - at least that was the last time I tried.

/var/log/messages.1.gz:Jun 19 22:02:26 ipaddi /netbsd: radeondrm0 at vga0: ATI 
FireGL M24 GL (unit 0)
/var/log/messages.1.gz:Jun 19 22:02:26 ipaddi /netbsd: radeondrm0: Initialized 
radeon 1.26.0 20060524
/var/log/messages.1.gz:Jun 19 22:02:37 ipaddi /netbsd: info: [drm] Setting GART 
location based on new memory map
/var/log/messages.1.gz:Jun 19 22:02:37 ipaddi /netbsd: info: [drm] Loading R300 
Microcode
/var/log/messages.1.gz:Jun 19 22:02:37 ipaddi /netbsd: info: [drm] writeback 
test failed
/var/log/messages.1.gz:Jun 19 22:02:37 ipaddi /netbsd: radeondrm0: interrupting 
at ioapic0 pin 16

> All that changed is how PCI devices are found and through which /dev
> entry they are mapped, the resulting mappings should be identical.
> Where does the Xserver spin?
Doing an ioctl on /dev/dri/card0:

   571      1 Xorg     CALL  ioctl(0xb,_IO('d',0x44),0)
   571      1 Xorg     RET   ioctl -1 errno 16 Device busy
   571      1 Xorg     CALL  ioctl(0xb,_IO('d',0x44),0)
   571      1 Xorg     RET   ioctl -1 errno 16 Device busy
^C
>-1011: fstat -p 571
USER     CMD          PID   FD MOUNT       INUM MODE         SZ|DV R/W
root     Xorg         571   wd /home    1448448 drwxr-xr-x   54784 r
root     Xorg         571    0 /var       62476 -rw-r-----   34300 w
root     Xorg         571    1* internet stream tcp c2dcd1f8 *:6000
root     Xorg         571    2 /          79329 crwx-w----   ttyp0 rw
root     Xorg         571    3* unix stream c33ab080
root     Xorg         571    4 /          78412 crw-r-----     mem rw
root     Xorg         571    5 /          78425 crw-------   ttyE4 rw
root     Xorg         571    6 /          79599 crw-r--r--    pci0 rw
root     Xorg         571    7 /          79600 crw-r--r--    pci1 rw
root     Xorg         571    8 /          79601 crw-r--r--    pci2 rw
root     Xorg         571    9 /          79602 crw-r--r--    pci3 rw
root     Xorg         571   10 /          79603 crw-r--r--    pci4 rw
root     Xorg         571   11 /          82095 crw-rw----   180,0  rw

>-1012: ls -l /dev/* | grep 180
crw-rw----  1 root  wheel  - 180, 0 Jul 10 23:36 card0

Form /var/log/messages:

Jul 10 23:34:49 ipaddi /netbsd: agp0 at pchb0: can't find internal VGA device 
config space
Jul 10 23:34:49 ipaddi /netbsd: radeondrm0 at vga0: ATI FireGL M24 GL
Jul 10 23:34:49 ipaddi /netbsd: radeondrm0: Initialized radeon 1.29.0 20080613
Jul 10 23:36:14 ipaddi /netbsd: info: [drm] Setting GART location based on new 
memory map
Jul 10 23:36:14 ipaddi /netbsd: info: [drm] Loading R300 Microcode
Jul 10 23:36:14 ipaddi /netbsd: info: [drm] Num pipes: 1
Jul 10 23:36:14 ipaddi /netbsd: info: [drm] writeback test failed
Jul 10 23:36:14 ipaddi /netbsd: info: [drm] wait idle failed status : 
0x80010140 0x00000000
Jul 10 23:36:45 ipaddi /netbsd: info: [drm] wait idle failed status : 
0x80010140 0x00000000
Jul 10 23:38:46 ipaddi /netbsd: info: [drm] wait idle failed status : 
0x80010140 0x00000000

There's no "radeondrm0: interrupting at ioapic0 pin 16" as in the
working case above...

Kurt


Home | Main Index | Thread Index | Old Index