[hsflinux] modem hangs up in few minutes

Mengxiong Gong mgong758 at hotmail.com
Mon Jun 30 20:49:18 EDT 2003


Hi, Jean_Simon:

I have tried again to use Dana Lacoste's script to connect internet (using 
Konquerror as browser), the modem hang up in a couple minutes. The following 
is the message after I run the command: cat 
/proc/driver/hsf/0/lastcallstatus  right after getting disconnected:

<#UG VERSION=1>
<UNIMODEM VERSION=10>
<CALL SETUP RESULT=Detected Data Answer Tone>
<MULTIMEDIA MODE=Data Only>
<DTE-DCE MODE=Async data>
<V.8 CM octet string="">
<V.8 JM octet string="">
<RX SIG POWER DB=0, TX SIG POWER DB=0, S/N RATIO DB=103>
<NORMALIZED MEAN SQUARED ERROR=0>
<NEAR ECHO LOSS=0>
<FAR ECHO LOSS=0>
<FAR ECHO DELAY=0>
<ROUND TRIP DELAY=0>
<V.34 INFO bit map =0>
<TX MOD=V.17, TX SYMBOL RATE=3429, TX CARRIER FREQ=0>
<RX MOD=V.17, RX SYMBOL RATE=3429, RX CARRIER FREQ=0>
<TX FIRST DATA RATE=26400, RX FIRST DATA RATE=31200>
<CARRIER LOSS=0, RATE RENEG=0>
<RETRAINS REQ=0, RETRAINS DET=0>
<TX FINAL RATE=0, RX FINAL RATE=0>
<PROTOCOL NEGOTIATION=LAPM>
<EC FRAME SIZE=80>
<EC LINK TIMEOUTS=0>
<EC LINK NAKS=0>
<COMPRESSION NEGOTIATION=V42BIS>
<COMPRESSION DICTIONARY SIZE=800>
<TX FLOW CONTROL=2>
<RX FLOW CONTROL=2>
<TX CHARS SENT FROM DTE=2C1E>
<RX CHARS SENT TO DTE=72B8>
<TX CHARS LOST=0>
<RX CHARS LOST=0>
<TX FRAME COUNT=46>
<RX FRAME COUNT=97>
<TX FRAME ERROR COUNT=0>
<RX FRAME ERROR COUNT=0>
<TERMINATION CAUSE=n400 exceeded>
<LSD Vdd=0, Power Bits=0>
<V8BIS FLEX VERSION=0, V8BIS DSP VERSION=0>
<RATE RENEG REQ=0, RATE RENEG DET=0>
<HIGH PASS FILTER ENABLED=E0>
<ROBBED BIT PATTERN=0>
<DIGITAL PAD DETECTED=0, DIGITAL LOSS ESTIMATE=79E0>
<Cnt1=0, Det1=E0, Res1=0>
<EQM=0, TRAINING EQM SUM=0>
<DIB ERROR COUNTERS=0, 0, 0, 0, 0, 0, 0, 0>
<RETRAIN/HDLC RESET=0>


Please give your ideas. Thank you very much!

Michael Gong
>From: Linuxant modem support <modem.support at linuxant.com>
>To: Mengxiong Gong <mgong758 at hotmail.com>
>CC: hsflinux at lists.mbsi.ca
>Subject: Re: [hsflinux] modem hangs up in few minutes
>Date: Mon, 30 Jun 2003 13:10:18 -0400
>
>Hi,
>
>please don't forget to run "cat /proc/driver/hsf/0/lastcallstatus" right
>after getting disconnected and send us the output.
>
>Thank you,
>
>Jean-Simon Durand
>Technical specialist / Linuxant
>www.linuxant.com
>modem.support at linuxant.com
>
>
>----- Original Message -----
>From: "Mengxiong Gong" <mgong758 at hotmail.com>
>To: <dana.lacoste at peregrine.com>
>Cc: <hsflinux at lists.mbsi.ca>
>Sent: Thursday, June 26, 2003 11:39 PM
>Subject: Re: [hsflinux] modem hangs up in few minutes
>
>
>Hi, Dana:
>
>Thank you very much for your prompt reply and wonderful help. I have tried 
>a
>few connection using your methods exactly. The situation has got improved:
>the internet connection can last 3-30 minutes (instead of lasting only a 
>few
>minutes before), althogh the problem has not been solved completely. I 
>think
>that besides the priority issue, there might be also other probelms. I will
>use other browse other than Konquror to try again.
>
>I appreciate for your help.
>
>Michael Gong
>
>
> >From: Dana Lacoste <dana.lacoste at peregrine.com>
> >To: Mengxiong Gong <mgong758 at hotmail.com>
> >CC: hsflinux at lists.mbsi.ca
> >Subject: Re: [hsflinux] modem hangs up in few minutes
> >Date: 20 Jun 2003 13:51:51 -0400
> >
> >After months and months and months and months
> >of dealing with a similair problem, I added
> >this to my startup scripts :
> >
> >--
> >file /etc/init.d/rest.modem.priority.sh
> >--
> >#!/bin/sh
> >
> >/bin/echo "Increasing priority of HSF modem handler"
> >MODEM_PID=`ps -wwaux|grep cnxthsf_mdmthrd \
> >            |grep -v grep |sed 's/root *//'| \
> >            sed 's/ .*//'`
> >
> >if [ -z "${MODEM_PID}" ] ; then
> >    /bin/echo "WARNING : Could not find modem handler thread"
> >else
> >if [ -n "${MODEM_PID}" ] ; then
> >    /bin/echo "Resetting modem handler priority level"
> >    /usr/bin/renice -10 ${MODEM_PID} > /dev/null 2>&1
> >fi
> >--
> >
> >Basically, the modem driver creats a kernel thread that
> >shows up in the process table with the name "[cnxthsf_mdmthrd]"
> >and I reset the priority level of the process to be -10
> >(it defaults to 0, and lower is better)
> >
> >Now it never crashes (whereas before it would run fine until
> >I put a significant amount of data on the line, when it would
> >die in about 2 minutes)
> >
> >I had no idea you could adjust the priority of kernel threads,
> >but doing this has made the modem unkillable for me, so I'm
> >very very very very happy with it :)
> >
> >(You'd have to copy the text I gave into a file, make the script
> >executable, then run the script sometime after the modem driver
> >loaded.  Seeing as I don't use RedHat, I can't help you do that :)
> >
> >Dana "modem bought in November, modem working in May" Lacoste
> >Ottawa, Canada
> >
> >On Thu, 2003-06-19 at 23:02, Mengxiong Gong wrote:
> > > Hi,
> > >
> > > I have system Red Hat 7.3 with kernel 2.4.18-3, and I use the driver
> > > hsflinmodem-5.03.27lnxbeta03042700....... The problem I encountered is
> >that
> > > the modem hangs up in  a few minutes after connection to internet. I
> >have
> > > tried several different settings, but they were failed. The driver I 
>use
> >now
> > > seems the most updated version. I don't know what causes this problem.
> > > Please give some ideas and instructions. I greatly appreciate.
> > >
> > > Michael Gong
>
>_______________________________________________
>hsflinux mailing list
>hsflinux at lists.mbsi.ca
>http://www.mbsi.ca/mailman/listinfo/hsflinux

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail




More information about the hsflinux mailing list