Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* diald generates memory errors and core dumps
@ 1998-11-17  5:00 John Eley
  1998-11-23  5:00 ` "Bob Taylor"
  0 siblings, 1 reply; 2+ messages in thread
From: John Eley @ 1998-11-17  5:00 UTC (permalink / raw)


I've been trying to get diald setup to use with my ppp connection. My
connection works fine with the various scripts that come with Redhat 5.1
for alpha. I downloaded the diald source and tried to compile it. It had
several errors and warnings. I tried to clean it up (I suspected
something was wrong when I had to do that), but when it finally ran, it
core dumped. That's probably due to my edits, but why did it have
problems in the first place? Is it processor/system specific? I searched
through the newsgroups to see if anyone else had this problem, or if
there is alpha only version, but could not find anything.

I finally found the diald rpm on the redhat contrib directory on
sunsite. I installed it and it seemed to start fine. I'm using the
sample diald.conf:

mode ppp
connect /usr/bin/ppp-up
device /dev/modem
speed 115200
modem
lock
crtscts
local 192.168.0.1
remote 192.168.0.250
dynamic
defaultroute
include /usr/lib/diald/standard.filter

Diald starts fine and sets up the interface (checked via ifconfig), but
when a connection takes place the system reports a memory violation in
the diald process. In extreme cases it dumps.

Has anyone seen this problem? I've found no evidence of it in the
newsgroups, or anywhere else. I'm pretty confused and frustrated over
this. Any ideas would be welcome.

For reference, I'm using Redhat 5.1 for alpha on a DEC Alphastation 200
4/233 with 48MB using a pretty vanilla setup (I'm still pretty new at
this).

A couple of general diald question:

Is the connect script named in the diald.conf only the chat script
needed for connection, or the entire ppp script that is used to dial and
setup pppd? I found a few references to using the chat script only, but
they were a little unclear.

Also, what are the local and remote ip address named in diald.conf
supposed to be? The docs say it doesn't matter. Does this mean I can set
them to any unused addres on my network? Or sould the local be the
address of my linux box and the remote be something else? I found this
_really_ confusing.

Thanks,
John Eley
John_Eley@niu.edu




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

* Re: diald generates memory errors and core dumps
  1998-11-17  5:00 diald generates memory errors and core dumps John Eley
@ 1998-11-23  5:00 ` "Bob Taylor"
  0 siblings, 0 replies; 2+ messages in thread
From: "Bob Taylor" @ 1998-11-23  5:00 UTC (permalink / raw)


In article <36511153.743323F4@niu.edu>,
	John Eley <John_Eley@niu.edu> writes:

[snip diald problems]

I have diald running on my LX164. Get diald-0.16.5a-1.src.rpm from
Red Hat or a mirror. Execute rpm -ivh diald-0.16.5a-1.src.rpm. Copy
the tar.gz file to someplace along with the patch files. Execute
tar zvf diald-0.16.tar.gz. Enter the diald directory and edit the
following:

1. In the file diald.c, comment out the line
   "SIGNAL(SIGSTKFLT, stray_signal);"

2. In the directory bin, edit the file dctrl after line 242 add the line
   "after 500" (this solves a hang).

3. Look at the Makefile and edit the default directories as desired.

4. make ; make install

The only "problem" is the unaligned traps generated. Diald has been
running without any problem here since October 25.

Bob

-- 
+---------------------------------------------------------------+
| Bob Taylor             Email: brtaylor@inreach.com            |
|---------------------------------------------------------------|
| Like the ad says, at 300 dpi you can tell she's wearing a     |
| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you   |
| can tell it's painted on. I suppose at 2400 dpi you can tell  |
| if the paint is giving her a rash. (So says Joshua R. Poulson)|
+---------------------------------------------------------------+



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

end of thread, other threads:[~1998-11-23  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-17  5:00 diald generates memory errors and core dumps John Eley
1998-11-23  5:00 ` "Bob Taylor"

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox