NetBSD Problem Report #44849

From www@NetBSD.org  Sun Apr 10 09:31:03 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A4E1B63C287
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 10 Apr 2011 09:31:03 +0000 (UTC)
Message-Id: <20110410093102.E0FA063BEAA@www.NetBSD.org>
Date: Sun, 10 Apr 2011 09:31:02 +0000 (UTC)
From: dross@pobox.com
Reply-To: dross@pobox.com
To: gnats-bugs@NetBSD.org
Subject: ENOMEM loading winbindd, smbd on Atari
X-Send-Pr-Version: www-1.0

>Number:         44849
>Category:       port-atari
>Synopsis:       ENOMEM loading winbindd, smbd on Atari
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-atari-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 10 09:35:00 +0000 2011
>Originator:     David Ross
>Release:        5.1
>Organization:
>Environment:
NetBSD tt030 5.1 NetBSD 5.1 (MYKERNEL) #0: Mon Dec 13 22:03:51 PST 2010  dross@new-host-5:/usr/obj/sys/arch/atari/compile/MYKERNEL atari
>Description:
I have a 16MB Atari TT030 with a decent amount of swap.  I built/installed Samba 3.5.* twice and both times I get "Cannot allocate memory" starting smbd and winbindd.  Results w/ktrace:

tt030: {89} ktrace -id /usr/pkg/sbin/winbindd
ktrace: exec of '/usr/pkg/sbin/winbindd' failed: Cannot allocate memory

I tried setting resource limits higher but no luck.

I was actually able to upgrade the box to 256MB of physical memory (temporarily) but still got the same error.

It makes sense that I'd be having these issues because these two binaries are likely the largest on the system.  But still, I'd like to get to the bottom of this and be able to use the latest Samba on this box, if at all possible.

I did not experience this issue with a previous version of NetBSD (5.0.1?) with a previous version of Samba (3.0) -- everything just worked.
>How-To-Repeat:
Compile Samba 3.5.8 on NetBSD 5.1/atari via pkgsrc.  After installing it, try to run /usr/pkg/sbin/winbindd or /usr/pkg/sbin/smbd.  Observe the binaries will not load.
>Fix:

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.