NetBSD Problem Report #53272

From www@NetBSD.org  Tue May  8 16:27:45 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 78B267A159
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  8 May 2018 16:27:45 +0000 (UTC)
Message-Id: <20180508162744.AF7477A188@mollari.NetBSD.org>
Date: Tue,  8 May 2018 16:27:44 +0000 (UTC)
From: roy@marples.name
Reply-To: roy@marples.name
To: gnats-bugs@NetBSD.org
Subject: recvmmsg() is not supported on NetBSD32
X-Send-Pr-Version: www-1.0

>Number:         53272
>Category:       kern
>Synopsis:       recvmmsg() is not supported on NetBSD32
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 08 16:30:00 +0000 2018
>Originator:     Roy Marplses
>Release:        NetBSD -current
>Organization:
>Environment:
# uname -a
NetBSD erlite.marples.name 8.99.16 NetBSD 8.99.16 (ERLITE) #8: Tue May  8 14:48:48 BST 2018  roy@netbsd.marples.name:/home/roy/obj/src-evbmips/sys/arch/evbmips/compile/ERLITE evbmips
>Description:
nsd worker processes die with status 12, which is SIGSYS
nsd starts a new worker process, which pegs the CPU constantly

ktracing the process, we see this:
 CALL  #475 (unimplemented { int | netbsd32 | | recvmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags , netbsd32_timespecp_t timeout ) ; })
>How-To-Repeat:
Setup nsd on ERLITE
Query it using dig
>Fix:
You can disable HAVE_RECVMMSG and HAVE_SENDMMSG in config.h to work around this.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.