linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* modem session behavior
@ 2008-03-20  1:04 bfc
  2008-03-20  2:32 ` James Cameron
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bfc @ 2008-03-20  1:04 UTC (permalink / raw)
  To: linux-ppp


Wow, I'm monopolizing this group. :(

If you start minicom (with -o to prevent any initialization), and type
something like
"ATH" (following by return), and instead of jumping a line and returning OK,
the cursor
just slides back to the beginning of the line, and the modem doesn't answer,
what does
that mean?

Judging by the stty characteristics, nothing's different from usual, but
maybe
I'm getting fooled on that one.  Is there typically a mode on the modem
itself
that would cause this behavior?

I exited from minicom, and waited about a minute, restarted it the same way,
and it
was normal again.

This is a modem attached to ttyS0, FWIW.

Thanks!
-- 
View this message in context: http://www.nabble.com/modem-session-behavior-tp16169308p16169308.html
Sent from the linux-ppp mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: modem session behavior
  2008-03-20  1:04 modem session behavior bfc
@ 2008-03-20  2:32 ` James Cameron
  2008-04-18 18:41 ` bfc
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: James Cameron @ 2008-03-20  2:32 UTC (permalink / raw)
  To: linux-ppp

ATH hangs up.  Perhaps the loss of CTS and DSR from the modem causes the
kernel and your terminal emulator to see nothing more.

Either configure the system to ignore the loss of CTS and DSR, or
configure the modem not to drop CTS and DSR during a hangup.  Then try
again.

I've no idea why you want to see anything more after ATH though.

-- 
James Cameron
http://ftp.hp.com.au/sigs/jc/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: modem session behavior
  2008-03-20  1:04 modem session behavior bfc
  2008-03-20  2:32 ` James Cameron
@ 2008-04-18 18:41 ` bfc
  2008-04-18 18:56 ` Chris Fowler
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bfc @ 2008-04-18 18:41 UTC (permalink / raw)
  To: linux-ppp


I should follow this up for search purposes.  This was Redhat bug 440121,
a problem with the serial driver on SMP machines.  That explains all the
troubles I posted about.  I'm sure it affects other distros, too, but
I suspect not many people are using higher end machines for PPP?


James Cameron-2 wrote:
> 
> ATH hangs up.  Perhaps the loss of CTS and DSR from the modem causes the
> kernel and your terminal emulator to see nothing more.
> 
> Either configure the system to ignore the loss of CTS and DSR, or
> configure the modem not to drop CTS and DSR during a hangup.  Then try
> again.
> 
> I've no idea why you want to see anything more after ATH though.
> 
> -- 
> James Cameron
> http://ftp.hp.com.au/sigs/jc/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

-- 
View this message in context: http://www.nabble.com/modem-session-behavior-tp16169308p16764006.html
Sent from the linux-ppp mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: modem session behavior
  2008-03-20  1:04 modem session behavior bfc
  2008-03-20  2:32 ` James Cameron
  2008-04-18 18:41 ` bfc
