Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2009 14:15:49 -0700
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: D-Link DGE-560SX (Marvell 88E8061-based) doesn't see link
Message-ID:  <20090910211549.GK3298@michelle.cdnetworks.com>
In-Reply-To: <20090908213335.GE1520@michelle.cdnetworks.com>
References:  <20090825083857.GA22983@traktor.dnepro.net> <20090825114649.GA11642@traktor.dnepro.net> <20090825130821.GA41669@traktor.dnepro.net> <20090825182553.GD1282@michelle.cdnetworks.com> <20090826093916.GB10790@traktor.dnepro.net> <20090826094856.GC10790@traktor.dnepro.net> <20090901161310.GA37481@traktor.dnepro.net> <20090904212223.GA9950@michelle.cdnetworks.com> <20090908075030.GA6644@traktor.dnepro.net> <20090908213335.GE1520@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 08, 2009 at 02:33:35PM -0700, Pyun YongHyeon wrote:
> On Tue, Sep 08, 2009 at 10:50:30AM +0300, Eugene Perevyazko wrote:
> > On Fri, Sep 04, 2009 at 02:22:23PM -0700, Pyun YongHyeon wrote:
> > > 
> > > Would you back out previous changes and apply the patch at the
> > > following URL?
> > > http://people.freebsd.org/~yongari/msk/msk.DGE560.diff2
> > > 
> > > Note, I have no more access to msk(4) hardwares so it wasn't tested
> > > at all except compilation.
> > >
> > 
> > Still no success.
> >  
> > mskc0: <D-Link 560SX Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 16 at device 0.0 on pci1
> > msk0: <Marvell Technology Group Ltd. Yukon XL Id 0xb3 Rev 0x03> on mskc0
> > msk0: Ethernet address: 00:21:91:52:4f:09
> > miibus0: <MII bus> on msk0
> > e1000phy0: <Marvell 88E1112 Gigabit PHY> PHY 0 on miibus0
> > e1000phy0:  1000baseSX, 1000baseSX-FDX, auto
> > mskc0: [FILTER]
> > 
> > ifconfig -m msk0
> > msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >         options=11a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4>
> >         capabilities=11a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4>
> >         ether 00:21:91:52:4f:09
> >         inet 10.2.3.1 netmask 0xffffff00 broadcast 10.2.3.255
> >         media: Ethernet autoselect (autoselect <full-duplex>)
> >         status: active
> >         supported media:
> >                 media autoselect
> >                 media 1000baseSX mediaopt full-duplex
> >                 media 1000baseSX
> >                 media none
> > 
> > Switch shows no link on the port.
> > 
> > # ifconfig msk0 media 1000baseSX mediaopt full-duplex
> > # ifconfig msk0
> > msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >         options=11a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4>
> >         ether 00:21:91:52:4f:09
> >         inet 10.2.3.1 netmask 0xffffff00 broadcast 10.2.3.255
> >         media: Ethernet 1000baseSX <full-duplex> (autoselect <full-duplex>)
> >         status: active
> > 
> > Switch shows no link again.
> > 
> > All dev.msk.0.stats counters are zero even after trying broadcast ping.
> > 
> > I can arrange you root access to the host with this NIC if you have time/wish.
> > 
> 
> I've sent mail in private.
> 

With the help of original poster, I think I've fixed it. If you're
msk(4) user and couldn't send/receive frames on fiber media, please
try the patch at the following URL and let me know how it goes.
http://people.freebsd.org/~yongari/msk/msk.DGE560.diff4



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