kern/157932: loading CAS4 at boot hangs system

Timothy T. Smith timothytsmith at hotmail.tom
Thu Jun 16 23:00:18 UTC 2011

>Number:         157932
>Category:       kern
>Synopsis:       loading CAS4 at boot hangs system
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 16 23:00:17 UTC 2011
>Originator:     Timothy T. Smith
>Release:        8-STABLE #4 6/18/2011
Personal MIS LLC
FreeBSD 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Jun 15
 18:29:13 PDT 2011 root at amd64

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.
Load CAS4 at boot.
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.


More information about the freebsd-bugs mailing list