cannot read byte, return: Interrupted system call
Jason Hoffman (JHoffman@MDTTX.com)
Fri, 7 Jan 2000 14:52:50 -0600
Hello,
I am having some trouble. It appears as though many of my outgoing faxes
are being sent correctly, but the modem is not receiving an OK from the
remote fax after the page has been sent. It hangs for a minute or 2 before
failing with the following message:
01/07 14:03:01 yS2 fax_wait_for(OK)
01/07 14:05:01 yS2 Warning: got alarm signal!
01/07 14:05:01 yS2 mdm_read_byte: read returned -1: Interrupted system call
01/07 14:05:01 yS2 mdm_get_line: cannot read byte, return: Interrupted
system call
This is happening with approximately 30-40 % of my outgoing calls ( which is
beginning to cost some $$$ .)
I am running mgetty 1.1.21 on Redhat Linux 6.0. I have 3 MultiTech
MT5634ZPX-PCI internal modems, all of which are producing this identical
problem. The current firmware revision on these modems is 4.16F. I also
have an external modem connected to this box, which has never had this
problem. I am sure it is probably a configuration issue, but am having no
luck resolving this. Below is a complete log session...
--
01/07 14:02:15 sendfax: experimental test release 1.1.21-Jul24
01/07 14:02:15 sendfax.c compiled at Sep 7 1999, 15:39:10
01/07 14:02:15 sending fax to 9,13193863475
01/07 14:02:15 checking f1.g3
01/07 14:02:15 checking f2.g3
01/07 14:02:15 makelock(ttyS2) called
01/07 14:02:15 do_makelock: lock='/var/lock/LCK..ttyS2'
01/07 14:02:15 lock made
01/07 14:02:15 tss: set speed to 38400 (017)
01/07 14:02:15 tio_set_flow_control( HARD )
01/07 14:02:15 yS2 fax_open_device succeeded, ttyS2 -> 4
01/07 14:02:15 yS2 reading specific data for port 'ttyS2'
01/07 14:02:15 yS2 reading /etc/mgetty+sendfax/sendfax.config...
01/07 14:02:15 yS2 conf lib: read: 'verbose y'
01/07 14:02:15 yS2 conf lib: read: 'debug 5'
01/07 14:02:15 yS2 conf lib: read: 'fax-devices ttyS0:ttyS1:ttyS2'
01/07 14:02:15 yS2 conf lib: read: 'fax-id 1-800-235-5033'
01/07 14:02:15 yS2 conf lib: read: 'max-tries 3'
01/07 14:02:15 yS2 conf lib: read: 'max-tries-continue y'
01/07 14:02:15 yS2 conf lib: read: 'port ttyS0'
01/07 14:02:15 yS2 section: port ttyS0, ignore
01/07 14:02:15 yS2 conf lib: read: 'modem-type cls2'
01/07 14:02:15 yS2 conf lib: read: 'port ttyS1'
01/07 14:02:15 yS2 section: port ttyS1, ignore
01/07 14:02:15 yS2 conf lib: read: 'modem-type cls2'
01/07 14:02:15 yS2 conf lib: read: 'modem-init AT&F0V1S37=11'
01/07 14:02:15 yS2 conf lib: read: 'ignore-carrier true'
01/07 14:02:15 yS2 conf lib: read: 'port ttyS2'
01/07 14:02:15 yS2 section: port ttyS2, **found**
01/07 14:02:15 yS2 conf lib: read: 'modem-type cls2'
01/07 14:02:15 yS2 conf lib: read: 'modem-init AT&F0V1S37=11'
01/07 14:02:15 yS2 conf lib: read: 'ignore-carrier true'
01/07 14:02:15 yS2 conf lib: read: 'port ttyS3'
01/07 14:02:15 yS2 section: port ttyS3, ignore
01/07 14:02:15 yS2 conf lib: read: 'modem-type cls2'
01/07 14:02:15 yS2 conf lib: read: 'modem-init AT&F0V1S37=11'
01/07 14:02:15 yS2 conf lib: read: 'ignore-carrier yes'
01/07 14:02:15 yS2 key: 'fax-devices', type=1, flags=4, data=(ignored)
01/07 14:02:15 yS2 key: 'modem-init', type=1, flags=3, data=AT&F0V1S37=11
01/07 14:02:15 yS2 key: 'modem-handshake', type=1, flags=0, data=(empty)
01/07 14:02:15 yS2 key: 'modem-type', type=1, flags=3, data=cls2
01/07 14:02:15 yS2 key: 'modem-quirks', type=0, flags=0, data=(empty)
01/07 14:02:15 yS2 key: 'fax-rec-flow', type=4, flags=1, data=7
01/07 14:02:15 yS2 key: 'max-tries', type=0, flags=3, data=3
01/07 14:02:15 yS2 key: 'max-tries-continue', type=3, flags=3, data=TRUE
01/07 14:02:15 yS2 key: 'speed', type=0, flags=1, data=38400
01/07 14:02:15 yS2 key: 'switchbd', type=0, flags=1, data=0
01/07 14:02:15 yS2 key: 'open-delay', type=0, flags=0, data=(empty)
01/07 14:02:15 yS2 key: 'ignore-carrier', type=3, flags=3, data=TRUE
01/07 14:02:15 yS2 key: 'dial-prefix', type=1, flags=1, data=ATD
01/07 14:02:15 yS2 key: 'fax-id', type=1, flags=3, data=1-800-235-5033
01/07 14:02:15 yS2 key: 'poll-dir', type=1, flags=1, data=.
01/07 14:02:15 yS2 key: 'normal-res', type=3, flags=1, data=FALSE
01/07 14:02:15 yS2 key: 'fax-min-speed', type=0, flags=1, data=0
01/07 14:02:15 yS2 key: 'fax-max-speed', type=0, flags=1, data=14400
01/07 14:02:15 yS2 key: 'debug', type=0, flags=3, data=5
01/07 14:02:15 yS2 key: 'verbose', type=3, flags=3, data=TRUE
01/07 14:02:15 yS2 key: '', type=3, flags=1, data=FALSE
01/07 14:02:15 yS2 key: 'page-header', type=1, flags=0, data=(empty)
01/07 14:02:15 yS2 key: '', type=3, flags=1, data=FALSE
01/07 14:02:15 yS2 key: '', type=3, flags=2, data=TRUE
01/07 14:02:15 yS2 key: '', type=1, flags=1, data=
01/07 14:02:15 yS2 tss: set speed to 38400 (017)
01/07 14:02:15 yS2 mdm_send: 'ATV1Q0'
01/07 14:02:16 yS2 mdm_command: string 'OK' -> OK
01/07 14:02:16 yS2 fax_wait_for(OK)
01/07 14:02:16 yS2 fax_wait_for: string 'AT&F0V1S37=11'
01/07 14:02:16 yS2 fax_wait_for: string 'OK'** found **
01/07 14:02:16 yS2 mdm_send: 'AT+FCLASS=2'
01/07 14:02:17 yS2 mdm_command: string 'AT+FCLASS=2'
01/07 14:02:17 yS2 mdm_command: string 'OK' -> OK
01/07 14:02:17 yS2 mdm_send: 'AT+FLID="1-800-235-5033"'
01/07 14:02:17 yS2 mdm_command: string 'AT+FLID="1-800-235-5033"'
01/07 14:02:17 yS2 mdm_command: string 'OK' -> OK
01/07 14:02:17 yS2 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
01/07 14:02:17 yS2 mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
01/07 14:02:17 yS2 mdm_command: string 'OK' -> OK
01/07 14:02:17 yS2 mdm_send: 'AT+FBOR=0'
01/07 14:02:17 yS2 mdm_command: string 'AT+FBOR=0'
01/07 14:02:17 yS2 mdm_command: string 'OK' -> OK
01/07 14:02:17 yS2 fax_send: 'ATD9,13193863475'
01/07 14:02:17 yS2 fax_wait_for(OK)
01/07 14:02:17 yS2 fax_wait_for: string 'ATD9,13193863475'
01/07 14:02:40 yS2 fax_wait_for: string '+FCON'
01/07 14:02:42 yS2 fax_wait_for: string '+FDIS:1,5,0,2,0,0,0,2'
01/07 14:02:42 yS2 fax_wait_for: string 'OK'** found **
01/07 14:02:42 yS2 sendfax: IGNORE DCD (carrier) status
01/07 14:02:42 yS2 fax_send_page("f2.g3") started...
01/07 14:02:42 yS2 fax_send_page("f2.g3") started...
01/07 14:02:42 yS2 tio_set_flow_control( HARD )
01/07 14:02:42 yS2 fax_send: 'AT+FDT'
01/07 14:02:42 yS2 fax_wait_for(CONNECT)
01/07 14:02:42 yS2 fax_wait_for: string 'AT+FDT'
01/07 14:02:48 yS2 fax_wait_for: string '+FDCS:1,5,0,2,0,0,0,2'
01/07 14:02:48 yS2 transmission par.: '+FDCS:1,5,0,2,0,0,0,2'
01/07 14:02:49 yS2 fax_wait_for: string 'CONNECT'** found **
01/07 14:02:49 yS2 waiting for XON, got:[0a][11]
01/07 14:02:49 yS2 tio_set_flow_control( HARD XON_OUT )
01/07 14:02:49 yS2 sending f2.g3...
01/07 14:03:01 yS2 page complete, 21723 bytes sent
01/07 14:03:01 yS2 sending DLE ETX...
01/07 14:03:01 yS2 fax_wait_for(OK)
01/07 14:05:01 yS2 Warning: got alarm signal!
01/07 14:05:01 yS2 mdm_read_byte: read returned -1: Interrupted system call
01/07 14:05:01 yS2 mdm_get_line: cannot read byte, return: Interrupted
system c
all
01/07 14:05:01 ##### failed transmitting f2.g3: phone="9,13193863475",
+FHS:-6,
dev=ttyS2, time=164s, acct=""
01/07 14:05:01 yS2 fax_send: 'AT+FCLASS=0'
01/07 14:05:01 yS2 removing lock file
I have searched through the archives and FAQ's and have found nothing on
this error for OUTGOING faxes. I have also looked through some of the tips
in the user's manual, but to no avail. If anyone could shed some light on
this subect, it would be greatly appreciated.
Thanks in Advance...
Jason Hoffman
IT Systems Support
Magnetic Data Technologies
Phone: 972-739-0210
Pager: 972-568-1713