Problem on re0

Sami Halabi sodynet1 at gmail.com
Thu Dec 8 09:56:52 UTC 2011


hi,
i can see what it does.
how do i compile the driver and load it instead of the running driver
without restarting? its a production server.

Thanks,
Sami

On Thu, Dec 8, 2011 at 1:58 AM, YongHyeon PYUN <pyunyh at gmail.com> wrote:

> On Wed, Dec 07, 2011 at 09:55:22AM +0200, Sami Halabi wrote:
> > Hi,
> >
> > the patch failed, As i see /usr/src/dev/re/if_re.c has the following  at
> > line 1943:
> >                if (rxstat & RL_RDESC_STAT_RXERRSUM && !(total_len > 8191
> &&
> >                     (rxstat & RL_RDESC_STAT_ERRS) ==
> RL_RDESC_STAT_GIANT)) {
> >                         ifp->if_ierrors++;
>
>
> Just past the code right here like the following.
> #if 1
>                        printf("%#x ", rxstat);
> #endif
>
> It's a single line printf. :-)
>
> >                         /*
> >                          * If this is part of a multi-fragment packet,
> >                          * discard all the pieces.
> >                          */
> >                         if (sc->rl_head != NULL) {
> >                                 m_freem(sc->rl_head);
> >                                 sc->rl_head = sc->rl_tail = NULL;
> >                         }
> >                         re_discard_rxbuf(sc, i);
> >                         continue;
> >                 }
> >
> > these are sources for 8.2-R+p4
> >
> > Sami
>



-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert


More information about the freebsd-net mailing list