#127: madwifi-ng: 2.6.15 kernel panic: fatal exception in irq handler
------------------------------+---------------------------------------------
  Reporter:  schorpp          |       Owner:  mrenzmann                         
  
      Type:  defect           |      Status:  new                               
  
  Priority:  critical         |   Milestone:  version 0.9.0 - move to new 
codebase
 Component:  madwifi: driver  |     Version:  trunk                             
  
Resolution:                   |    Keywords:  panic                             
  
------------------------------+---------------------------------------------
Comment (by schorpp):

 DPRINTF(sc, ATH_DEBUG_XMIT, "%s: link[%u](%p)=%llx (%p)\n", XXX lastlogged
 XXX

                                 __func__,
                                 txq->axq_qnum, txq->axq_link,
                                 ito64(bf->bf_daddr), bf->bf_desc);
                 }
                 txq->axq_link = &lastds->ds_link;
                 ath_hal_intrset(ah, sc->sc_imask); xxx INT enable, whether
 crashing here or the handler, pls check if sc_imask is OK XXXX
         } else {
                 ATH_TXQ_INSERT_TAIL(txq, bf, bf_list);
                 DPRINTF(sc, ATH_DEBUG_TX_PROC, "%s: txq depth = %d\n",
 __func__, txq->axq_depth);
                 if (txq->axq_link == NULL) {
                         ath_hal_puttxbuf(ah, txq->axq_qnum, bf->bf_daddr);
                         DPRINTF(sc, ATH_DEBUG_XMIT, "%s: TXDP[%u] = %llx
 (%p)\n",
                                 __func__,
                                 txq->axq_qnum, ito64(bf->bf_daddr),
 bf->bf_desc);
                 } else {
 #ifdef AH_NEED_DESC_SWAP
                         *txq->axq_link = cpu_to_le32(bf->bf_daddr);
 #else
                         *txq->axq_link = bf->bf_daddr;
 #endif
                         DPRINTF(sc, ATH_DEBUG_XMIT, "%s: link[%u]
 (%p)=%llx (%p)\n",
                                 __func__,
                                 txq->axq_qnum, txq->axq_link,
                                 ito64(bf->bf_daddr), bf->bf_desc);
                 }
                 txq->axq_link = &lastds->ds_link;
                 ath_hal_txstart(ah, txq->axq_qnum);
                 sc->sc_dev->trans_start = jiffies;
         }
         ATH_TXQ_UNLOCK_BH(txq);

         sc->sc_devstats.tx_packets++;
         sc->sc_devstats.tx_bytes += framelen;
 }

-- 
Ticket URL: <http://madwifi.org/ticket/127>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to