diald and freeze on connect(x, {sun_family=AF_UNIX,sun_path="/dev/log"}, ...

Andrej Presern (andrejp@luz.fe.uni-lj.si)
Fri, 20 Feb 1998 15:18:38 +0100


Hello!

I'm having a real pain using diald propperly since when the daemon goes
into redialing (20 retries or so), every program that calls connect()
with the arguments as in the subject freezes and never wakes up again.

[diald redials 20 times or so, then stays in CONNECT phase (chat
freezes)]
[root@soda ~]# strace chat -f chat-ppp0
...
brk(0x804d000) = 0x804d000
socket(PF_UNIX, SOCK_STREAM, 0) = 4
connect(4, {sun_family=AF_UNIX, sun_path="/dev/log"}, 10 [program stops]

[root@soda ~]# strace su
...
socket(PF_UNIX, SOCK_STREAM, 0) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sun_family=AF_UNIX, sun_path="/dev/log"}, 16 [program stops]

[root@soda ~]# strace diald
getegid() = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 4
connect(4, {sun_family=AF_UNIX, sun_path="/dev/log"}, 10 [program stops]

When this happens, every program that calls this connect(..) halts and
waits forever, leaving me with a working yet more or less unusable
system (I'm not even able to shut the machine down propperly).

Has anyone else experienced similar problems with diald? This is really
getting to me and I'd appreciate ANY (any at all) help anyone has to
offer. The kernel being used is a 2.0.33 (tried on a plain kernel as
well as with cyrix support), diald 0.16-pl4, pppd 2.2.0f, using chat to
connect. Can people with working diald setups also please contact me so
I can try to determine if problem has something to do with my (kernel
and otherwise) configuration.

You can try your setup by dialing a busy number some 20 times or so
(just dial your own phone number - it should be busy since you're
dialing). If it starts blocking, congratulations, you have a broken
setup.. like me:/

Andrej

-- 
Andrej Presern, andrejp@luz.fe.uni-lj.si
PGP public key: http://luna.s-gimsen.lj.edus.si/~andrejp/key.asc

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu