Re: esp causing crashes..

2001-02-02 Thread Roeland Th. Jansen

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 23bps, 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  
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: esp causing crashes..

2001-02-02 Thread Mark Orr


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 23bps, 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]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: esp causing crashes..

2001-02-01 Thread Roeland Th. Jansen

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  
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



RE: esp causing crashes..

2001-02-01 Thread Mark Orr


On 29-Jan-2001 Roeland Th. Jansen wrote:
> [mike -- included you for refs only]
> 
> recently I started to dive into a problem that causes 2.2.x and 2.4.x to
> crash at shutdown and when minicom/mgetty is used. e.g. shutdown almost
> always crashed the system; if a fax is received, 3 out of 4 faxes ok,
> but also crashes system.
> 
> I tried to contact the author of the hayes esp also but he seems to be
> pretty busy...
> 
> Initially I thought that killall5, mike's product, somehow caused the
> mentioned crash but diving deeper into it I found that killall5 tries to
> kill mgetty -- and crashes the system. I tried a source version as well.
> same stuff (I use suse 7.0)

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.

(once in a while, communications becomes non-responsive -- but I
suspect that it's just my Zoom modem, which clams up for no apparent
reason.  The port seems to be doing it's thing.)

> the IRQ is 11, not using DMA, IRQ is set to legacy in the BIOS.
> it happens with any 2.2.xx version and also happens with 2.4.0.

I'm running 2.4.0-ac12 here.   ESP is set to 180h, IRQ 3, DMA 3.
(I disabled my onboard serial ports).   CPU is a classic Pentium.
I've been running it w/  rx_timeout=1  (the minimum usable value,
since it seems to give lower ping times)

Got this ESP off eBay -- in fact, I got it after reading Mr. Jansen's
recommendation 2 years ago in the comp.dcom.* groups (probably ISDN),
noting how flexible and tweakable the ESP drivers are.  FWIW, I was
getting mountains of TCP errors before I got this card, and they all
disappeared once I installed the ESP.  It's an amazing card.

--
Mark Orr
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/