From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 16 23:00:18 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2494C1065674 for ; Thu, 16 Jun 2011 23:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC9BC8FC0C for ; Thu, 16 Jun 2011 23:00:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5GN0HDi047157 for ; Thu, 16 Jun 2011 23:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5GN0HQr047156; Thu, 16 Jun 2011 23:00:17 GMT (envelope-from gnats) Resent-Date: Thu, 16 Jun 2011 23:00:17 GMT Resent-Message-Id: <201106162300.p5GN0HQr047156@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, "Timothy T. Smith" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A05E106566B for ; Thu, 16 Jun 2011 22:50:54 +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 8A30F8FC13 for ; Thu, 16 Jun 2011 22:50:54 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5GMosE5014883 for ; Thu, 16 Jun 2011 22:50:54 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5GMos8u014882; Thu, 16 Jun 2011 22:50:54 GMT (envelope-from nobody) Message-Id: <201106162250.p5GMos8u014882@red.freebsd.org> Date: Thu, 16 Jun 2011 22:50:54 GMT From: "Timothy T. Smith" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/157932: loading CAS4 at boot hangs system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2011 23:00:18 -0000 >Number: 157932 >Category: kern >Synopsis: loading CAS4 at boot hangs system >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 16 23:00:17 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Timothy T. Smith >Release: 8-STABLE #4 6/18/2011 >Organization: Personal MIS LLC >Environment: FreeBSD nas1.exitexchange.com 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Jun 15 18:29:13 PDT 2011 root@nas1.exitexchange.com:/usr/obj/usr/src/sys/SAN amd64 >Description: System will hang with "error attaching PHYs" when CAS4 is loaded at boot time. It does not recover. This is true when adding if_cas_load="yes" in loader.conf OR "device cas" is built into the kernel. This is also true even if all other network drivers besides em are removed. The card using the CAS4 drivers is a Sun Micro Gigaswift 501-6522. >How-To-Repeat: Load CAS4 at boot. >Fix: No fix, but a work around is to manually load the driver after system boot. This process will load the driver with out issues: /sbin/kldload if_cas /sbin/kldunload if_cas /sbin/kldload if_cas I don't know why, but this always works. Loading manually the first time results in the same "error attaching PHYs". The error goes away after unloading then reloading and the card works after that. >Release-Note: >Audit-Trail: >Unformatted: