2001-02-02 00:09:55

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: esp causing crashes..

On Thu, Feb 01, 2001 at 03:38:28PM -0600, Mark Orr wrote:
> I dont like to be the sort of person who, when people report problems,
> fires back "it works fine here!"...but...just as a point of reference,
> I have a Hayes ESP too -- it's connected to a 56k modem. I havent
> had any crashes or hangs related to it, but I dont use mgetty. (I use
> rungetty, a variant of mingetty, for VC's). Seeing this, I will
> compile up mgetty here to see if I can replicate it.


even without mgetty it fails. the fact hat esp.o is loaded is cause for
trouble. minicom using the card, exit - crash.

I do not use the DMA channel of the card as it conflicts with the SB16 I
have on board.

--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v


2001-02-02 09:44:31

by Mark Orr

[permalink] [raw]
Subject: Re: esp causing crashes..


On 01-Feb-2001 Roeland Th. Jansen wrote:
> On Thu, Feb 01, 2001 at 03:38:28PM -0600, Mark Orr wrote:
>> I dont like to be the sort of person who, when people report problems,
>> fires back "it works fine here!"...but...just as a point of reference,
>> I have a Hayes ESP too -- it's connected to a 56k modem. I havent
>> had any crashes or hangs related to it, but I dont use mgetty. (I use
>> rungetty, a variant of mingetty, for VC's). Seeing this, I will
>> compile up mgetty here to see if I can replicate it.
>
>
> even without mgetty it fails. the fact hat esp.o is loaded is cause for
> trouble. minicom using the card, exit - crash.

Well that surely shouldnt happen...I use minicom all the time (I still
call BBSes), and havent had any crashes. I can quit/disconnect, or
quit/stay connected and it works okay. I've even got it set up to
use 230000bps, which is the max my Zoom will take.

When I was trying to set up the ESP shortly after I'd received it,
there was some trial+error to get the address/irq/dma/jumpers set right,
and minicom would hang (the program), but I could kill it. It took about
an hour to get the settings the way I'd wanted them, and since then...
no real problems.

> I do not use the DMA channel of the card as it conflicts with the SB16 I
> have on board.

I also have a SB16 (non-PnP). I use DMA 1 and 5 for the SB16 and 3 for
the ESP. I dont know if it's doing anything though...wish there were a
way to know how deep into the buffers it ever gets on transfers. DMA
threshold on mine is the default value (I believe it's 32 bytes) -- it
wouldnt suprise me if it didnt get that deep, keeping the rx_threshold
so low.

My modules.conf ESP section looks like:

#
# Hayes ESP module + options
# port 180h, irq 3, dma 3, divisor 4
options esp irq=0,0,3,0,0,0,0,0 dma=3 divisor=0,0,0x04,0,0,0,0,0 rx_timeout=1
post-install esp setserial /dev/ttyP16 low_latency
alias char-major-57 esp
alias chat-major-58 esp

Only troubles it's given me lately is that esp.c isnt a devfs-aware
driver. I've been experimenting with devfs lately, so I have to do
a "mknod /dev/ttyP16 c 57 16" every time I boot, and it still barks out
a few meaningless errors (cup: device already registered).
I just have the one-port ESP card.

--
Mark Orr
[email protected]

2001-02-02 11:45:12

by Roeland Th. Jansen

[permalink] [raw]
Subject: Re: esp causing crashes..

On Fri, Feb 02, 2001 at 03:44:07AM -0600, Mark Orr wrote:
> Well that surely shouldnt happen...I use minicom all the time (I still
> call BBSes), and havent had any crashes. I can quit/disconnect, or
> quit/stay connected and it works okay. I've even got it set up to
> use 230000bps, which is the max my Zoom will take.


I'll try the suggestions you sent. regarding the esp -- iI foirgot to
mention that it also crashes when I unplug the connection from a router
and reconnect to the E2864i. it even sometimes crashes when somebody
calls in (e.g. faxes are received) or if I push the front switches that
emit data to the esp card.

weird. note that I use OSS drivers, not builtin sound. maybe an option
to check out too. to me it sounds like corruption in memory that causes
the crash.
--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v