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

From: Denis Shaposhnikov <dsh_at_vlink.ru>
Date: Mon, 15 Jan 2007 09:43:54 +0300
>>>>> "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/
Received on Mon Jan 15 2007 - 05:43:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC