[hsflinux] modem hangs up in few minutes
Phil Burchill
phil at burchill.net
Mon Jun 23 08:13:23 EDT 2003
I tried renicing this proccess and no luck unfortunately. So it would
seem the n400 exceeded issue is not caused by lack of priority.
Regards,
Phil Burchill
PS:Remove bouncemail if you wish to mail me.
On 06-20-2003 01:51 pm, Dana Lacoste <dana.lacoste at peregrine.com>
wrote:
> 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
> >
> > _________________________________________________________________
> > Tired of spam? Get advanced junk mail protection with MSN 8.
> > http://join.msn.com/?page=features/junkmail
> >
> > _______________________________________________
> > hsflinux mailing list
> > hsflinux at lists.mbsi.ca
> > http://www.mbsi.ca/mailman/listinfo/hsflinux
>
>
> _______________________________________________
> hsflinux mailing list
> hsflinux at lists.mbsi.ca
> http://www.mbsi.ca/mailman/listinfo/hsflinux
More information about the hsflinux
mailing list