From owner-freebsd-current@FreeBSD.ORG Wed Nov 11 23:15:03 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 5840E106566B for ; Wed, 11 Nov 2009 23:15:03 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 02EDD8FC1E for ; Wed, 11 Nov 2009 23:15:02 +0000 (UTC) Received: by yxe1 with SMTP id 1so1513557yxe.3 for ; Wed, 11 Nov 2009 15:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=C6/LdNYrqcEiDyuMcpVM9bt42p1Gt4Sp0wRObGdjyyc=; b=ORFx/r6YLaa94Qjrd5cSgMpr6pZhE3gYPa0oCMUnRT48fZnYc+ghBzx5qIsJJ6uqLD 2s9GqgdBkOFkeNnii1B/pyXGbSp8+Fj3BHPlX2aQYlfnjxhqZTAje+SDbfgfq7GXsQWT 7JDGpK6Mre6ekYX1mrq1Ggwv3aAVUMpl6arJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=dQvqG8qJnr2S84oemvP5/OvTjOkdUeixFT7MfNOOowlHC/uPJi4ViIzCbqk73QfKDH YPcOvxaxQQrawarv1fQm5YE5FR0IdU02jWrzbAjAEQKIxiUC0Zo/Xgps2XDsnr9o9yg9 qCHSVOpNsPlF+9hJGejnqWMja8OVqb+PpcFyE= Received: by 10.151.5.1 with SMTP id h1mr3951480ybi.27.1257981299129; Wed, 11 Nov 2009 15:14:59 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm807791ywd.52.2009.11.11.15.14.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Nov 2009 15:14:58 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 11 Nov 2009 15:14:26 -0800 From: Pyun YongHyeon Date: Wed, 11 Nov 2009 15:14:26 -0800 To: Mel Flynn Message-ID: <20091111231426.GF15449@michelle.cdnetworks.com> References: <200911112311.51709.mel.flynn+fbsd.current@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200911112311.51709.mel.flynn+fbsd.current@mailing.thruhere.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Possible regression with msk driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 23:15:03 -0000 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. > My onsite contact is unavailable right now, but if she gets back I will reboot > the machine with the mergemaster'd rc.d to see if it's reproducible. I don't think it's related with rc.d scripts. > The machine is a dual core 64-bit running i386 SMP kernel with 4G memory and a > few ACPI problems: > ACPI APIC Table: > ACPI Warning: \\_SB_.PCI0.SBRG.FDC_._FDE: Return type mismatch - found > Package, expected Buffer 20090521 nspredef-1051 > ACPI Warning: Incorrect checksum in table [OEMB] - 4E, should be 43 20090521 > tbutils-275 > > With release around the door, I figured I'd get this out there, at the risk of > posting a red herring. > -- > Mel