Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2007 09:43:54 +0300
From:      Denis Shaposhnikov <dsh@vlink.ru>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/bce if_bce.c src/sys/dev/em if_em.c if_em.h src/sys/dev/mpt mpt.h mpt_pci.c
Message-ID:  <87r6twiyc5.fsf@neva.vlink.ru>
In-Reply-To: <200701111126.10095.jhb@freebsd.org> (John Baldwin's message of "Thu, 11 Jan 2007 11:26:09 -0500")
References:  <200611152004.kAFK4vfe058983@repoman.freebsd.org> <200701091417.18936.jhb@freebsd.org> <87ejq26n8b.fsf@neva.vlink.ru> <200701111126.10095.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "John" == John Baldwin <jhb@freebsd.org> writes:

 John> Try this and see if it disables MSI for you automatically:

 John> Index: pci.c
 John> ===================================================================
 John> RCS file: /usr/cvs/src/sys/dev/pci/pci.c,v retrieving revision
 John> 1.331 diff -u -r1.331 pci.c
 John> --- pci.c 28 Dec 2006 06:14:42 -0000 1.331
 John> +++ pci.c 11 Jan 2007 16:25:20 -0000

I've applied the patch and sysctl hw.pci.enable_msi still show "1" but
no system freeze like boot with MSI disabled.

BTW, I have watchdog timeouts and panic with em(4) on next to
hosts. Disabling MSI fixes it. Here is pciconf -l:

====================
hostb0@pci0:0:0:	class=0x060000 card=0x80941043 chip=0x25608086 rev=0x03 hdr=0x00
vgapci0@pci0:2:0:	class=0x030000 card=0x25621043 chip=0x25628086 rev=0x03 hdr=0x00
none0@pci0:29:0:	class=0x0c0300 card=0x80891043 chip=0x24c28086 rev=0x02 hdr=0x00
none1@pci0:29:1:	class=0x0c0300 card=0x80891043 chip=0x24c48086 rev=0x02 hdr=0x00
none2@pci0:29:2:	class=0x0c0300 card=0x80891043 chip=0x24c78086 rev=0x02 hdr=0x00
pcib1@pci0:30:0:	class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x82 hdr=0x01
isab0@pci0:31:0:	class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x02 hdr=0x00
atapci0@pci0:31:1:	class=0x01018a card=0x80891043 chip=0x24cb8086 rev=0x02 hdr=0x00
fxp0@pci2:9:0:	class=0x020000 card=0x305c1014 chip=0x12298086 rev=0x08 hdr=0x00
em0@pci2:10:0:	class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00
em1@pci2:10:1:	class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00
em2@pci2:11:0:	class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00
em3@pci2:11:1:	class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00
rl0@pci2:13:0:	class=0x020000 card=0x80b31043 chip=0x813910ec rev=0x10 hdr=0x00
====================

====================
hostb0@pci0:0:0:	class=0x060000 card=0x25708086 chip=0x25708086 rev=0x02 hdr=0x00
vgapci0@pci0:2:0:	class=0x030000 card=0x03701462 chip=0x25728086 rev=0x02 hdr=0x00
none0@pci0:29:0:	class=0x0c0300 card=0x03701462 chip=0x24d28086 rev=0x02 hdr=0x00
none1@pci0:29:1:	class=0x0c0300 card=0x03701462 chip=0x24d48086 rev=0x02 hdr=0x00
none2@pci0:29:2:	class=0x0c0300 card=0x03701462 chip=0x24d78086 rev=0x02 hdr=0x00
none3@pci0:29:3:	class=0x0c0300 card=0x03701462 chip=0x24de8086 rev=0x02 hdr=0x00
none4@pci0:29:7:	class=0x0c0320 card=0x03701462 chip=0x24dd8086 rev=0x02 hdr=0x00
pcib1@pci0:30:0:	class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 hdr=0x01
isab0@pci0:31:0:	class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00
atapci0@pci0:31:1:	class=0x01018a card=0x03701462 chip=0x24db8086 rev=0x02 hdr=0x00
atapci1@pci0:31:2:	class=0x01018f card=0x03701462 chip=0x24d18086 rev=0x02 hdr=0x00
none5@pci0:31:3:	class=0x0c0500 card=0x03701462 chip=0x24d38086 rev=0x02 hdr=0x00
none6@pci0:31:5:	class=0x040100 card=0x03701462 chip=0x24d58086 rev=0x02 hdr=0x00
em0@pci1:10:0:	class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00
em1@pci1:10:1:	class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 hdr=0x00
rl0@pci1:13:0:	class=0x020000 card=0x037c1462 chip=0x813910ec rev=0x10 hdr=0x00
====================

Thank you very much!

-- 
DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet
xmpp:dsh@vlink.ru mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/



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