From owner-freebsd-current@FreeBSD.ORG Tue Nov 17 18:20:37 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 3FDC41065696 for ; Tue, 17 Nov 2009 18:20:37 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id E37878FC2A for ; Tue, 17 Nov 2009 18:20:36 +0000 (UTC) Received: by qyk6 with SMTP id 6so198265qyk.3 for ; Tue, 17 Nov 2009 10:20:36 -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=C4DgZUz8RpRwcy77z7GEV0deJZEsskEoDOmYeMusVPU=; b=pKr/Sf8mbL2pHefHiJ5l0j83ZnUJ7PbJp7Sg4kOzIHCSnhgWNVW1ZpyhhFdpXW5KsQ uOSTkPG3h2jVPXCc+QDVRItYQs1xRMfW4r2qtLCWLZVMiLTdZnrnlqQW/JfEdYMWKR4d Hs71RGqlVssAsg7Q7k1QmSrdns/OpcnD/xvFM= 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=BZWpEmHt/HP1IXxVYuCf6d83KNznzbuNBltU2j9+PBhl104BsbBaNGvZzr6a41wm80 YC0EBnUpXWkSy85+ITtlVT3DRqtpsXmVYbX2OAVASAgG++pXQ1KB0z5K6ggUcPEpgA3I rkSpmHOQbxIzOd+KScIyn9uMtHHvKH2XrdoWY= Received: by 10.224.104.130 with SMTP id p2mr5796356qao.164.1258482036275; Tue, 17 Nov 2009 10:20:36 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 5sm22435021qwg.0.2009.11.17.10.20.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 10:20:35 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 17 Nov 2009 10:20:05 -0800 From: Pyun YongHyeon Date: Tue, 17 Nov 2009 10:20:05 -0800 To: Gleb Kurtsou Message-ID: <20091117182005.GH1262@michelle.cdnetworks.com> References: <200911112311.51709.mel.flynn+fbsd.current@mailing.thruhere.net> <20091111231426.GF15449@michelle.cdnetworks.com> <20091115091309.GA1539@tops.skynet.lt> <20091116181304.GC1262@michelle.cdnetworks.com> <20091116203231.GA1597@tops.skynet.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091116203231.GA1597@tops.skynet.lt> User-Agent: Mutt/1.4.2.3i Cc: Mel Flynn , 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: Tue, 17 Nov 2009 18:20:37 -0000 On Mon, Nov 16, 2009 at 10:32:31PM +0200, Gleb Kurtsou wrote: > On (16/11/2009 10:13), Pyun YongHyeon wrote: > > On Sun, Nov 15, 2009 at 11:13:10AM +0200, Gleb Kurtsou wrote: > [...] > > > I experience similar problem. After boot msk0 status is active, but I'm > > > not able to send anything: > > > % ping 172.21.21.21 > > > PING 172.21.21.21 (172.21.21.21): 56 data bytes > > > ping: sendto: No buffer space available > > > ping: sendto: No buffer space available > > > > > > After unplugging cable and putting it back everything works as > > > expected: > > > % ping 172.21.21.21 > > > PING 172.21.21.21 (172.21.21.21): 56 data bytes > > > 64 bytes from 172.21.21.21: icmp_seq=0 ttl=64 time=0.904 ms > > > > > > It is 100% reproducible, running recent current. > > > > > > % uname -a > > > FreeBSD tops 9.0-CURRENT FreeBSD 9.0-CURRENT #17 r199274+c8076f9: Sat Nov 14 22:59:26 EET 2009 root@tops:/usr/obj/usr/freebsd-src/local/sys/TOPS amd64 > > > > > > % ifconfig > > > msk0: flags=8843 metric 0 mtu 1500 > > > options=11a > > > ether * > > > inet 172.21.21.22 netmask 0xfffffff8 broadcast 172.21.21.23 > > > inet6 * prefixlen 64 scopeid 0x1 > > > nd6 options=29 > > > media: Ethernet autoselect (100baseTX ) > > > status: active > > > > > > My hardware: > > > mskc0@pci0:2:0:0: class=0x020000 card=0x902d104d chip=0x435311ab rev=0x15 hdr=0x00 > > > vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' > > > device = 'Gigabit (88E8039 - http://www.marvell.com/drivers/driverDis)' > > > class = network > > > subclass = ethernet > > > > > > > I guess some changes made to reduce unnecessary controller > > reinitialization seems to cause the issue. > > Would you try attached patch? > > Patch fixes the issue. I tried rebooting several times with > connected/disconnected cable. I'll let you know if any problem shows up > later. > Patch committed to HEAD(r199413). Thanks for testing!