From owner-freebsd-questions@FreeBSD.ORG Mon Oct 28 06:00:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4BA90D9D for ; Mon, 28 Oct 2013 06:00:42 +0000 (UTC) (envelope-from laszlo.danielisz@yahoo.com) Received: from nm33-vm3.bullet.mail.bf1.yahoo.com (nm33-vm3.bullet.mail.bf1.yahoo.com [72.30.239.203]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB6572427 for ; Mon, 28 Oct 2013 06:00:41 +0000 (UTC) Received: from [66.196.81.170] by nm33.bullet.mail.bf1.yahoo.com with NNFMP; 28 Oct 2013 05:57:52 -0000 Received: from [98.139.212.197] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 28 Oct 2013 05:57:52 -0000 Received: from [127.0.0.1] by omp1006.mail.bf1.yahoo.com with NNFMP; 28 Oct 2013 05:57:52 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 142572.41633.bm@omp1006.mail.bf1.yahoo.com Received: (qmail 32912 invoked by uid 60001); 28 Oct 2013 05:57:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1382939871; bh=QvLWSo5joNU0K2mvxSRV4x464gxZR+HHxnXpAaHx2+M=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=ediu65KmSNo3UgbSLuOTUQU/VPtCYj8JB6vJEhzIh+Z0mXdM083Z6GprLkWSRkYVlpJfnfJkQdw9qP7bweqfiB13zCVO2nRi+mGgg/A3dJhPrcREl4g8iHd7/vq4OpQaVrDcIfhNuFR1/RCcwaZ9HdYK7s8k+vrSUucCDbppuT0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=R9M398QuER7eiaWPi+OLaXtLtDJfiKV1L7uIELjq4QjvXakoaYyLygxmpBNqo6J5guA9zJUCMVOIebfPfvmhyQ4ns0bFD4R0+74+psY5J5qsecEMdqctymyTjhNrlCGRgsZndF5oit/y0PqOPnYd3i44vn1BUp3mfXPL8DYNgcE=; X-YMail-OSG: IPOZq.gVM1k75mbi0Njib3SJ1uabYI68Sm3BKpKviiz_wDT DC92qguK7uUTckYoeY1vynRyhbTzAiwPvZ4bOyVcl4aR.dplc8FO.B5aOxcL 520a4aWh6fqypBQvZCy0iOwwOJLUEKwtABbMaWb8mAiIAK5mTBrVsH8dhEzM bXBMDlVWKNY6L21hoPCQ4SRNaY2mqWL0ZGBjH6cdVHPThijbq9TuBbuRlV3C 2rmUtR6fiYcBkj3T_XyFrXbITNuMzeI.QunoQ.10qSkcNJ5ZLwcsp9oeEFin ljb5yztrMBKs2zLc.z_xHbQMs.1b0Uqzlp.4rDzFaJk7EXGX9GOfshw9HJy7 r_STVl0ceDu7Hn89vWW6J6XdwJcNKSRKBV3v1PsDXr6xCRJuiAdR120XsPLm yAVfjAZbAWuTcpwZkwJeKGC5dMC.8pu6pz_csjaCxjQInjsZLjFtl8HQkJ5S 5LbWJL3Y1JkdVo_eZBBjX9NENKwjbVl37ZC1AFkrdA3xxex97wBB1Qrlsl0z Nbx9xZ.cpZ98IjVcDHhFnlgElMUsSzK1MtRIdYnCKV6yOvE90gyGQnAzGJdW 7SCQ2qpGXlkx24zjwrq30eWsN Received: from [80.98.102.209] by web160504.mail.bf1.yahoo.com via HTTP; Sun, 27 Oct 2013 22:57:51 PDT X-Rocket-MIMEInfo: 002.001, SGksCgpZZXN0ZXJkYXkgSSBzcGVudCBxdWl0ZSBtYW55IGhvdXJzIGZpZ3VyaW5nIG91dCB3aGF0IGlzIHdyb25nLgoKRXZlcnkgdGltZSBteSBmYnNkIDkuMiBib290cyB1cCBJIGhhdmUgdGhlIGZvbGxvd2luZyBlcnJvcjoKCk1vdW50aW5nIGxhdGUgZmlsZSBzeXN0ZW06IHNtYl9jb19sb2NrOiByZWN1cnNpdmUgbG9jayBmb3Igb2JqZWN0IDEKbW91bnRfc21iZnM6IHVuYWJsZSB0byBvcGVuIGNvbm5lY3Rpb246IHN5c2VyciA9IEF1dGhlbnRpY2F0aW9uIGVycm9yCgpJbiBmc3RhYiBJIGhhdmUgdGhlIGYBMAEBAQE- X-Mailer: YahooMailWebService/0.8.160.587 Message-ID: <1382939871.20721.YahooMailNeo@web160504.mail.bf1.yahoo.com> Date: Sun, 27 Oct 2013 22:57:51 -0700 (PDT) From: Laszlo Danielisz Subject: mount smbfs on boot To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Laszlo Danielisz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 06:00:42 -0000 Hi, Yesterday I spent quite many hours figuring out what is wrong. Every time my fbsd 9.2 boots up I have the following error: Mounting late file system: smb_co_lock: recursive lock for object 1 mount_smbfs: unable to open connection: syserr = Authentication error In fstab I have the following line for samba: //laci@UBUNTU/LACI/mnt/smbfssmbfsrw,late,-N,-I192.168.1.2300 And /etc/nsmb.conf looks like this, I also tried moving under /root/.nsmbrc and everybody can read it. [UBUNTU:laci] addr=192.168.1.23 password=******* Of course I checked the password couple time, I have the correct password in the configuration file. Do you have any idea what should I check? Thx! Laci From owner-freebsd-questions@FreeBSD.ORG Mon Oct 28 09:17:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DAFA62F9 for ; Mon, 28 Oct 2013 09:17:38 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A39372D66 for ; Mon, 28 Oct 2013 09:17:38 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id n12so3216713oag.26 for ; Mon, 28 Oct 2013 02:17:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=j5ouKEldTV/LEfTGnjLkqW4T4VrRYBQI6XQFftrJcxU=; b=QHkpnFrhwMIcrc/2LUsYbjEIuSAwIcXLhde3Sd0/NsxrT0SlO5SRFmo5hgs8OQOJox PyyQuL9MEOL8t3frF0rGXIpUPVpEJDP6SEao5LWg9sfxmKzq20VS1R0ncVQsiiwEhrDe hdOzQ+R2iYk6b8oKvJbjqhzDOfUiojeReWI5qr9eP3/370ViKVIVC3BWxS/NBfjygrWJ 0R/1IUTTVSQx4u/IvTPm+rP4shEa8d8t7WCC+HziqPojvHyy7Y9KUsvsea6L/NlaPNj8 k0S7/hMXBHazWBXWTCL7Ou83eCpKCpMPGmFx72DRl5bXvjJY4fN5ldMc2AftAnD1jE5n 2Mvg== X-Gm-Message-State: ALoCoQklCvC/9seW4dPCgOJobCC+b22aQMVzFZJnPbxlszK6DplnTWNgRRttpXqfhdlVCMcbsYSb MIME-Version: 1.0 X-Received: by 10.182.125.161 with SMTP id mr1mr32399obb.75.1382951852489; Mon, 28 Oct 2013 02:17:32 -0700 (PDT) Received: by 10.182.185.71 with HTTP; Mon, 28 Oct 2013 02:17:32 -0700 (PDT) X-Originating-IP: [49.180.138.218] In-Reply-To: References: Date: Mon, 28 Oct 2013 20:17:32 +1100 Message-ID: Subject: Re: Kernel/World/Ports compilation within jails; targeting many platforms. From: Jason Birch To: "illoai@gmail.com" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 09:17:38 -0000 Thanks for your response, illoai. I think you're getting at what I really need -- jails aren't needed because I'm not really worried about isolation of services or processes, I just want to logically separate some code such that compilations are repeatable and performed similarly. Whether I do this in chroots that make all compilations look the same, or just keep separate source trees for each of my builds, is then just a matter of taste, I guess. On Sun, Oct 27, 2013 at 7:45 AM, illoai@gmail.com wrote: > On 26 October 2013 06:53, Jason Birch wrote: > > Is it considered 'good form' to do compilation for other machines, > > architectures, and FreeBSD versions within jails? > > > > As a concrete example, my 'main' system is a FreeBSD 9.1-RELEASE amd64 > > system, and I would like to compile FreeBSD 11-CURRENT for my BeagleBone > > Black (ARMv7). Does it make more sense to create a jail environment on my > > 9.1-RELEASE machine to do all compilation and 'staging' for the > BeagleBlack? > > > > Originally I had just compiled gcc targeting arm and checked out sources > > into a location that wasn't /usr/src/. This is simple enough for one > > different target, but I'm wondering if I'll be a little bit more sane if > > I've got a jail for each individual target I'm compiling for. Each jail > can > > then be set up with one, consistent compiler and source tree in the same > > location -- even if the compiler (GCC/Clang) and source (X-RELEASE vs > > Y-STABLE vs CURRENT) differ between targets? > > > > Are this a sane thing to be doing? For those of you that have several > > FreeBSD targets but do most of your set up on a single machine, how do > you > > logically separate your 'worlds'? > > Your system sounds a bit involved. FreeBSD is designed to be > cross compiled fairly easily. > > For building wine on amd64, I just created an i386 chroot. > A jail is targeted at running services within a chroot-like > environment, I suppose it could be used to cross compile. > > You can cross build with: > # make buildworld TARGET=arm (you may need to specify TARGET_ARCH= > as well with ARM, I don't know) > > You might have to specify CC= CXX= & CPP= > > In the case of TARGET=i386 it places the object files under > /usr/obj/i386.i386/, I'd assume something similar for ARM. > > You'll also have to build a kernel. You'll have to do other stuff, too. > > There's stuff here: > https://wiki.freebsd.org/A_Brief_Guide_To_Cross_Compiling_FreeBSD > > -- > -- >