Internet problem after recent rewrite of mbuf

Matthew Dillon dillon at apollo.backplane.com
Tue Aug 10 09:58:38 PDT 2004


:Sorry, I mixed up the dates. I just went back to 02 August,
:so the revisions are:
:
:$DragonFly: src/sys/netinet/tcp_output.c,v 1.16 2004/07/17 20:31:31 hsu Exp $
:$DragonFly: src/sys/netinet/tcp_input.c,v 1.32 2004/07/27 17:57:02 drhodus Exp $
:
:And the problem is there. So it must be commits between 29
:July and 02 August.
:
:>     What is the cvs rev on the file /usr/src/sys/netinet/tcp_input.c and
:>     /usr/src/sys/netinet/tcp_output.c of the last known working kernel?
:
:A working kernel of 29 July:
:
:$DragonFly: src/sys/netinet/tcp_input.c,v 1.32 2004/07/27 17:57:02 drhodus Exp $
:$DragonFly: src/sys/netinet/tcp_output.c,v 1.16 2004/07/17 20:31:31 hsu Exp $

    Ok, the MBUF changes were made July 31st.  e.g. starting at
    kern/uipc_mbuf.c 1.23 and kern/uipc_mbuf2.c 1.8, and other files.

    My guess is that it is related to that.  In particular, I made a change
    to /usr/src/sys/net/sl/if_sl.c (1.14), but I don't see how that would
    effect PPP.  I am investigating now., but so far I don't see any
    issues.

    Make sure you are using 'buildkernel' to build the kernel and
    'installkernel' to install it.  It might be worth blowing away
    the kernel object tree too, rm -rf /usr/obj/usr/src/sys/KERNELNAME
    before the buildkernel.

    It might be helpful to 'ktrace' your cpu-hogging ppp for a few seconds
    (cd /tmp; ktrace -p <pid_of_cpu_hogging_ppp>; sleep 5; ktrace -C;
    kdump -R > outputfile).

						-Matt





More information about the Bugs mailing list