Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mach64 x11-drm crash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Thu Aug 18, 2005 11:05 pm    Post subject: mach64 x11-drm crash Reply with quote

I filed this as Bug 103016, but am posting to the forums as well in the event that the user community can offer any insight.

Hi there,

I have x11-drm installed and enabled on an old G3 Imac. Video hardware is:
Code:

0000:00:12.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP
(rev 5c) (prog-if 00 [VGA])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (2000ns min), cache line size 08
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at 81000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 0c00 [size=256]
        Region 2: Memory at 80881000 (32-bit, non-prefetchable) [size=4K]

I have enabled dri/drm in X and it appears to be working successfully:
Code:

(II) ATI(0): [drm] loaded kernel module for "mach64" driver
(II) ATI(0): [drm] DRM interface version 1.2
(II) ATI(0): [drm] created "mach64" driver at busid "pci:0000:00:12.0"
(II) ATI(0): [drm] added 8192 byte SAREA at 0xcb072000
(II) ATI(0): [drm] mapped SAREA 0xcb072000 to 0x30c4e000
(II) ATI(0): [drm] framebuffer handle = 0x81800000
(II) ATI(0): [drm] added 1 reserved context for kernel
(II) ATI(0): [drm] Will request pseudo-DMA (MMIO) mode
(==) ATI(0): [pci] Using 2 MB DMA buffer size
(II) ATI(0): [drm] register handle = 0x80881000
(II) ATI(0): [dri] Visual configs initialized
(II) ATI(0): [dri] Block 0 base at 0x80881400

