[realtek] Problems: panics and reboots SOLVED

Allan Jacobsen aj@2m.dk
Thu, 08 Mar 2001 08:32:49 +0100


Hi 

We added this:


                /* E. Gill */
                /* Note from BSD driver:
                 * Here's a totally undocumented fact for you. When the
                 * RealTek chip is in the process of copying a packet
into
                 * RAM for you, the length will be 0xfff0. If you spot a
                 * packet header with this value, you need to stop. The
                 * datasheet makes absolutely no mention of this and
                 * RealTek should be shot for this.
                 */
                if (rx_size == 0xfff0)
                {
                   if (debug > 1)
                        printk(KERN_DEBUG"%s: Tried copying when chip
was copying
                                   , dev->name);
                   break;
                }


to the rtl8139.c file at line 1189 and now the driver is rock solid.


-- 
Med Venlig hilsen / Best Regards
Allan Jacobsen
SW Engineer, R&D
2M ELECTRONIC A/S