kern/128040: System hangs when PCMCIA-CF adapter plugged into
cardbus slot
Arthur Hartwig
arthur.hartwig at nokia.com
Mon Oct 13 03:20:02 UTC 2008
>Number: 128040
>Category: kern
>Synopsis: System hangs when PCMCIA-CF adapter plugged into cardbus slot
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 13 03:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Arthur Hartwig
>Release: 6.3
>Organization:
Nokia
>Environment:
>Description:
All systems discussed have a TI PCI1520 PCI Cardbus bridge.
On system with Celeron 1.5GHz CPU, sometimes when a PCMCIA to Compact Flash adapter containing a Compact Flash card is inserted in the cardbus slot the system hangs. This problem has not been observed in systems with a 2.8GHz XEON CPU or faster.
Analysis of the cbb driver shows functional interrupts are routed to PCI BEFORE the interrupt handler for functional interrupts has been registered.
>How-To-Repeat:
>Fix:
Route the functional interrupts to PCI AFTER the functional interrupt handler has been registered.
In cbb_power() in sys/dev/pccbb/pccbb.c remove the
PCI_MASK_CONFIG(brdev, CBBR_BRIDGECTRL,
& ~CBBM_BRIDGECTRL_INTR_IREQ_ISA_EN, 2);
and add it to cbb_enable_func_intr() after the
exca_putb(&sc->exca[0], EXCA_INTR, reg);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list