From owner-freebsd-x11@FreeBSD.ORG Thu Feb 11 03:44:11 2010 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08FC2106566B for ; Thu, 11 Feb 2010 03:44:11 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id C30D58FC14 for ; Thu, 11 Feb 2010 03:44:10 +0000 (UTC) Received: from [192.168.1.4] (adsl-19-244-133.bna.bellsouth.net [68.19.244.133]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o1B3i3cn009113 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 10 Feb 2010 22:44:06 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Norbert Papke In-Reply-To: <201002101913.33948.npapke@acm.org> References: <6101e8c41002091524q25a7e026u585e575eb4f1589c@mail.gmail.com> <201002100843.48541.npapke@acm.org> <1265823286.8609.77.camel@balrog.2hip.net> <201002101913.33948.npapke@acm.org> Content-Type: text/plain Organization: FreeBSD Date: Wed, 10 Feb 2010 21:43:58 -0600 Message-Id: <1265859838.8609.131.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00, FH_DATE_PAST_20XX, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: freebsd7, radeon, xorg-server -> deadlock or so X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 03:44:11 -0000 On Wed, 2010-02-10 at 19:13 -0800, Norbert Papke wrote: > On February 10, 2010, Robert Noland wrote: > > On Wed, 2010-02-10 at 08:43 -0800, Norbert Papke wrote: > > > On February 10, 2010, Robert Noland wrote: > > > > Ah, this suggest an issue with interrupts. If the driver is blocked > > > > waiting on an event, moving the mouse will interrupt the driver and > > > > force it to update. > > > > > > Based on your suggestion in another thread, I tried to disable MSI. This > > > did not make a difference. I still experience the hang. > > > > Ok, that was kind of a long shot to begin with. I've never heard of any > > issues with MSI on radeons, at least as long as MSI works at all on your > > system. > > There does seem to be a little MSI weirdness, at least it looks that way to > me. From a verbose dmesg: > > vgapci0: port 0xc000-0xc0ff mem > 0xd0000000-0xdfffffff,0xfe9e0000-0xfe9effff irq 16 at device 0.0 on pci1 > drm0: on vgapci0 > vgapci0: attempting to allocate 1 MSI vectors (1 supported) > msi: routing MSI IRQ 256 to local APIC 0 vector 49 > vgapci0: using IRQ 256 for MSI > info: [drm] MSI enabled 1 message(s) > vgapci0: Reserved 0x10000 bytes for rid 0x18 type 3 at 0xfe9e0000 > vgapci0: child drm0 requested pci_enable_busmaster > info: [drm] Initialized radeon 1.31.0 20080613 > hdac0: mem 0xfe9fc000-0xfe9fffff > irq 17 at device 0.1 on pci1 > hdac0: HDA Driver Revision: 20100122_0141 > hdac0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfe9fc000 > hdac0: attempting to allocate 1 MSI vectors (1 supported) > msi: routing MSI IRQ 257 to local APIC 0 vector 50 > hdac0: using IRQ 257 for MSI > > However, looking at the corresponding snippet from "vmstat -ia": > > interrupt total rate > irq16: uhci0 16 0 > stray irq16 0 0 > irq17: dc0 50 0 > stray irq17 0 0 > irq256: 0 0 > stray irq256 0 0 > irq257: hdac0 1 0 > stray irq257 0 0 > > Should there not be some evidence of vgapci0 being attached to either IRQ 16 > or 256? Interrupts are not enabled on r600 cards right now, so you won't ever see an interrupt. On r300 or r500 or whatever interrupts will be enabled and directed to either MSI or legacy IRQ's. robert. > -- Norbert. > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" -- Robert Noland FreeBSD