From owner-freebsd-questions@FreeBSD.ORG Sun Apr 14 03:56:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0A1949FE for ; Sun, 14 Apr 2013 03:56:23 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 993B71FB2 for ; Sun, 14 Apr 2013 03:56:22 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail07.adl2.internode.on.net with ESMTP; 14 Apr 2013 13:26:19 +0930 Message-ID: <516A28E1.5060306@ShaneWare.Biz> Date: Sun, 14 Apr 2013 13:26:17 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Jason Lenthe Subject: Re: C++ headers References: <1577003.5UONfdckvH@melon> <51694C7A.2070004@comcast.net> In-Reply-To: <51694C7A.2070004@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Demelier , FreeBSD 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: Sun, 14 Apr 2013 03:56:23 -0000 On 13/04/2013 21:45, Jason Lenthe wrote: >> Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has >> some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 >> features (and missing headers). >> >> Is there any port of c++11 available? > > There sure is. Just get the latest version of gcc or clang from the > ports collection. The new C++11 libs are planned to be part of 10.0 base install You can build 9.1 with the new libs by adding WITH_LIBCPLUSPLUS=yes to your src.conf before building world. Which needs to be built with clang. For more info see https://wiki.freebsd.org/NewC++Stack From owner-freebsd-questions@FreeBSD.ORG Sun Apr 14 07:07:15 2013 Return-Path: Delivered-To: freebsd-questions@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 7727D6D1 for ; Sun, 14 Apr 2013 07:07:15 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 10306359 for ; Sun, 14 Apr 2013 07:07:14 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id l13so88548wie.6 for ; Sun, 14 Apr 2013 00:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=WKfMjfN76eG/FIoWDUOfudfPsFicTxTishiu0J/2SK8=; b=eTzHRbjmfiRkP58+ErGJXH+0xIr2e2Bf4YzLOGzXXxiIkF5wXbTyRQNlhKyL7gLoNw UMQ+8MgfWy11kMEnSdB2iWDu2LBSb/0GS/ONASTcFQC+QBXVtje40RCm7qhOTmTcOMja 3jZDyCiwujRhmVNFj2LMuLNXGkihhSJlZ0tZkT7ZsudFD9Z9QT5+cQgcGS2OwCo0BCWw q/1DuFnelBodnim3ptbufNIuKrRNwu04MRujQj9WhJ1Uqv640xW65INe2iDvQCNBYhKo sp/Ed1cU1P97dIByEw6uWv/o/4PzCWjIjf0Wf9kZGqv9zCb1ey03FhGrxrD3x41dZN/7 Mgxg== X-Received: by 10.194.122.166 with SMTP id lt6mr25736070wjb.56.1365923234183; Sun, 14 Apr 2013 00:07:14 -0700 (PDT) Received: from melon.localnet (11.33.91.91.rev.sfr.net. [91.91.33.11]) by mx.google.com with ESMTPS id fp2sm6575229wib.7.2013.04.14.00.07.13 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 14 Apr 2013 00:07:13 -0700 (PDT) From: David Demelier To: Shane Ambler Subject: Re: C++ headers Date: Sun, 14 Apr 2013 09:07:04 +0200 Message-ID: <2285644.yeAE3aXX44@melon> User-Agent: KMail/4.10.1 (FreeBSD/9.1-RELEASE-p1; KDE/4.10.1; amd64; ; ) In-Reply-To: <516A28E1.5060306@ShaneWare.Biz> References: <1577003.5UONfdckvH@melon> <51694C7A.2070004@comcast.net> <516A28E1.5060306@ShaneWare.Biz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Cc: Jason Lenthe , FreeBSD 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: Sun, 14 Apr 2013 07:07:15 -0000 Le dimanche 14 avril 2013 13:26:17 Shane Ambler a =E9crit : > On 13/04/2013 21:45, Jason Lenthe wrote: > >> Is it possible to get C++11 support on FreeBSD? Currently the 9.1-= RELEASE > >> has some compiler C++11 capable but the /usr/include/c++ headers l= acks > >> some c++11 features (and missing headers). > >>=20 > >> Is there any port of c++11 available? > >=20 > > There sure is. Just get the latest version of gcc or clang from th= e > > ports collection. >=20 > The new C++11 libs are planned to be part of 10.0 base install >=20 > You can build 9.1 with the new libs by adding WITH_LIBCPLUSPLUS=3Dyes= to > your src.conf before building world. Which needs to be built with cla= ng. >=20 > For more info see https://wiki.freebsd.org/NewC++Stack Thanks you very much, anyway I always use clang. It's definitely the be= st=20 compiler :). Regards, --=20 David Demelier From owner-freebsd-questions@FreeBSD.ORG Sun Apr 14 08:11:45 2013 Return-Path: Delivered-To: freebsd-questions@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 4DFE3A35 for ; Sun, 14 Apr 2013 08:11:45 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 350F1662 for ; Sun, 14 Apr 2013 08:11:44 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1URI2E-0006nA-AM for freebsd-questions@freebsd.org; Sun, 14 Apr 2013 01:11:38 -0700 Date: Sun, 14 Apr 2013 01:11:38 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1365927098231-5803691.post@n5.nabble.com> Subject: sata/ata device permission for user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Sun, 14 Apr 2013 08:11:45 -0000 My user is unable to mount cdrom and cannot use qemu for the HDD devices. Why is access to these devices being refused for my user? 1. % mount_cd9660 /dev/cd0 /cdrom mount_cd9660: /dev/cd0: Operation not permitted 2. % qemu-system-x86_64 -hda /dev/ada2 qemu-system-x86_64: -hda /dev/ada2: could not open disk image /dev/ada2: Operation not permitted *SETTINGS:* % id => uid=1001(xyz) gid=0(wheel) groups=0(wheel),5(operator),1001(xyz) /etc/devfs.rules has: [localrules=10] add path 'ada[0-9]*' mode 0660 group operator add path 'da[0-9]*' mode 0660 group operator add path 'cd[0-9]*' mode 0660 group operator /etc/rc.conf has: devfs_system_ruleset="localrules" Regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 14 08:40:24 2013 Return-Path: Delivered-To: freebsd-questions@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 C60AAC54 for ; Sun, 14 Apr 2013 08:40:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9141F6EC for ; Sun, 14 Apr 2013 08:40:24 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id C528E27752; Sun, 14 Apr 2013 10:31:46 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3E8Vsfw002339; Sun, 14 Apr 2013 10:31:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 14 Apr 2013 10:31:54 +0200 From: Polytropon To: Beeblebrox Subject: Re: sata/ata device permission for user Message-Id: <20130414103154.3a49e6de.freebsd@edvax.de> In-Reply-To: <1365927098231-5803691.post@n5.nabble.com> References: <1365927098231-5803691.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Apr 2013 08:40:24 -0000 On Sun, 14 Apr 2013 01:11:38 -0700 (PDT), Beeblebrox wrote: > My user is unable to mount cdrom and cannot use qemu for the HDD devices. Why > is access to these devices being refused for my user? Because there have to be certain permissions in order to allow a non-root user perform such tasks: 1. The setting vfs.usermount=1 has to be present in /etc/sysctl.conf . 2. The user must have write access to the device file. 3. The user has to own the mount directory. It helps if the user is in the "wheel" group. > 1. % mount_cd9660 /dev/cd0 /cdrom > mount_cd9660: /dev/cd0: Operation not permitted Check permissions of /dev/cd0 and /cdrom. > 2. % qemu-system-x86_64 -hda /dev/ada2 > qemu-system-x86_64: -hda /dev/ada2: could not open disk image /dev/ada2: > Operation not permitted Check permissions of /dev/ada2, maybe write permission is needed? > *SETTINGS:* > % id => uid=1001(xyz) gid=0(wheel) groups=0(wheel),5(operator),1001(xyz) > > /etc/devfs.rules has: [localrules=10] > add path 'ada[0-9]*' mode 0660 group operator > add path 'da[0-9]*' mode 0660 group operator > add path 'cd[0-9]*' mode 0660 group operator > > /etc/rc.conf has: > devfs_system_ruleset="localrules" Looks correct, but doesn't seem to be sufficient. But take into mind that /etc/devfs.rules is used for dynamically allocated devices, and /etc/devfs.conf for those present at boot time (usually cd, maybe also da and ada depending on your setup). Also see: http://forums.freebsd.org/showthread.php?t=5796 Compare to Handbook 19.5.2: http://www.freebsd.org/doc/en/books/handbook/usb-disks.html Maybe also helpful: http://www.cyberciti.biz/faq/freebsd-allow-ordinary-users-mount-cd-rom-dvds-usb-removabledevice/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Apr 14 15:19:52 2013 Return-Path: Delivered-To: freebsd-questions@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 BE6145C0 for ; Sun, 14 Apr 2013 15:19:52 +0000 (UTC) (envelope-from mrkvrg@acm.org) Received: from smtp2.bway.net (smtp2.bway.net [216.220.96.28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C209297 for ; Sun, 14 Apr 2013 15:19:52 +0000 (UTC) Received: from gecko3.bs.net (host-216-220-115-136.dsl.bway.net [216.220.115.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id A4DDB9587D for ; Sun, 14 Apr 2013 11:19:49 -0400 (EDT) From: mrkvrg To: freebsd-questions@freebsd.org Subject: Re: reporting clang version? Date: Sun, 14 Apr 2013 11:19:45 -0400 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RELEASE-p6; KDE/4.8.4; i386; ; ) References: <20841.42305.31120.285606@jerusalem.litteratus.org> <201304131640.20678.mrkvrg@acm.org> <20841.54603.371254.839280@jerusalem.litteratus.org> In-Reply-To: <20841.54603.371254.839280@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201304141119.45905.mrkvrg@acm.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mrkvrg@acm.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Apr 2013 15:19:52 -0000 On Sat, 13 Apr 2013 17:59:39 Robert Huff wrote: > mrkvrg writes: > > Is this what you are looking for? > > > > clang --version > > > > or > > > > clang -v > > It is. > However: "clang -help" says "-v" means > > show commands to run and use verbose output > > Bug? > > Thanks, > > > Robert Huff > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hello Robert, There seems to be a discrepancy. My clang is not the latest version but both "man clang" and "clang -help" show the same output as you report above. Moreover, both commands do not identify "--version" as a valid parameter. Perhaps I am missing something or need an update. Cheers ... Marek From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 03:34:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B4C796C7 for ; Mon, 15 Apr 2013 03:34:51 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9B531EFD for ; Mon, 15 Apr 2013 03:34:51 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1URaBu-0003zQ-RY for freebsd-questions@freebsd.org; Sun, 14 Apr 2013 20:34:50 -0700 Date: Sun, 14 Apr 2013 20:34:50 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1365996890840-5803879.post@n5.nabble.com> In-Reply-To: <20130414103154.3a49e6de.freebsd@edvax.de> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> Subject: sata/ata device permission for user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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, 15 Apr 2013 03:34:51 -0000 Hello, 1. Neglected to specify that vfs.usermount=1 is set in /etc/sysctl.conf. My user can mount USB drives. 2. Settings in /etc/devfs.rules is being passed to system correctly because ownership is correct: crw-rw---- 1 root operator 0x57 Apr 15 09:46 /dev/cd0 3. File permissions for /cdrom is root operator 2 Mar 3 2011 cdrom/ I had also tried mounting on a folder with 1777 permission before posting. Otherwise, * I had solved the qemu problem, it was a small oversight. >> It helps if the user is in the "wheel" group. Membership in operator should be sufficient... >> Looks correct, but doesn't seem to be sufficient. /etc/devfs.rules is >> used for dynamically allocated devices and /etc/devfs.conf for those >> present at boot time. As far as I understand, you can set rules for any device in devfs.rules, but not vice-versa. But I should also try with devfs.conf just to make sure... Regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5803879.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 05:46:23 2013 Return-Path: Delivered-To: freebsd-questions@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 D4B6A151 for ; Mon, 15 Apr 2013 05:46:23 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id BDC4635B for ; Mon, 15 Apr 2013 05:46:23 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1URcFC-0006Ro-NI for freebsd-questions@freebsd.org; Sun, 14 Apr 2013 22:46:22 -0700 Date: Sun, 14 Apr 2013 22:46:22 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366004782540-5803899.post@n5.nabble.com> Subject: dvd recorder & audio cd problems MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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, 15 Apr 2013 05:46:23 -0000 I have an audio CD I want to rip/copy but I have some problems: % cdcontrol -f /dev/cd0 info Starting track = 1, ending track = 17, TOC size = 146 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 4:02.31 0 18181 audio 2 4:04.31 5:08.45 18181 23145 audio etc... But when I do #-or-% cdcontrol -f /dev/cd0 > play => starts playing (confirmed with 'status audio') But there is no sound. 'status volume' shows 255 for both channels. cam.ko is built-in to my custom kernel. From what I have read, shouldn't the DVD show up as /dev/acd0? In which case each song on the cd should be visible as /dev/acd0t__? Not happening though, since the dvd is registered as plain cd0 in /dev. # camcontrol devlist => at scbus6 target 0 lun 0 (cd0,pass3) * A separate oddity is that /dev/cd0 does not show up in Brasero (shows no selectable recording device) Thanks and regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/dvd-recorder-audio-cd-problems-tp5803899.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 05:49:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8302D221 for ; Mon, 15 Apr 2013 05:49:57 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6A037385 for ; Mon, 15 Apr 2013 05:49:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1URcIf-0006sQ-2H for freebsd-questions@freebsd.org; Sun, 14 Apr 2013 22:49:57 -0700 Date: Sun, 14 Apr 2013 22:49:57 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366004997052-5803900.post@n5.nabble.com> In-Reply-To: <1365996890840-5803879.post@n5.nabble.com> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> Subject: sata/ata device permission for user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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, 15 Apr 2013 05:49:57 -0000 EDIT: I had already placed in /etc/devfs.conf this entry some time ago: # Allow members of group operator to mount cdrom own /dev/cd0 root:operator perm /dev/cd0 0660 Not allowing mount despite all of these adjustments (being tested with data cd and NOT audio cd), which is what I am unable to figure out. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5803900.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 08:00:10 2013 Return-Path: Delivered-To: freebsd-questions@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 F11B74D1 for ; Mon, 15 Apr 2013 08:00:10 +0000 (UTC) (envelope-from odeds@mellanox.com) Received: from eu1sys200aog124.obsmtp.com (eu1sys200aog124.obsmtp.com [207.126.144.157]) by mx1.freebsd.org (Postfix) with ESMTP id 145E1AD3 for ; Mon, 15 Apr 2013 08:00:09 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob124.postini.com ([207.126.147.11]) with SMTP ID DSNKUWuzgiUqUgFNKrtpwfGUuHjHb/Vgk+a8@postini.com; Mon, 15 Apr 2013 08:00:10 UTC Received: from MTLDAG02.mtl.com ([10.0.8.76]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.02.0328.009; Mon, 15 Apr 2013 11:00:01 +0300 From: Oded Shanoon To: "freebsd-questions@freebsd.org" Subject: How can I commit to FreeBSD current (10.0) Thread-Topic: How can I commit to FreeBSD current (10.0) Thread-Index: Ac45rp/+au4avtMnTPC+tXh8yYdnfA== Date: Mon, 15 Apr 2013 08:00:00 +0000 Message-ID: <058596FC127BDB469D7D60F04E37C63F7343C23C@MTLDAG02.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 15 Apr 2013 08:00:11 -0000 Hi, I am working in a company called Mellanox. We would like to commit a driver code into the FreeBSD kernel. I have a few obvious questions regarding this issue: What is the process? Do I need a committer? How can I get a committer to review and push my code? When is the final date to commit code to FreeBSD 10.0? I would appreciate any help or guidance... Regards, Oded Shanoon Ofed-FreeBSD team Mellanox Technologies, Raanana From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 09:28:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A705C2BA for ; Mon, 15 Apr 2013 09:28:39 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 40635EF9 for ; Mon, 15 Apr 2013 09:28:39 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id m1so1414896wea.27 for ; Mon, 15 Apr 2013 02:28:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=EtKOEtDh0qYKh0cDjdw0J0fxm0pT0RkiTHztDE/gtQY=; b=a64/YGXmKSKN17qTJ99syClvWJuWqo8dl6zZ2ItQpRbUhGzGXyA6uIA8I6tBjSDuY7 IZUBgMcvmyQpyoadp3YzTk/ckr468JGX59s0CfggXI/iQkcrpfNj15c/J6zRprfZ4bjm zKUroeZaWnU0UKRH+CBBJdxk21VwfNtpZ8lXJX643xuyT02/Gk72x72TA4RYtBD9FpoU 7jAhnImrEY69c84C3TmZxEpDF8HPm9MKqNkmbI2sGd0QAe1QdxSH00pyBLiAI1RYvLIl WezSk68ipzpcNYVBW92YV6h/drmisE1Y6lN01kpyC2+WhFqRyJbuEKP18O4Uy3Scsawo puwQ== MIME-Version: 1.0 X-Received: by 10.180.91.106 with SMTP id cd10mr10577254wib.6.1366018118454; Mon, 15 Apr 2013 02:28:38 -0700 (PDT) Received: by 10.194.76.147 with HTTP; Mon, 15 Apr 2013 02:28:38 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Apr 2013 11:28:38 +0200 Message-ID: Subject: Re: ZFS mounting failed with error 2 From: David Demelier To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD questions 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, 15 Apr 2013 09:28:39 -0000 I've successfully made booting one virtual machine, I tried again and it failed again. There's one thing I'm not sure about is that some people create a dataset root but that actually mounts at / (and not /root) and some just create others mount points directly on the zpool I've tested the second one so I did the following : zpool create -o altroot=/mnt tank /dev/gpt/disk0 zfs create tank/usr ... And then I've done all the other and I'm still unable to boot, this is the exact list (and order) I've used : gpart create -s GPT ada0 gpart add -t freebsd-boot -s 64k -l boot0 ada0 gpart add -t freebsd-swap -s 4G -l swap0 ada0 gpart add -t freebsd-zfs -l disk0 ada0 gpart bootcode -b /boot/pmbr ada0 gpart bootcode -p /boot/gptzfsboot -i 1 ada0 zpool create -o altroot=/mnt tank /dev/gpt/zfs0 zpool set bootfs=tank tank zfs set checksum=fletcher4 tank zfs create -o setuid=off tank/home zfs create -o setuid=off tank/tmp # /usr zfs create tank/usr zfs create tank/usr/local zfs create -o setuid=off -o compression=lzjb tank/usr/src zfs create -o setuid=off -o compression=lzjb tank/usr/ports # /var zfs create tank/var zfs create -o setuid=off -o compression=lzjb -o exec=off tank/var/crash zfs create -o setuid=off -o compression=lzjb -o exec=off tank/var/log zfs create -o setuid=off -o exec=off tank/var/run zfs create -o setuid=off tank/var/tmp chmod 1777 /mnt/tmp /mnt/var/tmp ### TYPE EXIT TO INSTALL THE SETS ### THEN CHOOSE LIVECD echo "/dev/label/swap0 none swap sw 0 0" >> /mnt/etc/fstab echo "zfs_enable=YES" >> /mnt/etc/rc.conf echo "zfs_load=YES" >> /mnt/boot/loader.conf echo "vfs.root.mountfrom=zfs:tank" >> /mnt/boot/loader.conf # zpool.cache (unable to boot without) zpool export tank zpool import -o cachefile=/tmp/zpool.cache -o altroot=/mnt tank cp /tmp/zpool.cache /mnt/boot/zfs zpool export tank # Finished shutdown -r now Regards, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 11:40:43 2013 Return-Path: Delivered-To: freebsd-questions@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 0CFF070F for ; Mon, 15 Apr 2013 11:40:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B0608A5F for ; Mon, 15 Apr 2013 11:40:42 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx01.qsc.de (Postfix) with ESMTP id 296003CB93; Mon, 15 Apr 2013 13:40:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3FBehfG002373; Mon, 15 Apr 2013 13:40:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 15 Apr 2013 13:40:43 +0200 From: Polytropon To: Beeblebrox Subject: Re: dvd recorder & audio cd problems Message-Id: <20130415134043.d7f0eb1f.freebsd@edvax.de> In-Reply-To: <1366004782540-5803899.post@n5.nabble.com> References: <1366004782540-5803899.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 11:40:43 -0000 On Sun, 14 Apr 2013 22:46:22 -0700 (PDT), Beeblebrox wrote: > I have an audio CD I want to rip/copy but I have some problems: > > % cdcontrol -f /dev/cd0 info > Starting track = 1, ending track = 17, TOC size = 146 bytes > track start duration block length type > ------------------------------------------------- > 1 0:02.00 4:02.31 0 18181 audio > 2 4:04.31 5:08.45 18181 23145 audio etc... > > But when I do #-or-% cdcontrol -f /dev/cd0 > > play => starts playing (confirmed with 'status audio') > But there is no sound. 'status volume' shows 255 for both channels. This is a known problem of the transition from acd to cd driver subsystem. I'm not sure in how far cdcontrol has made the transition from ATAPI to SCSI/CAM successfully... In order to copy an audio CD, try "CD Paranoia" (in ports: audio/cdparanoia). If you want to really just copy a CD, try something like this: % cdrdao read-cd --device 0,0,0 --driver generic-mmc-raw --eject --read-raw --datafile music.bin music.toc % cdrdao write --device 0,0,0 --driver generic-mmc-raw --speed 8 --eject music.toc Note that this might be problematic on damaged CDs; in this case, cdparanoia works better. Check "camcontrol devlist" for the correct LUN of your device. Regarding audio playback via cdcontrol: If I remember correctly, this requires a seperate internal wiring (CD audio wire) from the drive to the sound card. If your drive has a front connector for headphones, check if it's actually playing. Considering this wiring deprecated, audio data should be transmitted with the PATA or SATA cable somehow... > cam.ko is built-in to my custom kernel. From what I have read, shouldn't the > DVD show up as /dev/acd0? In which case each song on the cd should be > visible as /dev/acd0t__? Not happening though, since the dvd is registered > as plain cd0 in /dev. No. Those infrastructures have to be considered deprecated. The track device files (acdXtYY) correspond to the ATAPI device driver which also controls the acdX devices. For example, on FreeBSD 8 you would have something like this in your kernel configuration: # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering device atapicam This enables you both the acd (device atapicd) and the cd (device atapicam) driver subsystems. Both the traditional ATAPI _and_ the "SCSI over ATA" can be used this way. > # camcontrol devlist => > at scbus6 target 0 lun 0 (cd0,pass3) Correct. This is the cd driver reporting. If you wanted to check if you're able to access ATAPI devices, try the "atacontrol" command. Examples (trimmed): # atacontrol list ATA channel 1: Master: acd0 ATA/ATAPI revision 7 Slave: acd1 ATA/ATAPI revision 6 # camcontrol devlist at scbus0 target 0 lun 0 (pass0,cd0) at scbus0 target 1 lun 0 (pass1,cd1) You can see two drives in this example: HL-DT-ST DVDRAM GSA-H42N RL00 = 0,0,0 = cd0 = acd0 HL-DT-ST DVD-ROM GDR8163B 0L30 = 0,1,0 = cd1 = acd1 -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 12:38:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 006067E3 for ; Mon, 15 Apr 2013 12:38:08 +0000 (UTC) (envelope-from paranormal@isgroup.com.ua) Received: from isgroup.com.ua (mail.isgroup.com.ua [46.229.54.104]) by mx1.freebsd.org (Postfix) with ESMTP id 678DADE3 for ; Mon, 15 Apr 2013 12:38:07 +0000 (UTC) Received: from [192.168.11.5] (unused-213.111.71.103.bilink.ua [213.111.71.103] (may be forged)) (authenticated bits=0) by isgroup.com.ua (8.14.5/8.14.5) with ESMTP id r3FCc0TA025415 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 15 Apr 2013 15:38:00 +0300 (EEST) (envelope-from paranormal@isgroup.com.ua) Subject: Re: How can I commit to FreeBSD current (10.0) From: paranormal To: freebsd-questions@freebsd.org In-Reply-To: <058596FC127BDB469D7D60F04E37C63F7343C23C@MTLDAG02.mtl.com> References: <058596FC127BDB469D7D60F04E37C63F7343C23C@MTLDAG02.mtl.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-8EGLLLkUSvWkAAYfFsCU" Date: Mon, 15 Apr 2013 15:37:55 +0300 Message-ID: <1366029475.30218.0.camel@eva02> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-102.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on isgroup.com.ua 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, 15 Apr 2013 12:38:09 -0000 --=-8EGLLLkUSvWkAAYfFsCU Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://wiki.freebsd.org/BecomingACommitter On Mon, 2013-04-15 at 08:00 +0000, Oded Shanoon wrote: > Hi, >=20 > I am working in a company called Mellanox. > We would like to commit a driver code into the FreeBSD kernel. > I have a few obvious questions regarding this issue: > What is the process? > Do I need a committer? > How can I get a committer to review and push my code? > When is the final date to commit code to FreeBSD 10.0? >=20 > I would appreciate any help or guidance... >=20 > Regards, >=20 > Oded Shanoon > Ofed-FreeBSD team > Mellanox Technologies, Raanana >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=-8EGLLLkUSvWkAAYfFsCU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAABCgAGBQJRa/SjAAoJEJv+PjkKQxN06swQAL5nnvwE5EzUCmLybP5P+odq 42cWRNbiZYtVDe9UdQorRgQRu9D2jNcOfQP9AZljt8Udz+tvPSDmAgOtlIY0+pRe QrYxi5OmC3nsXEv2lIhQyn4mQ7iokhGo8VYKpBVVmtrlDG70jS814R7/2c4m1nm1 m38lPBpVGenDtFXKd6vWQ8tcnUJf7cBRycWkAWDioTDKA+mSMhRCrPHJimm71BCD 9EhLGOhQlIAgh1QVOe855efVSCRDeGeMP724NA0eDukQZyAASPT2Oww1lCh8noPC cYHAXmBiIn8YaUHFGkjQecajbe/JgKBcC31PQJ7ZEq58t4Gz5WhtT9wJm3F4ZHbQ pWshwNOVek5mwX0XiocbmXqBInIn/W8DB+RyMs4DQSf9scEWy5MJ+PM43XkhGoEG 89XBXkH6z3wbWr6k6ji7dSFEgQ4D7lkY0jYbgv26RrnzyXgmhgCf9jsinjomnd0e +u5G1D5FJfTX4zry0SXZZGz80XuN+cA0cbE0RmUlCBpR5leULb2FHR79TlquFNwG 0o8SouJHZ861UvnF1nyLbX6Xa4pb3tR+6/NIAAj4veJk07546FLzaaGZLaknCWBa zc68pI1R3N9IZgaUByokIyRBU8INoxqwzxjr9F06skPhNTaT2fCs3QKHjUCiMEdV joeTP6N9V1PDxQisqMeY =aZnR -----END PGP SIGNATURE----- --=-8EGLLLkUSvWkAAYfFsCU-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 13:45:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DC0C25E9 for ; Mon, 15 Apr 2013 13:45:30 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ia0-x231.google.com (mail-ia0-x231.google.com [IPv6:2607:f8b0:4001:c02::231]) by mx1.freebsd.org (Postfix) with ESMTP id B42AD138 for ; Mon, 15 Apr 2013 13:45:30 +0000 (UTC) Received: by mail-ia0-f177.google.com with SMTP id w33so4389263iag.36 for ; Mon, 15 Apr 2013 06:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=8XhYgmLdwGkwg5dmZQ5ccEuzQINvzndMmAKYW55Vdq8=; b=ZOfqHGOyqJC2yWN/qWa8Y9btJuUXtAfZ1kGXovfJ+dDIbbB5oPwTqLw8vkNcEaT/jp eso8+K6OtPFBsYHsJG/QI50Lfpk4pYiRxMexi4moDUtYDOr1myCdAWRHE7p/Z9dPYwSC UGjRSP80qgGFrF4KQQmWt8Rn2AtbX7iA7mB8s97PWNC1IMqNP/PM3rna8UdSbAIho+6O pygNdjVVLSG70w4hnUaq93qBUKVQ4UMHk0DYc7gwlz9UguhcrJYTzfulGPIIG+L5oxYp 4EckcZXbOC7E0hRyGuJuJwGH8T2yMND/XvJ9W6xfuRsO1zN+fJN4G9EZ1yFOH1LYINYL yCHw== MIME-Version: 1.0 X-Received: by 10.50.119.104 with SMTP id kt8mr5212990igb.0.1366033530177; Mon, 15 Apr 2013 06:45:30 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.34.38 with HTTP; Mon, 15 Apr 2013 06:45:30 -0700 (PDT) Date: Mon, 15 Apr 2013 09:45:30 -0400 X-Google-Sender-Auth: al2hrguX-By2U5Pq3U2FuuUttOA Message-ID: Subject: Installing FreeBSD via Cobbler From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 15 Apr 2013 13:45:30 -0000 Hi All, For anyone interested, I posted a blog article explaining how to install FreeBSD via Cobbler posted at http://blog.hostileadmin.com/2013/04/11/installing-freebsd-via-cobbler/. I'd like to thank Devin Teske for his help with this project. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 14:25:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D73FCC3C for ; Mon, 15 Apr 2013 14:25:08 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay009.isp.belgacom.be (mailrelay009.isp.belgacom.be [195.238.6.176]) by mx1.freebsd.org (Postfix) with ESMTP id 75F042DA for ; Mon, 15 Apr 2013 14:25:08 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As0GAPAKbFFR8ZLu/2dsb2JhbABQgwaDH74bgQYXdIIfAQEFVhwGARALGAkWDwkDAgECASceBg0BBQIBAYgUu1KPFweDQQOPVIEplxmDDTo Received: from 238.146-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.146.238]) by relay.skynet.be with ESMTP; 15 Apr 2013 16:25:00 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.6/8.14.6) with ESMTP id r3FEOxSH065762; Mon, 15 Apr 2013 16:24:59 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <516C0DB5.4010104@coosemans.org> Date: Mon, 15 Apr 2013 16:24:53 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130408 Thunderbird/17.0.5 MIME-Version: 1.0 To: Oded Shanoon Subject: Re: How can I commit to FreeBSD current (10.0) References: <058596FC127BDB469D7D60F04E37C63F7343C23C@MTLDAG02.mtl.com> In-Reply-To: <058596FC127BDB469D7D60F04E37C63F7343C23C@MTLDAG02.mtl.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2FNUJOUQWXAHTLLKXESKK" 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, 15 Apr 2013 14:25:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2FNUJOUQWXAHTLLKXESKK Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-04-15 10:00, Oded Shanoon wrote: > Hi, >=20 > I am working in a company called Mellanox. > We would like to commit a driver code into the FreeBSD kernel. > I have a few obvious questions regarding this issue: > What is the process? > Do I need a committer? > How can I get a committer to review and push my code? > When is the final date to commit code to FreeBSD 10.0? >=20 > I would appreciate any help or guidance... >=20 > Regards, >=20 > Oded Shanoon > Ofed-FreeBSD team > Mellanox Technologies, Raanana Get in touch with vendor-relations@FreeBSD.org ------enig2FNUJOUQWXAHTLLKXESKK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iF4EAREIAAYFAlFsDbsACgkQfoCS2CCgtiuuYQD/W0xI6YKEupHvfc9z1a6P6VsB r9EtSRJOXVKJUHwwT4MA/35cPfvMylIcW/0P94aK5x+cK+boBOU6s/qf7YofMNJm =rRTE -----END PGP SIGNATURE----- ------enig2FNUJOUQWXAHTLLKXESKK-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 18:03:04 2013 Return-Path: Delivered-To: freebsd-questions@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 24C9572 for ; Mon, 15 Apr 2013 18:03:04 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id EE6FA1182 for ; Mon, 15 Apr 2013 18:03:03 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so6202495ieb.1 for ; Mon, 15 Apr 2013 11:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=hcRBcDaWOaoWoGqpJ0Bu6F0162ZuKp+c3aIcrW29WgY=; b=qeUm5RjhieYyAKtruv4VkjQhR4je1tl/TwXl/UXPeI9xoZlHnUnfgL2JSyjL2yLMnY TXg1W5PeFH7taEiQpZdYlpfGfiEOgsveYcWcWOMAuMpnMc0bjOdW5foAyC/2xsyCnLR4 AxAshYwzv+PdISzmOJOfZ20Op7GQ3UTlAuZcwhoPthfIUGVRUiXratA/zeltTGU3L1mQ hvGj8kF2Rz04jOoA5sUrGJGmKzr+L++CfbYjcCWXkH3icqCcI8txQ/ThFvJ927R6mQEI lnt78sou9so0lnBJwcPGFQxRwXZe0w8sJsh29dHM5dxzE4OeXrzyKGsKVptnw8KHtBdI KrJQ== MIME-Version: 1.0 X-Received: by 10.50.2.101 with SMTP id 5mr5942044igt.29.1366048983596; Mon, 15 Apr 2013 11:03:03 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.42.83.83 with HTTP; Mon, 15 Apr 2013 11:03:03 -0700 (PDT) Date: Mon, 15 Apr 2013 14:03:03 -0400 X-Google-Sender-Auth: 9A2mb8PWBhmcMglOvRz1aBs1QB0 Message-ID: Subject: 9-STABLE doesn't boot: can't load 'kernel' From: J David To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 15 Apr 2013 18:03:04 -0000 After installing 9.1-RELEASE amd64 on a system, it boots up fine. If I then build and install a new 9-STABLE kernel & world, reboots die in the loader with: can't load 'kernel' This is a pretty straightforward system, one drive, not large (128GB SSD). GPT partitioned, gptboot boot code. One UFS root partition to boot from, a swap partition and, the rest for ZFS. (At first I tried to do this system with root-on-ZFS but that also failed, adding "unable to load zpool by guid" or similar before the "can't load 'kernel'" message.) Once this happens, the disk is unbootable. I can start from the install CD and access the disk just fine, but even if I move kernel.old back to kernel, it doesn't boot anymore. Likewise, it doesn't matter if I overwrite the boot code with gptboot & pmbr from the install CD or the new ones from /boot after installworld. The disk looks like: # gpart show =3D> 34 234441581 ada0 GPT (111G) 34 222 1 freebsd-boot (111k) 256 1792 - free - (896k) 2048 8388608 2 freebsd-ufs (4.0G) 8390656 8388608 3 freebsd-swap (4.0G) 16779264 217662351 4 freebsd-zfs (103G) In the loader: BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS 621kB/2067924kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (root@builder, Mon Apr 15 09:14:38 UTC 2013) can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK show [=85] currdev=3Ddisk0p2: [=85] loaddev=3Ddisk0p2: [=85] OK lsdev cd devices: disk devices: disk0: BIOS drive C: pxe devices: OK ls open '/' failed: no such file or directory OK help Verbose help not available, use '?' to list commands So it's getting the boot device right (disk0p2 / ada0p2), but can't see it at all. Does anyone know what might be wrong? Thanks for any advice! From owner-freebsd-questions@FreeBSD.ORG Mon Apr 15 20:32:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 083E2405 for ; Mon, 15 Apr 2013 20:32:18 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x22f.google.com (mail-ia0-x22f.google.com [IPv6:2607:f8b0:4001:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id D16311871 for ; Mon, 15 Apr 2013 20:32:17 +0000 (UTC) Received: by mail-ia0-f175.google.com with SMTP id e16so4635389iaa.20 for ; Mon, 15 Apr 2013 13:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=G0AsGVFLezU9MaOs+aHpDSV6xSfPcRAjct7Gemd4Pp0=; b=huJAqBLqrMQ07apoB9jRYq5YKFb8qBWu1IPfYlzTMrCob2eepHDa+5RuxZnaPX6Eqs fMvEDtSq0BYJqaDGl2cMSkwlXZV8/gdMON48xA6s6s3FJf6i9zG0v/mfHO8NzT8btr7s 7djXUWW1+V61e0C1OvUhDgPQGMiKzqaxRTVDj18nACbR+DS53/n70BRqUgUlTN+uIauN yg2kqHZlLa2PJsSbhLKCm3w9m53hvIeEHy86gWcRPPPYRFe9pjS8WMdgfhT4asn+twCI IngEqt4fXDbLPFqM0jdXU9evmPR6iymU3ZKLPl180QEicZ0bN3JAy+gZFJIR76yAJGXb GKFQ== X-Received: by 10.50.219.168 with SMTP id pp8mr6046896igc.57.1366057937350; Mon, 15 Apr 2013 13:32:17 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id in10sm12580204igc.1.2013.04.15.13.32.16 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 13:32:16 -0700 (PDT) Message-ID: <516C63CC.4030609@gmail.com> Date: Mon, 15 Apr 2013 15:32:12 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 9-STABLE doesn't boot: can't load 'kernel' References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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, 15 Apr 2013 20:32:18 -0000 I can't recall, does the cd come with the btx loader? Is it able to see the hard drive partitions and boot that way? Did you put anything in loader.conf? I'm guessing that if you're getting to /boot/loader but not any further, it's something wrong with the conf file. If you're booting UFS, you might be safe just deleting/renaming the file. And just for sanity's sake, you didn't try anything special with geom did you, such as 4k blocks, geli, etc? On 4/15/2013 1:03 PM, J David wrote: > After installing 9.1-RELEASE amd64 on a system, it boots up fine. If I > then build and install a new 9-STABLE kernel & world, reboots die in the > loader with: > > can't load 'kernel' > > This is a pretty straightforward system, one drive, not large (128GB SSD). > GPT partitioned, gptboot boot code. One UFS root partition to boot from, > a swap partition and, the rest for ZFS. > > (At first I tried to do this system with root-on-ZFS but that also failed, > adding "unable to load zpool by guid" or similar before the "can't load > 'kernel'" message.) > > Once this happens, the disk is unbootable. I can start from the install CD > and access the disk just fine, but even if I move kernel.old back to > kernel, it doesn't boot anymore. Likewise, it doesn't matter if I > overwrite the boot code with gptboot & pmbr from the install CD or the new > ones from /boot after installworld. > > The disk looks like: > > # gpart show > => 34 234441581 ada0 GPT (111G) > 34 222 1 freebsd-boot (111k) > 256 1792 - free - (896k) > 2048 8388608 2 freebsd-ufs (4.0G) > 8390656 8388608 3 freebsd-swap (4.0G) > 16779264 217662351 4 freebsd-zfs (103G) > > In the loader: > BTX loader 1.00 BTX version is 1.02 > Consoles: internal video/keyboard > BIOS drive C: is disk0 > BIOS 621kB/2067924kB available memory > > FreeBSD/x86 bootstrap loader, Revision 1.1 > (root@builder, Mon Apr 15 09:14:38 UTC 2013) > > can't load 'kernel' > > Type '?' for a list of commands, 'help' for more detailed help. > OK show > […] > currdev=disk0p2: > […] > loaddev=disk0p2: > […] > OK lsdev > cd devices: > disk devices: > disk0: BIOS drive C: > pxe devices: > OK ls > open '/' failed: no such file or directory > OK help > Verbose help not available, use '?' to list commands > > So it's getting the boot device right (disk0p2 / ada0p2), but can't see it > at all. > > Does anyone know what might be wrong? > > Thanks for any advice! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 04:49:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 76C3836B for ; Tue, 16 Apr 2013 04:49:36 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 5BBC0CCE for ; Tue, 16 Apr 2013 04:49:35 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1URxph-0000SG-2m for freebsd-questions@freebsd.org; Mon, 15 Apr 2013 21:49:29 -0700 Date: Mon, 15 Apr 2013 21:49:29 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366087768996-5804167.post@n5.nabble.com> In-Reply-To: References: Subject: ZFS mounting failed with error 2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Tue, 16 Apr 2013 04:49:36 -0000 >> one thing I'm not sure about is that some people create a dataset root but that actually mounts at / (and not /root) and some just create others mount points directly on the zpool You can do this either way. A ZFS dataset is created at the same time and with the same name as the zpool. You can use the zpool-named-dataset as root without any problem. As I recall, the separate root dataset was a work-around for some old problem, so it is not necessary any longer. That said, you can place and name the zfs root dataset anywhere you want, as long as you have the 'vfs.root.mountfrom=' path set correctly. In your example, it is set correctly. Now as to why you cannot boot - from my experience, the problem is your last command: '# zpool export tank' will leave the pool in an exported state, and when the system tries to boot, it will not be able to locate the zpool because the pool is in exportland. The solution is different. After you are finished with all your settings you should # zfs umount -a (unmount all tank & child datasets in /mnt) # zfs set mountpoint=/ tank # reboot At step 2, dataset tank should not try to re-mount its self and remain un-mounted. The older versions of ZFS did not behave this way and would immediately mount the zpool on root. If this happens, you have to hard-reset and such because the system will freeze up. If all goes well, before reboot you can also check (zfs get all tank) and make sure that canmount=on is set for tank. The best zfs guide is FreeBSD's own docs: https://wiki.freebsd.org/RootOnZFS ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-mounting-failed-with-error-2-tp5802786p5804167.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 06:36:10 2013 Return-Path: Delivered-To: freebsd-questions@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 426F36D0 for ; Tue, 16 Apr 2013 06:36:10 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-bk0-x231.google.com (mail-bk0-x231.google.com [IPv6:2a00:1450:4008:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id CCDCDF71 for ; Tue, 16 Apr 2013 06:36:09 +0000 (UTC) Received: by mail-bk0-f49.google.com with SMTP id w12so68925bku.22 for ; Mon, 15 Apr 2013 23:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8K5LJpwq7Farx3Sz1oePvxXe7ABtNiEZBGqmR0812lY=; b=Bn7YU6oH64igDvBba4P9CKOnQ75l+64egQq6wxVxC0sSe66EGq/cvyF8BNNWg0IM8V erVGLUgJtgDhHzbztjsiDibCqaywcYtL5zp95NstN/1hm7wFDHPU7PlPG0Y6akw5mSo4 EjskQ9vcEcmKXJd3x6FWBJPTUVrJw5ZDlPWQsm5sjJVAzAvX/OWq1n3MPMfgGDvff3x1 sVfoHqIoCequLJd/vBfnkHtV/8UjdO9iFHQq+EtGbWj1sWCgNgPtyRoiqut86mkL5XVI N9EKhARzdL10/YZZLXgSqZ5qy/o2V4+G4f3Ez+Yl6a4epaUJcRNDjsiNmXS8uHtCZNXg 8ciA== MIME-Version: 1.0 X-Received: by 10.205.34.132 with SMTP id ss4mr221726bkb.88.1366094168779; Mon, 15 Apr 2013 23:36:08 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.204.53.71 with HTTP; Mon, 15 Apr 2013 23:36:08 -0700 (PDT) In-Reply-To: <516C63CC.4030609@gmail.com> References: <516C63CC.4030609@gmail.com> Date: Tue, 16 Apr 2013 02:36:08 -0400 X-Google-Sender-Auth: 8CDNnPY2vEBKrkku4-DNrYz-mw8 Message-ID: Subject: Re: 9-STABLE doesn't boot: can't load 'kernel' From: J David To: Joshua Isom 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: Tue, 16 Apr 2013 06:36:10 -0000 loader.conf was empty and there's no 4k gnops, geli, anything like that. This is a 100% normal install. Although, since you mentioned 4k blocks, I did leave a gap between ada0p1 and ada0p2 to start the root partition on a 4k boundary. (It's an SSD that will almost never be written to once installed, so that might be a bit silly, but it's a habit already.) I decided to try this again without the gap, and that seems to have worked. I made it through install and partitioning and OS updating to 9-STABLE and installing new boot blocks and it seems to have worked. I even got it to work with a ZFS root. Here's the partition table I ended up with: => 34 234441581 ada0 GPT (111G) 34 990 1 freebsd-boot (495k) 1024 226051072 2 freebsd-zfs (107G) 226052096 8389519 3 freebsd-swap (4.0G) I'm not sure why this would make a difference, but either it does or doing it cleared out whatever else was wrong. This box will be stress tested and rebooted quite a bit in the next few days, so I will report back if it comes unglued. :) Thanks for the suggestion! From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 07:05:23 2013 Return-Path: Delivered-To: freebsd-questions@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 081A5FF0 for ; Tue, 16 Apr 2013 07:05:23 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 899CFF3 for ; Tue, 16 Apr 2013 07:05:22 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id fo12so167267lab.24 for ; Tue, 16 Apr 2013 00:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=CApyHFpTv0vcUMq+XsM8nf9wM/KO0PBqVYgM61TdHJY=; b=YWlMyIjcbcchTFBTefEfFBqrtvxld1t1HuhlCchWBF8Ztzoa4ebUZWRLIywIs4IBt7 748AHwaLVqB+1xh8yVTGA//PauGTZGka0U0TNF+NH5MS7rxDXCniF0YGN/TN7/HfDnfu +d/bfYzVwlDM01bIF62Od6Fj5A9CtKedCTGMAxBKN3zZ68sz1CmtdayE3zxIpvvCy4yf GlR2TmgJ+IIAEpkeQ38RV3LI3nrcyx8nxmNIIgKir4qhvnY+VukiJqRm84BXHsaf5jfl gtbf7JTTVZZVKD9gAg2FdamxNb00ZoTyH59eGwVYO014zYzZ0vZk6EaI3583nueHJPPn Ociw== MIME-Version: 1.0 X-Received: by 10.152.87.73 with SMTP id v9mr569128laz.2.1366095921333; Tue, 16 Apr 2013 00:05:21 -0700 (PDT) Received: by 10.112.143.201 with HTTP; Tue, 16 Apr 2013 00:05:21 -0700 (PDT) In-Reply-To: <515D3715.9080206@clari.net.au> References: <515D3715.9080206@clari.net.au> Date: Tue, 16 Apr 2013 11:35:21 +0430 Message-ID: Subject: Re: Fwd: how access inside from outside when nat is done from inside to outside From: s m To: "Daniel O'Callaghan" Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 16 Apr 2013 07:05:23 -0000 thanks Danny, but i'm using pf to define rules and pfctl to apply them. first of all it is so important for me to understand what should exactly happen and what is the correct behavior in freebsd. i mean when i define nat from inside to outside, should outside system can access inside systems or not? (for example ping them). i am so confused what is the correct manner. any hints or comments that help to clear it for me, is really appreciated. SAM On 4/4/13, Daniel O'Callaghan wrote: > On 4/04/2013 6:41 PM, s m wrote: >> request packets: src:192.168.2.1----> dst: 192.168.1.1 >> reply packets: src: 192.168.2.50----> dst:192.168.2.1 > This sort of thing tends to happen when the the packets are not being > sent via divert socket properly. > Look carefully, step by step, at your ipfw rules which send packets to > natd. > Also, run natd -v in a separate window instead of running it as a > daemon, and it will show you the packets which go through natd, and what > is done with them. > > regards, > > Danny > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 07:14:05 2013 Return-Path: Delivered-To: freebsd-questions@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 7F0FA4A0 for ; Tue, 16 Apr 2013 07:14:05 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 1B547156 for ; Tue, 16 Apr 2013 07:14:04 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id x43so120181wey.28 for ; Tue, 16 Apr 2013 00:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=t81aB+rPks49e7xNSjNlC3iYCaudjcRGgiRHoXYdMBU=; b=JtPfh4uzqHUdVlgNK/N9lutiuhrtLzoWAPdvJFNccNx0DSN1cK3VCiKOtxLtZ5i3rz EJzwYB5Z+9KXZrpQWBi1kqP9STa9ChOdPMcmaylF7AXYKnXUgtWRL+4bp0dNYjbMR/79 p5C3tlyp7ZzwtAXcaEOadG9wTJhSvFEmiOCuZOZJ7Vpi98dUKsNbu3aJc9ygodPXxDUz WH4e+8uEohC7mcDVPD2FeovWBFLIPgZ/ztyvB13DKWxuz/uhg6OdKOKGy9K8UEnXq6Qd 0qLGMWK2p7hDrjM+60/Y4Xx4uHg3/qhLTA2CfMiyXiCzMOWKaME2FYCa0DM5iutKCN+a fWkQ== MIME-Version: 1.0 X-Received: by 10.180.90.41 with SMTP id bt9mr1419769wib.19.1366096444332; Tue, 16 Apr 2013 00:14:04 -0700 (PDT) Received: by 10.194.76.147 with HTTP; Tue, 16 Apr 2013 00:14:04 -0700 (PDT) In-Reply-To: <1366087768996-5804167.post@n5.nabble.com> References: <1366087768996-5804167.post@n5.nabble.com> Date: Tue, 16 Apr 2013 09:14:04 +0200 Message-ID: Subject: Re: ZFS mounting failed with error 2 From: David Demelier To: Beeblebrox Content-Type: text/plain; charset=UTF-8 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: Tue, 16 Apr 2013 07:14:05 -0000 2013/4/16 Beeblebrox : >>> one thing I'm not sure about is that some people create a dataset root but > that actually mounts at / (and not /root) and some just create others mount > points directly on the zpool > > You can do this either way. A ZFS dataset is created at the same time and > with the same name as the zpool. You can use the zpool-named-dataset as root > without any problem. As I recall, the separate root dataset was a > work-around for some old problem, so it is not necessary any longer. That > said, you can place and name the zfs root dataset anywhere you want, as long > as you have the 'vfs.root.mountfrom=' path set correctly. In your example, > it is set correctly. > > Now as to why you cannot boot - from my experience, the problem is your last > command: > '# zpool export tank' will leave the pool in an exported state, and when the > system tries to boot, it will not be able to locate the zpool because the > pool is in exportland. The solution is different. After you are finished > with all your settings you should > # zfs umount -a (unmount all tank & child datasets in /mnt) > # zfs set mountpoint=/ tank > # reboot Thank you so much, you made my day :-) For me I thought that export was a kind of unmounting so I should have never found if you didn't helped me on that case :p. > > At step 2, dataset tank should not try to re-mount its self and remain > un-mounted. The older versions of ZFS did not behave this way and would > immediately mount the zpool on root. If this happens, you have to hard-reset > and such because the system will freeze up. If all goes well, before reboot > you can also check (zfs get all tank) and make sure that canmount=on is set > for tank. > > The best zfs guide is FreeBSD's own docs: https://wiki.freebsd.org/RootOnZFS > -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 07:45:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 938019AB for ; Tue, 16 Apr 2013 07:45:25 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-x22f.google.com (mail-vb0-x22f.google.com [IPv6:2607:f8b0:400c:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 5740D320 for ; Tue, 16 Apr 2013 07:45:25 +0000 (UTC) Received: by mail-vb0-f47.google.com with SMTP id x13so145077vbb.6 for ; Tue, 16 Apr 2013 00:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=LdMDWb6W7dpgui5CsRC2GCcGkHHGdzLhr8w/jmbDp5Q=; b=l31vc+kBY7abscABafZj5uglTImi4g0Kx2cgKguoSpneXJmwZhoKN98v2Tlhrgo5k7 DMrj7mVnL0aUDJAqidFJPBWRr94RmAUEBDnMCejDqRXuUk51a0xlr91k9WoQ0D9lJFjw 8pPulUVis68Hf2gtQS6WipO4V5BA9OzF9gUA+KKeUmZm5zT1NfrkOdx7cry46mmrykFi iWMdML+zXo0Lu9pPwqUhG5dpHm4wHZw7DR2uO9Pbvq/UIpyGtL6th37rLez0Ql2mDmmK g24/AWw6ZoEoOrSIWs8+A1BpAASUCSN1Ke/6WJvXTRrc/2cBqPMdP6/LPbY7mbBYkJwM 4VLg== MIME-Version: 1.0 X-Received: by 10.58.40.9 with SMTP id t9mr753661vek.10.1366098324497; Tue, 16 Apr 2013 00:45:24 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 00:45:24 -0700 (PDT) Date: Tue, 16 Apr 2013 00:45:24 -0700 Message-ID: Subject: FreeBSD fstab Entry for Windows Share From: Mehmet Erol Sanliturk To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 16 Apr 2013 07:45:25 -0000 Dear All , When a Windows XP share is mounted with the following command in FreeBSD 9.1 amd64 , it is working : # mount_smbfs -I 192.168.10.25 //user_name_in_Windows_Administrators@NetBIOS_NAME_in_Windows/Share_Name_in_Windows /mnt I could not be able to write an /etc/fstab entry to mount that share during boot . When examples in many documents from Internet are imitated , no one of them is working , or man pages are not much helpful. If an applicable , working statement is offered , it will be appreciated very much . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 08:09:06 2013 Return-Path: Delivered-To: freebsd-questions@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 01F51E8 for ; Tue, 16 Apr 2013 08:09:06 +0000 (UTC) (envelope-from dave@marlinbrighton.com) Received: from stonebase.vm.bytemark.co.uk (unknown [IPv6:2001:41c8:1:603f::6]) by mx1.freebsd.org (Postfix) with ESMTP id C12DE75E for ; Tue, 16 Apr 2013 08:09:05 +0000 (UTC) Received: from cpc28-brig15-2-0-cust400.3-3.cable.virginmedia.com ([81.111.13.145] helo=[192.168.2.11]) by stonebase.vm.bytemark.co.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1US0wq-0004bM-4A for freebsd-questions@freebsd.org; Tue, 16 Apr 2013 09:09:04 +0100 Message-ID: <516D071B.4030708@marlinbrighton.com> Date: Tue, 16 Apr 2013 09:08:59 +0100 From: Dave Anderson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD fstab Entry for Windows Share References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 16 Apr 2013 08:09:06 -0000 When you say could not do an fstab entry, can you say what happens? Do you get any messages in logs? regards Dave -- http://www.marlinbrighton.com On 16/04/2013 08:45, Mehmet Erol Sanliturk wrote: > Dear All , > > > When a Windows XP share is mounted with the following command in FreeBSD > 9.1 amd64 , it is working : > > > > # mount_smbfs -I 192.168.10.25 > //user_name_in_Windows_Administrators@NetBIOS_NAME_in_Windows/Share_Name_in_Windows > /mnt > > > > I could not be able to write an /etc/fstab entry to mount that share during > boot . > > When examples in many documents from Internet are imitated , no one of them > is working , or > man pages are not much helpful. > > > If an applicable , working statement is offered , it will be appreciated > very much . > > > Thank you very much . > > > Mehmet Erol Sanliturk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Dave Anderson Marlin Brighton Independent IT Consultancy Mob: 07710 537 909 email: dave@marlinbrighton.com web: www.marlinbrighton.com From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 08:13:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0E89E1AD for ; Tue, 16 Apr 2013 08:13:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id CC3FA786 for ; Tue, 16 Apr 2013 08:13:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx01.qsc.de (Postfix) with ESMTP id E50693CF51; Tue, 16 Apr 2013 10:13:18 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3G8DRtX001954; Tue, 16 Apr 2013 10:13:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Apr 2013 10:13:27 +0200 From: Polytropon To: Mehmet Erol Sanliturk Subject: Re: FreeBSD fstab Entry for Windows Share Message-Id: <20130416101327.392a9d8f.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 08:13:21 -0000 On Tue, 16 Apr 2013 00:45:24 -0700, Mehmet Erol Sanliturk wrote: > I could not be able to write an /etc/fstab entry to mount that share during > boot . > > When examples in many documents from Internet are imitated , no one of them > is working , or > man pages are not much helpful. Try to adapt the following configuration example I just copied from a system image which has been working many years ago: Edit the file /etc/nsmb.conf to contain access credentials if those are needed: [default] workgroup=THEGROUPNAMEHERE [WINPC] addr=192.168.123.456 [WINPC:Administrator] password=MYTOPSECRETPASSWORD In this example, "WINPC" is then name of the PC you want to mount the SMB shares from. Also "Administrator" will be the user account by which they are mounted. Please note that this might be a stupid practice. :-) Then add those entries to /etc/fstab: //Administrator@WINPC/a$ /smb/a smbfs rw,noauto 0 0 //Administrator@WINPC/c$ /smb/c smbfs rw,noauto 0 0 //Administrator@WINPC/d$ /smb/d smbfs rw,noauto 0 0 //Administrator@WINPC/e$ /smb/e smbfs rw,noauto 0 0 //Administrator@WINPC/f$ /smb/f smbfs rw,noauto 0 0 Of course you can be more specific by naming the shares by name. In this case here, the "drive letters" have been used to access the entire drives / logical partitions / whatever. If the shares should be mounted on boot time, remove ",noauto". If not, use "mount /smb/c" for example when needed. Of course make sure that the mount targets, /smb/[acdef] in this case, do exist. Finally, make sure that if you're using "WINPC" in /etc/fstab, put an IP for in in /etc/hosts, or it won't resolve: 192.168.123.456 WINPC This is also helpful as soon as you have to run network diagnostics as you can now use "WINPC" for the "Windows" PC in any commands. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 09:06:48 2013 Return-Path: Delivered-To: freebsd-questions@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 C32A51E2 for ; Tue, 16 Apr 2013 09:06:48 +0000 (UTC) (envelope-from tak.official@gmail.com) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx1.freebsd.org (Postfix) with ESMTP id 8B92CD2D for ; Tue, 16 Apr 2013 09:06:48 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id hr11so194011vcb.36 for ; Tue, 16 Apr 2013 02:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=FuJjq/vYpgvRKmQpi+aSkYx/0VUXu7kliBpFBA7xJCc=; b=B2JPq39EpeKOPP2u3ZDIcwtg6eOsWgiS9xsp7Uah52LtYoxjL22GZ+zJcERg9z0u8K uyc7jkXvqnyqOE2AMtnJvlt3RD+b91rSMZzmFtC/anMA6lkOTTPvYrSuUSylwApeGWCn DVhKA9DwymEc0QuWuuZuval5dMmqBo2NKlqKnOVapf0UrVnQXCIuo1Ac5UEeZBFaSWDx FhuAmCpGQ+mkTNKQIpRzG2mhFFCHgi2RBO70v9rlgpHefItjjMMDzkHQl/Rti2Y4egQr NQZ8uYwlV7tDAw/AMM8v+dS+uJ9iix8Wb5MsSE5l6JyVbHzU8hnp2UcO6eBv/gM/x+AF Rm0w== MIME-Version: 1.0 X-Received: by 10.220.104.68 with SMTP id n4mr861029vco.37.1366103202418; Tue, 16 Apr 2013 02:06:42 -0700 (PDT) Received: by 10.220.27.206 with HTTP; Tue, 16 Apr 2013 02:06:42 -0700 (PDT) Date: Tue, 16 Apr 2013 13:36:42 +0430 Message-ID: Subject: pwd.db/spwd.db file corupption when having unsafe system poweroff From: Tak Tak To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 16 Apr 2013 09:06:48 -0000 hi everyone, i wanna know what exactly happens for freebsd files and processes, when we shutdown system via pressing hardware power key for 3 seconds? here's what has happened to me, recently: i've faced a strange problem.. on one of my bsd servers, one of my coworkers had defined and edited some system users, and then, instead of safe shutdown, he kept pressing power-button for 3 seconds!.. after next startup, we couldn't login anymore! we had to replace pwd.db and spwd.db files, via bootable-freebsd Fixit mode, and then, everything was fine! we know that we are, for sure, better to use safe shutdown, but i can't guarantee it always happens. what if sudden power off makes same problem??so i can't leave my servers in such situations.. My questins are: what has happened exactly? just in-used corrupted files ?? is there any way to prevent this situation? (instead of having a read-only FS.. i can't apply it on this server for now..). i'm sorry if my question seems dummish! i'm trying to increase my bsd knowledge, but i'm just on my way.. for sure, i appreciate any ideas or answers :) From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 09:28:34 2013 Return-Path: Delivered-To: freebsd-questions@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 3011F6A7 for ; Tue, 16 Apr 2013 09:28:34 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [IPv6:2607:f8b0:400c:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id E68D8E1D for ; Tue, 16 Apr 2013 09:28:33 +0000 (UTC) Received: by mail-vb0-f51.google.com with SMTP id x19so197498vbf.24 for ; Tue, 16 Apr 2013 02:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=7ICNZ94B9hwjT6Qy5OkLB4ZXxRm2lUKuZzT/hUVQqYg=; b=L8PUGaSpvOVSGdNYi5iHa3aOZZZZPx+BFcR9rGNUXQCTH84qT0GKkiqbjWh8jueInW 4iivwOG5Yn5axt66MjkljlNKjLvQ7XHuetQ93R4P5Zv24L8r8A2l1Umtuyehi6070gNl H5lG2pLxS+ZmssIwd6XNO/rvQGbELeYgmOBl5gk1/vqvlyJnRljiW6HOtKL+4CbLw43/ kvk3Iwz032jK3u9QcsdHuAj3iin1PFFhxA+FPDPj+tOdzm+0pQ/eY7E5vtET27j+VfoC 7k6soNeY7XaTv6aQRGiy22Pp6FNp4U8koeKfMghkaTWWRtO4LqFWiclOATkjKAVSvJhW qFyA== MIME-Version: 1.0 X-Received: by 10.52.27.52 with SMTP id q20mr833443vdg.16.1366104513209; Tue, 16 Apr 2013 02:28:33 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 02:28:33 -0700 (PDT) In-Reply-To: <20130416101327.392a9d8f.freebsd@edvax.de> References: <20130416101327.392a9d8f.freebsd@edvax.de> Date: Tue, 16 Apr 2013 02:28:33 -0700 Message-ID: Subject: Re: FreeBSD fstab Entry for Windows Share From: Mehmet Erol Sanliturk To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions Mailing List 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: Tue, 16 Apr 2013 09:28:34 -0000 On Tue, Apr 16, 2013 at 1:13 AM, Polytropon wrote: > On Tue, 16 Apr 2013 00:45:24 -0700, Mehmet Erol Sanliturk wrote: > > I could not be able to write an /etc/fstab entry to mount that share > during > > boot . > > > > When examples in many documents from Internet are imitated , no one of > them > > is working , or > > man pages are not much helpful. > > Try to adapt the following configuration example I just copied > from a system image which has been working many years ago: > > Edit the file /etc/nsmb.conf to contain access credentials if > those are needed: > > [default] > workgroup=THEGROUPNAMEHERE > > [WINPC] > addr=192.168.123.456 > > [WINPC:Administrator] > password=MYTOPSECRETPASSWORD > > In this example, "WINPC" is then name of the PC you want to > mount the SMB shares from. Also "Administrator" will be the > user account by which they are mounted. Please note that this > might be a stupid practice. :-) > > Then add those entries to /etc/fstab: > > //Administrator@WINPC/a$ /smb/a smbfs rw,noauto 0 0 > //Administrator@WINPC/c$ /smb/c smbfs rw,noauto 0 0 > //Administrator@WINPC/d$ /smb/d smbfs rw,noauto 0 0 > //Administrator@WINPC/e$ /smb/e smbfs rw,noauto 0 0 > //Administrator@WINPC/f$ /smb/f smbfs rw,noauto 0 0 > > Of course you can be more specific by naming the shares by name. > In this case here, the "drive letters" have been used to access > the entire drives / logical partitions / whatever. > > If the shares should be mounted on boot time, remove ",noauto". > If not, use "mount /smb/c" for example when needed. Of course > make sure that the mount targets, /smb/[acdef] in this case, > do exist. > > Finally, make sure that if you're using "WINPC" in /etc/fstab, > put an IP for in in /etc/hosts, or it won't resolve: > > 192.168.123.456 WINPC > > This is also helpful as soon as you have to run network diagnostics > as you can now use "WINPC" for the "Windows" PC in any commands. > > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Dear Polytropon , Your message has supplied important information . When their equivalent values are entered , they worked : "WINPC" : NetBIOS_NAME_in_Windows workgroup : Work_Group_NAME_in_Windows "Administrator" : user_name_in_Windows_Administrators F$ : Share_Name_in_Windows With the above values : /etc/nsmb.conf : ----------------------------- [default] Workgroup=Work_Group_NAME_in_Windows [NetBIOS_NAME_in_Windows] addr=192.168.10.25 ----------------------------- The following values are NOT required ( they are not taken into consideration ) : [WINPC:Administrator] password=MYTOPSECRETPASSWORD During boot , the password is asked . /etc/hosts : ----------------------------- 192.168.10.25 NetBIOS_NAME_in_Windows ----------------------------- /etc/fstab : ----------------------------- //user_name_in_Windows_Administrators@NetBIOS_NAME_in_Windows/Share_Name_in_Windows /mnt smbfs rw 0 0 ----------------------------- where /mnt is the mount directory in FreeBSD server , the sample IP number 192.168.10.25 will be replaced by actual IP number . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 09:35:00 2013 Return-Path: Delivered-To: freebsd-questions@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 B9FE1877 for ; Tue, 16 Apr 2013 09:35:00 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx1.freebsd.org (Postfix) with ESMTP id 7E040E78 for ; Tue, 16 Apr 2013 09:35:00 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id m1so222972ves.20 for ; Tue, 16 Apr 2013 02:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=BvZ8Q5s+fMEPMYjYAW1Pk4DatMQIaMYmlcrap8UMH9M=; b=ZbFJa3R5curAAQgbXwytLm9tPr+CSzvl0mfIQpEk/UuVzS8oV6E9mvpY7aC4ei3n8r 9r0oaA2CjW5cTAQ/xdeTKk+gr7GSekyAw6nIZkGcP0xefpW/Ans0Xf/X0KfgVB1y3f28 CzK47jHSXcISZ5LgdHIDaO7+DhbHWfSYoEwWql5ExTbNteJQhnJqwLZ7eP9ULzPqFoSL jGlaT1TV1SGcl2Qu3yvruexaO1fEaR8ty6Ii3igFZrTQuOfa3BBC96UWz3zmFrg7ZVPZ K+/GNsybvnw/GeKYMbTcmvRYzaWzlvbMSpd0WLWjlO05Neku8Ud0EmgJQAxaZhywys/w RzMA== MIME-Version: 1.0 X-Received: by 10.220.242.73 with SMTP id lh9mr888795vcb.49.1366104899961; Tue, 16 Apr 2013 02:34:59 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 02:34:59 -0700 (PDT) In-Reply-To: <516D071B.4030708@marlinbrighton.com> References: <516D071B.4030708@marlinbrighton.com> Date: Tue, 16 Apr 2013 02:34:59 -0700 Message-ID: Subject: Re: FreeBSD fstab Entry for Windows Share From: Mehmet Erol Sanliturk To: Dave Anderson Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions Mailing List 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: Tue, 16 Apr 2013 09:35:00 -0000 On Tue, Apr 16, 2013 at 1:08 AM, Dave Anderson wrote: > When you say could not do an fstab entry, can you say what happens? Do you > get any messages in logs? > > regards > Dave > -- > http://www.marlinbrighton.com > > On 16/04/2013 08:45, Mehmet Erol Sanliturk wrote: > >> Dear All , >> >> >> When a Windows XP share is mounted with the following command in FreeBSD >> 9.1 amd64 , it is working : >> >> >> >> # mount_smbfs -I 192.168.10.25 >> //user_name_in_Windows_**Administrators@NetBIOS_NAME_** >> in_Windows/Share_Name_in_**Windows >> /mnt >> >> >> >> I could not be able to write an /etc/fstab entry to mount that share >> during >> boot . >> >> When examples in many documents from Internet are imitated , no one of >> them >> is working , or >> man pages are not much helpful. >> >> >> If an applicable , working statement is offered , it will be appreciated >> very much . >> >> >> Thank you very much . >> >> >> Mehmet Erol Sanliturk >> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org " >> >> > -- > Dave Anderson > Marlin Brighton > Independent IT Consultancy > Mob: 07710 537 909 > email: dave@marlinbrighton.com > > > web: www.marlinbrighton.com > Dear Dave , By using information from Polytropon's message , I could be able to define /etc/fstab entry correctly . With respect to your question : When an entry is erroneous in /etc/fstab file , booting is entering into single user mode . After correction of erroneous entry , a fast boot is restarting . The above cycle is continuing up to a completely correct /etc/fstab file is supplied . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 09:41:39 2013 Return-Path: Delivered-To: freebsd-questions@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 5D371B0A for ; Tue, 16 Apr 2013 09:41:39 +0000 (UTC) (envelope-from dave@marlinbrighton.com) Received: from stonebase.vm.bytemark.co.uk (unknown [IPv6:2001:41c8:1:603f::6]) by mx1.freebsd.org (Postfix) with ESMTP id 2857CEC5 for ; Tue, 16 Apr 2013 09:41:38 +0000 (UTC) Received: from cpc28-brig15-2-0-cust400.3-3.cable.virginmedia.com ([81.111.13.145] helo=[192.168.2.11]) by stonebase.vm.bytemark.co.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1US2OQ-0005YS-5o for freebsd-questions@freebsd.org; Tue, 16 Apr 2013 10:41:38 +0100 Message-ID: <516D1CCC.6020404@marlinbrighton.com> Date: Tue, 16 Apr 2013 10:41:32 +0100 From: Dave Anderson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD fstab Entry for Windows Share References: <516D071B.4030708@marlinbrighton.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 16 Apr 2013 09:41:39 -0000 When you put the entry in fstab and then try to mount it with fstab providing the details, what happens? i.e. without doing a reboot, test fstab by doing the mounts from the command line with the details in fstab regards Dave http://www.marlinbrighton.com On 16/04/2013 10:34, Mehmet Erol Sanliturk wrote: > Dear Dave , By using information from Polytropon's message , I could > be able to define /etc/fstab entry correctly . With respect to your > question : When an entry is erroneous in /etc/fstab file , booting is > entering into single user mode . After correction of erroneous entry , > a fast boot is restarting . The above cycle is continuing up to a > completely correct /etc/fstab file is supplied . Thank you very much . > Mehmet Erol Sanliturk _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 10:02:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 02DC1E4B for ; Tue, 16 Apr 2013 10:02:46 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx1.freebsd.org (Postfix) with ESMTP id B9B4DF78 for ; Tue, 16 Apr 2013 10:02:45 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id ia10so222364vcb.26 for ; Tue, 16 Apr 2013 03:02:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=O90w36XX/I71z/2uZ5v7SF68sEhagW/4pA5zheJZiNY=; b=dCTkXGEvt38/1j6mwC0Sh3oNHJer1W0FZeawPVEDOS7HATknBY61woCVWaJ7t91BGm buuBuyeIqXHr1ItI2yUy/EreFfZDaDKIVq2r7p+6USo5ba+ImHTlgFPWT+MOrOfxrRZs bfalcC8hOkR8NNHcxKL94weNUwS8adBc6DL+npC7Z3WvTfPHr4NZpE4DFJa51f1Qxfu4 zf6juLGS6VAp4kZ0JU6sZQcPv10zPEeh2bRbxtRruydbP5QImTo9d+mvBW76P/3P1dnW KsUfvyHfi5wt6xFWMF1h/BfXFP98a7nYnjCRaAklVdrRPKi1bbJiVMi7lV/pXgNaAUA2 kQhA== MIME-Version: 1.0 X-Received: by 10.52.27.52 with SMTP id q20mr892483vdg.16.1366106558887; Tue, 16 Apr 2013 03:02:38 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 03:02:38 -0700 (PDT) In-Reply-To: <516D1CCC.6020404@marlinbrighton.com> References: <516D071B.4030708@marlinbrighton.com> <516D1CCC.6020404@marlinbrighton.com> Date: Tue, 16 Apr 2013 03:02:38 -0700 Message-ID: Subject: Re: FreeBSD fstab Entry for Windows Share From: Mehmet Erol Sanliturk To: Dave Anderson Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions Mailing List 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: Tue, 16 Apr 2013 10:02:46 -0000 On Tue, Apr 16, 2013 at 2:41 AM, Dave Anderson wrote: > When you put the entry in fstab and then try to mount it with fstab > providing the details, what happens? i.e. without doing a reboot, test > fstab by doing the mounts from the command line with the details in fstab > > regards > Dave > http://www.marlinbrighton.com > > > On 16/04/2013 10:34, Mehmet Erol Sanliturk wrote: > >> Dear Dave , By using information from Polytropon's message , I could be >> able to define /etc/fstab entry correctly . With respect to your question : >> When an entry is erroneous in /etc/fstab file , booting is entering into >> single user mode . After correction of erroneous entry , a fast boot is >> restarting . The above cycle is continuing up to a completely correct >> /etc/fstab file is supplied . Thank you very much . Mehmet Erol Sanliturk >> > > Dear Dave , My intention was to eliminate separate mount statement . For this , a "noauto" is not used . This is allowing login as a regular user into server , there is no any necessity to mount and umount statements . Therefore , I did not try "noauto" and then "mount" . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 11:53:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C1485ACE for ; Tue, 16 Apr 2013 11:53:56 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3C8630 for ; Tue, 16 Apr 2013 11:53:56 +0000 (UTC) Received: from mailout-us.gmx.com ([172.19.198.45]) by mrigmx.server.lan (mrigmxus001) with ESMTP (Nemesis) id 0Mda8W-1UBcR80HTI-00PJ7j for ; Tue, 16 Apr 2013 13:53:50 +0200 Received: (qmail 23634 invoked by uid 0); 16 Apr 2013 11:53:50 -0000 Received: from 78.84.232.174 by rms-us021 with HTTP Date: Tue, 16 Apr 2013 07:53:47 -0400 From: "Jeff Tipton" Message-ID: <20130416115347.148490@gmx.com> MIME-Version: 1.0 Subject: Re: pwd.db/spwd.db file corupption when having unsafe system poweroff To: freebsd-questions@freebsd.org X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: nF4fcWVb3zOl23uc4XAhu1B+IGRvbwAt Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 16 Apr 2013 11:53:56 -0000 Hi, I think if you hold down the power button for several seconds, it's the PSU you are switching off -- directly, without the operating system involved. Or else, it couldn't be the last resort when the OS hangs. As for preventing such things to happen during power outages -- use UPS; it will protect from short power failures. For longer power failures, UPS control and monitoring systems can help you, such as sysutils/nut or sysutils/upsd (also depends on UPS model). They usually have a function of initiating graceful shutdown after user-predefined time of AC failure (you calculate the time depending on how long the batteries endure the load). -Jeff ----- Original Message ----- From: Tak Tak Sent: 04/16/13 12:06 PM To: freebsd-questions@freebsd.org Subject: pwd.db/spwd.db file corupption when having unsafe system poweroff hi everyone, i wanna know what exactly happens for freebsd files and processes, when we shutdown system via pressing hardware power key for 3 seconds? here's what has happened to me, recently: i've faced a strange problem.. on one of my bsd servers, one of my coworkers had defined and edited some system users, and then, instead of safe shutdown, he kept pressing power-button for 3 seconds!.. after next startup, we couldn't login anymore! we had to replace pwd.db and spwd.db files, via bootable-freebsd Fixit mode, and then, everything was fine! we know that we are, for sure, better to use safe shutdown, but i can't guarantee it always happens. what if sudden power off makes same problem??so i can't leave my servers in such situations.. My questins are: what has happened exactly? just in-used corrupted files ?? is there any way to prevent this situation? (instead of having a read-only FS.. i can't apply it on this server for now..). i'm sorry if my question seems dummish! i'm trying to increase my bsd knowledge, but i'm just on my way.. for sure, i appreciate any ideas or answers :) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 17:16:31 2013 Return-Path: Delivered-To: freebsd-questions@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 0945FD6 for ; Tue, 16 Apr 2013 17:16:31 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id E3A229EE for ; Tue, 16 Apr 2013 17:16:30 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1US9Ub-0002Nb-Qf for freebsd-questions@freebsd.org; Tue, 16 Apr 2013 10:16:29 -0700 Date: Tue, 16 Apr 2013 10:16:29 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366132589817-5804272.post@n5.nabble.com> In-Reply-To: <20130415134043.d7f0eb1f.freebsd@edvax.de> References: <1366004782540-5803899.post@n5.nabble.com> <20130415134043.d7f0eb1f.freebsd@edvax.de> Subject: dvd recorder & audio cd problems MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Tue, 16 Apr 2013 17:16:31 -0000 Hi, >> Regarding audio playback via cdcontrol ... requires a seperate internal >> wiring (CD audio wire) to the sound card. Thanks: Using an older dvd drive, so that's probably the problem. On my linux I once had that cable to the mobo. >> on FreeBSD 8 you would have something like this in your kernel >> configuration: # ATA and ATAPI devices You seem to be using 8.* while I am on 10-current (info provided in my signature). Unfortunately there are a number of important hardware driver changes between 8-9-10. these are the only options allowed: # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) #device ctl # CAM Target Layer In GENERIC, 'option ctl' is disabled because pulling in any one of the da/cd/pass etc also enables/calls ctl. For the same reason, '# atacontrol list ' => ATA_CAM option is enabled in kernel. Please use camcontrol instead. $ ll /dev/cam => crw------- 1 root operator 0x3f Apr 16 19:36 ctl So it seems, after playing around that 'acd_' is deprecated in 10. As to why /dev/cd0 does not show up in Brasero, it is probably related to my other thread on user-level permissions. Since my user cannot mount the cd0, brasero has not enabled access to it (problem valid for all GUI-based-apps unless root starts running a GUI) Regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/dvd-recorder-audio-cd-problems-tp5803899p5804272.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 19:20:40 2013 Return-Path: Delivered-To: freebsd-questions@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 5CCEE39E for ; Tue, 16 Apr 2013 19:20:40 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [IPv6:2607:f8b0:400c:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 20A48111C for ; Tue, 16 Apr 2013 19:20:40 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id w15so675111vbf.32 for ; Tue, 16 Apr 2013 12:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=yQh1SAxBErfcBih8wjFpJa8I6jNnrTpdVDYGgWH3u+c=; b=TIZWNQl8gL8g0ENsdJZopmit64lGOuwhvdj670cNdLCwvpF2xKF9quNv1HNpHg5f/T rETLhgGMHKmUAhnso+EdZSPekHkUeLHTEUq2Ctmwa1Hox7aY4opf6JuxRM5aob1vEAgV /YC7Rlam0IkhjzznqYmBKON6kWqo6jgcLUBAoYAxx49mKQJfSlgoW96I5cR7k1TCfrWv XiJlpm97kPW6+hyDcmHdR7Kjn3Yhzpu3n+k2nltJwj7pq2HTIkVgrCVMRVxWzFBK2C/p OOCQf2l4Gn0hjVE9KDNNpn70guUn2xKXvYrOyRNtJhIOS1yhfxwApotJ9b8YkNItumpa uCcg== MIME-Version: 1.0 X-Received: by 10.58.12.225 with SMTP id b1mr2620308vec.20.1366140039635; Tue, 16 Apr 2013 12:20:39 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 12:20:39 -0700 (PDT) Date: Tue, 16 Apr 2013 12:20:39 -0700 Message-ID: Subject: FreeBSD as Samba Server and Windows as Client From: Mehmet Erol Sanliturk To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 16 Apr 2013 19:20:40 -0000 Dear All , I could be able to connect a FreeBSD 9.1 amd64 computer as client to a Windows XP ( 32 bits ) by using information supplied by the mail http://lists.freebsd.org/pipermail/freebsd-questions/2013-April/250500.html and I sent a mail http://lists.freebsd.org/pipermail/freebsd-doc/2013-April/021857.html to share my findings . Previously , I tried to make a FreeBSD 9.1 amd64 as Samba server and connect a Windows XP as a client computer . By using The FreeBSD Handbook , many documents from www.samba.org and Internet , I could not be able to access to the FreeBSD Samba server from Windows XP : Continuously I have received "Access denied" error message in Windows XP although in the server the related directory and files have mode rwx-rwx-rwx . The same message is produced even for Linux Samba Server . The examples given in the documents are partial statements without actually used files / statements in such a setting , and sometimes inconsistent or contradictory with each other because they are mostly written manually . If a working , applicable set of files / statements are supplied , it will be appreciated very much . After a successful implementation , I will send an e-mail about this set up as an example for the FreeBSD Handbook to share our information with other people in need . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 19:34:08 2013 Return-Path: Delivered-To: freebsd-questions@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 DF17EC3 for ; Tue, 16 Apr 2013 19:34:08 +0000 (UTC) (envelope-from realrichardsharpe@gmail.com) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 80C21122F for ; Tue, 16 Apr 2013 19:34:08 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id m15so1543453wgh.5 for ; Tue, 16 Apr 2013 12:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=z3Mz+v8hQbKFHvFw5DLntku87vv8BXX6o+W63BFeJJ0=; b=hmLBDGSHr53qrIomAV5pCMmL2KXJbNHR9U+zH+V3i9yQ+m7fwclpf4WCH0dDNktcj8 mFijGKuF95e6xFQ+sbH132qkO7cqCXN8G88CpYlWaC0p0ZFbWdMGOVwUYqFXc7qG5HZx 1oJ5YnSuIy0Lcd7ytbcYq453tyWjuqY+cPkA+2J8QwX04lFvNjczabbcMvf+Sb2TsDLM ckbcy9RAuvD6JtIM8EKQl8v3GofGAZWtgRPlRWm5rkHjfTOU0buuHtCBVp6ytckABM4f JhT1/y8hOH/GayW5uswZ28WPnNj3QsKxBNIca0rLBm0eVo+0ib50vH3j/ch0X9iK857A tCcg== MIME-Version: 1.0 X-Received: by 10.194.104.168 with SMTP id gf8mr6325740wjb.58.1366140847591; Tue, 16 Apr 2013 12:34:07 -0700 (PDT) Received: by 10.194.110.102 with HTTP; Tue, 16 Apr 2013 12:34:07 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Apr 2013 12:34:07 -0700 Message-ID: Subject: Re: FreeBSD as Samba Server and Windows as Client From: Richard Sharpe To: Mehmet Erol Sanliturk Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Mailing List 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: Tue, 16 Apr 2013 19:34:08 -0000 On Tue, Apr 16, 2013 at 12:20 PM, Mehmet Erol Sanliturk wrote: > Dear All , > > I could be able to connect a FreeBSD 9.1 amd64 computer as client to a > Windows XP ( 32 bits ) by > using information supplied by the mail > > http://lists.freebsd.org/pipermail/freebsd-questions/2013-April/250500.ht= ml > > and I sent a mail > > http://lists.freebsd.org/pipermail/freebsd-doc/2013-April/021857.html > > to share my findings . > > > Previously , I tried to make a FreeBSD 9.1 amd64 as Samba server and > connect a Windows XP as a client computer . > > By using The FreeBSD Handbook , many documents from www.samba.org and > Internet , > I could not be able to access to the FreeBSD Samba server from Windows XP= : > > Continuously I have received "Access denied" error message in Windows XP > although in the server the related directory and files have mode > rwx-rwx-rwx . > > The same message is produced even for Linux Samba Server . > > The examples given in the documents are partial statements without actual= ly > used > files / statements in such a setting , and sometimes inconsistent or > contradictory > with each other because they are mostly written manually . > > > If a working , applicable set of files / statements are supplied , it wil= l > be appreciated very much . > > After a successful implementation , I will send an e-mail about this set = up > as an example for > the FreeBSD Handbook to share our information with other people in need . All I can tell you is that it is definitely possible using FreeBSD. The FreeNAS folks do exactly that as does the company I work for. I do not have the time to spend helping you get it going and I note that you do not tell us which version of Samba you are using, but it does work. Have you tried setting the permissions correctly on the directory you are sharing? Do you know if it is getting Access Denied trying to access the Share or trying to create a file. --=20 Regards, Richard Sharpe (=A6=F3=A5H=B8=D1=BC~=A1H=B0=DF=A6=B3=A7=F9=B1d=A1C--=B1=E4=BE=DE) From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 19:38:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AE9D51C7 for ; Tue, 16 Apr 2013 19:38:20 +0000 (UTC) (envelope-from ascherrer@gmail.com) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2051265 for ; Tue, 16 Apr 2013 19:38:20 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id b15so411941eae.16 for ; Tue, 16 Apr 2013 12:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=H1LvmTUwqlaiwRwrtFj+3TMjhJfK+XUHv054o1lHEu4=; b=Kx3+E8VmKRESrAbuHj+1i2IDGZ1XwDLCZYkqhLN1m5zGCTCtCmJMlUoZwB9zEh6RGq eSNpHtOm8Bz4gyYKOMaxar1CopQ0PC6H/ItaBfNB985x7lYJzf6lw/xOHtAianS1kPnz aZoBnNNL6jKGPvyOEkFkWHLaqjpw4xl0m5wHt4vk21WMiHuOsQ4JkRZ+JL8yCkyOdGhz T280viGAG8rzhp67gxyp9QX/RRMv2uCADPPa4vegf0BZkhwGJQAznGg8QwJ5J+Wice0d N3I+WwuRcpNFQSIso+YJdavkON6OQJwQXK7sFIh7DJlCDRjc0Y+yWylvlKRlGjNa/Yno Qn1Q== X-Received: by 10.14.5.137 with SMTP id 9mr9571057eel.30.1366141099505; Tue, 16 Apr 2013 12:38:19 -0700 (PDT) Received: from manzana.hws.homeip.net ([2001:470:b71d:1:225:ff:fef2:447f]) by mx.google.com with ESMTPS id s47sm4582945eeg.8.2013.04.16.12.38.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 12:38:18 -0700 (PDT) Message-ID: <516DA8A8.5040305@gmail.com> Date: Tue, 16 Apr 2013 21:38:16 +0200 From: andreas scherrer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Keeping FreeBSD with custom kernel up to date: freebsd-update no option? X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Tue, 16 Apr 2013 19:38:20 -0000 Dear FreeBSD savvies I am (still) struggling to understand how to keep my FreeBSD system up to date ("world"/system, not ports). I want to "track" RELEASE (not a development branch) and I want to receive security related updates. And I want to run a custom kernel. >From what I understand I cannot use "freebsd-update" in this case because it will invariably either overwrite my custom kernel (if I have "Components kernel" in the config file) or not update the kernel sources in /usr/src/sys (when I do not have "Components kernel" in the config file). See [1]. This leaves me with the only possibility to use SVN to update /usr/src, right? I have a copy of the SVN sources (for the outdated RELEASE-9.0.0 but that's a different story), see below for "svn info"). As I understand [2] I cannot mix freebsd-update and SVN, right? So I can run "svn update" in /usr/src whenever I like. But what then? Do I need to rebuild the world and my custom kernel every time I run "svn update" (and there are some updates)? I'm on a low powered consumer device and it takes considerable amount of time to build the world and kernel (plus I still don't feel comfortable doing such tasks remotely). Is this really "the way to do it" or am I missing something? There are quite some posts, websites and threads out there (see [3] or [4] for example) about this topic but (surprisingly?) I could not (yet) find a conclusive answer. Any hints, help, tutorials or corrections would be greatly appreciated. Kind regards andreas [1] http://lists.freebsd.org/pipermail/freebsd-questions/2013-January/247763.html [2] http://lists.freebsd.org/pipermail/freebsd-questions/2013-April/250461.html [3] http://forums.freebsd.org/showthread.php?t=26140 [4] http://forums.freebsd.org/showthread.php?t=35555 ----- # svn info Path: . Working Copy Root Path: /usr/src URL: https://svn0.us-east.freebsd.org/base/release/9.0.0 Repository Root: https://svn0.us-east.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 248546 Node Kind: directory Schedule: normal Last Changed Author: kensmith Last Changed Rev: 229307 Last Changed Date: 2012-01-02 19:59:55 +0100 (Mon, 02 Jan 2012) ----- Ps.: Is there a way I can contact "someone" (Tom Rhodes?) about the outdated freebsd-update documentation (concerning the custom kernel handling) in the Handbook ("FreeBSD Update" [5])? [5] http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 19:47:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C731906 for ; Tue, 16 Apr 2013 19:47:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5BD1300 for ; Tue, 16 Apr 2013 19:47:02 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id A7F9E27861; Tue, 16 Apr 2013 21:46:54 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3GJl38J001964; Tue, 16 Apr 2013 21:47:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Apr 2013 21:47:03 +0200 From: Polytropon To: Tak Tak Subject: Re: pwd.db/spwd.db file corupption when having unsafe system poweroff Message-Id: <20130416214703.028f78dc.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 19:47:03 -0000 On Tue, 16 Apr 2013 13:36:42 +0430, Tak Tak wrote: > hi everyone, > > i wanna know what exactly happens for freebsd files and processes, > when we shutdown system via pressing hardware power key for 3 seconds? Actually no shutdown happens in this situation. The normal programming for the power button is: press for short time: send ACPI signal to OS to perform action action: usually shutdown -p now press for 4 seconds: forced power off, no signal sent to OS equivalent: pull power plug Check the BIOS settings if this is actually the programming in your case. (This has been discussed recently on this list, check the archives to find the corresponding thread.) There are only very few occassions where you _need_ to press the power button for 4 seconds, i. e. if the OS is hanging in a totally dysfunctional state (usually massive hardware errors cause this). Whenever possible, perform a clean shutdown controlled by the OS. > here's what has happened to me, recently: > i've faced a strange problem.. on one of my bsd servers, one of my > coworkers had defined and edited some system users, and then, instead > of safe shutdown, he kept pressing power-button for 3 seconds!.. > after next startup, we couldn't login anymore! we had to replace > pwd.db and spwd.db files, via bootable-freebsd Fixit mode, and then, > everything was fine! If the plain text files /etc/passwd and /etc/master.passwd, it could have been possible to construct the binary databases with the pwd_mkdb program (see "man pwd_mkdb" for details). > we know that we are, for sure, better to use safe shutdown, but i > can't guarantee it always happens. You should. :-) > what if sudden power off makes same > problem??so i can't leave my servers in such situations.. Suddenly and _unintendedly_ powering off a computer (or better: a server) should be somthing worth thinking about. It's definitely not a good idea. However, you can apply some file system tweaks to _hope_ to make the impact less severe -- for example, you can use journaling for the filesystem so it should be in a good condition. > My questins are: > what has happened exactly? You probably disconnected the _essential_ power during a write operation (performed by the disk). > just in-used corrupted files ?? That's quite possible. > is there any way to prevent this situation? (instead of having a > read-only FS.. i can't apply it on this server for now..). As I said, make sure power is provided constantly. Maybe add a UPS to the mix. Use a safe shutdown, prevent accidental "forced power off", maybe by disabling the power button (or putting a protector on it). If possible, use a software command (shutdown, reboot, halt). Add journaling to the file system. Make sure to perform a fsck _prior_ to "going live" (i. e., put the setting background_fsck="NO" in /etc/rc.conf because you NEVER know). > i'm sorry if my question seems dummish! No, it doesn't. It's just important that you recognize what you are actually doing, and what it implies for the OS and the tasks it performs. > i'm trying to increase my bsd > knowledge, but i'm just on my way.. This is to be considered basic hardware knowledge. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 19:53:51 2013 Return-Path: Delivered-To: freebsd-questions@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 C8955D80 for ; Tue, 16 Apr 2013 19:53:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF37134C for ; Tue, 16 Apr 2013 19:53:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 7FC8027A31; Tue, 16 Apr 2013 21:53:50 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3GJrxd0001977; Tue, 16 Apr 2013 21:53:59 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Apr 2013 21:53:59 +0200 From: Polytropon To: Mehmet Erol Sanliturk Subject: Re: FreeBSD fstab Entry for Windows Share Message-Id: <20130416215359.166ac5b8.freebsd@edvax.de> In-Reply-To: References: <20130416101327.392a9d8f.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 19:53:51 -0000 On Tue, 16 Apr 2013 02:28:33 -0700, Mehmet Erol Sanliturk wrote: > Your message has supplied important information . As I said, I did obtain it from a system that _has been working_ in that regards. :-) > When their equivalent values are entered , they worked : > > > "WINPC" : NetBIOS_NAME_in_Windows > workgroup : Work_Group_NAME_in_Windows > "Administrator" : user_name_in_Windows_Administrators > F$ : Share_Name_in_Windows > > > With the above values : > > /etc/nsmb.conf : > > ----------------------------- > > > [default] > Workgroup=Work_Group_NAME_in_Windows > > [NetBIOS_NAME_in_Windows] > addr=192.168.10.25 > > ----------------------------- > > The following values are NOT required ( they are not taken into > consideration ) : > > [WINPC:Administrator] > password=MYTOPSECRETPASSWORD > > During boot , the password is asked . If this case of interactivity at system startup is _not_ intended, the information (username, password) can be obtained from the /etc/nsmb.conf file. It's important to pay attention to the file permissions. > /etc/fstab : > > > ----------------------------- > > > //user_name_in_Windows_Administrators@NetBIOS_NAME_in_Windows/Share_Name_in_Windows > /mnt smbfs rw 0 0 You could possibly add the "late" option ("rw,auto,late") so in case of network problems, the boot process won't stop at the early stage ("fstab error"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 19:54:38 2013 Return-Path: Delivered-To: freebsd-questions@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 EA116E51 for ; Tue, 16 Apr 2013 19:54:38 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [IPv6:2607:f8b0:400c:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id A94DF1361 for ; Tue, 16 Apr 2013 19:54:38 +0000 (UTC) Received: by mail-vb0-f51.google.com with SMTP id x19so687286vbf.38 for ; Tue, 16 Apr 2013 12:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=UScPr/iOVhiFQhuG4qe5lhlu+vKoEAah5q0EgmICj3U=; b=PEpJy9pDVjztc2fO1WFpEYganQ/OFXAWoNXAc0wYO1/NWdrRIK3ruRpC77R/6ZP8FF W5rmkANCdoyLW+Z+J3xW/J4axLQcWEuj4MKXD/7unM+Xwz32HrX/v5XYf8CYq5yz9jjD ITYXAtc9aQtbdhYMvTJBh1A+zHXj3v+WTIjT/sZgygol7Y7NulUi/2POB1M+lPwDe6R7 VSOIB1jb8ibWALCOai9exo1s8ZAVEFjm+bvAdh8D+1SUzIapSecBrQwnWWjs/sSTMu8E 57UJ/j+hO8PUGTCWnLdVP03woHSn19Sgt2uo7QmHl3pzwZkaAvYx9w3XZFOBx4Z2Jv8F YBWg== MIME-Version: 1.0 X-Received: by 10.220.140.18 with SMTP id g18mr2675365vcu.54.1366142078189; Tue, 16 Apr 2013 12:54:38 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 12:54:38 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Apr 2013 12:54:38 -0700 Message-ID: Subject: Re: FreeBSD as Samba Server and Windows as Client From: Mehmet Erol Sanliturk To: Richard Sharpe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions Mailing List 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: Tue, 16 Apr 2013 19:54:39 -0000 On Tue, Apr 16, 2013 at 12:34 PM, Richard Sharpe < realrichardsharpe@gmail.com> wrote: > On Tue, Apr 16, 2013 at 12:20 PM, Mehmet Erol Sanliturk > wrote: > > Dear All , > > > > I could be able to connect a FreeBSD 9.1 amd64 computer as client to a > > Windows XP ( 32 bits ) by > > using information supplied by the mail > > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2013-April/250500.ht= ml > > > > and I sent a mail > > > > http://lists.freebsd.org/pipermail/freebsd-doc/2013-April/021857.html > > > > to share my findings . > > > > > > Previously , I tried to make a FreeBSD 9.1 amd64 as Samba server and > > connect a Windows XP as a client computer . > > > > By using The FreeBSD Handbook , many documents from www.samba.org and > > Internet , > > I could not be able to access to the FreeBSD Samba server from Windows > XP : > > > > Continuously I have received "Access denied" error message in Windows X= P > > although in the server the related directory and files have mode > > rwx-rwx-rwx . > > > > The same message is produced even for Linux Samba Server . > > > > The examples given in the documents are partial statements without > actually > > used > > files / statements in such a setting , and sometimes inconsistent or > > contradictory > > with each other because they are mostly written manually . > > > > > > If a working , applicable set of files / statements are supplied , it > will > > be appreciated very much . > > > > After a successful implementation , I will send an e-mail about this se= t > up > > as an example for > > the FreeBSD Handbook to share our information with other people in need= . > > All I can tell you is that it is definitely possible using FreeBSD. > The FreeNAS folks do exactly that as does the company I work for. > > I do not have the time to spend helping you get it going and I note > that you do not tell us which version of Samba you are using, but it > does work. > > Have you tried setting the permissions correctly on the directory you > are sharing? Do you know if it is getting Access Denied trying to > access the Share or trying to create a file. > > -- > Regards, > Richard Sharpe > (=E4=BD=95=E4=BB=A5=E8=A7=A3=E6=86=82=EF=BC=9F=E5=94=AF=E6=9C=89=E6=9D=9C= =E5=BA=B7=E3=80=82--=E6=9B=B9=E6=93=8D) > Samba Version : FreeBSD 9.1 amd64 package . There is no fault in FreeBSD because from a Linux computer , it is possible to access the Samba service . I tried FreeNAS , but installation did not work ( It was my first install , therefore , it is very likely that I made some mistakes ) . Windows is not able to see directory contents of Samba server . When directory is not visible , it is not possible to write into it . Perhaps in the Windows XP , some settings may be wrong or missing . For that reason , I wanted to have a COMPLETE settings applied , working example. There are the following pages : http://www.samba.org/samba/docs/using_samba/toc.html Using Samba, 2nd Edition http://www.samba.org/samba/docs/using_samba/ch02.html Chapter 2. Installing Samba on a Unix System http://www.samba.org/samba/docs/using_samba/ch03.html Chapter 3. Configuring Windows Clients http://www.samba.org/samba/docs/using_samba/ch05.html Chapter 5. Unix Clients Some Linux distributions have very well designed graphical Samba configuration applications . No one of them is working in the Windows side . My opinion is that , Samba installation is correct , but Windows side has problem which I do not know how to isolate it and to correct it . Only a working complete set up may be useful , because all of the examples are partial explanatory demonstrations . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 20:01:31 2013 Return-Path: Delivered-To: freebsd-questions@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 70BC6379 for ; Tue, 16 Apr 2013 20:01:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 215F713C6 for ; Tue, 16 Apr 2013 20:01:30 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 1136427951; Tue, 16 Apr 2013 22:01:29 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3GK1c57002012; Tue, 16 Apr 2013 22:01:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Apr 2013 22:01:38 +0200 From: Polytropon To: Beeblebrox Subject: Re: dvd recorder & audio cd problems Message-Id: <20130416220138.cc370ec9.freebsd@edvax.de> In-Reply-To: <1366132589817-5804272.post@n5.nabble.com> References: <1366004782540-5803899.post@n5.nabble.com> <20130415134043.d7f0eb1f.freebsd@edvax.de> <1366132589817-5804272.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 20:01:31 -0000 On Tue, 16 Apr 2013 10:16:29 -0700 (PDT), Beeblebrox wrote: > Hi, > > >> Regarding audio playback via cdcontrol ... requires a seperate internal > >> wiring (CD audio wire) to the sound card. > > Thanks: Using an older dvd drive, so that's probably the problem. On my > linux I once had that cable to the mobo. The ability to transmit audio via "data lines" has been present already with parallel ATA drives. I'm not sure how this is handled with SATA, but I assume it's done similarly because the internal CD audio connectors (and worse, the respective cables) do not seem to be common anymore. > >> on FreeBSD 8 you would have something like this in your kernel > >> configuration: # ATA and ATAPI devices > > You seem to be using 8.* while I am on 10-current (info provided in my > signature). Unfortunately there are a number of important hardware driver > changes between 8-9-10. This is correct. The old ATAPI infrastructure (acd, acdXtY) has been deprecated. > these are the only options allowed: > # ATA controllers > device ahci # AHCI-compatible SATA controllers > device ata # Legacy ATA/SATA controllers > # ATA/SCSI peripherals > device scbus # SCSI bus (required for ATA/SCSI) > device ch # SCSI media changers > device da # Direct Access (disks) > device sa # Sequential Access (tape etc) > device cd # CD > device pass # Passthrough device (direct ATA/SCSI access) > device ses # Enclosure Services (SES and SAF-TE) > #device ctl # CAM Target Layer > > In GENERIC, 'option ctl' is disabled because pulling in any one of the > da/cd/pass etc also enables/calls ctl. > For the same reason, '# atacontrol list ' => > ATA_CAM option is enabled in kernel. Please use camcontrol instead. So this tool is also deprecated, and I assume it has taken cdcontrol and maybe even burncd with it. > $ ll /dev/cam => > crw------- 1 root operator 0x3f Apr 16 19:36 ctl > So it seems, after playing around that 'acd_' is deprecated in 10. True, it is. > As to why /dev/cd0 does not show up in Brasero, it is probably related to my > other thread on user-level permissions. I highly assume this is the case, because specific permissions have to be granted. Also check if this Gnome program requires additional fiddling with DBUS or HAL (or something similarly deprecated), or with specific groups your username has to be a member of. > Since my user cannot mount the cd0, > brasero has not enabled access to it (problem valid for all GUI-based-apps > unless root starts running a GUI) It should not be _that_ drastic. When you are logged in with your regular user account, and running X, open an X terminal and enter the command "su -m", and confirm the password. Then start "brasero" or any other GUI program you want to check from that command line. The -m option will preserve your user's environment; see "man su" for details. That could be worth a try (and a partial "solution"). Anyway, check the permissions. What you're attempting _is_ possible. I've been able to do all this stuff as a regular user after proper configuration (on a v4, v5 and v7 system). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 20:18:49 2013 Return-Path: Delivered-To: freebsd-questions@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 4DCB2EDB for ; Tue, 16 Apr 2013 20:18:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id F1F321586 for ; Tue, 16 Apr 2013 20:18:48 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx01.qsc.de (Postfix) with ESMTP id 5AD1D3D07E; Tue, 16 Apr 2013 22:18:42 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3GKIpPm002090; Tue, 16 Apr 2013 22:18:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Apr 2013 22:18:51 +0200 From: Polytropon To: andreas scherrer Subject: Re: Keeping FreeBSD with custom kernel up to date: freebsd-update no option? Message-Id: <20130416221851.5d898701.freebsd@edvax.de> In-Reply-To: <516DA8A8.5040305@gmail.com> References: <516DA8A8.5040305@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 20:18:49 -0000 On Tue, 16 Apr 2013 21:38:16 +0200, andreas scherrer wrote: > Dear FreeBSD savvies > > I am (still) struggling to understand how to keep my FreeBSD system up > to date ("world"/system, not ports). I want to "track" RELEASE (not a > development branch) and I want to receive security related updates. And > I want to run a custom kernel. Without actually havint tested it, it seems that if you want to use freebsd-update (binary updating), you should note this: In /etc/freebsd-update.conf, you should have the line for what to update as "Components src world". This should prevent overwriting of the kernel, but you need to compile your kernel and install it. The component "src" will make sure you have the proper kernel sources. I assume a custom kernel configuration file in /usr/src/sys/{i386|amd64}/conf/ is _not_ being overwritten by freebsd-update. Use the -r option of freebsd-update to specify the correct release if required. It should follow -RELEASE-p for the currentl patchlevel N (which you intend to follow) normally. > From what I understand I cannot use "freebsd-update" in this case > because it will invariably either overwrite my custom kernel (if I have > "Components kernel" in the config file) or not update the kernel sources > in /usr/src/sys (when I do not have "Components kernel" in the config > file). See [1]. As far as I read from "man freebsd-update.conf", the "src" component will not exclude kernel sources; "kernel" refers to the kernel and the modules as binary stuff. This is the relevant text passage: The components are ``src'' (source code), ``world'' (non-kernel binaries), and ``kernel''; the sub-components are the indi- vidual distribution sets generated as part of the release process (e.g., ``src/base'', ``src/sys'', ``world/base'', ``world/catpages'', ``kernel/smp''). Note that prior to FreeBSD 6.1, the ``kernel'' component was dis- tributed as part of ``world/base''. So "src" will include "src/sys" which is the kernel sources you will need to build your custom kernel. > This leaves me with the only possibility to use SVN to update /usr/src, > right? No, but it might be the "more advanced" alternative, and it should work. Note that in _this_ case, you will also have to rebuild the world, so kernel and world are in sync after an update. Refer to the comment header of /usr/src/Makefile for the whole process that has to be performed after updating (or see in the Handbook: the section about updating by source). > I have a copy of the SVN sources (for the outdated RELEASE-9.0.0 > but that's a different story), see below for "svn info"). As I > understand [2] I cannot mix freebsd-update and SVN, right? It could cause trouble. Deciding for _one_ way should be better. > So I can run "svn update" in /usr/src whenever I like. But what then? Do > I need to rebuild the world and my custom kernel every time I run "svn > update" (and there are some updates)? Yes, or better: As soon as it is required. This depends on _what_ has been part of the update. For example, kernel updates _can_ require updates of userland programs or libraries, but it's also possible that it's not the case. To be sure, rebuild. > I'm on a low powered consumer > device and it takes considerable amount of time to build the world and > kernel (plus I still don't feel comfortable doing such tasks remotely). In this case, use freebsd-update as explained at the beginning of my message: Update components "world" and "src", leave out "kernel", the rebuild the kernel by source and install it. Then reboot. > Is this really "the way to do it" or am I missing something? There are _several_ ways to do it. :-) > There are quite some posts, websites and threads out there (see [3] or > [4] for example) about this topic but (surprisingly?) I could not (yet) > find a conclusive answer. This is because the answer depends on what you actually want to do (follow RELEASE, STABLE, CURRENT), and how you want to do it (binary, by source). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 20:46:16 2013 Return-Path: Delivered-To: freebsd-questions@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 032CBC10 for ; Tue, 16 Apr 2013 20:46:16 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9C54F1698 for ; Tue, 16 Apr 2013 20:46:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1USClU-0005vT-36 for freebsd-questions@freebsd.org; Tue, 16 Apr 2013 22:46:08 +0200 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Apr 2013 22:46:08 +0200 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Apr 2013 22:46:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: pwd.db/spwd.db file corupption when having unsafe system poweroff Date: Tue, 16 Apr 2013 16:45:59 -0400 Lines: 81 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 20:46:16 -0000 Tak Tak wrote: > hi everyone, > > i wanna know what exactly happens for freebsd files and processes, > when we shutdown system via pressing hardware power key for 3 seconds? > > here's what has happened to me, recently: > i've faced a strange problem.. on one of my bsd servers, one of my > coworkers had defined and edited some system users, and then, instead > of safe shutdown, he kept pressing power-button for 3 seconds!.. > after next startup, we couldn't login anymore! we had to replace > pwd.db and spwd.db files, via bootable-freebsd Fixit mode, and then, > everything was fine! > > we know that we are, for sure, better to use safe shutdown, but i > can't guarantee it always happens. what if sudden power off makes same > problem??so i can't leave my servers in such situations.. > > My questins are: > what has happened exactly? just in-used corrupted files ?? > is there any way to prevent this situation? (instead of having a > read-only FS.. i can't apply it on this server for now..). > > i'm sorry if my question seems dummish! i'm trying to increase my bsd > knowledge, but i'm just on my way.. > > for sure, i appreciate any ideas or answers :) At the risk of illustrating what I'm fuzzy on, possibly those with more in- depth skill can fill in the blanks or tidy up some with more accurate and complete details. Pressing the power button for 4 seconds as described is invoking the ACPI layer to stimulate call(s) down to the system BIOS. Whatever is set in the BIOS wrt to power control and various power-savings modes are passed through the ACPI layer. The problem with this is the acpi module in FreeBSD may, or may not, be a perfect implementation for every possible piece of hardware in existance. The piece of that which really concerns me are individual manufactuer BIOS quirks can be just enough 'off' so as to misbehave even when the FreeBSD acpi implentation is basically sound. The jist of this is (IMHO here - YMMV) is I consider it a bad procedure to turn off a server as you've described. Use the shutdown command properly instead. I would never do what your coworker did to any of my servers. Caveat being sometimes you have no other choice but to do a hard power-down. A hard power-down is done by using the switch on the power supply, and not using the ACPI/BIOS from pressing the power switch on the front. When you do have an 'uh-oh' like this, FreeBSD normally boots back into an unclean file system with corresponding whinings and complaints about how the file system(s) were not properly dismounted. Normally a background fsck ensues after 60 seconds of idle. In your case whatever files were left open and not properly closed this background fsck, had it been allowed to run and complete, would have cleaned this up. The problem starts when someone presses the power off button again, and again, before this process completes. Using the power button ACPI/BIOS only compounds this situation. I have had at one time or another, power failures that occurred almost back to back, only with a few minutes in between. So what happened was on first boot after power came back the power went down again right in the middle of this background fsck. Two more of these and my file system(s) were in pretty not-so-good shape. Luckily I was running gmirror and one of the drives was consistent. So the mirror got rebuilt from the drive with the consistent file system automagically (takes a while), then the system continued to boot, and then the background fsck finally kicked in. Gmirror saved my bacon here. Journaling is also supposed to provide similar error recovery features. I've had this happen twice on 2 different boxen. Needless to say, 2 broken UPS units were scrapped and replaced as a result. I would recommend you do NOT use the power button as you described above. Period. In any event pay particular attention to that very first boot after an 'uh-oh' power off event. Look at top and watch for the background fsck to kick off and complete, returning the machine to quiescent state BEFORE you do ANYTHING else to it. This includes pressing the button on the front. Just my $.02 - but I've had a couple of experiences like this and survived them successfully by doing things my way. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 21:16:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 376F2CE2 for ; Tue, 16 Apr 2013 21:16:23 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [IPv6:2607:f8b0:400c:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id ED8F017DD for ; Tue, 16 Apr 2013 21:16:22 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id w15so759014vbf.18 for ; Tue, 16 Apr 2013 14:16:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:content-type:content-transfer-encoding:date:subject :to:message-id:mime-version:x-mailer:x-gm-message-state; bh=t4YojqLOppmRBusg9D6f9dC5PRHCbm7fSNB31SIhpyU=; b=UsWOaTamIsSwGh3bHeGxKnMSKARiq45296M4e7SkYlq2BBhHUPOh4y37XmNxn/8Dca xuQrCOmQX1sbZvPAVUhzzoxTt/GP5qZ0Q5GOGv01Dc6i0pcD+c2yiqjeSzbo3mafXPFN LDI2ARW+QsB5T29sk1Ryv11+7j1DhEEr0IHYMapHEPZHXTmIlCeTxfHnleIfpej5qrZ2 3efpTbkmK5fDXu67ky9y9Ji3XVjgRLCxR/6XMLx8xBzyAe5mZk8dlggiB8dQ6CyBiqxN iASz/W12phbgZUsXg9nBswAuYcb0joIKkVNbNuCBGCtexavH0IRfa/Er0SQ7GPuE3Xln I/aQ== X-Received: by 10.220.19.8 with SMTP id y8mr2923925vca.31.1366146982446; Tue, 16 Apr 2013 14:16:22 -0700 (PDT) Received: from [192.168.2.99] ([96.236.21.119]) by mx.google.com with ESMTPS id a17sm3176789vdj.2.2013.04.16.14.16.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 14:16:21 -0700 (PDT) From: Paul Kraus Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 16 Apr 2013 17:16:20 -0400 Subject: 9.1 Postfix problem To: "freebsd-questions@freebsd.org List" Message-Id: <459A07BB-BAD9-413D-83BA-D66BA04744B1@kraus-haus.org> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQnmuMUjVS40SWHgy9mmt5ibp5TNLSAzgm6M5D02T+PEwdEMV2WA7O9T7jBQtkZy6ysH+avN 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: Tue, 16 Apr 2013 21:16:23 -0000 When building postfix under 91. I am running into an odd = problem. I use the INST_BASE option, which seems to cause the problem = (it worked fine with 9.0). The 'make' goes fine, but the 'make install' = fails when trying to install the startup script to /usr/etc/rc.d instead = of /etc/rc.d. It works fine if INST-BASE is disabled. I looked through = the Makefile but could not suss out how that difference in configuration = was actually causing the problem. Has anyone else run into this problem and what was the fix (or = did you just install into /usr/local) ? -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 21:41:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 057B1436 for ; Tue, 16 Apr 2013 21:41:05 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id CEF411901 for ; Tue, 16 Apr 2013 21:41:04 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id 9so1164643iec.22 for ; Tue, 16 Apr 2013 14:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=dsXwYNnIWVWkZTsRvtjHEIsDkyCC8/b3nREVRG7lHK4=; b=RE1/7yoXByCsciKW3DWJBkvb4JLEj2e5MeDQxTPxszOBmzzHgEDno4dP8OniWJ6lGh wL86rdzIXxQWLI/giqAbsL1/Q32poEFbGmp11cJd7f2v6upX742rc7xXiNCGPyN6SCMH UVtsKoPraBVgNyC31lNe8EyLioXk5j2s+lK1GM43GPlDqWhe2mfcaU0Ny8uHt7+NnjYm Wp2r/bWGX2vD4LR+bTfRl8QHirbZ52crkg9PPc/sFrDc50nejKkbi5Xqg5vUPBXc+Awv KtVS21IIwvrQek4z6/gCYocSZsTGf7L5sh6PJfGANdVe6GDZQzl7taXQYDRawoEZa4ah +eWA== X-Received: by 10.50.77.48 with SMTP id p16mr9051697igw.53.1366148464552; Tue, 16 Apr 2013 14:41:04 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id y5sm3769739igg.7.2013.04.16.14.41.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 14:41:03 -0700 (PDT) Message-ID: <516DC569.2030409@gmail.com> Date: Tue, 16 Apr 2013 16:40:57 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD as Samba Server and Windows as Client References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 16 Apr 2013 21:41:05 -0000 On 4/16/2013 2:20 PM, Mehmet Erol Sanliturk wrote: > Dear All , > > I could be able to connect a FreeBSD 9.1 amd64 computer as client to a > Windows XP ( 32 bits ) by > using information supplied by the mail > > http://lists.freebsd.org/pipermail/freebsd-questions/2013-April/250500.html > > and I sent a mail > > http://lists.freebsd.org/pipermail/freebsd-doc/2013-April/021857.html > > to share my findings . > > > Previously , I tried to make a FreeBSD 9.1 amd64 as Samba server and > connect a Windows XP as a client computer . > > By using The FreeBSD Handbook , many documents from www.samba.org and > Internet , > I could not be able to access to the FreeBSD Samba server from Windows XP : > > Continuously I have received "Access denied" error message in Windows XP > although in the server the related directory and files have mode > rwx-rwx-rwx . > > The same message is produced even for Linux Samba Server . > > The examples given in the documents are partial statements without actually > used > files / statements in such a setting , and sometimes inconsistent or > contradictory > with each other because they are mostly written manually . > > > If a working , applicable set of files / statements are supplied , it will > be appreciated very much . > > After a successful implementation , I will send an e-mail about this set up > as an example for > the FreeBSD Handbook to share our information with other people in need . > > > Thank you very much . > > Mehmet Erol Sanliturk My guess is your firewall. Samba uses tcp and udp, you have to allow udp on ports 137 and 138. Turn off your firewall and try again. It's frustrated me a couple times when I've first set it up. Either that, or add `guest ok = Yes` lines to the shares. If you have a second non-windows computer available, I'd try with that. Windows makes some assumptions about what to remember, and sort of assumes the server's working properly from the beginning. Using another computer will make testing faster. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 21:58:21 2013 Return-Path: Delivered-To: freebsd-questions@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 42E1F7DE for ; Tue, 16 Apr 2013 21:58:21 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 041091AB6 for ; Tue, 16 Apr 2013 21:58:20 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1USDtK-0001ff-Q0 for freebsd-questions@freebsd.org; Tue, 16 Apr 2013 23:58:18 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Apr 2013 23:58:18 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Apr 2013 23:58:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: 9.1 Postfix problem Date: Tue, 16 Apr 2013 21:58:05 +0000 (UTC) Lines: 19 Message-ID: References: <459A07BB-BAD9-413D-83BA-D66BA04744B1@kraus-haus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) 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: Tue, 16 Apr 2013 21:58:21 -0000 On Tue, 16 Apr 2013 17:16:20 -0400, Paul Kraus wrote: > When building postfix under 91. I am running into an odd problem. I use > the INST_BASE option, which seems to cause the problem (it worked fine > with 9.0). The 'make' goes fine, but the 'make install' fails when > trying to install the startup script to /usr/etc/rc.d instead of > /etc/rc.d. It works fine if INST-BASE is disabled. I looked through the > Makefile but could not suss out how that difference in configuration was > actually causing the problem. > > Has anyone else run into this problem and what was the fix (or did you > just install into /usr/local) ? No problems at all for me with Postfix on 9.1-RELEASE, which I just install with the defaults. My postfix is in /usr/local/sbin. Why would you want to do things differently? From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 22:06:26 2013 Return-Path: Delivered-To: freebsd-questions@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 B15BDBA6 for ; Tue, 16 Apr 2013 22:06:26 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 84C661B1A for ; Tue, 16 Apr 2013 22:06:26 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so1198019ieb.15 for ; Tue, 16 Apr 2013 15:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=/TMiRg8DWikQzAhD0qHlDcJcX5YtdishuLI7uz0Opf8=; b=sQMGGUjXUc5cvVFjjpoXbBgBUcur77PJuUmVkr9O27D3Wi7aQptSQ+dhwlzz+uLdhH YtoUFWLN2k0EdlNdHLf8W/aJNyuVpv7ezCDFUzOJfDme2ggpiQLKlF6lNN7sEbeUNnst lAsRmuHFLsQ6Wc/pP5Jk5vYw2MizDe2cta5EkpeT8aQ3RRZ9yRPxifHRm7g0hN+9Kf8k Cmev1zncMvSYG3atAJwaMfsY/KTP4fo1t0Y5EHfd9zWUybweb7jJE3Hk63LZvkJD6bGS BgKTL2YjjG7//k/zQBf8uWS7a1XoIj1+mNlcisaUPz/+eIGV4W//nNHpxZ5/HIf+MgYm A2/w== X-Received: by 10.43.8.133 with SMTP id os5mr2200097icb.38.1366149986304; Tue, 16 Apr 2013 15:06:26 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id wx2sm3898172igb.4.2013.04.16.15.06.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 15:06:25 -0700 (PDT) Message-ID: <516DCB5B.7080803@gmail.com> Date: Tue, 16 Apr 2013 17:06:19 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: J David Subject: Re: 9-STABLE doesn't boot: can't load 'kernel' References: <516C63CC.4030609@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 16 Apr 2013 22:06:26 -0000 On 4/16/2013 1:36 AM, J David wrote: > loader.conf was empty and there's no 4k gnops, geli, anything like that. > This is a 100% normal install. > > Although, since you mentioned 4k blocks, I did leave a gap between > ada0p1 and ada0p2 to start the root partition on a 4k boundary. (It's > an SSD that will almost never be written to once installed, so that > might be a bit silly, but it's a habit already.) > > I decided to try this again without the gap, and that seems to have > worked. I made it through install and partitioning and OS updating to > 9-STABLE and installing new boot blocks and it seems to have worked. I > even got it to work with a ZFS root. > > Here's the partition table I ended up with: > > => 34 234441581 ada0 GPT (111G) > 34 990 1 freebsd-boot (495k) > 1024 226051072 2 freebsd-zfs (107G) > 226052096 8389519 3 freebsd-swap (4.0G) > > I'm not sure why this would make a difference, but either it does or > doing it cleared out whatever else was wrong. This box will be stress > tested and rebooted quite a bit in the next few days, so I will report > back if it comes unglued. :) > > Thanks for the suggestion! > I'd say file a bug report, since subtly hidden parts of the disk can be beneficial in the right circumstances. That, and it should just work. Does your drive report the blocks as 512 bytes or 4k? If you're using zfs now, run `zdb | grep ashift` and it should list 12 if it's 4k. Otherwise, you can get a performance hit if the drive's 4k native. Two of my drives are 4k native but report as 512b, so I had to trick zfs with gnop. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 02:34:41 2013 Return-Path: Delivered-To: freebsd-questions@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 ECD92F45 for ; Wed, 17 Apr 2013 02:34:41 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [IPv6:2607:f8b0:400c:c02::22a]) by mx1.freebsd.org (Postfix) with ESMTP id ADA863DA for ; Wed, 17 Apr 2013 02:34:41 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id p12so924104vbe.1 for ; Tue, 16 Apr 2013 19:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=bZCRCpUEMymnDOfyn4332BYpkHf1PwHdGIBlOBRYAnc=; b=lu+lgDTheGIYbOvhqaansagSAmi1/s18VVri5nI4ZNhQlGMECubyqeFp1/VBMoWt68 GA5cX9nC+MfjwD6Qe6I/ahSgxPX71tx1ms2q7WTbYN6GQD5WvNvlrBlskClO37Jofkma gpkyiaUl5jt1rScDsN4MqO8dPzjRl5E+AWwwwCrd+OJRDzgjS4Ke2p/zxdb6NkoYXVGr Heae6lCtRdJK9fLsZ9pSuFapRnxZ6ExBmDmN6cvmcTwy1bNsOfhSDwucUn7dicng81T1 1pa3woDW7Umse40tDW1arpNsKg52C/fsb2Ry1JG3ThDceIQPMBTxlHyXn1ml9GSxv1Re Zt6A== MIME-Version: 1.0 X-Received: by 10.52.249.105 with SMTP id yt9mr2954739vdc.86.1366166081190; Tue, 16 Apr 2013 19:34:41 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 19:34:41 -0700 (PDT) In-Reply-To: <516DC569.2030409@gmail.com> References: <516DC569.2030409@gmail.com> Date: Tue, 16 Apr 2013 19:34:41 -0700 Message-ID: Subject: Re: FreeBSD as Samba Server and Windows as Client From: Mehmet Erol Sanliturk To: Joshua Isom Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions Mailing List 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: Wed, 17 Apr 2013 02:34:42 -0000 On Tue, Apr 16, 2013 at 2:40 PM, Joshua Isom wrote: > On 4/16/2013 2:20 PM, Mehmet Erol Sanliturk wrote: > >> Dear All , >> >> I could be able to connect a FreeBSD 9.1 amd64 computer as client to a >> Windows XP ( 32 bits ) by >> using information supplied by the mail >> >> http://lists.freebsd.org/**pipermail/freebsd-questions/** >> 2013-April/250500.html >> >> and I sent a mail >> >> http://lists.freebsd.org/**pipermail/freebsd-doc/2013-**April/021857.html >> >> to share my findings . >> >> >> Previously , I tried to make a FreeBSD 9.1 amd64 as Samba server and >> connect a Windows XP as a client computer . >> >> By using The FreeBSD Handbook , many documents from www.samba.org and >> Internet , >> I could not be able to access to the FreeBSD Samba server from Windows XP >> : >> >> Continuously I have received "Access denied" error message in Windows XP >> although in the server the related directory and files have mode >> rwx-rwx-rwx . >> >> The same message is produced even for Linux Samba Server . >> >> The examples given in the documents are partial statements without >> actually >> used >> files / statements in such a setting , and sometimes inconsistent or >> contradictory >> with each other because they are mostly written manually . >> >> >> If a working , applicable set of files / statements are supplied , it will >> be appreciated very much . >> >> After a successful implementation , I will send an e-mail about this set >> up >> as an example for >> the FreeBSD Handbook to share our information with other people in need . >> >> >> Thank you very much . >> >> Mehmet Erol Sanliturk >> > > My guess is your firewall. Samba uses tcp and udp, you have to allow udp > on ports 137 and 138. Turn off your firewall and try again. It's > frustrated me a couple times when I've first set it up. Either that, or > add `guest ok = Yes` lines to the shares. If you have a second non-windows > computer available, I'd try with that. Windows makes some assumptions > about what to remember, and sort of assumes the server's working properly > from the beginning. Using another computer will make testing faster. > In Windows , Firewall is OFF . There is no any other firewall in the network . >From a Linux computer , it is possible to connect . Guest is allowed . In Windows , in its menus , during my settings , I could not see any mention of "Ports" . Therefore , it is necessary to know how to set such ports . It seems that , some values are not set in Windows . In documents , sometimes their writers , are not mentioning some points . These points may be not important for them but may be critical for a newly starter person . Documentation write-ups are full of such missing "expertise" information . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 05:28:53 2013 Return-Path: Delivered-To: freebsd-questions@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 D9A8355F for ; Wed, 17 Apr 2013 05:28:53 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id C2542B11 for ; Wed, 17 Apr 2013 05:28:53 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1USKvH-00042O-DH for freebsd-questions@freebsd.org; Tue, 16 Apr 2013 22:28:47 -0700 Date: Tue, 16 Apr 2013 22:28:47 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366176527257-5804408.post@n5.nabble.com> Subject: zdb queries give error on healthy zpools MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 05:28:53 -0000 I have 3 pools and all zdb queries for these pools or child datasets return with an error message. All 3 pools are healthy and functioning correctly. # zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ASHIFT bsds 48.8G 16.0G 32.8G 32% 1.29x ONLINE 12 mylib 266G 740M 265G 0% 1.00x ONLINE 9 tank0 49.8G 19.1G 30.7G 38% 1.00x ONLINE 12 '# zdb -C' works, but that command without any poolname reads data from zpool.cache. Pool or on child dataset-specific queries (while using any of -b -d -D -C -i -h ) give this: # zdb -vvv -h bsds zdb: can't open 'bsds': Device not configured zdb: can't open 'bsds/usr': Device not configured zdb: can't open 'mylib': Invalid argument zdb: can't open 'tank0': Invalid argument I also have a faulted zpool in the list: bsdr - - - - - FAULTED - But I do not think that this faulted status will cause such zdb problems. Regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/zdb-queries-give-error-on-healthy-zpools-tp5804408.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 06:50:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0C3DCD98 for ; Wed, 17 Apr 2013 06:50:26 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id E6CF9ECE for ; Wed, 17 Apr 2013 06:50:25 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1USMCG-0001Pf-Tf for freebsd-questions@freebsd.org; Tue, 16 Apr 2013 23:50:24 -0700 Date: Tue, 16 Apr 2013 23:50:24 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366181424913-5804418.post@n5.nabble.com> In-Reply-To: References: <516DC569.2030409@gmail.com> Subject: FreeBSD as Samba Server and Windows as Client MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 06:50:26 -0000 There are just so many things that could go wrong on a samba setup that it is beyond funny in my opinion. You have authentication method (kerberos, pam, txt), ports, winbind and dns just to list a few. I suggest you start samba in debug mode and enable full logging. The documentation from samba its self is probably going to be much more comprehensive: http://www.samba.org/samba/docs/man/manpages-3/smbd.8.html I would also try to connect with various clients like a linux, XP, vista or win7. These connection attempts should generate comprehensive logs when samba is running in debug mode. You can then start to get some idea why the connection is being refused by reading through the generated logs. Also, several how-to's already exist on the FreeBSD forums - as an example: http://forums.freebsd.org/showthread.php?t=36137 ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/FreeBSD-as-Samba-Server-and-Windows-as-Client-tp5804306p5804418.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 08:09:00 2013 Return-Path: Delivered-To: freebsd-questions@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 87E95A0B for ; Wed, 17 Apr 2013 08:09:00 +0000 (UTC) (envelope-from 3m1huUQcQEZYuC14HJE0N4BI.CO618P.2EC5H441I3-GK4IJ8EDI5H441I3.EH6@photos-server.bounces.google.com) Received: from mail-pd0-f202.google.com (mail-pd0-f202.google.com [209.85.192.202]) by mx1.freebsd.org (Postfix) with ESMTP id 633E3274 for ; Wed, 17 Apr 2013 08:09:00 +0000 (UTC) Received: by mail-pd0-f202.google.com with SMTP id 5so43131pdd.1 for ; Wed, 17 Apr 2013 01:08:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:reply-to:message-id:date:subject:from:to :content-type; bh=RhybN7qJ5Jmyh3McsFXj19OCm/z5+/Ul/6ozSh4loWM=; b=GGqhkFtlax0DjMRTRhJ53+8PwP2ZMZRD4BUTll9tTzWSfinYJayxrB+ne8jdWjcHgL 1ehhuo3//MCNAWjvfnSSMzYm+fRUU/OBwaOd4qBAiRZu/gEOjW3IXgU7lyu263QF5Bv0 9vdyUmtiEcV/IktWSA+7lvGvUbGwU0Vw9vsKyO+CgiQvHlPamCQgo92bM1Y7kxiXFS5s ERI2emV4g5o14Vfc0kgk7jWIeidSq6SvuvFD87mbhc477wH7CnxfLazF1ADIAy+kH2A9 EpI5C+0kDTD16wI+reZHT0VATA+iKsBp3hX1g3hSSM+I13lQA9XKn3hZq+C/DQ6z29Yp VtQQ== MIME-Version: 1.0 X-Received: by 10.66.12.161 with SMTP id z1mr488230pab.11.1366186139824; Wed, 17 Apr 2013 01:08:59 -0700 (PDT) Message-ID: Date: Wed, 17 Apr 2013 08:08:59 +0000 Subject: Freight forwarder & logistics provider shared an album with you. From: "Freight forwarder & logistics provider" To: freebsd-questions@freebsd.org Content-Type: multipart/related; boundary=bcaec520e4f78fb27004da89ffbb 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: Freight forwarder & logistics provider List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 08:09:00 -0000 --bcaec520e4f78fb27004da89ffbb Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 RGVhciBNeSBGcmllbmQNCg0KICAgICAgICAgIE5pY2UgZGF5LCBIeXVuIFlvdW5nIGlzIGEgbGVh ZGluZyBwcm9mZXNzaW9uYWwgZnJlaWdodCBmb3J3YXJkZXINCmFuZCBsb2dpc3RpY3MgcHJvdmlk ZXIgd2hvIGZvY3VzIG9uIHRoZSBzaGlwbWVudCBmcm9tIFNvdXRoIENoaW5hIHRvIGFsbA0KdGhl IHdvcmxkLiBIeXVuIFlvdW5nIHN0YXJ0ZWQgZnJlaWdodCBmb3J3YXJkaW5nIG9wZXJhdGlvbiBh dCBTaGVuemhlbiBpbg0KMjAwNC4gQmFzZWQgYXQgU2hlbnpoZW4sIG91ciBhbWJpdGlvbiBoYXZl IHB1c2hlZCB1cyBmb3J3YXJkIHRvIGV4cGFuZCB0bw0Kb3RoZXIgY2l0aWVzIGluIHNvdXRoIG9m IENoaW5hLiBOb3cgd2UgaGF2ZSBjYXBhY2l0eSBvZiBoYW5kaW5nIHNoaXBtZW50IHRvDQpvciBm cm9tIGFsbCB0aGUgcG9ydHMgaW4gc291dGggb2YgQ2hpbmEuDQogICAgICAgICAgICBIb2xkcyB3 aGlsZSB3aG9sZSAtIGhlYXJ0ZWRseSBhY2hpZXZlcyB0aGUgYmVzdCBlbnRlcnByaXNlDQpvYmpl Y3RpdmUsIFdpdGggdGhlIGdyZWF0IHN1cHBvcnQgb2Ygb3VyIGdsb2JhbCBhZ2VuY3ksIHdlIHBy b3ZpZGUgc2VydmljZXMNCnRvIG91ciBjdXN0b21lcnMgdGhyb3VnaCBwcm9jZXNzLWRyaXZlbiBv cGVyYXRpb24gdGVhbSwgYWR2YW5jZWQNCmluZm9ybWF0aW9uIHN5c3RlbSwgYW5kIHN0cm9uZyBt YW5hZ2VtZW50IHRlYW0uDQoNCkdsYW5jZSB0byBvdXIgY29tcGFueToNCjEuIFNlYSBGcmVpZ2h0 LCBpbmNsdWRlZCBGQ0wmTENMOw0KMi4gQWlyIEZyZWlnaHQ7DQozLiBFeHByZXNzLCBpbmNsdWRl ZCBESEwsVVBTLEZFREVYLFNBR0FXQSBhbmQgU0NPUkVKUDsNCjQuIEltcG9ydCAmIEV4cG9ydDsN CjUuIExhbmQgVHJhbnNwb3J0YXRpb24uDQoNCiAgICAgICAgICAgIFdlIHNlZWsgbm8gc3Ryb25n ZXN0IG9ubHkgbW9yZSBzcGVjaWFsaXplZCwgc2VuaW9yLiBZb3VyDQpzYXRpc2ZpZWQgd2lsbCBi ZSBvdXIgbWF4aW1hbCBwcmlkZS4NCg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KU2hlbnpoZW4gSHl1 biBZb3VuZyBJbnRlcm5hdGlvbmFsIFRyYW5zcG9ydGF0aW9uIENPLixMVEQNCkphY2t5IFlhbmcN Cg0KQWRkOiBGbG9vciA3JjgsIFNvdXRoIEJhb5JhbiBSb2FkLCBMdW9odSBEaXN0cmljdCwgU2hl bnpoZW4sIEd1YW5nZG9uZywNCkNoaW5hLg0KDQpodHRwczovL3BpY2FzYXdlYi5nb29nbGUuY29t L2xoL3NyZWRpcj91bmFtZT0xMTM3NjUwNzQwNzM2MzY0MjE4ODYmdGFyZ2V0PUFMQlVNJmlkPTU4 NjczNDgyMjIwNTM5MDMxNjkmYXV0aGtleT1HdjFzUmdDSXVya2E3dGl0YXZMdyZpbnZpdGU9Q1BD cDJ1c00mZmVhdD1lbWFpbA0K --bcaec520e4f78fb27004da89ffbb-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 08:58:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4F554B8F for ; Wed, 17 Apr 2013 08:58:30 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm40-vm7.bullet.mail.bf1.yahoo.com (nm40-vm7.bullet.mail.bf1.yahoo.com [72.30.239.215]) by mx1.freebsd.org (Postfix) with ESMTP id C052967B for ; Wed, 17 Apr 2013 08:58:29 +0000 (UTC) Received: from [98.139.215.143] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 17 Apr 2013 08:55:24 -0000 Received: from [98.139.213.7] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 17 Apr 2013 08:55:24 -0000 Received: from [127.0.0.1] by smtp107.mail.bf1.yahoo.com with NNFMP; 17 Apr 2013 08:55:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1366188924; bh=vCEj7H3q2x3kIvQwKecc5mkcSF9pgGJL8A0cPfbpqXE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Google-DKIM-Signature:X-Received:MIME-Version:Received:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=4qDch82Ku7zNT/0L2AUpz9hmS3RRiKYkzJknBJERkcwX+RoQxnhyqqDz/iW7Qr2MxBTuVX8ejjBaiKrCDMbrikviQiBc+agZ11teZwCtI64LzVdJvzht1gLihplExJSw7BQwo5DpnVp5QlnTyMbPEVNFfbGckTTc6zV7YuTp1uc= X-Yahoo-Newman-Id: 490197.72502.bm@smtp107.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: dXOGkZQVM1kKKq9AtjDxTMxoAJxTVwWTzCuABmlFiRox814 OaoctWYAHQRdrboGp91JEoTIbNuIORiH7_tVvv99lPr96R.CrAjSIUOIYqQA Q.4FdbVHALivVseDAZV9.RWTApGTeFsko.2VboCxmzpqcpd50oBZ1TVQb8Z4 uldwa7gbdiWyVfzSymZ2Ktv6jd2MdG1LEbT9PaSWYnUqyhU_MdPM8fnZKSY6 san9DmBCLq3gvr_qq_pr7wH8VBC3I5ImWT4X4D2Z25ZFT9_BIDdZ15A7AU11 cd5F0BP00nB8izX1X7THYq9GHowm90HpkdqIkgVjUHu9XImVRS9t_vDlSSL5 VGRcre58t5tqFEcrY9SbWkflKAK2W.hUgzuzrPExyWpHQ9T8et9X_ukaf5Xx 8k369zX3AFNqdowj5FtF_Jbvss2Y7XZK9_3vElbyxY.KAijkovSc- X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u X-Rocket-Received: from mail-ve0-f170.google.com (axelbsd@209.85.128.170 with ) by smtp107.mail.bf1.yahoo.com with SMTP; 17 Apr 2013 01:55:24 -0700 PDT Received: by mail-ve0-f170.google.com with SMTP id 14so1235239vea.1 for ; Wed, 17 Apr 2013 01:55:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=vCEj7H3q2x3kIvQwKecc5mkcSF9pgGJL8A0cPfbpqXE=; b=mxmpZvFBrlm9fSHEgPoiTIZlAiEINskG+QIVis+vjYRNmF/EAJbluMadADPKkvctLY W2jFxk+DU1iUlOcMeQk3IHSvQYpBA6REZ3XnZEucXL97LddcdTSsC5LfC2HV+g4GcrZC C5xKoUOLIs3+6bEfBLwG3Q2vczLENixHOSNOovXW4Gs8IwwiQa+is6NEZXOxJ+QZfHPH ty/jONC/f9dOoAP3xvtXK9mbFjWm/Dlwae2Leg1LnfGyMhhQjHv5APK/XWVv1zM1+xuZ nBWIIccCZj6yHb5M3RzW0V4TUPHd/Wo3BYPBHTIa1ve39rQd+lqC74Ob6Mudge1hPc78 t9rQ== X-Received: by 10.58.181.201 with SMTP id dy9mr4167344vec.34.1366188923859; Wed, 17 Apr 2013 01:55:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.146.6 with HTTP; Wed, 17 Apr 2013 01:55:03 -0700 (PDT) In-Reply-To: <20130416221851.5d898701.freebsd@edvax.de> References: <516DA8A8.5040305@gmail.com> <20130416221851.5d898701.freebsd@edvax.de> From: Alexandre Date: Wed, 17 Apr 2013 10:55:03 +0200 Message-ID: Subject: Re: Keeping FreeBSD with custom kernel up to date: freebsd-update no option? To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions Mailing List , andreas scherrer 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: Wed, 17 Apr 2013 08:58:30 -0000 Hi Andreas and Polytropon, In the case your are tracking -RELEASE branch, you can use freebsd-update tool to apply binary security patches on your system and upgrade versions (e.g. 9.0 to 9.1 or 9.x to 10.0 when available). Freebsd-update tool apply binary updates to your system and GENERIC kernel. Furthermore, this tool syncs sources (by default). So if you are using custom kernel, you just have to rebuild and install your custom kernel. It is recommended to not use SVN to update your system sources if you are using freebsd-update tool to avoid troubles. Regards, Alexandre On Tue, Apr 16, 2013 at 10:18 PM, Polytropon wrote: > On Tue, 16 Apr 2013 21:38:16 +0200, andreas scherrer wrote: > > Dear FreeBSD savvies > > > > I am (still) struggling to understand how to keep my FreeBSD system up > > to date ("world"/system, not ports). I want to "track" RELEASE (not a > > development branch) and I want to receive security related updates. And > > I want to run a custom kernel. > > Without actually havint tested it, it seems that if you want > to use freebsd-update (binary updating), you should note this: > > In /etc/freebsd-update.conf, you should have the line for what > to update as "Components src world". > > This should prevent overwriting of the kernel, but you need to > compile your kernel and install it. The component "src" will > make sure you have the proper kernel sources. I assume a custom > kernel configuration file in /usr/src/sys/{i386|amd64}/conf/ > is _not_ being overwritten by freebsd-update. > > Use the -r option of freebsd-update to specify the correct > release if required. It should follow -RELEASE-p for the > currentl patchlevel N (which you intend to follow) normally. > > > > > From what I understand I cannot use "freebsd-update" in this case > > because it will invariably either overwrite my custom kernel (if I have > > "Components kernel" in the config file) or not update the kernel sources > > in /usr/src/sys (when I do not have "Components kernel" in the config > > file). See [1]. > > As far as I read from "man freebsd-update.conf", the "src" component > will not exclude kernel sources; "kernel" refers to the kernel and > the modules as binary stuff. > > This is the relevant text passage: > > The components are ``src'' > (source code), ``world'' (non-kernel binaries), > and ``kernel''; the sub-components are the indi- > vidual distribution sets generated as part of > the release process (e.g., ``src/base'', > ``src/sys'', ``world/base'', ``world/catpages'', > ``kernel/smp''). Note that prior to > FreeBSD 6.1, the ``kernel'' component was dis- > tributed as part of ``world/base''. > > So "src" will include "src/sys" which is the kernel sources you > will need to build your custom kernel. > > > > > This leaves me with the only possibility to use SVN to update /usr/src, > > right? > > No, but it might be the "more advanced" alternative, and it should > work. Note that in _this_ case, you will also have to rebuild the > world, so kernel and world are in sync after an update. Refer to > the comment header of /usr/src/Makefile for the whole process that > has to be performed after updating (or see in the Handbook: the > section about updating by source). > > > > > I have a copy of the SVN sources (for the outdated RELEASE-9.0.0 > > but that's a different story), see below for "svn info"). As I > > understand [2] I cannot mix freebsd-update and SVN, right? > > It could cause trouble. Deciding for _one_ way should be better. > > > > > So I can run "svn update" in /usr/src whenever I like. But what then? Do > > I need to rebuild the world and my custom kernel every time I run "svn > > update" (and there are some updates)? > > Yes, or better: As soon as it is required. This depends on _what_ > has been part of the update. For example, kernel updates _can_ > require updates of userland programs or libraries, but it's also > possible that it's not the case. To be sure, rebuild. > > > > > I'm on a low powered consumer > > device and it takes considerable amount of time to build the world and > > kernel (plus I still don't feel comfortable doing such tasks remotely). > > In this case, use freebsd-update as explained at the beginning of > my message: Update components "world" and "src", leave out "kernel", > the rebuild the kernel by source and install it. Then reboot. > > > > > Is this really "the way to do it" or am I missing something? > > There are _several_ ways to do it. :-) > > > > > There are quite some posts, websites and threads out there (see [3] or > > [4] for example) about this topic but (surprisingly?) I could not (yet) > > find a conclusive answer. > > This is because the answer depends on what you actually want to do > (follow RELEASE, STABLE, CURRENT), and how you want to do it (binary, > by source). > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 10:58:43 2013 Return-Path: Delivered-To: freebsd-questions@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 E5F1A5B8 for ; Wed, 17 Apr 2013 10:58:43 +0000 (UTC) (envelope-from chaitra@businesspromotiontechnologies.org) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 879FDC16 for ; Wed, 17 Apr 2013 10:58:42 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id y10so1429766wgg.21 for ; Wed, 17 Apr 2013 03:58:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:date:message-id:subject :from:to:content-type:x-gm-message-state; bh=HfitZbgN+ZqU68JHI2r36LNwaL+vHq3xI6KhmTFG+6g=; b=G9HXrbj9rNH7YcNIybE5JomNKXJRPsue2qnZDVkoJzqlL5PlmToUWVd0KHyVOBvol2 D/Mb/5WT5gvgXirCIOITatF7R9x9VsMDYg99FRtZjpMQjX/cdeu5LLzZ8+v2ix/vuU7o hsTsP6T39gjZ/BoQjqjV7ocbxDFpEt11r8rweyGmtUr3QCZ+hoOhN302Bk4X9i38Rg57 MG5LMCAkCD7aTcM1/EUh5BdRLJu5xuvAxAKtB+Sw1JlcjoZS9YwDj2JdYaq05j6eMy/E NbSSqC1VkidHHBmBqf6HNTIf4Kug8klXPHA5vceoKN1ZWc6qFtHFHYLSskYrySDXnChC Q5RA== MIME-Version: 1.0 X-Received: by 10.180.83.199 with SMTP id s7mr7853145wiy.19.1366196315750; Wed, 17 Apr 2013 03:58:35 -0700 (PDT) Received: by 10.194.34.168 with HTTP; Wed, 17 Apr 2013 03:58:35 -0700 (PDT) X-Originating-IP: [122.177.255.112] Date: Wed, 17 Apr 2013 16:28:35 +0530 Message-ID: Subject: seo services From: Chaitra singh To: freebsd-questions@FreeBSD.org X-Gm-Message-State: ALoCoQn+jOaKpAg/5yD8cHPuH9sPwtAjmsY7wnhzLyNVd1MmctPQ5FpV5yn10hslmn851gmrvRM4 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 17 Apr 2013 10:58:44 -0000 Hello, Greetings of the day My name is Chaitra and work Business Development Executive at BPT SOLUTIONS Pvt. Ltd I would like to discuss a business opportunity with you. BPT SOLUTIONS is a SEO & Web Design, Development firm based in India, with over 9 years of experience. We have been partnering with various digital agencies over U.S.A. and UK We are offering unique Affordable package for SEO: 299 USD/mo the following package. Monthly Task and responsibilities:- 20 Search Engine Submission 200 Manually Directory Submissions 90 Article Submissions (1 Articles Submit in Top 30 Directories) 10 Press Release Distributions (1 Press Release submit in 10 Sites) 5 Web2.0/Blog postings(Using pre-written articles) 30 Social Bookmarking Submissions 5 Forum postings 3 Unique Acrticle writing (400+ words) 1 Press Relcease writing (350+ words) Keywords Mapping New pages suggestions Keywords research Competitor Analysis Title Tag changes suggestions Meta tags changes suggestions Alt tag changes suggestions HTML Site Map XML site map setup Anchor text optimization Google webmaster setup Google analytics setup Weekly Work Report Monthly Ranking Report Monthly Full Detailed SEO Work Report in Excel. We use only white hat SEO techniques for each website. Kindly revert back if you are interested. I would be happy to share our Work Portfolio, Client testimonials and Service Packages. Our Company Website: www.businesspromotiontechnologies.com If this is something you are interested, please respond to this email. Kind Regards, Chaitra Business* *Development Executive From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 12:25:47 2013 Return-Path: Delivered-To: questions@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 6227DC78 for ; Wed, 17 Apr 2013 12:25:47 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5276F5E3 for ; Wed, 17 Apr 2013 12:25:46 +0000 (UTC) Received: from [10.0.10.1] ([173.88.202.176]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 17 Apr 2013 05:25:48 -0700 Message-ID: <516E94CA.3070700@a1poweruser.com> Date: Wed, 17 Apr 2013 08:25:46 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD questions Subject: How to manually start firewall after system completed boot. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Apr 2013 12:25:48.0261 (UTC) FILETIME=[B1004150:01CE3B66] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] 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: Wed, 17 Apr 2013 12:25:47 -0000 I have special purpose situation where I need to wait until the boot process has completed the starting of the system and then start the firewall (ipfw or pf). Commenting out the firewall statements from the hosts /etc/rc.conf does stop the firewall from starting at boot time. Is there some format of the service command that could be used to manually start the selected firewall? Any ideas on how to accomplish this is welcome. Thanks From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 13:06:40 2013 Return-Path: Delivered-To: questions@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 899298E8 for ; Wed, 17 Apr 2013 13:06:40 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id 55FC0815 for ; Wed, 17 Apr 2013 13:06:39 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=cIpiQyiN c=1 sm=0 a=nVny9ETX7T5uMhI2oTVyRA==:17 a=WcSOCXuzlF8A:10 a=AaUjGI9IrlcA:10 a=kj9zAlcOel0A:10 a=OA2lqS22AAAA:8 a=sIt-5M63AAAA:8 a=exXZXmZpDiAA:10 a=yR-JbeZEVYBDJSwXEzoA:9 a=CjuIK1q_8ugA:10 a=nVny9ETX7T5uMhI2oTVyRA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.193.164 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.193.164] ([209.6.193.164:58150] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 80/8A-22205-E5E9E615; Wed, 17 Apr 2013 09:06:39 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20846.40542.33912.779263@jerusalem.litteratus.org> Date: Wed, 17 Apr 2013 09:06:38 -0400 To: Joe Subject: How to manually start firewall after system completed boot. In-Reply-To: <516E94CA.3070700@a1poweruser.com> References: <516E94CA.3070700@a1poweruser.com> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid Cc: FreeBSD questions 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: Wed, 17 Apr 2013 13:06:40 -0000 Joe writes: > I have special purpose situation where I need to wait until the boot > process has completed the starting of the system and then start the > firewall (ipfw or pf). Commenting out the firewall statements from the > hosts /etc/rc.conf does stop the firewall from starting at boot time. > > Is there some format of the service command that could be used to > manually start the selected firewall? > > Any ideas on how to accomplish this is welcome. The "boot process", as used here, is simply a series of calls to various scripts in /etc/rc.d ... any of which can (theoretically) be invoked by itself. The details of this may be important; _please_ do more research before blowing yourself up. :-) Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 13:34:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B098CED for ; Wed, 17 Apr 2013 13:34:54 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE6995B for ; Wed, 17 Apr 2013 13:34:53 +0000 (UTC) Received: from roxette.lamaiziere.net (231.176.97.84.rev.sfr.net [84.97.176.231]) by smtp.lamaiziere.net (Postfix) with ESMTPA id AADF98070; Wed, 17 Apr 2013 15:28:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by roxette.lamaiziere.net (Postfix) with ESMTP id 0AEB36222; Wed, 17 Apr 2013 15:28:27 +0200 (CEST) Date: Wed, 17 Apr 2013 15:28:26 +0200 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org, Joe Subject: Re: How to manually start firewall after system completed boot. Message-ID: <20130417152826.64bfaf49@davenulle.org> In-Reply-To: <516E94CA.3070700@a1poweruser.com> References: <516E94CA.3070700@a1poweruser.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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: Wed, 17 Apr 2013 13:34:54 -0000 Le Wed, 17 Apr 2013 08:25:46 -0400, Joe a écrit : Hello, > I have special purpose situation where I need to wait until the boot > process has completed the starting of the system and then start the > firewall (ipfw or pf). Commenting out the firewall statements from > the hosts /etc/rc.conf does stop the firewall from starting at boot > time. > > Is there some format of the service command that could be used to > manually start the selected firewall? You can use onestart/onestop if the service is not enabled in rc.conf. service pf onestart or /etc/rc.d/pf onestart Regard From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 14:05:11 2013 Return-Path: Delivered-To: freebsd-questions@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 9A795856; Wed, 17 Apr 2013 14:05:11 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 5EFCBAD8; Wed, 17 Apr 2013 14:05:11 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id A640A33C3C; Wed, 17 Apr 2013 10:04:59 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 961CA39860; Wed, 17 Apr 2013 10:04:57 -0400 (EDT) From: Lowell Gilbert To: Paul Kraus Subject: Re: 9.1 Postfix problem References: <459A07BB-BAD9-413D-83BA-D66BA04744B1@kraus-haus.org> Date: Wed, 17 Apr 2013 10:04:56 -0400 In-Reply-To: <459A07BB-BAD9-413D-83BA-D66BA04744B1@kraus-haus.org> (Paul Kraus's message of "Tue, 16 Apr 2013 17:16:20 -0400") Message-ID: <44a9oxtfqv.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: bapt@freebsd.org, "freebsd-questions@freebsd.org List" , jgh@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: Wed, 17 Apr 2013 14:05:11 -0000 Paul Kraus writes: > When building postfix under 91. I am running into an odd > problem. I use the INST_BASE option, which seems to cause the problem > (it worked fine with 9.0). The 'make' goes fine, but the 'make > install' fails when trying to install the startup script to > /usr/etc/rc.d instead of /etc/rc.d. It works fine if INST-BASE is > disabled. I looked through the Makefile but could not suss out how > that difference in configuration was actually causing the problem. > > Has anyone else run into this problem and what was the fix (or did you just install into /usr/local) ? I use /usr/local, but this seems to be a typo in the last checkin, which changed the internal names of the port options to our brave new naming scheme. If you look in the Makefile clause for installing to base, renaming the option itself went correctly, but both halves of the '.if' now invoke USE_RC_SUBR. That's correct for PREFIX, but for installing into base should be USE_RCORDER instead. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 15:35:38 2013 Return-Path: Delivered-To: freebsd-questions@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 81135858 for ; Wed, 17 Apr 2013 15:35:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 316F6F98 for ; Wed, 17 Apr 2013 15:35:37 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 11C0525351; Wed, 17 Apr 2013 17:35:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3HFZihD001949; Wed, 17 Apr 2013 17:35:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 17 Apr 2013 17:35:44 +0200 From: Polytropon To: nightrecon@hotmail.com Subject: Re: pwd.db/spwd.db file corupption when having unsafe system poweroff Message-Id: <20130417173544.25266cd6.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 15:35:38 -0000 Allow me a few additions: On Tue, 16 Apr 2013 16:45:59 -0400, Michael Powell wrote: > Pressing the power button for 4 seconds as described is invoking the ACPI > layer to stimulate call(s) down to the system BIOS. No. In most (but of course not all) default settings the "long press" will forcedly (and with _no_ message to the OS) turn off the system's power. The "short press" will emit the ACPI signal to the OS to deal with the power-off sequence itself. Still it's possible to have a different programming for the button. For example, it seems to be common to have this button perform a "ACPI sleep", "ACPI hibernate" or "ACPI powersafe" mode on "short press", and (as you mentioned) the "ACPI power down" on long press. But as I said: _What_ the button actually does is defined in the CMOS setup. http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface#Power_states have a look at this page to find out more about the various possible signals (power states). > Whatever is set in the > BIOS wrt to power control and various power-savings modes are passed through > the ACPI layer. The problem with this is the acpi module in FreeBSD may, or > may not, be a perfect implementation for every possible piece of hardware in > existance. This statement especially applies in regards to laptops, where closing the lid can also trigger a specific signal, and opening the device again sends another signal. Vendors don't agree on how to "properly" do this, so there are many different ACPI implementations. % ls /boot/kernel/acpi* /boot/kernel/acpi.ko* /boot/kernel/acpi_ibm.ko* /boot/kernel/acpi_aiboost.ko* /boot/kernel/acpi_panasonic.ko* /boot/kernel/acpi_asus.ko* /boot/kernel/acpi_sony.ko* /boot/kernel/acpi_dock.ko* /boot/kernel/acpi_toshiba.ko* /boot/kernel/acpi_fujitsu.ko* /boot/kernel/acpi_video.ko* /boot/kernel/acpi_hp.ko* /boot/kernel/acpi_wmi.ko* You can see from this example that FreeBSD only supports a subset of what can be considered possible. Of course there are many "fields of compatibility", but it may still result in specific hardware not working properly -- mostly in the area of laptops and their accessories (like docking stations). > The piece of that which really concerns me are individual > manufactuer BIOS quirks can be just enough 'off' so as to misbehave even when > the FreeBSD acpi implentation is basically sound. Even though I did not experience that myself, it can be considered possible. A sloppy ACPI implementation can be the source of many kinds of trouble, even involving such "simple" devices like a power button. > The jist of this is (IMHO > here - YMMV) is I consider it a bad procedure to turn off a server as you've > described. Definitely. :-) > Use the shutdown command properly instead. I would never do what > your coworker did to any of my servers. A mechanicl protection could prevent that. > Caveat being sometimes you have no > other choice but to do a hard power-down. A hard power-down is done by using > the switch on the power supply, and not using the ACPI/BIOS from pressing > the power switch on the front. This is also possible. Both this _and_ the default "forced power off" (the "long press" in many defaults) equal the action of pulling the power cord. > When you do have an 'uh-oh' like this, FreeBSD normally boots back into an > unclean file system with corresponding whinings and complaints about how the > file system(s) were not properly dismounted. This is an intended behaviour. TO prevent further damage and to make data recovery possible (worst case), the system does not try to "boot by all means", just to make the (clueless) user happy. :-) > Normally a background fsck > ensues after 60 seconds of idle. This _can_ be dangerous, because at this time, the system has already been booted into a "somehow working" state. You should ask yourself the question: Can I invest the time to have _no_ background fsck (i. e., a foreground fsck which maybe will ask prior to doing anything "heavy") to make sure my data is consistent, because it is important data which _needs_ to be okay? In this case, put background_fsck="NO" in /etc/rc.conf -- and wait. When using UFS, there _may_ be file system damages so severe that fsck will _not_ correct them manually (which often leads to data loss of important data that could have been saved if the proper _user decision_ would have been taken place). This will only happen in the "interactive mode" at system startup. > In your case whatever files were left open > and not properly closed this background fsck, had it been allowed to run and > complete, would have cleaned this up. Maybe, maybe not. It highly depends on what actually happened, and it's nearly impossible to find that out, especially when there is no control about what the background fsck does (while the system is already happily running and humming). > The problem starts when someone > presses the power off button again, and again, before this process completes. > Using the power button ACPI/BIOS only compounds this situation. Correct. That's why the time to have fsck perform its task in the foreground should be invested, at least after such an abrupt action. > I would recommend you do NOT use the power button as you described above. > Period. In case of _servers_, this button is commonly considered an "emergency button" anyway, and therefor hardly used. :-) > In any event pay particular attention to that very first boot after > an 'uh-oh' power off event. Look at top and watch for the background fsck to > kick off and complete, returning the machine to quiescent state BEFORE you do > ANYTHING else to it. This includes pressing the button on the front. The "doing anything else" can be the problem with a background fsck. Let's say the server starts its services which start accessing the partitions currently checked by fsck. Yes, I know, snapshots and all this stuff. Sometimes it works. Sometimes it doesn't. My additional advice would be: Do not use a background fsck. If you had a power failure (for whatever reason), take the time to make sure your system boots into a verified state (NOT: boots into a questionable state, tries to verify it during normal operations, and pretends "everything is fine"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 15:57:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0D77B758 for ; Wed, 17 Apr 2013 15:57:41 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id E93D91FC for ; Wed, 17 Apr 2013 15:57:39 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1USUjr-0002nb-BH for freebsd-questions@freebsd.org; Wed, 17 Apr 2013 08:57:39 -0700 Date: Wed, 17 Apr 2013 08:57:39 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366214259342-5804493.post@n5.nabble.com> In-Reply-To: <1366176527257-5804408.post@n5.nabble.com> References: <1366176527257-5804408.post@n5.nabble.com> Subject: zdb queries give error on healthy zpools MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 15:57:41 -0000 *SOLVED* I apparently already had an answer from a previous question of mine. http://freebsd.1045724.n5.nabble.com/ZFS-How-to-fix-corrupt-ZDB-td5758864.html # zpool reguid Corrects the problem. With thanks to Steve Hartland for that tip. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/zdb-queries-give-error-on-healthy-zpools-tp5804408p5804493.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 16:16:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ED46CDD4 for ; Wed, 17 Apr 2013 16:16:19 +0000 (UTC) (envelope-from vmiller@verisign.com) Received: from exprod6og115.obsmtp.com (exprod6og115.obsmtp.com [64.18.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 6865E2F7 for ; Wed, 17 Apr 2013 16:16:19 +0000 (UTC) Received: from peregrine.verisign.com ([216.168.239.74]) (using TLSv1) by exprod6ob115.postini.com ([64.18.5.12]) with SMTP ID DSNKUW7KzTycZUgGCs8Cws83fgeJfkgEh84j@postini.com; Wed, 17 Apr 2013 09:16:19 PDT Received: from brn1wnexcas02.vcorp.ad.vrsn.com (brn1wnexcas02.vcorp.ad.vrsn.com [10.173.152.206]) by peregrine.verisign.com (8.13.6/8.13.4) with ESMTP id r3HFL1nF004428 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 17 Apr 2013 11:21:05 -0400 Received: from BRN1WNEXMBX01.vcorp.ad.vrsn.com ([::1]) by brn1wnexcas02.vcorp.ad.vrsn.com ([::1]) with mapi id 14.02.0342.003; Wed, 17 Apr 2013 11:21:01 -0400 From: "Miller, Vincent (Rick)" To: FreeBSD Subject: vBSDCon Announcement Thread-Topic: vBSDCon Announcement Thread-Index: AQHOO38rr7VBResfCUa8IyM/Z4UJng== Date: Wed, 17 Apr 2013 15:21:01 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.13.0.110805 x-originating-ip: [10.173.152.4] MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 17 Apr 2013 16:16:20 -0000 vBSDCon =95 SAVE THE DATE! Dulles, VA =95 October 25-27, 2013 Please join us October 25-27, 2013 at the Hyatt in Dulles, Virginia for the= first biennial vBSDCon event. This exciting weekend will bring together me= mbers of the BSD community for a series of roundtable discussions, educatio= nal sessions, best practice conversations, and exclusive networking opportu= nities. See below for details on this industry weekend not to be missed: AGENDA =95 Friday, October 25: Evening Reception =95 Saturday, October 26: General Session, Birds of a Feather Sessio= ns =95 Sunday, October 27: General Session, Breakout Sessions WHO SHOULD ATTEND =95 Developers =95 Engineers =95 Administrators =95 Innovators TOPICS =95 PkgNG w/ Baptiste Daroussin =95 A comprehensive look at bsdinstall with Devin Teske =95 Netflix Demo/Presentation with Scott Long =95 netmap with Luigi Rizzo =95 Migration from GCC to LLVM/Clang with David Chisnall Registration information will be sent to you in May! Questions? Please contact: eventsteam@verisign.com -- Vincent (Rick) Miller Systems Engineer vmiller@verisign.com t: 703.948.4395 m: 703.581.3068 12061 Bluemont Way, Reston, VA 20190 http://www.verisigninc.com =93This message (including any attachments) is intended only for the use of= the individual or entity to which it is addressed, and may contain informa= tion that is non-public, proprietary, privileged, confidential and exempt f= rom disclosure under applicable law or may be constituted as attorney work = product. If you are not the intended recipient, you are hereby notified tha= t any use, dissemination, distribution, or copying of this communication is= strictly prohibited. If you have received this message in error, notify se= nder immediately and delete this message immediately.=94 From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 16:40:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 76752365 for ; Wed, 17 Apr 2013 16:40:47 +0000 (UTC) (envelope-from freebsd@growveg.net) Received: from smtp1.servage.net (smtp1.servage.net [IPv6:2a01:3b0:1:fb:1::2001]) by mx1.freebsd.org (Postfix) with ESMTP id 3F17D402 for ; Wed, 17 Apr 2013 16:40:47 +0000 (UTC) Received: from potato.growveg.org (growveg-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:3d2::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.servage.net (Postfix) with ESMTPSA id 5F366325D5 for ; Wed, 17 Apr 2013 16:57:34 +0000 (UTC) Message-ID: <516ED089.6000008@growveg.net> Date: Wed, 17 Apr 2013 17:40:41 +0100 From: John User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130408 Thunderbird/17.0.5 MIME-Version: 1.0 To: FreeBSD Questions Subject: chromium won't build on FreeBSD 9.1 ports rev 315799 X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 16:40:47 -0000 Hello list, In my daily vulnerability report, I'm seeing this: ==================== Affected package: chromium-25.0.1364.160 Type of problem: chromium -- multiple vulnerabilities. Reference: http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html ==================== Latest ports update as of 1630 UTC - 315981 I try to update it. I get: ================================================================ portupgrade chromium ---> Upgrading 'chromium-25.0.1364.160' to 'chromium-25.0.1364.172' (www/chromium) ---> Building '/usr/ports/www/chromium' ===> Cleaning for chromium-25.0.1364.172 To build Chromium, you should have around 1 GB of memory and a fair amount of free diskspace (~ 2.2GB). ===> chromium-25.0.1364.172 has known vulnerabilities: Affected package: chromium-25.0.1364.172 Type of problem: chromium -- multiple vulnerabilities. Reference: http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html => Please update your ports tree and try again. *** [check-vulnerable] Error code 1 Stop in /usr/ports/www/chromium. *** [build] Error code 1 Stop in /usr/ports/www/chromium. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20130417-83106-6ngbzf-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=chromium-25.0.1364.160 UPGRADE_PORT_VER=25.0.1364.160 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/chromium (chromium-25.0.1364.160) (unknown build error) ================================================================= I know the code is now at revision 26.something. I have a look at https://wiki.freebsd.org/Chromium and follow the instructions there. I get up to here: ../../depot_tools/gclient sync --force Error: Can't update/checkout ~/tmp/depot_tools/src if an unversioned directory is present. Delete the directory and try again. Please advise if/how I can proceed? thanks, From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 18:28:01 2013 Return-Path: Delivered-To: freebsd-questions@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 B5F52961 for ; Wed, 17 Apr 2013 18:28:01 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) by mx1.freebsd.org (Postfix) with ESMTP id 56886D5B for ; Wed, 17 Apr 2013 18:28:01 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hq17so1868169wib.11 for ; Wed, 17 Apr 2013 11:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=4tb2oWUXx+FD9PRHbewTENlZ9TykZ8i9moX7hwGvfwU=; b=d+qDpzxeua7Cnqx2PVt/tgB7RGZIQTiFGmwRuudGRNijPmLmR0qc+iK/X2oxckwSkP NNazwKcLm+3mawH/jBf5p6Q0GvT2sVP0DlZiiNzm+tfKaPeg/CkdcRntrXLZ32Y1LW+8 LBKiqm379R7xSR8VF7pST2qFqzdtBPW1Gr/RTL1Ia8LnMZzlg1rrPRaOWhG/b6LLGPek ZkQox7nPjceGIoT882Do0NxH58+32qZHCiq33Va/Jj34FCezaLi12jrf5nOoqCm2L4b1 Q6T4JkhAVnAb+j2g3p1UiXtxwOUdopcaijXDx2DS9BDordc4tCiMNVmCb/ZISp8WaozK XcfQ== X-Received: by 10.180.108.106 with SMTP id hj10mr28555741wib.0.1366223280490; Wed, 17 Apr 2013 11:28:00 -0700 (PDT) Received: from ab_t510i.perfectworld.eu (dhcp-089-099-199-083.chello.nl. [89.99.199.83]) by mx.google.com with ESMTPS id fv2sm11336787wib.6.2013.04.17.11.27.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Apr 2013 11:27:59 -0700 (PDT) Message-ID: <516EE9AE.7030002@gmail.com> Date: Wed, 17 Apr 2013 20:27:58 +0200 From: Andrei Brezan User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130406 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: chromium won't build on FreeBSD 9.1 ports rev 315799 References: <516ED089.6000008@growveg.net> In-Reply-To: <516ED089.6000008@growveg.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 18:28:01 -0000 On 04/17/13 18:40, John wrote: > Hello list, > > In my daily vulnerability report, I'm seeing this: > > ==================== > Affected package: chromium-25.0.1364.160 > Type of problem: chromium -- multiple vulnerabilities. > Reference: > http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html > ==================== > > Latest ports update as of 1630 UTC - 315981 > > I try to update it. I get: > > ================================================================ > portupgrade chromium > ---> Upgrading 'chromium-25.0.1364.160' to 'chromium-25.0.1364.172' > (www/chromium) > ---> Building '/usr/ports/www/chromium' > ===> Cleaning for chromium-25.0.1364.172 > > To build Chromium, you should have around 1 GB of memory > and a fair amount of free diskspace (~ 2.2GB). > > ===> chromium-25.0.1364.172 has known vulnerabilities: > Affected package: chromium-25.0.1364.172 > Type of problem: chromium -- multiple vulnerabilities. > Reference: > http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html > => Please update your ports tree and try again. > *** [check-vulnerable] Error code 1 > > Stop in /usr/ports/www/chromium. > *** [build] Error code 1 > > Stop in /usr/ports/www/chromium. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20130417-83106-6ngbzf-0 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=chromium-25.0.1364.160 UPGRADE_PORT_VER=25.0.1364.160 make > ** Fix the problem and try again. > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! www/chromium (chromium-25.0.1364.160) (unknown build error) > ================================================================= > > I know the code is now at revision 26.something. I have a look at > https://wiki.freebsd.org/Chromium and follow the instructions there. I > get up to here: > > ../../depot_tools/gclient sync --force > > Error: Can't update/checkout ~/tmp/depot_tools/src if an unversioned > directory is present. Delete the directory and try again. > > Please advise if/how I can proceed? > > thanks, > _______________________________________________ > You can try: portupgrade -m -DDISABLE_VULNERABILITIES chromium From what I can see there is no update yet for the mentioned security vulnerability. Regards, Andrei From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 19:18:36 2013 Return-Path: Delivered-To: questions@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 572B13B2 for ; Wed, 17 Apr 2013 19:18:36 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.62.230.51]) by mx1.freebsd.org (Postfix) with ESMTP id 0DE4399 for ; Wed, 17 Apr 2013 19:18:35 +0000 (UTC) Received: from Toshi.lariat.net (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2] (may be forged)) by lariat.net (8.9.3/8.9.3) with ESMTP id NAA01649 for ; Wed, 17 Apr 2013 13:18:27 -0600 (MDT) Message-Id: <201304171918.NAA01649@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 17 Apr 2013 13:18:14 -0600 To: questions@freebsd.org From: Brett Glass Subject: Bad kernel with make -j? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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: Wed, 17 Apr 2013 19:18:36 -0000 Everyone: I've just had to resurrect a machine which apparently failed because the kernel was built with the make -j option. As reported in the make(1) man page, the purpose of the -j option is to let the make program build multiple portions of a program concurrently on a machine with multiple CPUs. The idea is to make use of SMP to speed up the build process. Unfortunately, after updating a FreeBSD 9.0 system with freebsd-update (and seeing some changes that would affect the custom kernel the machine was running), I rebuilt the kernel using the -j5 option. (The machine has 2 cores and 4 threads, but threads block due to I/O as well as memory access. So, when it works properly, -j5 is the fastest option.) The result was a kernel in which some compiled-in modules -- in particular, netgraph nodes -- weren't accessible. mpd5 began spewing odd messages, and VPN connections would not come up. I'd built the kernel with the NO_MODULES option, so the modules that were missing couldn't be loaded dynamically. Rebuilding the kernel using a single-threaded "make" solved the problem. Have others seen the same symptoms? I'd like to be able to do fast, multithreaded kernel builds, but will obviously have to avoid it if the resulting kernels are corrupted. --Brett Glass From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 20:34:35 2013 Return-Path: Delivered-To: freebsd-questions@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 09D6DC81 for ; Wed, 17 Apr 2013 20:34:35 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qe0-f48.google.com (mail-qe0-f48.google.com [209.85.128.48]) by mx1.freebsd.org (Postfix) with ESMTP id B19955E0 for ; Wed, 17 Apr 2013 20:34:34 +0000 (UTC) Received: by mail-qe0-f48.google.com with SMTP id 2so1145368qea.21 for ; Wed, 17 Apr 2013 13:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=x-received:date:from:to:subject:message-id:reply-to:organization :x-mailer:face:mime-version:content-type:content-transfer-encoding; bh=PopksmhCSgmUXnFEN+cnNlfn9O/yd+1t8vB0Y8V+xEo=; b=SIQHui9S7IzmexpD08hJVQmWn2ggaQESS4cqc8OXMzYCsxeH2RaP2sD2lH6IT15wzW xSyhcEeysrYu9CEkB/Oxeir+Pzsy3rHbN1RTEaiEMjOrakwmEyrUYmgjbzldSH66QFRJ 7krbXJMUKcZ4qOp07zo2iK5PMcXJuNEjvSyyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:subject:message-id:reply-to:organization :x-mailer:face:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=PopksmhCSgmUXnFEN+cnNlfn9O/yd+1t8vB0Y8V+xEo=; b=eFR3kPKMaYgecHMA+eoOBWeNDoFBNklfwJmVeFXwK5fdRd1qMxpqmPa7tUAF0FPUX9 +hgnMnAsMTi8Y/zuUl6YdTVHB6FW34AJ0C+p1l8v8YqaEU7tR8yw9sVi8RvSxht9+/+v gEvAXxTry6AGTmcp1WwgH26xrHf4UINx9RmMq26YjduOVgjrhYN+6YVbCzcDYRH5CHI9 tz5JJP9NbTki5WRDRqUHhqI6YhCxcgqpnrn4VZDp622P69tiDalaUEwDTfSSSG7D8Cpm 3x4GQPy++vfwAQ3j2ZyzYfgT40PjmDD194l83oMSCk8ow4RjQ3z6No2UT3bIKk3wgopH uNQg== X-Received: by 10.224.97.135 with SMTP id l7mr8264291qan.27.1366230867204; Wed, 17 Apr 2013 13:34:27 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id bt19sm10186187qab.0.2013.04.17.13.34.25 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Apr 2013 13:34:26 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3ZrZtS5v16z2CG5l for ; Wed, 17 Apr 2013 16:34:24 -0400 (EDT) Date: Wed, 17 Apr 2013 16:34:24 -0400 From: Jerry To: FreeBSD Subject: portmaster -- no execute command Message-ID: <20130417163424.5398827d@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmlT/gJ4aHuZsdLGU4Vfnk65Vz6YQlXTb+9ntlZmdios9dkilsuPGD4tMZ7i08247MTknM0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 20:34:35 -0000 Does portmaster have a "--noexecute" flag like portupgrade? Specifically, I want to run the following command and see exactly what would be updated / modified sans actually doing it. portmaster -o new_app old_app -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 20:37:10 2013 Return-Path: Delivered-To: freebsd-questions@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 75E9CD46 for ; Wed, 17 Apr 2013 20:37:10 +0000 (UTC) (envelope-from ascherrer@gmail.com) Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 142AF607 for ; Wed, 17 Apr 2013 20:37:09 +0000 (UTC) Received: by mail-ea0-f178.google.com with SMTP id o10so963697eaj.9 for ; Wed, 17 Apr 2013 13:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=rx+iBI9jnE3ZsCrTQjd2MKzaAomhwWRh3b7FtmtyoiM=; b=haEQlueftgSYrG2dp2UqjEBowO3wcQZP5syWsfOHjyACiqqCbsrnm3jkbcZpJ3Y1JQ XA9PvKfqLmpc2/cIoDzmORMVIBsWIDnxD7rRCgfBvd+urhnL4YPHb6uIoaz5a//7k1hZ jMH6dnqZGYBnqIXnGpNW49JfBHLj4oHVw4kNXecmade+S0vM6FGg500ZkB+YZkwUBoJ2 sLJKV+SDBlQd0fsDyiKf/C8FULNSu11grSX4XGePlon4qaERK8L8pSgziKfdit4ZvPZm QU3WpEfBJeEJvLsV5ZPKuWksKMAbdBKlEFyc/4Bgm52wl8PEvCbZ6BycmcReaRGho5X3 f/hw== X-Received: by 10.15.43.73 with SMTP id w49mr22214304eev.12.1366231029135; Wed, 17 Apr 2013 13:37:09 -0700 (PDT) Received: from manzana.hws.homeip.net ([2001:470:b71d:1:225:ff:fef2:447f]) by mx.google.com with ESMTPS id a2sm11311636eem.11.2013.04.17.13.37.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Apr 2013 13:37:08 -0700 (PDT) Message-ID: <516F07F2.7020201@gmail.com> Date: Wed, 17 Apr 2013 22:37:06 +0200 From: andreas scherrer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Polytropon Subject: Re: Keeping FreeBSD with custom kernel up to date: freebsd-update no option? References: <516DA8A8.5040305@gmail.com> <20130416221851.5d898701.freebsd@edvax.de> In-Reply-To: <20130416221851.5d898701.freebsd@edvax.de> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 20:37:10 -0000 Thank you very much for your detailed answer! on 16.4.13 22:18 Polytropon said the following: > On Tue, 16 Apr 2013 21:38:16 +0200, andreas scherrer wrote: >> I am (still) struggling to understand how to keep my FreeBSD system up >> to date ("world"/system, not ports). I want to "track" RELEASE (not a >> development branch) and I want to receive security related updates. And >> I want to run a custom kernel. > > Without actually havint tested it, it seems that if you want > to use freebsd-update (binary updating), you should note this: > > In /etc/freebsd-update.conf, you should have the line for what > to update as "Components src world". That's what I thought (and currently have). > This should prevent overwriting of the kernel, but you need to > compile your kernel and install it. The component "src" will > make sure you have the proper kernel sources. I assume a custom > kernel configuration file in /usr/src/sys/{i386|amd64}/conf/ > is _not_ being overwritten by freebsd-update. A custom kernel configuration file is *not* overwritten by freebsd-update, I can confirm this. Of course I will have to compile and install my custom kernel manually. For some reason I was under the impression that /usr/src/sys is not being updated by freebsd-update if I remove "kernel" from the "Components" directive in freebsd-update.conf. But I might be wrong (I will check). Maybe related to this: how does freebsd-update "know" what sources/binaries to get when I don't use the "-r" switch? Does it rely on /usr/src/sys/conf/newvers.sh? Could it be that I never saw a change to my kernel sources (/usr/src/sys) because freebsd-update was tracking some static sources? [snip] >> I'm on a low powered consumer >> device and it takes considerable amount of time to build the world and >> kernel (plus I still don't feel comfortable doing such tasks remotely). > > In this case, use freebsd-update as explained at the beginning of > my message: Update components "world" and "src", leave out "kernel", > the rebuild the kernel by source and install it. Then reboot. That's what I am planning to do. Let's see. As I currently have a checkout from SVN in /urs/src I need to get rid of this. Can I just copy (read: move) back my previous /usr/src directory and continue to use freebsd-update? I think this should work, right? I am just not sure if freebsd-update still "knows" what sources/binaries to track (see my previous comment about how freebsd-update knows what source to use). Cheers andreas From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 20:44:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 276D0139 for ; Wed, 17 Apr 2013 20:44:46 +0000 (UTC) (envelope-from ascherrer@gmail.com) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by mx1.freebsd.org (Postfix) with ESMTP id BB96B67B for ; Wed, 17 Apr 2013 20:44:45 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id d17so274442eek.40 for ; Wed, 17 Apr 2013 13:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=l1OEAHcP0IDSctZ6pMfcCdj1/lVcuuYhR37rnUX9P3A=; b=Ieic4P1b2/jJx4ac6wZG5waCKpOE19kJ6YRx/FloOqbBfuypShU2UvK/yvTrsSL9nG 8p7lbyFVNTwUUWx8R0xiDaeztVKxK5uBamnWXjke5k9WbTsscrZuuNXgKOttfHZ7xvr2 9L8NSycyqOnDcncB8MBmN1CWplUn5Gu7yfiHfqN4DRiKY6DDJt4fx7MLboTfSGQG8SV3 5cS0um38i6PWIm4oTvcCK30iRoqzmk5d1n45Koa5kIQDUR8vWYAM+VckO8rHTqmiHmgt bdxE5Yvaql0uqPHRDRngZKYr0IBBrM/gEuQr61EcSr82if2IObCWFKnoYQmo0KaCCg5B TYHA== X-Received: by 10.15.32.67 with SMTP id z43mr22188068eeu.24.1366231479234; Wed, 17 Apr 2013 13:44:39 -0700 (PDT) Received: from manzana.hws.homeip.net ([2001:470:b71d:1:225:ff:fef2:447f]) by mx.google.com with ESMTPS id a41sm11385885eei.4.2013.04.17.13.44.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Apr 2013 13:44:38 -0700 (PDT) Message-ID: <516F09B4.1070702@gmail.com> Date: Wed, 17 Apr 2013 22:44:36 +0200 From: andreas scherrer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Bad kernel with make -j? References: <201304171918.NAA01649@lariat.net> In-Reply-To: <201304171918.NAA01649@lariat.net> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 20:44:46 -0000 on 17.4.13 21:18 Brett Glass said the following: > I've just had to resurrect a machine which apparently failed because the > kernel was built with the make -j option. [snip] > The result was a kernel in which some compiled-in modules -- in > particular, netgraph nodes -- weren't accessible. mpd5 began spewing odd > messages, and VPN connections would not come up. I'd built the kernel > with the NO_MODULES option, so the modules that were missing couldn't be > loaded dynamically. > > Rebuilding the kernel using a single-threaded "make" solved the problem. I am not very experienced but I stumbled over the following note in /usr/src/UPDATING before: Avoid using make -j when upgrading. While generally safe, there are sometimes problems using -j to upgrade. If your upgrade fails with -j, please try again without -j. From time to time in the past there have been problems using -j with buildworld and/or installworld. This is especially true when upgrading between "distant" versions (eg one that cross a major release boundary or several minor releases, or when several months have passed on the -current branch). Maybe that's a hint? > --Brett Glass > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Cheers andreas From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 20:46:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 17F921E7 for ; Wed, 17 Apr 2013 20:46:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D72C2693 for ; Wed, 17 Apr 2013 20:46:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 002D727894 for ; Wed, 17 Apr 2013 22:46:04 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3HKkDpU003021 for ; Wed, 17 Apr 2013 22:46:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 17 Apr 2013 22:46:13 +0200 From: Polytropon To: freebsd-questions@freebsd.org Subject: Re: portmaster -- no execute command Message-Id: <20130417224613.2ce9a1d0.freebsd@edvax.de> In-Reply-To: <20130417163424.5398827d@scorpio> References: <20130417163424.5398827d@scorpio> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 20:46:13 -0000 On Wed, 17 Apr 2013 16:34:24 -0400, Jerry wrote: > Does portmaster have a "--noexecute" flag like portupgrade? > Specifically, I want to run the following command and see exactly what > would be updated / modified sans actually doing it. > > portmaster -o new_app old_app Is the -n option what you are looking for? >From "man portmaster": -n run through all steps, but do not make or install any ports This common flag seems to be allowed for installation via -o, according to the synopsis: portmaster [Common Flags] -o -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 20:55:25 2013 Return-Path: Delivered-To: freebsd-questions@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 521AF472 for ; Wed, 17 Apr 2013 20:55:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1C0736EA for ; Wed, 17 Apr 2013 20:55:24 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id A1D442785A; Wed, 17 Apr 2013 22:55:23 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3HKtWSb003043; Wed, 17 Apr 2013 22:55:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 17 Apr 2013 22:55:32 +0200 From: Polytropon To: andreas scherrer Subject: Re: Keeping FreeBSD with custom kernel up to date: freebsd-update no option? Message-Id: <20130417225532.4fcd15f9.freebsd@edvax.de> In-Reply-To: <516F07F2.7020201@gmail.com> References: <516DA8A8.5040305@gmail.com> <20130416221851.5d898701.freebsd@edvax.de> <516F07F2.7020201@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 20:55:25 -0000 On Wed, 17 Apr 2013 22:37:06 +0200, andreas scherrer wrote: > For some reason I was under the impression that /usr/src/sys is not > being updated by freebsd-update if I remove "kernel" from the > "Components" directive in freebsd-update.conf. But I might be wrong (I > will check). According to the documentation, /usr/src (and therefor the /usr/src/sys subtree) is part of the "src" component, not of "kernel", so it should be updated properly. > Maybe related to this: how does freebsd-update "know" what > sources/binaries to get when I don't use the "-r" switch? Does it rely > on /usr/src/sys/conf/newvers.sh? > > Could it be that I never saw a change to my kernel sources > (/usr/src/sys) because freebsd-update was tracking some static sources? Not neccessarily. For example, if only a userland program has received a security update, and the kernel was kept the same, no change would be done in /usr/src/sys. In this case, the kernel version output (as seen by the "uname" program) would not have changed. > As I currently have a checkout from SVN in /urs/src I need to get rid of > this. Can I just copy (read: move) back my previous /usr/src directory > and continue to use freebsd-update? You should not switch between both methods, it may cause problems. The simplest way would be to # mv /usr/src /usr/src.svn and let freebsd-update populate the sources with the required version. Note that it will install the world your (custom) kernel will finally have to match, and so it should make sure you have the correct revision of the sources to avoid a version conflict. However, it's basically not a problem to use SVN to track -RELEASE, but in this case, you should recompile world and kernel from that sources, instead of relying on freebsd-update for a binary update of the world only. But as you said you're only interested in a custom kernel (which _requires_ building from source), you can safely leave everything else to freebsd-update and don't use SVN. (It would be a totally different thing if you would track -STABLE or -CURRENT which is not possible with freebsd-update, and which would _force_ you to build everything from source.) By following -RELEASE, freebsd-update will "apply _that_ snapshot of the source tree and the prebuild world and kernel at the revision when X.Y-RELEASE-pZ has been verified", sloppily said. So it basically doesn't matter what sources you have on your machine (or even if you have any sources) as long as you're not going to compile anything. But because this is a requirement in your specific setting, freebsd-update will take care of that by having the "src" component on its list. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 22:18:16 2013 Return-Path: Delivered-To: freebsd-questions@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 26482D8C for ; Wed, 17 Apr 2013 22:18:16 +0000 (UTC) (envelope-from freebsd@growveg.net) Received: from smtp1.servage.net (smtp1.servage.net [IPv6:2a01:3b0:1:fb:1::2001]) by mx1.freebsd.org (Postfix) with ESMTP id E3105A2D for ; Wed, 17 Apr 2013 22:18:15 +0000 (UTC) Received: from potato.growveg.org (growveg-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:3d2::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.servage.net (Postfix) with ESMTPSA id D1D96326F5 for ; Wed, 17 Apr 2013 22:35:03 +0000 (UTC) Message-ID: <516F1FA1.1000005@growveg.net> Date: Wed, 17 Apr 2013 23:18:09 +0100 From: John User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130408 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: chromium won't build on FreeBSD 9.1 ports rev 315799 References: <516ED089.6000008@growveg.net> <516EE9AE.7030002@gmail.com> In-Reply-To: <516EE9AE.7030002@gmail.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 17 Apr 2013 22:18:16 -0000 On 17/04/2013 19:27, Andrei Brezan wrote: > You can try: > portupgrade -m -DDISABLE_VULNERABILITIES chromium > > From what I can see there is no update yet for the mentioned security > vulnerability. > > Regards, > Andrei Hi Andrei It seems there is an update in the source but not in the ports. Source is up to 26.mumble -- John From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 22:26:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C28762C2 for ; Wed, 17 Apr 2013 22:26:31 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41]) by mx1.freebsd.org (Postfix) with ESMTP id 923F2A80 for ; Wed, 17 Apr 2013 22:26:31 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id g12so1223541oah.0 for ; Wed, 17 Apr 2013 15:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=lE74kFiZ9KTh8UnBk9nurMko/ZC0c+H8hTGbXTTiCwU=; b=xmh6vDPvEGhdCOSdOneJI85D3uPQsiLISly6eApurJcetf1VMX2n1KefJuMooqIECP xtzQrTylz9BwVvhy5WEqoXVz8xwDDzi5ngNs15/20OPHnLU/Ii6qYzEjwI9aYnlv/FdQ dh5uc0YhzU9lw/P5hIihOrpO8z1vEYnqwj6SESa0JDFJYHQj4Qh/dasllLWPNdMh6NRi XTH8Q0Hu24YU0x4yCnN0wVC0+Nqg04H9W3hDzx1XC9owY1ydIdcRyOl0HU9wUFdZyWHw BmwMF1HJ0aSclNo3kpDbtM/kPYz2li25184wn34lwOPYDzXjxXyuwoq+oCKWmUDeL03L 322Q== MIME-Version: 1.0 X-Received: by 10.182.19.168 with SMTP id g8mr3729661obe.21.1366237585708; Wed, 17 Apr 2013 15:26:25 -0700 (PDT) Received: by 10.76.135.194 with HTTP; Wed, 17 Apr 2013 15:26:25 -0700 (PDT) Date: Wed, 17 Apr 2013 18:26:25 -0400 Message-ID: Subject: gmultipath, ses and shared disks / cant seem to share between local nodes From: Outback Dingo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 17 Apr 2013 22:26:31 -0000 Ok, maybe im at a loss here in the way my brain is viewing this we have a box, its got 2 nodes in the chassis, and 32 sata drives attached to a SATA/SAS backplane via 4 (2 per node) LSI MPT SAS2 cards should i not logically be seeing 4 controllers X #drive count ?? camcontrol devlist shows 32 devices, daX,passX and sesX,passX at scbus0 target 9 lun 0 (da0,pass0) at scbus0 target 10 lun 0 (ses0,pass1) at scbus0 target 11 lun 0 (da1,pass2) at scbus0 target 12 lun 0 (ses1,pass3) at scbus0 target 13 lun 0 (da2,pass4) at scbus0 target 14 lun 0 (ses2,pass5) at scbus0 target 15 lun 0 (da3,pass6) at scbus0 target 16 lun 0 (ses3,pass7) at scbus0 target 17 lun 0 (da4,pass8) at scbus0 target 18 lun 0 (ses4,pass9) at scbus0 target 19 lun 0 (da5,pass10) at scbus0 target 20 lun 0 (ses5,pass11) at scbus0 target 21 lun 0 (da6,pass12) at scbus0 target 22 lun 0 (ses6,pass13) at scbus0 target 23 lun 0 (da7,pass14) at scbus0 target 24 lun 0 (ses7,pass15) at scbus1 target 0 lun 0 (da8,pass16) at scbus1 target 1 lun 0 (da9,pass17) at scbus8 target 10 lun 0 (ses8,pass19) at scbus8 target 11 lun 0 (da11,pass20) at scbus8 target 12 lun 0 (ses9,pass21) at scbus8 target 13 lun 0 (da12,pass22) at scbus8 target 14 lun 0 (ses10,pass23) at scbus8 target 15 lun 0 (da13,pass24) at scbus8 target 16 lun 0 (ses11,pass25) at scbus8 target 17 lun 0 (da14,pass26) at scbus8 target 18 lun 0 (ses12,pass27) at scbus8 target 19 lun 0 (da15,pass28) at scbus8 target 20 lun 0 (ses13,pass29) at scbus8 target 21 lun 0 (da16,pass30) at scbus8 target 22 lun 0 (ses14,pass31) at scbus8 target 23 lun 0 (da17,pass32) at scbus8 target 24 lun 0 (ses15,pass33) at scbus9 target 0 lun 0 (da18,pass34) we would like to create a zpool from all the devices, that in theory if nodeA failed then nodeB could force import the pool, nodeA and NodeB are attached through dual LSI controllers, to the SATA/SAS backplane. but i cant seem to create a zpool from sesX or passX devices, i can however create a 16 drive zp0ol on either node, from any daX device. what did i miss? ive looked at gmirror, and also ses documents. Any insight is appreciated, thanks in advance. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 22:39:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F05DC44E for ; Wed, 17 Apr 2013 22:39:08 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id C126CB0B for ; Wed, 17 Apr 2013 22:39:08 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r3HMd2KZ030080 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 17 Apr 2013 17:39:02 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Wed, 17 Apr 2013 17:39:02 -0500 From: "Teske, Devin" To: Outback Dingo Subject: Re: gmultipath, ses and shared disks / cant seem to share between local nodes Thread-Topic: gmultipath, ses and shared disks / cant seem to share between local nodes Thread-Index: AQHOO7qiCxmtUgKg806i8wlzqyn++JjbVRKA Date: Wed, 17 Apr 2013 22:39:01 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F05E0A@ltcfiswmsgmb21> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.121] Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-04-17_07:2013-04-17,2013-04-17,1970-01-01 signatures=0 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 22:39:09 -0000 On Apr 17, 2013, at 3:26 PM, Outback Dingo wrote: > Ok, maybe im at a loss here in the way my brain is viewing this >=20 > we have a box, its got 2 nodes in the chassis, and 32 sata drives > attached to a SATA/SAS backplane via 4 (2 per node) LSI MPT SAS2 cards > should i not logically be seeing 4 controllers X #drive count ?? >=20 > camcontrol devlist shows 32 devices, daX,passX and sesX,passX >=20 > at scbus0 target 9 lun 0 (da0,pass0) > at scbus0 target 10 lun 0 (ses0,pass1) > at scbus0 target 11 lun 0 (da1,pass2) > at scbus0 target 12 lun 0 (ses1,pass3) > at scbus0 target 13 lun 0 (da2,pass4) > at scbus0 target 14 lun 0 (ses2,pass5) > at scbus0 target 15 lun 0 (da3,pass6) > at scbus0 target 16 lun 0 (ses3,pass7) > at scbus0 target 17 lun 0 (da4,pass8) > at scbus0 target 18 lun 0 (ses4,pass9) > at scbus0 target 19 lun 0 (da5,pass10) > at scbus0 target 20 lun 0 (ses5,pass11) > at scbus0 target 21 lun 0 (da6,pass12) > at scbus0 target 22 lun 0 (ses6,pass13) > at scbus0 target 23 lun 0 (da7,pass14) > at scbus0 target 24 lun 0 (ses7,pass15) > at scbus1 target 0 lun 0 (da8,pass16) > at scbus1 target 1 lun 0 (da9,pass17) > at scbus8 target 10 lun 0 (ses8,pass19) > at scbus8 target 11 lun 0 (da11,pass20) > at scbus8 target 12 lun 0 (ses9,pass21) > at scbus8 target 13 lun 0 (da12,pass22) > at scbus8 target 14 lun 0 (ses10,pass23) > at scbus8 target 15 lun 0 (da13,pass24) > at scbus8 target 16 lun 0 (ses11,pass25) > at scbus8 target 17 lun 0 (da14,pass26) > at scbus8 target 18 lun 0 (ses12,pass27) > at scbus8 target 19 lun 0 (da15,pass28) > at scbus8 target 20 lun 0 (ses13,pass29) > at scbus8 target 21 lun 0 (da16,pass30) > at scbus8 target 22 lun 0 (ses14,pass31) > at scbus8 target 23 lun 0 (da17,pass32) > at scbus8 target 24 lun 0 (ses15,pass33) > at scbus9 target 0 lun 0 (da18,pass34) >=20 >=20 > we would like to create a zpool from all the devices, that in theory if > nodeA failed > then nodeB could force import the pool, gmultipath (which you mention in the subject) is the appropriate tool for t= his, but there's no need for an import of the pool if you build the pool ou= t of multipath devices. In our experience, we can pull a cable and zfs cont= inues working just fine. In other words, don't build the pool out of the devices, put a gmultipath l= abel on each device and then use /dev/multipath/LABEL for the zpool devices. > nodeA and NodeB are attached through > dual LSI controllers, to the SATA/SAS backplane. but i cant seem to create > a zpool from sesX or passX devices, i can however create a 16 drive zp0ol > on either node, from any daX device. what did i miss? ive looked at > gmirror, and also ses documents. Any insight is appreciated, thanks in > advance. gmirror is the wrong tool, gmultipath is what you want. The basic task is t= o use "gmultipath label FOO da#" to write a cookie on the disk (used to ide= ntify new/existing paths during GOEM "taste" events for example). After you've labeled the da# devices with gmultipath you say "gmultipath st= atus" to see the components of each label and you use "multipath/LABEL" as = your disk name when creating the zpool (these correspond directly to /dev/m= ultipath/LABEL, but "zpool create =85" or "zpool add =85" allow you to omit= the leading "/dev"). --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 23:10:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 99052A8D; Wed, 17 Apr 2013 23:10:38 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) by mx1.freebsd.org (Postfix) with ESMTP id 57201CF8; Wed, 17 Apr 2013 23:10:37 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id f4so402945oah.7 for ; Wed, 17 Apr 2013 16:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=RVKuCvPpvRAr0jhlZjUvBbLbsQTAEJItDCFn4jq8TTU=; b=H9wcNY/asZZBavexBU/VcPGb2VMbVj3oFJOsAResJ4gEw6gzf0gxDAdCHgJbVnMki1 MxPJLY4njJswWTDPuisP+IYzh7Lzd3N6lZZZSrO5GqoalOg/2o24Zppw7XNfT3cBCGH3 7z/I4bW4u5ja5KXdcqFKYvi6R8qUi1vniBSqYpUEjgVKpznNs7RfJLe1F/bgGqgd/Y/v dMLIV1/KjF+Vx1x6W2FP6x4D359DgnPeNfMEp4c0hGsIXqi6+Or6zDdtcG/pD3cGEdcn Ocs3JK+Otvr++DvdwGgaX36UyB3VElHs/o5976PS1LVdDPiMpkyyp3UlxAvHMZp5z+bz VTPA== MIME-Version: 1.0 X-Received: by 10.182.19.168 with SMTP id g8mr3821415obe.21.1366240237439; Wed, 17 Apr 2013 16:10:37 -0700 (PDT) Received: by 10.76.135.194 with HTTP; Wed, 17 Apr 2013 16:10:37 -0700 (PDT) In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F05E0A@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F05E0A@ltcfiswmsgmb21> Date: Wed, 17 Apr 2013 19:10:37 -0400 Message-ID: Subject: Re: gmultipath, ses and shared disks / cant seem to share between local nodes From: Outback Dingo To: Devin Teske Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions 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: Wed, 17 Apr 2013 23:10:38 -0000 On Wed, Apr 17, 2013 at 6:39 PM, Teske, Devin wr= ote: > > On Apr 17, 2013, at 3:26 PM, Outback Dingo wrote: > > > Ok, maybe im at a loss here in the way my brain is viewing this > > > > we have a box, its got 2 nodes in the chassis, and 32 sata drives > > attached to a SATA/SAS backplane via 4 (2 per node) LSI MPT SAS2 cards > > should i not logically be seeing 4 controllers X #drive count ?? > > > > camcontrol devlist shows 32 devices, daX,passX and sesX,passX > > > > at scbus0 target 9 lun 0 (da0,pass0) > > at scbus0 target 10 lun 0 (ses0,pass1) > > at scbus0 target 11 lun 0 (da1,pass2= ) > > at scbus0 target 12 lun 0 (ses1,pass3) > > at scbus0 target 13 lun 0 (da2,pass4= ) > > at scbus0 target 14 lun 0 (ses2,pass5) > > at scbus0 target 15 lun 0 (da3,pass6= ) > > at scbus0 target 16 lun 0 (ses3,pass7) > > at scbus0 target 17 lun 0 (da4,pass8= ) > > at scbus0 target 18 lun 0 (ses4,pass9) > > at scbus0 target 19 lun 0 (da5,pass1= 0) > > at scbus0 target 20 lun 0 (ses5,pass11) > > at scbus0 target 21 lun 0 (da6,pass1= 2) > > at scbus0 target 22 lun 0 (ses6,pass13) > > at scbus0 target 23 lun 0 (da7,pass1= 4) > > at scbus0 target 24 lun 0 (ses7,pass15) > > at scbus1 target 0 lun 0 (da8,pass16= ) > > at scbus1 target 1 lun 0 (da9,pass17= ) > > at scbus8 target 10 lun 0 (ses8,pass19) > > at scbus8 target 11 lun 0 > (da11,pass20) > > at scbus8 target 12 lun 0 (ses9,pass21) > > at scbus8 target 13 lun 0 > (da12,pass22) > > at scbus8 target 14 lun 0 (ses10,pass23) > > at scbus8 target 15 lun 0 > (da13,pass24) > > at scbus8 target 16 lun 0 (ses11,pass25) > > at scbus8 target 17 lun 0 > (da14,pass26) > > at scbus8 target 18 lun 0 (ses12,pass27) > > at scbus8 target 19 lun 0 > (da15,pass28) > > at scbus8 target 20 lun 0 (ses13,pass29) > > at scbus8 target 21 lun 0 > (da16,pass30) > > at scbus8 target 22 lun 0 (ses14,pass31) > > at scbus8 target 23 lun 0 > (da17,pass32) > > at scbus8 target 24 lun 0 (ses15,pass33) > > at scbus9 target 0 lun 0 (da18,pass3= 4) > > > > > > we would like to create a zpool from all the devices, that in theory if > > nodeA failed > > then nodeB could force import the pool, > > gmultipath (which you mention in the subject) is the appropriate tool for > this, but there's no need for an import of the pool if you build the pool > out of multipath devices. In our experience, we can pull a cable and zfs > continues working just fine. > > In other words, don't build the pool out of the devices, put a gmultipath > label on each device and then use /dev/multipath/LABEL for the zpool > devices. > > > > nodeA and NodeB are attached through > > dual LSI controllers, to the SATA/SAS backplane. but i cant seem to > create > > a zpool from sesX or passX devices, i can however create a 16 drive zp0= ol > > on either node, from any daX device. what did i miss? ive looked at > > gmirror, and also ses documents. Any insight is appreciated, thanks in > > advance. > > gmirror is the wrong tool, gmultipath is what you want. The basic task is > to use "gmultipath label FOO da#" to write a cookie on the disk (used to > identify new/existing paths during GOEM "taste" events for example). > > After you've labeled the da# devices with gmultipath you say "gmultipath > status" to see the components of each label and you use "multipath/LABEL" > as your disk name when creating the zpool (these correspond directly to > /dev/multipath/LABEL, but "zpool create =85" or "zpool add =85" allow you= to > omit the leading "/dev"). > sanity check me on node A i did zpool destroy master gmultipath label FOO da0 gmultipath status Name Status Components multipath/FOO DEGRADED da0 (ACTIVE) multipath/FOO-619648737 DEGRADED da1 (ACTIVE) multipath/FOO-191725652 DEGRADED da2 (ACTIVE) multipath/FOO-1539342315 DEGRADED da3 (ACTIVE) multipath/FOO-1276041606 DEGRADED da4 (ACTIVE) multipath/FOO-2000832198 DEGRADED da5 (ACTIVE) multipath/FOO-1285640577 DEGRADED da6 (ACTIVE) multipath/FOO-1816092574 DEGRADED da7 (ACTIVE) multipath/FOO-1102254444 DEGRADED da8 (ACTIVE) multipath/FOO-330300690 DEGRADED da9 (ACTIVE) multipath/FOO-92140635 DEGRADED da10 (ACTIVE) multipath/FOO-855257672 DEGRADED da11 (ACTIVE) multipath/FOO-1003634134 DEGRADED da12 (ACTIVE) multipath/FOO-2449862 DEGRADED da13 (ACTIVE) multipath/FOO-1137080233 DEGRADED da14 (ACTIVE) multipath/FOO-1696804371 DEGRADED da15 (ACTIVE) multipath/FOO-1304457562 DEGRADED da16 (ACTIVE) multipath/FOO-912159854 DEGRADED da17 (ACTIVE) now on node B i should do the same? reboot both nodes and i should be able "see" 32 multipath/FOO deices to create a pool from ? > -- > Devin > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 23:29:19 2013 Return-Path: Delivered-To: freebsd-questions@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 B07D9CB4; Wed, 17 Apr 2013 23:29:19 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6889AD80; Wed, 17 Apr 2013 23:29:18 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r3HNTIop008523 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 17 Apr 2013 18:29:18 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Wed, 17 Apr 2013 18:29:18 -0500 From: "Teske, Devin" To: Outback Dingo Subject: Re: gmultipath, ses and shared disks / cant seem to share between local nodes Thread-Topic: gmultipath, ses and shared disks / cant seem to share between local nodes Thread-Index: AQHOO7qiCxmtUgKg806i8wlzqyn++JjbVRKAgAAI1ICAAAU2AA== Date: Wed, 17 Apr 2013 23:29:17 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F05FD4@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F05E0A@ltcfiswmsgmb21> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.121] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-04-17_08:2013-04-17,2013-04-17,1970-01-01 signatures=0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Devin Teske , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 23:29:19 -0000 On Apr 17, 2013, at 4:10 PM, Outback Dingo wrote: On Wed, Apr 17, 2013 at 6:39 PM, Teske, Devin > wrote: On Apr 17, 2013, at 3:26 PM, Outback Dingo wrote: > Ok, maybe im at a loss here in the way my brain is viewing this > > we have a box, its got 2 nodes in the chassis, and 32 sata drives > attached to a SATA/SAS backplane via 4 (2 per node) LSI MPT SAS2 cards > should i not logically be seeing 4 controllers X #drive count ?? > > camcontrol devlist shows 32 devices, daX,passX and sesX,passX > > at scbus0 target 9 lun 0 (da0,pass0) > at scbus0 target 10 lun 0 (ses0,pass1) > at scbus0 target 11 lun 0 (da1,pass2) > at scbus0 target 12 lun 0 (ses1,pass3) > at scbus0 target 13 lun 0 (da2,pass4) > at scbus0 target 14 lun 0 (ses2,pass5) > at scbus0 target 15 lun 0 (da3,pass6) > at scbus0 target 16 lun 0 (ses3,pass7) > at scbus0 target 17 lun 0 (da4,pass8) > at scbus0 target 18 lun 0 (ses4,pass9) > at scbus0 target 19 lun 0 (da5,pass10) > at scbus0 target 20 lun 0 (ses5,pass11) > at scbus0 target 21 lun 0 (da6,pass12) > at scbus0 target 22 lun 0 (ses6,pass13) > at scbus0 target 23 lun 0 (da7,pass14) > at scbus0 target 24 lun 0 (ses7,pass15) > at scbus1 target 0 lun 0 (da8,pass16) > at scbus1 target 1 lun 0 (da9,pass17) > at scbus8 target 10 lun 0 (ses8,pass19) > at scbus8 target 11 lun 0 (da11,pass20) > at scbus8 target 12 lun 0 (ses9,pass21) > at scbus8 target 13 lun 0 (da12,pass22) > at scbus8 target 14 lun 0 (ses10,pass23) > at scbus8 target 15 lun 0 (da13,pass24) > at scbus8 target 16 lun 0 (ses11,pass25) > at scbus8 target 17 lun 0 (da14,pass26) > at scbus8 target 18 lun 0 (ses12,pass27) > at scbus8 target 19 lun 0 (da15,pass28) > at scbus8 target 20 lun 0 (ses13,pass29) > at scbus8 target 21 lun 0 (da16,pass30) > at scbus8 target 22 lun 0 (ses14,pass31) > at scbus8 target 23 lun 0 (da17,pass32) > at scbus8 target 24 lun 0 (ses15,pass33) > at scbus9 target 0 lun 0 (da18,pass34) > > > we would like to create a zpool from all the devices, that in theory if > nodeA failed > then nodeB could force import the pool, gmultipath (which you mention in the subject) is the appropriate tool for t= his, but there's no need for an import of the pool if you build the pool ou= t of multipath devices. In our experience, we can pull a cable and zfs cont= inues working just fine. In other words, don't build the pool out of the devices, put a gmultipath l= abel on each device and then use /dev/multipath/LABEL for the zpool devices. > nodeA and NodeB are attached through > dual LSI controllers, to the SATA/SAS backplane. but i cant seem to create > a zpool from sesX or passX devices, i can however create a 16 drive zp0ol > on either node, from any daX device. what did i miss? ive looked at > gmirror, and also ses documents. Any insight is appreciated, thanks in > advance. gmirror is the wrong tool, gmultipath is what you want. The basic task is t= o use "gmultipath label FOO da#" to write a cookie on the disk (used to ide= ntify new/existing paths during GOEM "taste" events for example). After you've labeled the da# devices with gmultipath you say "gmultipath st= atus" to see the components of each label and you use "multipath/LABEL" as = your disk name when creating the zpool (these correspond directly to /dev/m= ultipath/LABEL, but "zpool create =85" or "zpool add =85" allow you to omit= the leading "/dev"). sanity check me on node A i did zpool destroy master gmultipath label FOO da0 gmultipath status Name Status Components multipath/FOO DEGRADED da0 (ACTIVE) multipath/FOO-619648737 DEGRADED da1 (ACTIVE) multipath/FOO-191725652 DEGRADED da2 (ACTIVE) multipath/FOO-1539342315 DEGRADED da3 (ACTIVE) multipath/FOO-1276041606 DEGRADED da4 (ACTIVE) multipath/FOO-2000832198 DEGRADED da5 (ACTIVE) multipath/FOO-1285640577 DEGRADED da6 (ACTIVE) multipath/FOO-1816092574 DEGRADED da7 (ACTIVE) multipath/FOO-1102254444 DEGRADED da8 (ACTIVE) multipath/FOO-330300690 DEGRADED da9 (ACTIVE) multipath/FOO-92140635 DEGRADED da10 (ACTIVE) multipath/FOO-855257672 DEGRADED da11 (ACTIVE) multipath/FOO-1003634134 DEGRADED da12 (ACTIVE) multipath/FOO-2449862 DEGRADED da13 (ACTIVE) multipath/FOO-1137080233 DEGRADED da14 (ACTIVE) multipath/FOO-1696804371 DEGRADED da15 (ACTIVE) multipath/FOO-1304457562 DEGRADED da16 (ACTIVE) multipath/FOO-912159854 DEGRADED da17 (ACTIVE) now on node B i should do the same? reboot both nodes and i should be able = "see" 32 multipath/FOO deices to create a pool from ? It appears from the above output that you labeled all of the block devices = (da0 through da17) with the same label. This is not what you want. Use "gmultipath clear FOO" on each of the block devices and have another go= using unique values. For example: gmultipath label SATA_LUN01 da0 gmultipath label SATA_LUN02 da1 gmultipath label SATA_LUN03 da2 gmultipath label SATA_LUN04 da3 gmultipath label SATA_LUN05 da4 gmultipath label SATA_LUN06 da5 gmultipath label SATA_LUN07 da6 gmultipath label SATA_LUN08 da7 gmultipath label SATA_LUN09 da8 gmultipath label SATA_LUN10 da9 gmultipath label SATA_LUN11 da10 gmultipath label SATA_LUN12 da11 gmultipath label SATA_LUN13 da12 gmultipath label SATA_LUN14 da13 gmultipath label SATA_LUN15 da14 gmultipath label SATA_LUN16 da15 gmultipath label SATA_LUN17 da16 gmultipath label SATA_LUN18 da17 .. Then "gmultipath status" should show your unique labels each with a single = component. Then you would do: zpool create master multipath/SATA_LUN{01,02,03,04,05,06,=85} -- Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 23:42:47 2013 Return-Path: Delivered-To: freebsd-questions@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 27270FE0 for ; Wed, 17 Apr 2013 23:42:47 +0000 (UTC) (envelope-from david.i.noel@gmail.com) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx1.freebsd.org (Postfix) with ESMTP id 096AEDF9 for ; Wed, 17 Apr 2013 23:42:46 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id bi5so1160965pad.17 for ; Wed, 17 Apr 2013 16:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:date:message-id:subject:from:to :content-type; bh=jZd1pGLNbW9++tKxDOp/xABKq77Cn5ilprBffn4pQAs=; b=UX9dlQqe9zDghtJC/+GsZvNn3OJCs9IEmYcUY3tNEGOOTCM7Ycyqm3Q9epWahCMTlA 6LfU0aWgIcofl7jMhO3wgHQu7WpMcAH0t95srAndjgmYBgsjqmpDBxQ18yNvHF/EtF1k s+Ph76CTetymxuPyHe7yoyrh8//GFWFk8oOEwpKhYX45hRoCWCMYWcEJJrU18qUIktr7 a5sddey9Qu0F/FsodhFR4zYMLbrra7HrU8yUKnw+AyDinZJOjFtnH1dRCDKChk+fAj4q YTd//FzqzLw16iNKvE/jdD20pvDPl1ZVIsGBG2Iryw5DGHr0h34BwyCchnDrBM6jSw/Q gvZw== MIME-Version: 1.0 X-Received: by 10.68.211.161 with SMTP id nd1mr11284199pbc.59.1366242166501; Wed, 17 Apr 2013 16:42:46 -0700 (PDT) Received: by 10.68.190.169 with HTTP; Wed, 17 Apr 2013 16:42:46 -0700 (PDT) Date: Wed, 17 Apr 2013 18:42:46 -0500 Message-ID: Subject: Strange console behavior - hangs every few minutes until a key is pressed From: David Noel To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David.I.Noel@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 23:42:47 -0000 I'm experiencing something odd from a few new servers I've been setting up today. I'll do something at the console that takes some amount of time and produces lots of output such as fetching the ports tree, svn updating /usr/src/, or building world, and the console will hang. The console ceases to produce any additional output until a key is pressed. It doesn't seem to be the case that program execution is affected, the source tree continues to checkout, for example, but the console is 'frozen' and produces no additional output. Has anyone run into this before? Any thoughts as to what's going wrong or how to fix this? I'm running 8.2 and am in the process of updating to 8.3 (buildworld is running at the moment on several of them at the moment, with these hiccups every few minutes.. it's very odd). From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 23:56:07 2013 Return-Path: Delivered-To: freebsd-questions@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 CCE13288; Wed, 17 Apr 2013 23:56:07 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by mx1.freebsd.org (Postfix) with ESMTP id 888C1E5D; Wed, 17 Apr 2013 23:56:06 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id n1so2163059oag.23 for ; Wed, 17 Apr 2013 16:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Wye67KDNB1zv65lQlm0v9g2JYW7kflugit+b7C8C7GQ=; b=g7R05LbZ7LYCxLX7oiyt3NS3mzOUZCAB/o4LJdhR7/7EY7dB6gD8EshAX9ws0eevIb 8g4Ia4odKK8NRHOWkcxgMvCto0SyIOMawFitCpaFMvuxccvLI1jRsnflEfZOyOHcOuPL dkS37iHLsz+koaqfxxV/eraUHCP539BlV4R/zX9qFR36WNkmv00jw7V6ajgIilqicnnE kY7pbgfHv4eOp/u0ssX3dvt3vKqH6AVeoYmYkH57cc7/Vf1xZqvreZKo7UCVwCf9z4fr +DCFV3W3DaxezA900LcGFGnu59ZNwCmt/CA7wIZN3Tx0nIUs37BdHh1iGuIe8pqx+WSe PYbA== MIME-Version: 1.0 X-Received: by 10.60.162.71 with SMTP id xy7mr3779242oeb.88.1366242966023; Wed, 17 Apr 2013 16:56:06 -0700 (PDT) Received: by 10.76.135.194 with HTTP; Wed, 17 Apr 2013 16:56:05 -0700 (PDT) In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F05FD4@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F05E0A@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F05FD4@ltcfiswmsgmb21> Date: Wed, 17 Apr 2013 19:56:05 -0400 Message-ID: Subject: Re: gmultipath, ses and shared disks / cant seem to share between local nodes From: Outback Dingo To: Devin Teske Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions 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: Wed, 17 Apr 2013 23:56:07 -0000 On Wed, Apr 17, 2013 at 7:29 PM, Teske, Devin wr= ote: > > On Apr 17, 2013, at 4:10 PM, Outback Dingo wrote: > > > > > On Wed, Apr 17, 2013 at 6:39 PM, Teske, Devin = wrote: > >> >> On Apr 17, 2013, at 3:26 PM, Outback Dingo wrote: >> >> > Ok, maybe im at a loss here in the way my brain is viewing this >> > >> > we have a box, its got 2 nodes in the chassis, and 32 sata drives >> > attached to a SATA/SAS backplane via 4 (2 per node) LSI MPT SAS2 cards >> > should i not logically be seeing 4 controllers X #drive count ?? >> > >> > camcontrol devlist shows 32 devices, daX,passX and sesX,passX >> > >> > at scbus0 target 9 lun 0 (da0,pass0= ) >> > at scbus0 target 10 lun 0 (ses0,pass1) >> > at scbus0 target 11 lun 0 (da1,pass= 2) >> > at scbus0 target 12 lun 0 (ses1,pass3) >> > at scbus0 target 13 lun 0 (da2,pass= 4) >> > at scbus0 target 14 lun 0 (ses2,pass5) >> > at scbus0 target 15 lun 0 (da3,pass= 6) >> > at scbus0 target 16 lun 0 (ses3,pass7) >> > at scbus0 target 17 lun 0 (da4,pass= 8) >> > at scbus0 target 18 lun 0 (ses4,pass9) >> > at scbus0 target 19 lun 0 >> (da5,pass10) >> > at scbus0 target 20 lun 0 (ses5,pass11) >> > at scbus0 target 21 lun 0 >> (da6,pass12) >> > at scbus0 target 22 lun 0 (ses6,pass13) >> > at scbus0 target 23 lun 0 >> (da7,pass14) >> > at scbus0 target 24 lun 0 (ses7,pass15) >> > at scbus1 target 0 lun 0 (da8,pass1= 6) >> > at scbus1 target 1 lun 0 (da9,pass1= 7) >> > at scbus8 target 10 lun 0 (ses8,pass19) >> > at scbus8 target 11 lun 0 >> (da11,pass20) >> > at scbus8 target 12 lun 0 (ses9,pass21) >> > at scbus8 target 13 lun 0 >> (da12,pass22) >> > at scbus8 target 14 lun 0 (ses10,pass23) >> > at scbus8 target 15 lun 0 >> (da13,pass24) >> > at scbus8 target 16 lun 0 (ses11,pass25) >> > at scbus8 target 17 lun 0 >> (da14,pass26) >> > at scbus8 target 18 lun 0 (ses12,pass27) >> > at scbus8 target 19 lun 0 >> (da15,pass28) >> > at scbus8 target 20 lun 0 (ses13,pass29) >> > at scbus8 target 21 lun 0 >> (da16,pass30) >> > at scbus8 target 22 lun 0 (ses14,pass31) >> > at scbus8 target 23 lun 0 >> (da17,pass32) >> > at scbus8 target 24 lun 0 (ses15,pass33) >> > at scbus9 target 0 lun 0 >> (da18,pass34) >> > >> > >> > we would like to create a zpool from all the devices, that in theory i= f >> > nodeA failed >> > then nodeB could force import the pool, >> >> gmultipath (which you mention in the subject) is the appropriate tool >> for this, but there's no need for an import of the pool if you build the >> pool out of multipath devices. In our experience, we can pull a cable an= d >> zfs continues working just fine. >> >> In other words, don't build the pool out of the devices, put a gmultipat= h >> label on each device and then use /dev/multipath/LABEL for the zpool >> devices. >> >> >> > nodeA and NodeB are attached through >> > dual LSI controllers, to the SATA/SAS backplane. but i cant seem to >> create >> > a zpool from sesX or passX devices, i can however create a 16 drive >> zp0ol >> > on either node, from any daX device. what did i miss? ive looked at >> > gmirror, and also ses documents. Any insight is appreciated, thanks in >> > advance. >> >> gmirror is the wrong tool, gmultipath is what you want. The basic task >> is to use "gmultipath label FOO da#" to write a cookie on the disk (used= to >> identify new/existing paths during GOEM "taste" events for example). >> >> After you've labeled the da# devices with gmultipath you say "gmultipath >> status" to see the components of each label and you use "multipath/LABEL= " >> as your disk name when creating the zpool (these correspond directly to >> /dev/multipath/LABEL, but "zpool create =85" or "zpool add =85" allow yo= u to >> omit the leading "/dev"). >> > > sanity check me on node A i did > > zpool destroy master > > gmultipath label FOO da0 > > gmultipath status > Name Status Components > multipath/FOO DEGRADED da0 (ACTIVE) > multipath/FOO-619648737 DEGRADED da1 (ACTIVE) > multipath/FOO-191725652 DEGRADED da2 (ACTIVE) > multipath/FOO-1539342315 DEGRADED da3 (ACTIVE) > multipath/FOO-1276041606 DEGRADED da4 (ACTIVE) > multipath/FOO-2000832198 DEGRADED da5 (ACTIVE) > multipath/FOO-1285640577 DEGRADED da6 (ACTIVE) > multipath/FOO-1816092574 DEGRADED da7 (ACTIVE) > multipath/FOO-1102254444 DEGRADED da8 (ACTIVE) > multipath/FOO-330300690 DEGRADED da9 (ACTIVE) > multipath/FOO-92140635 DEGRADED da10 (ACTIVE) > multipath/FOO-855257672 DEGRADED da11 (ACTIVE) > multipath/FOO-1003634134 DEGRADED da12 (ACTIVE) > multipath/FOO-2449862 DEGRADED da13 (ACTIVE) > multipath/FOO-1137080233 DEGRADED da14 (ACTIVE) > multipath/FOO-1696804371 DEGRADED da15 (ACTIVE) > multipath/FOO-1304457562 DEGRADED da16 (ACTIVE) > multipath/FOO-912159854 DEGRADED da17 (ACTIVE) > > now on node B i should do the same? reboot both nodes and i should be > able "see" 32 multipath/FOO deices to create a pool from ? > > > It appears from the above output that you labeled all of the block > devices (da0 through da17) with the same label. > > This is not what you want. > > Use "gmultipath clear FOO" on each of the block devices and have another > go using unique values. > > For example: > > gmultipath label SATA_LUN01 da0 > gmultipath label SATA_LUN02 da1 > gmultipath label SATA_LUN03 da2 > gmultipath label SATA_LUN04 da3 > gmultipath label SATA_LUN05 da4 > gmultipath label SATA_LUN06 da5 > gmultipath label SATA_LUN07 da6 > gmultipath label SATA_LUN08 da7 > gmultipath label SATA_LUN09 da8 > gmultipath label SATA_LUN10 da9 > gmultipath label SATA_LUN11 da10 > gmultipath label SATA_LUN12 da11 > gmultipath label SATA_LUN13 da12 > gmultipath label SATA_LUN14 da13 > gmultipath label SATA_LUN15 da14 > gmultipath label SATA_LUN16 da15 > gmultipath label SATA_LUN17 da16 > gmultipath label SATA_LUN18 da17 > .. > > Then "gmultipath status" should show your unique labels each with a > single component. > > Then you would do: > > zpool create master multipath/SATA_LUN{01,02,03,04,05,06,=85} > > ahh ok got it, and probably on the other node gmultipath label SATA_LUN19 da0 gmultipath label SATA_LUN20 da1 -------------------snip------------------------------ gmultipath label SATA_LUN36 da15 then create the zpool from the "36" multipath devices? so if i create a 36 drive multipath zpool on nodeA when it fails do i just import it to nodeB i was thinking to use carp for failover..... so nodeB would continue nfs sessions and import the zpool to nodeB > -- > Devin > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 23:57:11 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9FB649D for ; Wed, 17 Apr 2013 23:57:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 84E51E7D for ; Wed, 17 Apr 2013 23:57:11 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx01.qsc.de (Postfix) with ESMTP id 11DDD3CE44; Thu, 18 Apr 2013 01:57:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3HNvChh003787; Thu, 18 Apr 2013 01:57:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Apr 2013 01:57:12 +0200 From: Polytropon To: Joe Subject: Re: How to manually start firewall after system completed boot. Message-Id: <20130418015712.b1308230.freebsd@edvax.de> In-Reply-To: <516E94CA.3070700@a1poweruser.com> References: <516E94CA.3070700@a1poweruser.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 23:57:11 -0000 On Wed, 17 Apr 2013 08:25:46 -0400, Joe wrote: > Is there some format of the service command that could be used to > manually start the selected firewall? How about the rc.d framework? # /etc/rc.d/ipfw start Or # service ipfw start Both will honor the firewall_type= setting in /etc/rc.conf (here: for IPFW). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 00:05:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C7A55641; Thu, 18 Apr 2013 00:05:20 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7FADCED6; Thu, 18 Apr 2013 00:05:20 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r3I05J5L022344 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 17 Apr 2013 19:05:19 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Wed, 17 Apr 2013 19:05:18 -0500 From: "Teske, Devin" To: Outback Dingo Subject: Re: gmultipath, ses and shared disks / cant seem to share between local nodes Thread-Topic: gmultipath, ses and shared disks / cant seem to share between local nodes Thread-Index: AQHOO7qiCxmtUgKg806i8wlzqyn++JjbVRKAgAAI1ICAAAU2AIAAB3+AgAACkAA= Date: Thu, 18 Apr 2013 00:05:17 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F0613F@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F05E0A@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F05FD4@ltcfiswmsgmb21> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.121] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-04-17_08:2013-04-17,2013-04-17,1970-01-01 signatures=0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Devin Teske , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 00:05:20 -0000 On Apr 17, 2013, at 4:56 PM, Outback Dingo wrote: On Wed, Apr 17, 2013 at 7:29 PM, Teske, Devin > wrote: On Apr 17, 2013, at 4:10 PM, Outback Dingo wrote: On Wed, Apr 17, 2013 at 6:39 PM, Teske, Devin > wrote: On Apr 17, 2013, at 3:26 PM, Outback Dingo wrote: > Ok, maybe im at a loss here in the way my brain is viewing this > > we have a box, its got 2 nodes in the chassis, and 32 sata drives > attached to a SATA/SAS backplane via 4 (2 per node) LSI MPT SAS2 cards > should i not logically be seeing 4 controllers X #drive count ?? > > camcontrol devlist shows 32 devices, daX,passX and sesX,passX > > at scbus0 target 9 lun 0 (da0,pass0) > at scbus0 target 10 lun 0 (ses0,pass1) > at scbus0 target 11 lun 0 (da1,pass2) > at scbus0 target 12 lun 0 (ses1,pass3) > at scbus0 target 13 lun 0 (da2,pass4) > at scbus0 target 14 lun 0 (ses2,pass5) > at scbus0 target 15 lun 0 (da3,pass6) > at scbus0 target 16 lun 0 (ses3,pass7) > at scbus0 target 17 lun 0 (da4,pass8) > at scbus0 target 18 lun 0 (ses4,pass9) > at scbus0 target 19 lun 0 (da5,pass10) > at scbus0 target 20 lun 0 (ses5,pass11) > at scbus0 target 21 lun 0 (da6,pass12) > at scbus0 target 22 lun 0 (ses6,pass13) > at scbus0 target 23 lun 0 (da7,pass14) > at scbus0 target 24 lun 0 (ses7,pass15) > at scbus1 target 0 lun 0 (da8,pass16) > at scbus1 target 1 lun 0 (da9,pass17) > at scbus8 target 10 lun 0 (ses8,pass19) > at scbus8 target 11 lun 0 (da11,pass20) > at scbus8 target 12 lun 0 (ses9,pass21) > at scbus8 target 13 lun 0 (da12,pass22) > at scbus8 target 14 lun 0 (ses10,pass23) > at scbus8 target 15 lun 0 (da13,pass24) > at scbus8 target 16 lun 0 (ses11,pass25) > at scbus8 target 17 lun 0 (da14,pass26) > at scbus8 target 18 lun 0 (ses12,pass27) > at scbus8 target 19 lun 0 (da15,pass28) > at scbus8 target 20 lun 0 (ses13,pass29) > at scbus8 target 21 lun 0 (da16,pass30) > at scbus8 target 22 lun 0 (ses14,pass31) > at scbus8 target 23 lun 0 (da17,pass32) > at scbus8 target 24 lun 0 (ses15,pass33) > at scbus9 target 0 lun 0 (da18,pass34) > > > we would like to create a zpool from all the devices, that in theory if > nodeA failed > then nodeB could force import the pool, gmultipath (which you mention in the subject) is the appropriate tool for t= his, but there's no need for an import of the pool if you build the pool ou= t of multipath devices. In our experience, we can pull a cable and zfs cont= inues working just fine. In other words, don't build the pool out of the devices, put a gmultipath l= abel on each device and then use /dev/multipath/LABEL for the zpool devices. > nodeA and NodeB are attached through > dual LSI controllers, to the SATA/SAS backplane. but i cant seem to create > a zpool from sesX or passX devices, i can however create a 16 drive zp0ol > on either node, from any daX device. what did i miss? ive looked at > gmirror, and also ses documents. Any insight is appreciated, thanks in > advance. gmirror is the wrong tool, gmultipath is what you want. The basic task is t= o use "gmultipath label FOO da#" to write a cookie on the disk (used to ide= ntify new/existing paths during GOEM "taste" events for example). After you've labeled the da# devices with gmultipath you say "gmultipath st= atus" to see the components of each label and you use "multipath/LABEL" as = your disk name when creating the zpool (these correspond directly to /dev/m= ultipath/LABEL, but "zpool create =85" or "zpool add =85" allow you to omit= the leading "/dev"). sanity check me on node A i did zpool destroy master gmultipath label FOO da0 gmultipath status Name Status Components multipath/FOO DEGRADED da0 (ACTIVE) multipath/FOO-619648737 DEGRADED da1 (ACTIVE) multipath/FOO-191725652 DEGRADED da2 (ACTIVE) multipath/FOO-1539342315 DEGRADED da3 (ACTIVE) multipath/FOO-1276041606 DEGRADED da4 (ACTIVE) multipath/FOO-2000832198 DEGRADED da5 (ACTIVE) multipath/FOO-1285640577 DEGRADED da6 (ACTIVE) multipath/FOO-1816092574 DEGRADED da7 (ACTIVE) multipath/FOO-1102254444 DEGRADED da8 (ACTIVE) multipath/FOO-330300690 DEGRADED da9 (ACTIVE) multipath/FOO-92140635 DEGRADED da10 (ACTIVE) multipath/FOO-855257672 DEGRADED da11 (ACTIVE) multipath/FOO-1003634134 DEGRADED da12 (ACTIVE) multipath/FOO-2449862 DEGRADED da13 (ACTIVE) multipath/FOO-1137080233 DEGRADED da14 (ACTIVE) multipath/FOO-1696804371 DEGRADED da15 (ACTIVE) multipath/FOO-1304457562 DEGRADED da16 (ACTIVE) multipath/FOO-912159854 DEGRADED da17 (ACTIVE) now on node B i should do the same? reboot both nodes and i should be able = "see" 32 multipath/FOO deices to create a pool from ? It appears from the above output that you labeled all of the block devices = (da0 through da17) with the same label. This is not what you want. Use "gmultipath clear FOO" on each of the block devices and have another go= using unique values. For example: gmultipath label SATA_LUN01 da0 gmultipath label SATA_LUN02 da1 gmultipath label SATA_LUN03 da2 gmultipath label SATA_LUN04 da3 gmultipath label SATA_LUN05 da4 gmultipath label SATA_LUN06 da5 gmultipath label SATA_LUN07 da6 gmultipath label SATA_LUN08 da7 gmultipath label SATA_LUN09 da8 gmultipath label SATA_LUN10 da9 gmultipath label SATA_LUN11 da10 gmultipath label SATA_LUN12 da11 gmultipath label SATA_LUN13 da12 gmultipath label SATA_LUN14 da13 gmultipath label SATA_LUN15 da14 gmultipath label SATA_LUN16 da15 gmultipath label SATA_LUN17 da16 gmultipath label SATA_LUN18 da17 .. Then "gmultipath status" should show your unique labels each with a single = component. Then you would do: zpool create master multipath/SATA_LUN{01,02,03,04,05,06,=85} ahh ok got it, and probably on the other node gmultipath label SATA_LUN19 da0 gmultipath label SATA_LUN20 da1 -------------------snip------------------------------ gmultipath label SATA_LUN36 da15 No. You do not need to label the other "node" Since the "gmultipath label =85" command writes data to the disk, you do no= t need to label the disk multiple times (and in fact would be an error to).= Rather, as the system is probing and adding disks, it will automatically d= etect multiple paths based on this data stored on the disk. Read: If da0 and another da# device are indeed two paths to the same device= , then as those devices are probed by the kernel, "gmultipath status" will = dynamically show the newly discovered paths. If, after labeling all the devices on a single path you find that "gmultipa= th status" still shows only one component for each label, try rebooting. If= still after a reboot "gmultipath status" only shows a single component for= each label, then clearly you are not configured (hardware wise) for multip= le paths to the same components (and this may be where the "gmultipath" ver= sus "gmirror" nit that I caught in your original post comes into play -- ma= ybe "gmultipath" was the wrong thing to put in the subject if you don't hav= e multiple paths to the same components but instead have a mirrored set of = components that you want to gmirror all your data to a second pool -- if th= at ends up being the case, then I would actually recommend a zfs send/recei= ve cron-job based on snapshots to utilize the performance of ZFS Copy On Wr= ite rather than perhaps gmirror; but your mileage may vary). -- Devin then create the zpool from the "36" multipath devices? so if i create a 36 drive multipath zpool on nodeA when it fails do i just = import it to nodeB i was thinking to use carp for failover..... so nodeB would continue nfs se= ssions and import the zpool to nodeB -- Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 00:28:24 2013 Return-Path: Delivered-To: freebsd-questions@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 F3472B3A; Thu, 18 Apr 2013 00:28:23 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by mx1.freebsd.org (Postfix) with ESMTP id ACE51F7D; Thu, 18 Apr 2013 00:28:23 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id n1so2182272oag.23 for ; Wed, 17 Apr 2013 17:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=cKq+oF89YQZ+eYEetnkdYDtswbceu5Gu93OaPa2nIB4=; b=tb9aINlTH1RpJ4k02tSn6koEX0eMM8Ed5il6Up5wK3F0FVNps2i6djyVZpAXv8p/7K 7Fl6bEU04VMGqLEOcZc0/nBL+7CgbRlswRsvmxBzZlFV7r/oaETnydaRqHoYederibPu JqXNINvYIVsCltFs98IDrnX278//oBOVbrkhSvkuJzLXbiocOlepmgJxBttwaCTVA7Ss WWksLqF2zI6UiSbaX3otDS9T06R+V67gmFznhScFunYTRt7kAnxJXFXlK5dCWuwZM0/6 cn6f3rhPiduc/9x342ZQz6UDQaMbsRWVddvh2uMRz/NuABR78+wOcsaWSUNmNPhZf0Iu RYXA== MIME-Version: 1.0 X-Received: by 10.182.43.164 with SMTP id x4mr3929448obl.28.1366244902926; Wed, 17 Apr 2013 17:28:22 -0700 (PDT) Received: by 10.76.135.194 with HTTP; Wed, 17 Apr 2013 17:28:22 -0700 (PDT) In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F0613F@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F05E0A@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F05FD4@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F0613F@ltcfiswmsgmb21> Date: Wed, 17 Apr 2013 20:28:22 -0400 Message-ID: Subject: Re: gmultipath, ses and shared disks / cant seem to share between local nodes From: Outback Dingo To: Devin Teske Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions 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: Thu, 18 Apr 2013 00:28:24 -0000 On Wed, Apr 17, 2013 at 8:05 PM, Teske, Devin wr= ote: > > On Apr 17, 2013, at 4:56 PM, Outback Dingo wrote: > > > > > On Wed, Apr 17, 2013 at 7:29 PM, Teske, Devin = wrote: > >> >> On Apr 17, 2013, at 4:10 PM, Outback Dingo wrote: >> >> >> >> >> On Wed, Apr 17, 2013 at 6:39 PM, Teske, Devin wrote: >> >>> >>> On Apr 17, 2013, at 3:26 PM, Outback Dingo wrote: >>> >>> > Ok, maybe im at a loss here in the way my brain is viewing this >>> > >>> > we have a box, its got 2 nodes in the chassis, and 32 sata drives >>> > attached to a SATA/SAS backplane via 4 (2 per node) LSI MPT SAS2 card= s >>> > should i not logically be seeing 4 controllers X #drive count ?? >>> > >>> > camcontrol devlist shows 32 devices, daX,passX and sesX,passX >>> > >>> > at scbus0 target 9 lun 0 (da0,pass= 0) >>> > at scbus0 target 10 lun 0 (ses0,pass1) >>> > at scbus0 target 11 lun 0 >>> (da1,pass2) >>> > at scbus0 target 12 lun 0 (ses1,pass3) >>> > at scbus0 target 13 lun 0 >>> (da2,pass4) >>> > at scbus0 target 14 lun 0 (ses2,pass5) >>> > at scbus0 target 15 lun 0 >>> (da3,pass6) >>> > at scbus0 target 16 lun 0 (ses3,pass7) >>> > at scbus0 target 17 lun 0 >>> (da4,pass8) >>> > at scbus0 target 18 lun 0 (ses4,pass9) >>> > at scbus0 target 19 lun 0 >>> (da5,pass10) >>> > at scbus0 target 20 lun 0 (ses5,pass11) >>> > at scbus0 target 21 lun 0 >>> (da6,pass12) >>> > at scbus0 target 22 lun 0 (ses6,pass13) >>> > at scbus0 target 23 lun 0 >>> (da7,pass14) >>> > at scbus0 target 24 lun 0 (ses7,pass15) >>> > at scbus1 target 0 lun 0 >>> (da8,pass16) >>> > at scbus1 target 1 lun 0 >>> (da9,pass17) >>> > at scbus8 target 10 lun 0 (ses8,pass19) >>> > at scbus8 target 11 lun 0 >>> (da11,pass20) >>> > at scbus8 target 12 lun 0 (ses9,pass21) >>> > at scbus8 target 13 lun 0 >>> (da12,pass22) >>> > at scbus8 target 14 lun 0 (ses10,pass23) >>> > at scbus8 target 15 lun 0 >>> (da13,pass24) >>> > at scbus8 target 16 lun 0 (ses11,pass25) >>> > at scbus8 target 17 lun 0 >>> (da14,pass26) >>> > at scbus8 target 18 lun 0 (ses12,pass27) >>> > at scbus8 target 19 lun 0 >>> (da15,pass28) >>> > at scbus8 target 20 lun 0 (ses13,pass29) >>> > at scbus8 target 21 lun 0 >>> (da16,pass30) >>> > at scbus8 target 22 lun 0 (ses14,pass31) >>> > at scbus8 target 23 lun 0 >>> (da17,pass32) >>> > at scbus8 target 24 lun 0 (ses15,pass33) >>> > at scbus9 target 0 lun 0 >>> (da18,pass34) >>> > >>> > >>> > we would like to create a zpool from all the devices, that in theory = if >>> > nodeA failed >>> > then nodeB could force import the pool, >>> >>> gmultipath (which you mention in the subject) is the appropriate tool >>> for this, but there's no need for an import of the pool if you build th= e >>> pool out of multipath devices. In our experience, we can pull a cable a= nd >>> zfs continues working just fine. >>> >>> In other words, don't build the pool out of the devices, put a >>> gmultipath label on each device and then use /dev/multipath/LABEL for t= he >>> zpool devices. >>> >>> >>> > nodeA and NodeB are attached through >>> > dual LSI controllers, to the SATA/SAS backplane. but i cant seem to >>> create >>> > a zpool from sesX or passX devices, i can however create a 16 drive >>> zp0ol >>> > on either node, from any daX device. what did i miss? ive looked at >>> > gmirror, and also ses documents. Any insight is appreciated, thanks i= n >>> > advance. >>> >>> gmirror is the wrong tool, gmultipath is what you want. The basic task >>> is to use "gmultipath label FOO da#" to write a cookie on the disk (use= d to >>> identify new/existing paths during GOEM "taste" events for example). >>> >>> After you've labeled the da# devices with gmultipath you say "gmultipat= h >>> status" to see the components of each label and you use "multipath/LABE= L" >>> as your disk name when creating the zpool (these correspond directly to >>> /dev/multipath/LABEL, but "zpool create =85" or "zpool add =85" allow y= ou to >>> omit the leading "/dev"). >>> >> >> sanity check me on node A i did >> >> zpool destroy master >> >> gmultipath label FOO da0 >> >> gmultipath status >> Name Status Components >> multipath/FOO DEGRADED da0 (ACTIVE) >> multipath/FOO-619648737 DEGRADED da1 (ACTIVE) >> multipath/FOO-191725652 DEGRADED da2 (ACTIVE) >> multipath/FOO-1539342315 DEGRADED da3 (ACTIVE) >> multipath/FOO-1276041606 DEGRADED da4 (ACTIVE) >> multipath/FOO-2000832198 DEGRADED da5 (ACTIVE) >> multipath/FOO-1285640577 DEGRADED da6 (ACTIVE) >> multipath/FOO-1816092574 DEGRADED da7 (ACTIVE) >> multipath/FOO-1102254444 DEGRADED da8 (ACTIVE) >> multipath/FOO-330300690 DEGRADED da9 (ACTIVE) >> multipath/FOO-92140635 DEGRADED da10 (ACTIVE) >> multipath/FOO-855257672 DEGRADED da11 (ACTIVE) >> multipath/FOO-1003634134 DEGRADED da12 (ACTIVE) >> multipath/FOO-2449862 DEGRADED da13 (ACTIVE) >> multipath/FOO-1137080233 DEGRADED da14 (ACTIVE) >> multipath/FOO-1696804371 DEGRADED da15 (ACTIVE) >> multipath/FOO-1304457562 DEGRADED da16 (ACTIVE) >> multipath/FOO-912159854 DEGRADED da17 (ACTIVE) >> >> now on node B i should do the same? reboot both nodes and i should be >> able "see" 32 multipath/FOO deices to create a pool from ? >> >> >> It appears from the above output that you labeled all of the block >> devices (da0 through da17) with the same label. >> >> This is not what you want. >> >> Use "gmultipath clear FOO" on each of the block devices and have >> another go using unique values. >> >> For example: >> >> gmultipath label SATA_LUN01 da0 >> gmultipath label SATA_LUN02 da1 >> gmultipath label SATA_LUN03 da2 >> gmultipath label SATA_LUN04 da3 >> gmultipath label SATA_LUN05 da4 >> gmultipath label SATA_LUN06 da5 >> gmultipath label SATA_LUN07 da6 >> gmultipath label SATA_LUN08 da7 >> gmultipath label SATA_LUN09 da8 >> gmultipath label SATA_LUN10 da9 >> gmultipath label SATA_LUN11 da10 >> gmultipath label SATA_LUN12 da11 >> gmultipath label SATA_LUN13 da12 >> gmultipath label SATA_LUN14 da13 >> gmultipath label SATA_LUN15 da14 >> gmultipath label SATA_LUN16 da15 >> gmultipath label SATA_LUN17 da16 >> gmultipath label SATA_LUN18 da17 >> .. >> >> Then "gmultipath status" should show your unique labels each with a >> single component. >> >> Then you would do: >> >> zpool create master multipath/SATA_LUN{01,02,03,04,05,06,=85} >> >> > ahh ok got it, and probably on the other node > > gmultipath label SATA_LUN19 da0 > gmultipath label SATA_LUN20 da1 > > -------------------snip------------------------------ > > gmultipath label SATA_LUN36 da15 > > > No. You do not need to label the other "node" > > Since the "gmultipath label =85" command writes data to the disk, you do > not need to label the disk multiple times (and in fact would be an error > to). Rather, as the system is probing and adding disks, it will > automatically detect multiple paths based on this data stored on the disk= . > > Read: If da0 and another da# device are indeed two paths to the same > device, then as those devices are probed by the kernel, "gmultipath statu= s" > will dynamically show the newly discovered paths. > > If, after labeling all the devices on a single path you find that > "gmultipath status" still shows only one component for each label, try > rebooting. If still after a reboot "gmultipath status" only shows a singl= e > component for each label, then clearly you are not configured (hardware > wise) for multiple paths to the same components (and this may be where th= e > "gmultipath" versus "gmirror" nit that I caught in your original post com= es > into play -- maybe "gmultipath" was the wrong thing to put in the subject > if you don't have multiple paths to the same components but instead have = a > mirrored set of components that you want to gmirror all your data to a > second pool -- if that ends up being the case, then I would actually > recommend a zfs send/receive cron-job based on snapshots to utilize the > performance of ZFS Copy On Write rather than perhaps gmirror; but your > mileage may vary). > -- > well nodeA sees daX devices, where nodeB does also however the serials for da0 are different on both nodes it seems NodeA sees NodeB drives as sesX/(daX,passX) and NodeB sees NodeA drives as sesX/(daX,passX) each node sees pass0 to pass32 so i would think the 4 LSI controllers connected to the backplane see all 32 SATA drives in the enclosure nodeA drive list camcontrol devlist at scbus0 target 9 lun 0 (da0,pass0) at scbus0 target 10 lun 0 (ses0,pass1) at scbus0 target 11 lun 0 (da1,pass2) at scbus0 target 12 lun 0 (ses1,pass3) at scbus0 target 13 lun 0 (da2,pass4) at scbus0 target 14 lun 0 (ses2,pass5) at scbus0 target 15 lun 0 (da3,pass6) at scbus0 target 16 lun 0 (ses3,pass7) at scbus0 target 17 lun 0 (da4,pass8) at scbus0 target 18 lun 0 (ses4,pass9) at scbus0 target 19 lun 0 (da5,pass10) at scbus0 target 20 lun 0 (ses5,pass11) at scbus0 target 21 lun 0 (da6,pass12) at scbus0 target 22 lun 0 (ses6,pass13) at scbus0 target 23 lun 0 (da7,pass14) at scbus0 target 24 lun 0 (ses7,pass15) at scbus1 target 0 lun 0 (da8,pass16) at scbus1 target 1 lun 0 (da9,pass17) at scbus8 target 9 lun 0 (da10,pass18) at scbus8 target 10 lun 0 (ses8,pass19) at scbus8 target 11 lun 0 (da11,pass20) at scbus8 target 12 lun 0 (ses9,pass21) at scbus8 target 13 lun 0 (da12,pass22) at scbus8 target 14 lun 0 (ses10,pass23) at scbus8 target 15 lun 0 (da13,pass24) at scbus8 target 16 lun 0 (ses11,pass25) at scbus8 target 17 lun 0 (da14,pass26) at scbus8 target 18 lun 0 (ses12,pass27) at scbus8 target 19 lun 0 (da15,pass28) at scbus8 target 20 lun 0 (ses13,pass29) at scbus8 target 21 lun 0 (da16,pass30) at scbus8 target 22 lun 0 (ses14,pass31) at scbus8 target 23 lun 0 (da17,pass32) at scbus8 target 24 lun 0 (ses15,pass33) nodeB drive list camcontrol devlist at scbus0 target 9 lun 0 (pass0,da0) at scbus0 target 10 lun 0 (pass1,da1) at scbus0 target 11 lun 0 (ses0,pass2) at scbus0 target 12 lun 0 (pass3,da2) at scbus0 target 13 lun 0 (ses1,pass4) at scbus0 target 14 lun 0 (pass5,da3) at scbus0 target 15 lun 0 (ses2,pass6) at scbus0 target 16 lun 0 (pass7,da4) at scbus0 target 17 lun 0 (ses3,pass8) at scbus0 target 18 lun 0 (pass9,da5) at scbus0 target 19 lun 0 (ses4,pass10) at scbus0 target 20 lun 0 (pass11,da6) at scbus0 target 21 lun 0 (pass12,da7) at scbus0 target 22 lun 0 (ses5,pass13) at scbus0 target 23 lun 0 (pass14,da8) at scbus0 target 25 lun 0 (ses6,pass15) at scbus0 target 26 lun 0 (pass16,da9) at scbus0 target 28 lun 0 (ses7,pass17) at scbus1 target 0 lun 0 (pass18,da10) at scbus1 target 1 lun 0 (pass19,da11) at scbus8 target 9 lun 0 (pass20,da12) at scbus8 target 10 lun 0 (ses8,pass21) at scbus8 target 11 lun 0 (pass22,da13) at scbus8 target 12 lun 0 (ses9,pass23) at scbus8 target 13 lun 0 (pass24,da14) at scbus8 target 14 lun 0 (ses10,pass25) at scbus8 target 15 lun 0 (pass26,da15) at scbus8 target 16 lun 0 (ses11,pass27) at scbus8 target 17 lun 0 (pass28,da16) at scbus8 target 18 lun 0 (ses12,pass29) at scbus8 target 19 lun 0 (pass30,da17) at scbus8 target 20 lun 0 (ses13,pass31) at scbus8 target 21 lun 0 (pass32,da18) at scbus8 target 22 lun 0 (ses14,pass33) at scbus8 target 23 lun 0 (pass34,da19) at scbus8 target 24 lun 0 (ses15,pass35) at scbus10 target 0 lun 0 (da20,pass36) the logic looks right, correct? Devin > > > > then create the zpool from the "36" multipath devices? > > so if i create a 36 drive multipath zpool on nodeA when it fails do i > just import it to nodeB > i was thinking to use carp for failover..... so nodeB would continue nfs > sessions and import the zpool to nodeB > > > >> -- >> Devin >> >> _____________ >> The information contained in this message is proprietary and/or >> confidential. If you are not the intended recipient, please: (i) delete = the >> message and all copies; (ii) do not disclose, distribute or use the mess= age >> in any manner; and (iii) notify the sender immediately. In addition, ple= ase >> be aware that any message addressed to our domain is subject to archivin= g >> and review by persons other than the intended recipient. Thank you. >> > > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 04:45:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BEB6920C for ; Thu, 18 Apr 2013 04:45:17 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from server6.mbg.se (unknown [IPv6:2001:470:de6b::1006]) by mx1.freebsd.org (Postfix) with ESMTP id 1A256A15 for ; Thu, 18 Apr 2013 04:45:16 +0000 (UTC) Received: from [172.17.0.140] (c224-156-70-80.bjare.net [80.70.156.224]) (authenticated bits=0) by server6.mbg.se (8.14.5/8.14.5) with ESMTP id r3I4T0k6011194 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 18 Apr 2013 06:45:02 +0200 (CEST) (envelope-from leslie@eskk.nu) Date: Thu, 18 Apr 2013 06:45:00 +0200 Subject: SV: Strange console behavior - hangs every few minutes until a key is pressed Message-ID: <0ornin2001sgwnffe3e1d6tw.1366260300232@email.android.com> Importance: normal From: Leslie Jensen To: david.i.noel@gmail.com, freebsd-questions@freebsd.org MIME-Version: 1.0 X-Spam-Status: No, score=-94.8 required=7.0 tests=HTML_MESSAGE,RCVD_IN_PBL, RCVD_IN_RP_RNBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on server6.mbg.se Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 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: Leslie Jensen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 04:45:17 -0000 SSdtIHNlZWluZyB0aGUgc2FtZSB0eXBlIG9mIGJlaGF2aW91ciBvbiBteSBjb21wdXRlci4gSXQn cyBhIDkuMS1SRUxFQVNFIHdpdGggeGZjZSBhcyBkZXNrdG9wIGVudmlyb25tZW50LiBJIHVzdWFs bHkgc3NoIHRvIGEgcmVtb3RlIHNlcnZlciBhbmQgZG8gcG9ydCB1cGdyYWRlcy4gSSBsZWF2ZSB0 aGUgdGVybWluYWwgb24gaXQncyBvd24gZGVza3RvcCBhbmQgdXBvbiByZXR1cm5pbmcgaXQncyBm cm96ZW4uIEkgY2FuJ3QgZ2V0IGl0IHRvIHJlYWN0IG9uIGtleWJvYXJkIGlucHV0LiBJIGNsb3Nl IHRoZSB0ZXJtaW5hbCB3aW5kb3cgYW5kIHJlY29ubmVjdCB0byBzb2x2ZSB0aGlzLsKgCi9MZXNs aWUKCi0tLS0tLS0tIE9yaWdpbmFsbWVkZGVsYW5kZSAtLS0tLS0tLQpGcsOlbjogRGF2aWQgTm9l bCA8ZGF2aWQuaS5ub2VsQGdtYWlsLmNvbT4gCkRhdHVtOiAgClRpbGw6IGZyZWVic2QtcXVlc3Rp b25zQGZyZWVic2Qub3JnIApSdWJyaWs6IFN0cmFuZ2UgY29uc29sZSBiZWhhdmlvciAtIGhhbmdz IGV2ZXJ5IGZldyBtaW51dGVzIHVudGlsIGEga2V5IGlzIHByZXNzZWQgCiAKSSdtIGV4cGVyaWVu Y2luZyBzb21ldGhpbmcgb2RkIGZyb20gYSBmZXcgbmV3IHNlcnZlcnMgSSd2ZSBiZWVuCnNldHRp bmcgdXAgdG9kYXkuIEknbGwgZG8gc29tZXRoaW5nIGF0IHRoZSBjb25zb2xlIHRoYXQgdGFrZXMg c29tZQphbW91bnQgb2YgdGltZSBhbmQgcHJvZHVjZXMgbG90cyBvZiBvdXRwdXQgc3VjaCBhcyBm ZXRjaGluZyB0aGUgcG9ydHMKdHJlZSwgc3ZuIHVwZGF0aW5nIC91c3Ivc3JjLywgb3IgYnVpbGRp bmcgd29ybGQsIGFuZCB0aGUgY29uc29sZSB3aWxsCmhhbmcuIFRoZSBjb25zb2xlIGNlYXNlcyB0 byBwcm9kdWNlIGFueSBhZGRpdGlvbmFsIG91dHB1dCB1bnRpbCBhIGtleQppcyBwcmVzc2VkLiBJ dCBkb2Vzbid0IHNlZW0gdG8gYmUgdGhlIGNhc2UgdGhhdCBwcm9ncmFtIGV4ZWN1dGlvbiBpcwph ZmZlY3RlZCwgdGhlIHNvdXJjZSB0cmVlIGNvbnRpbnVlcyB0byBjaGVja291dCwgZm9yIGV4YW1w bGUsIGJ1dCB0aGUKY29uc29sZSBpcyAnZnJvemVuJyBhbmQgcHJvZHVjZXMgbm8gYWRkaXRpb25h bCBvdXRwdXQuIEhhcyBhbnlvbmUgcnVuCmludG8gdGhpcyBiZWZvcmU/IEFueSB0aG91Z2h0cyBh cyB0byB3aGF0J3MgZ29pbmcgd3Jvbmcgb3IgaG93IHRvIGZpeAp0aGlzPyBJJ20gcnVubmluZyA4 LjIgYW5kIGFtIGluIHRoZSBwcm9jZXNzIG9mIHVwZGF0aW5nIHRvIDguMwooYnVpbGR3b3JsZCBp cyBydW5uaW5nIGF0IHRoZSBtb21lbnQgb24gc2V2ZXJhbCBvZiB0aGVtIGF0IHRoZSBtb21lbnQs CndpdGggdGhlc2UgaGljY3VwcyBldmVyeSBmZXcgbWludXRlcy4uIGl0J3MgdmVyeSBvZGQpLgpf X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpmcmVlYnNkLXF1 ZXN0aW9uc0BmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QKaHR0cDovL2xpc3RzLmZyZWVic2Qub3Jn L21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1xdWVzdGlvbnMKVG8gdW5zdWJzY3JpYmUsIHNlbmQg YW55IG1haWwgdG8gImZyZWVic2QtcXVlc3Rpb25zLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIgo= From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 06:01:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B3FD13D7 for ; Thu, 18 Apr 2013 06:01:36 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA92D0A for ; Thu, 18 Apr 2013 06:01:36 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UShua-0005lO-1T for freebsd-questions@freebsd.org; Wed, 17 Apr 2013 23:01:36 -0700 Date: Wed, 17 Apr 2013 23:01:36 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366264896038-5804717.post@n5.nabble.com> In-Reply-To: <20130416220138.cc370ec9.freebsd@edvax.de> References: <1366004782540-5803899.post@n5.nabble.com> <20130415134043.d7f0eb1f.freebsd@edvax.de> <1366132589817-5804272.post@n5.nabble.com> <20130416220138.cc370ec9.freebsd@edvax.de> Subject: dvd recorder & audio cd problems MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Thu, 18 Apr 2013 06:01:36 -0000 Bernt Hansson posted a message for using sysutils/cdrtools (not in the thread for some reason...) Interestingly I get a possibly informative error: % cdda2wav --device /dev/cd0 --bulk cdrom device (/dev/cd0) is not of type generic SCSI. Setting interface to cooked_ioctl. 307200 bytes buffer memory requested, transfer size 129024 bytes, 4 buffers, 27 sectors #Cdda2wav version 3.00_freebsd_10.0-current_amd64_amd64, real time sched., soundcard, libparanoia support Segmentation fault (core dumped) I am re-building the cdrtools to see if it will correct, but I was also interested in the "dev/cd0 is not of type generic SCSI. Setting interface to cooked_ioctl." bit, and whether it was related to my other errors re permission etc. Regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/dvd-recorder-audio-cd-problems-tp5803899p5804717.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 06:25:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C306EA5C for ; Thu, 18 Apr 2013 06:25:10 +0000 (UTC) (envelope-from healthclubprosperitytips61@yahoo.com) Received: from nm15-vm3.bullet.mail.ne1.yahoo.com (nm15-vm3.bullet.mail.ne1.yahoo.com [98.138.91.145]) by mx1.freebsd.org (Postfix) with ESMTP id F2789DCC for ; Thu, 18 Apr 2013 06:25:09 +0000 (UTC) Received: from [98.138.90.52] by nm15.bullet.mail.ne1.yahoo.com with NNFMP; 18 Apr 2013 06:23:01 -0000 Received: from [98.138.226.60] by tm5.bullet.mail.ne1.yahoo.com with NNFMP; 18 Apr 2013 06:23:01 -0000 Received: from [127.0.0.1] by smtp211.mail.ne1.yahoo.com with NNFMP; 18 Apr 2013 06:23:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1366266181; bh=qeb+34G13cCfNmhMEmkA4i1EBWd71thv4Vv67XGj4/E=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Return-Path:MIME-Version:From:Reply-To:To:Subject:Content-Type:Content-Transfer-Encoding:X-Mailer:Date:Message-ID; b=vOeXAFjlU9O+RRV/FcK9xDpbcS05whdoK4/dUEsidW8Zanx4EUFvFUbPJPOHmOdcrJW6mQgQLzV5TyqOLhjaTLK9/a6u0cUOCAIWrxeqCRnDDujZkBMJDZQmHgrnHliDipfpfQHr95yiJoSKvvJvatie1gDiQHqkXOvaqSPxdek= X-Yahoo-Newman-Id: 575771.90067.bm@smtp211.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: wx74RMAVM1mpclyrD2WykAydGBggMyStQ4ln0WV66KpdgJX Z2XCOqGkU6_HeR4ivtOSCuf2U3LWyCzfOcE1WYYZY4Jo6TPjM07v91xR86Op suwDXyLA3V_crwzqusPDN_581VWY2O_VjXMr9N0acCDpChpd.ib51ceYpI9m XxGFhS9PeWRRUmdIUdNjCIRWGWGO_0jaIrNm7LbaP2EOA4661Euzil_iKpsx YMlxQKfeGaUbBiWznsaf7g3vXdsJtxKyZDp3vms_By1C25x2RODOL0hO6o6N ZL9rSek9dm6pdh6OetoVp6JLiDxgYHN6vyP0YpfA.vU0O8gZ3zmu1JYZH9PX rysHIg5Y0Y6bNukQLil9UTcfbZN6eOSynVd3YgGNdvB7.qZGJbOAF.135kR8 ZhmO6WQICsoR41dzb7DzkJ6I9mLk38Jo31RAM..b7MQDgzWzSwxXvQxraL7T 9eE367be7hjshf2MKT8eJ4lbPqch0Q9ReoLsb9Q2k.7fK2d2qLJhVR064cn_ kKVqi2ZPPX6yN.Tl. X-Yahoo-SMTP: WKO.P2qswBAQigtSgMiUBNMPY4s_Yv9IH1A8yneiyIQ_5gJCzK0. X-Rocket-Received: from 50.117.80.165 (healthclubprosperitytips61@74.115.0.205 with login) by smtp211.mail.ne1.yahoo.com with SMTP; 17 Apr 2013 23:23:01 -0700 PDT From: "healthclubprosperitytips61" To: freebsd-questions@freebsd.org Subject: Health Club Business Tips X-Mailer: Smart_Send_2_0_138 Date: Thu, 18 Apr 2013 14:22:58 +0800 Message-ID: <1722313413442152023802@CHERRY-PC> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" 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: healthclubprosperitytips61@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 06:25:10 -0000 [1]www.healthclubrev.com HEALTH CLUB MARKETING TIP OF THE MONTH: ATTENTION, INTEREST, DESIRE AND ACTION (AIDA) ATTENTION: This is best accomplished with an offer the consumer has never seen before. INTEREST: Focus on the emotional hook in your health club marketing campaign that will create interest and make the consumer want to buy your health club products and your health club services. DESIRE: Consumers buy health club products and health club services for emotional reasons not logical reasons. ACTION: Make sure your health club marketing has a definitive call to action as to why the consumer must take action today. Click on the link below to learn about MMC®'s CASH promotion and how we have raised $250,000 in immediate cash and added more than 500 new members, in just 45 days for numerous Health Clubs. [2]http://www.healthclubrev.com/CASH_PROMOTION.html MMC®'s site has free videos on how to increase revenue (immediate cash, monthly receivables and member retention), capture the difficult to reach market, engage the de-conditioned and the health and fitness conscience prospect, increase revenue in your profit centers e.g. pro-shop, food and beverage, guest fees, personal training and so much more, absolutely free. "I would like to express my appreciation to MMC and all the staff. As a Health Club owner for twenty years, and operating one of the largest Gold's Gym, I did have some initial reservations regarding your Company and the amount of revenue that you indicated were possible with your promotion. I am happy to say that the promotion was a great success and also that the revenues you predicted were very accurate. We were able to add an additional 1200 plus members in a short time. Impact upon the current members was very minimal." Gold's Gym and Racquet club Randy Musloki Owner "The MMC program not only assisted with putting cash in hand but also afforded our staff new insight into sales and membership techniques that will be useful well past the end of the program." Yorktown Racquet, Fitness and Sport Complex Joseph D. Glitz Owner/President Dear Chuck, We have seven hundred (700) new members, money in the bank and a staff that can't wait until the next promotion. I just wanted to take a moment to personally thank you and let you know just how satisfied we were with MMC and you. North Shore Athletic Club JoAnn C. Ribaudo Owner Dear Chuck, I wanted to write you and let you know how satisfied we were with you and Mulligan Marketing. What great couple of months it has been at the club. Now only did your company deliver a "turn-key" promotion, the entire campaign was run with little or no effort on my part, which allowed me to concentrate on my day to day business of running the club. The promotion raised almost $400,000, nearly twice what we projected. In addition, not only did your on-site training have an immediate impact on my sales staff, the techniques you taught them and the materials that you distributed will benefit them for the long term. Your professionalism and enthusiasm throughout the campaign has truly made it a pleasurable experience. It is refreshing to work with someone as honest as you who truly deliver results. The Auburn Club Jennifer Nabbo Wishing you good health and prosperity, Chuck Thompson Founder/President MMC® 904-307-6736 Cell 904-448-5727 Office 877-620-8135 Toll Free If you wish not to receive these free tips on growing your health club and your health and fitness career, simply click on the unsubscribe button below to be taken off our list. [3][Unsubscribe] Notice: It is not our intention to "spam" any person or company. We have received your email through a legitimate avenue. We have been in business for more than 20 plus years and have collected opt-in emails from all of our internal resources i.e. employees, sales consultants, co-op marketing partners, etc. We have never done e-marketing over the past twenty plus years because we never offered anything of value on our site (with the exception of product information), until now. We are simply making an attempt to connect and re-connect with our clients, prospects and associates of past and present and make them aware of our new educational site and domain. We do realize some of you may have forgotten us or don't remember (or know) how we received your email (as we can't remember every email either) and for that we apologize in advance. Please be patient with us. If you do not wish to receive further communication from us please reply with the word "REMOVE" or "UNSUBSCRIBE" in the subject field and we will make every effort to eliminate you from all of our data bases immediately. Also, please make sure you reply from the original e-mail address this message was addressed to, or, include that address in the removal request. Please excuse any inconvenience. References 1. http://www.healthclubrev.com/ 2. http://www.healthclubrev.com/CASH_PROMOTION.html 3. mailto:?subject=Unsubscribe From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 07:16:53 2013 Return-Path: Delivered-To: freebsd-questions@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 459DB76F for ; Thu, 18 Apr 2013 07:16:53 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id D4C02F7D for ; Thu, 18 Apr 2013 07:16:52 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AngGANWcb1FR8npE/2dsb2JhbABQgwa+JIJqfhd0gh8BAQVWIgEQCxgJFg8JAwIBAgEnHgYNAQcBAYgUvWqPGgeDRgOPVYEplxyDDTo Received: from 68.122-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.122.68]) by relay.skynet.be with ESMTP; 18 Apr 2013 09:16:44 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.6/8.14.6) with ESMTP id r3I7GhTa001114; Thu, 18 Apr 2013 09:16:44 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <516F9DD2.6030200@coosemans.org> Date: Thu, 18 Apr 2013 09:16:34 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130408 Thunderbird/17.0.5 MIME-Version: 1.0 To: Beeblebrox Subject: Re: sata/ata device permission for user References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> In-Reply-To: <1366004997052-5803900.post@n5.nabble.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2CTKAWIQSVBLLWKBCIQRF" 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: Thu, 18 Apr 2013 07:16:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CTKAWIQSVBLLWKBCIQRF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-04-15 07:49, Beeblebrox wrote: > EDIT: I had already placed in /etc/devfs.conf this entry some time ago:= >=20 > # Allow members of group operator to mount cdrom > own /dev/cd0 root:operator > perm /dev/cd0 0660 >=20 > Not allowing mount despite all of these adjustments (being tested with = data > cd and NOT audio cd), which is what I am unable to figure out. The user also needs access to the corresponding pass device which is shown by "camcontrol devlist". He also needs access to /dev/xpt0 I think. ------enig2CTKAWIQSVBLLWKBCIQRF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iF4EAREIAAYFAlFvndsACgkQfoCS2CCgtisysAD+K7y7o9pPZs7qohPxfgbFN6Ny HfEl5R98+Aq4hXtuqNAA+wYcKoWcQh6w0BDooKkQPsZWQ0QwAqM+fmL9mYVBVI4u =2Ucm -----END PGP SIGNATURE----- ------enig2CTKAWIQSVBLLWKBCIQRF-- From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 07:30:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F18E0A4E for ; Thu, 18 Apr 2013 07:30:57 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 7D42FFFD for ; Thu, 18 Apr 2013 07:30:57 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id fr10so2271072lab.17 for ; Thu, 18 Apr 2013 00:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=LmOlaTa1f6RXorlGE0dmHklrPV5CafoNhZgx7EiCuKM=; b=0c2EtX+r/MuP2+3H0pOa2W3vbYgfZzRtuDIo5NGwneEqOW29K2FSYk7E92iweIKn+l 3LBP/F3pxrkiwzeJ955tO9bUEzfA3KaD+M4xV8FpBha83zt/dx/kxPsEWasuDz3vk/PY Vdx8+mRrdSYjQC50FIJgEU547upDVYYvdxBmSgdJ3ToYFe74ireQa2BcIRp9c0k2la/S hIb9BbCNfpCVgVQ5sZ3EA0McnFbt3cVWiQidtaoKze7De1mwwkAk6CrxgaAnH8HzY43+ xP32N5UGB9C7qdUXUzD53CKaeWbOA8HbKMQ4hi9h1Pqf1fXPpG6442ZfZBzeAgEA78fR iH2A== X-Received: by 10.112.141.38 with SMTP id rl6mr4491018lbb.101.1366270256448; Thu, 18 Apr 2013 00:30:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.127.170 with HTTP; Thu, 18 Apr 2013 00:30:15 -0700 (PDT) In-Reply-To: References: <515D3715.9080206@clari.net.au> From: saeedeh motlagh Date: Thu, 18 Apr 2013 12:00:15 +0430 Message-ID: Subject: Re: Fwd: how access inside from outside when nat is done from inside to outside To: s m Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Daniel O'Callaghan , freebsd-questions 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: Thu, 18 Apr 2013 07:30:58 -0000 hi sam i do not know what is the exactly correct manner in freebsd, but it think based on definition for NAT, you should not be able to access inside systems from outside unless you have port direction. On Tue, Apr 16, 2013 at 11:35 AM, s m wrote: > thanks Danny, but i'm using pf to define rules and pfctl to apply them. > > first of all it is so important for me to understand what should > exactly happen and what is the correct behavior in freebsd. i mean > when i define nat from inside to outside, should outside system can > access inside systems or not? (for example ping them). > i am so confused what is the correct manner. any hints or comments > that help to clear it for me, is really appreciated. > SAM > > On 4/4/13, Daniel O'Callaghan wrote: > > On 4/04/2013 6:41 PM, s m wrote: > >> request packets: src:192.168.2.1----> dst: 192.168.1.1 > >> reply packets: src: 192.168.2.50----> dst:192.168.2.1 > > This sort of thing tends to happen when the the packets are not being > > sent via divert socket properly. > > Look carefully, step by step, at your ipfw rules which send packets to > > natd. > > Also, run natd -v in a separate window instead of running it as a > > daemon, and it will show you the packets which go through natd, and what > > is done with them. > > > > regards, > > > > Danny > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 07:32:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7FB8BAF3 for ; Thu, 18 Apr 2013 07:32:11 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 65D6173 for ; Thu, 18 Apr 2013 07:32:10 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1USjKD-0008Er-Tl for freebsd-questions@freebsd.org; Thu, 18 Apr 2013 00:32:09 -0700 Date: Thu, 18 Apr 2013 00:32:09 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366270329916-5804740.post@n5.nabble.com> In-Reply-To: <516F9DD2.6030200@coosemans.org> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> Subject: sata/ata device permission for user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Thu, 18 Apr 2013 07:32:11 -0000 >> The user also needs access to the corresponding pass device which is shown by "camcontrol devlist". He also needs access to /dev/xpt0 I think. at scbus6 target 0 lun 0 (cd0,pass3) crw------- 1 root operator 0x48 Apr 18 07:08 pass0 crw------- 1 root operator 0x49 Apr 18 07:08 pass1 crw------- 1 root operator 0x4a Apr 18 07:08 pass2 crw------- 1 root operator 0x4b Apr 18 07:08 pass3 crw------- 1 root operator 0x42 Apr 18 07:08 xpt0 User is member of operator group. However, I agree with your idea because just now I was working with cdrtools and got this error, but when I ran as root no error: % cdda2wav summary --device /dev/cd0 cdda2wav: Permission denied. Open of /dev/xpt0 failed. Cannot open or use SCSI driver. cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root. Probably you did not define your SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. Regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5804740.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 07:51:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A5853DCB for ; Thu, 18 Apr 2013 07:51:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6E264130 for ; Thu, 18 Apr 2013 07:51:22 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx01.qsc.de (Postfix) with ESMTP id 79E503CBCA; Thu, 18 Apr 2013 09:51:20 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3I7pTG2007552; Thu, 18 Apr 2013 09:51:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Apr 2013 09:51:29 +0200 From: Polytropon To: Beeblebrox Subject: Re: sata/ata device permission for user Message-Id: <20130418095129.7c6dc564.freebsd@edvax.de> In-Reply-To: <1366270329916-5804740.post@n5.nabble.com> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 07:51:22 -0000 On Thu, 18 Apr 2013 00:32:09 -0700 (PDT), Beeblebrox wrote: > >> The user also needs access to the corresponding pass device which is shown > by "camcontrol devlist". He also needs access to /dev/xpt0 I think. Correct, that matches my settings. :-) > at scbus6 target 0 lun 0 (cd0,pass3) > > crw------- 1 root operator 0x48 Apr 18 07:08 pass0 > crw------- 1 root operator 0x49 Apr 18 07:08 pass1 > crw------- 1 root operator 0x4a Apr 18 07:08 pass2 > crw------- 1 root operator 0x4b Apr 18 07:08 pass3 > crw------- 1 root operator 0x42 Apr 18 07:08 xpt0 > > User is member of operator group. But the group permissions are --- (none). > However, I agree with your idea because > just now I was working with cdrtools and got this error, but when I ran as > root no error: > > % cdda2wav summary --device /dev/cd0 > cdda2wav: Permission denied. Open of /dev/xpt0 failed. Cannot open or use > SCSI driver. > cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are > root. > Probably you did not define your SCSI device. > Set the CDDA_DEVICE environment variable or use the -D option. You should be able to see something like this: % cdda2wav summary --device /dev/cd0 No target specified, trying to find one... cdda2wav: Too many CD/DVD/BD-Recorder targets found. scsibus0: 0,0,0 0) 'HL-DT-ST' 'DVDRAM GSA-H42N ' 'RL00' Removable CD-ROM 0,1,0 1) 'HL-DT-ST' 'DVD-ROM GDR8163B' '0L30' Removable CD-ROM 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * cdda2wav: Select a target from the list above and use 'cdda2wav dev=b,t,l'. As it has been mentioned, access to xpt is also required. It should be fine to set this via group permissions. This is an example of possible settings: link cd0 dvd own cd0 root:operator perm cd0 0660 own cd1 root:operator perm cd1 0660 own pass0 root:operator perm pass0 0660 own pass1 root:operator perm pass1 0660 own xpt0 root:operator perm xpt0 0660 See "man xpt" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 08:46:59 2013 Return-Path: Delivered-To: freebsd-questions@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 CBEE3F0E for ; Thu, 18 Apr 2013 08:46:59 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 718E53F3 for ; Thu, 18 Apr 2013 08:46:59 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id t11so2067825wey.34 for ; Thu, 18 Apr 2013 01:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=KkCVyonLwo/SsVw9V1kbTJhuYSaLFbznHJk8RPxckgU=; b=Qh3oQQEoEXqlDaeY9MOekgaTIeuHIzpL1McjLR9/Zp3TGNyvjUlEggPjZK5QnlnCRV bXvfRaYetcSCzVp10YhClom7JB4na8S2QH6DcrRXSrLnoOiiHEjoKsSXuFA8mP/J2zSd HTs5c/fVjtgWACzegrfHunpjVmMuQYRl6NB9EGs8zvMpWKkkBlzcSbBsckApVpx04jW0 BaLos9k0thxYozKUj9KgbddVnQlTg2plO6KEYClzFuUNBuJknEu1AHKhC1nprH9yRBmj w9NBHOzZEka+sO94860I3EyGRkc8N6jKhYkIDagDnszgwhkooSzd4D42V31rj9lyKWZJ abMA== MIME-Version: 1.0 X-Received: by 10.194.220.37 with SMTP id pt5mr16950724wjc.16.1366274818659; Thu, 18 Apr 2013 01:46:58 -0700 (PDT) Received: by 10.194.76.147 with HTTP; Thu, 18 Apr 2013 01:46:58 -0700 (PDT) Date: Thu, 18 Apr 2013 10:46:58 +0200 Message-ID: Subject: ZFS on MBR does not boot at all From: David Demelier To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Thu, 18 Apr 2013 08:46:59 -0000 Hello, I would like to use ZFS over MBR for multiboot purposes. I've followed that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it does not boot at all. The loader does not show up after choosing FreeBSD in the boot0 loader. The _ prompt appears but nothing starts. I've found many people over the web having the same problem but unfortunately no one found a solution. I think the offensive commands are ones with dd and zfsboot. Regards, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 09:35:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ED9FC85F for ; Thu, 18 Apr 2013 09:35:24 +0000 (UTC) (envelope-from gabor@zahemszky.hu) Received: from default-smtp.integrity.hu (default-smtp.integrity.hu [212.52.165.203]) by mx1.freebsd.org (Postfix) with ESMTP id B2E60875 for ; Thu, 18 Apr 2013 09:35:24 +0000 (UTC) Received: by smtp.integrity.hu (Postfix, from userid 10000) id D10231346205; Thu, 18 Apr 2013 11:26:01 +0200 (CEST) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) (Authenticated sender: gabor@zahemszky.hu) by smtp.integrity.hu (Postfix) with ESMTPA id 3A52C134603E for ; Thu, 18 Apr 2013 11:26:01 +0200 (CEST) Received: from GSu+KkxDCZZFnWs8d3qMGAIJFyklRXDH8CBxA07ab9/Lmil1RxHZVA== (oKL2je1LHBafUKFoNj/zyUC/OKnDTMfE) by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Thu, 18 Apr 2013 11:26:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Apr 2013 11:26:01 +0200 From: gabor@zahemszky.hu To: Subject: How to use =?UTF-8?Q?acpi=5Fdock=3F?= Message-ID: <42f5190cb14ac15a79da3dc9156005c6@zahemszky.hu> X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 X-Virus-Scanned: clamav-milter 0.97.6 at mail-autosubmit X-Virus-Status: Clean 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: Thu, 18 Apr 2013 09:35:25 -0000 Hi! I'd like to know, how can somebody use the acpi_dock kernel module? Do I have to load it from loader.conf, or it's enough from rc.conf? On a HP laptop, with the acpi_hp module loaded, I can see the state of docking in the dev.acpi_hp.0.is_docked sysctl. But it doesn't matter, if I kldloaded the acpi_dock module or not. At loading time, there isn't any kernel message, there aren't any devd notifications from acpi_dock, there are't any sysctl with _DCK in the name or in the value. (But eg on a Fujitsu notebook, with the acpi_fujitsu module loaded, there isn't any information about the docking state; actually the word "dock" can find only in the acpi_dock and acpi_hp module's source and in 2 comment lines in the main acpi.c file .) Thanks, Gabor ZAHEMSZKY < Gabor at Zahemszky dot hu > From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 10:41:12 2013 Return-Path: Delivered-To: freebsd-questions@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 CF0F4F79 for ; Thu, 18 Apr 2013 10:41:12 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id B483CB3F for ; Thu, 18 Apr 2013 10:41:12 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1USmH9-0007xV-HN for freebsd-questions@freebsd.org; Thu, 18 Apr 2013 03:41:11 -0700 Date: Thu, 18 Apr 2013 03:41:11 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366281671523-5804757.post@n5.nabble.com> In-Reply-To: <20130418095129.7c6dc564.freebsd@edvax.de> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> Subject: sata/ata device permission for user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Thu, 18 Apr 2013 10:41:12 -0000 >> But the group permissions are --- (none). D'oh! Well, that made a difference and I can query the cd0 device with cdda2wav as my user now. I still can't mount a data CD however. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5804757.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 11:16:09 2013 Return-Path: Delivered-To: freebsd-questions@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 4EE6518C for ; Thu, 18 Apr 2013 11:16:09 +0000 (UTC) (envelope-from challenge.voile-golf_@sfr.fr) Received: from smtp24.services.sfr.fr (smtp24.services.sfr.fr [93.17.128.81]) by mx1.freebsd.org (Postfix) with ESMTP id ACB35C0 for ; Thu, 18 Apr 2013 11:16:07 +0000 (UTC) Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2403.sfr.fr (SMTP Server) with ESMTP id B14EC700004E for ; Thu, 18 Apr 2013 13:07:01 +0200 (CEST) Received: from - (34.15.141.88.rev.sfr.net [88.141.15.34]) by msfrf2403.sfr.fr (SMTP Server) with SMTP id 4A3E9700006E for ; Thu, 18 Apr 2013 13:07:00 +0200 (CEST) X-SFR-UUID: 20130418110700304.4A3E9700006E@msfrf2403.sfr.fr From: challenge.voile-golf_@sfr.fr Subject: Challenge Voile & Golf Pays de Lorient To: freebsd-questions@freebsd.org Mime-Version: 1.0 Date: Thu, 18 Apr 2013 13:06:52 +0200 Message-Id: <20130418110700.4A3E9700006E@msfrf2403.sfr.fr> Content-Type: multipart/mixed; boundary=XWDBoundary_HTML_-1753650243 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 18 Apr 2013 11:16:09 -0000 Ceci est un message au format MIME en plusieurs parties. --XWDBoundary_HTML_-1753650243 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Madame, Monsieur, Participez au 1er Challenge Voile & Golf le 7 et 8 juin 2013 --XWDBoundary_HTML_-1753650243-- From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 11:33:34 2013 Return-Path: Delivered-To: freebsd-questions@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 2D8158B9 for ; Thu, 18 Apr 2013 11:33:34 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from thetys.cloudzeeland.nl (webrz.xs4all.nl [83.161.133.58]) by mx1.freebsd.org (Postfix) with ESMTP id E66F2388 for ; Thu, 18 Apr 2013 11:33:33 +0000 (UTC) Received: from thetys.cloudzeeland.nl (thetys.cloudzeeland.nl [10.10.10.31]) by thetys.cloudzeeland.nl (Postfix) with ESMTP id D87EE16445A0 for ; Thu, 18 Apr 2013 13:24:08 +0200 (CEST) Received: from [10.10.10.44] (chimea.cloudzeeland.nl [10.10.10.44]) by thetys.cloudzeeland.nl (Postfix) with ESMTPA id B75221644599 for ; Thu, 18 Apr 2013 13:24:08 +0200 (CEST) Message-ID: <516FD965.3000902@webrz.net> Date: Thu, 18 Apr 2013 13:30:45 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.org" Subject: RSync exclusion Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on thetys.cloudzeeland.nl 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: Thu, 18 Apr 2013 11:33:34 -0000 I have a local folder called /files/ In my daily backup event I create as per day a backkup folder that contains this /files folder including all its sub folders --- cut --- rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ In this /files folder, amongst others, I have another folder called photos: /files/photos What I now would like to do is sync the /files folder with an exclusion on the /files/photos folder Reason for that is that this /photos subfolder contains 12 gb on photos, which I don't want to have in a daily archive (takes too much disk space on a monthly basis). I will syn them on a daily basis to a fixed remote folder (where only the updates will be appended). Can someone tell me how I can do that on one command line? thanks in advance, Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 12:12:53 2013 Return-Path: Delivered-To: freebsd-questions@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 4C13E76C for ; Thu, 18 Apr 2013 12:12:53 +0000 (UTC) (envelope-from danny@clari.net.au) Received: from pigeon.clari.net.au (pigeon.clari.net.au [203.29.224.25]) by mx1.freebsd.org (Postfix) with ESMTP id 130C1903 for ; Thu, 18 Apr 2013 12:12:52 +0000 (UTC) Received: from [192.168.100.102] (c114-76-1-137.eburwd4.vic.optusnet.com.au [114.76.1.137]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danny@clari.net.au) by pigeon.clari.net.au (Postfix) with ESMTPSA id B76F2B42E77 for ; Thu, 18 Apr 2013 22:07:01 +1000 (EST) Message-ID: <516FE1B6.1080702@clari.net.au> Date: Thu, 18 Apr 2013 22:06:14 +1000 From: Daniel O'Callaghan User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: RSync exclusion References: <516FD965.3000902@webrz.net> In-Reply-To: <516FD965.3000902@webrz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 18 Apr 2013 12:12:53 -0000 On 18/04/2013 9:30 PM, Jos Chrispijn wrote: > rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ Just a thought, but have you looked at rsnapshot? http://www.rsnapshot.org/ http://www.freshports.org/sysutils/rsnapshot/ It uses rsync, but manages a directory tree with hard links to unchanged files. It would solve your problem, but in a different way. regards, Danny From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 12:50:58 2013 Return-Path: Delivered-To: freebsd-questions@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 3B3F014B for ; Thu, 18 Apr 2013 12:50:58 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound1.ifdnrg.com [193.200.98.38]) by mx1.freebsd.org (Postfix) with ESMTP id DACB8AA8 for ; Thu, 18 Apr 2013 12:50:57 +0000 (UTC) Received: from [192.168.100.222] (cpc2-sgyl30-2-0-cust423.sgyl.cable.virginmedia.com [80.192.35.168]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.6/8.14.5) with ESMTP id r3IClpdl061214; Thu, 18 Apr 2013 13:47:51 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <516FEB76.5040102@ifdnrg.com> Date: Thu, 18 Apr 2013 13:47:50 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jos Chrispijn Subject: Re: RSync exclusion References: <516FD965.3000902@webrz.net> In-Reply-To: <516FD965.3000902@webrz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: Thu, 18 Apr 2013 12:50:58 -0000 > In this /files folder, amongst others, I have another folder called > photos: /files/photos > > What I now would like to do is sync the /files folder with an > exclusion on the /files/photos folder > Reason for that is that this /photos subfolder contains 12 gb on > photos, which I don't want to have in a daily archive (takes too much > disk space on a monthly basis). > I will syn them on a daily basis to a fixed remote folder (where only > the updates will be appended). > > Can someone tell me how I can do that on one command line? > have you tried --exclude /files/photos Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from £100.00pm ---------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 13:35:48 2013 Return-Path: Delivered-To: freebsd-questions@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 6CC9D12D for ; Thu, 18 Apr 2013 13:35:48 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (unknown [IPv6:2001:980:18dd:1:192:168:179:45]) by mx1.freebsd.org (Postfix) with ESMTP id F3EE0E67 for ; Thu, 18 Apr 2013 13:35:47 +0000 (UTC) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.6/8.14.5) with ESMTP id r3IDZSGg013099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Apr 2013 13:35:29 GMT (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.6/8.14.6/Submit) id r3IDZSiB013098; Thu, 18 Apr 2013 13:35:28 GMT (envelope-from mail25@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Thu, 18 Apr 2013 13:35:28 +0000 From: Ruben de Groot To: Beeblebrox Subject: Re: sata/ata device permission for user Message-ID: <20130418133528.GA13082@eris.bzerk.org> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366281671523-5804757.post@n5.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-10.4 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY, J_CHICKENPOX_39 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (eris.bzerk.org [127.0.0.1]); Thu, 18 Apr 2013 13:35:40 +0000 (UTC) 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: Thu, 18 Apr 2013 13:35:48 -0000 On Thu, Apr 18, 2013 at 03:41:11AM -0700, Beeblebrox typed: > >> But the group permissions are --- (none). > D'oh! > Well, that made a difference and I can query the cd0 device with cdda2wav as > my user now. > > I still can't mount a data CD however. What's the output of: sysctl vfs.usermount ?? -- Ruben From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 13:51:21 2013 Return-Path: Delivered-To: freebsd-questions@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 285CF66B for ; Thu, 18 Apr 2013 13:51:21 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0CFDEF5D for ; Thu, 18 Apr 2013 13:51:17 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1USpF7-0004lW-1z for freebsd-questions@freebsd.org; Thu, 18 Apr 2013 06:51:17 -0700 Date: Thu, 18 Apr 2013 06:51:17 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366293077054-5804802.post@n5.nabble.com> In-Reply-To: <20130418133528.GA13082@eris.bzerk.org> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> <20130418133528.GA13082@eris.bzerk.org> Subject: Re: sata/ata device permission for user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Thu, 18 Apr 2013 13:51:21 -0000 >> What's the output of: sysctl vfs.usermount vfs.usermount: 1 I can mount USB devices... ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5804802.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 16:40:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2377B205 for ; Thu, 18 Apr 2013 16:40:36 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id E1380B1C for ; Thu, 18 Apr 2013 16:40:35 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id x14so3563635ief.21 for ; Thu, 18 Apr 2013 09:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:reply-to:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=1DS/ye+eZSAB0BtwHPpwFi4/RSusbp6Y+Puf9KVP3J8=; b=PTjRvJ9tRkYpDphFcfDgGgBOHNZxzB7gmSQyUsvr2DX+udkjBafxYu0fpHbKLHuKuy DY9d4eurE8rWAaprULw/JOPvqOKi0aEi27LggDDjZ/hwUTGfITBMB1s1wbiRyOWCUyQY 4VOVjB5m6FvH86pubRTQGaQq5PR0cI5078AH+nRCXwkQRb/nRA92A7sPhm7Hrglu8111 g1JmTSYXDGlxW1KOmy0IRJTIQSH4kLprMlQjNl8fgqg+zy6nw36EzfZFGi56UJFDMw0n WYFCQGGHV020J+RuhXfdrZ9d2bwwbHxDluI2TyhgD+AWIN2kmcUpKIUgQ1/hJtprgKDU gH5Q== X-Received: by 10.50.40.162 with SMTP id y2mr7296343igk.65.1366303234979; Thu, 18 Apr 2013 09:40:34 -0700 (PDT) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.53.71 with HTTP; Thu, 18 Apr 2013 09:40:14 -0700 (PDT) In-Reply-To: <20130417173544.25266cd6.freebsd@edvax.de> References: <20130417173544.25266cd6.freebsd@edvax.de> From: takCoder Date: Thu, 18 Apr 2013 21:10:14 +0430 X-Google-Sender-Auth: g95VOGS3r8CbgRzr-_3pYs6ZuJI Message-ID: Subject: Re: pwd.db/spwd.db file corupption when having unsafe system poweroff To: Polytropon 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 Reply-To: tak.official@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 16:40:36 -0000 hi again, real thanks to all of you; for really complete and clear answers.. it's amazing to have a clear view of what's on, when you need to deal with it. :) as a quick conclusion, for now: 1- i inserted a shell file to /usr/local/etc/rc.d/ which runs pwd_mkdb /etc/master.passwd and tested it.. the error mentioned in this email's title is no more seen in frequent tests.. (but i don't think it's that good to use a mkdb command this frequently.. right? for me, it was somehow a test..) 2- the notes mentioned about fsck was nice.. cause before this, we've faced uncleaned FS in the mentioned condition and we where in doubt where the automate fsck had gone?? ;) i think it's better to test the foreground fsck just in case.. for sure, background fsck has its own benefits.. but, any benefits has its own costs.. :) 3- this "power-key functionality setting", is what i'll work on, as it seems helpful, in near future.. but, i think for this thread, it would be off-topic somehow to talk about its details.. i'll try to write them back, on related thread, if required and if it was new.. BTW, it was _really_ of hardware knowledge.. ;) again, thank you. :) Best Regards, t.a.k On Wed, Apr 17, 2013 at 8:05 PM, Polytropon wrote: > Allow me a few additions: > > On Tue, 16 Apr 2013 16:45:59 -0400, Michael Powell wrote: > > Pressing the power button for 4 seconds as described is invoking the ACPI > > layer to stimulate call(s) down to the system BIOS. > > No. In most (but of course not all) default settings the > "long press" will forcedly (and with _no_ message to the OS) > turn off the system's power. > > The "short press" will emit the ACPI signal to the OS to > deal with the power-off sequence itself. > > Still it's possible to have a different programming for the > button. For example, it seems to be common to have this > button perform a "ACPI sleep", "ACPI hibernate" or "ACPI > powersafe" mode on "short press", and (as you mentioned) > the "ACPI power down" on long press. > > But as I said: _What_ the button actually does is defined > in the CMOS setup. > > > http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface#Power_states > > have a look at this page to find out more about the various > possible signals (power states). > > > > > Whatever is set in the > > BIOS wrt to power control and various power-savings modes are passed > through > > the ACPI layer. The problem with this is the acpi module in FreeBSD may, > or > > may not, be a perfect implementation for every possible piece of > hardware in > > existance. > > This statement especially applies in regards to laptops, where > closing the lid can also trigger a specific signal, and opening > the device again sends another signal. Vendors don't agree on > how to "properly" do this, so there are many different ACPI > implementations. > > % ls /boot/kernel/acpi* > /boot/kernel/acpi.ko* /boot/kernel/acpi_ibm.ko* > /boot/kernel/acpi_aiboost.ko* /boot/kernel/acpi_panasonic.ko* > /boot/kernel/acpi_asus.ko* /boot/kernel/acpi_sony.ko* > /boot/kernel/acpi_dock.ko* /boot/kernel/acpi_toshiba.ko* > /boot/kernel/acpi_fujitsu.ko* /boot/kernel/acpi_video.ko* > /boot/kernel/acpi_hp.ko* /boot/kernel/acpi_wmi.ko* > > You can see from this example that FreeBSD only supports a > subset of what can be considered possible. Of course there > are many "fields of compatibility", but it may still result > in specific hardware not working properly -- mostly in the > area of laptops and their accessories (like docking stations). > > > > > The piece of that which really concerns me are individual > > manufactuer BIOS quirks can be just enough 'off' so as to misbehave even > when > > the FreeBSD acpi implentation is basically sound. > > Even though I did not experience that myself, it can be > considered possible. A sloppy ACPI implementation can > be the source of many kinds of trouble, even involving > such "simple" devices like a power button. > > > > > The jist of this is (IMHO > > here - YMMV) is I consider it a bad procedure to turn off a server as > you've > > described. > > Definitely. :-) > > > > > Use the shutdown command properly instead. I would never do what > > your coworker did to any of my servers. > > A mechanicl protection could prevent that. > > > > > Caveat being sometimes you have no > > other choice but to do a hard power-down. A hard power-down is done by > using > > the switch on the power supply, and not using the ACPI/BIOS from pressing > > the power switch on the front. > > This is also possible. Both this _and_ the default "forced power off" > (the "long press" in many defaults) equal the action of pulling the > power cord. > > > > > When you do have an 'uh-oh' like this, FreeBSD normally boots back into > an > > unclean file system with corresponding whinings and complaints about how > the > > file system(s) were not properly dismounted. > > This is an intended behaviour. TO prevent further damage and to > make data recovery possible (worst case), the system does not > try to "boot by all means", just to make the (clueless) user > happy. :-) > > > > > Normally a background fsck > > ensues after 60 seconds of idle. > > This _can_ be dangerous, because at this time, the system has > already been booted into a "somehow working" state. You should > ask yourself the question: Can I invest the time to have _no_ > background fsck (i. e., a foreground fsck which maybe will ask > prior to doing anything "heavy") to make sure my data is consistent, > because it is important data which _needs_ to be okay? In this > case, put background_fsck="NO" in /etc/rc.conf -- and wait. > > When using UFS, there _may_ be file system damages so severe > that fsck will _not_ correct them manually (which often leads > to data loss of important data that could have been saved if > the proper _user decision_ would have been taken place). This > will only happen in the "interactive mode" at system startup. > > > > > In your case whatever files were left open > > and not properly closed this background fsck, had it been allowed to run > and > > complete, would have cleaned this up. > > Maybe, maybe not. It highly depends on what actually happened, > and it's nearly impossible to find that out, especially when > there is no control about what the background fsck does (while > the system is already happily running and humming). > > > > > The problem starts when someone > > presses the power off button again, and again, before this process > completes. > > Using the power button ACPI/BIOS only compounds this situation. > > Correct. That's why the time to have fsck perform its task in > the foreground should be invested, at least after such an abrupt > action. > > > > > I would recommend you do NOT use the power button as you described above. > > Period. > > In case of _servers_, this button is commonly considered an > "emergency button" anyway, and therefor hardly used. :-) > > > > > In any event pay particular attention to that very first boot after > > an 'uh-oh' power off event. Look at top and watch for the background > fsck to > > kick off and complete, returning the machine to quiescent state BEFORE > you do > > ANYTHING else to it. This includes pressing the button on the front. > > The "doing anything else" can be the problem with a background fsck. > Let's say the server starts its services which start accessing the > partitions currently checked by fsck. Yes, I know, snapshots and all > this stuff. Sometimes it works. Sometimes it doesn't. My additional > advice would be: Do not use a background fsck. If you had a power > failure (for whatever reason), take the time to make sure your system > boots into a verified state (NOT: boots into a questionable state, > tries to verify it during normal operations, and pretends "everything > is fine"). > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 16:45:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8B99F405 for ; Thu, 18 Apr 2013 16:45:20 +0000 (UTC) (envelope-from bgold@simons-rock.edu) Received: from hedwig.simons-rock.edu (hedwig.simons-rock.edu [208.81.88.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4728DB65 for ; Thu, 18 Apr 2013 16:45:20 +0000 (UTC) Received: from behemoth (behemoth.simons-rock.edu [10.30.2.44]) by hedwig.simons-rock.edu (Postfix) with ESMTP id DA1E6129 for ; Thu, 18 Apr 2013 12:35:29 -0400 (EDT) From: "Brian Gold" To: Subject: scripting zfs send & receive, but the script never exits cleanly Date: Thu, 18 Apr 2013 12:35:33 -0400 Message-ID: <0d5e01ce3c52$bf74c9d0$3e5e5d70$@simons-rock.edu> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac48Up6KD/Nx6WI2S0yeLXhrbxOPUQ== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 18 Apr 2013 16:45:20 -0000 Hi all. Quick question for you. I've got a pair of freebsd 9 systems running zfs. i've got my primary system doing ZFS SEND each night to my secondary system for backups. I'm using a script I wrote to automate the process. I'm passing the zfs send & receive through gnetcat as a buffer which increases the speed of the transfer quite a bit. The script is available here: http://pastebin.com/2suzs3wP My problem is, when I run this script it syncs just fine, but it never actually ends. It just sits there until I kill it. I would love to have this run as a scheduled cron job, but until I can get this to exit cleanly when it is done, that won't be an option. Here is the output I get when I run this: http://pastebin.com/q8hRzuVv Would really appreciate any advice you may have. If anyone has a cleaner/more efficient way of doing these incremental send/receives, that would be great too. Thanks, Brian From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 17:17:37 2013 Return-Path: Delivered-To: freebsd-questions@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 5C4C118B for ; Thu, 18 Apr 2013 17:17:37 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id DE5A3D8D for ; Thu, 18 Apr 2013 17:17:36 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id fq13so1691554lab.35 for ; Thu, 18 Apr 2013 10:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=AtDTrj+6/xON3wn9cdPCW9MylI20lLcdVkF3+5pP0pg=; b=LhGbIwxKMEWCBpyFVGP/Iu1hyBOqnAdknkZBEEDvxKGAEPXod4u/gWr5QHj8mbkGb3 LCIVgmCEIiVgOiXazHBcXbhMbO/oZM/l47dHnqdPBo+2UPJEQe86dhNgQEVKmdc+O/mY v/TYK+TV76uMbURwZweinYtZgSPCGoPEbVrUx8fXmHr1JvWxUL76aZs2PL/J5rF/vICm 7xlW6tAcx9Ph7PgHKt7Wok0ueH1NYBQHT4v7at+RnZ1aC9yhAVoEU8/8Yh+ru4oJaaEG cTO92PB4mU9lzCcTDi32NSrlt/crJEHsYnfiM4bg+Y0/fmoT7TRycaeGkcsbWMyqqJ91 wonQ== X-Received: by 10.112.163.6 with SMTP id ye6mr6251357lbb.59.1366305455833; Thu, 18 Apr 2013 10:17:35 -0700 (PDT) Received: from [192.168.1.128] ([91.196.229.122]) by mx.google.com with ESMTPS id a9sm4706111laf.2.2013.04.18.10.17.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 10:17:35 -0700 (PDT) Message-ID: <51702AAE.50309@gmail.com> Date: Thu, 18 Apr 2013 20:17:34 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17 MIME-Version: 1.0 To: Brian Gold , freebsd-questions@freebsd.org Subject: Re: scripting zfs send & receive, but the script never exits cleanly References: <0d5e01ce3c52$bf74c9d0$3e5e5d70$@simons-rock.edu> In-Reply-To: <0d5e01ce3c52$bf74c9d0$3e5e5d70$@simons-rock.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 18 Apr 2013 17:17:37 -0000 18.04.2013 19:35, Brian Gold: > Hi all. Quick question for you. I've got a pair of freebsd 9 systems running > zfs. i've got my primary system doing ZFS SEND each night to my secondary > system for backups. I'm using a script I wrote to automate the process. I'm > passing the zfs send & receive through gnetcat as a buffer which increases > the speed of the transfer quite a bit. The script is available here: > http://pastebin.com/2suzs3wP > > > > My problem is, when I run this script it syncs just fine, but it never > actually ends. It just sits there until I kill it. I would love to have this > run as a scheduled cron job, but until I can get this to exit cleanly when > it is done, that won't be an option. > > > > Here is the output I get when I run this: http://pastebin.com/q8hRzuVv > > > > Would really appreciate any advice you may have. If anyone has a > cleaner/more efficient way of doing these incremental send/receives, that > would be great too. I've done the same with this script: https://github.com/kworr/zfSnap/blob/master/xPERIODICx_zfSync.sh Maybe you would find some ideas useful. -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 18:21:56 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0988ED79 for ; Thu, 18 Apr 2013 18:21:56 +0000 (UTC) (envelope-from niklaus@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id A414A11B5 for ; Thu, 18 Apr 2013 18:21:55 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id m1so2694153wea.13 for ; Thu, 18 Apr 2013 11:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=QWy04IdQFHMJJqRemmCo90NOO1ULcw/koDve9iYp6xI=; b=Y5D5clr2jXxSIIwYp2dFnyyrP8FAuPpN+X7NZH4UVFpyxb0do6YeQR3broVtWO8Wuu LgQAOf0hT692yrWrfuhdeK64EUloAFefIDd1YP0YY69DIqZTNZLISK7uqBvc20HKj4Rv NHkhtHDlBFLs98NDLE0n99eOJGF0h3cghAPrtWCxlq0k1M1jwyIUOJNXpt1o4JJPymmN 49aRIVHg2vb/t3NAXZSIyEifyhiVy4csshbr+W6fkVT+lYYIh8590ZNYpiB2me8bli+e axeafIzoXORavyftFe8eBF/qriY9wIcuH/6EkYlp1dlEI4piolVUZJTlafLfTivHHlKp Wcpg== MIME-Version: 1.0 X-Received: by 10.180.93.134 with SMTP id cu6mr19938644wib.8.1366309314744; Thu, 18 Apr 2013 11:21:54 -0700 (PDT) Received: by 10.180.147.238 with HTTP; Thu, 18 Apr 2013 11:21:54 -0700 (PDT) Date: Thu, 18 Apr 2013 23:51:54 +0530 Message-ID: Subject: Profiling a dlopened library From: Niklaus To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 18 Apr 2013 18:21:56 -0000 Hi, How do i profile a library which is dlopened from an executable. The executable and the library are compiled with -g using gcc . Can somone tell me tool that would profile it at runtime. Regards, Nik From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 19:21:07 2013 Return-Path: Delivered-To: freebsd-questions@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 C47D064F for ; Thu, 18 Apr 2013 19:21:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6A616E2 for ; Thu, 18 Apr 2013 19:21:07 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 86F1427604; Thu, 18 Apr 2013 21:21:04 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3IJLDh4001886; Thu, 18 Apr 2013 21:21:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Apr 2013 21:21:13 +0200 From: Polytropon To: Beeblebrox Subject: Re: sata/ata device permission for user Message-Id: <20130418212113.cde61a68.freebsd@edvax.de> In-Reply-To: <1366281671523-5804757.post@n5.nabble.com> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 19:21:07 -0000 On Thu, 18 Apr 2013 03:41:11 -0700 (PDT), Beeblebrox wrote: > >> But the group permissions are --- (none). > D'oh! > Well, that made a difference and I can query the cd0 device with cdda2wav as > my user now. > > I still can't mount a data CD however. You need write access to the cd, pass and xpt devices. You also need to _own_ the mount target directory. If you try something temporary within your home directory, it should always work: % cd % mkdir mnttest % mount -o ro -t cd9660 /dev/cd0 mnttest If you intend to mount below /media or into /cdrom or /dvd, you need to set the proper owner. If you are using X with the GiveConsole and TakeConsole script. Then you can do things like this: % mount /media/dvd given that all the over information is preprogrammed in /etc/fstab. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 19:41:10 2013 Return-Path: Delivered-To: questions@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 4D631E1E for ; Thu, 18 Apr 2013 19:41:10 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp005.mac.com (st11p05mm-asmtpout005.mac.com [17.172.108.250]) by mx1.freebsd.org (Postfix) with ESMTP id 291AB1805 for ; Thu, 18 Apr 2013 19:41:09 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.4.71]) by st11p05mm-asmtp005.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MLG005DIRW6O540@st11p05mm-asmtp005.mac.com> for questions@freebsd.org; Thu, 18 Apr 2013 18:40:56 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-04-18_07:2013-04-18,2013-04-18,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000 definitions=main-1304180153 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Profiling a dlopened library From: Charles Swiger In-reply-to: Date: Thu, 18 Apr 2013 11:35:59 -0700 Content-transfer-encoding: 7bit Message-id: <8B2E2C65-06B2-48A4-8C9E-32D07109111A@mac.com> References: To: Niklaus X-Mailer: Apple Mail (2.1503) Cc: 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: Thu, 18 Apr 2013 19:41:10 -0000 Hi-- On Apr 18, 2013, at 11:21 AM, Niklaus wrote: > How do i profile a library which is dlopened from an executable. > The executable and the library are compiled with -g using gcc . Can > somone tell me tool that would profile it at runtime. For gprof-style profiling, you'll need to build with -pg in addition. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 20:47:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D1C354A7 for ; Thu, 18 Apr 2013 20:47:20 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) by mx1.freebsd.org (Postfix) with ESMTP id A4ECC1EC4 for ; Thu, 18 Apr 2013 20:47:20 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id k18so3144426oag.39 for ; Thu, 18 Apr 2013 13:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=B+etBW2K0ez59By8eRSaQ+0p9FAm0MOnd45mvESqA/E=; b=AahuhanJsxPtRbJeWogLPq8VBe9vWzBMjzhwFjxLizdfHaVP3Un+pVPqzEGhlalx0S AUmPtyF3VgHccrbRUeQCjyhgV5+bepkBdNKhOcVpYLsaxi+Nms+1gC/X1QnzrQVyf/k9 jfSc98cadkLcZyoisOBCSWUQycre2XR4yFZoNnq1TEHYcrS3g54qUg2tqjp4fpwBvHJE 5NGJCpxUkwhdJEDbOIFrnDGd1tTqW3vKNgCOeVThgWeh8sQLd//ywxSlIWInguqglxmy iaGCro5pwlS09njc19WEC6oDDa0IIIc2Y7ys5c45aGEp/B5oHxkcuWG0eIH7D8w1swlB D10g== MIME-Version: 1.0 X-Received: by 10.182.242.41 with SMTP id wn9mr1521277obc.12.1366318034099; Thu, 18 Apr 2013 13:47:14 -0700 (PDT) Received: by 10.76.135.194 with HTTP; Thu, 18 Apr 2013 13:47:14 -0700 (PDT) Date: Thu, 18 Apr 2013 16:47:14 -0400 Message-ID: Subject: Disk Enclosure Zoning / gmultipath From: Outback Dingo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 18 Apr 2013 20:47:20 -0000 Okay... 4U Disk Enclosure, has 2 physical compute nodes, each physical compute nodes has 2 LSI 9211-8i controllers, so thats 4 total controllers across 2 nodes the box is enclosure is zoned and FreeBSD can see the following nodeA 16 daX devices 16 sesX,passX devices NodeB 16 daX devices 16 sesX,passX devices there are 32 disks in the box, so the numbers are good, however each LSI card only has a total of 8 SATA drives assigned to it hence 4 x 8 = 32 drives....... for gmultipath and zfs shouldnt each controller see 32 drives? or 16 drives for HA basically im thinking the enclosure shouldnt be zoned at all so each LSI controller can see every SATA drive, with gmultipath in the mix, i should be able to label 32 devices, and have both nodes recognize them... correct??? or am I chasing the rabbit down the wrong hole? From owner-freebsd-questions@FreeBSD.ORG Fri Apr 19 05:38:34 2013 Return-Path: Delivered-To: freebsd-questions@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 63BEB21A for ; Fri, 19 Apr 2013 05:38:34 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by mx1.freebsd.org (Postfix) with ESMTP id F3B1597D for ; Fri, 19 Apr 2013 05:38:33 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hq17so241119wib.17 for ; Thu, 18 Apr 2013 22:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=Ah1RBQbFWYcT5YW9arS0zmxoJJlBlxW0X9HrOrDbJ3E=; b=qIzhRarxw8Y8p/ZCIqyMn4VSxs/p/DwmmV6TlNmgxa42stq3FzH6INLSPYFykn/dZZ mOWHIiahPIWAxZH+GKKkQwWsOct99dt+u6eK7QNDCD4rhH1zMTSBFqPNygzB5G3YxAbQ /Mur+VeMK8jzZPbXwugXYgxJpPsKoM6kV2znIiXfXEinKE+T5ZK/JyUO2u9liVHZKjct VAdkU22NCF7DkmrF9dWxoEaE8pHcCnFFl+5LZrOHTFZQvXKWumGQYyLxYPlNk7Oihjdj MI7rcOROhNumkmZr+1Mo/DB3EUxXoiQbLyTCN4dR9a7NAlDBnPWw8sn46afyZPB20HGN F+3Q== X-Received: by 10.180.87.170 with SMTP id az10mr13605164wib.3.1366349913190; Thu, 18 Apr 2013 22:38:33 -0700 (PDT) Received: from melon.localnet (11.33.91.91.rev.sfr.net. [91.91.33.11]) by mx.google.com with ESMTPS id d8sm1247602wiv.10.2013.04.18.22.38.31 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 18 Apr 2013 22:38:32 -0700 (PDT) From: David Demelier To: freebsd-questions@freebsd.org Subject: System hangs but ping when remounting read-only Date: Fri, 19 Apr 2013 07:38:26 +0200 Message-ID: <1604277.srzxGMfzEa@melon> User-Agent: KMail/4.10.1 (FreeBSD/9.1-RELEASE-p1; KDE/4.10.1; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Fri, 19 Apr 2013 05:38:34 -0000 Hello folks, I have a machine that runs on a compact flash so I try to mount read-only as much as possible, but when I need to do some maintainance I remount read-write with mount -u -w / It works, but when I try to remount read only the prompt never get back using mount -u -r / and the ssh does not respond anymore. I have also a serial cable and it is not accessible anymore. However pings are still working so I can't debug anything at all.. This problem appears on a 9.1-RELEASE i386 with /var and /tmp mounted as md devices. Regards, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Fri Apr 19 18:13:40 2013 Return-Path: Delivered-To: freebsd-questions@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 0E84DAF4 for ; Fri, 19 Apr 2013 18:13:40 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from nm20.bullet.mail.bf1.yahoo.com (nm20.bullet.mail.bf1.yahoo.com [98.139.212.179]) by mx1.freebsd.org (Postfix) with SMTP id A9BA8FA6 for ; Fri, 19 Apr 2013 18:13:39 +0000 (UTC) Received: from [98.139.212.147] by nm20.bullet.mail.bf1.yahoo.com with NNFMP; 19 Apr 2013 12:37:12 -0000 Received: from [98.139.212.196] by tm4.bullet.mail.bf1.yahoo.com with NNFMP; 19 Apr 2013 12:37:12 -0000 Received: from [127.0.0.1] by omp1005.mail.bf1.yahoo.com with NNFMP; 19 Apr 2013 12:37:12 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 72009.13696.bm@omp1005.mail.bf1.yahoo.com Received: (qmail 22308 invoked by uid 60001); 19 Apr 2013 12:37:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1366375031; bh=LpOW/7w65D2Yt6bfAJk+pzeJmHapB0e8nuQSnltD4I4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=t3ZxyKgcffLo8SPBuVkcQCoRanTvYafMPth6UMRfSIHjuNpqRPI9/9fIo42/YJuIxnEaf9EzpLs/7deJV8vIY911+RIanpL4Dbwlogmn7Rjk9XlbmytvmdE9H8/cDabNM5nIolfelN/CxT1x1kFPd2x+iZfYKtU1Bem0oTgFLjI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=SJb3MaPdX97uqildj5xOzhynFWPfs4aTNB0etV3rHA3ojN7Mr4UompPTXq+Z8mjalRMDqqpXd3AcImiQfvfrollHgXOEqgqXJQE2XTTmsN9gRg6+7KEoX5Cy6qsCb9oCm/5DCC7b8PLGaq032jBWlfXd1+jid0NmEukEpX9w+nQ=; X-YMail-OSG: 92fcmOEVM1kmXXGChSxaOJcy_nxvwJcT7G2ookDGj1sr9eo NAwOio2bkqzwoANGLHREIUD095JWtZp03JLhbhXVq.rsJYARw2r92kmO5bmK pt_9K5nMjXUhGQmKDynRoClbBeAkC52O_zmUHD7U38WRjD3oYoC80zaepS8r r1ArA6fFsWxmsEimkWrsIAekQJo7ln2efts4e1DTWSMbVxaMjBLCAWSlwYD8 xQ0RP9sP_OfDx4gsk_rI7TI9FPGeHRHW0tBaDiQ.5cyLi5r46CoQpaXFRbM0 IY7xuaWfDBIxRfcRRPtusxRq85BcvFhRmh8Vh4U0mva8fMVcHHGoHpAKqJOx bdjQAFxpY0kbiJzELIFLiWdMeAeFU62xQBGPaVAqD7K0H54d6U8jK2_KUNNT gy7SKAI6lQkQ4L6GcVK0_JlXUMdYrgzYKQvAWfmcY_Z6awlW.wn2npjPtRWb IAZbAY43obQ.TkGaB4CvkSnrA2r4Xd2ndK2t2iwTVL9jZPHs0pZXWd6jqXeH kWUWAuZmRddyrLb8DhlBUFw-- Received: from [173.221.141.195] by web165004.mail.bf1.yahoo.com via HTTP; Fri, 19 Apr 2013 05:37:11 PDT X-Rocket-MIMEInfo: 002.001, SSd2ZSBiZWVuIGxvb2tpbmcgaW50byBzZXR0aW5nIHVwIHNvbWUgTGludXggc2VydmVycyBidXQgaW5zdGVhZCBJJ20gdGhpbmtpbmcgdGhhdCBJIGNvdWxkIHVzZSBWaXJ0dWFsIEJveCBvbiBteSBGcmVlQlNEIHNlcnZlcnMgdG8gZG8gdGhpcy4gSSB3b3VsZCBsaWtlIHNvbWUgc2Vhc29uZWQgYWR2aWNlIGZyb20gb3RoZXJzIG9uIHRoZSBmb2xsb3dpbmcgYmVmb3JlIHByb2NlZWRpbmc6CgoxLiBBcyBJIHVuZGVyc3RhbmQgaXQgeW91IGNhbiBpbnN0YWxsIFZpcnR1YWwgQm94IGZyb20gdGhlIHBvcnRzIGMBMAEBAQE- X-Mailer: YahooMailWebService/0.8.141.536 References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> <20130418133528.GA13082@eris.bzerk.org> <1366293077054-5804802.post@n5.nabble.com> Message-ID: <1366375031.22246.YahooMailNeo@web165004.mail.bf1.yahoo.com> Date: Fri, 19 Apr 2013 05:37:11 -0700 (PDT) From: Bill Tillman Subject: Virtual Box on FreeBSD Server To: "freebsd-questions@freebsd.org" In-Reply-To: <1366293077054-5804802.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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: Bill Tillman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 18:13:40 -0000 I've been looking into setting up some Linux servers but instead I'm thinki= ng that I could use Virtual Box on my FreeBSD servers to do this. I would l= ike some seasoned advice from others on the following before proceeding:=0A= =0A1. As I understand it you can install Virtual Box from the ports collect= ion. But then I see the instructions in the Handbook:=0A=0A=A0 =A0 =A0=A0To= launch=A0VirtualBox, type from a=A0Xorg=A0session:=0A% VirtualBox=0ASo am = I to assume the only way to run Virtual Box is to have Xorg installed and r= unning on the FreeBSD server? =A0Which is a drag because my current FreeBSD= servers are exactly that, servers, and do not have the fancy video cards, = monitors, etc.. to run Xorg. Is there an alternative to running the interfa= ce from Xorg. I'm a command line fanatic when it comes to servers. Or would= I be able to install Xvnc or something like that and run it from one of my= Windows 7 machines which has all the fancy video=A0capabilities?=0A=0A=0A2= . Once installed, I will be able to install something like Fedora or openSU= SE? These will only be installed as server so I can run databases like MySQ= L in the Linux environment. The client I'm working for insists on using SUS= E...no FreeBSD allowed. They think it's poison and are very biased on this = so there's no talking them out of it. I need to gain experience using these= databases on Linux, not FreeBSD.=0A=0A3. I'm going to buy a 1 TB SATA driv= e for this setup. It will be running on an AMD64 server with FreeBSD 9.x or= whatever is the latest release as of this weekend.=0A=0A4. There is also a= Plan 'B' to go the other way. Since I already have two i7 machines running= Windows 7, perhaps it might be better to install the Windows version of Vi= rtual Box or even VMWare and create my instances of Linux on one or even bo= th of these machines.=0A=0AAny advice would be appreciated. From owner-freebsd-questions@FreeBSD.ORG Fri Apr 19 18:37:39 2013 Return-Path: Delivered-To: freebsd-questions@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 D25B8B4A for ; Fri, 19 Apr 2013 18:37:39 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id B3229138E for ; Fri, 19 Apr 2013 18:37:39 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UTGBn-0001gv-1d for freebsd-questions@freebsd.org; Fri, 19 Apr 2013 11:37:39 -0700 Date: Fri, 19 Apr 2013 11:37:39 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1366396659043-5805091.post@n5.nabble.com> In-Reply-To: <1366375031.22246.YahooMailNeo@web165004.mail.bf1.yahoo.com> References: <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> <20130418133528.GA13082@eris.bzerk.org> <1366293077054-5804802.post@n5.nabble.com> <1366375031.22246.YahooMailNeo@web165004.mail.bf1.yahoo.com> Subject: Re: Virtual Box on FreeBSD Server MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Fri, 19 Apr 2013 18:37:39 -0000 Bill: >> 1. As I understand it you can install Virtual Box from the ports >> collection. That port or a good numbr of other VMWare apps exist in the ports tree - you are not restricted to V-Box. Starting the virtual machines is not xorg/login dependent. You can do this for any service through rc.conf So edit your /etc/rc.conf and insert whatevername_enable="YES" to auto-start the service. The whatevername can be found by looking in /etc/rc.d for base-system included services or /usr/local/etc/rc.d for services installed through ports. >> 2. Once installed, I will be able to install something like Fedora or >> openSUSE? Yes, that's the whole idea behind VM's. Since SQL is needed, you will then have to install & configure the mysql package for fedore/suse inside the VM. Installing mySQL from FreeBSD ports won't be of any good for the client's requirements. 3. 9-stable should do the job 4. Do whatever you are comfortable with. Finally: posted in an unrelated thread - you would have gotten better answers by starting your own. Good Luck. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5805091.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Apr 19 18:40:39 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5BF741E0 for ; Fri, 19 Apr 2013 18:40:39 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 297F314F4 for ; Fri, 19 Apr 2013 18:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=0FaSuNE+GSBmeu7f68uPtKCevJMS1yelfQEUzmwNJ2E=; b=jT/N4fsL73nTqpCTX6sfyPsk+oyQtQjoSvMN93AL/2AQomhVKNr0dGYGrnM5AuJ/LY9CJt+u+OZn89ZnTUezZ+jvOv6itWfDKvh1YD/ItCiEzs6qHYA+2X7Q83DTvX8YhJQb45Q7WOqJni8K5qd6Z0/CvpCz8Zps4kMWlveZ7zo=; Received: from [122.129.203.50] (port=49267 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UT6rH-002XWh-WD; Fri, 19 Apr 2013 02:39:52 -0600 Date: Fri, 19 Apr 2013 15:39:47 +0700 From: Erich Dollansky To: Jos Chrispijn Subject: Re: RSync exclusion Message-ID: <20130419153947.3263e4e9@X220.ovitrap.com> In-Reply-To: <516FD965.3000902@webrz.net> References: <516FD965.3000902@webrz.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: 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: Fri, 19 Apr 2013 18:40:39 -0000 Hi, On Thu, 18 Apr 2013 13:30:45 +0200 Jos Chrispijn wrote: > I have a local folder called /files/ > In my daily backup event I create as per day a backkup folder that > contains this /files folder including all its sub folders > > --- cut --- > > rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ > > In this /files folder, amongst others, I have another folder called > photos: /files/photos > > What I now would like to do is sync the /files folder with an > exclusion on the /files/photos folder I use the following option: --exclude '/data/Mail/*' /data/Mail is rooted in the directory I want to copy. Erich From owner-freebsd-questions@FreeBSD.ORG Fri Apr 19 18:53:33 2013 Return-Path: Delivered-To: freebsd-questions@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 7FEE076B for ; Fri, 19 Apr 2013 18:53:33 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 3F896169B for ; Fri, 19 Apr 2013 18:53:28 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r3JIdK0Q084937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 19 Apr 2013 13:39:20 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 19 Apr 2013 13:39:19 -0500 From: dweimer To: freebsd-questions@freebsd.org Subject: Re: Virtual Box on FreeBSD Server Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <1366375031.22246.YahooMailNeo@web165004.mail.bf1.yahoo.com> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> <20130418133528.GA13082@eris.bzerk.org> <1366293077054-5804802.post@n5.nabble.com> <1366375031.22246.YahooMailNeo@web165004.mail.bf1.yahoo.com> Message-ID: <24b897da0e5c481de58a8afef5e87be3@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 18:53:33 -0000 On 04/19/2013 7:37 am, Bill Tillman wrote: > I've been looking into setting up some Linux servers but instead I'm > thinking that I could use Virtual Box on my FreeBSD servers to do > this. I would like some seasoned advice from others on the following > before proceeding: > > 1. As I understand it you can install Virtual Box from the ports > collection. But then I see the instructions in the Handbook: > >       To launch VirtualBox, type from a Xorg session: > % VirtualBox > So am I to assume the only way to run Virtual Box is to have Xorg > installed and running on the FreeBSD server?  Which is a drag because > my current FreeBSD servers are exactly that, servers, and do not have > the fancy video cards, monitors, etc.. to run Xorg. Is there an > alternative to running the interface from Xorg. I'm a command line > fanatic when it comes to servers. Or would I be able to install Xvnc > or something like that and run it from one of my Windows 7 machines > which has all the fancy video capabilities? > > > 2. Once installed, I will be able to install something like Fedora or > openSUSE? These will only be installed as server so I can run > databases like MySQL in the Linux environment. The client I'm working > for insists on using SUSE...no FreeBSD allowed. They think it's poison > and are very biased on this so there's no talking them out of it. I > need to gain experience using these databases on Linux, not FreeBSD. > > 3. I'm going to buy a 1 TB SATA drive for this setup. It will be > running on an AMD64 server with FreeBSD 9.x or whatever is the latest > release as of this weekend. > > 4. There is also a Plan 'B' to go the other way. Since I already have > two i7 machines running Windows 7, perhaps it might be better to > install the Windows version of Virtual Box or even VMWare and create > my instances of Linux on one or even both of these machines. > > Any advice would be appreciated. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I just setup a FreeBSD 9.1p2 server to run Virtual Box myself, you don't need X, you can launch machines with VBoxHeadless --startvm "VM NAME". (using VNC to connect to the consoles of them) Creating and configuring them takes a bit more, and as I am only on the second day of getting this figured out, I am not the best person to go more into detail. I actually created my vms on windows moved them over to FreeBSD the server to run them. It can all be done command line, just takes a while to learn. I am running mine on a AMD Phenom(tm) II X6 1075T Processor, with 16G ram, so far I have had three VMs running at once, two FreeBSD 9.1p2 and one windows 2008r2, 3G ram assigned to each. Performance so far has been great, I will have it down to one VM in a few days, as I will convert the two FreeBSD VMs into jails, and just be left with the windows 2008r2 vm. the disks in my system are 2 Sata3 1TB volumes, with FreeBSD host installed on ZFS in mirrored zpool. Also running the 2 FreeBSD VMs from this mirror as well, and the sytem drive of the Windows server. The Windows server has a second data drive, that is mounted off 4 500MB SATA2 drives in a zfs raidz. Disk performance is better than what I had testing this setup on Windows 7 with Virtual box, using a hardware raid 10 on the 500MB drives and hardware mirror on the 1TB drives. I intend to migrate the windows data drive from a virtual disk to an iSCSI disk pointed to the same 500MB raidz once I get the FreeBSD iSCSI target setup figured out. This should hopefully get a little more speed out of the setup. Unfortunately as this setup is still in its early stages, I can't attest to how stable it will be. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Apr 19 20:12:45 2013 Return-Path: Delivered-To: freebsd-questions@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 E13D811F for ; Fri, 19 Apr 2013 20:12:45 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3171C12 for ; Fri, 19 Apr 2013 20:12:45 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UTHfd-0001yZ-VO for freebsd-questions@freebsd.org; Fri, 19 Apr 2013 22:12:33 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Apr 2013 22:12:33 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Apr 2013 22:12:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Virtual Box on FreeBSD Server Date: Fri, 19 Apr 2013 20:12:22 +0000 (UTC) Lines: 48 Message-ID: References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> <20130418133528.GA13082@eris.bzerk.org> <1366293077054-5804802.post@n5.nabble.com> <1366375031.22246.YahooMailNeo@web165004.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) 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: Fri, 19 Apr 2013 20:12:45 -0000 On Fri, 19 Apr 2013 05:37:11 -0700, Bill Tillman wrote: > I've been looking into setting up some Linux servers but instead I'm > thinking that I could use Virtual Box on my FreeBSD servers to do this. > I would like some seasoned advice from others on the following before > proceeding: > > 1. As I understand it you can install Virtual Box from the ports > collection. But then I see the instructions in the Handbook: > >       To launch VirtualBox, type from a Xorg session: > % VirtualBox So am I to assume the only way to run Virtual Box is to > have Xorg installed and running on the FreeBSD server?  Which is a drag > because my current FreeBSD servers are exactly that, servers, and do not > have the fancy video cards, monitors, etc.. to run Xorg. Is there an > alternative to running the interface from Xorg. I'm a command line > fanatic when it comes to servers. Or would I be able to install Xvnc or > something like that and run it from one of my Windows 7 machines which > has all the fancy video capabilities? > > > 2. Once installed, I will be able to install something like Fedora or > openSUSE? These will only be installed as server so I can run databases > like MySQL in the Linux environment. The client I'm working for insists > on using SUSE...no FreeBSD allowed. They think it's poison and are very > biased on this so there's no talking them out of it. I need to gain > experience using these databases on Linux, not FreeBSD. > > 3. I'm going to buy a 1 TB SATA drive for this setup. It will be running > on an AMD64 server with FreeBSD 9.x or whatever is the latest release as > of this weekend. > > 4. There is also a Plan 'B' to go the other way. Since I already have > two i7 machines running Windows 7, perhaps it might be better to install > the Windows version of Virtual Box or even VMWare and create my > instances of Linux on one or even both of these machines. > 1. No you don't need X -you can run headless on the server. The VirtualBox manual gives details of this. 2. Yes, that's the whole point of virtual machines. 3. 9.1 is fine. 4. No comment. I don't use Windows (and prefer to keep it that way); only Unix, FreeBSD and Linux. From owner-freebsd-questions@FreeBSD.ORG Fri Apr 19 21:00:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9C2B28D2 for ; Fri, 19 Apr 2013 21:00:35 +0000 (UTC) (envelope-from v2pointzero@speedy.com.ar) Received: from relayserver.mailtempresas.com.ar (relayserver.mailtempresas.com.ar [209.13.119.38]) by mx1.freebsd.org (Postfix) with ESMTP id C335E1E46 for ; Fri, 19 Apr 2013 21:00:34 +0000 (UTC) Received: from localhost (unknown [192.168.100.2]) by relayserver (Postfix) with ESMTP id B0726FB21 for ; Fri, 19 Apr 2013 17:35:56 -0300 (ART) X-Virus-Scanned: amavisd-new at example.com Received: from relayserver.mailtempresas.com.ar ([192.168.100.1]) by localhost (relaypol.mailtempresas.com.ar [192.168.100.2]) (amavisd-new, port 10024) with ESMTP id eWVeD9XyxC1b for ; Fri, 19 Apr 2013 17:35:54 -0300 (ART) Received: from magnani21a7994localdomain (unknown [190.173.233.199]) by relayserver (Postfix) with ESMTP id 2010FFB19 for ; Fri, 19 Apr 2013 17:35:29 -0300 (ART) MIME-Version: 1.0 From: "BETA V2 by J.Magnani" To: freebsd-questions@freebsd.org Subject: In private negotiations we placed commodities & products, in the short term. X-Mailer: SmartSend.2.0.102 Date: Fri, 19 Apr 2013 17:35:38 -0600 Message-ID: <4561904988561720224079@magnani-21a7994> Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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: v2pointzero@speedy.com.ar List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 21:00:35 -0000 For your convenience, we recommend use the hyperlinks "internals / external= s" (highlighted in blue). The e-mail hyperlinks, leads to documents hosted = at online server: "Skydrive". For some translations, we use and recommend "= Google translate": http://translate.google.com I'm Jorge Magnani business presentation, hyperlink leads to Skydrive / read= time -3 min: http://tiny.cc/IdJM We as alternatively to the investment in = "formal markets / ON the market" example "New York Stock Exchange (NYSE)" &= in turn as "cover / guard" to the depreciation in strong currencies (d=F3l= ar / euro / yen) =3D consolidated inflation, we propose our "know how" to p= roduce profits via THE PRIVATE TRADE OF COMMODITIES & PRODUCTS (technology,= manufacturing, so on).=20 For an automatic classification of your e-mail, please clicking on the opti= on indicated: a) I request transactions to buy, b) I want sell my productio= n, c) I want to be a facilitator for purchases and sales & d) I dont want t= o receive more information. As the most safe "investment vehicle" and on a global stage, we propose at = "buyers / investors" obtain profits via wholesale buying of commodities & p= roducts: THE OBJETIVE IS PRODUCE A DIFFERENTIAL WITH AN RESALE / PLACEMENT = IN PRIVATE MARKETS; With proper application of technology / financial struc= ture for global interconnection of XXI century, we propose the return at th= e origin of global trade "the interchanges round the world via continental = travels".=20 Summarizing part of our innovation, after configure each negotiation: we ca= n simplify and ensure effective results for all private transactions of com= modities & products. Via agreements with warranty companies legally authori= zed & registered we configure fast negotiations to be operated via digital = means, the innovation this in incorporate an interchange simple & sure for = the "funds / product". The wholesale sales in which we apply our "know how"= have the interchange guaranteed via "Trust law accounts" in HSBC U.K or Ba= nk of America (BAC), with the highest standard for security: is very easy g= enerate acceptance in "private markets". More info hyperlinks leads to Skyd= rive: "safety / effectiveness" at 100 % for each interchange "funds / produ= ct" (read time -5 min) http://tiny.cc/warrantco / From this way, we form tr= ends for "buy / sell" (read time -5 min) http://tiny.cc/V2knowhow Continuously we invite the big players in the commodities markets, to offer= their production via our BETA period (free trial); To begin with the "due = diligence" prior to processing each "configuration / programming" initial, = we must to know: a) if seller is in conditions and has interest to sell "sp= ots", in global markets including the services for "Cost Insurance & Freigh= t (CIF)" / the shipping solely is effected, with funds blocked & conditione= d to the verification of product and b) if seller is in conditions and has = interest to sell "spots" via private agreements for wholesales, with discou= nt "chord its ticker price" example: LBMA for sell gold, WTI / Brent for se= ll oil / derivates & Chicago Mercantile Exchange (CME) for the rest of comm= odities.=20 IMPORTANT: So that together we evaluate profitability for sell part of thei= r commodities via our "know how", please reply this e-mail with the detail = of: characteristics, quantity, discount & an generic SPA (terms / condition= s). While we can work in two directions, including the facilitating of comm= odities that seller have need to buy; Mainly we are interested to incorpora= te new suppliers for increase sales via our "know how". Among several benef= its: the seller may be part the current trend for the XXI century, carrying= its production at new markets via a great quantity of global operators in = position "homesourcing". By any suggestion, questions or clarification; Please contact with us, we a= re interested know your opinion. Our challenge: provide in each negotiation= by digital means, interchanges "funds / product" with levels of simplicity= and effectiveness, similar to those in formal markets =3D without leaving = your desktop via digital means, subscribers have secure and effective resul= ts. We invite to be part of the experience XP Version 2.0 (V 2.0), together= we can build the future of private negotiation. Kind regards, thanks for t= rusting in our systems (As)sessor Jorge Magnani. J.Magna / Beta V2 in socia= l networks: http://tiny.cc/linkedIN_JMagna / "Give us I Like" on Facebook: = http://tiny.cc/I_Like_V2=20 From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 11:04:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4B0F723 for ; Sat, 20 Apr 2013 11:04:03 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 77389171F for ; Sat, 20 Apr 2013 11:04:03 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r3KAhJWe055073 for ; Sat, 20 Apr 2013 11:43:20 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51727147.50902@qeng-ho.org> Date: Sat, 20 Apr 2013 11:43:19 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130409 Thunderbird/17.0.5 MIME-Version: 1.0 To: FreeBSD-Questions Subject: Poudriere change to distfile cache handling? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 20 Apr 2013 11:04:03 -0000 I've been using poudriere (and pkgng) for building and installing ports since just before the new year. This morning I started doing a bulk build and got ====>> Error: DISTFILES_CACHE cannot be in the portsdir as the portsdir will be mounted read-only I've been using /usr/ports/disfiles as my DISTFILES_CACHE since I started with no problem. Anyone know what's going on here? A quick look at /usr/local/share/poudriere/common.sh shows an explicit check for ${DISTFILES_CACHE} being /usr/ports/distfiles, which is what's triggering the error, and /usr/ports is mounted ro in the jail, but then ${DISTFILES_CACHE} is mounted rw on /usr/ports/distfiles. Also, the check is specifically for the cache being /usr/ports/distfiles, and wouldn't trigger if it were /usr/ports/Distfiles, and yet the error message suggests it shouldn't be anywhere under /usr/ports. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 11:13:12 2013 Return-Path: Delivered-To: freebsd-questions@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 1524096F for ; Sat, 20 Apr 2013 11:13:12 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id CE203176D for ; Sat, 20 Apr 2013 11:13:11 +0000 (UTC) Received: from [88.217.94.16] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UTVjC-0004A7-41 for freebsd-questions@freebsd.org; Sat, 20 Apr 2013 13:13:10 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id r3KBD8PU003021 for ; Sat, 20 Apr 2013 13:13:08 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id r3KBD8vg003020 for freebsd-questions@freebsd.org; Sat, 20 Apr 2013 13:13:08 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 20 Apr 2013 13:13:08 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: CPU clock rate Message-ID: <20130420111308.GA3011@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.94.16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 11:13:12 -0000 Hello, Do we have something in FreeBSD or its ports to measure the actual CPU clock rate? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 13:33:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 434CF4AA for ; Sat, 20 Apr 2013 13:33:53 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm20-vm0.bullet.mail.ird.yahoo.com (nm20-vm0.bullet.mail.ird.yahoo.com [77.238.189.221]) by mx1.freebsd.org (Postfix) with SMTP id 977A81D92 for ; Sat, 20 Apr 2013 13:33:52 +0000 (UTC) Received: from [77.238.189.49] by nm20.bullet.mail.ird.yahoo.com with NNFMP; 20 Apr 2013 13:33:51 -0000 Received: from [217.146.188.152] by tm2.bullet.mail.ird.yahoo.com with NNFMP; 20 Apr 2013 13:33:51 -0000 Received: from [127.0.0.1] by smtp110.mail.ird.yahoo.com with NNFMP; 20 Apr 2013 13:33:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1366464831; bh=XSawRFzVHd+x28A4lwhlnSP6nUIz06sr+G2kfWJUGJk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=wEw8F68YG3LNGc7LFsgo4y3VGdLSjz5MGrcZZ/6NUi84DEUZhtSbkzxSXbC9l4FiUEkFiDgxOpaiLxC8fVv8ohGd6w7JRCdu41KTD5tL7rYJ2vdloD0ALM3vIphshaYfBsNl1YxvFXeTvVkMAGfLpO4aUtO+PT9UeOoKO7NW7iI= X-Yahoo-Newman-Id: 304797.82483.bm@smtp110.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: O2C6x1YVM1ma4s_jJk478l9e1cSaljUxnSgKDH163nQmsXe cgH0Hr2n1wk_Zu9j2Hvqnc_VXPXDLRzg9fhq6XV1xjQidzADOv0Cl9YdGWNj RT5YwSzQaMW6Is7JM_WkBkZ5FdkHaPPolCGbfEaMYS8Ku3NUVM0gyd5QlPab zffePMsGcLPyb9R2KjUGLK5GcRLSO0BKisdaS7pOg1cpzw8kZf4KbEJMi2LC wHrLaOW4IsEWkIzRWEJaTO.AlCkbOCfC5SDBlYTDlsWdn1ixV4R.eNqNgHlo Pdhuay5U3BteRsws5LMIk7MiuOxl49kmnsP5G9TJqM_S_tSIgFpBlHE_1UBp DoNWB.SIrAtyb3YDhffNCVrB9qlbbwpKi2NvHyfEECMlhQ0paA_tyoWmX_MR 8VOyA7Umz X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@89.7.216.154 with plain) by smtp110.mail.ird.yahoo.com with SMTP; 20 Apr 2013 06:33:51 -0700 PDT Date: Sat, 20 Apr 2013 15:33:53 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: CPU clock rate Message-Id: <20130420153353.0670d11db81f24d98fd4b552@yahoo.es> In-Reply-To: <20130420111308.GA3011@tinyCurrent> References: <20130420111308.GA3011@tinyCurrent> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Matthias Apitz 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: Sat, 20 Apr 2013 13:33:53 -0000 On Sat, 20 Apr 2013 13:13:08 +0200 Matthias Apitz wrote: > > Hello, > > Do we have something in FreeBSD or its ports to measure the actual CPU > clock rate? Thanks > > matthias Just check sysctl, %sysctl dev.cpu.0.freq >From ports I use conky, that shows that info and a lot other under X11. --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 13:44:33 2013 Return-Path: Delivered-To: freebsd-questions@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 9D081838 for ; Sat, 20 Apr 2013 13:44:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6835A1DFA for ; Sat, 20 Apr 2013 13:44:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 5B61E2435D; Sat, 20 Apr 2013 15:44:26 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3KDiYl6003261; Sat, 20 Apr 2013 15:44:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 20 Apr 2013 15:44:34 +0200 From: Polytropon To: Eduardo Morras Subject: Re: CPU clock rate Message-Id: <20130420154434.fd77daa1.freebsd@edvax.de> In-Reply-To: <20130420153353.0670d11db81f24d98fd4b552@yahoo.es> References: <20130420111308.GA3011@tinyCurrent> <20130420153353.0670d11db81f24d98fd4b552@yahoo.es> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Matthias Apitz , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 13:44:33 -0000 On Sat, 20 Apr 2013 15:33:53 +0200, Eduardo Morras wrote: > On Sat, 20 Apr 2013 13:13:08 +0200 > Matthias Apitz wrote: > > > > > Hello, > > > > Do we have something in FreeBSD or its ports to measure the actual CPU > > clock rate? Thanks > > > > matthias > > Just check sysctl, > > %sysctl dev.cpu.0.freq > > From ports I use conky, that shows that info and a lot other under X11. If you're interested in a X CPU frequency and CPU utilization monitor (no bloat), comparable to xload and xmbmon, try this: http://www.secnetix.de/olli/FreeBSD/ports/xcpufreq.tgz Example: xcpufreq -geometry 189x164+151+826 -cpuscalecolor grey -freqscalecolor grey -scales 6 -update 1 -jumpscroll 1 & You could also examine how the kernel generates its CPU identification message found on top of dmesg output: /usr/src/sys/i386/i386/identcpu.c Start looking from line 630. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 14:06:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DC5C9FC6 for ; Sat, 20 Apr 2013 14:06:28 +0000 (UTC) (envelope-from jos@webrz.net) Received: from thetys.cloudzeeland.nl (webrz.xs4all.nl [83.161.133.58]) by mx1.freebsd.org (Postfix) with ESMTP id 9E14E1E8F for ; Sat, 20 Apr 2013 14:06:27 +0000 (UTC) Received: from thetys.cloudzeeland.nl (thetys.cloudzeeland.nl [10.10.10.31]) by thetys.cloudzeeland.nl (Postfix) with ESMTP id 4D54816445C9; Sat, 20 Apr 2013 15:59:38 +0200 (CEST) Received: from [10.10.10.44] (unknown [82.176.127.71]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by thetys.cloudzeeland.nl (Postfix) with ESMTPSA id E855C1644581; Sat, 20 Apr 2013 15:59:37 +0200 (CEST) Message-ID: <5172A0DE.30808@webrz.net> Date: Sat, 20 Apr 2013 16:06:22 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 To: Paul Macdonald Subject: Re: RSync exclusion References: <516FD965.3000902@webrz.net> <516FEB76.5040102@ifdnrg.com> In-Reply-To: <516FEB76.5040102@ifdnrg.com> X-Virus-Scanned: ClamAV using ClamSMTP on thetys.cloudzeeland.nl MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Jos Chrispijn , "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: Sat, 20 Apr 2013 14:06:28 -0000 Must have had a temporary brain damage, sorry... thanks Jos Paul Macdonald: --exclude /files/photos From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 14:07:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CF6E01B2 for ; Sat, 20 Apr 2013 14:07:39 +0000 (UTC) (envelope-from jos@webrz.net) Received: from thetys.cloudzeeland.nl (webrz.xs4all.nl [83.161.133.58]) by mx1.freebsd.org (Postfix) with ESMTP id 92BA81EA3 for ; Sat, 20 Apr 2013 14:07:38 +0000 (UTC) Received: from thetys.cloudzeeland.nl (thetys.cloudzeeland.nl [10.10.10.31]) by thetys.cloudzeeland.nl (Postfix) with ESMTP id 5594E16445C9; Sat, 20 Apr 2013 16:00:56 +0200 (CEST) Received: from [10.10.10.44] (unknown [82.176.127.71]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by thetys.cloudzeeland.nl (Postfix) with ESMTPSA id 1ABD91644581; Sat, 20 Apr 2013 16:00:55 +0200 (CEST) Message-ID: <5172A12C.3060907@webrz.net> Date: Sat, 20 Apr 2013 16:07:40 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Daniel O'Callaghan Subject: Re: RSync exclusion References: <516FD965.3000902@webrz.net> <516FE1B6.1080702@clari.net.au> In-Reply-To: <516FE1B6.1080702@clari.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on thetys.cloudzeeland.nl 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: Sat, 20 Apr 2013 14:07:39 -0000 Daniel O'Callaghan: > It uses rsync, but manages a directory tree with hard links to > unchanged files. > It would solve your problem, but in a different way. Thanks for this - the issue is solved, but I will certainly have a look to that one as well. Jos From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 15:05:34 2013 Return-Path: Delivered-To: freebsd-questions@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 DFE2A784 for ; Sat, 20 Apr 2013 15:05:34 +0000 (UTC) (envelope-from famille-boitelle@wanadoo.fr) Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) by mx1.freebsd.org (Postfix) with ESMTP id 44C99B1 for ; Sat, 20 Apr 2013 15:05:33 +0000 (UTC) Received: from wwinf1p12 ([10.223.75.55]) by mwinf5d24 with ME id SF5S1l00C1BazmJ03F5SDC; Sat, 20 Apr 2013 17:05:26 +0200 Date: Sat, 20 Apr 2013 17:05:26 +0200 (CEST) From: Jacqueline BOITELLE To: freebsd-questions@freebsd.org Message-ID: <88451350.14733.1366470326353.JavaMail.www@wwinf1p12> Subject: Newbies Questions MIME-Version: 1.0 X-Originating-IP: [90.19.61.167] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Jacqueline BOITELLE List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 15:05:34 -0000 Hello =C2=A0 here I am new to the bsd system and I would like you exposed my questions a= nd also my coming here =C2=A0 know that not insite to troll;) =C2=A0 my coming computer began at the age of 8 years on a type of mac 128k I have= given anyone around me make small hack (jentend by looking if I delete it = if it's going to change as or that thing ...... etc.) and it is true that m= y parents will often taken (especially when I was on Windows computer with = a technician) today I did all that I meme except for the replacement materi= al, I knew if I may say the evolution of my first personal computer was a w= indows 3.1> 95> mE> XP> 7> 8 and it is true many have started changing appe= arances of menus, beginning internet, reliability not very good but with no= table progress it is true that today we have as good reliability on Linux except for win8 = win8 and millennium I would say that the engine is good cabin has major cha= nge but the electronics are not followed =C2=A0 --------------- =C2=A0 I came to the bsd family because I wanted to find the passions annimait me = when I discovered the windows computer today is more automated security enh= ancements certe but almost one month after it is all out and then crack rel= iability leaves much wished he planted I do it many times without knowing w= hy =C2=A0 Today I was looking for more than tampering before (a little bit) I want to= know more what is behind the cabin or in the engine what are l=C3=A9l=C3= =A9ment that starts and subsequently what, =C3=A7i or that etc =C2=A0 ---------------- =C2=A0 LINUX =C2=A0 I have tested several times linux but I try to be interested but I thought = it was strange that a messy system certe but pretty much by philosophy I es= pecially remember the numerous distributions by allieur I do not understand= why there was so especially in the desktop category Then I see a preponderance at the hand of ubuntu which is bizare because I = think cannonical not very involved in the elaboration and the improvements = in the Linux kernel community is against the levels of market share very st= rong it is true that when have seen open source software there are binary b= ut all too often the meme distributions it has remained a meme be compiled =C2=A0 but linux does not interest me one day jy can be back but for now it does n= ot interest me =C2=A0 ----------------- =C2=A0 BSD =C2=A0 this is a day that I am in PC-BSD I enjoy clear information and a lot of de= tails I am also surprised to hear my pc when I was working on windows it is= true that if one compares the port windows it saddens me store windows sto= re has 50,000 applications while the freebsd port to have only 20 000 (I th= ink) but I see this nice beautiful system used better than the distribution= s for the desktop lighter uses much better all for free even if linux is al= so free implementation has some configuration error I is not had a lot of c= rashes PBI system is just great have created a module port, and presto! have can m= ake a pbi without problem also support HD card ati leaves wished I can not = play games (I have a ati hd 4670) but it is true that I do not yet many exp= erience in this system =C2=A0 there is something else that I tested ~ 2years OPEN-SOLARIS an equally bril= liant and especially a manufacturing system by sun and unfortunately the su= n redemption by oracle has changed the most open-solaris, more open office = today must make a profit and it seems to me that there was not much develop= er who was paid to do a job that could have freely modified and make best =C2=A0 =C2=A0 OP=C3=8AN-BAR =C2=A0 I would also tell you that the French Ministry of Defence through the open = bar has decided to fully equipped computer using these windows is =E2=82=AC= 100 per post and the cerat microsoft support and software come to ireland =C2=A0 I would come back later if I have further questions answer =C2=A0 =C2=A0 Cordially From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 15:40:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 218562ED for ; Sat, 20 Apr 2013 15:40:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id C57D11BE for ; Sat, 20 Apr 2013 15:40:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 7B86F24B1B; Sat, 20 Apr 2013 17:40:18 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3KFeRO9003524; Sat, 20 Apr 2013 17:40:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 20 Apr 2013 17:40:27 +0200 From: Polytropon To: Jacqueline BOITELLE Subject: Re: Newbies Questions Message-Id: <20130420174027.5ac23e97.freebsd@edvax.de> In-Reply-To: <88451350.14733.1366470326353.JavaMail.www@wwinf1p12> References: <88451350.14733.1366470326353.JavaMail.www@wwinf1p12> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 15:40:21 -0000 On Sat, 20 Apr 2013 17:05:26 +0200 (CEST), Jacqueline BOITELLE wrote: > I came to the bsd family because I wanted to find the passions > annimait me when I discovered the windows computer today is more > automated security enhancements certe but almost one month after > it is all out and then crack reliability leaves much wished he > planted I do it many times without knowing why Except that many of those "security" aspects don't really work. They cannot compensate the severe design flaws of "Windows", which in its heart is a single-user single-task (and nowadays single-window) system. FreeBSD is different. Because it is derived from UNIX, it has a long track of good security through established concepts and modern implementations. > I have tested several times linux but I try to be interested but > I thought it was strange that a messy system certe but pretty > much by philosophy I especially remember the numerous distributions > by allieur I do not understand why there was so especially in the > desktop category Linux distribution are about choice. Because there is no way to make a system that pleases everyone, and also because it's hard to make a certain compilation of software run everywhere, several different Linusi have emerged. They are different in shells, in packaging system, in preconfigured and preinstalled applications and in documentation. FreeBSD on the other hand is a multi-purpose system. The same OS can be used on a laptop, on a desktop workstation, on a server, on a "combined system" (e. g. workstation having server functionalities), even on embedded. The OS itself is maintained by _one_ body, and clearly separated from 3rd party applications. > Then I see a preponderance at the hand of ubuntu which is bizare > because I think cannonical not very involved in the elaboration > and the improvements in the Linux kernel community is against the > levels of market share very strong it is true that when have seen > open source software there are binary but all too often the meme > distributions it has remained a meme be compiled Ubuntu seems to be one of the most prominent Linux distribtions and therefore is very active in gaining mind share and usage share. > this is a day that I am in PC-BSD I enjoy clear information and a > lot of details It's FreeBSD in its heart, so yes: All the underlying structures are there, ready to use. > I am also surprised to hear my pc when I was working on windows It seems that FreeBSD uses the system's resources more efficiently, whereas common bloatware requires fans to keep running all the time, and disks heavily accessing stuff. > it is true that if one compares the port windows it saddens me > store windows store has 50,000 applications while the freebsd > port to have only 20 000 (I think) And how many of the 50,000 "Windows" applications can you get the source code for? Can all of them be updated with one command, without constant hand-holding? Software ported to FreeBSD usually is of high quality in general. It's not just the programs, it's also very often the good documentation. > but I see this nice beautiful system used better than the > distributions for the desktop lighter uses much better all > for free even if linux is also free implementation has some > configuration error I is not had a lot of crashes Troubleshooting is often difficult on Linux. There are situations where you cannot simply test "a simple change", and getting information can also be hard because nobody seems to really care. > PBI system is just great have created a module port, and presto! PBI is specific to PC-BSD, it's not part of the regular FreeBSD packaging system. > have can make a pbi without problem also support HD card ati > leaves wished I can not play games (I have a ati hd 4670) but > it is true that I do not yet many experience in this system It seems that more modern ATI cards don't have the best support, as I've heared. In comparison, my old ATI Radeon 9200 (AGP card) has been recognized by the stock (!) "ati" driver being part of the (obsoleted) XFree86 system, and it had enough 3D power to allow me to play games. > there is something else that I tested ~ 2years OPEN-SOLARIS an > equally brilliant and especially a manufacturing system by sun > and unfortunately the sun redemption by oracle has changed the > most open-solaris, more open office today must make a profit and > it seems to me that there was not much developer who was paid to > do a job that could have freely modified and make best I'd like to think that LibreOffice has become the common replacement for OpenOffice in free software distributions. Also note: What Oracle touches, that turns into crap. :-( I wish you fun experiencing FreeBSD. You'll probably learn a lot which will position you on top of the food chain, compared to common "Minesweeper Consultant Solitaire Experts". :-) PS. Am I right to assume that your text has been automatically translated? There seem to be "some words" missing. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 16:53:03 2013 Return-Path: Delivered-To: freebsd-questions@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 B694EF26 for ; Sat, 20 Apr 2013 16:53:03 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id 409343A5 for ; Sat, 20 Apr 2013 16:53:03 +0000 (UTC) Received: by mail-la0-f49.google.com with SMTP id ei20so482880lab.36 for ; Sat, 20 Apr 2013 09:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=mime-version:x-received:x-originating-ip:date:message-id:subject :from:to:content-type; bh=QB8/ehp6IQHB0dXsznvjzc6nVZ4cukN/ABFewMfDCx8=; b=gYXlG6AhoPjSgPDz/DrtCzwLsb30gjZfXYz283KY4B6CtGZmIQCHyTxS/Riqrsmyo7 QnoP98iWIiupLy4ttTx8s/Y8wR2ruarBOHmIRd6lGPmC0nuQQ7fKiUko8++pnX7ClezZ unsviRRO4A8UbvC5nUZpeNkI8QNpIV9yqg2R4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:date:message-id:subject :from:to:content-type:x-gm-message-state; bh=QB8/ehp6IQHB0dXsznvjzc6nVZ4cukN/ABFewMfDCx8=; b=R0wKyIBBeC0WM0mFLX3t9+LdVePCaaD+NHQ5sdK9xk88yrXTlP/UIUDNUMY6bgEp3X ATbOad5T0meHI0di5nuqNOqHRijma6CPbrLZtwQWiDR383VC8VFTSSlZJn7B6rV8vawM YGtXeknzbHrHYMROQwj9RDXB2qtb9xt/jqgmvzTVOIRuMtl9d8t1McIwFy62HIw7rrSd aRZk/nPOk+XNdA3E4bDK7VecIJ90ThsW/xNNmIcuvhXpOhuj5f8n2Wd56rZYhIkBw/Yh 3PyQ5absVSMfveEjLQgqT/dBSSlzlXxUzdU1Q4QBOD6NS/PnXT87MhJiAgEKygj1GpD/ jmPQ== MIME-Version: 1.0 X-Received: by 10.112.134.135 with SMTP id pk7mr10119782lbb.54.1366476782151; Sat, 20 Apr 2013 09:53:02 -0700 (PDT) Received: by 10.112.167.198 with HTTP; Sat, 20 Apr 2013 09:53:02 -0700 (PDT) X-Originating-IP: [24.222.103.67] Date: Sat, 20 Apr 2013 13:53:02 -0300 Message-ID: Subject: Lenovo T530 device hints for audio jack and microphone (9.1-RELEASE) From: Joseph Mingrone To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlmtFSc7B06O2w3+0XMoz+O+k5TrYPygbZiUKRPovqzjk1oQT9l0L/tJrdGkJTmJ2tyggP2 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: Sat, 20 Apr 2013 16:53:03 -0000 Hi; Putting hint.hdac.0.cad0.nid21.config="as=1 seq=15" in /boot/loader.conf makes the audio jack function as expected. That is, when audio is playing and nothing is plugged in to the audio jack the sound comes from the internal speakers and when an external speaker is plugged in sound comes from the external speakers. I'm trying to get the microphone to work with similar hints. I've tried # In : mic + external mic hint.hdac.0.cad0.nid24.config="as=2" hint.hdac.0.cad0.nid18.config="as=2 seq=15" but no luck. % sysctl -a | grep nid output is pasted below. Is it possible to the microphone working on a T530? Joseph % sysctl -a | grep nid hdaa0: at nid 1 on hdacc0 pcm0: at nid 20,21 and 24,18 on hdaa0 hdaa1: at nid 1 on hdacc1 pcm1: at nid 5 on hdaa1 pcm2: at nid 6 on hdaa1 pcm3: at nid 7 on hdaa1 debug.minidump: 1 dev.hdaa.0.%location: nid=1 dev.hdaa.0.nid18_config: 0x90a6012f as=2 seq=15 device=Mic conn=Fixed ctype=Digital loc=Internal color=Unknown misc=1 dev.hdaa.0.nid18_original: 0x90a60140 as=4 seq=0 device=Mic conn=Fixed ctype=Digital loc=Internal color=Unknown misc=1 dev.hdaa.0.nid20_config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1 dev.hdaa.0.nid20_original: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1 dev.hdaa.0.nid21_config: 0x0321101f as=1 seq=15 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0 dev.hdaa.0.nid21_original: 0x03211020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0 dev.hdaa.0.nid23_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid23_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid24_config: 0x03a11820 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=8 dev.hdaa.0.nid24_original: 0x03a11830 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=8 dev.hdaa.0.nid25_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid25_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid26_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid26_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid27_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid27_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid29_config: 0x40138205 as=0 seq=5 device=Speaker conn=None ctype=ATAPI loc=0x00 color=Purple misc=2 dev.hdaa.0.nid29_original: 0x40138205 as=0 seq=5 device=Speaker conn=None ctype=ATAPI loc=0x00 color=Purple misc=2 dev.hdaa.0.nid30_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid30_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.1.%location: nid=1 dev.hdaa.1.nid5_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid6_config: 0x18560020 as=2 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid6_original: 0x18560020 as=2 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid7_config: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid7_original: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.pcm.0.%location: nid=20,21,24,18 dev.pcm.1.%location: nid=5 dev.pcm.2.%location: nid=6 dev.pcm.3.%location: nid=7 From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 18:00:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8054239B for ; Sat, 20 Apr 2013 18:00:21 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx1.freebsd.org (Postfix) with ESMTP id 6361A86D for ; Sat, 20 Apr 2013 18:00:21 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id 5so2801275pdd.31 for ; Sat, 20 Apr 2013 11:00:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=/HNbZPDgZeBntpDOabm5PMSFvi+k5KtpiIxmckaXHTQ=; b=ptwMLlL6tCLCOJw483u3vd1fGXKoMazyN41j4usabEGT0JYHN+rRBNaoX7mztIv7oK C8rRrBDIWFAxfUueuVqsIVuLE/Q7IEKEkPm7uyACVns6ElELU2hHgD78iKnvdW8cW8Dc ZgwQaPGKOLOhal9uG6j4BHXn/qF4VBZfiPVQ6VFo0uJUczsVViAH6sqyq1vPdfF5TrAj r+7JWjFVwppdOXzvOOuGv+UsU5ZfpOrXRnMh3yBmCl5oQ0Wx0BcJTZpX6pouK51La5rI gZur9wqMWyxYROda/SLSP5OSejXDdN4eOgeYrPn/udf4lMpGatEmWLIEUGvOKJ2O6IpP H3Gw== MIME-Version: 1.0 X-Received: by 10.66.233.97 with SMTP id tv1mr4672423pac.96.1366480820721; Sat, 20 Apr 2013 11:00:20 -0700 (PDT) Received: by 10.66.235.3 with HTTP; Sat, 20 Apr 2013 11:00:20 -0700 (PDT) Date: Sat, 20 Apr 2013 14:00:20 -0400 Message-ID: Subject: Home WiFi Router with pfSense or m0n0wall? From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQk7/5A9D9i/ujMWboWVp5ktrZFBmZciRHgUkoGAZbDVTu4VLpXhSRoTN0BdrdmGu6PmDi8S 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: Sat, 20 Apr 2013 18:00:21 -0000 Hi, I'm looking to replace the piece of crap 2wire WiFi router that gets crakced every other day for something with pfSense or m0n0wall I would like something that is plug and play and easy to use in the $300 rage tops that has the WiFi router integrated. It seems only Hacom offers this. Can anyone recommend something different or has anyone here tried Hacom WiFi routers? Any additional comments or recommendations? Thanks, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 22:58:09 2013 Return-Path: Delivered-To: freebsd-questions@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 5D84710E for ; Sat, 20 Apr 2013 22:58:09 +0000 (UTC) (envelope-from jamebus@gmail.com) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2336F11CB for ; Sat, 20 Apr 2013 22:58:08 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id hx10so4984027vcb.14 for ; Sat, 20 Apr 2013 15:58:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7zQBPOstyuPRv7HQMgMbiTRqeRCl/jhDjGtx2wcrkwE=; b=Z77/B+Q6Ts1I2Jt3G0XwMY+mrriMJu1xEk0iYjSWpkauHOYryq3qlkYWwzMUWW/g6A kWmWgjL1Ab5e/bwC+lBW5ADT08Iz8VLFTNgKeI35opjQRgr8kFT2gua30xu+xUd9t3iU zI4Ohgxalmi2M0PujrEnk5i261EiWejjsTTsQgfhsjWqr9ikh0xZCc2qQOc0EK0vrDLZ JK9dkfapez4AUOpuLHcsDPjBRPgii9rnOakbganne/Tw7zb/P60TJSVUkvtWaqXB4MGu gkMTs8YbRA/elC0y0xokVDxPjpJlzo+huX0NvD7fOKi2aAPPAdySLuB1CnZM1sjEuZ+2 Afyw== MIME-Version: 1.0 X-Received: by 10.52.26.68 with SMTP id j4mr12717413vdg.116.1366498688284; Sat, 20 Apr 2013 15:58:08 -0700 (PDT) Sender: jamebus@gmail.com Received: by 10.58.238.135 with HTTP; Sat, 20 Apr 2013 15:58:08 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Apr 2013 17:58:08 -0500 X-Google-Sender-Auth: Fam7Kmo7IH8ehUEeVDMyv0aspXI Message-ID: Subject: Re: Home WiFi Router with pfSense or m0n0wall? From: James To: Alejandro Imass Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions 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: Sat, 20 Apr 2013 22:58:09 -0000 Hi Alejandro. I can't speak about Hacom, but I've had excellent results with Soekris hardware. It'll run all sorts of FreeBSD-based systems. They have kit suitable for both wired and wireless networks. -- James.