Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 12:50:28 -0600
From:      Robert Noland <rnoland@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org, Sergey G Nasonov <snasonov@bcc.ru>
Subject:   Re: Interrupt stom on cardbus device
Message-ID:  <1235760629.1289.51.camel@widget.2hip.net>
In-Reply-To: <200902271208.48212.jhb@freebsd.org>
References:  <200902271730.07660.snasonov@bcc.ru> <200902271208.48212.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-TgU/7TCIzr5+G3bSUmWR
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2009-02-27 at 12:08 -0500, John Baldwin wrote:
> On Friday 27 February 2009 9:30:06 am Sergey G Nasonov wrote:
> > Hello all,
> > I have get an issue after recent kernel recompile.
> > The problem appears after switch from X to text console and back to X11=
.
> > After that vmstat -i show an  interrupt storm on cardbus device:
> >=20
> > > vmstat -i
> > interrupt                          total       rate
> > irq1: atkbd0                        6483          3
> > irq9: acpi0                         3236          1
> > irq12: psm0                       347988        167
> > irq14: ata0                        16431          7
> > irq16: cbb0 uhci2+              13624982       6556
> > irq20: uhci0                          14          0
> > irq22: ehci0                           2          0
> > cpu0: timer                      4154687       1999
> > irq256: em0                        53736         25
> > irq257: hdac0                       5797          2
> > cpu1: timer                      4153683       1998
> > irq258: vgapci0                   235585        113
> > Total                           22602624      10877
> >=20
> > I suppose that the issue related with the latest MSI interrupt=20
> > handler changes for intel graphics chipset. My laptop has i965GM.
> > pciconf -lv:
> >=20
> > vgapci0@pci0:0:2:0:     class=3D0x030000 card=3D0x20b517aa chip=3D0x2a0=
28086=20
> > rev=3D0x0c hdr=3D0x00
> >     vendor     =3D 'Intel Corporation'
> >     device     =3D 'Mobile 965 Express Integrated Graphics Controller'
> >     class      =3D display
> >     subclass   =3D VGA
> >=20
> > When I added my device to drm_msi_blacklist and recompile drm modules t=
he=20
> > problem disappear.
> > Is it possible to resolve this problem without moving the device to the=
=20
> > drm_msi_blacklist?
> > I can test any patches or provide additional detail if it is required. =
=20
> > Thanks.
>=20
> It seems the device is still interrupting on its INTx line perhaps in add=
ition=20
> to the MSI interrupts.

Hrm, I did most all of that development on a 965gm.  When you VT switch,
the irq handler gets uninstalled and reinstalled when you return to X.
There was an eratta on the 965gm suggesting that msi didn't work right,
but I was never able to produce the issue.  Intel was having major
issues with this on linux and I finally convinced them to turn msi back
on.  My irq handler and Eric's are very similar, so I'm not sure what
could be going on here.

There is however an issue with vblanks that might be related.  Could you
try http://people.freebsd.org/~rnoland/drm-move_vblank_init.patch and
see if that helps?

robert.

--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-TgU/7TCIzr5+G3bSUmWR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEABECAAYFAkmoNfQACgkQM4TrQ4qfROPhXgCcDMNoLVzEUUpkLXZn7eekLrpQ
QLMAn0sTmsT8y0LLdndauEfDZho23fhy
=IMkj
-----END PGP SIGNATURE-----

--=-TgU/7TCIzr5+G3bSUmWR--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1235760629.1289.51.camel>