From owner-freebsd-embedded@FreeBSD.ORG Mon Aug 18 11:06:48 2008 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 107841065691 for ; Mon, 18 Aug 2008 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E2DBD8FC24 for ; Mon, 18 Aug 2008 11:06:47 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7IB6l2s079761 for ; Mon, 18 Aug 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7IB6lIG079757 for freebsd-embedded@FreeBSD.org; Mon, 18 Aug 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Aug 2008 11:06:47 GMT Message-Id: <200808181106.m7IB6lIG079757@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 11:06:48 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/15876 embedded [picobsd] PicoBSD message of the day problems o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub 4 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Aug 18 23:23:31 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D39011065674; Mon, 18 Aug 2008 23:23:31 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 235528FC15; Mon, 18 Aug 2008 23:23:31 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 8D70A1A9147; Mon, 18 Aug 2008 16:00:24 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RVa3k5mIgnX2; Mon, 18 Aug 2008 16:00:24 -0700 (PDT) Received: from [10.0.0.40] (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 31C1A1A90DC; Mon, 18 Aug 2008 16:00:24 -0700 (PDT) Message-ID: <48AA00C7.5070500@miralink.com> Date: Mon, 18 Aug 2008 16:07:51 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Henrik Brix Andersen References: <489925FC.7070404@miralink.com> <20080806153420.GB80548@tirith.brixandersen.dk> In-Reply-To: <20080806153420.GB80548@tirith.brixandersen.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: NANOBSD Build Failure X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 23:23:31 -0000 Henrik Brix Andersen wrote: > On Tue, Aug 05, 2008 at 09:18:04PM -0700, Sean Bruno wrote: > >> I've recently started to get the following build failure from NanoBSD >> and I am not sure what to make of it. If I buildworld outside of >> nanobsd, I certainly don't see this error: >> >> ===> gnu/usr.bin/texinfo/texindex (all) >> cc -O2 -fno-strict-aliasing -pipe -DHAVE_CONFIG_H >> -DLOCALEDIR=\"/usr/share/locale\" >> -I/var/tmp/nanobuild_1001/FreeBSD_RELENG6/gnu/usr.bin/texinfo/texindex/../../../../contrib/texinfo >> -I/var/tmp/nanobuild_1001/FreeBSD_RELENG6/gnu/usr.bin/texinfo/texindex/../../../../contrib/texinfo/lib >> -c >> /var/tmp/nanobuild_1001/FreeBSD_RELENG6/gnu/usr.bin/texinfo/texindex/../../../../contrib/texinfo/util/texindex.c >> gzip -cn >> /var/tmp/nanobuild_1001/FreeBSD_RELENG6/gnu/usr.bin/texinfo/texindex/../../../../contrib/texinfo/doc/texindex.1 >> > texindex.1.gz >> cc -O2 -fno-strict-aliasing -pipe -DHAVE_CONFIG_H >> -DLOCALEDIR=\"/usr/share/locale\" >> -I/var/tmp/nanobuild_1001/FreeBSD_RELENG6/gnu/usr.bin/texinfo/texindex/../../../../contrib/texinfo >> -I/var/tmp/nanobuild_1001/FreeBSD_RELENG6/gnu/usr.bin/texinfo/texindex/../../../../contrib/texinfo/lib >> -o texindex texindex.o >> /var/tmp/nanobuild_1001/FreeBSD_RELENG6/tools/tools/nanobsd/build/var/tmp/nanobuild_1001/FreeBSD_RELENG6/gnu/usr.bin/texinfo/texindex/../libtxi/libtxi.a >> ===> gnu/usr.bin/texinfo/doc (all) >> 1 error >> *** Error code 2 >> 1 error >> *** Error code 2 >> 1 error >> > > Try setting NANO_PMAKE="make -j 1" - that should reveal what is > failing. > > Brix > Thanks for the help folks. My build failure was actually happening well before the reported error in some modifications to CAM that were made internally here. -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com Yahoo: sean_bruno@yahoo.com From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 20 20:33:52 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E760E1065672 for ; Wed, 20 Aug 2008 20:33:52 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id BD8D38FC15 for ; Wed, 20 Aug 2008 20:33:52 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id E74221A90E3 for ; Wed, 20 Aug 2008 13:26:00 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lo-GbzuNt8Q2 for ; Wed, 20 Aug 2008 13:26:00 -0700 (PDT) Received: from [10.0.0.40] (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 67FB21A90DE for ; Wed, 20 Aug 2008 13:26:00 -0700 (PDT) Message-ID: <48AC7FAF.1060400@miralink.com> Date: Wed, 20 Aug 2008 13:33:51 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: freebsd-embedded@freebsd.org Content-Type: multipart/mixed; boundary="------------060403000502070400050906" Subject: PAM errors with NANOBSD X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 20:33:53 -0000 This is a multi-part message in MIME format. --------------060403000502070400050906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I seem to be stumped by my latest issue with NANOBSD. I can't login to the console due to missing pam libs and such. Any and all calls to sudo seem to be blowing up as well. I can only assume that something from my build system is causing pam to be configured. Even though I have explicitly set NO_PAM=YES in my NANOConf, I seem to be jamming up on pam. If I remove the NO_PAM entry, I get the same failure. So perhaps NO_PAM doesn't mean what I think it means? Anyone have a clue what the heck is going on here? -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com Yahoo: sean_bruno@yahoo.com --------------060403000502070400050906 Content-Type: text/plain; name="NANOMIRALINK" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="NANOMIRALINK" NANO_NAME=miralink NANO_SRC=${PWD}/../../../ NANO_OBJ=${PWD}/build NANO_KERNEL=GENERIC NANO_IMAGES=2 NANO_DRIVE=ad0 CONF_BUILD=' NO_NETGRAPH=YES NO_PAM=YES ' CONF_INSTALL=' NO_BLUETOOTH=YES NO_DICT=YES NO_TOOLCHAIN=YES NO_ATM=YES NO_NIS=YES NO_SHARE=YES NO_CVS=YES NO_FORTRAN=YES NO_HTML=YES NO_LPR=YES NO_MAN=YES NO_SHAREDOCS=YES NO_EXAMPLES=YES NO_CALENDAR=YES NO_MISC=YES NO_SENDMAIL=YES NO_INFO=YES ' CONF_WORLD=' NO_BIND=YES NO_KERBEROS=YES NO_GAMES=YES NO_RESCUE=YES ' # This removes the standard BSD menu from system startup. cust_nobeastie() ( touch ${NANO_WORLDDIR}/boot/loader.conf echo "beastie_disable=\"YES\"" >> ${NANO_WORLDDIR}/boot/loader.conf ) # This installs sudo from ports. It is version dependant so it most likely will break. install_sudo() ( cd /usr/ports/security/sudo FORCE_PKG_REGISTER=1 make install package-recursive cp sudo-1.6.8.12_1.tbz ${NANO_OBJ}/_.w chroot "$NANO_WORLDDIR" sh -c "pkg_add -vF sudo-1.6.8.12_1.tbz" chroot "$NANO_WORLDDIR" sh -c "rm -f sudo-1.6.8.12_1.tbz" ) # This installs perl 5.8 from ports. It is version dependant so it most likely will break. install_perl() ( cd /usr/ports/lang/perl5.8 FORCE_PKG_REGISTER=1 make install package-recursive cp perl-5.8.8.tbz ${NANO_OBJ}/_.w chroot "$NANO_WORLDDIR" sh -c "pkg_add -vF perl-5.8.8.tbz" chroot "$NANO_WORLDDIR" sh -c "rm -f perl-5.8.8.tbz" ) # This installs net-snmp from ports. It is version dependant so it most likely will break. install_netsnmp() ( cd /usr/ports/net-mgmt/net-snmp FORCE_PKG_REGISTER=1 make install package-recursive cp net-snmp-5.2.3_3.tbz ${NANO_OBJ}/_.w chroot "$NANO_WORLDDIR" sh -c "pkg_add -vF net-snmp-5.2.3_3.tbz" chroot "$NANO_WORLDDIR" sh -c "rm -f net-snmp-5.2.3_3.tbz" ) # This installs smartmontools from ports. It is version dependant so it most likely will break. install_smartmontools() ( cd /usr/ports/sysutils/smartmontools FORCE_PKG_REGISTER=1 make install package-recursive cp smartmontools-5.36.tbz ${NANO_OBJ}/_.w chroot "$NANO_WORLDDIR" sh -c "pkg_add -vF smartmontools-5.36.tbz" chroot "$NANO_WORLDDIR" sh -c "rm -f smartmontools-5.36.tbz" ) # This installs lsof from ports. It is version dependant so it most likely will break. install_lsof() ( cd /usr/ports/sysutils/lsof FORCE_PKG_REGISTER=1 make install package-recursive cp lsof-4.77.tbz ${NANO_OBJ}/_.w chroot "$NANO_WORLDDIR" sh -c "pkg_add -vF lsof-4.77.tbz" chroot "$NANO_WORLDDIR" sh -c "rm -f lsof-4.77.tbz" ) install_openssl() ( cd /usr/ports/security/openssl FORCE_PKG_REGISTER=1 make install package-recursive cp openssl-0.9.8d.tbz ${NANO_OBJ}/_.w chroot "$NANO_WORLDDIR" sh -c "pkg_add -vF openssl-0.9.8d.tbz" chroot "$NANO_WORLDDIR" sh -c "rm -f openssl-0.9.8d.tbz" ) install_net_ssleay() ( cd /usr/ports/security/p5-Net-SSLeay/ FORCE_PKG_REGISTER=1 make install package-recursive cp p5-Net-SSLeay-1.30_1.tbz ${NANO_OBJ}/_.w chroot "$NANO_WORLDDIR" sh -c "pkg_add -vF p5-Net-SSLeay-1.30_1.tbz" chroot "$NANO_WORLDDIR" sh -c "rm -f p5-Net-SSLeay-1.30_1.tbz" ) FlashDevice transcend dom512m # Serial console only customize_cmd cust_comconsole # Root may ssh in customize_cmd cust_allow_ssh_root # Install Nanobsd update files in /root customize_cmd cust_install_files # customize_cmd cust_nobeastie customize_cmd install_sudo customize_cmd install_perl customize_cmd install_smartmontools customize_cmd install_lsof customize_cmd install_openssl customize_cmd install_net_ssleay customize_cmd install_netsnmp --------------060403000502070400050906-- From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 20 23:48:03 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A4C11065672 for ; Wed, 20 Aug 2008 23:48:03 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id EDB758FC2B for ; Wed, 20 Aug 2008 23:48:02 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 9C22E1A90CF for ; Wed, 20 Aug 2008 16:40:09 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mvCHvWhsfLqH for ; Wed, 20 Aug 2008 16:40:04 -0700 (PDT) Received: from [10.0.0.40] (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 689A51A8EF2 for ; Wed, 20 Aug 2008 16:40:04 -0700 (PDT) Message-ID: <48ACAD2D.9090107@miralink.com> Date: Wed, 20 Aug 2008 16:47:57 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: freebsd-embedded@freebsd.org References: <48AC7FAF.1060400@miralink.com> In-Reply-To: <48AC7FAF.1060400@miralink.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PAM errors with NANOBSD X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 23:48:03 -0000 Sean Bruno wrote: > I seem to be stumped by my latest issue with NANOBSD. > I can't login to the console due to missing pam libs and such. Any > and all calls to sudo seem to be blowing up as well. I can only > assume that something from my build system is causing pam to be > configured. Even though I have explicitly set NO_PAM=YES in my > NANOConf, I seem to be jamming up on pam. If I remove the NO_PAM > entry, I get the same failure. So perhaps NO_PAM doesn't mean what I > think it means? > > Anyone have a clue what the heck is going on here? > > ------------------------------------------------------------------------ Here's an example from my last build. The system seems to boot fine, but then is completely useless at startup: FreeBSD/i386 (Amnesiac) (ttyd0) login: root Aug 21 07:50:22 login: in openpam_load_module(): no pam_unix.so found Aug 21 07:50:22 login: pam_start(): system error FreeBSD/i386 (Amnesiac) (ttyd0) login: -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com Yahoo: sean_bruno@yahoo.com From owner-freebsd-embedded@FreeBSD.ORG Thu Aug 21 22:14:51 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4FDF1065678 for ; Thu, 21 Aug 2008 22:14:51 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 8754B8FC0A for ; Thu, 21 Aug 2008 22:14:51 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 5D4B21A9182 for ; Thu, 21 Aug 2008 15:06:46 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zZSkoWXiFGpA for ; Thu, 21 Aug 2008 15:06:41 -0700 (PDT) Received: from [10.0.0.40] (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 359A71A90DE for ; Thu, 21 Aug 2008 15:06:41 -0700 (PDT) Message-ID: <48ADE8D6.1090906@miralink.com> Date: Thu, 21 Aug 2008 15:14:46 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: freebsd-embedded@freebsd.org References: <48AC7FAF.1060400@miralink.com> <48ACAD2D.9090107@miralink.com> In-Reply-To: <48ACAD2D.9090107@miralink.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PAM errors with NANOBSD X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 22:14:51 -0000 Sean Bruno wrote: > Sean Bruno wrote: >> I seem to be stumped by my latest issue with NANOBSD. >> I can't login to the console due to missing pam libs and such. Any >> and all calls to sudo seem to be blowing up as well. I can only >> assume that something from my build system is causing pam to be >> configured. Even though I have explicitly set NO_PAM=YES in my >> NANOConf, I seem to be jamming up on pam. If I remove the NO_PAM >> entry, I get the same failure. So perhaps NO_PAM doesn't mean what I >> think it means? >> >> Anyone have a clue what the heck is going on here? >> >> ------------------------------------------------------------------------ > Here's an example from my last build. The system seems to boot fine, > but then is completely useless at startup: > > FreeBSD/i386 (Amnesiac) (ttyd0) > > login: root > Aug 21 07:50:22 login: in openpam_load_module(): no pam_unix.so found > Aug 21 07:50:22 login: pam_start(): system error > > FreeBSD/i386 (Amnesiac) (ttyd0) > > login: > > adding or removing "NO_PAM=YES" from the NANOBSD configuration has no impact on whether or not PAM get's built. So, I'm not sure what the heck is going on now. I mounted the diskimage on my system and verified that /usr/lib/pam_unix.so exists and is properly built. Any ideas as to why my disk image is acting like this? -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com Yahoo: sean_bruno@yahoo.com