Skip to Content.
Sympa Menu

baslinux - Re: [BL] slow communication with modem

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "Andy Jako" <a_jako AT operamail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] slow communication with modem
  • Date: Mon, 01 Sep 2003 15:02:10 +0100

> > The interaction with the modem was as follows:
> > 48:53.090 Send: "atz\r"
> > 49:12.670 Recv: "atz\r"
> > 49:22.130 Skip: "\r\n"
> > 49:22.680 Recv: "OK\r\n"
> > 49:22.680 Send: "at&d3\r"
> > 49:52.710 Recv: "at&d3\r"
> > 50:02.170 Skip: "\r\n"
> > 50:02.720 Recv: "OK\r\n"
>
> There is some problem initializing your modem. The above
> sequence takes 69 seconds. It should take no more than
> two seconds.

Yes I'm think so. That's why I'm asking for help here.

> > At the moment for me is interesting why my modem, works
> > fine with other OS (including RedHat Linux)
>
> It is possible that your modem requires a special init string
> (which is provided in those other OS).

Don't agree with you here. After I sent ATZ (reset modem, all previous inits
are canceled) command to the modem in Windows terminal and then type any of
AT commands the modem response is instant. This tell me that modem is fine
without any initialisation.
Assume something fails in passing of this commands to/from modem under BLinux.
A have message from April's archive
(https://lists.ibiblio.org/sympa/arc/baslinux/2003-April/000352.html) of this
board and one user there already had the same as me problems. Most
interesting here that dalay between sending ATZ command and receiving back OK
was exactly the same as mine = 29 sec. It's always 29 sec.

> I'm trying to think of reasons why your modem would take
> so long to respond. Is it PCI or ISA?

This is built-in laptop's modem Cirrus Logic 33600 bps PnP v34. It's sitting
on PCI.

> Does it have a
> IRQ jumper or is it PNP? It is possible that there is
> some conflict on your bus (which is automatically fixed
> by RedHat or Windows).

The only difference I found between Windows and BLinux configurations are
different IRQs:
Windows IRQ10, BLinux IRQ4 - the same as COM1 but I didn't use it. The memory
range is the same.

> Excute the following in BL2:
> --------------------
> setserial /dev/ttyS2
> --------------------
> Is the output what you expect?

Yes. Output was "/dev/ttyS2, UART:16550A, Port:0x03e8, IRQ:4"

> You might consider using chat instead of eznet. There is
> a chat package for BL2 on the download site (or you can
> install a generic chat from Slackware 7.1).

Yes I tried this. But both are just dialers and have nothing to do with modem
configuration guess.

> > ttyS00 at 0x03f8 (irq = 4) is a 16550A
> > ttyS01 at 0x02f8 (irq = 3) is a 16550A
> > ttyS02 at 0x03e8 (irq = 4) is a 16550A
>
> You are sharing an IRQ with COM1. Do you have anything attached
> to the COM1 port?

No.

> > pty: 512 Unix98 ptys configured
>
> I'm surprised by that pty line. That shouldn't occur with
> the BL2 kernel. Have you substituted bare.i from Slackware 7.1?
> Or some other kernel?

I just changed suplied zimage to the bzimage from Slackware 7.1.

More magic. I tried to connect second time in few minutes ( ~10 minutes later
) and have got some starnge logs ( my comments after #):

45:18.490 Send: "atz\r" #start of new connection
45:28.060 Recv: "please call our " #this is a welcome message from my ISP
but from previous session? This is continuing of the previous logon which was
failed 10 minutes ago!
45:38.070 Recv: "please call our
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
# too much "c" guess.
45:38.070 Send: "at&d3\r" # initialising of new connection
45:48.080 Recv: "support 5555-4444" #again the rest from the previous. Seems
like it comes from some buffer.
45:58.090 Recv: "support
5555-4444\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\
r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r"
45:58.091 Send: "atdp000\r" # dialing for the new connection.

This wonder me more. When I tried with chat I had a new log every time. No
mixes like this one from above.

Regards,
Andrew
--
____________________________________________
http://www.operamail.com
Get OperaMail Premium today - USD 29.99/year


Powered by Outblaze



  • Re: [BL] slow communication with modem, Andy Jako, 09/01/2003

Archive powered by MHonArc 2.6.24.

Top of Page