Project

General

Profile

Bug #3267

#1572 yge hijacks skge SK-9Exx SX adapters

Added by Udo Grabowski about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-10-09
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

After upgrade to oi-a7, which brings in illumos change #1572 (adding
pci-id 1148,9e00 as yge supported HBA), our SK-9E81 SX (fiber) adapters,
normally driven by the skge (GLDv2) driver, are hijacked by the yge
driver, which seems not to support the SX variants of this chipset sold
by syskonnect (see www.syskonnect-test.com for the detailed product list
and drivers). yge does attach, but the card is not initialized at all (after
proper deinstallation of all bits of skge and cold boot/reconfiguration).
It seems that only TX variants sold by Marvell are supported by yge,
which, unfortunately, identify themselves by the same PCI ID. So
further discrimination is needed in yge if that PCI ID (and certainly
others from the same product class) should be included in driver_aliases.
-------------------------------------------------------------------------------------
DDU entry under yge (wrong identification):
node name: pci1148,8100
Vendor: SysKonnect
Device: SK-9E21D 10/100/1000Base-T Adapter, Copper RJ-45
Sub-Vendor: SysKonnect
Sub-System: SK-9E81 Server Adapter
binding name: pciex1148,9e00
devfs path: /pci@0,0/pci8086,3408@1/pci1148,8100@0
bus addr: 0
pci path: 1,0,0
compatible name: (pciex1148,9e00.1148.8100.11)(pciex1148,9e00.1148.8100)(pciex1148,9e00.11)(pciex1148,9e00)(pciexclass,020000)(pciexclass,0200)(pci1148,9e00.1148.8100.11)(pci1148,9e00.1148.8100)(pci1148,8100)(pci1148,9e00.11)(pci1148,9e00)(pciclass,020000)(pciclass,0200)
driver name: yge
instance: 0
driver state: Attached
fm-errcb-capable: TRUE
fm-ereport-capable: TRUE
pci-msi-capid-pointer: 5c
assigned-addresses: 83010010
reg: 10000
compatible: pciex1148,9e00.1148.8100.11
model: Ethernet controller
power-consumption: 1
devsel-speed: 0
interrupts: 1
subsystem-vendor-id: 1148
subsystem-id: 8100
unit-address: 0
class-code: 20000
revision-id: 11
vendor-id: 1148
device-id: 9e00

Oct 8 16:46:53 imksunug1 mac: [ID 469746 kern.info] NOTICE: yge0 registered
Oct 8 16:46:53 imksunug1 pcieb: [ID 586369 kern.info] PCIE-device: pci1148,8100@0, yge0
Oct 8 16:46:53 imksunug1 npe: [ID 236367 kern.info] PCI Express-device: pci1148,8100@0, yge0
Oct 8 16:46:53 imksunug1 genunix: [ID 936769 kern.info] yge0 is /pci@0,0/pci8086,3408@1/pci1148,8100@0
-------------------------------------------------------------------------
prtconf -v /dev/skge under skge driver 8.19.1.3 (final):
pci1148,8100, instance #0
System software properties:
name='Vlan_Inst0_Enable' type=string items=1
value='Yes'
name='Vlan_0_DevNum' type=int items=1
value=000003e8
name='Vlan_0_ID' type=int items=1
value=000004fd
name='Vlan_0_Jumbo' type=string items=1
value='Off'
name='Vlan_100_DevNum' type=int items=1
value=000007d0
name='Vlan_100_ID' type=int items=1
value=00000005
name='Vlan_100_Jumbo' type=string items=1
value='Off'
name='Vlan_Inst0_Count' type=int items=1
value=00000002
Driver properties:
name='fm-errcb-capable' type=boolean dev=none
name='fm-ereport-capable' type=boolean dev=none
name='pm-hardware-state' type=string items=1 dev=none
value='needs-suspend-resume'
Hardware properties:
name='pci-msi-capid-pointer' type=int items=1
value=0000005c
name='assigned-addresses' type=int items=10
value=83010010.00000000.f3dfc000.00000000.00004000.81010018.00000000.0000cc00.00000000.00000100
name='reg' type=int items=15
value=00010000.00000000.00000000.00000000.00000000.03010010.00000000.00000000.00000000.00004000.01010018.00000000.00000000.00000000.00000100
name='compatible' type=string items=13
value='pciex1148,9e00.1148.8100.11' + 'pciex1148,9e00.1148.8100' + 'pciex1148,9e00.11' + 'pciex1148,9e00' + 'pciexclass,020000' + 'pciexclass,0200' + 'pci1148,9e00.1148.8100.11' + 'pci1148,9e00.1148.8100' + 'pci1148,8100' + 'pci1148,9e00.11' + 'pci1148,9e00' + 'pciclass,020000' + 'pciclass,0200'
name='model' type=string items=1
value='Ethernet controller'
name='power-consumption' type=int items=2
value=00000001.00000001
name='devsel-speed' type=int items=1
value=00000000
name='interrupts' type=int items=1
value=00000001
name='subsystem-vendor-id' type=int items=1
value=00001148
name='subsystem-id' type=int items=1
value=00008100
name='unit-address' type=string items=1
value='0'
name='class-code' type=int items=1
value=00020000
name='revision-id' type=int items=1
value=00000011
name='vendor-id' type=int items=1
value=00001148
name='device-id' type=int items=1
value=00009e00
Device Minor Nodes:
dev=(322,1000003)
dev_path=<clone>
Device Minor Layered Under:
mod=udp accesstype=chr
dev_path=/pseudo/udp@0
dev=(322,1000002)
dev_path=<clone>
Device Minor Layered Under:
mod=udp accesstype=chr
dev_path=/pseudo/udp@0
dev=(322,1000001)
dev_path=<clone>
Device Minor Layered Under:
mod=udp accesstype=chr
dev_path=/pseudo/udp@0
dev=(322,1000004)
dev_path=<clone>
Device Minor Layered Under:
mod=udp accesstype=chr
dev_path=/pseudo/udp@0

No data to display

Also available in: Atom PDF