From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 14 08:11:39 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9835EA20 for ; Mon, 14 Jan 2013 08:11:39 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ia0-f169.google.com (mail-ia0-f169.google.com [209.85.210.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7091EB18 for ; Mon, 14 Jan 2013 08:11:39 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id j5so1239319iaf.28 for ; Mon, 14 Jan 2013 00:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=nQc87xVzmnsMKe6fOvicURN5gD2kRT2lu7prEiCMtQA=; b=SRUJc9c3m+u9ba0j8y2GgypPt3pTycZJNvptfOldnh8xhzB2J0Eawi2OBRkHQe7v9s PCaDiRUibYhEQHtl9lX1zJFTJlLya5ajwPH2hU0il6hi9sdnVCxKtDXO0XLVb6ufHOfy 2J81JvCHed2h82QPcauQtupvckXInbRwqV0g7WPphYQFH7zGALP/VAiHawZVPbEYOyAT s4U7a2gEgWOpNUsGKRGkugSZ/QEgLmsSJHnHGyoP/F0pkwpXWhxXaUX9CMU3h976Hu8R fvcvQeJDuSdy2llCNdJKCYeyMzvdEiudYlrRX3fFwpkp3wkJmV+0feUVR1FoY5f+miMi Vu9Q== Received: by 10.50.195.135 with SMTP id ie7mr6143333igc.8.1358151093179; Mon, 14 Jan 2013 00:11:33 -0800 (PST) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.161.130 with HTTP; Mon, 14 Jan 2013 00:11:12 -0800 (PST) From: takCoder Date: Mon, 14 Jan 2013 11:41:12 +0330 X-Google-Sender-Auth: KdjArj5czfzCzD2e8CwoIiWJ15Q Message-ID: Subject: nanobsd boot sequence problem To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tak.official@gmail.com List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 08:11:39 -0000 hi everyone, i'm new in nanobsd field, trying to well-config my first nanobsd server for a while.. here's my base question: which script is responsible for creating /etc and /var as md drives? i wanna know this cause early in my startup sequence, i've got a some-how myinit script which is in need of modifying /etc files; but it seems that when myinit script is running, there is no such rw /etc there.. it's confusing.. so i thought if i knew the creator script, i can have the right sequence via REQUIRE and BEFORE and alike.. thank you for all your ideas and tips, and specially, your time :) Regards, t.a.k From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 14 11:06:45 2013 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 06A2D48A for ; Mon, 14 Jan 2013 11:06:45 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id ECC58636 for ; Mon, 14 Jan 2013 11:06:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0EB6iTR086344 for ; Mon, 14 Jan 2013 11:06:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0EB6iKS086342 for freebsd-embedded@FreeBSD.org; Mon, 14 Jan 2013 11:06:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Jan 2013 11:06:44 GMT Message-Id: <201301141106.r0EB6iKS086342@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 Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 11:06:45 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/172968 embedded [arge] probe/attach occasionally fails to find a PHY o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 3 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 14 13:50:08 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 199ECB43 for ; Mon, 14 Jan 2013 13:50:08 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx1.freebsd.org (Postfix) with ESMTP id D4F01975 for ; Mon, 14 Jan 2013 13:50:07 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id n11so3581096vch.30 for ; Mon, 14 Jan 2013 05:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=FHU3WNPqQtsuiDlsSI5gKtWjryoV2sq3GCZChIAVtg8=; b=WIBg37Eb1aA6tJleL616tXCLUWXgaW4M1bXUSAHI2rQoL/t0u6aSfnm0yYPq/fFXla 3qoX6ORLEF59BedfG+Y05mXhQIPAfvSFr4Yqx2aoGamvqCZUbnQ0Okb19/moy8IaLeB0 sA/hwvUUO+slYWrrCiGg7FbbsQutE/TnVwyAJD82qC7PSM74jvmK0cIJffCl9yDSs2oO 5Ag2Xyfmkvna8s2aUITc84BW36nv9lMc8QSbdjXahKopLmlFMlVE6I39CRsp93eOYMMi nXBguGiqzGYW9MOcqTaFc9KKpfH0WLdKGL36Ey9BMCTkydjzzcbdGd5PEbWbhbPqRc/F nNJw== Received: by 10.52.29.231 with SMTP id n7mr88825808vdh.103.1358171401443; Mon, 14 Jan 2013 05:50:01 -0800 (PST) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.164.100 with HTTP; Mon, 14 Jan 2013 05:49:41 -0800 (PST) In-Reply-To: References: From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Mon, 14 Jan 2013 14:49:41 +0100 X-Google-Sender-Auth: Gm35KTG4yv5TCPZlx5OFfY_R9jA Message-ID: Subject: Re: nanobsd boot sequence problem To: tak.official@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 13:50:08 -0000 On Mon, Jan 14, 2013 at 9:11 AM, takCoder wrote: > hi everyone, > > i'm new in nanobsd field, trying to well-config my first nanobsd server for > a while.. > > here's my base question: which script is responsible for creating /etc and > /var as md drives? Hi, nanobsd use the diskless(8) mode: You will find some of your answers in this man page or in /etc/rc.initdiskless. Regards, Olivier From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 14 14:04:03 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B30EBF10 for ; Mon, 14 Jan 2013 14:04:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-f170.google.com (mail-ia0-f170.google.com [209.85.210.170]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE21A0F for ; Mon, 14 Jan 2013 14:04:03 +0000 (UTC) Received: by mail-ia0-f170.google.com with SMTP id k20so3492686iak.1 for ; Mon, 14 Jan 2013 06:04:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=UrQi1Z0lLUtGbW54E9Pf6FdH0YZxm5euPB9pcdbFjp4=; b=XH/Knu6mEQXZz+ei464WmTNxmFx+Le/6Ve7comN9pF77NOhYKgTOnk2tLOQie7kCtV c/5WKVBDzF1EUgE4sx1HQIlzb56efEUJwrYMn8o7pxtGpgCkVos5PZoj/COD6Tf4Jnuu OwZJVgKNh15QjwOZD+cJVOJr8bNB4Brpf/v5OElt5PG6BhFEBCLVZEiA2EGjKAeJm304 MiWRTLQpyeqvlyasYDY7SME+RwKyAN0Q0oKUHqaSblaVcRuO4jkr02mFEsEUPpLKZvUa UuQmB5jmMVufsNGV4rfSFZEOagcch/JN7mMPh53k9fhRotZOfgKwu6rbKCYnFWoU6V3E RkUg== X-Received: by 10.50.33.178 with SMTP id s18mr6758276igi.100.1358172242782; Mon, 14 Jan 2013 06:04:02 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id iw5sm6434829igc.5.2013.01.14.06.04.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jan 2013 06:04:01 -0800 (PST) Sender: Warner Losh Subject: Re: nanobsd boot sequence problem Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Mon, 14 Jan 2013 07:03:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8B3635F5-ABD9-470B-9F2A-789886B23A08@bsdimp.com> References: To: tak.official@gmail.com X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQmN5yoDnmdN9Wg5F1hCEhEwO2vHRQ1HjAg4do+SuBBOZmiwaUKd1FqP0z5Fa12peSVwBTDm Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 14:04:03 -0000 On Jan 14, 2013, at 1:11 AM, takCoder wrote: > hi everyone, >=20 > i'm new in nanobsd field, trying to well-config my first nanobsd = server for > a while.. >=20 > here's my base question: which script is responsible for creating /etc = and > /var as md drives? >=20 > i wanna know this cause early in my startup sequence, i've got a = some-how > myinit script which is in need of modifying /etc files; but it seems = that > when myinit script is running, there is no such rw /etc there.. it's > confusing.. so i thought if i knew the creator script, i can have the = right > sequence via REQUIRE and BEFORE and alike.. >=20 > thank you for all your ideas and tips, and specially, your time :) /etc/rc.initdiskless does that, called early from /etc/rc, before the = rc.d scripts. So I'm surprised you are having issues... Warner From owner-freebsd-embedded@FreeBSD.ORG Tue Jan 15 08:39:39 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 52996266 for ; Tue, 15 Jan 2013 08:39:39 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from vps.van-laarhoven.org (www.hibma.org [178.21.117.90]) by mx1.freebsd.org (Postfix) with ESMTP id 170CF619 for ; Tue, 15 Jan 2013 08:39:38 +0000 (UTC) Received: from hitske-lan.fritz.box (thuis.van-laarhoven.org [80.100.41.4]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by vps.van-laarhoven.org (Postfix) with ESMTPSA id 97C02586002; Tue, 15 Jan 2013 09:39:57 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: nanobsd boot sequence problem From: Nick Hibma In-Reply-To: <8B3635F5-ABD9-470B-9F2A-789886B23A08@bsdimp.com> Date: Tue, 15 Jan 2013 09:39:30 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <610E2681-4FA7-466E-9284-A6257424F171@van-laarhoven.org> References: <8B3635F5-ABD9-470B-9F2A-789886B23A08@bsdimp.com> To: tak.official@gmail.com X-Mailer: Apple Mail (2.1499) Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 08:39:39 -0000 >> hi everyone, >>=20 >> i'm new in nanobsd field, trying to well-config my first nanobsd = server for >> a while.. >>=20 >> here's my base question: which script is responsible for creating = /etc and >> /var as md drives? >>=20 >> i wanna know this cause early in my startup sequence, i've got a = some-how >> myinit script which is in need of modifying /etc files; but it seems = that >> when myinit script is running, there is no such rw /etc there.. it's >> confusing.. so i thought if i knew the creator script, i can have the = right >> sequence via REQUIRE and BEFORE and alike.. >>=20 >> thank you for all your ideas and tips, and specially, your time :) >=20 > /etc/rc.initdiskless does that, called early from /etc/rc, before the = rc.d scripts. So I'm surprised you are having issues... We use the script below to modify the configuration based on a file = stored on /cfg. It modifies 0 or more files on /etc/ (that includes the symlinked = /usr/local/etc/) before the system starts. Those are the files modified = on the memory disk, not the underlying partition or /conf/etc/ dir. Hope this helps. Nick #!/bin/sh # # PROVIDE: unit_localise # BEFORE: hostid # # This script needs to be run as one of the first ones. It modifies any # configuration files that contain @@AW@@ awparams. It replaces all = those # awparams with the values read in from /etc/unit_localise{.default,}. # # Note: 'hostid' has been chosen as `rcorder /etc/rc.d/* = /usr/local/etc/rc.d/*' # shows that one as the first one. . /etc/rc.subr name=3D'unit_localise' rcvar=3D$(set_rcvar) load_rc_config $name : ${unit_localise_enable:=3D'YES'} unit_localise_start () { ... } start_cmd=3D'unit_localise_start' stop_cmd=3D':' run_rc_command "$1"= From owner-freebsd-embedded@FreeBSD.ORG Fri Jan 18 18:37:49 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7B8CDA18 for ; Fri, 18 Jan 2013 18:37:49 +0000 (UTC) (envelope-from tak.official@gmail.com) Received: from mail-ye0-f172.google.com (mail-ye0-f172.google.com [209.85.213.172]) by mx1.freebsd.org (Postfix) with ESMTP id 42FE5F51 for ; Fri, 18 Jan 2013 18:37:49 +0000 (UTC) Received: by mail-ye0-f172.google.com with SMTP id m10so630215yen.17 for ; Fri, 18 Jan 2013 10:37:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:to:subject:from; bh=qdhSUHZ5OlTa1wDUu9Tqva8l9MjSlPKFflgMdVXxgt8=; b=wVEYiEsikpwFxR9vUGSuioHQ/Jk4dr0J7EPjg7kpoXTUZ2cj3Y0brXu9PRECWKwt8R v0ngiSegXWSsvUuw7jStEtJUY6QHqHnJEML1bnpZO8SwKlp+Q1791XaHJb7L5y2WXsAR HZG1Wj2yCsmKzIp49GsOtuVvGLcCt/oIekeoYwi1PkX4YVe8J+Dey4aYxoqiHMD6nD3i 0O5s73urenQtMz/WZdlrpAz0jPJpgz453NEuGQqrsLde0CN2v03FjDiNCFAP5Cy43Hkw 59qmnQRjx7ROhTaVnpWiqJGRd8yooGAADzwGETOnpK3Tey3qkQwdBbo8igj1ZuQ+28rT VBhA== X-Received: by 10.236.112.51 with SMTP id x39mr11012104yhg.38.1358534263486; Fri, 18 Jan 2013 10:37:43 -0800 (PST) Received: from ipexygan (host144.190-230-188.telecom.net.ar. [190.230.188.144]) by mx.google.com with ESMTPS id q15sm4742961anl.13.2013.01.18.10.37.39 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 18 Jan 2013 10:37:42 -0800 (PST) Message-ID: <50f99676.0f58650a.104d.ffff91c9@mx.google.com> Date: Fri, 18 Jan 2013 10:37:42 -0800 (PST) To: , , , , , Subject: Welcome to From: tak.official@gmail.com X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 18:37:49 -0000 http://cmykbatam.com/neo/yahoo!.php?wugeqi=v6%aj%b8%02%j3%l4%n0%z5%y1%z5%s9%42&zemuxoz=2700491