Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2011 22:50:54 GMT
From:      "Timothy T. Smith" <timothytsmith@hotmail.tom>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/157932: loading CAS4 at boot hangs system
Message-ID:  <201106162250.p5GMos8u014882@red.freebsd.org>
Resent-Message-ID: <201106162300.p5GN0HQr047156@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106162250.p5GMos8u014882>