Hello misc,
Two identically configured SUN V210, each equipped with a SK-9S91 PCI
NIC (single port, single mode fiber 1 Gbit/s), run -current snapshot
dated 20 Jan 07
The kernel detects those fiber NICs, besides the four on-board bge,
see dmesg below. After boot, the msk0 come up in autoselect media
type, but the two fiber NICs' link status remains at "no carrier",
despite having connected the two NIC with a cross-over fiber patch
cable and forcing them "up".
Forcing the media type "1000baseSX" according to msk(4) fails:
# ifconfig msk0 media 1000baseSX
ifconfig: SIOCSIFMEDIA: Invalid argument
#
Indeed, this option is missing in the list of media types and options
supported by the card:
# ifconfig -m msk0
msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:5a:72:fc:58
media: Ethernet autoselect (100baseTX half-duplex)
status: no carrier
supported media:
media none
media 10baseT
media 10baseT mediaopt full-duplex
media 100baseTX
media 100baseTX mediaopt full-duplex
media 1000baseT
media 1000baseT mediaopt full-duplex
media autoselect
inet6 fe80::200:5aff:fe72:fc58%msk0 prefixlen 64 scopeid 0x5
inet 10.10.0.218 netmask 0xffffff00 broadcast 10.10.0.255
#
Maybe I am mistaken by assuming that "1000baseSX" should be accepted
by msk() for these NICs?
After taking a look at the msk() and eephy() driver sources, I still
can not figure out if I have a misconception about the use of msk(),
or the fiber NICs features, or even if there is a problem with the
driver(s) and Gig fiber support.
Both fiber NICs are new out-of-the-box. To exclue any hardware
problem, I might test them under Solaris 8, According to prior
experience, I know that they should work after installing a suitable
driver.
I can patch and re-test, if this should be of interest. Thanks for any
hints and suggestions,
Rolf
# dmesg
console is /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL PROTECTED],3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.0-current (GENERIC) #1049: Fri Jan 19 18:36:23 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 1073741824
avail memory = 969416704
using 6553 buffers containing 53682176 bytes of memory
bootpath: /[EMAIL PROTECTED],600000/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0
mainbus0 (root): Sun Fire V210
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1336 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
external (64 b/l)
memory-controller at mainbus0 not configured
schizo0 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0
schizo0: dvma map c0000000-dfffffff, iotdb 4d16000-4d96000
pci0 at schizo0
bge0 at pci0 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x7c8, address 00:14:4f:64:0c:52
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci0 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x7c9, address 00:14:4f:64:0c:53
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
schizo1 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
schizo1: dvma map c0000000-dfffffff, iotdb 547e000-54fe000
pci1 at schizo1
ebus0 at pci1 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"flashprom" at ebus0 addr 0-fffff, 290-290 not configured
rtc0 at ebus0 addr 70-71: m5819p
pcfiic0 at ebus0 addr 320-321 ipl 46
iic0 at pcfiic0
"SUNW,i2c-imax" at iic0 addr 0xb not configured
"SUNW,i2c-imax" at iic0 addr 0xc not configured
"at24c64" at iic0 addr 0x51 not configured
"at24c64" at iic0 addr 0x54 not configured
"at24c64" at iic0 addr 0x58 not configured
"at34c02" at iic0 addr 0x5b not configured
"at34c02" at iic0 addr 0x5c not configured
"at34c02" at iic0 addr 0x5d not configured
"at34c02" at iic0 addr 0x5e not configured
"ds1307" at iic0 addr 0x68 not configured
"at24c64" at iic0 addr 0x28 not configured
"pca9555" at iic0 addr 0x22 not configured
"pca9555" at iic0 addr 0x23 not configured
"pca9555" at iic0 addr 0x34 not configured
"pca9556" at iic0 addr 0x38 not configured
power0 at ebus0 addr 800-82f ipl 32: can't map register space
com0 at ebus0 addr 3f8-3ff ipl 44: ns16550a, 16 byte fifo
com0: console
com1 at ebus0 addr 2e8-2ef ipl 44: ns16550a, 16 byte fifo
"rmc-comm" at ebus0 addr 3e8-3ef ipl 44 not configured
"Acer Labs M7101 Power" rev 0x00 at pci1 dev 6 function 0 not configured
ohci0 at pci1 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
0x7a7, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pciide0 at pci1 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4:
DMA, channel 0 configured to native-PCI, channel 1 configured to
native-PCI
pciide0: using ivec 0x798 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, DV-28E-R, 1.8A> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
schizo2 at mainbus0: "Tomatillo", version 4, ign 700, bus A 0 to 0
schizo2: dvma map c0000000-dfffffff, iotdb 5514000-5594000
pci2 at schizo2
siop0 at pci2 dev 2 function 0 "Symbios Logic 53c1010-66" rev 0x01:
ivec 0x729, using 8K of on-board RAM
scsibus1 at siop0: 16 targets
sd0 at scsibus1 targ 0 lun 0: <SEAGATE, ST373207LSUN72G, 045A> SCSI3
0/direct fixed
sd0: 70007MB, 14089 cyl, 24 head, 424 sec, 512 bytes/sec, 143374738 sec total
siop1 at pci2 dev 2 function 1 "Symbios Logic 53c1010-66" rev 0x01:
ivec 0x728, using 8K of on-board RAM
scsibus2 at siop1: 16 targets
schizo3 at mainbus0: "Tomatillo", version 4, ign 740, bus B 0 to 0
schizo3: dvma map c0000000-dfffffff, iotdb 55c2000-5642000
pci3 at schizo3
bge2 at pci3 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x75c, address 00:14:4f:64:0c:54
brgphy2 at bge2 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge3 at pci3 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x75d, address 00:14:4f:64:0c:55
brgphy3 at bge3 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
mskc0 at pci3 dev 1 function 0 "Schneider & Koch SK-9Sxx" rev 0x11,
Yukon-2 XL rev. A1 (0x1): ivec 0x744
msk0 at mskc0 port A, address 00:00:5a:72:fc:58
eephy0 at msk0 phy 0: Marvell 88E1112 Gigabit PHY, rev. 1
pcons at mainbus0 not configured
No counter-timer -- using %tick at 1336MHz as system clock.
root on sd0a
siop0: target 0 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
#