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

Denis Shaposhnikov dsh at vlink.ru
Mon Jan 15 06:43:58 UTC 2007


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

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

Thank you very much!

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


More information about the freebsd-current mailing list