NetBSD Problem Report #33545

From www@NetBSD.org  Wed May 24 20:15:37 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 66A0063B882; Wed, 24 May 2006 20:15:37 +0000 (UTC)
Message-Id: <20060524201537.66A0063B882@narn.NetBSD.org>
Date: Wed, 24 May 2006 20:15:37 +0000 (UTC)
From: multix79@yahoo.com
Reply-To: multix79@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: network resolution problems, coredumps
X-Send-Pr-Version: www-1.0

>Number:         33545
>Category:       port-m68k
>Synopsis:       network resolution problems, coredumps
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-m68k-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 24 20:20:00 +0000 2006
>Closed-Date:    Sat Jul 31 15:21:23 +0000 2010
>Last-Modified:  Sat Jul 31 15:21:23 +0000 2010
>Originator:     Riccardo Mottola
>Release:        3.0 mac68k
>Organization:
>Environment:
NetBSD frodo 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:12:53 UTC 2005  builds@b4.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/mac68k/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/mac68k/compile/GENERIC mac68k
>Description:
{1} nslookup www.netbsd.org 
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:445: fcntl(718952, F_SETFL, -1): Bad file descriptor
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:2338: fatal error: RUNTIME_CHECK(make_nonblock(manager->pipe_fds[0]) == 0) failed
Abort trap (core dumped)

{2} host www.netbsd.org
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:445: fcntl(717056, F_SETFL, -1): Bad file descriptor
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:2338: fatal error: RUNTIME_CHECK(make_nonblock(manager->pipe_fds[0]) == 0) failed
Abort trap (core dumped)

but for a local name

frodo: {3} host frodo
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/dns/sec/dst/dst_api.c:120: REQUIRE(mctx != (void *)0 && ectx != (void *)0) failed.
Abort trap (core dumped)

>How-To-Repeat:
Use the above commands.

I add that I investigate this because strangely the telnet daemon did not accept connection and failed every authentication, thus I supposed name lookup problems (fortunately ssh worked, so I could post this report)
>Fix:

>Release-Note:

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, port-m68k-maintainer@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-m68k/33545: network resolution problems, coredumps
Date: Wed, 24 May 2006 16:37:33 -0400

 On May 24,  8:20pm, multix79@yahoo.com (multix79@yahoo.com) wrote:
 -- Subject: port-m68k/33545: network resolution problems, coredumps

 | >Number:         33545
 | >Category:       port-m68k
 | >Synopsis:       network resolution problems, coredumps
 | >Confidential:   no
 | >Severity:       critical
 | >Priority:       high
 | >Responsible:    port-m68k-maintainer
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Wed May 24 20:20:00 +0000 2006
 | >Originator:     Riccardo Mottola
 | >Release:        3.0 mac68k
 | >Organization:
 | >Environment:
 | NetBSD frodo 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:12:53 UTC 2005  builds@b4.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/mac68k/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/mac68k/compile/GENERIC mac68k
 | >Description:
 | {1} nslookup www.netbsd.org 
 | /home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:445: fcntl(718952, F_SETFL, -1): Bad file descriptor
 | /home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:2338: fatal error: RUNTIME_CHECK(make_nonblock(manager->pipe_fds[0]) == 0) failed
 | Abort trap (core dumped)
 | 
 | {2} host www.netbsd.org
 | /home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:445: fcntl(717056, F_SETFL, -1): Bad file descriptor
 | /home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:2338: fatal error: RUNTIME_CHECK(make_nonblock(manager->pipe_fds[0]) == 0) failed
 | Abort trap (core dumped)
 | 
 | but for a local name
 | 
 | frodo: {3} host frodo
 | /home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/dns/sec/dst/dst_api.c:120: REQUIRE(mctx != (void *)0 && ectx != (void *)0) failed.
 | Abort trap (core dumped)
 | 
 | >How-To-Repeat:
 | Use the above commands.
 | 
 | I add that I investigate this because strangely the telnet daemon did not accept connection and failed every authentication, thus I supposed name lookup problems (fortunately ssh worked, so I could post this report)
 | >Fix:

 Something is wrong with pthreads on m68k. Please rebuild named after changing:
 /usr/src/usr.sbin/bind/Makefile.inc: NAMED_USE_PTHREADS?=yes
 to no.

 christos



From: Ric <multix79@yahoo.com>
To: gnats-bugs@NetBSD.org, port-m68k-maintainer@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-m68k/33545: network resolution problems, coredumps
Date: Mon, 29 May 2006 12:12:37 -0700 (PDT)

 The fact that pthreads are shakey is not pleasant...
 But I may add that I am not running my own DNS and I
 should not be using bind. Also if you noted in the
 traces, I both tried to solve an internet host name as
 well as a name just plain in the /etc/hosts

 -Riccardo
 --- Christos Zoulas <christos@zoulas.com> wrote:
 >  
 >  Something is wrong with pthreads on m68k. Please
 > rebuild named after changing:
 >  /usr/src/usr.sbin/bind/Makefile.inc:
 > NAMED_USE_PTHREADS?=yes
 >  to no.


 __________________________________________________
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 

From: christos@zoulas.com (Christos Zoulas)
To: Ric <multix79@yahoo.com>, gnats-bugs@NetBSD.org,
	port-m68k-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-m68k/33545: network resolution problems, coredumps
Date: Mon, 29 May 2006 20:07:18 -0400

 On May 29, 12:12pm, multix79@yahoo.com (Ric) wrote:
 -- Subject: Re: port-m68k/33545: network resolution problems, coredumps

 | The fact that pthreads are shakey is not pleasant...
 | But I may add that I am not running my own DNS and I
 | should not be using bind. Also if you noted in the
 | traces, I both tried to solve an internet host name as
 | well as a name just plain in the /etc/hosts
 | 
 | -Riccardo

 Not all the ports have problems. m68k is not well tested.

 christos

State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sun, 06 Jun 2010 02:39:08 +0000
State-Changed-Why:
i'm fairly sure that the m68k pthread problems, like some other ports, were
fixed up with the switch to 1:1 threading.  can you confirm?
thanks.


From: Ric <multix79@yahoo.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-m68k/33545 (network resolution problems, coredumps)
Date: Mon, 5 Jul 2010 00:30:31 -0700 (PDT)

 Unfortunately I cannot confirm since the 68k machine in question is "out of 
 order".

 At a certain point I got continuous disk read/write error (like checksumming a 
 file does not give the same result twice). I need to check if installing netbsd5 
 solves the problem and/or change the hard disk. Under MacOS I don't see any 
 particular problems so i don't think it is really a hardware issue.

 Maybe just close the bug.




State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 31 Jul 2010 15:21:23 +0000
State-Changed-Why:
We believe the resolver problems are fixed; the submitter can't test because
of other issues.

(If those issues turn out to be NetBSD problems rather than hardware, please
file a bug report on them.)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.