Re: SCC causes kernel crash

From: Alan Cox (eecac.dgjucvustb@gw-1-66.tvgawex.pl)
Date: Sun Jun 04 2000 - 19:43:41 EEST

  • Next message: THE SAFETY SHIELD: "HAS YOUR CHILD EVER BEEN MISSING FOR MORE THAN 2 MINUTES?"

    > None so far. This is weird.
    >
    > > Code; c01938bb <scc_isr_dispatch+147/7d4> <=====
    > > 0: 8a 01 movb (%ecx),%al <=====
    > > Code; c01938bd <scc_isr_dispatch+149/7d4>
    > > 2: ee outb %al,(%dx)
    >
    > Hmm, I think you disassembled the following from scc_txint():
    >
    > Outb(scc->data,*skb->data); /* send byte */
    > skb_pull(skb, 1);

    > Seems it is trying to transmit data from an skb with
    > skb->data == NULL. How is *that* possible? [Alan...?]

    It shouldnt be possible. It would imply scc->tx_buff was perhaps
    pointing to the wrong place or to a freed buffer.

    The scc code does actually delete from its own queue, however I can't see any
    flaws in the code



    This archive was generated by hypermail 2b29 : Sun Jun 04 2000 - 19:53:06 EEST