drm, irqs, etc.
Eric Anholt
eta at lclark.edu
Wed Nov 5 21:30:44 PST 2003
On Wed, 2003-11-05 at 21:24, Mike Hoskins wrote:
> first, i apologize... i didn't think i'd get real answers on -questions
> so i'm posting this here. i realize 5.x isn't really "stable" yet, but i
> hope it's close enough to be relevant. ;)
>
> i've got XFree86 4.3.0 installed, from the "X-4" meta port. that went
> smoothly. using the mga driver with a matrox g450 (dual head). no dri on
> head 2 as expected, but again no obvious problems.
>
> what i've noticed (this is 5.1-p8) is that after X has been running for
> awhile, trying to exit X causes a hang. at first i thought it was some
> program under X not exiting properly (that's what it looks like), but i've
> reproduced the same behavior with nothing but X running. if i start X and
> then exit immediately, everything is fine. this seems to only happen
> after X runs for a week or more.
>
> the one thing i noticed, was some "interesting" behavior wrt drm and it's
> claimed IRQ. before starting X (after a reboot), `ps ax|grep irq` shows:
>
> 19 ?? WL 0:00.00 (irq9: pcm0 acpi0)
> 20 ?? WL 0:00.10 (irq14: ata0)
> 21 ?? WL 0:00.00 (irq15: ata1)
> 22 ?? WL 0:00.00 (irq10: fxp0)
> 23 ?? WL 0:00.00 (irq6: fdc0)
> 24 ?? WL 0:00.01 (irq1: atkbd0)
>
> the same from within X shows,
>
> 19 ?? WL 0:00.00 (irq9: pcm0 acpi0)
> 20 ?? WL 0:01.05 (irq14: ata0)
> 21 ?? WL 0:00.00 (irq15: ata1)
> 22 ?? WL 0:00.02 (irq10: fxp0)
> 23 ?? WL 0:00.00 (irq6: fdc0)
> 24 ?? WL 0:00.08 (irq1: atkbd0)
> 25 ?? WL 0:00.09 (irq12: psm0)
> 690 ?? WL 0:00.12 (irq11: drm0)
>
> and once exiting X (immediately, when it exits without hanging),
>
> 19 ?? WL 0:00.00 (irq9: pcm0 acpi0)
> 20 ?? WL 0:01.04 (irq14: ata0)
> 21 ?? WL 0:00.00 (irq15: ata1)
> 22 ?? WL 0:00.02 (irq10: fxp0)
> 23 ?? WL 0:00.00 (irq6: fdc0)
> 24 ?? WL 0:00.07 (irq1: atkbd0)
> 25 ?? WL 0:00.06 (irq12: psm0)
> 690 ?? WL 0:00.08 (irq11:)
>
> is irq11 not being freed? or is that normal behavior? i've double
> checked by X config, but i may have something wrong. i've read various
> web pages and XFree's suggestions about configuring the g450... but,
> again, i may have overlooked something.
>
> this is a hard hang... ctrl-alt-bkspc, ctrl-alt-del, etc. have no effect.
> i've since enabled "NoTrapSignals" in my X config hoping to get a core
> dump the next time it happens. if i can manage that, i'll include it in a
> future report. (or any other info you think is relevant.)
>
> please CC me directly with any replies, i am not currently subscribed to
> -stable.
5.1 is -current, not -stable, so you should be mailing the -current
list. I've reset the cc: appropriately.
If you're not using up to date -current, please upgrade to -current past
October 24th, which included some DRM IRQ fixes. If the problem
persists, could you check that it doesn't happen with the DRI disabled
in your XF86Config?
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
More information about the freebsd-current
mailing list