HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Hylafax stops working after a few received faxes




********Hylafax stops working after a few received faxes. 12/19/2003********

Type of modem: ActionTec Modem PCIV9212-01CW
Linux version: 2.4.18-14 (Red Hat Linux 8.0 3.2-7)
Hylafax version: hylafax-4.1.8-1rh8
Other packages: libtiff-3.5.7-7, ghostscript-7.05-20, ghostscript-fonts-5.50-7

Issue: Hylafax answers the phone and will receive faxes and the modem will initialize to Idle and ready. It stops working after 3 or 7 faxes. It will be Idle and Ready before the last attempt. During the last attempt the status shows “Answering Phone”, but it will not make a successful handshake. The status will eventually stay at the line “waiting for modem to come ready”. Device no longer responds to calls until the server has been restarted.

The pci modem shares many devices on IRQ 10. Is that the reason for the modem being unstable after a few faxes? How do I assign the device to a different IRQ? Do I have to move the modem to a different pci slot or through the system bios?

IRQ 10 Assignments: cat /proc/pci/
PCI devices found:
Bus 0, device 2, function 2:
USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 7).
IRQ 10.
Master Capable. Latency=64. Max Lat=80.
Non-prefetchable 32 bit memory at 0xcfffe000 [0xcfffefff].
Bus 0, device 2, function 7:
Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev 160).
IRQ 10.
Master Capable. Latency=64. Min Gnt=52.Max Lat=11.
I/O at 0xdc00 [0xdcff].
I/O at 0xd800 [0xd83f].
Bus 0, device 3, function 0:
Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 144).
IRQ 10.
Master Capable. Latency=64. Min Gnt=52.Max Lat=11.
I/O at 0xd400 [0xd4ff].
Non-prefetchable 32 bit memory at 0xcffdd000 [0xcffddfff].
Bus 0, device 13, function 0:
Communication controller: Lucent Microelectronics Venus Modem (V90, 56KFlex) (rev 0).
IRQ 10.
Master Capable. No bursts. Min Gnt=252.Max Lat=14.
Non-prefetchable 32 bit memory at 0xcfffdf00 [0xcfffdfff].
I/O at 0xd000 [0xd0ff].
I/O at 0xcc00 [0xccff].
I/O at 0xc800 [0xc807].
Bus 0, device 19, function 2:
USB Controller: VIA Technologies, Inc. USB 2.0 (rev 81).
IRQ 10.
Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xcfffde00 [0xcfffdeff].



********************* Hylafax configuration files:*********************

******cat config.ttyS4******

#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode: 1
AreaCode: 903
FAXNumber: +1.903.675.8871
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: HPS
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use this to supply a hint
#ModemRate: 19200 # max rate for DCE-DTE communication
#ModemFlowControl: xonxoff # XON/XOFF flow control assumed
#ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
#ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
#
# We can append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer. This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
# put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd: ATDT%s # T for tone dialing
#
# Other possible configuration stuff. The default strings are
# shown below. Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds: "" # stuff to do when modem is reset
#ModemAnswerCmd: ATA # use this to answer phone
#ModemNoFlowCmd: AT&K # disable flow control cmd
#ModemHardFlowCmd: AT&K3 # hardware flow control cmd
#ModemSoftFlowCmd: AT&K4 # software flow control cmd
#ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd: ATE0 # disable command echo
#ModemVerboseResultsCmd: ATV1 # enable verbose command results
#ModemResultCodesCmd: ATQ0 # enable result codes
#ModemOnHookCmd: ATH0 # place phone on hook (hangup)
#ModemSoftResetCmd: ATZ # do soft reset of modem
#ModemSoftResetCmdDelay: 3000 # pause after soft reset
#ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier
#ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds
#ModemRecvFillOrder: LSB2MSB # bit order of received facsimile
#ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit
#
# Configuration parameters for Class 2 modems.
#
Class2Cmd: AT+FCLASS=2 # command to enter class 2
Class2BORCmd: AT+FBOR=0 # bit order for phase B/C/D (direct)
Class2RELCmd: AT+FREL=1 # byte-align EOL codes on recv
Class2CQCmd: "" # commands to enable copy quality proc.
Class2AbortCmd: AT+FK # abort session command
Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities
Class2DCCQueryCmd: AT+FDCC=? # query for modem capabilities
Class2TBCCmd: AT+FTBC=0 # setup stream mode
Class2CRCmd: AT+FCR=1 # enable capability to receive
Class2PHCTOCmd: AT+FPHCTO=30 # set phase C timeout parameter
Class2BUGCmd: AT+FBUG=1 # enable HDLC frame tracing
Class2LIDCmd: AT+FLID # set local identifier command
Class2DCCCmd: AT+FDCC # set modem capabilities command
Class2DISCmd: AT+FDIS # set session parameters command
Class2DDISCmd: "" # disable pre-dial DIS command hack
Class2CIGCmd: AT+FCIG # set polling identifier command
Class2PTSCmd: AT+FPTS # set post-page status command
Class2SPLCmd: AT+FSPL # set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
Class2RecvDataTrigger: "" # character sent to modem to start recv
Class2XmitWaitForXON: yes # if true, wait for XON before send


*******cat setup.cache********

