From owner-freebsd-net@FreeBSD.ORG Thu Sep 10 21:16:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B661A1065694 for ; Thu, 10 Sep 2009 21:16:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f195.google.com (mail-qy0-f195.google.com [209.85.221.195]) by mx1.freebsd.org (Postfix) with ESMTP id 65B8B8FC2B for ; Thu, 10 Sep 2009 21:16:44 +0000 (UTC) Received: by qyk33 with SMTP id 33so19682qyk.14 for ; Thu, 10 Sep 2009 14:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:subject :message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=BFCS18T3NYIyvU79XJuW/QvckUWvuAPDWvoyRWawt2c=; b=BkL318s0lWF8H3RrJQ0inmTyl1xnTKC8JIr1eg/xQGimrJ7/OVxAy3Ee1024CvauUW FCjp1WtZzy8u/GKbanXRJQy5V1800faUsWcSnLpTZby4qzKUVgJv8PixIeC/Uk9Q+1XF pNtBR6tTLou+dRfRxtIKt5bXcisDLlp6p4FgU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=XlgP4K5fG4Wfc/+YN9+A9GLzkjrJt7DW6rBPVBi6mtDxdd99yvOTpfrJqXsYLCW1MG DOzQd7q2c0YLFY5g6uhsb1cAHrXZnFD4/hyTaMtyFI1HW92H/b1DIcocxyOjQY+7CSHq hs98uPIOXTEBxfjQR4c4cFEG65a63XiKpm3xc= Received: by 10.224.29.130 with SMTP id q2mr1929731qac.75.1252617403594; Thu, 10 Sep 2009 14:16:43 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 26sm98577qwa.42.2009.09.10.14.16.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 10 Sep 2009 14:16:42 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 10 Sep 2009 14:15:49 -0700 From: Pyun YongHyeon Date: Thu, 10 Sep 2009 14:15:49 -0700 To: freebsd-net@freebsd.org Message-ID: <20090910211549.GK3298@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090908213335.GE1520@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Subject: Re: D-Link DGE-560SX (Marvell 88E8061-based) doesn't see link X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 21:16:44 -0000 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: port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 16 at device 0.0 on pci1 > > msk0: on mskc0 > > msk0: Ethernet address: 00:21:91:52:4f:09 > > miibus0: on msk0 > > e1000phy0: PHY 0 on miibus0 > > e1000phy0: 1000baseSX, 1000baseSX-FDX, auto > > mskc0: [FILTER] > > > > ifconfig -m msk0 > > msk0: flags=8843 metric 0 mtu 1500 > > options=11a > > capabilities=11a > > ether 00:21:91:52:4f:09 > > inet 10.2.3.1 netmask 0xffffff00 broadcast 10.2.3.255 > > media: Ethernet autoselect (autoselect ) > > 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 metric 0 mtu 1500 > > options=11a > > ether 00:21:91:52:4f:09 > > inet 10.2.3.1 netmask 0xffffff00 broadcast 10.2.3.255 > > media: Ethernet 1000baseSX (autoselect ) > > 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