From owner-freebsd-x11@FreeBSD.ORG Thu Feb 11 03:13:36 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 3C3DE106568D for ; Thu, 11 Feb 2010 03:13:36 +0000 (UTC) (envelope-from npapke@acm.org) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE658FC29 for ; Thu, 11 Feb 2010 03:13:35 +0000 (UTC) Received: from pd5ml1no-ssvc.prod.shaw.ca ([10.0.153.166]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 10 Feb 2010 20:13:34 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=a1Slso_v72EA:10 a=VF9RaR9bft6c8SsOr3WyFg==:17 a=8rKhd1BOLzAuip8Go30A:9 a=n5PvZb3jIURuS_I8L_IA:7 a=NWQlRaG1Dh7BjZA3VPWDZHbFAK8A:4 Received: from unknown (HELO proven.lan.provenpath.ca) ([24.85.241.34]) by pd5ml1no-dmz.prod.shaw.ca with ESMTP; 10 Feb 2010 20:13:34 -0700 Received: from proven.lan.provenpath.ca (localhost [127.0.0.1]) by proven.lan.provenpath.ca (8.14.4/8.14.4) with ESMTP id o1B3DYiW003016 for ; Wed, 10 Feb 2010 19:13:34 -0800 (PST) (envelope-from npapke@acm.org) Received: (from npapke@localhost) by proven.lan.provenpath.ca (8.14.4/8.14.4/Submit) id o1B3DYAd003015 for freebsd-x11@freebsd.org; Wed, 10 Feb 2010 19:13:34 -0800 (PST) (envelope-from npapke@acm.org) X-Authentication-Warning: proven.lan.provenpath.ca: npapke set sender to npapke@acm.org using -f From: Norbert Papke To: freebsd-x11@freebsd.org Date: Wed, 10 Feb 2010 19:13:33 -0800 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) References: <6101e8c41002091524q25a7e026u585e575eb4f1589c@mail.gmail.com> <201002100843.48541.npapke@acm.org> <1265823286.8609.77.camel@balrog.2hip.net> In-Reply-To: <1265823286.8609.77.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201002101913.33948.npapke@acm.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:13:36 -0000 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? -- Norbert.