# Warning, this file was automatically generated by faxsetup
# on Thu Dec 18 23:19:29 CST 2003 for root
AWK='/usr/bin/gawk'
BIN='/usr/bin'
CAT='/bin/cat'
CHGRP='/bin/chgrp'
CHMOD='/bin/chmod'
CHOWN='/bin/chown'
CP='/bin/cp'
DPSRIP='/var/spool/hylafax/bin/ps2fax'
ECHO='/bin/echo'
FAXQ_SERVER='yes'
FONTPATH='/usr/share/ghostscript/7.05/lib:/usr/share/ghostscript/7.05/vflib:/usr/share/ghostscript/fonts:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/fonts/default/amspsfnt/pfb:/usr/share/fonts/default/cmpsfont/pfb'
FUSER='/sbin/fuser'
GREP='/bin/grep'
GSRIP='/usr/bin/gs'
HFAXD_OLD_PROTOCOL='no'
HFAXD_SERVER='yes'
HFAXD_SNPP_SERVER='no'
IMPRIP=''
LIBDATA='/etc/hylafax'
LIBEXEC='/usr/sbin'
LN='/bin/ln'
MANDIR='/usr/share/man'
MKFIFO='/usr/bin/mkfifo'
MV='/bin/mv'
PATHEGETTY='/bin/egetty'
PATHGETTY='/sbin/mgetty'
PATH='/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin'
PATHVGETTY='/sbin/vgetty'
PSPACKAGE='gs'
RM='/bin/rm'
SBIN='/usr/sbin'
SCRIPT_SH='/bin/bash'
SED='/bin/sed'
SENDMAIL='/usr/sbin/sendmail'
SPOOL='/var/spool/hylafax'
SYSVINIT=''
TARGET='i686-pc-linux-gnu'
TIFFBIN='/usr/bin'
UUCP_LOCKDIR='/var/lock'
UUCP_LOCKTYPE='ascii'


******cat /etc/inittab/*****

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon

#fax getty ttyS4
mo:2345:respawn:/usr/sbin/faxgetty ttyS4


*****************************LOG Files******************************

**********sudo cat c000000024*********

Dec 19 01:47:50.75: [ 1114]: SESSION BEGIN 000000024 19036758871
Dec 19 01:47:50.75: [ 1114]: HylaFAX (tm) Version 4.1.8
Dec 19 01:47:50.75: [ 1114]: <-- [4:ATA\r]
Dec 19 01:48:03.16: [ 1114]: --> [5:+FCON]
Dec 19 01:48:03.16: [ 1114]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS4'
Dec 19 01:48:03.16: [ 1114]: RECV FAX: begin
Dec 19 01:48:04.89: [ 1114]: --> [28:+FTSI:" 9727095871"]
Dec 19 01:48:04.89: [ 1114]: REMOTE TSI "9727095871"
Dec 19 01:48:05.17: [ 1114]: --> [21:+FDCS:0,5,0,2,1,0,0,0]
Dec 19 01:48:05.17: [ 1114]: REMOTE wants 14400 bit/s
Dec 19 01:48:05.17: [ 1114]: REMOTE wants page width 1728 pixels in 215 mm
Dec 19 01:48:05.17: [ 1114]: REMOTE wants unlimited page length
Dec 19 01:48:05.17: [ 1114]: REMOTE wants 3.85 line/mm
Dec 19 01:48:05.17: [ 1114]: REMOTE wants 2-D MR
Dec 19 01:48:05.17: [ 1114]: --> [2:OK]
Dec 19 01:48:05.17: [ 1114]: <-- [7:AT+FDR\r]
Dec 19 01:48:09.33: [ 1114]: --> [5:+FCFR]
Dec 19 01:48:10.70: [ 1114]: --> [7:CONNECT]
Dec 19 01:48:10.70: [ 1114]: RECV: begin page
Dec 19 01:48:10.70: [ 1114]: RECV: send trigger 021
Dec 19 01:48:10.70: [ 1114]: <-- data [1]
Dec 19 01:48:13.00: [ 1114]: RECV: 1089 total lines, 0 bad lines, 0 consecutive bad lines
Dec 19 01:48:13.00: [ 1114]: --> [16:+FPTS:1,1090,0,0]
Dec 19 01:48:14.38: [ 1114]: --> [6:+FET:2]
Dec 19 01:48:14.38: [ 1114]: RECV recv EOP (no more pages or documents)
Dec 19 01:48:14.38: [ 1114]: --> [2:OK]
Dec 19 01:48:14.38: [ 1114]: RECV send MCF (message confirmation)
Dec 19 01:48:14.38: [ 1114]: RECV FAX (000000024): from 9727095871, page 1 in 0:09, INF, 3.85 line/mm, 2-D MR, 14400 bit/s
Dec 19 01:48:14.38: [ 1114]: RECV FAX (000000024): recvq/fax000000011.tif from 9727095871, route to <unspecified>, 1 pages in 0:11
Dec 19 01:48:14.38: [ 1114]: <-- [7:AT+FDR\r]
Dec 19 01:48:17.02: [ 1114]: --> [7:+FHNG:0]
Dec 19 01:48:17.02: [ 1114]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Dec 19 01:48:17.02: [ 1114]: RECV FAX: bin/faxrcvd "recvq/fax000000011.tif" "ttyS4" "000000024" "" "" ""
Dec 19 01:48:17.54: [ 1114]: RECV FAX: end
Dec 19 01:48:17.54: [ 1114]: SESSION END

**********sudo cat c000000025*********

Dec 19 01:48:49.20: [ 1114]: SESSION BEGIN 000000025 19036758871
Dec 19 01:48:49.20: [ 1114]: HylaFAX (tm) Version 4.1.8
Dec 19 01:48:49.20: [ 1114]: <-- [4:ATA\r]
Dec 19 01:49:37.99: [ 1114]: --> [7:+FHNG:0]
Dec 19 01:49:37.99: [ 1114]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Dec 19 01:49:37.99: [ 1114]: ANSWER: Ring detected without successful handshake
Dec 19 01:49:37.99: [ 1114]: SESSION END

Please let me know if there is other information needed about my problem.

I do not understand why it is failing after many successful received faxes.

Thank you for your help.


Michael Mangus
developer@xxxxxxxxxxxx



Project hosted by iFAX Solutions