Your message dated Tue, 28 Jul 2009 22:32:28 +0300
with message-id <[email protected]>
and subject line
has caused the Debian Bug report #457670,
regarding sl-modem-daemon: segfault
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
457670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457670
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sl-modem-daemon
Version: 2.9.9d+e-pre2-10
Hi,
after applying the init script patches from #454690, sl-modem still does
not work for me with the testing kernel (2.6.22-2-686). The chatscript
says:
pppd[4849]: pppd 2.4.4 started by mbanck, uid 1000
chat[4850]: abort on (BUSY)
chat[4850]: abort on (NO CARRIER)
chat[4850]: abort on (VOICE)
chat[4850]: abort on (NO DIALTONE)
chat[4850]: abort on (NO DIAL TONE)
chat[4850]: abort on (NO ANSWER)
chat[4850]: abort on (DELAYED)
chat[4850]: send (ATZ^M)
chat[4850]: expect (OK)
chat[4850]: ATZ^M^M
chat[4850]: OK
chat[4850]: -- got it
chat[4850]: send (ATDT019166356^M)
chat[4850]: expect (CONNECT)
chat[4850]: ^M
chat[4850]: ATDT019166356^M^M
chat[4850]: warning: read() on stdin returned 0
chat[4850]: Failed
chat[4850]: Can't restore terminal parameters: Input/output error
pppd[4849]: Connect script failed
pppd[4849]: Exit.
And indeed /dev/ttySL0 is a broken symlink to a non-existing pty,
because slmodemd segfaulted (with -d=5):
SmartLink Soft Modem: version 2.9.9e-pre1 Aug 28 2007 19:51:17
<670.839790> SmartLink Soft Modem: version 2.9.9e-pre1 Aug 28 2007 19:51:17
<670.840084> slamr0: startup modem...
<670.840171> slamr0: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/0' created.
modem `slamr0' created. TTY is `/dev/pts/0'
<670.840682> open file: /var/lib/slmodem/data.slamr0...
<670.840708> cannot open '/var/lib/slmodem/data.slamr0': No such file or
directory
<670.841267> main: rt applyed: SCHED_FIFO, pri 99
<670.841429> main: dropped privileges to 112.109
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<674.883826> main: termios changed.
<674.883872> slamr0: update termios...
<674.914432> slamr0: run cmd: ATZ
<674.914466> slamr0: modem reset...
<674.914481> slamr0: modem set state: 1 --> 1...
<674.914497> slamr0: modem set mode: -> 0...
<674.914511> slamr0: modem report result: 0 (OK)
<675.056640> slamr0: run cmd: ATDT019166356
<675.056699> slamr0: modem dial: T019166356...
<675.056715> slamr0: modem_dial_start...
<675.056729> call: create...
<675.056747> CallProgFP_Create >>
<675.056759> APPLY_FILTER = 0
<675.056775> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96^M
<675.056789> ============> 0
<675.056801> Cadence: Busy Tone loose detection is 0^M
<675.056816> TYPE BUSY
<675.056828> Filter index 0
<675.056839> Filter SubIndex 0
<675.056851> MAX_ON_TIME 30 Buffers MIN_ON_TIME 7 Buffers
<675.056864> MAX_OFF_TIME 30 Buffers MIN_OFF_TIME 17 Buffers
<675.056876> OFF_TIME_THAT_RESETS_CYCLE 90
<675.056888> BUFFER LENGTH 160 samples.
<675.056899> INTEGRATION_LENGTH 0[ms]
<675.056911> LEVEL 96
<675.056928> INTEGRATION_TIME = 0 Buffers.
<675.056943> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96^M
<675.056957> TYPE DIAL
<675.056969> Filter index 5
<675.056980> Filter SubIndex 0
<675.056991> MAX_ON_TIME 0 Buffers MIN_ON_TIME 0 Buffers
<675.057004> MAX_OFF_TIME 0 Buffers MIN_OFF_TIME 0 Buffers
<675.057016> OFF_TIME_THAT_RESETS_CYCLE 0
<675.057027> BUFFER LENGTH 666 samples.
<675.057039> INTEGRATION_LENGTH 2500[ms]
<675.057051> LEVEL 96
<675.057064> INTEGRATION_TIME = 28 Buffers.
<675.057080> CALLPROG Create <<
<675.057093> CALLPROG Dialing T019166356
<675.057106> Configuration->tone_DigitLength 100
<675.057119> Configuration->pulse_OffHookTime 41
<675.057130> Configuration->pulse_OnHookTime 60
<675.057142> Configuration->dialPauseTime 4
<675.057154> Configuration->flashTime 18
<675.057165> Configuration->toneOrPulseFlag 0
<675.057177> Configuration->dialModifierValidationFlag 1
<675.057189> Configuration->ABCD_PermittedFlag 0
<675.057200> Configuration->pulseAndToneInSameStringPermittedFlag 0
<675.057212> Configuration->callingToneFlag 0
<675.057224> Configuration->commaPauseDurLimit 30
<675.057235> Configuration->digitPattern 1
<675.057247> Configuration->tone_BetweenDigitsInterval 100
<675.057259> Configuration->pulse_BetweenDigitsInterval 800
<675.057271> DTMF_Gain1 = 10337
<675.057283> DTMF_Gain2 = 13014
<675.057296> AnalyzeDialString: Updated 17 May 1999 00:50
<675.057308> AnalyzeDialString: LAST_DIALABLE_SYMBOL is 9
<675.057320> Dial String Syntax is VALID
<675.057336> GetNoAnswerTimeOut. 60
<675.057349> WAIT DIAL TIMEOUT = 5
<675.057360> CALLPROG_Dial was exited.
<675.057371> call: create RC: 9600 <-> 8000...
<675.057389> slamr0: modem_start..
<675.057402> slamr0: modem set state: 1 --> 2...
<675.057415> slamr0: new state: DP_ESTAB
<675.057428> main: modemap_ioctl: cmd 8, arg 3...
<675.057449> slamr0: modem set hook: 0 --> 1...
<675.057463> main: modemap_ioctl: cmd 2, arg 1...
<675.059841> main: modemap_ioctl: cmd 11, arg 0...
<675.060054> main: modemap_ioctl: cmd 4, arg 2580...
<675.060072> main: modemap_ioctl: cmd 7, arg 30...
<675.060085> main: modemap_start...
<675.065512> call: process: msg 18 --> 0
<676.660521> DCR: initial DC Evaluation done, DC level 337, enabled
<677.810612> tone detected by cadence dial
<677.810671> STATE: CALLPROG_WAIT_DIAL --> CALLPROG_DIALING
<677.810692> call: process: msg 0 --> 3
<677.815619> DIALER_INITIAL_STATE
<677.815628> Digit is T
<677.815634> Dialer.c: GetNextDigit... TONE_OR_PULSE_FLAG became TONE_DIALING
<677.815640> Digit is 0
<677.815683> Samples left = 800
<677.815701> call: process: msg 3 --> 0
<677.895629> tone detected by cadence dial
<677.910679> Done Generating digit
<677.920657> CYCLES_COUNTER= 1
<678.010674> Done Generating silence between digits
<678.010705> Digit is 1
<678.010720> Samples left = 800
<678.110681> Done Generating digit
<678.210685> Done Generating silence between digits
<678.210737> Digit is 9
<678.210752> Samples left = 800
<678.310708> Done Generating digit
<678.410697> Done Generating silence between digits
<678.410739> Digit is 1
<678.410755> Samples left = 800
<678.510752> Done Generating digit
<678.560661> tone detected by cadence dial
<678.610686> Done Generating silence between digits
<678.610722> Digit is 6
<678.610732> Samples left = 800
<678.640696> CYCLES_COUNTER= 1
<678.710729> Done Generating digit
<678.810733> Done Generating silence between digits
<678.810765> Digit is 6
<678.810780> Samples left = 800
<678.910750> Done Generating digit
<679.010749> Done Generating silence between digits
<679.010793> Digit is 3
<679.010809> Samples left = 800
<679.110757> Done Generating digit
<679.210763> Done Generating silence between digits
<679.210821> Digit is 5
<679.210838> Samples left = 800
<679.310785> Done Generating digit
<679.410790> Done Generating silence between digits
<679.410833> Digit is 6
<679.410849> Samples left = 800
<679.510796> Done Generating digit
<679.515798> DIALER_END_STATE
<679.515820> STATE: CALLPROG_DIALING --> CALLPROG_WAIT_RING
<679.515851> call: process: msg 0 --> 4
<679.520806> call: process: msg 4 --> 0
<682.796042> Found 2100
<682.796124> call: process: msg 0 --> 16
<682.796142> slamr0: 74208: change dp: --> 8...
<682.796160> v8: create: caller 1, automode 0, dp id 92.
<682.796178> V8: Create called, V8 version 23/09/03 .^M
<682.796191> ############################################################^M
<682.796202> V8: local configuration : ^M
<682.796214> Side = Caller^M
<682.796225> Operation Mode = 0^M
<682.796237> Modulations - V90=1, V34=1, V34HD=0, V32=1, V22=0, V17=0,
V29=0, V27=0, V23=0, V21=0^M
<682.796254> v8bisIndication - 0^M
<682.796265> timeouts - signal detect 12 sec, message detect 7 sec^M
<682.796278> quickConnectEnabled - 1^M
<682.796290> lapmIndication - 1^M
<682.796301> ucodeForQts - 9^M
<682.796313> ansPcmLevel - 0^M
<682.796324> ############################################################^M
<682.796353> V8: Initial CM message length is 9 octets^M
<682.796367> call: delete...
<682.796379> Dialer was aborted.
<682.796390> CALLPROG_Delete is entered
<682.796402> cadence_delete with CADENCE_DIAL_OBJ is invoked
<682.796426> cadence_delete with CADENCE_OBJ is invoked
<682.796439> CALLPROG_Delete is exited
<682.801069> V8: State changed from V8_INIT to V8_ORG_WAITING_FOR_ANSAM^M
<682.801093> v8: status (6) V8_ORG_WAITING_FOR_ANSAM
<682.881071> V8: State changed from V8_ORG_WAITING_FOR_ANSAM to
V8_ORG_ANSAM_DETECTED_WAITING_TE^M
<682.881123> v8: status (7) V8_ORG_ANSAM_DETECTED_WAITING_TE
<683.536112> ANSAM phase reversals detected delay = 449
<683.536184> ANSAM phase reversals detected delay = 449
<683.536199> ANSAM phase reversals detected delay = 449
<683.536210> ANSAM phase reversals detected delay = 449
<683.881089> V8 ANSAM Detected (CM ready)
<683.881150> V8: State changed from V8_ORG_ANSAM_DETECTED_WAITING_TE to
V8_ORG_SEND_QC^M
<683.881158> v8: status (14) V8_ORG_SEND_QC
<684.081188> V8: State changed from V8_ORG_SEND_QC to V8_ORG_SEND_CM^M
<684.081232> v8: status (8) V8_ORG_SEND_CM
<685.381233> V8: on CALLER: remote call function is: 107^M
<685.381296> V8: call function DATA indication...^M
<685.381311> V8: Got Call Function Match!
<685.381395> V8: State changed from V8_ORG_SEND_CM to V8_ORG_SEND_CJ^M
<685.381410> v8: status (10) V8_ORG_SEND_CJ
<685.491213> V8: State changed from V8_ORG_SEND_CJ to V8_OK^M
<685.491273> v8: process: OK.
<685.491280> V8Report: remote V90: mod - 1, digital connection - 1,
pcmIndication - 1
<685.491287> V8Report: v90:1, v34:1, v34hd:0, V32:1, V22:0, V17:0, V29:0,
V27:0, V23:0, V21:0
<685.491295> main: modemap_ioctl: cmd 10, arg 0...
<685.491345> v8: Link established. Idle timer 1032.
<685.491352> v8: status (13) V8_OK
<685.491358> slamr0: 100080: change dp: --> 90...
<685.491366> vpcm: create: dp 90, caller 1, frag 48 (size 53848).
<685.491405> VPCMXF_Create: side is Analog, maxDataBuffer - 48^M
Segmentation fault
Not sure why there is "Dialer was aborted.", I never looked at the
debugging output when it worked...
The modules were built with m-a and have this version:
ii sl-modem-modules-2.6.22-2-686 2.9.9d+e-pre2-10+2.6.22-4 Smart
Michael
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=POSIX, lc_ctype=de_de.iso-8859...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages sl-modem-daemon depends on:
ii adduser 3.105 add and remove users and groups
ii debconf [debconf-2.0] 1.5.17 Debian configuration management sy
ii libasound2 1.0.15-2 ALSA library
ii libc6 2.7-3 GNU C Library: Shared libraries
sl-modem-daemon recommends no packages.
-- debconf-show failed
--- End Message ---
--- Begin Message ---
--
أحمد المحمودي (Ahmed El-Mahmoudy)
Digital design engineer
GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
--- End Message ---