From owner-freebsd-current@FreeBSD.ORG Sat Nov 14 14:42:28 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D5DB106566B for ; Sat, 14 Nov 2009 14:42:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D6F348FC15 for ; Sat, 14 Nov 2009 14:42:27 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id D9C427E857; Sat, 14 Nov 2009 05:42:24 -0900 (AKST) From: Mel Flynn To: freebsd-current@freebsd.org, pyunyh@gmail.com Date: Sat, 14 Nov 2009 15:42:21 +0100 User-Agent: KMail/1.12.1 (FreeBSD/8.0-RC1; KDE/4.3.1; i386; ; ) References: <200911112311.51709.mel.flynn+fbsd.current@mailing.thruhere.net> <20091111231426.GF15449@michelle.cdnetworks.com> In-Reply-To: <20091111231426.GF15449@michelle.cdnetworks.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911141542.21634.mel.flynn+fbsd.current@mailing.thruhere.net> Cc: Subject: Re: Possible regression with msk driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2009 14:42:28 -0000 On Thursday 12 November 2009 00:14:26 Pyun YongHyeon wrote: > On Wed, Nov 11, 2009 at 11:11:51PM +0100, Mel Flynn wrote: > > Hi, > > > > I just booted a box from 7.2-p4 to FreeBSD 8.0-PRERELEASE #0 r199185. It > > didn't ping, even though the interface was marked up and active. No > > traffic at all. > > > > The fix was to ifconfig msk0 down; ifconfig msk0 up. From then on, > > everything worked and still is: > > mskc0: port 0xe800-0xe8ff mem > > 0xf9efc000-0xf9efffff irq 16 at device 0.0 on pci3 > > msk0: on > > mskc0 msk0: Ethernet address: 00:1b:fc:e3:9b:6a > > miibus0: on msk0 > > e1000phy0: PHY 0 on miibus0 > > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > > 1000baseT-FDX, auto > > mskc0: [FILTER] > > > > mskc0@pci0:3:0:0: class=0x020000 card=0x826e1043 chip=0x436411ab > > rev=0x12 hdr=0x00 > > vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' > > device = 'Yukon PCI-E Gigabit Ethernet Controller (88E8056)' > > class = network > > subclass = ethernet > > > > msk0: flags=8843 metric 0 mtu > > 1500 options=11a > > ether 00:1b:fc:xx:xx:xx > > inet 192.168.xxx.xxx netmask 0xffffff00 broadcast 192.168.xxx.255 > > media: Ethernet autoselect (1000baseT > > ) status: active > > > > Now - this machine still had 7.x /etc/rc.d, but since ifconfig down/up > > fixed the problem I don't know if this is a likely suspect. > > Most likely it lost link state changes so I guess msk(4) still > think it has no established link. > Because there had been several problems with EC Ultra + 88E1149 I'm > not sure it's newly introduced regression though. There are some > changes in CURRENT. Would you try latest msk(4)/e1000phy(4) in > CURRENT? I think you can download the following files from CURRENT. > sys/dev/msk/if_msk.c > sys/dev/msk/if_mskreg.h > sys/dev/mii/e1000phy.c > sys/dev/mii/e1000phyreg.h > > If that does not work I'll send you a possible patch. Well, I couldn't reproduce it reliably. One out of 4-5 reboots exhibited this behavior. Unfortunately, the webcam acquired for this machine, did not have a FreeBSD driver (it was going to be used for shop surveillance), so it's furnished with Windows now. I may rip out the card and put it in a Dell that currently uses bge cards, but that won't be soon. -- Mel