Date: Sun, 27 Oct 2013 22:57:51 -0700 (PDT) From: Laszlo Danielisz <laszlo.danielisz@yahoo.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: mount smbfs on boot Message-ID: <1382939871.20721.YahooMailNeo@web160504.mail.bf1.yahoo.com>
next in thread | raw e-mail | index | archive | help
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: <owner-freebsd-questions@FreeBSD.ORG> 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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; Mon, 28 Oct 2013 09:17:38 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id n12so3216713oag.26 for <freebsd-questions@freebsd.org>; 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: <CAHHBGkpgLQBhfF3qV09m5ANAggcLyMeZO9_ig3iMz-VMJ-Vx2A@mail.gmail.com> References: <CAA=KUht4Kyz=-J6yGJdPfO4Bnr0a8-qU8k_Aj2Gp0MKjjPM=Qw@mail.gmail.com> <CAHHBGkpgLQBhfF3qV09m5ANAggcLyMeZO9_ig3iMz-VMJ-Vx2A@mail.gmail.com> Date: Mon, 28 Oct 2013 20:17:32 +1100 Message-ID: <CAA=KUhuHT8c=T3p8ihszrhvAHxm-X0XzqcaXAnO-OX_UsOhULw@mail.gmail.com> Subject: Re: Kernel/World/Ports compilation within jails; targeting many platforms. From: Jason Birch <jbirch@jbirch.net> To: "illoai@gmail.com" <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" <freebsd-questions@freebsd.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=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 <illoai@gmail.com> wrote: > On 26 October 2013 06:53, Jason Birch <jbirch@jbirch.net> 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 > > -- > -- >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1382939871.20721.YahooMailNeo>