@ 2008-04-18 18:56 ` Chris Fowler
  2008-04-22 16:08 ` bfc
  2008-04-22 16:18 ` Chris Fowler
  4 siblings, 0 replies; 6+ messages in thread
From: Chris Fowler @ 2008-04-18 18:56 UTC (permalink / raw)
  To: linux-ppp

I'm running ppp on a dual core P4.  I'm interested to know what problems
you are seeing.  I run ppp in demand mode.  We use it heavily.  I was
running it on FC2 with 2.6.10 but now I've switched to CentOS 5
2.6.18.... kernel.

In demand mode we have a program that is ran as if-down and if-up.  This
is because another device can call in and gain the same address as the
interface waiting.  The program downs the other interface and will up a
down interface when ppp dies.  It is hard to explain but it makes 2
devices work in demand mode with each other.


On Fri, 2008-04-18 at 11:41 -0700, bfc wrote:
> I should follow this up for search purposes.  This was Redhat bug 440121,
> a problem with the serial driver on SMP machines.  That explains all the
> troubles I posted about.  I'm sure it affects other distros, too, but
> I suspect not many people are using higher end machines for PPP?
> 
> 
> James Cameron-2 wrote:
> > 
> > ATH hangs up.  Perhaps the loss of CTS and DSR from the modem causes the
> > kernel and your terminal emulator to see nothing more.
> > 
> > Either configure the system to ignore the loss of CTS and DSR, or
> > configure the modem not to drop CTS and DSR during a hangup.  Then try
> > again.
> > 
> > I've no idea why you want to see anything more after ATH though.
> > 
> > -- 
> > James Cameron
> > http://ftp.hp.com.au/sigs/jc/
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> > 
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: modem session behavior
  2008-03-20  1:04 modem session behavior bfc
                   ` (2 preceding siblings ...)
  2008-04-18 18:56 ` Chris Fowler
@ 2008-04-22 16:08 ` bfc
  2008-04-22 16:18 ` Chris Fowler
  4 siblings, 0 replies; 6+ messages in thread
From: bfc @ 2008-04-22 16:08 UTC (permalink / raw)
  To: linux-ppp


The problem was that sometimes the serial driver wouldn't send the data
loaded into
the FIFO.  Conversations with the modem would hang (and chat would
eventually time
out) -- or the connection would be made between modems, but I'd get a LCP
timeout
error -- from the same cause.

You may only get bit by this with particular UART hardware -- ours was
detected
(correctly) as a 16550A.  You should be able to find out what yours is by
either
grep 'serial' from /var/log/messages, or setserial -a /dev/ttyS0.  The
problem
did not occur on another machine with a NS16550A detected.

The problem kernel we had was 2.6.18 (and various minor versions up to
2.6.18-89).



cfowler-2 wrote:
> 
> I'm running ppp on a dual core P4.  I'm interested to know what problems
> you are seeing.  I run ppp in demand mode.  We use it heavily.  I was
> running it on FC2 with 2.6.10 but now I've switched to CentOS 5
> 2.6.18.... kernel.
> 
> In demand mode we have a program that is ran as if-down and if-up.  This
> is because another device can call in and gain the same address as the
> interface waiting.  The program downs the other interface and will up a
> down interface when ppp dies.  It is hard to explain but it makes 2
> devices work in demand mode with each other.
> 
> 
> On Fri, 2008-04-18 at 11:41 -0700, bfc wrote:
>> I should follow this up for search purposes.  This was Redhat bug 440121,
>> a problem with the serial driver on SMP machines.  That explains all the
>> troubles I posted about.  I'm sure it affects other distros, too, but
>> I suspect not many people are using higher end machines for PPP?
>> 
>> 
>> James Cameron-2 wrote:
>> > 
>> > ATH hangs up.  Perhaps the loss of CTS and DSR from the modem causes
>> the
>> > kernel and your terminal emulator to see nothing more.
>> > 
>> > Either configure the system to ignore the loss of CTS and DSR, or
>> > configure the modem not to drop CTS and DSR during a hangup.  Then try
>> > again.
>> > 
>> > I've no idea why you want to see anything more after ATH though.
>> > 
>> > -- 
>> > James Cameron
>> > http://ftp.hp.com.au/sigs/jc/
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
>> > the body of a message to majordomo@vger.kernel.org
>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> > 
>> > 
>> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

-- 
View this message in context: http://www.nabble.com/modem-session-behavior-tp16169308p16824945.html
Sent from the linux-ppp mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: modem session behavior
  2008-03-20  1:04 modem session behavior bfc
                   ` (3 preceding siblings ...)
  2008-04-22 16:08 ` bfc
@ 2008-04-22 16:18 ` Chris Fowler
  4 siblings, 0 replies; 6+ messages in thread
From: Chris Fowler @ 2008-04-22 16:18 UTC (permalink / raw)
  To: linux-ppp

Ah.

We use Comtrol RocketModems.  They have their own UART and own driver.


On Tue, 2008-04-22 at 09:08 -0700, bfc wrote:
> The problem was that sometimes the serial driver wouldn't send the data
> loaded into
> the FIFO.  Conversations with the modem would hang (and chat would
> eventually time
> out) -- or the connection would be made between modems, but I'd get a LCP
> timeout
> error -- from the same cause.
> 
> You may only get bit by this with particular UART hardware -- ours was
> detected
> (correctly) as a 16550A.  You should be able to find out what yours is by
> either
> grep 'serial' from /var/log/messages, or setserial -a /dev/ttyS0.  The
> problem
> did not occur on another machine with a NS16550A detected.
> 
> The problem kernel we had was 2.6.18 (and various minor versions up to
> 2.6.18-89).
> 
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-22 16:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20  1:04 modem session behavior bfc
2008-03-20  2:32 ` James Cameron
2008-04-18 18:41 ` bfc
2008-04-18 18:56 ` Chris Fowler
2008-04-22 16:08 ` bfc
2008-04-22 16:18 ` Chris Fowler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).