(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
(II) ATI(0): [drm] Mapped 128 DMA buffers at 0x30c50000
(II) ATI(0): [drm] Installed interrupt handler, using IRQ 22
(II) ATI(0): Direct rendering enabled
(==) RandR enabled

Unfortunately, when I run GLXgears, the monitor goes blank, the power light
turns amber, and the system is totally unresponsive (ping, numlock, etc). The
syslog contains the following events.
Code:

Aug 18 14:56:54 imac irq 22: nobody cared (try booting with the "irqpoll" option)
Aug 18 14:56:54 imac Call trace:
Aug 18 14:56:54 imac [c003aa64] __report_bad_irq+0x34/0xac
Aug 18 14:56:54 imac [c003abd8] note_interrupt+0xe0/0x270
Aug 18 14:56:54 imac [c003a548] __do_IRQ+0x154/0x164
Aug 18 14:56:54 imac [c0006250] do_IRQ+0x38/0x98
Aug 18 14:56:54 imac [c0004f88] ret_from_except+0x0/0x1c
Aug 18 14:56:54 imac [c003a368] handle_IRQ_event+0x50/0xdc
Aug 18 14:56:54 imac [c003a4e8] __do_IRQ+0xf4/0x164
Aug 18 14:56:54 imac [c0006250] do_IRQ+0x38/0x98
Aug 18 14:56:54 imac [c0004f88] ret_from_except+0x0/0x1c
Aug 18 14:56:54 imac [cbaa4a10] mach64_do_wait_for_fifo+0x50/0xd0 [mach64]
Aug 18 14:56:54 imac [cbaa5140] mach64_do_wait_for_idle+0x1c/0xe0 [mach64]
Aug 18 14:56:54 imac [cbaa54a0] mach64_do_dispatch_pseudo_dma+0x29c/0x448 [mach64]
Aug 18 14:56:54 imac [cbaaa26c] mach64_dma_dispatch_vertex+0x108c/0x155c [mach64]
Aug 18 14:56:54 imac [cbaac3f8] mach64_dma_vertex+0x150/0x1a4 [mach64]
Aug 18 14:56:54 imac [cba937cc] drm_ioctl+0x1dc/0x244 [drm]
Aug 18 14:56:54 imac handlers:
Aug 18 14:56:54 imac [<cbaa8484>] (mach64_driver_irq_handler+0x0/0xb0 [mach64])
Aug 18 14:56:54 imac Disabling IRQ #22
Aug 18 14:56:54 imac [drm] mach64_do_wait_for_idle failed! GUI_STAT=0x00400001
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] ring contents:
Aug 18 14:56:54 imac [drm]   head_addr: 0x07514fb0 head: 1004 tail: 1008
Aug 18 14:56:54 imac
Aug 18 14:56:54 imac [drm]   0x07514000:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514010:  0x007ffe48 0x00000000 0x400005a0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514020:  0x007ffe48 0x00000000 0x400002d0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514030:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm]   0x07514f80:  0x007ffe48 0x00000000 0x400000e0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514f90:  0x007ffe48 0x00000000 0x40000068
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514fa0:  0x007ffe48 0x00000000 0x40000010
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514fb0:  0x007ffe48 0x00000000 0xc0000b40
0x00000000 (head)
Aug 18 14:56:54 imac [drm]   0x07514fc0:  0x007ffe48 0x00000000 0x40000048
0x00000000 (tail)
Aug 18 14:56:54 imac [drm]   0x07514fd0:  0x007ffe48 0x00000000 0x400005a0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514fe0:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514ff0:  0x007ffe48 0x00000000 0x40000168
0x00000000
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm]   0x07517fd0:  0x007ffe48 0x00000000 0x400005a0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07517fe0:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   0x07517ff0:  0x007ffe48 0x00000000 0x400001b0
0x00000000
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x00000053
Aug 18 14:56:54 imac [drm] 00000004:    0x054c = 0x00000000
Aug 18 14:56:54 imac [drm] 00000008:  0x0000007f
Aug 18 14:56:54 imac [drm] 0000000c:    0x05fc = 0x00000000
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm] 000000d4:    0x06e8 = 0x00180004
Aug 18 14:56:54 imac [drm] 000000d8:  0x000000bb
Aug 18 14:56:54 imac [drm] 000000dc:    0x06ec = 0x012c012c
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x000000b5
Aug 18 14:56:54 imac [drm] 00000004:    0x06d4 = 0x00070007
Aug 18 14:56:54 imac [drm] 00000008:  0x000000b6
Aug 18 14:56:54 imac [drm] 0000000c:    0x06d8 = 0x00000505
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm] 0000005c:    0x06d0 = 0x40040444
Aug 18 14:56:54 imac [drm] 00000060:  0x000001c1
Aug 18 14:56:54 imac [drm] 00000064:    0x0304 = 0x00000018
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x000000aa
Aug 18 14:56:54 imac [drm] 00000004:    0x06a8 = 0x012f0004
Aug 18 14:56:54 imac [drm] 00000008:  0x000000ad
Aug 18 14:56:54 imac [drm] 0000000c:    0x06b4 = 0x01430018
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x00020194
Aug 18 14:56:54 imac [drm] 00000004:    0x0250 = 0xf2e70000
Aug 18 14:56:54 imac [drm] 00000008:    0x0254 = 0xffc11800
Aug 18 14:56:54 imac [drm] 0000000c:    0x0258 = 0x019b033d
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm] 00000b34:    0x0254 = 0xffc11800
Aug 18 14:56:54 imac [drm] 00000b38:    0x0258 = 0x016f0284
Aug 18 14:56:54 imac [drm] 00000b3c:    0x025c = 0x3b7da597
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm]        BM_GUI_TABLE = 0x000301a0
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] BM_FRAME_BUF_OFFSET = 0x007ff980
Aug 18 14:56:54 imac [drm]  BM_SYSTEM_MEM_ADDR = 0x000301a3
Aug 18 14:56:54 imac [drm]          BM_COMMAND = 0x00001fe3
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm]           BM_STATUS = 0x834820c2
Aug 18 14:56:54 imac [drm]            BUS_CNTL = 0x7b23a110
Aug 18 14:56:54 imac [drm]           FIFO_STAT = 0x00000000
Aug 18 14:56:54 imac [drm]            GUI_STAT = 0x00400001
Aug 18 14:56:54 imac [drm]            SRC_CNTL = 0x00000000
Aug 18 14:56:54 imac [drm:mach64_ring_tick] *ERROR* bad ring head address:
0x00030190
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] ring contents:
Aug 18 14:56:54 imac [drm]   head_addr: 0x00030190 head: 1004 tail: 1008
Aug 18 14:56:54 imac
Aug 18 14:56:54 imac [drm]   0x07514000:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514010:  0x007ffe48 0x00000000 0x400005a0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514020:  0x007ffe48 0x00000000 0x400002d0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514030:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm]   0x07514f80:  0x007ffe48 0x00000000 0x400000e0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514f90:  0x007ffe48 0x00000000 0x40000068
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514fa0:  0x007ffe48 0x00000000 0x40000010
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514fb0:  0x007ffe48 0x00000000 0xc0000b40
0x00000000 (head)
Aug 18 14:56:54 imac [drm]   0x07514fc0:  0x007ffe48 0x00000000 0x40000048
0x00000000 (tail)
Aug 18 14:56:54 imac [drm]   0x07514fd0:  0x007ffe48 0x00000000 0x400005a0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514fe0:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   0x07514ff0:  0x007ffe48 0x00000000 0x40000168
0x00000000
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm]   0x07517fd0:  0x007ffe48 0x00000000 0x400005a0
0x00000000
Aug 18 14:56:54 imac [drm]   0x07517fe0:  0x007ffe48 0x00000000 0x40000048
0x00000000
Aug 18 14:56:54 imac [drm]   0x07517ff0:  0x007ffe48 0x00000000 0x400001b0
0x00000000
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x00000053
Aug 18 14:56:54 imac [drm] 00000004:    0x054c = 0x00000000
Aug 18 14:56:54 imac [drm] 00000008:  0x0000007f
Aug 18 14:56:54 imac [drm] 0000000c:    0x05fc = 0x00000000
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm] 000000d4:    0x06e8 = 0x00180004
Aug 18 14:56:54 imac [drm] 000000d8:  0x000000bb
Aug 18 14:56:54 imac [drm] 000000dc:    0x06ec = 0x012c012c
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x000000b5
Aug 18 14:56:54 imac [drm] 00000004:    0x06d4 = 0x00070007
Aug 18 14:56:54 imac [drm] 00000008:  0x000000b6
Aug 18 14:56:54 imac [drm] 0000000c:    0x06d8 = 0x00000505
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm] 0000005c:    0x06d0 = 0x40040444
Aug 18 14:56:54 imac [drm] 00000060:  0x000001c1
Aug 18 14:56:54 imac [drm] 00000064:    0x0304 = 0x00000018
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x000000aa
Aug 18 14:56:54 imac [drm] 00000004:    0x06a8 = 0x012f0004
Aug 18 14:56:54 imac [drm] 00000008:  0x000000ad
Aug 18 14:56:54 imac [drm] 0000000c:    0x06b4 = 0x01430018
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] buffer contents:
Aug 18 14:56:54 imac [drm] 00000000:  0x00020194
Aug 18 14:56:54 imac [drm] 00000004:    0x0250 = 0xf2e70000
Aug 18 14:56:54 imac [drm] 00000008:    0x0254 = 0xffc11800
Aug 18 14:56:54 imac [drm] 0000000c:    0x0258 = 0x019b033d
Aug 18 14:56:54 imac [drm]   ...
Aug 18 14:56:54 imac [drm] 00000b34:    0x0254 = 0xffc11800
Aug 18 14:56:54 imac [drm] 00000b38:    0x0258 = 0x016f0284
Aug 18 14:56:54 imac [drm] 00000b3c:    0x025c = 0x3b7da597
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm]        BM_GUI_TABLE = 0x000301a0
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm] BM_FRAME_BUF_OFFSET = 0x007ff980
Aug 18 14:56:54 imac [drm]  BM_SYSTEM_MEM_ADDR = 0x000301a3
Aug 18 14:56:54 imac [drm]          BM_COMMAND = 0x00001fe3
Aug 18 14:56:54 imac [drm]
Aug 18 14:56:54 imac [drm]           BM_STATUS = 0x834820c2
Aug 18 14:56:54 imac [drm]            BUS_CNTL = 0x7b23a110
Aug 18 14:56:54 imac [drm]           FIFO_STAT = 0x00000000
Aug 18 14:56:54 imac [drm]            GUI_STAT = 0x00400001
Aug 18 14:56:54 imac [drm]            SRC_CNTL = 0x00000000


