[Bug 208653] PCN driver will not handle all PC net pro cards

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 20 16:15:06 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208653

--- Comment #3 from Mats <mats42 at home.se> ---
(In reply to Sean Bruno from comment #2)
hostb0 at pci0:0:0:0:      class=0x060000 card=0x82761043 chip=0x29c08086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82G33/G31/P35/P31 Express DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[e0] = vendor (length 11) Intel cap 0 version 1
pcib1 at pci0:0:1:0:       class=0x060400 card=0x82761043 chip=0x29c18086 rev=0x02
hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82G33/G31/P35/P31 Express PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[88] = PCI Bridge card=0x82761043
    cap 01[80] = powerspec 3  supports D0 D3  current D0
    cap 05[90] = MSI supports 1 message 
    cap 10[a0] = PCI-Express 1 root port slot max data 128(128) link x16(x16)
                 speed 2.5(2.5) ASPM disabled(L0s)
    ecap 0002[100] = VC 1 max VC0
    ecap 0005[140] = Root Complex Link Declaration 1
uhci0 at pci0:0:26:0:      class=0x0c0300 card=0x82771043 chip=0x29378086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0xb800, size 32, enabled
    cap 09[50] = vendor (length 6) Intel cap 2 version 0
uhci1 at pci0:0:26:1:      class=0x0c0300 card=0x82771043 chip=0x29388086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0xb880, size 32, enabled
    cap 09[50] = vendor (length 6) Intel cap 2 version 0
uhci2 at pci0:0:26:2:      class=0x0c0300 card=0x82771043 chip=0x29398086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0xbc00, size 32, enabled
    cap 09[50] = vendor (length 6) Intel cap 2 version 0
ehci0 at pci0:0:26:7:      class=0x0c0320 card=0x82771043 chip=0x293c8086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xfcfffc00, size 1024, enabled
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
    cap 09[98] = vendor (length 6) Intel cap 2 version 0
pcib2 at pci0:0:28:0:      class=0x060400 card=0x82771043 chip=0x29408086 rev=0x02
hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 1 root port slot max data 128(128) link x4(x4)
                 speed 2.5(2.5) ASPM disabled(L0s/L1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x82771043
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
    ecap 0002[100] = VC 1 max VC0
    ecap 0005[180] = Root Complex Link Declaration 1
uhci3 at pci0:0:29:0:      class=0x0c0300 card=0x82771043 chip=0x29348086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0xb080, size 32, enabled
    cap 09[50] = vendor (length 6) Intel cap 2 version 0
uhci4 at pci0:0:29:1:      class=0x0c0300 card=0x82771043 chip=0x29358086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0xb400, size 32, enabled
    cap 09[50] = vendor (length 6) Intel cap 2 version 0
uhci5 at pci0:0:29:2:      class=0x0c0300 card=0x82771043 chip=0x29368086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0xb480, size 32, enabled
    cap 09[50] = vendor (length 6) Intel cap 2 version 0
ehci1 at pci0:0:29:7:      class=0x0c0320 card=0x82771043 chip=0x293a8086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xfcfff800, size 1024, enabled
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
    cap 09[98] = vendor (length 6) Intel cap 2 version 0
pcib3 at pci0:0:30:0:      class=0x060401 card=0x82771043 chip=0x244e8086 rev=0x92
hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[50] = PCI Bridge card=0x82771043
isab0 at pci0:0:31:0:      class=0x060100 card=0x82771043 chip=0x29188086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB (ICH9) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
    cap 09[e0] = vendor (length 12) Intel cap 1 version 0
                 features: Quick Resume, SATA RAID-5, 4 PCI-e x1 slots, SATA
RAID-0/1/10
atapci0 at pci0:0:31:2:    class=0x01018f card=0x82771043 chip=0x29218086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB (ICH9) 2 port SATA Controller [IDE mode]'
    class      = mass storage
    subclass   = ATA
    bar   [10] = type I/O Port, range 32, base 0xa000, size 8, enabled
    bar   [14] = type I/O Port, range 32, base 0x9c00, size 4, enabled
    bar   [18] = type I/O Port, range 32, base 0x9880, size 8, enabled
    bar   [1c] = type I/O Port, range 32, base 0x9800, size 4, enabled
    bar   [20] = type I/O Port, range 32, base 0x9480, size 16, enabled
    bar   [24] = type I/O Port, range 32, base 0x9400, size 16, enabled
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 09[b0] = vendor (length 6) Intel cap 2 version 0
none0 at pci0:0:31:3:      class=0x0c0500 card=0x82771043 chip=0x29308086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
    bar   [10] = type Memory, range 64, base 0xfcfff400, size 256, enabled
    bar   [20] = type I/O Port, range 32, base 0x400, size 32, enabled
atapci1 at pci0:0:31:5:    class=0x010185 card=0x82771043 chip=0x29268086 rev=0x02
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) 2 port SATA Controller [IDE mode]'
    class      = mass storage
    subclass   = ATA
    bar   [10] = type I/O Port, range 32, base 0xb000, size 8, enabled
    bar   [14] = type I/O Port, range 32, base 0xac00, size 4, enabled
    bar   [18] = type I/O Port, range 32, base 0xa880, size 8, enabled
    bar   [1c] = type I/O Port, range 32, base 0xa800, size 4, enabled
    bar   [20] = type I/O Port, range 32, base 0xa480, size 16, enabled
    bar   [24] = type I/O Port, range 32, base 0xa400, size 16, enabled
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 09[b0] = vendor (length 6) Intel cap 2 version 0
vgapci0 at pci0:1:0:0:     class=0x030000 card=0x847c1043 chip=0x104a10de rev=0xa1
hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GF119 [GeForce GT 610]'
    class      = display
    subclass   = VGA
    bar   [10] = type Memory, range 32, base 0xfd000000, size 16777216, enabled
    bar   [14] = type Prefetchable Memory, range 64, base 0xf0000000, size
134217728, enabled
    bar   [1c] = type Prefetchable Memory, range 64, base 0xf8000000, size
33554432, enabled
    bar   [24] = type I/O Port, range 32, base 0xcc00, size 128, enabled
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit 
    cap 10[78] = PCI-Express 1 endpoint max data 128(128) RO NS link x16(x16)
                 speed 2.5(2.5) ASPM disabled(L0s/L1)
    cap 09[b4] = vendor (length 20)
    ecap 0002[100] = VC 1 max VC0
    ecap 0004[128] = Power Budgeting 1
    ecap 000b[600] = Vendor 1 ID 1
hdac0 at pci0:1:0:1:       class=0x040300 card=0x847c1043 chip=0x0e0810de rev=0xa1
hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GF119 HDMI Audio Controller'
    class      = multimedia
    subclass   = HDA
    bar   [10] = type Memory, range 32, base 0xfe7fc000, size 16384, enabled
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[78] = PCI-Express 1 endpoint max data 128(128) RO NS link x16(x16)
                 speed 2.5(2.5) ASPM L0s/L1(L0s/L1)
em0 at pci0:2:0:0: class=0x020000 card=0x115f108e chip=0x105f8086 rev=0x06
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82571EB Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base 0xfe880000, size 131072, enabled
    bar   [14] = type Memory, range 32, base 0xfe860000, size 131072, enabled
    bar   [18] = type I/O Port, range 32, base 0xd880, size 32, enabled
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[e0] = PCI-Express 1 endpoint max data 128(256) RO NS link x4(x4)
                 speed 2.5(2.5) ASPM disabled(L0s)
    ecap 0001[100] = AER 1 0 fatal 1 non-fatal 0 corrected
    ecap 0003[140] = Serial 1 001517ffff38a242
em1 at pci0:2:0:1: class=0x020000 card=0x115f108e chip=0x105f8086 rev=0x06
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82571EB Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base 0xfe8e0000, size 131072, enabled
    bar   [14] = type Memory, range 32, base 0xfe8c0000, size 131072, enabled
    bar   [18] = type I/O Port, range 32, base 0xdc00, size 32, enabled
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[e0] = PCI-Express 1 endpoint max data 128(256) RO NS link x4(x4)
                 speed 2.5(2.5) ASPM disabled(L0s)
    ecap 0001[100] = AER 1 0 fatal 1 non-fatal 0 corrected
    ecap 0003[140] = Serial 1 001517ffff38a242
pcn0 at pci0:3:1:0:        class=0x020000 card=0x27031259 chip=0x20001022 rev=0x54
hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = '79c970 [PCnet32 LANCE]'
    class      = network
    subclass   = ethernet
    bar   [10] = type I/O Port, range 32, base 0xec00, size 32, enabled
    bar   [14] = type Memory, range 32, base 0xfebff000, size 4096, enabled
    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
fxp0 at pci0:3:2:0:        class=0x020000 card=0x00098086 chip=0x12298086 rev=0x05
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82557/8/9/0/1 Ethernet Pro 100'
    class      = network
    subclass   = ethernet
    bar   [10] = type Prefetchable Memory, range 32, base 0xfbfff000, size
4096, enabled
    bar   [14] = type I/O Port, range 32, base 0xe880, size 32, enabled
    bar   [18] = type Memory, range 32, base 0xfea00000, size 1048576, enabled
    cap 01[dc] = powerspec 1  supports D0 D1 D2 D3  current D0

Since we see a pcn0 it seems (in my eyes at least, the may be wrong) that the
driver detects the card. 
It just wont handle it right. If I understand the linux code, this nic must be
set to 100FDX since a fibre adapter can't support anything else.
I did try ifconfig pcn0 media 100baseTX -mediaopt full-duplex
That gave an SIOCSIFMEDIA (media): Device not configured

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list