From owner-freebsd-current@FreeBSD.ORG Sat Feb 28 18:40:15 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 367281065680; Sat, 28 Feb 2009 18:40:15 +0000 (UTC) (envelope-from SNasonov@BCC.RU) Received: from extmx.bcc.ru (extmx.bcc.ru [217.170.85.214]) by mx1.freebsd.org (Postfix) with ESMTP id AC90A8FC18; Sat, 28 Feb 2009 18:40:14 +0000 (UTC) (envelope-from SNasonov@BCC.RU) Received: from localhost (localhost [127.0.0.1]) by extmx.bcc.ru (Postfix) with ESMTP id 4C74BE4ED; Sat, 28 Feb 2009 21:43:18 +0300 (MSK) Received: from extmx.bcc.ru ([127.0.0.1]) by localhost (extmx.bcc.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04389-10; Sat, 28 Feb 2009 21:43:16 +0300 (MSK) Received: from mail.bcc (unknown [192.168.200.208]) by extmx.bcc.ru (Postfix) with ESMTP id 15FA9A320; Sat, 28 Feb 2009 21:43:16 +0300 (MSK) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sat, 28 Feb 2009 21:40:09 +0300 Message-ID: <597436B54F5FF74FA8EA7F3224FE251F12C69216@mail.bcc> In-Reply-To: <1235843413.1289.92.camel@widget.2hip.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Interrupt stom on cardbus device thread-index: AcmZzQhuVhhIlw4tSPqCoEGJBvy4rQAAGQUg References: <200902271730.07660.snasonov@bcc.ru> <200902271208.48212.jhb@freebsd.org> <1235760629.1289.51.camel@widget.2hip.net> <200902271403.46828.jhb@freebsd.org> <597436B54F5FF74FA8EA7F3224FE251F12C69213@mail.bcc> <1235778229.1289.60.camel@widget.2hip.net> <597436B54F5FF74FA8EA7F3224FE251F12C69214@mail.bcc> <1235839108.1289.72.camel@widget.2hip.net> <597436B54F5FF74FA8EA7F3224FE251F12C69215@mail.bcc> <1235843413.1289.92.camel@widget.2hip.net> From: "Nasonov Sergey" To: "Robert Noland" X-Virus-Scanned: amavisd-new at bcc.ru Cc: freebsd-current@freebsd.org Subject: RE: Interrupt stom on cardbus device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 28 Feb 2009 18:40:15 -0000 > -----Original Message----- > From: Robert Noland [mailto:rnoland@FreeBSD.org] > Sent: Saturday, February 28, 2009 8:50 PM > To: Nasonov Sergey > Cc: freebsd-current@freebsd.org > Subject: RE: Interrupt stom on cardbus device >=20 > On Sat, 2009-02-28 at 20:38 +0300, Nasonov Sergey wrote: > > > Hrm, the intel driver is very noisy. If the problem really is INTx, > > > then the drm debugging won't know anything about that. Could you try > > > that patch that I posted later, without this patch to i915. I've > > looked > > > over the linux pci code and they do disable INTx when enabling MSI. > > > > > > I stuck the patch up as > > > http://people.freebsd.org/~rnoland/pci_disable_intx.patch > > > > Great! After applying this patch the problem was resolved. Switch to VT > > an then back to X11 now work fine. Thanks! >=20 > Can you confirm that: >=20 > 1. Interrupts are still working (the msi ones) Yes, there is pciconf output: > vmstat -i interrupt total rate irq1: atkbd0 1838 1 irq9: acpi0 2117 1 irq12: psm0 74850 58 irq14: ata0 10143 7 irq16: cbb0 uhci2+ 34852 27 irq19: ehci1 2 0 irq20: uhci0 13 0 irq22: ehci0 2 0 cpu0: timer 2570905 1999 irq256: em0 19 0 irq257: hdac0 28 0 cpu1: timer 2569860 1998 irq258: vgapci0 2523 1 Total 5267152 4095 and pciconf -lvc:=20 vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x20b517aa = chip=3D0x2a028086 rev=3D0x0c hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Mobile 965 Express Integrated Graphics Controller' class =3D display subclass =3D VGA cap 05[90] =3D MSI supports 1 message cap 01[d0] =3D powerspec 3 supports D0 D3 current D0 And from console (output after start X server): drm0: on vgapci0 [drm:pid1408:drm_attach] MSI count =3D 1 info: [drm] MSI enabled 1 message(s) [drm:pid1408:drm_load]=20 [drm:pid1408:drm_addmap] offset =3D 0xf8100000, size =3D 0x00100000, = type =3D 1 [drm:pid1408:drm_addmap] Added map 1 0xf8100000/0x100000 [drm:pid1408:i915_init_phys_hws] Enabled hardware status page [drm:pid1408:drm_vblank_init]=20 vgapci0: child drm0 requested pci_enable_busmaster [drm:pid1408:drm_agp_init] agp_available =3D 1 info: [drm] AGP at 0xe0000000 256MB [drm:pid1408:drm_ctxbitmap_next] drm_ctxbitmap_next bit : 0 [drm:pid1408:drm_ctxbitmap_init] drm_ctxbitmap_init : 0 info: [drm] Initialized i915 1.6.0 20080730 > 2. Interrupts are still working for other devices on the shared INTx Hmm, How to determine which device need to be checked? Em0, hdac0 and ubsa0 modem work fine. >=20 > robert. >=20 > > Sergey. > > > > > > > > > > robert. > > > > > > Robert Noland > > > FreeBSD > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current- > unsubscribe@freebsd.org" > -- > Robert Noland > FreeBSD