[lkml]   [2000]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: RTL8139 Interrupt line blocked
    From: "Oleg Drokin" <>
    > After I started to use RTL8139 in 100 Mbit mode I started to get this
    > under heavy traffic:

    AFAICS, you can ignore these messages:

    > eth3: RTL8139 Interrupt line blocked, status 4.
    > eth3: RTL8139 Interrupt line blocked, status 4.

    The driver uses a timer to recover from hung transceivers. The timer noticed
    that the card has new packets pending, but that the interrupt is not (yet)
    called. How many of these messages do you receive, and how many interrupt
    arrive? (cat /proc/interrupts). It's possible that they are caused by the
    latency between "hardware triggers the interrupt" and "driver has
    acknowledged the interrupt"

    > eth3: SMP simultaneous entry of an interrupt handler.
    rtl8129() is running on both cpus: [i guess because]
    * one cpu because the hardware interrupt arrived
    * one cpu because the timer called the function.

    I guess that "dev->interrupt" enforces the synchronization, but I don't
    understand why "dev->interrupt" is reset to 0:
    > [...]
    > /* A lock to prevent simultaneous entry bug on Intel SMP machines.
    > if (test_and_set_bit(0, (void*)&dev->interrupt)) {
    > printk(KERN_ERR"%s: SMP simultaneous entry of an interrupt
    > dev->name);
    > dev->interrupt = 0; /* Avoid halting machine. */
    > return;
    > }


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:55    [W:0.020 / U:69.584 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site