From owner-freebsd-current@FreeBSD.ORG Wed Nov 5 21:30:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C55BE16A4CE for ; Wed, 5 Nov 2003 21:30:43 -0800 (PST) Received: from lewis.lclark.edu (lewis.lclark.edu [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C8FC43FE0 for ; Wed, 5 Nov 2003 21:30:43 -0800 (PST) (envelope-from eta@lclark.edu) Received: from [149.175.34.27] ([149.175.34.27]) by lewis.lclark.edu (SAVSMTP 3.1.1.32) with SMTP id M2003110521303725037 ; Wed, 05 Nov 2003 21:30:37 -0800 From: Eric Anholt To: Mike Hoskins In-Reply-To: <20031105211716.U93921@fubar.adept.org> References: <20031105211716.U93921@fubar.adept.org> Content-Type: text/plain Message-Id: <1068096637.688.276.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 05 Nov 2003 21:30:37 -0800 Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: drm, irqs, etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 05:30:44 -0000 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@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org