vgetty FATAL: yS2 modem detection failed
"Mark E. Walter" (walter@oak.eng.ohio-state.edu)
Mon, 17 Feb 1997 17:34:30 -0500 (EST)
Hi,
I recently made a few attempts to turn my computer into
an answering machine and a ppp-server (just for myself)
under SMP Linux 2.0.28 using mgetty-1.1.1.
Here's the hardware:
o DTK mb with 128 Mb RAM and dual PPro 200s
o Built-in Adaptec 2940uw
o #9 Image 128 Series
o 4.3 GB SCSI disk and HP TR-4 DAT
o SB16 compatible
----> o SupraExpress 336i Sp (ASVD) <--------
o 3C509B ethernet
o 3.5 floppy and 8x CD-ROM (eide)
There are a few problems.
1. When I call up, the machine picks up and plays the message
properly. However, when I get back to the computer, I have
the "vgetty FATAL: yS2 modem detection failed" error on the
console. The logfile vgetty.ttyS2 is appended below. Strangely
enough, there was nothing in vm.log file. Below the log file, I
appended the output from "vm diagnostics ttyS2".
2. Although the answering machine part was not working, I
decided to try and see if I could dial-in from another computer
to initiate ppp. I have tried this with some other scripts
(voice.0.9) and get the same problem now with vgetty. The problem
is that my modem does not recognize that another modem is calling
and picks up as if it were a voice call. Could be initialization,
I'm not sure. The log file segment is identical to what is
below. I don't think it is related to the problem mentioned above,
although I'll probably might have to address the problem above before
I have any hope of connecting.
3. I saw something earlier on the list about the watchdog timer. I
didn't pay much attention at the time, but now it seems that I
have something along the same lines. When I record a file with
"vm record -m -w junk" here is what the logfile says:
> [snip] (everything normal here)
> 02/17 16:59:31 detecting voice modem type
> 02/17 16:59:31 Rockwell detected
> 02/17 16:59:31 initializing ROCKWELL voice modem
> 02/17 16:59:38 recording voice file junk2
> 02/17 17:00:32 vm: Watchdog timer expired, exiting...: Interrupted system call
This is not a big deal, though, since the file itself is the proper
length. Anyway, it is just another example of a Watchdog problem.
Any help would be appreciated. I hope there are no FAQ's involved. I
tried to check all the available information. If a copy of my *.conf
files it needed, please let me know. BTW, I realize I have a Class 1
FAX device, but I am not interested in using it to fax anyway.
If it is a "new hardware" problem, I am certainly willing to try
things out and will post any successes (or failures).
Tschuess,
mark
(mit Verwandtschaft aus Goeppingen, ja, ich bin ein Schwab :)
--
Mark E. Walter
The Ohio State University, Engineering Mechanics Program,
209 Boyd Laboratory, 155 W. Woodruff Ave., Columbus, OH 43210
tel: 614-292-6081 fax: 614-292-7369
email: walter.80@osu.edu
URL: http://hcgl.eng.ohio-state.edu/~walter
------------------------- log file ---------------------------------
> 02/15 21:55:14 yS2 reading program vgetty configuration from config file /usr/l
> ocal/etc/mgetty+sendfax/voice.conf
> 02/15 21:55:14 yS2 reading port ttyS2 configuration from config file /usr/local
> /etc/mgetty+sendfax/voice.conf
> 02/15 21:55:14 yS2 check for lockfiles
> 02/15 21:55:14 yS2 locking the line
> 02/15 21:55:14 yS2 lowering DTR to reset Modem
> 02/15 21:55:15 yS2 send: \dATQ0V1H0[0d]
> 02/15 21:55:15 yS2 waiting for ``OK'' ** found **
> 02/15 21:55:15 yS2 send: ATS0=0Q0&D3&C1[0d]
> 02/15 21:55:15 yS2 waiting for ``OK'' ** found **
> 02/15 21:55:16 yS2 mdm_send: 'AT+FCLASS=2.0' -> ERROR
> 02/15 21:55:16 yS2 mdm_send: 'AT+FCLASS=2' -> ERROR
> 02/15 21:55:16 yS2 detecting voice modem type
> 02/15 21:55:16 yS2 Rockwell detected
> 02/15 21:55:16 yS2 initializing ROCKWELL voice modem
> 02/15 21:55:17 yS2 waiting...
> '' ** found ** yS2 waiting for ``RING
> '' ** found ** yS2 waiting for ``RING
> '' ** found ** yS2 waiting for ``RING
> 02/15 22:23:48 yS2 reading ring_type ring configuration from config file /usr/l
> ocal/etc/mgetty+sendfax/voice.conf
> 02/15 22:23:48 yS2 playing voice file /var/spool/voice/messages/put_filename_he
> re
> 02/15 22:23:51 ##### hangup requested, name='', caller=none, dev=ttyS2, pid=594
>
> 02/15 22:23:52 yS2 closing voice modem device
> --
> 02/15 22:23:52 yS2 reading program vgetty configuration from config file /usr/l
> ocal/etc/mgetty+sendfax/voice.conf
> 02/15 22:23:52 yS2 reading port ttyS2 configuration from config file /usr/local
> /etc/mgetty+sendfax/voice.conf
> 02/15 22:23:52 yS2 check for lockfiles
> 02/15 22:23:52 yS2 locking the line
> 02/15 22:23:52 yS2 lowering DTR to reset Modem
> 02/15 22:23:53 yS2 send: \dATQ0V1H0[0d]
> 02/15 22:23:53 yS2 waiting for ``OK'' ** found **
> 02/15 22:23:54 yS2 send: ATS0=0Q0&D3&C1[0d]
> 02/15 22:23:54 yS2 waiting for ``OK'' ** found **
> 02/15 22:23:54 yS2 mdm_send: 'AT+FCLASS=2.0' -> OK
> 02/15 22:23:54 yS2 mdm_send: 'AT+FAA=1;+FCR=1' -> ERROR
> 02/15 22:23:54 yS2 cannot set answer/reception flags
> 02/15 22:23:54 yS2 mdm_send: 'AT+FBO=1' -> ERROR
> 02/15 22:23:54 yS2 cannot set bit order, trying +BOR=0
>
> 02/15 22:23:54 yS2 mdm_send: 'AT+FBO=0' -> ERROR
> 02/15 22:23:54 yS2 mdm_send: 'AT+FNR=1,1,1,0' -> ERROR
> 02/15 22:23:54 yS2 mdm_send: 'AT+FLI="614 292 7369"' -> ERROR
> 02/15 22:23:54 yS2 cannot set local fax id. Huh?
> 02/15 22:23:54 yS2 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> ERROR
> 02/15 22:23:54 yS2 mdm_send: 'AT+FCC=1,3,0,2,0,0,0,0' -> ERROR
> 02/15 22:23:54 yS2 huh? Cannot set +FDCC parameters
> 02/15 22:23:54 yS2 detecting voice modem type
> 02/15 22:23:54 yS2 vgetty: Invalid modem answer: Unknown error
> 02/15 22:23:54 yS2 modem detection failed: Unknown error
> --
> 02/15 22:23:54 yS2 reading program vgetty configuration from config file /usr/l
> ocal/etc/mgetty+sendfax/voice.conf
> 02/15 22:23:54 yS2 reading port ttyS2 configuration from config file /usr/local
> /etc/mgetty+sendfax/voice.conf
> 02/15 22:23:54 yS2 check for lockfiles
> 02/15 22:23:54 yS2 locking the line
> 02/15 22:23:55 yS2 lowering DTR to reset Modem
> 02/15 22:23:55 yS2 send: \dATQ0V1H0[0d]
> 02/15 22:23:56 yS2 waiting for ``OK'' ** found **
> 02/15 22:23:56 yS2 send: ATS0=0Q0&D3&C1[0d]
> 02/15 22:23:56 yS2 waiting for ``OK'' ** found **
> 02/15 22:23:56 yS2 mdm_send: 'AT+FCLASS=2.0' -> ERROR
> 02/15 22:23:56 yS2 mdm_send: 'AT+FCLASS=2' -> ERROR
> 02/15 22:23:56 yS2 detecting voice modem type
> 02/15 22:23:56 yS2 Rockwell detected
> 02/15 22:23:56 yS2 initializing ROCKWELL voice modem
> 02/15 22:23:57 yS2 waiting...
> [snip]
> 02/16 16:36:07 yS2 checking if modem is still alive
> 02/16 16:36:08 yS2 mdm_send: 'AT' -> OK
> 02/16 16:36:08 yS2 waiting...
> 02/16 17:36:08 yS2 checking if modem is still alive
> 02/16 17:36:08 yS2 mdm_send: 'AT' -> OK
> 02/16 17:36:08 yS2 waiting...
> 02/16 18:36:08 yS2 checking if modem is still alive
> 02/16 18:36:08 yS2 mdm_send: 'AT' -> OK
> 02/16 18:36:09 yS2 waiting...
> 02/16 19:36:09 yS2 checking if modem is still alive
> 02/16 19:36:09 yS2 mdm_send: 'AT' -> OK
> 02/16 19:36:09 yS2 waiting...
> [snip]
---------------------------vm diagnostics---------------------------
> [root@oak messages]# vm diagnostics ttyS2
> *
> * Diagnostics for device /dev/ttyS2
> *
> * vgetty experimental test release 0.7.0 / 25Jan97
> * mgetty experimental test release 1.1.1-Jan28
> *
> * port speed is set to 38400 baud.
> *
>
> ATI --> 33600
> OK
> ATI1 --> 255
> OK
> ATI2 --> OK
> ATI3 --> V2.000-20-V34_ACF_DP1
> SupraExpress 336i Sp ASVD
> Built: December 9 1996 14:56:49
> OK
> ATI4 --> a007080CA879CE02F
> bC60000000
> r1005111151112004
> r100511115111200
> OK
> ATI5 --> (c) 1993-1996 Diamond Multimedia Systems, Inc.
> OK
> ATI6 --> 022 US 011
> OK
> ATI7 --> RCV288DPFSP Rev 44BC
> OK
> ATI8 --> ERROR
> ATI9 --> ERROR
> AT+FMI? --> Diamond Multimedia Systems, Inc.
> OK
> AT+FMM? --> SupraExpress 336i Sp ASVD
> OK
> AT+FMR? --> V2.000-20-V34_ACF_DP1
> OK
>