From owner-freebsd-net@FreeBSD.ORG Fri May 13 10:54:45 2011 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 46B881065673 for ; Fri, 13 May 2011 10:54:45 +0000 (UTC) (envelope-from cy6ergn0m@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0DBA98FC12 for ; Fri, 13 May 2011 10:54:44 +0000 (UTC) Received: by iyj12 with SMTP id 12so2780351iyj.13 for ; Fri, 13 May 2011 03:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=HtbqyXiIEDM9/YP82EP2y4b3EoQZrhJStpzykfxpmfM=; b=pds8IHLGNc74/YI8ekzEbJa4rT3M+4rh8orYML7OOBncRCLrVFBiEf9nyQn4OVeS2o WALylkYgoCgZ2Gtt0vXI50cEVQN/RxP+hRjLaYH0GHh3qCU8sV7nu/wy/0Quugg0wXFI t0Knwgq6olL3HoNU8TG9gQmr7WQQmlniurV6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fA/uv+1qIVqOFMwCgfZ/ETeWe7b16tzWy1xJxxUcavh+OTLINA+70j5fCsQcIxjSzt aZbh1ix9exFR7q/WksEQCuAGFvJqhTuwvQ8CxHIvbO7s3MFGtT8P91DaHFNRa22IS68J gcMrgkMiN61BUs7SqauJngQaBmnW7wQ53zPh8= MIME-Version: 1.0 Received: by 10.231.208.142 with SMTP id gc14mr968546ibb.115.1305284084109; Fri, 13 May 2011 03:54:44 -0700 (PDT) Received: by 10.231.32.72 with HTTP; Fri, 13 May 2011 03:54:44 -0700 (PDT) In-Reply-To: <201105130810.p4D8AC7B020750@freefall.freebsd.org> References: <201105130810.p4D8AC7B020750@freefall.freebsd.org> Date: Fri, 13 May 2011 14:54:44 +0400 Message-ID: From: cyberGn0m To: David Xu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: kern/156493: [msk] Marvell Yukon 2 device works only few seconds X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2011 10:54:45 -0000 I also found that this bug is applicable to latest Linux kernels but not to older kernel versions. So if something was ported from Linux.. perhaps it affected FreeBSD too. 2011/5/13 David Xu > The following reply was made to PR kern/156493; it has been noted by GNAT= S. > > From: David Xu > To: bug-followup@freebsd.org, cy6erGn0m@gmail.com > Cc: > Subject: Re: kern/156493: [msk] Marvell Yukon 2 device works only few > seconds > Date: Fri, 13 May 2011 16:08:57 +0800 > > On CURRENT, I have same problem, dmesg shows my machine has following > hardware configuration: > > mskc0: port 0xe800-0xe8ff mem > 0xfebfc000-0xfebfffff irq 17 at device 0.0 on pci3 > msk0: on > mskc0 > msk0: Ethernet address: 90:fb:a6:9b:bd:c5 > miibus0: on msk0 > e1000phy0: PHY 0 on miibus0 > e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, > auto-flow > > > I have to disable workaround in if_msk.c to make it work: > > Index: dev/msk/if_msk.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- dev/msk/if_msk.c (revision 221829) > +++ dev/msk/if_msk.c (working copy) > @@ -1228,7 +1228,7 @@ > case CHIP_ID_YUKON_EC_U: > case CHIP_ID_YUKON_EX: > case CHIP_ID_YUKON_FE_P: > - case CHIP_ID_YUKON_UL_2: > +// case CHIP_ID_YUKON_UL_2: > case CHIP_ID_YUKON_OPT: > CSR_WRITE_2(sc, B0_CTST, Y2_HW_WOL_OFF); > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 ----------------------------------------------------------------- =D0=92=D1=81=D0=B5=D0=B3=D0=BE =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88= =D0=B5=D0=B3=D0=BE