Subject: [ freebsd_compat ] - kqueue error with nget
To: None <netbsd-users@NetBSD.org>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 07/01/2004 12:40:14
Hi,
nget/FreeBSD-4.10-RELEASE cores (unimplemented kqueue)
I setup the /emul/freebsd as described in the man (/emul/freebsd/bin/ls
works :).
Then untar nget package (and lingetopt), did the ldconfig and tried to run
nget.
Here's what I get :
$ /emul/freebsd/usr/local/bin/nget -a
grouplist: invalid line 10658 (3 toks)
make_connection(1,news.free.fr,nntp,0xbfbfe40c,512)
Bad system call (core dumped)
nget should be installed OK (nget -help shows help)
$ /emul/freebsd/usr/bin/ldd /emul/freebsd/usr/local/bin/nget
/emul/freebsd/usr/local/bin/nget:
libgnugetopt.so.1 => /usr/local/lib/libgnugetopt.so.1
(0x48156000)
libz.so.2 => /usr/lib/libz.so.2 (0x48159000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x48166000)
libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x481a7000)
libm.so.2 => /usr/lib/libm.so.2 (0x481ec000)
libc.so.4 => /usr/lib/libc.so.4 (0x48207000)
$ /emul/freebsd/usr/local/bin/nget
nget v0.26 - nntp command line fetcher
Copyright 1999-2003 Matthew Mueller <donut AT dakotacom.net>
<snip>
using ktrace, I can see the following message :
$ ktrace /emul/freebsd/usr/local/bin/nget -a
grouplist: invalid line 10658 (3 toks)
make_connection(1,news.free.fr,nntp,0xbfbfe41c,512)
Bad system call (core dumped)
$ kdump | tail -10
"
20759 nget RET read 1085/0x43d, 1210576060/0x4827ecbc
20759 nget CALL read(3,0x8157000,0x2000)
20759 nget RET read 0, 1210707648/0x4829eec0
20759 nget CALL close(3)
20759 nget RET close 0
20759 nget CALL #362 (unimplemented kqueue)
20759 nget RET #362 (unimplemented kqueue) -1 errno 78 Function
not implemented
20759 nget PSIG SIGSYS SIG_DFL
20759 nget NAMI "nget.core"
I'm running NetBSD 2.0_BETA i386
(GENERIC_LAPTOP) #0: Mon Jun 14 21:09:40 UTC 2004
autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC_LAPTOP
Is there something I missed ?
Thanks for help,
Jo