[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openss7] ptrace, assert, ...



I was running 
#if 1

The following is part of the log messages.  Immediately after the last
message, I need to reboot.

Jun  1 09:16:13 ernie kernel: sctp_transmit_wakeup: trace() at
sctp_output.c +1266 
Jun  1 09:16:13 ernie kernel: Waking up transmitters... 
Jun  1 09:16:13 ernie kernel: sk = c11d8c40, state = ESTABLISHED 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+277 
Jun  1 09:16:13 ernie kernel: sk->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+283 
Jun  1 09:16:13 ernie kernel: sd->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_current_mss: trace() at sctp_ipv4.c
+2032 
Jun  1 09:16:13 ernie kernel: [1024] TSN num gaps = 0 
Jun  1 09:16:13 ernie kernel: sctp_sendmsg: trace() at sctp_ipv4.c +2324 
Jun  1 09:16:13 ernie kernel: Commencing sending... 
Jun  1 09:16:13 ernie kernel: sctp_transmit_wakeup: trace() at
sctp_output.c +1266 
Jun  1 09:16:13 ernie kernel: Waking up transmitters... 
Jun  1 09:16:13 ernie kernel: sk = c11d8c40, state = ESTABLISHED 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+277 
Jun  1 09:16:13 ernie kernel: sk->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+283 
Jun  1 09:16:13 ernie kernel: sd->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_bundle_data: trace() at sctp_output.c
+720 
Jun  1 09:16:13 ernie kernel: Bundling DATA with TSN = 2101506034 
Jun  1 09:16:13 ernie kernel: sctp_xmit_skb: trace() at sctp_output.c
+1006 
Jun  1 09:16:13 ernie kernel: Transmitting 192.168.1.34:1024 ->
192.168.1.33:42365 
Jun  1 09:16:13 ernie kernel: sctp_push_pending_frames: trace() at
sctp_ipv4.c +2163 
Jun  1 09:16:13 ernie kernel: Pushing pending frames... 
Jun  1 09:16:13 ernie kernel: sctp_transmit_wakeup: trace() at
sctp_output.c +1266 
Jun  1 09:16:13 ernie kernel: Waking up transmitters... 
Jun  1 09:16:13 ernie kernel: sk = c11d8c40, state = ESTABLISHED 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+277 
Jun  1 09:16:13 ernie kernel: sk->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+283 
Jun  1 09:16:13 ernie kernel: sd->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_rcv_established: trace() at
sctp_input.c +2718 
Jun  1 09:16:13 ernie kernel: __sctp_rcv_established: trace() at
sctp_input.c +2473 
Jun  1 09:16:13 ernie kernel: sctp_rcv_sack_established: trace() at
sctp_input.c +727 
Jun  1 09:16:13 ernie kernel: Received SACK... 
Jun  1 09:16:13 ernie kernel: sctp_rcv_sack_established: trace() at
sctp_input.c +736 
Jun  1 09:16:13 ernie kernel: [1024] Received SACK for TSN 2101506033
(want TSN 2101506032) with 0 gaps 
Jun  1 09:16:13 ernie kernel: sctp_rcv_ack: trace() at sctp_input.c +617 
Jun  1 09:16:13 ernie kernel: Processing ACK... 
Jun  1 09:16:13 ernie kernel: sctp_rcv_ack: trace() at sctp_input.c +658 
Jun  1 09:16:13 ernie kernel: Deleting write buffer TSN = 2101506032,
length = 528 
Jun  1 09:16:13 ernie kernel: sctp_rcv_ack: trace() at sctp_input.c +658 
Jun  1 09:16:13 ernie kernel: Deleting write buffer TSN = 2101506033,
length = 528 
Jun  1 09:16:13 ernie kernel: sctp_fast_retrans_calc: ensure(sd) failed
at sctp_input.c +197 
Jun  1 09:16:13 ernie kernel: sctp_current_mss: trace() at sctp_ipv4.c
+2032 
Jun  1 09:16:13 ernie kernel: [10fast_retrans_calc: ensure(sd) failed at
sctp_input.c +197 
Jun  1 09:16:13 ernie kernel: sctp_transmit_wakeup: trace() at
sctp_output.c +1266 
Jun  1 09:16:13 ernie kernel: Waking up transmitters... 
Jun  1 09:16:13 ernie kernel: sk = c11d8c40, state = ESTABLISHED 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+277 
Jun  1 09:16:13 ernie kernel: sk->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+283 
Jun  1 09:16:13 ernie kernel: sd->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_current_mss: trace() at sctp_ipv4.c
+2032 
Jun  1 09:16:13 ernie kernel: [1024] TSN num gaps = 0 
Jun  1 09:16:13 ernie kernel: sctp_sendmsg: trace() at sctp_ipv4.c +2324 
Jun  1 09:16:13 ernie kernel: Commencing sending... 
Jun  1 09:16:13 ernie kernel: sctp_transmit_wakeup: trace() at
sctp_output.c +1266 
Jun  1 09:16:13 ernie kernel: Waking up transmitters... 
Jun  1 09:16:13 ernie kernel: sk = c11d8c40, state = ESTABLISHED 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+277 
Jun  1 09:16:13 ernie kernel: sk->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+283 
Jun  1 09:16:13 ernie kernel: sd->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_bundle_data: trace() at sctp_output.c
+720 
Jun  1 09:16:13 ernie kernel: Bundling DATA with TSN = 2101506528 
Jun  1 09:16:13 ernie kernel: sctp_xmit_skb: trace() at sctp_output.c
+1006 
Jun  1 09:16:13 ernie kernel: Transmitting 192.168.1.34:1024 ->
192.168.1.33:42365 
Jun  1 09:16:13 ernie kernel: sctp_push_pending_frames: trace() at
sctp_ipv4.c +2163 
Jun  1 09:16:13 ernie kernel: Pushing pending frames... 
Jun  1 09:16:13 ernie kernel: sctp_transmit_wakeup: trace() at
sctp_output.c +1266 
Jun  1 09:16:13 ernie kernel: Waking up transmitters... 
Jun  1 09:16:13 ernie kernel: sk = c11d8c40, state = ESTABLISHED 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+277 
Jun  1 09:16:13 ernie kernel: sk->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+283 
Jun  1 09:16:13 ernie kernel: sd->saddr = 192.168.1.34 
Jun  1 09:16:13 ernie kernel: sctp_current_mss: trace() at sctp_ipv4.c
+2032 
Jun  1 09:16:13 ernie kernel: [1024] TSN num gaps = 0 
Jun  1 09:16:13 ernie kernel: sctp_sendmsg: trace() at sctp_ipv4.c +2324 
Jun  1 09:16:13 ernie kernel: Commencing sending... 
Jun  1 09:16:14 ernie kernel: sctp_transmit_wakeup: trace() at
sctp_output.c +1266 
Jun  1 09:16:14 ernie kernel: Waking up transmitters... 
Jun  1 09:16:14 ernie kernel: sk = c11d8c40, state = ESTABLISHED 
Jun  1 09:16:14 ernie kernel: sctp_route_fast: trace() at sctp_output.c
+277 

Later,
Chuck
"Brian F. G. Bidulock" wrote:
> 
> Chuck,
> 
> The assure() and ensure() macros will print messages if their
> assertions fail.  That is not good.  Any message with the line
> `failed' in it is not good.  Send me a tail of your logs if
> you see a bunch of `failed' lines.
> 
> And, sorry, wrong way.  Make line 80 of linux/include/net/sctp.h
> read:
> 
>         #if 0
> 
> Sorry.  Where you running #if 0 or #if 1 for the tests?
> 
> --Brian
> 
> Chuck Winters wrote:                               Fri, 01 Jun 2001 08:36:19
> >
> > Brian,
> >       I just double checked, and I am running with debugging off.  I keep
> > getting messages printed to the screen though.  I tried turning on
> > debugging, and I get tons of messages like you stated earlier, but even
> > when I turn off debugging, I still get tons of messages printed to the
> > console.
> >
> >       I will get those test to you by the end of the day.  I had to do some
> > work on another project here.
> >
> > Later,
> > Chuck
> >
> > Chuck Winters wrote:
> > >
> > > If I take all the ptraces and traces out of the code, will sctp stop
> > > putting gobs of debugging info onto the screen?
> > >
> > > Chuck
> > > --
> > > Chuck Winters                            | Email:  cwinters@atl.lmco.com
> > > Distributed Processing Laboratory        | Phone:  856-338-3987
> > > Lockheed Martin Advanced Technology Labs |
> > > 1 Federal St - A&E-3W                    |
> > > Camden, NJ 08102                         |
> >
> > --
> > Chuck Winters                            | Email:  cwinters@atl.lmco.com
> > Distributed Processing Laboratory        | Phone:  856-338-3987
> > Lockheed Martin Advanced Technology Labs |
> > 1 Federal St - A&E-3W                    |
> > Camden, NJ 08102                         |
> 
> --
> Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
> bidulock@openss7.org    ¦ world; the unreasonable one persists in  ¦
> http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
>                         ¦ Therefore  all  progress  depends on the ¦
>                         ¦ unreasonable man. -- George Bernard Shaw ¦

--
Chuck Winters                            | Email:  cwinters@atl.lmco.com
Distributed Processing Laboratory        | Phone:  856-338-3987
Lockheed Martin Advanced Technology Labs |
1 Federal St - A&E-3W                    |
Camden, NJ 08102                         |