[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nokia 6150 pty error (an Sharp Zaurus)
From: |
BORBELY Zoltan |
Subject: |
Re: Nokia 6150 pty error (an Sharp Zaurus) |
Date: |
Mon, 13 Oct 2003 19:30:01 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi,
On Mon, Oct 13, 2003 at 07:07:51PM +0200, Martin Bürbaum wrote:
> -------------------------------------
> # ls -l /mnt/card/usr/sbin/
> -rwxr-xr-- 1 root root 47241 Oct 9 18:07 gnokiid
> -rwxr-xr-- 1 root root 16769 Oct 9 18:07 mgnokiidev
> -------------------------------------
Please set mgnokiidev to setuid root.
> > and is unix domain socket compiled into the kernel?
>
> How can i check this? I'm not very familiar with kernel stuff.
> the only message about sockets i found was in dmesg/kmsg:
> -------------------------------------
> # dmesg|grep socket -i
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> -------------------------------------
It's ok.
> Maybe I did break the strace output too early, so here
> another longer one:
> http://members.chello.at/stefbuer/tmp/log/strace_gnokiid_stderr.txt
It seems the error lies somewhere in mgnokiidev, the relevant strace
output:
access("/mnt/card/usr/sbin/mgnokiidev", X_OK) = 0
socketpair(PF_UNIX, SOCK_STREAM, 0, [5, 6]) = 0
fork(Couldn't open pty!
) = 657
--- SIGCHLD (Child exited) ---
close(6) = 0
wait4(657, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], 0, NULL) = 657
write(2, "wait: : No such process\n", 24wait: : No such process
) = 24
recvmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"@", 1}], msg_controllen=0,
msg_flags=0}, 0) = 0
close(5)
It seems mgnokiidev got a segfault. Please create another strace
output which trace the child process too (add the -f flag).
Bye,
Bozo
- Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/10
- Re: Nokia 6150 pty error (an Sharp Zaurus), BORBELY Zoltan, 2003/10/13
- Re: Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/13
- Re: Nokia 6150 pty error (an Sharp Zaurus),
BORBELY Zoltan <=
- Re: Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/13
- Re: Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/13
- Re: Nokia 6150 pty error (an Sharp Zaurus), BORBELY Zoltan, 2003/10/13
- Re: Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/13
- Re: Nokia 6150 pty error (an Sharp Zaurus), BORBELY Zoltan, 2003/10/13
- Re: Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/14
- Re: Nokia 6150 pty error (an Sharp Zaurus), BORBELY Zoltan, 2003/10/14
- Re: Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/14
- Re: Nokia 6150 pty error (an Sharp Zaurus), Martin Bürbaum, 2003/10/14
- Re: Nokia 6150 pty error (an Sharp Zaurus), BORBELY Zoltan, 2003/10/14