Date: Sat, 28 Feb 2009 21:40:09 +0300 From: "Nasonov Sergey" <SNasonov@BCC.RU> To: "Robert Noland" <rnoland@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: RE: Interrupt stom on cardbus device Message-ID: <597436B54F5FF74FA8EA7F3224FE251F12C69216@mail.bcc> In-Reply-To: <1235843413.1289.92.camel@widget.2hip.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----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: <Intel i965GM> 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 <rnoland@FreeBSD.org> > > > 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 <rnoland@FreeBSD.org> > FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?597436B54F5FF74FA8EA7F3224FE251F12C69216>