From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 22 22:30:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B07B321 for ; Mon, 22 Oct 2012 22:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 489F78FC19 for ; Mon, 22 Oct 2012 22:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MMU196001626 for ; Mon, 22 Oct 2012 22:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MMU1iQ001623; Mon, 22 Oct 2012 22:30:01 GMT (envelope-from gnats) Resent-Date: Mon, 22 Oct 2012 22:30:01 GMT Resent-Message-Id: <201210222230.q9MMU1iQ001623@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adrian Chadd Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31C5C1C9 for ; Mon, 22 Oct 2012 22:29:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 174348FC0C for ; Mon, 22 Oct 2012 22:29:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MMTlcD003132 for ; Mon, 22 Oct 2012 22:29:47 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9MMTlro003131; Mon, 22 Oct 2012 22:29:47 GMT (envelope-from nobody) Message-Id: <201210222229.q9MMTlro003131@red.freebsd.org> Date: Mon, 22 Oct 2012 22:29:47 GMT From: Adrian Chadd To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/172968: [arswitch] probe/attach occasionally fails to find a PHY X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 22:30:01 -0000 >Number: 172968 >Category: misc >Synopsis: [arswitch] probe/attach occasionally fails to find a PHY >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 22 22:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Adrian Chadd >Release: -HEAD, mips >Organization: >Environment: >Description: Occasionally the probe/attach of the AR8316 switch fails - the actual device doesn't fail, but the mdiobus it exposes doesn't always find a PHY. This means that sometimes one of the on-board arge interfaces (which is linked to the stand-alone PHY) can't find a PHY and it simply fails to attach. >How-To-Repeat: Just keep rebooting an atheros MIPS board with an onboard AR8x16 switch. >Fix: Luis Otavio D'Souza found that disabling the page cache feature fixes it. Ie, always set the page id before read/writing the switch register. >Release-Note: >Audit-Trail: >Unformatted: