HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Failure to transmit clean ECM image data.;
Michiel Kersjes wrote:
Jan 17 13:33:22.75: [ 8233]: SEND send frame number 0
....
Jan 17 13:33:22.77: [ 8233]: SEND send frame number 58
Jan 17 13:33:40.94: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:33:41.01: [ 8233]: SEND send frame number 5
....
Jan 17 13:33:41.03: [ 8233]: SEND send frame number 51
This log is interesting. Notice that we send frames 0 through 58. And
notice also that the receiver got 0 - 4 and also 52 - 58. Now notice in
the retransmissions that it's getting only the first few frames hereafter.
Jan 17 13:33:55.13: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:33:55.20: [ 8233]: SEND send frame number 10
....
Jan 17 13:33:55.21: [ 8233]: SEND send frame number 51
See? Here it got frames 5 through 9.
Jan 17 13:34:08.19: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:34:08.26: [ 8233]: SEND send frame number 15
....
Jan 17 13:34:08.27: [ 8233]: SEND send frame number 51
And here it got frames 10 - 15.
Jan 17 13:34:20.14: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:34:21.63: [ 8233]: SEND send CTC (continue to correct)
Jan 17 13:34:22.99: [ 8233]: SEND recv CTR (confirm continue to correct)
Jan 17 13:34:23.00: [ 8233]: SEND send frame number 20
....
Jan 17 13:34:23.00: [ 8233]: SEND send frame number 51
The CTC/CTR exchange represents a slow-down occurring. (Again, notice
that the receiver got another 5 frames on the attempt prior to the
CTC/CTR exchange.)
Jan 17 13:34:35.77: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:34:35.84: [ 8233]: SEND send frame number 22
....
Jan 17 13:34:35.85: [ 8233]: SEND send frame number 51
And now it gets only 2 frames.
Jan 17 13:34:47.95: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:34:48.02: [ 8233]: SEND send frame number 24
....
Jan 17 13:34:48.03: [ 8233]: SEND send frame number 51
And another 2 frames.
Jan 17 13:34:59.55: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:34:59.62: [ 8233]: SEND send frame number 26
....
Jan 17 13:34:59.63: [ 8233]: SEND send frame number 51
And another 2 frames.
Jan 17 13:35:10.54: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:35:12.03: [ 8233]: SEND send CTC (continue to correct)
Jan 17 13:35:13.39: [ 8233]: SEND recv CTR (confirm continue to correct)
Jan 17 13:35:13.39: [ 8233]: SEND send frame number 28
....
Jan 17 13:35:13.40: [ 8233]: SEND send frame number 51
And another 2 frames. And now we slow down again with another CTC/CTR
exchange.
Jan 17 13:35:26.94: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:35:27.01: [ 8233]: SEND send frame number 29
....
Jan 17 13:35:27.01: [ 8233]: SEND send frame number 51
Now only 1 frame is getting through at a time.
Jan 17 13:35:40.05: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:35:40.12: [ 8233]: SEND send frame number 30
....
Jan 17 13:35:40.12: [ 8233]: SEND send frame number 51
See? Another single frame gets through.
Jan 17 13:35:52.71: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:35:52.78: [ 8233]: SEND send frame number 37
....
Jan 17 13:35:52.79: [ 8233]: SEND send frame number 51
Again, only one frame gets through.
Jan 17 13:36:04.93: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:36:06.42: [ 8233]: SEND send CTC (continue to correct)
Jan 17 13:36:07.77: [ 8233]: SEND recv CTR (confirm continue to correct)
Jan 17 13:36:07.77: [ 8233]: SEND send frame number 38
....
Jan 17 13:36:07.78: [ 8233]: SEND send frame number 51
And now we slow down again.
Jan 17 13:36:26.06: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:36:26.13: [ 8233]: SEND send frame number 38
....
Jan 17 13:36:26.14: [ 8233]: SEND send frame number 51
And this comes as no surprise that no no frames are getting through at all.
Jan 17 13:36:44.35: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:36:44.42: [ 8233]: SEND send frame number 38
....
Jan 17 13:36:44.43: [ 8233]: SEND send frame number 51
No frames get through.
Jan 17 13:37:02.63: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:37:02.70: [ 8233]: SEND send frame number 38
....
Jan 17 13:37:02.71: [ 8233]: SEND send frame number 51
Nada, zilch, zip, nine, niet.
Jan 17 13:37:20.91: [ 8233]: SEND recv PPR (partial page request)
Jan 17 13:37:20.98: [ 8233]: Failure to transmit clean ECM image data.
And because slowing down ultimately made the situation worse so that no
frames could ever get through this happens... we give up because we
can't get the image through for some reason.
Maybe here HylaFAX could have been smarter - enough to realize that
slowing down was only making the situation worse. But it doesn't. And
maybe that's for the best so that it will prompt you to fix the real
problem... flow control.
It *really* looks like the problem is flow control. The first block
transmission/reception is very telling in that some at the first gets
through and then some at the end, but nothing in the middle. That's
what happens when your ModemRate well outpaces the transmission rate
being used and the modem does not employ flow control properly. The
first data parts will fill the buffer and then it will start
transmitting that data, but the data buffer does not become available
for a while yet HylaFAX keeps throwing data at the modem. When the
modem finally becomes available again we've essentially skipped a bunch
of data.
This happens when the modem does not instruct us properly to stop
sending data to it.
So, take a look at the ModemFlowControl setting. Yours appears to be
left as default (XONXOFF). So please change it to RTSCTS and see where
you get.
ModemFlowControl: rtscts
If that doesn't help you probably need to consider a different modem.
That said, I am willing to make HylaFAX a bit more intelligent in it's
CTC/CTR slowdowns... possibly so that it could speed up in the kind of
situation where this happens.
Lee.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*