On Thu, Dec 08, 2011 at 11:56:51AM +0200, Sami Halabi wrote: > 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.
There is no such way. You have to rebuild/install kernel and reboot. > > Thanks, > Sami > > On Thu, Dec 8, 2011 at 1:58 AM, YongHyeon PYUN <pyu...@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 _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"