Please advise. I can provide additional info if necessary.

Thank you for your time,
Frank Russo

Reproducible: Always
Steps to Reproduce:
1. Enable drm for mach64 on Imac (Blue/White NewWorld G3)
2. Start GLXgears
3. Check logs after system crash
Actual Results:
System crash

Expected Results:
glxgears runs fine

imac log # emerge info
Portage 2.0.51.22-r2 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r7 ppc)
=================================================================
System uname: 2.6.12-gentoo-r7 ppc 740/750
Gentoo Base System version 1.6.10
dev-lang/python: 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://172.16.52.23/gentoo-portage"
USE="ppc X aac aalib alsa arts artswrappersuid audiofile berkdb bitmap-fonts
cdparanoia crypt cups curl dga emboss encode esd faac faad fam flac fortran gdbm
gif gnome gpm gtk gtk2 imlib insecure-drivers ipv6 java jpeg kde kdeenablefinal
libwww mad motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl
png python qt readline sdl sndfile spell ssl tcpd theora tiff truetype
truetype-fonts type1-fonts unicode vorbis xine xml xml2 xmms xprint xv zlib
video_cards_mach64 userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Tue Aug 23, 2005 3:57 pm    Post subject: Reply with quote

Dropping to the May 2005 update resolves the problem. Patiently awaiting the next version so I can regress the bug.

Frank
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum