Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 09:22:25 -0600
From:      Tom Judge <tom@tomjudge.com>
To:        pyunyh@gmail.com
Cc:        svn-src-head@freebsd.org, Alexander Motin <mav@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, Pyun YongHyeon <yongari@freebsd.org>
Subject:   Re: svn commit: r215327 - head/sys/dev/nfe
Message-ID:  <4CE2A1B1.5030209@tomjudge.com>
In-Reply-To: <20101115203609.GC1257@michelle.cdnetworks.com>
References:  <201011142337.oAENbheD097425@svn.freebsd.org>	<4CE07AA3.6040205@FreeBSD.org> <4CE16414.8060606@tomjudge.com> <20101115203609.GC1257@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/15/2010 02:36 PM, Pyun YongHyeon wrote:
> On Mon, Nov 15, 2010 at 10:47:16AM -0600, Tom Judge wrote:
>> On 11/14/2010 06:11 PM, Alexander Motin wrote:
>>> Pyun YongHyeon wrote:
>>>> Author: yongari
>>>> Date: Sun Nov 14 23:37:43 2010
>>>> New Revision: 215327
>>>> URL: http://svn.freebsd.org/changeset/base/215327
>>>>
>>>> Log:
>>>>   P5N32-SLI PREMIUM from ASUSTeK is known to have MSI/MSI-X issue
>>>>   such that nfe(4) does not work with MSI-X. When MSI-X support was
>>>>   introduced, I remember MCP55 controller worked without problems so
>>>>   the issue could be either PCI bridge or BIOS issue. But I also
>>>>   noticed snd_hda(4) disabled MSI on all MCP55 chipset so I'm still
>>>>   not sure this is generic issue of MCP55 chipset. If this was PCI
>>>>   bridge issue we would have added it to a system wide black-list
>>>>   table but it's not clear to me at this moment whether it was caused
>>>>   by either broken BIOS or silicon bug of MCP55 chipset.
>>>
>>> MCP5x seem to be infinite source of surprises. Some reports I remember:
>>>  - snd_hda not working with MSI enabled - AFAIR not just loosing
>>> interrupts but completely stops responding;
>>>  - using regular HPET interrupts breaks HDA sound after some time
>>> (interrupts are not shared), while legacy_route mode operates properly;
>>>  - at least on one system I've seen non-functioning SATA interrupts.
>>> It would be nice to find what's going on there. I've got tired to add
>>> workarounds for it. :(
>>>
>>
>> Another one for the list is Intel em cards not working with MSI enabled
>> on MCP51 systems. (On 8.1)
>>
> 
> And your nfe(4) on MCP51 also does not work with MSI?
> If it does not work, show me the output of "pciconf -lcbv" and
> "kenv | grep smbios".
> I checked Linux and they does not seem to disable MSI/MSI-X for
> MCP51/MCP55. But they seems to maintain two entries to selectively
> disable MSI.

I was using the default driver for the NIC that ships in GENERIC for 8.1
release.  I did not see any issues with that.

Unfortunately I have the on board nic disabled now, I will be able to
reboot the system to test over the weekend.

In the mean time here is the output requested:

== pciconf ==

root@store '20:39:08' '/home/tj'
> # pciconf -lcbv
none0@pci0:0:0:0:	class=0x050000 card=0x50001458 chip=0x02f110de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Host Bridge'
    class      = memory
    subclass   = RAM
    cap 08[44] = HT slave
    cap 08[e0] = HT MSI address window disabled at 0xfee00000
none1@pci0:0:0:1:	class=0x050000 card=0x50001458 chip=0x02fa10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Memory Controller 0'
    class      = memory
    subclass   = RAM
none2@pci0:0:0:2:	class=0x050000 card=0x50001458 chip=0x02fe10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Memory Controller 1'
    class      = memory
    subclass   = RAM
none3@pci0:0:0:3:	class=0x050000 card=0x50001458 chip=0x02f810de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Memory Controller 5'
    class      = memory
    subclass   = RAM
none4@pci0:0:0:4:	class=0x050000 card=0x50001458 chip=0x02f910de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Memory Controller 4'
    class      = memory
    subclass   = RAM
none5@pci0:0:0:5:	class=0x050000 card=0x50001458 chip=0x02ff10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Host Bridge'
    class      = memory
    subclass   = RAM
    cap 00[44] = unknown
    cap 00[fe] = unknown
none6@pci0:0:0:6:	class=0x050000 card=0x50001458 chip=0x027f10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Memory Controller 3'
    class      = memory
    subclass   = RAM
none7@pci0:0:0:7:	class=0x050000 card=0x50001458 chip=0x027e10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 Memory Controller 2'
    class      = memory
    subclass   = RAM
pcib1@pci0:0:3:0:	class=0x060400 card=0x000010de chip=0x02fd10de
rev=0xa1 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 PCIe Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x000010de
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port max data 128(128) link x1(x1)
pcib2@pci0:0:4:0:	class=0x060400 card=0x000010de chip=0x02fb10de
rev=0xa1 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'C51 PCIe Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[40] = PCI Bridge card=0x000010de
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit
    cap 08[60] = HT MSI address window disabled at 0xfee00000
    cap 10[80] = PCI-Express 1 root port max data 128(128) link x8(x16)
vgapci0@pci0:0:5:0:	class=0x030000 card=0xd0001458 chip=0x024210de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'NVIDIA GeForce 6100 (C51)'
    class      = display
    subclass   = VGA
    bar   [10] = type Memory, range 32, base 0xf2000000, size 16777216,
enabled
    bar   [14] = type Prefetchable Memory, range 64, base 0xe0000000,
size 268435456, enabled
    bar   [1c] = type Memory, range 64, base 0xf3000000, size 16777216,
enabled
    cap 01[48] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit
none8@pci0:0:9:0:	class=0x050000 card=0x50011458 chip=0x027010de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP51 Host Bridge'
    class      = memory
    subclass   = RAM
    cap 08[44] = HT slave
    cap 08[e0] = HT MSI address window disabled at 0xfee00000
isab0@pci0:0:10:0:	class=0x060100 card=0x50011458 chip=0x026010de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP51 LPC Bridge'
    class      = bridge
    subclass   = PCI-ISA
none9@pci0:0:10:1:	class=0x0c0500 card=0x02641458 chip=0x026410de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'NVIDIA nForce PCI System Management (NVIDIA SMB Bus
Controller)'
    class      = serial bus
    subclass   = SMBus
    bar   [20] = type I/O Port, range 32, base 0x1c00, size 64, enabled
    bar   [24] = type I/O Port, range 32, base 0x1c80, size 64, enabled
    cap 01[44] = powerspec 2  supports D0 D3  current D0
none10@pci0:0:10:2:	class=0x050000 card=0x02641458 chip=0x027210de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP51 Memory Controller 0'
    class      = memory
    subclass   = RAM
ohci0@pci0:0:11:0:	class=0x0c0310 card=0x50041458 chip=0x026d10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP51 USB Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xf7204000, size 4096, enabled
    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
ehci0@pci0:0:11:1:	class=0x0c0320 card=0x50041458 chip=0x026e10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP51 USB Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xf7205000, size 256, enabled
    cap 0a[44] = EHCI Debug Port at offset 0x98 in map 0x14
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
atapci0@pci0:0:13:0:	class=0x01018a card=0xb0001458 chip=0x026510de
rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP51 Parallel ATA Controller'
    class      = mass storage
    subclass   = ATA
    bar   [20] = type I/O Port, range 32, base 0xf000, size 16, enabled
    cap 01[44] = powerspec 2  supports D0 D3  current D0
atapci1@pci0:0:14:0:	class=0x010185 card=0xb0021458 chip=0x026610de
rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'NVIDIA nForce 430/410 Serial ATA Controller (MCP51S)'
    class      = mass storage
    subclass   = ATA
    bar   [10] = type I/O Port, range 32, base 0x9f0, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0xbf0, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0x970, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0xb70, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0xdc00, size 16, enabled
    bar   [24] = type Memory, range 32, base 0xf7207000, size 4096, enabled
    cap 01[44] = powerspec 2  supports D0 D3  current D0
    cap 05[b0] = MSI supports 4 messages, 64 bit
    cap 08[cc] = HT MSI fixed address window disabled at 0xfee00000
atapci2@pci0:0:15:0:	class=0x010185 card=0xb0021458 chip=0x026710de
rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'NVIDIA nForce 430/410 Serial ATA Controller (MCP51S)'
    class      = mass storage
    subclass   = ATA
    bar   [10] = type I/O Port, range 32, base 0x9e0, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0xbe0, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0x960, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0xb60, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0xc800, size 16, enabled
    bar   [24] = type Memory, range 32, base 0xf7206000, size 4096, enabled
    cap 01[44] = powerspec 2  supports D0 D3  current D0
    cap 05[b0] = MSI supports 4 messages, 64 bit
    cap 08[cc] = HT MSI fixed address window disabled at 0xfee00000
pcib4@pci0:0:16:0:	class=0x060401 card=0x00000000 chip=0x026f10de
rev=0xa2 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP51 PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[b8] = PCI Bridge card=0x00000000
    cap 08[8c] = HT MSI address window disabled at 0xfee00000
none11@pci0:0:16:1:	class=0x040300 card=0xa1021458 chip=0x026c10de
rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'High Definition Audio Controller (MCP51)'
    class      = multimedia
    subclass   = HDA
    bar   [10] = type Memory, range 32, base 0xf7200000, size 16384, enabled
    cap 01[44] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit, vector masks
    cap 08[6c] = HT MSI fixed address window disabled at 0xfee00000
hostb0@pci0:0:24:0:	class=0x060000 card=0x00000000 chip=0x11001022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) HyperTransport
Technology Configuration'
    class      = bridge
    subclass   = HOST-PCI
    cap 08[80] = HT host
hostb1@pci0:0:24:1:	class=0x060000 card=0x00000000 chip=0x11011022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb2@pci0:0:24:2:	class=0x060000 card=0x00000000 chip=0x11021022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb3@pci0:0:24:3:	class=0x060000 card=0x00000000 chip=0x11031022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) Miscellaneous
Control'
    class      = bridge
    subclass   = HOST-PCI
em0@pci0:4:0:0:	class=0x020000 card=0x10848086 chip=0x107d8086 rev=0x06
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/1000 PT'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base 0xf7100000, size 131072,
enabled
    bar   [14] = type Memory, range 32, base 0xf7120000, size 131072,
enabled
    bar   [18] = type I/O Port, range 32, base 0xb000, size 32, enabled
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit
    cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1)
pcib3@pci0:2:0:0:	class=0x060400 card=0x00000000 chip=0x032c8086
rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'PCI Express-to-PCI Express Bridge (6702PXH)'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[44] = PCI-Express 1 PCI bridge max data 128(256) link x8(x8)
    cap 05[5c] = MSI supports 1 message, 64 bit
    cap 01[6c] = powerspec 2  supports D0 D3  current D0
    cap 07[d8] = PCI-X bridge
mpt0@pci0:3:8:0:	class=0x010000 card=0x1f091028 chip=0x00541000 rev=0x01
hdr=0x00
    vendor     = 'LSI Logic (Was: Symbios Logic, NCR)'
    device     = 'SAS 3000 series, 8-port with 1068 -StorPort'
    class      = mass storage
    subclass   = SCSI
    bar   [10] = type I/O Port, range 32, base 0xa000, size 256, disabled
    bar   [14] = type Memory, range 64, base 0xf6010000, size 16384, enabled
    bar   [1c] = type Memory, range 64, base 0xf6000000, size 65536, enabled
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
    cap 05[98] = MSI supports 1 message, 64 bit
    cap 07[68] = PCI-X 64-bit supports 133MHz, 2048 burst read, 16 split
transactions
    cap 11[b0] = MSI-X supports 1 message in map 0x14
fwohci0@pci0:1:14:0:	class=0x0c0010 card=0x10001458 chip=0x30441106
rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT6306 VIA Fire II IEEE-1394 OHCI Link Layer Controller'
    class      = serial bus
    subclass   = FireWire
    bar   [10] = type Memory, range 32, base 0xf7000000, size 2048, enabled
    bar   [14] = type I/O Port, range 32, base 0x9000, size 128, enabled
    cap 01[50] = powerspec 2  supports D0 D2 D3  current D0


== kenv ==

root@store '20:39:13' '/home/tj'
> # kenv | grep smbios
smbios.bios.reldate="10/06/2005"
smbios.bios.vendor="Award Software International, Inc."
smbios.bios.version="F2"
smbios.chassis.maker=" "
smbios.chassis.serial=" "
smbios.chassis.tag=" "
smbios.chassis.version=" "
smbios.memory.enabled="1572864"
smbios.planar.maker="Gigabyte Technology Co., Ltd."
smbios.planar.product="C51-MCP51"
smbios.planar.serial="Thu Oct 20 23:29:13 2005
smbios.planar.version="x.x"
smbios.socket.enabled="1"
smbios.socket.populated="2"
smbios.system.maker=" "
smbios.system.product=" "
smbios.system.serial=" "
smbios.system.version=" "
smbios.version="2.3"


-- 
TJU13-ARIN



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