From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 00:18: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 4BDD6F21; Sun, 10 Feb 2013 00:18:08 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 073EDF40; Sun, 10 Feb 2013 00:18:07 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U4KcR-0004EM-2h; Sun, 10 Feb 2013 00:18:07 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4KcQ-0007bt-JG; Sun, 10 Feb 2013 00:18:06 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1A0I6mY046769; Sun, 10 Feb 2013 00:18:06 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1A0I6Dv046768; Sun, 10 Feb 2013 00:18:06 GMT (envelope-from mexas) Date: Sun, 10 Feb 2013 00:18:06 GMT From: Anton Shterenlikht Message-Id: <201302100018.r1A0I6Dv046768@mech-cluster241.men.bris.ac.uk> To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: building custom kernel on -current: unknown option "COMPAT_LINUX" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 00:18:08 -0000 This is on amd64 r246552 I added options COMPAT_43 options COMPAT_LINUX options COMPAT_LINUX32 to the kernel config, following sys/amd64/conf/NOTES On buildkernel I get: unknown option "COMPAT_LINUX" What am I missing? Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 00:27:50 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 EF5811A8; Sun, 10 Feb 2013 00:27:50 +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 9A820F8A; Sun, 10 Feb 2013 00:27:50 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx02.qsc.de (Postfix) with ESMTP id B881F254B0; Sun, 10 Feb 2013 01:27:48 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1A0RqbJ005233; Sun, 10 Feb 2013 01:27:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Feb 2013 01:27:51 +0100 From: Polytropon To: mexas@bristol.ac.uk Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" Message-Id: <20130210012751.76957b14.freebsd@edvax.de> In-Reply-To: <201302100018.r1A0I6Dv046768@mech-cluster241.men.bris.ac.uk> References: <201302100018.r1A0I6Dv046768@mech-cluster241.men.bris.ac.uk> 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-current@freebsd.org, 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, 10 Feb 2013 00:27:51 -0000 On Sun, 10 Feb 2013 00:18:06 GMT, Anton Shterenlikht wrote: > This is on amd64 r246552 > > I added > > options COMPAT_43 > options COMPAT_LINUX > options COMPAT_LINUX32 > > to the kernel config, > following sys/amd64/conf/NOTES > > On buildkernel I get: > > unknown option "COMPAT_LINUX" > > What am I missing? Do you also have those (from a working i386 system): # Linux support options COMPAT_LINUX # Enable Linux ABI emulation options LINPROCFS # Enable the linux-like proc filesystemsupport (requires COMPAT_LINUX and PSEUDOFS) options LINSYSFS # Enable the linux-like sys filesystem support (requires COMPAT_LINUX and PSEUDOFS) device lindev options COMPAT_AOUT # Enable i386 a.out binary support (note PSEUDOFS is also needed) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 00:31: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 3D6E4484; Sun, 10 Feb 2013 00:31:46 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 06363FCC; Sun, 10 Feb 2013 00:31:45 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U4Kpd-0005Fr-2V; Sun, 10 Feb 2013 00:31:45 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4Kpc-0000Mr-Jt; Sun, 10 Feb 2013 00:31:44 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1A0ViLR046821; Sun, 10 Feb 2013 00:31:44 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1A0VikU046820; Sun, 10 Feb 2013 00:31:44 GMT (envelope-from mexas) Date: Sun, 10 Feb 2013 00:31:44 GMT From: Anton Shterenlikht Message-Id: <201302100031.r1A0VikU046820@mech-cluster241.men.bris.ac.uk> To: freebsd@edvax.de Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" In-Reply-To: <20130210012751.76957b14.freebsd@edvax.de> Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 00:31:46 -0000 From freebsd@edvax.de Sun Feb 10 00:29:36 2013 On Sun, 10 Feb 2013 00:18:06 GMT, Anton Shterenlikht wrote: > This is on amd64 r246552 > > I added > > options COMPAT_43 > options COMPAT_LINUX > options COMPAT_LINUX32 > > to the kernel config, > following sys/amd64/conf/NOTES > > On buildkernel I get: > > unknown option "COMPAT_LINUX" > > What am I missing? Do you also have those (from a working i386 system): # Linux support options COMPAT_LINUX # Enable Linux ABI emulation options LINPROCFS # Enable the linux-like proc filesystemsupport (requires COMPAT_LINUX and PSEUDOFS) options LINSYSFS # Enable the linux-like sys filesystem support (requires COMPAT_LINUX and PSEUDOFS) device lindev options COMPAT_AOUT # Enable i386 a.out binary support (note PSEUDOFS is also needed) No, I haven't added those. Are these necessary to have the linux binary compatibility? The handbook only mentions COMPAT_LINUX. Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 00:36:29 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 21FA669B; Sun, 10 Feb 2013 00:36:29 +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 C1A12B4; Sun, 10 Feb 2013 00:36:28 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx02.qsc.de (Postfix) with ESMTP id DB1FC249FA; Sun, 10 Feb 2013 01:36:27 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1A0aVg3005287; Sun, 10 Feb 2013 01:36:31 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Feb 2013 01:36:31 +0100 From: Polytropon To: mexas@bristol.ac.uk Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" Message-Id: <20130210013631.4681c6fd.freebsd@edvax.de> In-Reply-To: <201302100031.r1A0VikU046820@mech-cluster241.men.bris.ac.uk> References: <20130210012751.76957b14.freebsd@edvax.de> <201302100031.r1A0VikU046820@mech-cluster241.men.bris.ac.uk> 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-current@freebsd.org, 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, 10 Feb 2013 00:36:29 -0000 On Sun, 10 Feb 2013 00:31:44 GMT, Anton Shterenlikht wrote: > From freebsd@edvax.de Sun Feb 10 00:29:36 2013 > > On Sun, 10 Feb 2013 00:18:06 GMT, Anton Shterenlikht wrote: > > This is on amd64 r246552 > > > > I added > > > > options COMPAT_43 > > options COMPAT_LINUX > > options COMPAT_LINUX32 > > > > to the kernel config, > > following sys/amd64/conf/NOTES > > > > On buildkernel I get: > > > > unknown option "COMPAT_LINUX" > > > > What am I missing? > > Do you also have those (from a working i386 system): > > # Linux support > options COMPAT_LINUX # Enable Linux ABI emulation > options LINPROCFS # Enable the linux-like proc filesystemsupport (requires COMPAT_LINUX and PSEUDOFS) > options LINSYSFS # Enable the linux-like sys filesystem support (requires COMPAT_LINUX and PSEUDOFS) > device lindev > options COMPAT_AOUT # Enable i386 a.out binary support > > (note PSEUDOFS is also needed) > > No, I haven't added those. > Are these necessary to have > the linux binary compatibility? > The handbook only mentions COMPAT_LINUX. I think I had the same question some time ago and found out that if those options are present, the Linux functionality will build properly in the kernel. So I assume they are required. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 01:26:54 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 798C8E9; Sun, 10 Feb 2013 01:26:54 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 201CA1D6; Sun, 10 Feb 2013 01:26:53 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U4Lgc-0005Ww-C3; Sun, 10 Feb 2013 01:26:53 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4Lgc-0005nJ-3F; Sun, 10 Feb 2013 01:26:30 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1A1QTm3047020; Sun, 10 Feb 2013 01:26:29 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1A1QTT2047019; Sun, 10 Feb 2013 01:26:29 GMT (envelope-from mexas) Date: Sun, 10 Feb 2013 01:26:29 GMT From: Anton Shterenlikht Message-Id: <201302100126.r1A1QTT2047019@mech-cluster241.men.bris.ac.uk> To: freebsd@edvax.de Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" In-Reply-To: <20130210013631.4681c6fd.freebsd@edvax.de> X-Spam-Score: -3.4 X-Spam-Level: --- Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 01:26:54 -0000 From freebsd@edvax.de Sun Feb 10 00:42:11 2013 On Sun, 10 Feb 2013 00:31:44 GMT, Anton Shterenlikht wrote: > From freebsd@edvax.de Sun Feb 10 00:29:36 2013 > > On Sun, 10 Feb 2013 00:18:06 GMT, Anton Shterenlikht wrote: > > This is on amd64 r246552 > > > > I added > > > > options COMPAT_43 > > options COMPAT_LINUX > > options COMPAT_LINUX32 > > > > to the kernel config, > > following sys/amd64/conf/NOTES > > > > On buildkernel I get: > > > > unknown option "COMPAT_LINUX" > > > > What am I missing? > > Do you also have those (from a working i386 system): > > # Linux support > options COMPAT_LINUX # Enable Linux ABI emulation > options LINPROCFS # Enable the linux-like proc filesystemsupport (requires COMPAT_LINUX and PSEUDOFS) > options LINSYSFS # Enable the linux-like sys filesystem support (requires COMPAT_LINUX and PSEUDOFS) > device lindev > options COMPAT_AOUT # Enable i386 a.out binary support > > (note PSEUDOFS is also needed) > > No, I haven't added those. > Are these necessary to have > the linux binary compatibility? > The handbook only mentions COMPAT_LINUX. I think I had the same question some time ago and found out that if those options are present, the Linux functionality will build properly in the kernel. So I assume they are required. I removed COMPAT_LINUX, and only left options COMPAT_43 options COMPAT_LINUX32 This seems enough to get flash working with firefox, exactly as per the handbook instructions. Anton From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 02:51:33 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 62C35D15 for ; Sun, 10 Feb 2013 02:51:33 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ie0-x22a.google.com (ie-in-x022a.1e100.net [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 12E183FC for ; Sun, 10 Feb 2013 02:51:33 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so6577568ieb.15 for ; Sat, 09 Feb 2013 18:51:31 -0800 (PST) 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=KJusQub/HKexDLoDaSYdwsBVQLpYUV/XACuojHA38rg=; b=ABQZp/ck1E63Gep+sUselJcJRCSZv/CCqifCkXcAuQIj5/brGVt1f/SmSV80YsqWHp ZTvJcVByZL0SdbdirqrSLVicMUs/WKliugpN9ZtlqZvNBNibcuU9Kx/IZb8MCmFa5adg jQqZyaezBdE0fuXzYtTiJO5ED4uXDmI9KvxYE6DEeQs2t1Z1k/EjTEymXk617tgsUEK9 A6jXq1bkeLnO9tYiEMnXnqtxBtS2Ub+xciIBMk/c3S6KJZqGXdIzxV4uw0DJuqQDJ0wu LbW4Q/yNbqzjfFNAnr/MvHDPJ1yCzPXb1dy4DzdAFaETKD0S2vbXb/fJRqlSTueNnmLY sh1Q== MIME-Version: 1.0 X-Received: by 10.42.94.8 with SMTP id z8mr14401653icm.36.1360464691293; Sat, 09 Feb 2013 18:51:31 -0800 (PST) Received: by 10.64.5.70 with HTTP; Sat, 9 Feb 2013 18:51:31 -0800 (PST) In-Reply-To: <201302091045.00860.jmc-freebsd2@milibyte.co.uk> References: <201302091045.00860.jmc-freebsd2@milibyte.co.uk> Date: Sat, 9 Feb 2013 21:51:31 -0500 Message-ID: Subject: Re: Portmaster runs make config three times for some ports From: "illoai@gmail.com" To: Mike Clarke 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: Sun, 10 Feb 2013 02:51:33 -0000 On 9 February 2013 05:45, Mike Clarke wrote: > > I started off portmaster on a massive update on Thursday evening. Everything > started off OK and I kept responding to all the make config screens until they > were all finished and the compilation was well underway then went to bed and > left it to get on with it. > > The next morning I discovered that things had progressed as far as starting to > build en-apache-openoffice but it was sitting there with the config screen > again despite having already gone through make config earlier. I clicked on OK > and left it to get on with the compilation while I went away to get on with > other things with just occasional checks to make sure it was still running. > About 6 hours later when I checked it had completed the compilation and had > started to install en-apache-openoffice but was waiting yet again with the > config screen. > > Once again I clicked on OK and left things to continue. The job was still > running last night and I expected to find it completed by this morning but on > checking at 9:30 this morning I discovered that it had done the same thing > with py27-gobject and had been sitting there with the config screen since > shortly after midnight. > > Both openoffice and py27-gobject had gone through make config in the initial > stage (I've checked the log file) but for some reason make config was repeated > immediately before the compile and install stages. > > I invoked portmaster with: > > portmaster -r libffi -r boost-libs -r gnutls -r libtasn1 > > and these are the only options set in /usr/local/etc/portmaster.rc > > # Never search for stale distfiles to delete (-D) > DONT_SCRUB_DISTFILES=Dopt > # > # Do not prompt the user for failed backup package creation > PM_IGNORE_FAILED_BACKUP_PACKAGE=pm_ignore_failed_backup_package > > Any ideas how I can avoid this happening. > It's slow & painful, but run through once with -n, to set all of your config options, & then run it again with BATCH=YES set (though I don't know if it would be best to edit /etc/make.conf, set it in the environment, or pass it with -m) to avoid it asking again. -- -- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 03:01:33 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 C7B15E5B; Sun, 10 Feb 2013 03:01:33 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2036BA; Sun, 10 Feb 2013 03:01:32 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 14so4365263vea.15 for ; Sat, 09 Feb 2013 19:01:26 -0800 (PST) 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=5cU3AswiIW8plb9y0DH6LLgoFmG00KXSMGNTX+COgAw=; b=teovPTPrxggFaD+zFJsjdwx9+xfbuppqOoCEdp3uenFzqybXGK8WeyW6RAnlFS8zsN RB1U8FLoGS0Hs0CRiweXWGhPycFG2ShdrSkOHJ3RhjqDHYTt+DOwWy/nqK6eck7We4Mq 7RxhainBqiobUWYtcw8hBYnP84mc6IPy4Vn/0AtP9+KURRI+E1T+dG0MdrMsr6J6NFJB llUN9nF2NgDTYwWH7ULo+v4OnhzUb1JCjpoRzORaie/dudXmm89gYeTr2q3NHNftwubz WLe2XOEzpOESgtJVOHqKhCtc9TWwkM66pHJmIP7fd6an7y+T/AeYaE8vOq2r3VhpNsS1 PFOA== MIME-Version: 1.0 X-Received: by 10.220.228.74 with SMTP id jd10mr13122713vcb.65.1360465286364; Sat, 09 Feb 2013 19:01:26 -0800 (PST) Received: by 10.58.156.70 with HTTP; Sat, 9 Feb 2013 19:01:25 -0800 (PST) In-Reply-To: <201302100126.r1A1QTT2047019@mech-cluster241.men.bris.ac.uk> References: <20130210013631.4681c6fd.freebsd@edvax.de> <201302100126.r1A1QTT2047019@mech-cluster241.men.bris.ac.uk> Date: Sat, 9 Feb 2013 22:01:25 -0500 Message-ID: Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" From: "illoai@gmail.com" To: mexas@bristol.ac.uk Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, freebsd@edvax.de, 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: Sun, 10 Feb 2013 03:01:33 -0000 On 9 February 2013 20:26, Anton Shterenlikht wrote: > > I removed COMPAT_LINUX, and only left > > options COMPAT_43 > options COMPAT_LINUX32 > >From /usr/src/sys/amd64/conf/NOTES (9.1-RELEASE): # Enable Linux ABI emulation #XXX#options COMPAT_LINUX # Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_FREEBSD32) options COMPAT_LINUX32 I think I first ran up against this when I moved to 9.0 some time ago, but yes, amd64 uses a different kernel config option than i386 for linux compat. I tend to leave it as a module & load it if I perchance need it. This also allows rebuilding & reloading the modules without a reboot, should it need it. The modules seems to build fine without having to fiddle about with kernel config jiggerypokey. -- -- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 06:52: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 4DB9B2C9 for ; Sun, 10 Feb 2013 06:52:45 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm4-vm0.bullet.mail.bf1.yahoo.com (nm4-vm0.bullet.mail.bf1.yahoo.com [98.139.213.129]) by mx1.freebsd.org (Postfix) with SMTP id C70D8B3D for ; Sun, 10 Feb 2013 06:52:44 +0000 (UTC) Received: from [98.139.212.153] by nm4.bullet.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 06:52:37 -0000 Received: from [98.139.212.224] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 06:52:37 -0000 Received: from [127.0.0.1] by omp1033.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 06:52:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 522374.96309.bm@omp1033.mail.bf1.yahoo.com Received: (qmail 62974 invoked by uid 60001); 10 Feb 2013 06:52:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360479157; bh=d3oWkkzzMt+vEhjvrO9R4q8LOf9u0QaPP2iGWfKCUK4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=wW5U12BiwvL1Xhh1YsH6qN9bgCUX34Uik8KC+N2A4s9oVH000Jb3qG2fPS5hSpV4+qMhOQRLoh0Yz/+hK1TBjQ5NrXQDSSNWyC1EjAcYh0IxMDrlMSSUbbp+fb9DZDmOLrHLhJlqhVmr0LoKDxEaGx2qjKYM4wxWn4lHALEaRu0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Vip1hnH4Vxwog/u7YRfeTvIDi1NJ36H7oNcZFz0VyLheM1Qz/WfX5fWwIxmW8hf2dea9gfPnbaNnCwfiDd+BpH3t+nhmj3icEUbrA32tQmLCJc+GxHbdkBhzlaxFmtBB+KH7pSCjri7n1GRvhBKCRhQUiLzwO+ACc1ItZV6LQVU=; X-YMail-OSG: JyRd6goVM1mo0x9cpNnfFZLUcAC2aW5B_Qqs5KurpTKqW7N W9i1PC1EjBdWbduj1TwdK.DMrPkGoCuNtym3psrOJJggszBykz5h03Nxaj1. 9Q5uUCdY6yEEOSQ2qo4Q3AVHfqywPPQN6aByNpridTtXrDiFUJoe5TZAjKQq 4LtxdCuZpcCRAmJvqyinpri.lJx6FEGK_zNgI4vFxNM38DggrAnon2C9uyXt ftqGh8ZzPvS6gEqiOsKs0WchH0o2PMP4S4PWSWNuFg0QPvXu22dTz1foQBKA 61CeYq32l75lTfKlOHWMCGSs9Lw4XOw_tDKHg4wN6vzyUOi.ve.ZXVHNHV9z 3_5E9srpMijPuFxxtgGm8hieGlDYtKoq83gnYaYcfOr.aR1IhSJ_VWALQ_qB gHAXkajoniLFf4_XoSYcvr6Ov9qHnH7zibBCkwf24zLIVVI7ddsijK10b388 tdTLO2IsW9O71Li0b4C.tOobj2GjSdB51b88fX5tl209WMM64.xkY4_pbeFd BTSQ- Received: from [89.133.20.225] by web160504.mail.bf1.yahoo.com via HTTP; Sat, 09 Feb 2013 22:52:37 PST X-Rocket-MIMEInfo: 001.001, SGkgRXZlcnlib2R5LAoKRG8geW91IGhhdmUgYW55IGlkZWEgaG93IGNhbiBJIGxpc3QgdGhvc2UgaW5zdGFsbGVkIHBhY2thZ2VzIHRoYXQgYXJlIG5vdCByZXF1aXJlZCBieSBhbnkgb3RoZXI_CgpUaHghCkxhc3psbwEwAQEBAQ-- X-Mailer: YahooMailWebService/0.8.132.503 Message-ID: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> Date: Sat, 9 Feb 2013 22:52:37 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Subject: packages listing To: "freebsd-questions@freebsd.org" 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: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 06:52:45 -0000 Hi Everybody,=0A=0ADo you have any idea how can I list those installed pack= ages that are not required by any other?=0A=0AThx!=0ALaszlo From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 07:05: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 61FC2476 for ; Sun, 10 Feb 2013 07:05: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 24FA6BDB for ; Sun, 10 Feb 2013 07:05:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx02.qsc.de (Postfix) with ESMTP id E971F243A8; Sun, 10 Feb 2013 07:57:09 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1A6vDvf007772; Sun, 10 Feb 2013 07:57:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Feb 2013 07:57:13 +0100 From: Polytropon To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Subject: Re: packages listing Message-Id: <20130210075713.e95310af.freebsd@edvax.de> In-Reply-To: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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, 10 Feb 2013 07:05:21 -0000 On Sat, 9 Feb 2013 22:52:37 -0800 (PST), D=E1nielisz L=E1szl=F3 wrote: > Hi Everybody, >=20 > Do you have any idea how can I list those installed packages > that are not required by any other? You can use sysutils/pkg_cutleaves to determine those. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 07:17: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 293D467C for ; Sun, 10 Feb 2013 07:17:36 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id CD8F0C21 for ; Sun, 10 Feb 2013 07:17:35 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id fa10so2645356pad.13 for ; Sat, 09 Feb 2013 23:17:35 -0800 (PST) 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=MHmBW9N13bw8oiF63njupqtqfzFOWj5JDmt/p6SWBAY=; b=jqMtSn1bBYGNJZMo9Hj6bdmP6i3D0ALV9yMb0Xm2OE8uK+rOqxW9bjtg8EshgXXUfS paYalY9k2R+es9IgCw8FPs2ZFXFESIfwWCO/kABxwLgfsKsABORdl/DOaQV75tC/3cKc kHoSjmukN6S+exg4Hbnesyz85p7iUhClijZHdTgbSbd8GZzsFKMyuo30/6UmSZuW4qYW sD3G/d6kso/u93eWjPD5l5obVox1hyQObowDC0lR5iwfjnM+tOumDRKK837PbUuvJSOK 9lE4wJdQ0JhkchYclSj0FQGb4arfSgw6n3R67ziEYZyCgCDcEyHAw4MVr4fij1VadRfn Ifbw== MIME-Version: 1.0 X-Received: by 10.66.89.138 with SMTP id bo10mr32073833pab.32.1360480655057; Sat, 09 Feb 2013 23:17:35 -0800 (PST) Received: by 10.66.252.132 with HTTP; Sat, 9 Feb 2013 23:17:34 -0800 (PST) In-Reply-To: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> Date: Sun, 10 Feb 2013 09:17:34 +0200 Message-ID: Subject: Re: packages listing From: Ross To: =?UTF-8?B?RMOhbmllbGlzeiBMw6FzemzDsw==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Sun, 10 Feb 2013 07:17:36 -0000 pkg_tree -t -q On Sun, Feb 10, 2013 at 8:52 AM, D=C3=A1nielisz L=C3=A1szl=C3=B3 wrote: > Hi Everybody, > > Do you have any idea how can I list those installed packages that are not= required by any other? > > Thx! > Laszlo > _______________________________________________ > 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" From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 08:39: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 4CE1A5E7 for ; Sun, 10 Feb 2013 08:39:15 +0000 (UTC) (envelope-from premis@porto-novo.dreamhost.com) Received: from pinkiepie.dreamhost.com (ps20060.dreamhost.com [208.113.189.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3B243EF0 for ; Sun, 10 Feb 2013 08:39:14 +0000 (UTC) Received: from porto-novo.dreamhost.com (porto-novo.dreamhost.com [69.163.187.202]) by pinkiepie.dreamhost.com (Postfix) with ESMTP id B8BDE100A6E6B4; Sun, 10 Feb 2013 00:39:08 -0800 (PST) Received: by porto-novo.dreamhost.com (Postfix, from userid 3510588) id B09513A005F; Sun, 10 Feb 2013 00:39:08 -0800 (PST) To: simonemun@yahoo.es, cinta.herrerospacheco@marsh.com, freebsd-questions@freebsd.org Subject: Re: From: Message-Id: <20130210083908.B09513A005F@porto-novo.dreamhost.com> Date: Sun, 10 Feb 2013 00:39:08 -0800 (PST) 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, 10 Feb 2013 08:39:15 -0000 http://www.nanaksadan.org/www.nbc.com.php?hf=520&eya=63u=7&xmt=b87&jqh=1&vow=3603&tjz=361798&qu=h3v8 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 10:56:06 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 6B70D6B0 for ; Sun, 10 Feb 2013 10:56:06 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id CDD273F7 for ; Sun, 10 Feb 2013 10:56:05 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r1AAtvGJ050638 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 10 Feb 2013 10:55:57 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.4 smtp.infracaninophile.co.uk r1AAtvGJ050638 Authentication-Results: smtp.infracaninophile.co.uk/r1AAtvGJ050638; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <51177CBC.2080507@FreeBSD.org> Date: Sun, 10 Feb 2013 10:55:56 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Subject: Re: packages listing References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> In-Reply-To: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2AIKATBQXNJDOENVNOOTG" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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: Sun, 10 Feb 2013 10:56:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2AIKATBQXNJDOENVNOOTG Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/02/2013 06:52, D=E1nielisz L=E1szl=F3 wrote: > Do you have any idea how can I list those installed packages that are n= ot required by any other? If you're using pkgng: pkg query -e "%#r=3D=3D0" "%n-%v" There isn't (as far as I know) a way of doing this directly with pkg_tools alone, so either install an appropriate tool from ports as others have suggested elsewhere in this thread, or if you have to use only what comes with the base system, then something like: cd /var/db/pkg ls -1 */+REQUIRED-BY | sed -e 's,/+REQUIRED-BY,,' (untested and from memory as I don't have any pkg_tools systems any more.) Note: this is not necessarily entirely accurate. The +REQUIRED-BY files are updated by tools like portmaster(1) or portupgrade(1) but not if you install via pkg_add(1) or by using make(1) directly in the ports tree. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2AIKATBQXNJDOENVNOOTG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEXfLwACgkQ8Mjk52CukIwojQCghBiI+91CjBNqzCLjjZyPfF2Q v5sAn0wPI6tCMTvMXuLcCh6mimOhp7qn =x0o7 -----END PGP SIGNATURE----- ------enig2AIKATBQXNJDOENVNOOTG-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 11:13:51 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 191DD59D for ; Sun, 10 Feb 2013 11:13:51 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9E898757 for ; Sun, 10 Feb 2013 11:13:50 +0000 (UTC) Received: from mailout-eu.gmx.com ([10.1.101.214]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MHdX0-1U5bqW1eIO-003NA3 for ; Sun, 10 Feb 2013 12:13:44 +0100 Received: (qmail invoked by alias); 10 Feb 2013 11:13:44 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-eu014) with SMTP; 10 Feb 2013 12:13:44 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+UbIM756uUMGF/oU6CNHrySvELWR3dj4jerb/+7i xdnDOO7SB3k/IH Message-ID: <511780DF.6010600@gmx.com> Date: Sun, 10 Feb 2013 13:13:35 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Teske, Devin" Subject: Re: vnet without epair References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>, <5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Fbsd8 , 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: Sun, 10 Feb 2013 11:13:51 -0000 On 2/10/2013 1:12 AM, Teske, Devin wrote: > On Sat, 9 Feb 2013, Fbsd8 wrote: >> What I am doing is writing documentation that describes the new 9.1 jail >> extensions for jail.conf and the rc.conf jail statements. I am going to >> submit changes to /etc/defaults/rc.conf and as long as I was on the jail >> subject thought I may as well include vnet because it was missing from >> /etc/defaults/rc.conf. > > Thanks for taking this on. Thank you too. The documentation needs updating. This is very welcome. > >> I did google search and could only find 9.0 vnet jails using epair. > > I'm surprised you didn't find my own page on vnet jails using netgraph: > > http://druidbsd.sf.net/vimage.shtml I have seen this but I got the idea that it is not in ports(?) and this stopped me from trying. Thanks for your efforts, Nikos From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 12:21:40 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 8733E689 for ; Sun, 10 Feb 2013 12:21:40 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.201]) by mx1.freebsd.org (Postfix) with ESMTP id 53BE39E8 for ; Sun, 10 Feb 2013 12:21:40 +0000 (UTC) Received: from mailout-us.gmx.com ([172.19.198.48]) by mrigmx.server.lan (mrigmxus001) with ESMTP (Nemesis) id 0MVMfy-1URAAq07ck-00YlaC for ; Sun, 10 Feb 2013 13:21:34 +0100 Received: (qmail invoked by alias); 10 Feb 2013 12:21:33 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-us008) with SMTP; 10 Feb 2013 07:21:33 -0500 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18db10L0BQdf5XfNZzB06hzVXywnNl0KuPRtE+wZt bQrwA4DQQ1H67O Message-ID: <511790C4.4070605@gmx.com> Date: Sun, 10 Feb 2013 14:21:24 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Polytropon Subject: Re: packages listing References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> <20130210075713.e95310af.freebsd@edvax.de> In-Reply-To: <20130210075713.e95310af.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , "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: Sun, 10 Feb 2013 12:21:40 -0000 On 2/10/2013 8:57 AM, Polytropon wrote: > On Sat, 9 Feb 2013 22:52:37 -0800 (PST), Dánielisz László wrote: >> Hi Everybody, >> >> Do you have any idea how can I list those installed packages >> that are not required by any other? > > You can use sysutils/pkg_cutleaves to determine those. > > I use this: #!/bin/sh pkg_info -R '*' | sed -n ' /^Information for /{ N N /Required by:/d s/^Information for \(.*\):\n\n$/\1/p } ' HTH, Nikos From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 12:54:59 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 4CA58D4B for ; Sun, 10 Feb 2013 12:54:59 +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 1EE94B22 for ; Sun, 10 Feb 2013 12:54:58 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id r1ACsveE032455 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 10 Feb 2013 06:54:57 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Sun, 10 Feb 2013 06:54:56 -0600 From: "Teske, Devin" To: Nikos Vassiliadis Subject: RE: vnet without epair Thread-Topic: vnet without epair Thread-Index: AQHOBt464Fa8DUsL5kqOlKb89O3Sd5hyJMWAgAAqfgD//8hg54ABPouA//+wx9E= Date: Sun, 10 Feb 2013 12:54:55 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21> References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>,<5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21>, <511780DF.6010600@gmx.com> In-Reply-To: <511780DF.6010600@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-10_04:2013-02-08,2013-02-10,1970-01-01 signatures=0 Cc: Fbsd8 , 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: Sun, 10 Feb 2013 12:54:59 -0000 On Sun, 10 Feb 2013, Nikos Vassiliadis wrote: > On 2/10/2013 1:12 AM, Teske, Devin wrote: > > On Sat, 9 Feb 2013, Fbsd8 wrote: > >> I did google search and could only find 9.0 vnet jails using epair. > > > > I'm surprised you didn't find my own page on vnet jails using netgraph: > > > > http://druidbsd.sf.net/vimage.shtml >=20 > I have seen this but I got the idea that it is not in ports(?) and this > stopped me from trying. >=20 It's not in ports only because I first wanted to see where jail.conf would = take us w/respect to vimages. However, this package not being in ports shouldn't prevented you from tryin= g it -- it's extremely stable and as I mentioned, we've been using it heavi= ly at $work for over 12 months now. When you download the package (*.tgz) a= nd pkg_add it, it installs the following two files only: /etc/rc.d/vimage /etc/rc.conf.d/vimage NOTE: The rc.conf.d file is the "documentation" on usage If you haven't tried it, then I hope you will because I think the new jail.= conf stuff falls short. Don't get me wrong, jail.conf is a great start, but= simply adding the ability to manage the vnet aspect of a jail does not mak= e a vimage (what's missing is the built-in support for generating bridges a= s vimages are brought up/down dynamically). I feel that before I add this to ports I need to reprogram it to use jail.c= onf (not directly). That will simplify its code and [should] make it smalle= r. I was somewhat waiting on /etc/rc.d/jail to blaze the trail for me. In short, the landscape has been changing fast enough that it's prevented m= e from adding this to ports, but in spite of that it's still very much real= _and_ real stable. --=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 Sun Feb 10 13:09:55 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 553F6192 for ; Sun, 10 Feb 2013 13:09:55 +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 15D28C0F for ; Sun, 10 Feb 2013 13:09:54 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r1AD9oUd023395 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 10 Feb 2013 07:09:50 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Sun, 10 Feb 2013 07:09:50 -0600 From: "Teske, Devin" To: Nikos Vassiliadis , Polytropon Subject: RE: packages listing Thread-Topic: packages listing Thread-Index: AQHOB1tCIlNEO/FHnkKwjdaeOY/mX5hzDZOAgABalAD//6VJUw== Date: Sun, 10 Feb 2013 13:09:50 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA6BC8@ltcfiswmsgmb21> References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> <20130210075713.e95310af.freebsd@edvax.de>,<511790C4.4070605@gmx.com> In-Reply-To: <511790C4.4070605@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-10_04:2013-02-08,2013-02-10,1970-01-01 signatures=0 Cc: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , "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: Sun, 10 Feb 2013 13:09:55 -0000 On Sun, 10 Feb 2013, Nikos Vassiliadis wrote: > On 2/10/2013 8:57 AM, Polytropon wrote: > > On Sat, 9 Feb 2013 22:52:37 -0800 (PST), D=E1nielisz L=E1szl=F3 wrote: > >> Hi Everybody, > >> > >> Do you have any idea how can I list those installed packages > >> that are not required by any other? > > > > You can use sysutils/pkg_cutleaves to determine those. > > > > >=20 > I use this: >=20 > #!/bin/sh > pkg_info -R '*' | sed -n ' > /^Information for /{ > N > N > /Required by:/d > s/^Information for \(.*\):\n\n$/\1/p > } > ' Just curious, why not use "pkg_info -Ra" instead of "pkg_info -R '*'" ? --=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 Sun Feb 10 13:48:56 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 91D72FEB for ; Sun, 10 Feb 2013 13:48:56 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 20423E2C for ; Sun, 10 Feb 2013 13:48:56 +0000 (UTC) Received: from mailout-us.gmx.com ([172.19.198.47]) by mrigmx.server.lan (mrigmxus001) with ESMTP (Nemesis) id 0MCLxN-1UD1bK2s9h-00982q for ; Sun, 10 Feb 2013 14:48:55 +0100 Received: (qmail invoked by alias); 10 Feb 2013 13:48:55 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-us007) with SMTP; 10 Feb 2013 08:48:55 -0500 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/HpXN1EifHjaBTwBZ8Q+vYfAr8Inalo01yEkO8Nt 8Ugnnk3mk2wQ6C Message-ID: <5117A540.1060702@gmx.com> Date: Sun, 10 Feb 2013 15:48:48 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Teske, Devin" Subject: Re: vnet without epair References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>, <5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21>, <511780DF.6010600@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Fbsd8 , 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: Sun, 10 Feb 2013 13:48:56 -0000 On 2/10/2013 2:54 PM, Teske, Devin wrote: > It's not in ports only because I first wanted to see where jail.conf would take us w/respect to vimages. I see. > However, this package not being in ports shouldn't prevented you from trying it -- it's extremely stable and as I mentioned, we've been using it heavily at $work for over 12 months now. When you download the package (*.tgz) and pkg_add it, it installs the following two files only: > > /etc/rc.d/vimage > /etc/rc.conf.d/vimage > > NOTE: The rc.conf.d file is the "documentation" on usage > > If you haven't tried it, then I hope you will because I think the new jail.conf stuff falls short. Don't get me wrong, jail.conf is a great start, but simply adding the ability to manage the vnet aspect of a jail does not make a vimage (what's missing is the built-in support for generating bridges as vimages are brought up/down dynamically). > > I feel that before I add this to ports I need to reprogram it to use jail.conf (not directly). That will simplify its code and [should] make it smaller. I was somewhat waiting on /etc/rc.d/jail to blaze the trail for me. > > In short, the landscape has been changing fast enough that it's prevented me from adding this to ports, but in spite of that it's still very much real _and_ real stable. > Yes, of course. I will try it and report back to you my findings. What I - nikos - really need from a script like yours is the ability to generate arbitrarily complex topologies with interconnected vnet jails. Something like: a----b----c---d | | h----e----f---g | | i Like a cut-down version of imunes[1] without the need of a graphical user interface. I understand that is not common case and that is why I was always using ad hoc scripts. But one can always hope(or write one himself/herself of course!). 1. http://web.archive.org/web/20120418053250/http://imunes.tel.fer.hr/imunes/ Thanks, Nikos From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 13:51: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 C2971120 for ; Sun, 10 Feb 2013 13:51:35 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.201]) by mx1.freebsd.org (Postfix) with ESMTP id 8D5BCE43 for ; Sun, 10 Feb 2013 13:51:35 +0000 (UTC) Received: from mailout-us.gmx.com ([172.19.198.47]) by mrigmx.server.lan (mrigmxus001) with ESMTP (Nemesis) id 0LikED-1UeQMl3yNZ-00cvqz for ; Sun, 10 Feb 2013 14:51:34 +0100 Received: (qmail invoked by alias); 10 Feb 2013 13:51:34 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-us007) with SMTP; 10 Feb 2013 08:51:34 -0500 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/fnx8YfVvfW7mKdS0JaQMx11py6d0/Sxb3ruDZbZ wpo9IfJlXiKAN1 Message-ID: <5117A5E3.6010503@gmx.com> Date: Sun, 10 Feb 2013 15:51:31 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Teske, Devin" Subject: Re: packages listing References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> <20130210075713.e95310af.freebsd@edvax.de>, <511790C4.4070605@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BC8@ltcfiswmsgmb21> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EA6BC8@ltcfiswmsgmb21> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , Polytropon , "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: Sun, 10 Feb 2013 13:51:35 -0000 On 2/10/2013 3:09 PM, Teske, Devin wrote: > Just curious, why not use "pkg_info -Ra" instead of "pkg_info -R '*'" ? Because I didnt know -a;) From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 13:56: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 327AD1CF for ; Sun, 10 Feb 2013 13:56:10 +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 CEFAAE61 for ; Sun, 10 Feb 2013 13:56:09 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id r1ADu7mP031909 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 10 Feb 2013 07:56:08 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Sun, 10 Feb 2013 07:56:07 -0600 From: "Teske, Devin" To: Nikos Vassiliadis Subject: RE: vnet without epair Thread-Topic: vnet without epair Thread-Index: AQHOBt464Fa8DUsL5kqOlKb89O3Sd5hyJMWAgAAqfgD//8hg54ABPouA//+wx9GAAHqXAP//m/lB Date: Sun, 10 Feb 2013 13:56:06 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA6C2D@ltcfiswmsgmb21> References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>, <5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21>, <511780DF.6010600@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21>, <5117A540.1060702@gmx.com> In-Reply-To: <5117A540.1060702@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-10_04:2013-02-08,2013-02-10,1970-01-01 signatures=0 Cc: Fbsd8 , 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: Sun, 10 Feb 2013 13:56:10 -0000 On Sun, 10 Feb 2013, Nikos Vassiliadis wrote: > On 2/10/2013 2:54 PM, Teske, Devin wrote: > > It's not in ports only because I first wanted to see where jail.conf wo= uld take us w/respect to vimages. >=20 > I see. >=20 > > However, this package not being in ports shouldn't prevented you from t= rying it -- it's extremely stable and as I mentioned, we've been using it h= eavily at $work for over 12 months now. When you download the package (*.tg= z) and pkg_add it, it installs the following two files only: > > > > /etc/rc.d/vimage > > /etc/rc.conf.d/vimage > > > > NOTE: The rc.conf.d file is the "documentation" on usage > > > > If you haven't tried it, then I hope you will because I think the new j= ail.conf stuff falls short. Don't get me wrong, jail.conf is a great start,= but simply adding the ability to manage the vnet aspect of a jail does not= make a vimage (what's missing is the built-in support for generating bridg= es as vimages are brought up/down dynamically). > > > > I feel that before I add this to ports I need to reprogram it to use ja= il.conf (not directly). That will simplify its code and [should] make it sm= aller. I was somewhat waiting on /etc/rc.d/jail to blaze the trail for me. > > > > In short, the landscape has been changing fast enough that it's prevent= ed me from adding this to ports, but in spite of that it's still very much = real _and_ real stable. > > >=20 > Yes, of course. >=20 > I will try it and report back to you my findings. >=20 > What I - nikos - really need from a script like yours is the ability > to generate arbitrarily complex topologies with interconnected vnet > jails. Something like: > a----b----c---d > | > | > h----e----f---g > | > | > i >=20 > Like a cut-down version of imunes[1] without the need of a graphical > user interface. >=20 Excellent! This is precisely what I was after when I wrote the vimage packa= ge and its contents. I'm familiar with IMUNES and netgraph fits the bill we= ll (especially with "ngctl dot" being useful in providing visual confirmati= on when you've achieved the desired network layout -- when "ngctl dot | dot= -Tsvg -o netgraph.svg" starts to look like your IMUNES graph, then you kno= w you're making progress toward having the right configuration). --=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 Sun Feb 10 14:02:48 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 810BC3BF for ; Sun, 10 Feb 2013 14:02:48 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 296B9E98 for ; Sun, 10 Feb 2013 14:02:48 +0000 (UTC) Received: from mailout-us.gmx.com ([172.19.198.48]) by mrigmx.server.lan (mrigmxus002) with ESMTP (Nemesis) id 0LZwL3-1UnBaE2T1B-00liMJ for ; Sun, 10 Feb 2013 15:02:47 +0100 Received: (qmail invoked by alias); 10 Feb 2013 14:02:47 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-us008) with SMTP; 10 Feb 2013 09:02:47 -0500 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19sfmU9UnNsJvWIaVRUiM02skIidxFqOFDGV44va8 Ri37n6SAAAdOMq Message-ID: <5117A884.8020709@gmx.com> Date: Sun, 10 Feb 2013 16:02:44 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Teske, Devin" Subject: Re: vnet without epair References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>, <5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21>, <511780DF.6010600@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21>, <5117A540.1060702@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6C2D@ltcfiswmsgmb21> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EA6C2D@ltcfiswmsgmb21> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Fbsd8 , 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: Sun, 10 Feb 2013 14:02:48 -0000 On 2/10/2013 3:56 PM, Teske, Devin wrote: > > Excellent! This is precisely what I was after when I wrote the vimage package and its contents. I'm familiar with IMUNES and netgraph fits the bill well (especially with "ngctl dot" being useful in providing visual confirmation when you've achieved the desired network layout -- when "ngctl dot | dot -Tsvg -o netgraph.svg" starts to look like your IMUNES graph, then you know you're making progress toward having the right configuration). You'll be soon hearing from me then! Nikos From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 14:34: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 326CDCEF for ; Sun, 10 Feb 2013 14:34:20 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm1.bullet.mail.bf1.yahoo.com (nm1.bullet.mail.bf1.yahoo.com [98.139.212.160]) by mx1.freebsd.org (Postfix) with SMTP id DFCFACE for ; Sun, 10 Feb 2013 14:34:19 +0000 (UTC) Received: from [98.139.214.32] by nm1.bullet.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 14:34:17 -0000 Received: from [98.139.215.230] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 14:34:17 -0000 Received: from [127.0.0.1] by omp1070.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 14:34:17 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 333489.8770.bm@omp1070.mail.bf1.yahoo.com Received: (qmail 70177 invoked by uid 60001); 10 Feb 2013 14:34:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360506857; bh=YE+PPV/hsP8f40ilapvgQB0mR5/NkSrJJo4pxpWkhzY=; 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=VfyKiNH2liYMz+EFPUuOgOV8l47agU4aRD4DtClcWhJaqmAZbdzeaAWJAY5twHFSLqLR5zTHXFVq+CAYBQwmmi/+vP7IJ0yhswsvd1mhcpPgegtJ7SqKnZqWvidzt53w9e4gmfCr55fEtM+LPNF2YjIFQB9wpLKlY9VSl5xmbPs= 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=eqHDAywtybylgY+Nkhnqdse5rZiEZqsOaMiNixzZMPb3cFdm/DSrz80R+sqZK5InSnNcHbkdnaAv4mkcaUBmd/OO5+lK2R/lZx805Kx2/WQbvf7z+VWUQ4lUkHJ2P8jW5eL6YcBOkNpVOSQQwU3e2RfHX468c0qrKgAJcZVpinI=; X-YMail-OSG: sBTzxFUVM1mLrHTVnhdVeBMByYkZW3lsfXX6hCgUG.7b0qo cJX1PTwGx6hjDKADt3ppSf1yPxOktBxremZbAmhiO4UBLguVAZUcIjGRoSmn 8zTHEgwfr02uuLQuYFYQqYB8f_y2iWyyALrNSkTl_SysVZtq6f.1jgbqs4tX Rzj0jgZijnxap7eDwskfG.xvYgaH8uAud_DnO5725dDNtxGGlLxbtqnVCRQF tIqBjgJLJNFMEfrnNe8sm5DlbL6qOmnEEZ6ZVaDR7eYwhFC_VQB91.euIcBs Q47xaPD_3zWSJhWDokdRvaXIb8vsVkVbISR3y1knOQs3hRqyCAdXM5RSCCsc zap.6I03o1DYkJyvE9JwSfFkZjHvdYNK2vQ26VyFyyeMmWD0.j9jxdJhUxon LPGSVJZejDC4.cAppgAAwEtaZEk8RWoXDHEwFcVBD912LeY52tieai2vYMXw 8nhd9PrSJoMPaRpMB3BxXCPamX6FaHXx2wiB10MHUS7jpdHrrEtRBCGV99RA K4MjMA_PE.9cKqZbPwyOhOraF Received: from [89.133.20.225] by web160505.mail.bf1.yahoo.com via HTTP; Sun, 10 Feb 2013 06:34:17 PST X-Rocket-MIMEInfo: 001.001, CgpVaGgsIEkgZ290IGEgY291cGxlIG9mIGFuc3dlcnMgOikKVGh4IGV2ZXJ5Ym9keSEKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwogRnJvbTogTmlrb3MgVmFzc2lsaWFkaXMgPG52YXNzQGdteC5jb20.ClRvOiAiVGVza2UsIERldmluIiA8RGV2aW4uVGVza2VAZmlzZ2xvYmFsLmNvbT4gCkNjOiBEw6FuaWVsaXN6IEzDoXN6bMOzIDxsYXN6bG9fZGFuaWVsaXN6QHlhaG9vLmNvbT47IFBvbHl0cm9wb24gPGZyZWVic2RAZWR2YXguZGU.OyAiZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcBMAEBAQE- X-Mailer: YahooMailWebService/0.8.132.503 References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> <20130210075713.e95310af.freebsd@edvax.de>, <511790C4.4070605@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BC8@ltcfiswmsgmb21> <5117A5E3.6010503@gmx.com> Message-ID: <1360506857.11551.YahooMailNeo@web160505.mail.bf1.yahoo.com> Date: Sun, 10 Feb 2013 06:34:17 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Subject: Re: packages listing To: "freebsd-questions@freebsd.org" In-Reply-To: <5117A5E3.6010503@gmx.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: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 14:34:20 -0000 =0A=0AUhh, I got a couple of answers :)=0AThx everybody!=0A=0A=0A__________= ______________________=0A From: Nikos Vassiliadis =0ATo: "Te= ske, Devin" =0ACc: D=E1nielisz L=E1szl=F3 ; Polytropon ; "freebsd-questions@= freebsd.org" =0ASent: Sunday, February 10, = 2013 2:51 PM=0ASubject: Re: packages listing=0A =0AOn 2/10/2013 3:09 PM, Te= ske, Devin wrote:=0A> Just curious, why not use "pkg_info -Ra" instead of "= pkg_info -R '*'" ?=0A=0ABecause I didnt know -a;)=0A=0A=0A_________________= ______________________________=0Afreebsd-questions@freebsd.org mailing list= =0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubsc= ribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 14:34:44 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 8F5F7DA2 for ; Sun, 10 Feb 2013 14:34:44 +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 5FFF8DF for ; Sun, 10 Feb 2013 14:34:44 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id r1AEYh8M010607 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 10 Feb 2013 08:34:43 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.02.0309.002; Sun, 10 Feb 2013 08:34:42 -0600 From: "Teske, Devin" To: Nikos Vassiliadis Subject: RE: vnet without epair Thread-Topic: vnet without epair Thread-Index: AQHOBt464Fa8DUsL5kqOlKb89O3Sd5hyJMWAgAAqfgD//8hg54ABPouA//+wx9GAAHqXAP//m/lBAAz9hAD//5vVRw== Date: Sun, 10 Feb 2013 14:34:42 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA6C63@ltcfiswmsgmb21> References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>, <5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21>, <511780DF.6010600@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21>, <5117A540.1060702@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6C2D@ltcfiswmsgmb21>, <5117A884.8020709@gmx.com> In-Reply-To: <5117A884.8020709@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-10_04:2013-02-08,2013-02-10,1970-01-01 signatures=0 Cc: Fbsd8 , 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: Sun, 10 Feb 2013 14:34:44 -0000 On Sun, 10 Feb 2013, Nikos Vassiliadis wrote: > On 2/10/2013 3:56 PM, Teske, Devin wrote: > > > > Excellent! This is precisely what I was after when I wrote the vimage p= ackage and its contents. I'm familiar with IMUNES and netgraph fits the bil= l well (especially with "ngctl dot" being useful in providing visual confir= mation when you've achieved the desired network layout -- when "ngctl dot |= dot -Tsvg -o netgraph.svg" starts to look like your IMUNES graph, then you= know you're making progress toward having the right configuration). >=20 > You'll be soon hearing from me then! >=20 Here's some examples of "ngctl dot | dot -Tsvg -o" run on various ser= vers running my vimage package: http://druidbsd.sourceforge.net/download/warden0.jbsd.svg A server with two network interfaces (igb0 and igb1). igb0 is bridged to 5 = vimages (named "kps0a_dev", "kps64a_dev", "kws411a_dev", "kws411b_dev", and= "kws82a_dev"). Each vimage has a single bridge to the same igb0 interface = and are talking on a single subnet (see next example for more complex layou= t). Meanwhile, igb1 is used exclusively for the host machine (netgraph disp= lays this in a "disconnected" cluster because it's not in-use by the netgra= ph system). The "ngctl99755" element off to the right is the "ngctl" progra= m's connection to the netgraph system to dump the dot(1) output for the cre= ation of the SVG image itself. http://druidbsd.sourceforge.net/download/folsom.svg A server with 5 network interfaces (em0, em1, em2, igb0, igb1). igb0 is bri= dged between the host machine, a vimage named "stats" and a vimage named "b= eefcake". igb1 is bridged between the host machine, a vimage named "bafug1"= , and 6 other vimages. Of the 6 other vimages, the special one is "cfg0_vlb= xrich" which has 2 bridges to the same interface (the host machine's rc.con= f has vimage_cfg0_vlbxrich_bridges=3D"igb0 igb0") but is speaking different= subnets on each of the bridged interfaces within the jail (saying ifconfig= in that vimage produces two interfaces -- beside lo0 -- named ng0_cfg0_vlb= xri, and ng1_cfg0_vlbxri; these are configured to 2 different subnets in th= e jails's /etc/rc.conf). There are more vimages that can't be seen as netgr= aph does not show vimages that are using whole interfaces (a single PHY on = a quad-port NIC for example; or a tap/tun pair); however you can see the in= terfaces em0, em1, and em2. What's cute is that those vimages are often pur= posed as "high security" vimages and as-such we view it as a value-add that= they don't appear in the netgraph layout. (but to be honest, this is an ol= der output and I can't remember what those interfaces were used for -- our = vimage servers have grown and changed since then). http://druidbsd.sourceforge.net/download/bastion.svg A high security server (that was decommissioned last Friday) where each vim= age gets an entire PHY (read: netgraph is not used, whole interfaces are mo= ved into the vimages -- see /etc/rc.conf.d/vimage specifically vimage_examp= le_vnets). So naturally, this graph appears to be rather boring (all the in= terfaces are in the "disconnect" cluster) because netgraph isn't using the = interfaces. --=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 Sun Feb 10 21:22:22 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 695267FA for ; Sun, 10 Feb 2013 21:22:22 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx1.freebsd.org (Postfix) with ESMTP id 0785F368 for ; Sun, 10 Feb 2013 21:22:21 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id fg15so4194293wgb.13 for ; Sun, 10 Feb 2013 13:22:20 -0800 (PST) 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=yMY8ZoR2MSVjldzyKfBVOgTOmf36/H4lqTqA4lRdNQI=; b=DWsttaLM5mD3kgzFr2+UrBe9IG67TaMdNyJQ0P5m1k+5R/Kc8Jqd87XY/o2fk78WQT sFqU6zyZKmd4yTwEGZs/9eUdUO+RfoJGTRF8Zu6fQ2Twk/XAYJ5eCaPZFFmGVY1RwhZB Yp7Ht+oFJ2vAu3jmVhX3NRwtBA2VUmabklzSWeUnNZPkTOgIzxDvYLypPD9LgjB784Dq hv6qRAYFCBWWxKEB+O8GLR8WAhjhBkX9hgpIohKnxaGj2NIj86X3AXKZra31cEX9C6HW l9TXuuD1WlMS7xpiust5rOpWt7UL50vxFL2beV/TWIViAl3zG6YLAC6j635dveYm8QH5 zKxw== MIME-Version: 1.0 X-Received: by 10.180.80.74 with SMTP id p10mr12443152wix.19.1360531340409; Sun, 10 Feb 2013 13:22:20 -0800 (PST) Received: by 10.194.119.5 with HTTP; Sun, 10 Feb 2013 13:22:20 -0800 (PST) Date: Sun, 10 Feb 2013 22:22:20 +0100 Message-ID: Subject: /rescue/init wrong permissions From: David Demelier To: freebsd-questions@freebsd.org 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: Sun, 10 Feb 2013 21:22:22 -0000 Hello I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device. After some days and reboot, I just realized that the device does not boot anymore, so I've plugged a serial cable and saw a panic with error : exec /rescue/init: error 13 I checked the permissions and noticed that permissions are only set to read on this file : -r--r--r-- 1 root wheel 5576 10 Feb 2013 rescue/init On my laptop it's -r-xr-xr-x. I have installed it to my embedded device with standard targets such as make installworld and make distribution, which kind of steps set these permissions ? Cheers, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 21:46:17 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 CD6BACB6 for ; Sun, 10 Feb 2013 21:46:17 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by mx1.freebsd.org (Postfix) with ESMTP id 46166622 for ; Sun, 10 Feb 2013 21:46:17 +0000 (UTC) Received: from mailout-eu.gmx.com ([10.1.101.210]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MOEEk-1U1KoO1Zps-005bGq for ; Sun, 10 Feb 2013 22:46:16 +0100 Received: (qmail invoked by alias); 10 Feb 2013 21:46:16 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-eu010) with SMTP; 10 Feb 2013 22:46:16 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18cGTsqJ30cAQJ30nwxHATa422HqBVB88JiTrMsDG HH29XI1kBXLPkg Message-ID: <51181521.8020809@gmx.com> Date: Sun, 10 Feb 2013 23:46:09 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Teske, Devin" Subject: Re: vnet without epair References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>, <5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21>, <511780DF.6010600@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21>, <5117A540.1060702@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6C2D@ltcfiswmsgmb21> <5117A884.8020709@gmx.com> In-Reply-To: <5117A884.8020709@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Fbsd8 , 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: Sun, 10 Feb 2013 21:46:17 -0000 On 2/10/2013 4:02 PM, Nikos Vassiliadis wrote: > On 2/10/2013 3:56 PM, Teske, Devin wrote: >> >> Excellent! This is precisely what I was after when I wrote the vimage >> package and its contents. I'm familiar with IMUNES and netgraph fits >> the bill well (especially with "ngctl dot" being useful in providing >> visual confirmation when you've achieved the desired network layout -- >> when "ngctl dot | dot -Tsvg -o netgraph.svg" starts to look like your >> IMUNES graph, then you know you're making progress toward having the >> right configuration). > > You'll be soon hearing from me then! Hi Devin, A request. Could you create a pkgng package as well? 10 has switched to pkgng... Thanks in advance, Nikos From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 03:15:49 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 93161FDC for ; Mon, 11 Feb 2013 03:15:49 +0000 (UTC) (envelope-from 3K2EYUQwJEdwKIR.MLJGLCcfEK8GJ.AMKDPCC9QB-OSCQRGMLQnPCCj0l.MPE@maestro.bounces.google.com) Received: from mail-ie0-x245.google.com (ie-in-x0245.1e100.net [IPv6:2607:f8b0:4001:c03::245]) by mx1.freebsd.org (Postfix) with ESMTP id 5C3982A9 for ; Mon, 11 Feb 2013 03:15:49 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id k14so24863910iea.8 for ; Sun, 10 Feb 2013 19:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:message-id:date:subject:from:to :content-type; bh=io9be+0w4pOviI20ruBafFXiFVXfFqWc5klFW1wF6YY=; b=TJkB9csi4czZQBCl7ec5aA4LnzUP1SDU7OLADSPz673Rd43q3NUt7u18UPYFjIRwk1 ZbfqnLfZHvcPA28PGZMkpHESqVBv4i57ToGJ/upskqcbacaQH5kd1HJxlTUUy1tvQT4k Z5dYx/sU1RNVJY9jPRoDy5iRZF9RgzlbpgH5NerZGVBsViEg9Y7W6K0jQO0uFMUeEQUR dMGfJBTdRnuig+7ZYSyR2wbwZEQk0kLvnE/H8DrzZGWugppbjDIeJYZ19SNbNbcmUj7y 8El6I/4Zrwb9nrg4etznYJ8Ncr+r6wQUgUQQIzbcYvcvnZebpIzP0xIbUVs9wkx2BrJi +cGQ== MIME-Version: 1.0 X-Received: by 10.42.117.6 with SMTP id r6mr9469024icq.29.1360552235978; Sun, 10 Feb 2013 19:10:35 -0800 (PST) Message-ID: <20cf303bfab8b951ac04d56a40c0@google.com> Date: Mon, 11 Feb 2013 03:10:35 +0000 Subject: Organic SEO for Freebsd.org From: "Diana J. Blevins" To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 03:15:49 -0000 PHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+RnJlZWJz ZC5vcmegPC9mb250Pjxmb250ICANCnN0eWxlPSJjb2xvcjpyZ2IoMCwwLDI1NSkiIGZhY2U9IlZl cmRhbmEsICANCnNhbnMtc2VyaWYiPjxmb250PlRlYW0sPC9mb250PjwvZm9udD48L3A+DQo8cCBz dHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNl PSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj5JDQp0aG91Z2h0IHlvdSBtaWdodCBsaWtlIHRvIGtu b3cgc29tZSBvZiB0aGUgcmVhc29ucyB3aHkgeW91IGFyZSBub3QNCmdldHRpbmcgZW5vdWdoIFNv Y2lhbCBNZWRpYSBhbmQgT3JnYW5pYyBzZWFyY2ggZW5naW5lIHRyYWZmaWMgIA0KZm9yoDwvZm9u dD48L2ZvbnQ+PGZvbnQgY29sb3I9IiMwMDAwZmYiIGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2Vy aWYiPkZyZWVic2Qub3JnPC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+ PGZvbnQgY29sb3I9IiMwMDAwZmYiPjEuWW91ciAgDQp3ZWJzaXRloEZyZWVic2Qub3JnoGlzIG5v dCByYW5raW5nIHRvcCBpbiBHb29nbGUgb3JnYW5pYyBzZWFyY2ggZm9yIG1hbnkgIA0KY29tcGV0 aXRpdmUga2V5d29yZCBwaHJhc2VzLjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRv bTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj4yLiBZb3VyIHdlYnNpdGUgcHJvZmlsZSAgDQpp cyBub3QgYXZhaWxhYmxlIGluIG1vc3Qgb2YgdGhlIFNvY2lhbCBNZWRpYSBXZWJzaXRlcy48L2Zv bnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBm ZiI+My4gWW91ciBzaXRlIGhhcyAyMDUwICANCkdvb2dsZSBiYWNrIGxpbmtzLCB0aGlzIGNhbiBi ZSBpbXByb3ZlZCBmdXJ0aGVyLjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTow Y20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNl cmlmIj5UaGVyZQ0KYXJlIG1hbnkgYWRkaXRpb25hbCBpbXByb3ZlbWVudHMgdGhhdCBjb3VsZCBi ZSBtYWRlIHRvIHlvdXIgd2Vic2l0ZSwNCmFuZCBpZiB5b3Ugd291bGQgbGlrZSB0byBsZWFybiBh Ym91dCB0aGVtLCBhbmQgYXJlIGN1cmlvdXMgdG8ga25vdw0Kd2hhdCBvdXIgd29ya2luZyB0b2dl dGhlciB3b3VsZCBpbnZvbHZlLCB0aGVuIEkgd291bGQgYmUgZ2xhZCB0bw0KcHJvdmlkZSB5b3Ug d2l0aCBhIGRldGFpbGVkIGFuYWx5c2lzIGluIHRoZSBmb3JtIG9mIGEgPGI+V0VCU0lURQ0KQVVE SVQgUkVQT1JUIGZvciBGUkVFPC9iPi48L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJn aW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEs ICANCnNhbnMtc2VyaWYiPk91cg0KY2xpZW50cyBjb25zaXN0ZW50bHkgdGVsbCB1cyB0aGF0IHRo ZWlyIGN1c3RvbWVycyBmaW5kIHRoZW0gYmVjYXVzZQ0KdGhleSBhcmUgYXQgdGhlIHRvcCBvZiB0 aGUgR29vZ2xlIHNlYXJjaCByYW5raW5ncy4gIEJlaW5nIGF0IHRoZSB0b3ANCmFjbGVmdCBvZiBH b29nbGUgKCMxLSAjMyBvcmdhbmljIHBvc2l0aW9ucykgaXMgdGhlIGJlc3QgdGhpbmcgeW91IGNh bg0KZG8gZm9yIHlvdXIgY29tcGFueSYjMzk7cyB3ZWJzaXRlIHRyYWZmaWMgYW5kIG9ubGluZSBy ZXB1dGF0aW9uLiAgDQo8L2ZvbnQ+PC9mb250Pg0KPC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0 b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fu cy1zZXJpZiI+SQ0KZm91bmQgeW91ciBzaXRlIGluIHRoZSBHb29nbGUgc2VhcmNoIGFuZCBhZnRl ciBoYXZpbmcgYSBsb29rIG92ZXINCnlvdXIgd2Vic2l0ZSBJIHRoaW5rIHlvdSBzaG91bGQgZ28g Zm9yIGFuIFNFTyBjYW1wYWlnbiB0byBib29zdCB5b3VyDQptYXJrZXRpbmcgc3RyYXRlZ3kuPC9m b250PjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxmb250IGNvbG9y PSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj5Tb3VuZHMNCmlu dGVyZXN0aW5nPyBGZWVsIGZyZWUgdG8gZW1haWwgdXMgb3IgYWx0ZXJuYXRpdmVseSB5b3UgY2Fu IHByb3ZpZGUNCm1lIHdpdGggeW91ciBwaG9uZSBudW1iZXIgYW5kIHRoZSBiZXN0IHRpbWUgdG8g Y2FsbCB5b3UuPC9mb250PjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20i Pjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlm Ij4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08V0JSPi0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLTxXQlI+LS0tLS0NCjwvZm9udD48L2ZvbnQ+DQo8L3A+DQo8cCBzdHlsZT0ibWFy Z2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5h LCAgDQpzYW5zLXNlcmlmIj5CZXN0DQpSZWdhcmRzLDxicj48Yj5EaWFuYSBKLiBCbGV2aW5zPC9i Pjxicj48Yj5TRU8gQ29uc3VsdGFudDwvYj48YnI+KDMwMSkNCjg1OS00OTAzPC9mb250PjwvZm9u dD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZm Ij48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj4tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS08V0JSPi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTxXQlI+LS0tLS0N CjwvZm9udD48L2ZvbnQ+DQo8L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxmb250 IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj48Yj5Q UzE8L2I+Og0KVGhpcyBpcyBvbmV0aW1lIGVtYWlsIGFuZCB5b3UgbWF5IGFzayB1cyB0byCTUkVN T1ZFlCB5b3UgZnJvbSBvdXINCm1haWxpbmcgbGlzdC4gPC9mb250PjwvZm9udD4NCjwvcD4NCjxw IHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZh Y2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPjxiPlBTMjwvYj46DQpJIGZvdW5kIHlvdXIgc2l0 ZSBmcm9tIG9ubGluZSBhZHZlcnRpc2luZyBidXQgZGlkIG5vdCBjbGljay4gPC9mb250PjwvZm9u dD4NCjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAw ZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPjxiPlBTMzwvYj46DQpXZSBv cGVyYXRlIDI0IHg3LiBJIHdpbGwgYmUgaGFwcHkgdG8gc2VuZCB5b3UgbGlua3MgdG8gcHJpY2UN Cmxpc3QscmVmdW5kIHBvbGljeSwgY2xpZW50IHJhbmtpbmdzLCBjbGllbnQgdGVzdGltb25pYWxz LCCTSG93IHdlDQphcmUgZGlmZmVyZW50IGZyb20gb3RoZXJzP5QsIGFuZCCTV2h5IHNob3VsZCB5 b3UgY2hvb3NlIHVzP5Qgb24NCnJlY2VpdmluZyBhIHJlc3BvbnNlIGZyb20geW91LjwvZm9udD48 L2ZvbnQ+PC9wPg0K From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 09:58:32 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 56FCAC3B for ; Mon, 11 Feb 2013 09:58:32 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.201]) by mx1.freebsd.org (Postfix) with ESMTP id 01F3D17CF for ; Mon, 11 Feb 2013 09:58:32 +0000 (UTC) Received: from mailout-us.gmx.com ([172.19.198.46]) by mrigmx.server.lan (mrigmxus002) with ESMTP (Nemesis) id 0MPoXe-1U10fk1h1m-0050cA for ; Mon, 11 Feb 2013 10:58:30 +0100 Received: (qmail invoked by alias); 11 Feb 2013 09:58:30 -0000 Received: from 188.4.187.198.dsl.dyn.forthnet.gr (EHLO [192.168.1.64]) [188.4.187.198] by mail.gmx.com (mp-us006) with SMTP; 11 Feb 2013 04:58:30 -0500 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/DG6EW3dvDSy0Hwsp6foXudXn73zh4aIY9Xcg3vH yj8ZZ7Co1R2rfh Message-ID: <5118C0BE.9010402@gmx.com> Date: Mon, 11 Feb 2013 11:58:22 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Teske, Devin" Subject: Re: vnet without epair References: <511671FA.3050801@a1poweruser.com> <511680AD.1040209@gmx.com>, <5116A452.6030104@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201EA6A3F@ltcfiswmsgmb21>, <511780DF.6010600@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6BAB@ltcfiswmsgmb21>, <5117A540.1060702@gmx.com> <13CA24D6AB415D428143D44749F57D7201EA6C2D@ltcfiswmsgmb21> <5117A884.8020709@gmx.com> <51181521.8020809@gmx.com> In-Reply-To: <51181521.8020809@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Fbsd8 , 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, 11 Feb 2013 09:58:32 -0000 On 2/10/2013 11:46 PM, Nikos Vassiliadis wrote: > On 2/10/2013 4:02 PM, Nikos Vassiliadis wrote: >> On 2/10/2013 3:56 PM, Teske, Devin wrote: >>> >>> Excellent! This is precisely what I was after when I wrote the vimage >>> package and its contents. I'm familiar with IMUNES and netgraph fits >>> the bill well (especially with "ngctl dot" being useful in providing >>> visual confirmation when you've achieved the desired network layout -- >>> when "ngctl dot | dot -Tsvg -o netgraph.svg" starts to look like your >>> IMUNES graph, then you know you're making progress toward having the >>> right configuration). >> >> You'll be soon hearing from me then! > > Hi Devin, > > A request. Could you create a pkgng package as well? 10 has > switched to pkgng... > I tried to test but... A kernel panic came my way. Unfortunately something is broken these days with 10.0 and/or vimage and/or netgraph... will keep you posted. Nikos From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 10:07: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 28158E9E for ; Mon, 11 Feb 2013 10:07:41 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x234.google.com (mail-ia0-x234.google.com [IPv6:2607:f8b0:4001:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id C7A65184E for ; Mon, 11 Feb 2013 10:07:40 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f27so6170859iae.25 for ; Mon, 11 Feb 2013 02:07:40 -0800 (PST) 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=Yvko6TYPZf9J/2wzXnIr5NEo2Tx9pauSy4HORvY5MU4=; b=gud5SMRAw0MNFENSkz0xluFpxQn4p+mT3dV3zSscPfJGtmt8J4d7FG+eeyhnlq/d9j bSaYSNEbspw8Zw/sKs94wEvWz+0tQcAwC8HiH5RDdpq1xPvxi6/6ub6MADfybRQlfeUG RHU4hpTvUzNTYbU3BlNtdtToz8EWBtgwLvxe4vkbaBU9XV4DNdm7W+LYoUz0cgJvl45J XPbmwGVh7Y9M4vjDaCcOWQjf3NR+f02fLzGGOfsluG6N8tCAPudh240fxXfBJTQOQM9P tQ70i3HIO3dsplpmY/ASXo5Nra3ssGJUimlDl/ct00aQKjVCqR59g4qIuMqTrshseT9W EkNQ== X-Received: by 10.42.92.72 with SMTP id s8mr16900765icm.0.1360577260585; Mon, 11 Feb 2013 02:07:40 -0800 (PST) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id vq4sm25456083igb.10.2013.02.11.02.07.39 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 02:07:39 -0800 (PST) Message-ID: <5118C2E5.8030005@gmail.com> Date: Mon, 11 Feb 2013 04:07:33 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: /rescue/init wrong permissions 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: Mon, 11 Feb 2013 10:07:41 -0000 On 2/10/2013 3:22 PM, David Demelier wrote: > Hello > > I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device. > After some days and reboot, I just realized that the device does not boot > anymore, so I've plugged a serial cable and saw a panic with error : > > exec /rescue/init: error 13 > > I checked the permissions and noticed that permissions are only set to read > on this file : > > -r--r--r-- 1 root wheel 5576 10 Feb 2013 rescue/init > > On my laptop it's -r-xr-xr-x. I have installed it to my embedded device > with standard targets such as make installworld and make distribution, > which kind of steps set these permissions ? > > Cheers, > Just a quick guess, the file system is mounted as noexec. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 11:37:04 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 A3716D40 for ; Mon, 11 Feb 2013 11:37:04 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-la0-x232.google.com (la-in-x0232.1e100.net [IPv6:2a00:1450:4010:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 2E20F1F9F for ; Mon, 11 Feb 2013 11:37:04 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id ec20so5702796lab.37 for ; Mon, 11 Feb 2013 03:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=szp7R3RDMrPyPHXh+G7syJoUhIMFkF+pySlGVD+1iJs=; b=ucpyeOEn71De6CRbMJYBHYHiCdRiL5adLs+j7WZzD0iE12pmPh+dNp6ufv3yC9xftD CpQ8noNIVUoDSkxh2C0c9cJIV49JOXEA4YqJlfLAqKYjzYy8GGRkPPMSX3YUvuSbYs4R kd01ATbLAf4gMu1AdxjO5os7gbqJNWZ/o3L4geLFndD9UPBUiMZCrswoP83GHOKGCY86 kKsfYU7N+cS7DJavth6SgDX3qtoSYrRHZAnCdsDkIZTwZrxb6wi2uoe1T8cWxIgiys2a BGQYIN2alqiRRhmEzhyQSHN3PF1d1mhBANpZqx9KWRdgS7XHj7PnHA1D1kmvlc5UKM6S fHkw== X-Received: by 10.112.17.137 with SMTP id o9mr5767414lbd.15.1360582623168; Mon, 11 Feb 2013 03:37:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.87.132 with HTTP; Mon, 11 Feb 2013 03:36:22 -0800 (PST) From: saeedeh motlagh Date: Mon, 11 Feb 2013 15:06:22 +0330 Message-ID: Subject: backspace doesn't work correctly with termios To: freebsd-questions 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: Mon, 11 Feb 2013 11:37:04 -0000 hi all i have problem with backspace in serial communication. this is my scenario: i have three box. box number 1 is windows system, number 2 is freeBSD8.2 and number 3 is cisco router. from box number 1 i connect to the box number 2 by putty and run a serial program on box number 2 that connects to box number 3 via a serial card. this serial program uses termios structure and manage opening, reading, writing and closing serial ports. my problem is: when i connect to box number 2 via putty, everything is okand backspace works correctly but when i run serial program and connect to the box number 3 via it, backspace do not work correctly and print ^? on screen. i searched a lot and check stty erase and erase2 options. moreover i set VERASE in termios too but nothing happened. what is the correct setting for termios to identify backspace as it should be? how can i understand what key mappings is done when i press backspace in box number 1 to erase character in the terminal of box number 3? i think some thing is wrong in termios options that causes mismatch in backspace translation. this problem has kept me busy for more than a month and i really don't know what should i do to solve it. any comments or hints are really appreciated. motlagh From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 13:15:27 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 59FCC8D0; Mon, 11 Feb 2013 13:15:27 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 03BEE862; Mon, 11 Feb 2013 13:15:26 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U4tED-0005FN-9u; Mon, 11 Feb 2013 13:15:25 +0000 Received: from eduroam-222-082.nomadic.bris.ac.uk ([172.21.222.82] helo=zzz) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4tEC-0001sp-O5; Mon, 11 Feb 2013 13:15:24 +0000 Received: from zzz (localhost [127.0.0.1]) by zzz (8.14.6/8.14.6) with ESMTP id r1BDFNxw003365; Mon, 11 Feb 2013 13:15:24 GMT (envelope-from mexas@zzz) Received: (from mexas@localhost) by zzz (8.14.6/8.14.6/Submit) id r1BAfVcO018369; Mon, 11 Feb 2013 10:41:31 GMT (envelope-from mexas) Date: Mon, 11 Feb 2013 10:41:31 GMT From: Anton Shterenlikht Message-Id: <201302111041.r1BAfVcO018369@zzz> To: freebsd-questions@freebsd.org, paranormal@isgroup.com.ua Subject: Re: which X driver for NVIDIA Quadro FX 570M? In-Reply-To: <1360113820.90099.11.camel@eva02> Cc: freebsd-mobile@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 13:15:27 -0000 From: paranormal Subject: Re: which X driver for NVIDIA Quadro FX 570M? To: freebsd-questions@freebsd.org Date: Wed, 06 Feb 2013 03:23:40 +0200 I have t61p with mentioned card. x11/nvidia-driver works well for me (at least quake, doom, compiz work). Thanks for all the replies. I bought a T61p for 220 GBP - what bliss! BIOS update - no problem HEAD r246552 - no problem wireless with iwn0: - no problem sound with hdac0: - no problem CD-RW with cd0: Removable CD-ROM SCSI-0 device and sysutils/cdrtools-devel - no problem X with nvidia0: and x11/nvidia-driver - no problem flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem In fact, no problems at all! I can't recommend it enough. Anton From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 13:31:16 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 7FB31F21; Mon, 11 Feb 2013 13:31:16 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 07A9794E; Mon, 11 Feb 2013 13:31:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r1BDUxmV024593; Tue, 12 Feb 2013 00:30:59 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 12 Feb 2013 00:30:59 +1100 (EST) From: Ian Smith To: Anton Shterenlikht Subject: Re: which X driver for NVIDIA Quadro FX 570M? In-Reply-To: <201302111041.r1BAfVcO018369@zzz> Message-ID: <20130212002934.R71572@sola.nimnet.asn.au> References: <201302111041.r1BAfVcO018369@zzz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: paranormal@isgroup.com.ua, freebsd-questions@freebsd.org, freebsd-mobile@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, 11 Feb 2013 13:31:16 -0000 On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > From: paranormal > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > To: freebsd-questions@freebsd.org > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > I have t61p with mentioned card. > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > Thanks for all the replies. > > I bought a T61p for 220 GBP - what bliss! > > BIOS update - no problem > HEAD r246552 - no problem > wireless with iwn0: - no problem > sound with hdac0: - no problem > CD-RW with cd0: Removable CD-ROM SCSI-0 device > and sysutils/cdrtools-devel - no problem > X with nvidia0: and x11/nvidia-driver - no problem > flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > In fact, no problems at all! > > I can't recommend it enough. > > Anton Suspend and resume? cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 13:52: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 49ED550B for ; Mon, 11 Feb 2013 13:52:40 +0000 (UTC) (envelope-from elhosots@gmail.com) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by mx1.freebsd.org (Postfix) with ESMTP id 284A3154 for ; Mon, 11 Feb 2013 13:52:40 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id fb11so3098382pad.28 for ; Mon, 11 Feb 2013 05:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:from:content-type:x-mailer:message-id:date:to :content-transfer-encoding:mime-version; bh=clyRaG3Csdg283z6m2fof0g6jxemTrLP8a9SMaaZR70=; b=lbEIbGIzI8ZTl/Gax3+GKKHRcaSX88RQMNhe3vrxygIH9CNz6iKb20+8pXRHuAh2Y4 v/gSADELf73lyZp6R5Vr30SzUh2NgN87yBDqt56L8D5LAAlXxDPYuuLUkz4DvRB15r7a +4BlpEILQEdNsSruAJdVswXlEuaX8W1Kk+o/TMLduHJsVlZHmXsH3GX+IFJ7GZXz1THq MhZJh0rVdjHKtgO6bX8CEigOmH80GC6CzxYFRGueuB1iUsa2xxpQMIyiSzgJ9BXPbnUf AiWwlMmbMOE/4+1uDpH23gO7l1pIEB4O2Icr9bzZBMJvZToIjGg+2vWokbZXTYr89Jt5 +yew== X-Received: by 10.68.153.66 with SMTP id ve2mr18165479pbb.98.1360590753939; Mon, 11 Feb 2013 05:52:33 -0800 (PST) Received: from [192.168.15.66] ([50.126.143.131]) by mx.google.com with ESMTPS id k7sm53638613paz.13.2013.02.11.05.52.27 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 05:52:33 -0800 (PST) Subject: pkg_add -r broken for 9.1 From: elhosots Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10B142) Message-Id: Date: Mon, 11 Feb 2013 05:52:25 -0800 To: "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) 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, 11 Feb 2013 13:52:40 -0000 Because of a missing link at freebsd.org, pkg_add -r pkgname does not work I hand modify the source code and put 9-stable above 9.1-RELEASE to get arou= nd the problem in main.c From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 13: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 A50BD5C9; Mon, 11 Feb 2013 13:53:33 +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 603FB175; Mon, 11 Feb 2013 13:53:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx01.qsc.de (Postfix) with ESMTP id 2AA243D28A; Mon, 11 Feb 2013 14:53:25 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1BDrSUj002196; Mon, 11 Feb 2013 14:53:28 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 11 Feb 2013 14:53:28 +0100 From: Polytropon To: Ian Smith Subject: Re: which X driver for NVIDIA Quadro FX 570M? Message-Id: <20130211145328.3537d061.freebsd@edvax.de> In-Reply-To: <20130212002934.R71572@sola.nimnet.asn.au> References: <201302111041.r1BAfVcO018369@zzz> <20130212002934.R71572@sola.nimnet.asn.au> 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: paranormal@isgroup.com.ua, Anton Shterenlikht , freebsd-questions@freebsd.org, freebsd-mobile@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, 11 Feb 2013 13:53:33 -0000 On Tue, 12 Feb 2013 00:30:59 +1100 (EST), Ian Smith wrote: > On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > > From: paranormal > > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > > To: freebsd-questions@freebsd.org > > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > > > I have t61p with mentioned card. > > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > > > Thanks for all the replies. > > > > I bought a T61p for 220 GBP - what bliss! > > > > BIOS update - no problem > > HEAD r246552 - no problem > > wireless with iwn0: - no problem > > sound with hdac0: - no problem > > CD-RW with cd0: Removable CD-ROM SCSI-0 device > > and sysutils/cdrtools-devel - no problem > > X with nvidia0: and x11/nvidia-driver - no problem > > flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > > > In fact, no problems at all! > > > > I can't recommend it enough. > > > > Anton > > Suspend and resume? I'd be interested in that, too (to possibly transform this knowledge to the T60p I have). And docking station support (if you have it)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 14:28: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 07DDC637; Mon, 11 Feb 2013 14:28:33 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE8636C; Mon, 11 Feb 2013 14:28:32 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U4uMx-00029t-DU; Mon, 11 Feb 2013 14:28:31 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4uMw-0007J7-Lb; Mon, 11 Feb 2013 14:28:30 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1BESUfW064918; Mon, 11 Feb 2013 14:28:30 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1BESU0Y064917; Mon, 11 Feb 2013 14:28:30 GMT (envelope-from mexas) Date: Mon, 11 Feb 2013 14:28:30 GMT From: Anton Shterenlikht Message-Id: <201302111428.r1BESU0Y064917@mech-cluster241.men.bris.ac.uk> To: mexas@bristol.ac.uk, smithi@nimnet.asn.au Subject: Re: which X driver for NVIDIA Quadro FX 570M? In-Reply-To: <20130212002934.R71572@sola.nimnet.asn.au> Cc: paranormal@isgroup.com.ua, freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 14:28:33 -0000 From smithi@nimnet.asn.au Mon Feb 11 13:49:38 2013 On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > From: paranormal > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > To: freebsd-questions@freebsd.org > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > I have t61p with mentioned card. > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > Thanks for all the replies. > > I bought a T61p for 220 GBP - what bliss! > > BIOS update - no problem > HEAD r246552 - no problem > wireless with iwn0: - no problem > sound with hdac0: - no problem > CD-RW with cd0: Removable CD-ROM SCSI-0 device > and sysutils/cdrtools-devel - no problem > X with nvidia0: and x11/nvidia-driver - no problem > flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > In fact, no problems at all! > > I can't recommend it enough. > > Anton Suspend and resume? I guess no... However, I'm very ignorant of suspend/resume, so not sure I'm doing the right thing. - the T61p manual details "standby" and "hibernation" modes. Is this what you refer to by suspend? I can go into standby with Fn+F4, or with "acpiconf -s 3" but can't seem to get back. The disk starts, but the screen is corrupted, kind of black with very few white dots. I have to power off/on. The Fn+F12, hibernation mode code, does not seem to do anything. - I've had a quick look at acpi(4) and apm(8). I have: hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.s4bios: 0 - Anything I should check/test in BIOS? I see that power management is enabled in BIOS. Is that enough? Anton From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 14:55: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 9F187438 for ; Mon, 11 Feb 2013 14:55:03 +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 34CA0743 for ; Mon, 11 Feb 2013 14:54:59 +0000 (UTC) Received: from [10.0.10.3] ([173.88.202.176]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Feb 2013 06:55:00 -0800 Message-ID: <51190639.80804@a1poweruser.com> Date: Mon, 11 Feb 2013 09:54:49 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: elhosots Subject: Re: pkg_add -r broken for 9.1 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Feb 2013 14:55:00.0380 (UTC) FILETIME=[C40775C0:01CE0867] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] 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, 11 Feb 2013 14:55:03 -0000 elhosots wrote: > Because of a missing link at freebsd.org, pkg_add -r pkgname > does not work > > I hand modify the source code and put 9-stable above 9.1-RELEASE to get around the problem in main.c > > Works fine for me. You did not scan the questions archives. This problem has been covered many times and it has nothing to do with modifying main.c source. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 14:59:00 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 AF431596 for ; Mon, 11 Feb 2013 14:59:00 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1.freebsd.org (Postfix) with ESMTP id 3FA0978A for ; Mon, 11 Feb 2013 14:59:00 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id gg13so4620514lbb.2 for ; Mon, 11 Feb 2013 06:58:53 -0800 (PST) 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=y7b+BmKnGg/caVMfnF9ImGLIskYFgcya+46hJrNXVog=; b=SSr0BRHKvGE6IJNCRiR6a2Z8T1i9o6+OwswW6decmvm8YIx9cDJ3Q1p5wbJEqhVdEz Qn6gV0hRePoAz+pGjQBH6YRNlZTXU8VXWC8TYTaj0jnzwGaAw2NWWyc5vj1JOwRg7o2P dsCsWhfrOW/ybqhLuooavOxa7JppO+fwYoUwN6zRsrUFEaShQWM07j21uHAiFJcmThOa F6n/jyvSsjJRameJkzDbmugUF8q9tPaW9jfpGEWZ7Yg8O6x8siv20PPMHPQqJsGsTGwz mRRFeD1taCek2WcQgenAd/ufOBaA9WMNIrGy+I2pnG/d7oGi3qpqmnqcJwo/pkg+s1Ph Z+NQ== MIME-Version: 1.0 X-Received: by 10.152.110.6 with SMTP id hw6mr1623241lab.43.1360594733248; Mon, 11 Feb 2013 06:58:53 -0800 (PST) Received: by 10.112.143.201 with HTTP; Mon, 11 Feb 2013 06:58:53 -0800 (PST) In-Reply-To: <201302061143.r16Bhnx2016113@mail.r-bonomi.com> References: <201302061143.r16Bhnx2016113@mail.r-bonomi.com> Date: Mon, 11 Feb 2013 18:28:53 +0330 Message-ID: Subject: Re: backspace shows ^? in serial communications From: s m To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 14:59:00 -0000 thanks Robert, i try it before but nothing happened. do you know how i can set erase and erase2 for stty via termios structure? and what should be their value to backspace correct well? On Wed, Feb 6, 2013 at 3:13 PM, Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Wed Feb 6 00:19:04 2013 > > Date: Wed, 6 Feb 2013 09:44:37 +0330 > > Subject: backspace shows ^? in serial communications > > From: s m > > To: freebsd-questions > > > > hi all > > > > i have a problem with backspace in serial communications. i have a > > freebsd8.2 box with a serial card on it. when i connect to other freebsd > > box via serial port backspace does not act as i expected. backspace shows > > ^? on screen. i searched alot and find out that stty has two parameters > > -erase and erase2- to identify erase characters in terminal and they > should > > be set correctly. i set erase and erase2 to ^? by "stty erase \^?" and > > "stty erase2 \^?" commands but nothing happened. > > please let me know how i can fix it. i know it is simple issue but i > really > > do not know how to do that. > > stty erase {press the backspace key} > > Then hit the enter/return key > From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 15:19: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 E224DC2E; Mon, 11 Feb 2013 15:19:51 +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 9C63B89A; Mon, 11 Feb 2013 15:19:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx01.qsc.de (Postfix) with ESMTP id 4127B3D111; Mon, 11 Feb 2013 16:19:49 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1BFJqOg002838; Mon, 11 Feb 2013 16:19:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 11 Feb 2013 16:19:52 +0100 From: Polytropon To: mexas@bristol.ac.uk Subject: Re: which X driver for NVIDIA Quadro FX 570M? Message-Id: <20130211161952.0fa7f717.freebsd@edvax.de> In-Reply-To: <201302111428.r1BESU0Y064917@mech-cluster241.men.bris.ac.uk> References: <20130212002934.R71572@sola.nimnet.asn.au> <201302111428.r1BESU0Y064917@mech-cluster241.men.bris.ac.uk> 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: paranormal@isgroup.com.ua, freebsd-mobile@freebsd.org, smithi@nimnet.asn.au, 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, 11 Feb 2013 15:19:52 -0000 On Mon, 11 Feb 2013 14:28:30 GMT, Anton Shterenlikht wrote: > I guess no... However, I'm very ignorant of suspend/resume, > so not sure I'm doing the right thing. For those who use the laptop in "transportable mode" (i. e. not on the desktop as a desktop-PC substitute), those features might be interesting in order to save power. > - the T61p manual details "standby" and "hibernation" modes. > Is this what you refer to by suspend? Both are _different_ kinds, if I remember correctly. Standby stores machine states in RAM and buffers it with the battery power. This mode still requires power. This is ACPI states S2 and S3. Hibernate stores machine data somewhere on hard disk or SSD. This mode does not require power. This is ACPI state S4. > I can go into standby with Fn+F4, or with "acpiconf -s 3" > but can't seem to get back. The disk starts, but the > screen is corrupted, kind of black with very few white dots. That seems to indicate that the GPU memory data is lost. A typical problem with those sleep states. > - I've had a quick look at acpi(4) and apm(8). APM is not in use anymore. ACPI has taken that functionality at the point in time when APM has been brought to a fully functional state. > I have: > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.s4bios: 0 >From http://static.usenix.org/event/usenix02/tech/freenix/full_papers/watanabe/watanabe_html/node6.html you can see: S3: sleep states. In these states, memory contexts are held but CPU contexts are lost. The differences between S2 and S3 are in CPU re-initialization done by firmware and device re-initialization. S4: a sleep state in which contexts are saved to disk. The context will be restored upon the return to S0. This is identical to soft-off for hardware. This state can be implemented by either OS or firmware. S5: the soft-off state. All activity will stop and all contexts are lost. > - Anything I should check/test in BIOS? The obvious things, but I assume the presets are already fine for a laptop. > I see that power management is enabled in BIOS. > Is that enough? It should be. Note that PM can also include things like spinning down disks or reducing CPU power. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 15:27:18 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 87020E54 for ; Mon, 11 Feb 2013 15:27:18 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4C88190F for ; Mon, 11 Feb 2013 15:27:18 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 11 Feb 2013 10:27:13 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BXU32397; Mon, 11 Feb 2013 10:27:11 -0500 Received-SPF: None identity=pra; client-ip=209.6.84.183; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: Neutral identity=mailfrom; client-ip=209.6.84.183; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None identity=helo; client-ip=209.6.84.183; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-84-183.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.84.183]) by smtp01.lnh.mail.rcn.net with ESMTP; 11 Feb 2013 10:27:10 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20761.3532.211618.918340@jerusalem.litteratus.org> Date: Mon, 11 Feb 2013 10:27:08 -0500 To: questions@freebsd.org Subject: dump issue X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr17.lnh.mail.rcn.net) 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, 11 Feb 2013 15:27:18 -0000 Will someone please confirm or deny that (UFS) journaling and "dump -L" continue to be incompatible? Respectfully, Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 16:17:33 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 A3D66354 for ; Mon, 11 Feb 2013 16:17:33 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id 73FAFC34 for ; Mon, 11 Feb 2013 16:17:33 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:1f07:3fa::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3Z4XG33wSvz1DN5 for ; Mon, 11 Feb 2013 11:17:31 -0500 (EST) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 79E0D130CE for ; Mon, 11 Feb 2013 11:17:30 -0500 (EST) Message-ID: <201302111117290531.006A6A67@sentry.24cl.com> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Mon, 11 Feb 2013 11:17:29 -0500 From: "Mike." To: freebsd-questions@freebsd.org Subject: split-logfile 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: Mon, 11 Feb 2013 16:17:33 -0000 I've made the switch from apache to nginx for all the web servers I run. One thing that was missing from the nginx installs was the perl script that is used in apache-land to split a single server access file into separate files for each virtual host - split-logfile. While I could have continued to use the perl script, I decided to write similar functionality in c. The c language version uses less resources to accomplish the same task more quickly. A c language program with functionality similar to the split-logfile perl script, available here: http://archive.mgm51.com/sources/split-logfile.html From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 16:44: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 4E462AA4; Mon, 11 Feb 2013 16:44:47 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id A4786E18; Mon, 11 Feb 2013 16:44:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r1BGia1F032800; Tue, 12 Feb 2013 03:44:37 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 12 Feb 2013 03:44:36 +1100 (EST) From: Ian Smith To: Anton Shterenlikht Subject: Re: which X driver for NVIDIA Quadro FX 570M? In-Reply-To: <201302111428.r1BESU0Y064917@mech-cluster241.men.bris.ac.uk> Message-ID: <20130212022810.H71572@sola.nimnet.asn.au> References: <201302111428.r1BESU0Y064917@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: paranormal@isgroup.com.ua, freebsd-questions@freebsd.org, freebsd-mobile@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, 11 Feb 2013 16:44:47 -0000 On Mon, 11 Feb 2013 14:28:30 GMT, Anton Shterenlikht wrote: > From smithi@nimnet.asn.au Mon Feb 11 13:49:38 2013 > > On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > > From: paranormal > > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > > To: freebsd-questions@freebsd.org > > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > > > I have t61p with mentioned card. > > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > > > Thanks for all the replies. > > > > I bought a T61p for 220 GBP - what bliss! > > > > BIOS update - no problem > > HEAD r246552 - no problem > > wireless with iwn0: - no problem > > sound with hdac0: - no problem > > CD-RW with cd0: Removable CD-ROM SCSI-0 device > > and sysutils/cdrtools-devel - no problem > > X with nvidia0: and x11/nvidia-driver - no problem > > flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > > > In fact, no problems at all! > > > > I can't recommend it enough. > > > > Anton > > Suspend and resume? > > I guess no... However, I'm very ignorant of suspend/resume, > so not sure I'm doing the right thing. > > - the T61p manual details "standby" and "hibernation" modes. > Is this what you refer to by suspend? > I can go into standby with Fn+F4, or with "acpiconf -s 3" Ok, state S3 is what we call suspend, more precisely suspend to RAM (STR); windows and so most BIOSes call that state standby. > but can't seem to get back. The disk starts, but the > screen is corrupted, kind of black with very few white dots. > I have to power off/on. A common enough tale these days. I try to remain hopeful someone will get a more modern Thinkpad than the T43s (reportedly) or my older T23s (certainly) resuming in one unbroken piece every time again, one day .. > The Fn+F12, hibernation mode code, does not seem to > do anything. > > - I've had a quick look at acpi(4) and apm(8). > I have: > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.s4bios: 0 S3 is suspend to RAM; S4 suspend to disk (STD, unsupported by FreeBSD); S5 is power off, should work but may bypass some shutdown(8) processing. S4, STD - 'hibernation' - has two varieties; with s4bios the BIOS itself writes machine state and all RAM to disk, usually a preallocated file in an msdosfs slice. I haven't heard of any new boxes supporting this in BIOS for years; windows (since ~'95) and Linux (I'm told) support STD. > - Anything I should check/test in BIOS? > I see that power management is enabled in BIOS. > Is that enough? It should be, but doesn't seem to work on many. When it resumes with messed up screen, can you ping it, or maybe ssh in, or is it dead? If you boot it but don't start X, can it come back from suspend? Frankly, unless you're _really_ keen to get STR working, this could turn into not just a rabbithole, but the whole warren - you'll have to really want to be the bunny! Sounds like a very nice machine otherwise :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 17:18:20 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 0A22C26A for ; Mon, 11 Feb 2013 17:18:20 +0000 (UTC) (envelope-from kudzu@tenebras.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 A8393F80 for ; Mon, 11 Feb 2013 17:18:19 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id i10so6580612oag.14 for ; Mon, 11 Feb 2013 09:18:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=KAx2mtaSxwEDomB9MheVcTGlf7e08JJ8ii0doFVSEhs=; b=IC73l+OSg2OLJpEDYpTt0R1ZNX/AKSDApkxHawj/McGVeGMz5RhF7Jw6wQX5gW0mCj TnAbSfV7+fRRxQpYgZimRAxqqhHn+EUxDlOBwvh8aLfnvm8NPnP6XlYWLESxxHTWokfm jfCl62VBREYByxpbiV/c+ThIQHBkAjazhP3oA5bhA6WtQQAGQz1ah1wM/yDdIGpbbjLQ D3j8tqL+9WY17qV7TwgZoPZM7Y328rBzijq71YeGD7XEyBzbOghICMuNiqYhbCn0we2B wpzSAX1LtZ8GQ0wO9kZmdS/S3oZBKbNTKzEtVtpNOL/MwBjKfYcm9DHIaNoKFMenTCCd BNwg== MIME-Version: 1.0 X-Received: by 10.60.24.97 with SMTP id t1mr11027521oef.6.1360603093202; Mon, 11 Feb 2013 09:18:13 -0800 (PST) Received: by 10.60.59.73 with HTTP; Mon, 11 Feb 2013 09:18:13 -0800 (PST) In-Reply-To: <20761.3532.211618.918340@jerusalem.litteratus.org> References: <20761.3532.211618.918340@jerusalem.litteratus.org> Date: Mon, 11 Feb 2013 09:18:13 -0800 Message-ID: Subject: Re: dump issue From: Michael Sierchio To: Robert Huff Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkbb24OZURQ6AVc8Sa8nRFpZwJEDckAhgMVCXsYJZm2WzO9FEmC/LtzUMuih0iKrMnam6Xu 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: Mon, 11 Feb 2013 17:18:20 -0000 "Snapshots are not yet supported when running with journaled soft updates: Operation not supported" :-( On Mon, Feb 11, 2013 at 7:27 AM, Robert Huff wrote: > > Will someone please confirm or deny that (UFS) journaling and > "dump -L" continue to be incompatible? > > Respectfully, > > > 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" From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 18:21: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 65AB1110 for ; Mon, 11 Feb 2013 18:21:12 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by mx1.freebsd.org (Postfix) with ESMTP id E141C30D for ; Mon, 11 Feb 2013 18:21:11 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id dr12so4823100wgb.23 for ; Mon, 11 Feb 2013 10:21:04 -0800 (PST) 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=IGwDM1gj846WAfkOIvYMJrznfNiiD9n08BQT3v2UGrI=; b=AjhK1J05jfGk2mJ25MD+Y0ukranJUDbXDLl2M/tKIsw7iIXrgf4JwMAqiVU2tp36tt /7cn/Jv2bh4eZyGpRRAv6y08zrsquuhS7eNR+FjGN5mVlLinRz8aWTx7y4R2aKa/nLZs phHCpuXLm4H+No0jAyWOF5D2LVutCBTskn6makOrTm1LsRr5ueAWqJj9H5UlVfMCQrxG Zq2KcdQc3mpCoWLiZxBNffqMJBt3hzdcwP7IAAHw9jMeJJPrDapRgG+pf/voPdgcQLpK wy0fDMRB7VI/rI/ooWC7sPhsgnIlTQ8sWEy8Z1+i5Z27aiicOCI2pj4y5aT1+lPWMMXE bvbw== X-Received: by 10.180.79.104 with SMTP id i8mr17870000wix.24.1360606864700; Mon, 11 Feb 2013 10:21:04 -0800 (PST) Received: from Melon.malikania.fr (177.33.91.91.rev.sfr.net. [91.91.33.177]) by mx.google.com with ESMTPS id e6sm34935957wiz.1.2013.02.11.10.21.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 10:21:04 -0800 (PST) Message-ID: <51193665.3070507@gmail.com> Date: Mon, 11 Feb 2013 19:20:21 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130115 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: /rescue/init wrong permissions References: <5118C2E5.8030005@gmail.com> In-Reply-To: <5118C2E5.8030005@gmail.com> 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: Mon, 11 Feb 2013 18:21:12 -0000 On 11/02/2013 11:07, Joshua Isom wrote: > On 2/10/2013 3:22 PM, David Demelier wrote: >> Hello >> >> I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device. >> After some days and reboot, I just realized that the device does not boot >> anymore, so I've plugged a serial cable and saw a panic with error : >> >> exec /rescue/init: error 13 >> >> I checked the permissions and noticed that permissions are only set to >> read >> on this file : >> >> -r--r--r-- 1 root wheel 5576 10 Feb 2013 rescue/init >> >> On my laptop it's -r-xr-xr-x. I have installed it to my embedded device >> with standard targets such as make installworld and make distribution, >> which kind of steps set these permissions ? >> >> Cheers, >> > > Just a quick guess, the file system is mounted as noexec. > _______________________________________________ > 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" Okay it seems I've totally mangled the files, my /rescue/* file were plain C source file. I guess I've probably broke everything when I misuse the -d and -D options from mergemaster. Cheers, From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 22:44: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 7D5992DE; Mon, 11 Feb 2013 22:44:24 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA362EA; Mon, 11 Feb 2013 22:44:23 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U526j-0006M6-EN; Mon, 11 Feb 2013 22:44:17 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U526i-0003g1-8x; Mon, 11 Feb 2013 22:44:16 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1BMiF5n089954; Mon, 11 Feb 2013 22:44:15 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1BMiFNL089953; Mon, 11 Feb 2013 22:44:15 GMT (envelope-from mexas) Date: Mon, 11 Feb 2013 22:44:15 GMT From: Anton Shterenlikht Message-Id: <201302112244.r1BMiFNL089953@mech-cluster241.men.bris.ac.uk> To: mexas@bristol.ac.uk, smithi@nimnet.asn.au Subject: Re: which X driver for NVIDIA Quadro FX 570M? In-Reply-To: <20130212022810.H71572@sola.nimnet.asn.au> Cc: paranormal@isgroup.com.ua, freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 22:44:24 -0000 From smithi@nimnet.asn.au Mon Feb 11 16:59:49 2013 On Mon, 11 Feb 2013 14:28:30 GMT, Anton Shterenlikht wrote: > From smithi@nimnet.asn.au Mon Feb 11 13:49:38 2013 > > On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > > From: paranormal > > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > > To: freebsd-questions@freebsd.org > > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > > > I have t61p with mentioned card. > > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > > > Thanks for all the replies. > > > > I bought a T61p for 220 GBP - what bliss! > > > > BIOS update - no problem > > HEAD r246552 - no problem > > wireless with iwn0: - no problem > > sound with hdac0: - no problem > > CD-RW with cd0: Removable CD-ROM SCSI-0 device > > and sysutils/cdrtools-devel - no problem > > X with nvidia0: and x11/nvidia-driver - no problem > > flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > > > In fact, no problems at all! > > > > I can't recommend it enough. > > > > Anton > > Suspend and resume? > > I guess no... However, I'm very ignorant of suspend/resume, > so not sure I'm doing the right thing. > > - the T61p manual details "standby" and "hibernation" modes. > Is this what you refer to by suspend? > I can go into standby with Fn+F4, or with "acpiconf -s 3" Ok, state S3 is what we call suspend, more precisely suspend to RAM (STR); windows and so most BIOSes call that state standby. > but can't seem to get back. The disk starts, but the > screen is corrupted, kind of black with very few white dots. > I have to power off/on. A common enough tale these days. I try to remain hopeful someone will get a more modern Thinkpad than the T43s (reportedly) or my older T23s (certainly) resuming in one unbroken piece every time again, one day .. > The Fn+F12, hibernation mode code, does not seem to > do anything. > > - I've had a quick look at acpi(4) and apm(8). > I have: > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.s4bios: 0 S3 is suspend to RAM; S4 suspend to disk (STD, unsupported by FreeBSD); S5 is power off, should work but may bypass some shutdown(8) processing. S4, STD - 'hibernation' - has two varieties; with s4bios the BIOS itself writes machine state and all RAM to disk, usually a preallocated file in an msdosfs slice. I haven't heard of any new boxes supporting this in BIOS for years; windows (since ~'95) and Linux (I'm told) support STD. > - Anything I should check/test in BIOS? > I see that power management is enabled in BIOS. > Is that enough? It should be, but doesn't seem to work on many. When it resumes with messed up screen, can you ping it, or maybe ssh in, or is it dead? yes, I thought of this, but haven't checked yet. I haven't got a static IP allocated yet, and I somehow can never ssh into a box with DHCP allocated address. If you boot it but don't start X, can it come back from suspend? no, with or without X - same result. Frankly, unless you're _really_ keen to get STR working, this could turn into not just a rabbithole, but the whole warren - you'll have to really want to be the bunny! no, certainly not for me. I'm all for helping committers with testing patches and such, but for me suspend/resume is not really an issue. Sounds like a very nice machine otherwise :) yes, it's definitely better than HP Compaq 6715s I used before. cheers, Ian Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 01:12: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 188288F5 for ; Tue, 12 Feb 2013 01:12:17 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by mx1.freebsd.org (Postfix) with ESMTP id CE14DAC4 for ; Tue, 12 Feb 2013 01:12:16 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id z4so1435036qan.5 for ; Mon, 11 Feb 2013 17:12:16 -0800 (PST) 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:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=TpSr7pKkE43Jfv9Gu69lg5Y1DyujtEB2SVjKPjucBrI=; b=iySQSY1HgAPSrphGmu2DZ/GTD2BPOLJbI9y6jioID9YeDqJDDwUFQElbiMaJN9WQXL Fe8ZMEp5n6a0jWl/D6E5B7K/JCUJiZKhn1Tq6lDzuQJvL1+J57PZwz37FB4C9JXvUp8u OPD3l0TsALykLRYpHAnx26TWMdeKJ3AKPrlYNVip02eG3qOSPF5cN9n2bDM35l8jF1jy Vhg4lBze+U6gVTfsLp4qU3HRGffidGDasaBiga2lf3Udbi9+3pbOndZq4vv+fygh6tqO eYoNid4Wh8TmeU1OgcpTTrcM+uCr4gCQ3d8W5vwCaozq3O5HCDtl8IldVv2Lrryx0P9U /9VA== MIME-Version: 1.0 X-Received: by 10.229.115.30 with SMTP id g30mr1494880qcq.100.1360631535927; Mon, 11 Feb 2013 17:12:15 -0800 (PST) Received: by 10.49.71.46 with HTTP; Mon, 11 Feb 2013 17:12:15 -0800 (PST) X-Originating-IP: [128.95.134.89] In-Reply-To: <1360114743.80620.38.camel@z6000.lenzicasa> References: <51111AF9.2090006@qeng-ho.org> <1360114743.80620.38.camel@z6000.lenzicasa> Date: Mon, 11 Feb 2013 17:12:15 -0800 Message-ID: Subject: Re: FreeBSD on Acer C7 Chromebook? From: David Brodbeck To: Sergio de Almeida Lenzi X-Gm-Message-State: ALoCoQle/evfFhEFm6tE2cbQtv1LFk1ZQmutiYhqGjBEcBC99d3zPsTxTsPV0Cc79BhQQ/f/H+d0 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Arthur Chance , 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: Tue, 12 Feb 2013 01:12:17 -0000 On Tue, Feb 5, 2013 at 5:39 PM, Sergio de Almeida Lenzi < lenzi.sergio@gmail.com> wrote: > A long time ago I swear NEVER ever buy ACER product, the bios is no > standard, and they do not care about the clients. > It's not meant to be standard. Despite appearances these are not normal laptops. They aren't meant to be PC compatible any more than, say, an iPad is. They're meant to run ChromeOS and play in Google's walled garden. I don't really blame Acer for this; the design does what it's supposed to do. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 02:33:20 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 EBC7CFEE for ; Tue, 12 Feb 2013 02:33:20 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id C37D2D39 for ; Tue, 12 Feb 2013 02:33:20 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 580223B8E5 for ; Mon, 11 Feb 2013 18:33:12 -0800 (PST) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Chmod of /dev/ulptN Date: Mon, 11 Feb 2013 18:33:12 -0800 Message-ID: <30480.1360636392@server1.tristatelogic.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: Tue, 12 Feb 2013 02:33:21 -0000 I exactly followed the directions here: http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118.html Nontheless, my /dev/lpt0 node still only has permissions set to 0644. Why? What did I do wrong? From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 07:12:17 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 39DEEB40 for ; Tue, 12 Feb 2013 07:12:17 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 7D14D8C6 for ; Tue, 12 Feb 2013 07:12:16 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.5/8.14.5) with ESMTP id r1C7CBj3097087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Feb 2013 08:12:11 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.5/8.14.5/Submit) with ESMTP id r1C7CAhV097084; Tue, 12 Feb 2013 08:12:11 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 12 Feb 2013 08:12:10 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: "Ronald F. Guilmette" Subject: Re: Chmod of /dev/ulptN In-Reply-To: <30480.1360636392@server1.tristatelogic.com> Message-ID: References: <30480.1360636392@server1.tristatelogic.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-2127953233-1360653131=:95994" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no 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, 12 Feb 2013 07:12:17 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-2127953233-1360653131=:95994 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Mon, 11 Feb 2013 18:33-0800, Ronald F. Guilmette wrote: > I exactly followed the directions here: > > http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118.html > > Nontheless, my /dev/lpt0 node still only has permissions set to 0644. > > Why? > > What did I do wrong? Is this about /dev/ulpt[0-9]+ or about /dev/lpt[0-2]? If the latter is the case, then maybe you should edit /etc/devfs.conf instead. Something along these lines would help: own lpt0 root:wheel perm lpt0 0660 -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestřl, | Trond Endrestřl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjřvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-2127953233-1360653131=:95994-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 12:32: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 1C996C1B for ; Tue, 12 Feb 2013 12:32:57 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id B2DBBBDA for ; Tue, 12 Feb 2013 12:32:56 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id EF40D84F2588 for ; Tue, 12 Feb 2013 13:24:57 +0100 (CET) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id cKWxfhXqXhwv for ; Tue, 12 Feb 2013 13:24:52 +0100 (CET) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id A369084F2586 for ; Tue, 12 Feb 2013 13:24:52 +0100 (CET) Received: from 188.92.33.51 ([188.92.33.51]) by d2ux.org (Horde Framework) with HTTP; Tue, 12 Feb 2013 13:24:52 +0100 Date: Tue, 12 Feb 2013 13:24:52 +0100 Message-ID: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> From: Matthias Petermann To: freebsd-questions@freebsd.org Subject: How to achieve E-Mail Notification on root login? User-Agent: Internet Messaging Program (IMP) H5 (6.0.2) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline 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, 12 Feb 2013 12:32:57 -0000 Hello, given there is a FreeBSD system with users in the wheel group, what is the best practise to send out a notification via E-Mail if one of them becomes root via su? In an ideal case the E-Mail would contain the user name and the time. I thought about using sudo but this is not in the base system which I would prefer. Kind regards, Matthias -- Matthias Petermann From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 12:36: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 11010D17 for ; Tue, 12 Feb 2013 12:36:47 +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 B2ADBC13 for ; Tue, 12 Feb 2013 12:36:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx01.qsc.de (Postfix) with ESMTP id 967F73D1A1; Tue, 12 Feb 2013 13:36:44 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1CCalRc001986; Tue, 12 Feb 2013 13:36:47 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 12 Feb 2013 13:36:47 +0100 From: Polytropon To: "Ronald F. Guilmette" Subject: Re: Chmod of /dev/ulptN Message-Id: <20130212133647.a92423a6.freebsd@edvax.de> In-Reply-To: <30480.1360636392@server1.tristatelogic.com> References: <30480.1360636392@server1.tristatelogic.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, 12 Feb 2013 12:36:47 -0000 On Mon, 11 Feb 2013 18:33:12 -0800, Ronald F. Guilmette wrote: > I exactly followed the directions here: > > http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118.html > > Nontheless, my /dev/lpt0 node still only has permissions set to 0644. In the subject you've mentioned /dev/ulpt (USB LPT port), and now /dev/lpt (conventional LPT port), still the same applies for both. > Why? Because the content of /dev is dynamically generated and maintained as a virtual file system. This service is controled by devfs (devices created at startup time) and devd (devices dynamically created during runtime), both with their respective configuration files devfs.conf and devfs.rules, and devd.conf. Those files need to be adjusted. To make the change become active, restart the service. > What did I do wrong? You did not use the current proper method. :-) Make the change you need in /etc/devfs.conf, e. g. perm ulpt0 0664 if you need rw/rw/r. You can also use "own user:group" in a similar way if you need to change file owner or group. See "man devfs.conf" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 13: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 E8E2F975 for ; Tue, 12 Feb 2013 13:46:23 +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 B2C1E320 for ; Tue, 12 Feb 2013 13:46:23 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx02.qsc.de (Postfix) with ESMTP id E22ED279E7; Tue, 12 Feb 2013 14:46:15 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1CDkILC002150; Tue, 12 Feb 2013 14:46:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 12 Feb 2013 14:46:18 +0100 From: Polytropon To: Matthias Petermann Subject: Re: How to achieve E-Mail Notification on root login? Message-Id: <20130212144618.82ed5353.freebsd@edvax.de> In-Reply-To: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> References: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> 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, 12 Feb 2013 13:46:24 -0000 On Tue, 12 Feb 2013 13:24:52 +0100, Matthias Petermann wrote: > > Hello, > > given there is a FreeBSD system with users in the wheel group, what is > the best practise > to send out a notification via E-Mail if one of them becomes root via > su? In an ideal > case the E-Mail would contain the user name and the time. > > I thought about using sudo but this is not in the base system which I > would prefer. I'm not sure if there already is a solution (provided in the base system) that offers this functionality, but the fact of a user having used "su" to "su root" is logged by the system. The line is appended to /var/log/messages: Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2 The information you want is in there, and you could either use the whole line, or apply some sed, awk or even perl to form a message with less information (only date and user). A scripted solution could monitor /var/log/messages for changes and use the system's builtin mailer to deliver the message. Tools like "tail -f", "grep" and "| mail" could be involved. It should be quite trivial to implement this and add a custom rc.d-style script (or even few lines in ye olde /etc/rc.local). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 14:31:33 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 6F919532 for ; Tue, 12 Feb 2013 14:31:33 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 2B98A7FF for ; Tue, 12 Feb 2013 14:31:32 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 12 Feb 2013 09:31:31 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id CFW16525; Tue, 12 Feb 2013 09:31:31 -0500 Received-SPF: None identity=pra; client-ip=209.6.84.183; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: Neutral identity=mailfrom; client-ip=209.6.84.183; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None identity=helo; client-ip=209.6.84.183; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-84-183.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.84.183]) by smtp01.lnh.mail.rcn.net with ESMTP; 12 Feb 2013 09:31:31 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20762.21059.118777.31186@jerusalem.litteratus.org> Date: Tue, 12 Feb 2013 09:31:31 -0500 To: Polytropon Subject: Re: How to achieve E-Mail Notification on root login? In-Reply-To: <20130212144618.82ed5353.freebsd@edvax.de> References: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> <20130212144618.82ed5353.freebsd@edvax.de> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: Matthias Petermann , 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, 12 Feb 2013 14:31:33 -0000 Polytropon writes: > > given there is a FreeBSD system with users in the wheel group, > > what is the best practise to send out a notification > > via E-Mail if one of them becomes root via su? In an ideal > > case the E-Mail would contain the user name and the time. > > I'm not sure if there already is a solution (provided in the > base system) that offers this functionality, but the fact of > a user having used "su" to "su root" is logged by the system. > The line is appended to /var/log/messages: > > Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2 > > The information you want is in there, and you could either use > the whole line, or apply some sed, awk or even perl to form a > message with less information (only date and user). > > A scripted solution could monitor /var/log/messages for changes > and use the system's builtin mailer to deliver the message. Tools > like "tail -f", "grep" and "| mail" could be involved. It should > be quite trivial to implement this and add a custom rc.d-style > script (or even few lines in ye olde /etc/rc.local). Take a look at the "-p" option of "split". The bigger question is how quickly do you need to know - instantly? once an hour? once a day? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 14:40:17 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 E7F4669B for ; Tue, 12 Feb 2013 14:40:17 +0000 (UTC) (envelope-from frank@fstaals.net) Received: from isp-bos-01.edutel.nl (isp-bos-01.edutel.nl [IPv6:2a01:670:100:11::2:1]) by mx1.freebsd.org (Postfix) with ESMTP id 79EA186C for ; Tue, 12 Feb 2013 14:40:17 +0000 (UTC) Received: from isp-aos-01.edu.local (unknown [IPv6:2a01:670:100:11::1:1]) by isp-bos-01.edutel.nl (Postfix) with ESMTP id 8373B2BC56D; Tue, 12 Feb 2013 15:40:15 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by isp-aos-01.edu.local (Postfix) with ESMTP id 7793534C04D; Tue, 12 Feb 2013 15:40:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at isp-aos-01.edutel.intern Received: from isp-aos-01.edu.local ([127.0.0.1]) by localhost (isp-aos-01.edu.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BcosPScXkgl7; Tue, 12 Feb 2013 15:40:14 +0100 (CET) Received: from lacus.fstaals.net (104-208.ftth.onsbrabantnet.nl [88.159.208.104]) by isp-aos-01.edu.local (Postfix) with ESMTPA id 093F634C04B; Tue, 12 Feb 2013 15:40:14 +0100 (CET) Received: from lacus.fstaals.net (unknown [192.168.10.14]) by filter.fstaals.local (Postfix) with ESMTP id CB24A7F4FB7; Tue, 12 Feb 2013 15:40:07 +0100 (CET) Received: from localhost (dyn-81-6.cs.uu.nl [131.211.81.6]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: frank) by lacus.fstaals.net (Postfix) with ESMTPSA id B01367F4FB5; Tue, 12 Feb 2013 15:40:07 +0100 (CET) From: Frank Staals To: Robert Huff Subject: Re: How to achieve E-Mail Notification on root login? References: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> <20130212144618.82ed5353.freebsd@edvax.de> <20762.21059.118777.31186@jerusalem.litteratus.org> User-Mail-Address: frank@fstaals.net Date: Tue, 12 Feb 2013 15:39:56 +0100 In-Reply-To: <20762.21059.118777.31186@jerusalem.litteratus.org> (Robert Huff's message of "Tue, 12 Feb 2013 09:31:31 -0500") Message-ID: <87mwv9lhoj.fsf@Shanna.FStaals.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: Polytropon , Matthias Petermann , 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, 12 Feb 2013 14:40:18 -0000 Robert Huff writes: > Polytropon writes: > >> > given there is a FreeBSD system with users in the wheel group, >> > what is the best practise to send out a notification >> > via E-Mail if one of them becomes root via su? In an ideal >> > case the E-Mail would contain the user name and the time. >> >> I'm not sure if there already is a solution (provided in the >> base system) that offers this functionality, but the fact of >> a user having used "su" to "su root" is logged by the system. >> The line is appended to /var/log/messages: >> >> Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2 >> >> The information you want is in there, and you could either use >> the whole line, or apply some sed, awk or even perl to form a >> message with less information (only date and user). >> >> A scripted solution could monitor /var/log/messages for changes >> and use the system's builtin mailer to deliver the message. Tools >> like "tail -f", "grep" and "| mail" could be involved. It should >> be quite trivial to implement this and add a custom rc.d-style >> script (or even few lines in ye olde /etc/rc.local). > > Take a look at the "-p" option of "split". > The bigger question is how quickly do you need to know - > instantly? once an hour? once a day? > > > Robert Huff I don't think anything other than instantly makes sense. If it would be a batch thing sent once an hour/day/ then an attacker could simply prevent the mail being sent, and/or remove her entry from the log. Furthermore, one should realize that any setup would only be guaranteed to report the first breach/login. In other words: after the first notice that someone logged in as root you can no longer trust that you will get further notices (assuming that the emails safely arrive once they have actually left the system in the first place). Unless you can somehow verify that your notification system/setup was untouched by the person who logged in (e.g. since you were the one that actually logged in as root). Regards, -- - Frank From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 14:41: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 6F48C7E3 for ; Tue, 12 Feb 2013 14:41:51 +0000 (UTC) (envelope-from peter@aboutsupport.com) Received: from mail-bk0-f46.google.com (mail-bk0-f46.google.com [209.85.214.46]) by mx1.freebsd.org (Postfix) with ESMTP id 02713891 for ; Tue, 12 Feb 2013 14:41:50 +0000 (UTC) Received: by mail-bk0-f46.google.com with SMTP id j5so70177bkw.19 for ; Tue, 12 Feb 2013 06:41:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.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:x-gm-message-state; bh=S/9pO8rxJG7cNHx80NXqUKzbD6iD5l7Xe40orxOTEaA=; b=dYLbOpPk8dakCUnAwIbwYKrBm+HfK26dy7MvGSOMBXabqo9GY6K3Cv3dFd8VAQJKny SbKupO+k97vrcyyO2FBS/V9GA0UauHZ9gA/hk+grvV6/ZA0YQtmJgNj84uJyAC8ypufI JoLThzqtdvKZqhZsFOuQMla1javErc6b/PH/usondL54nwFA6RFQWb3ryPUiJguVTiOK K8X3bhGuZA/Ty34J5hxBEwAO8pdDcbNgPiZbtGcHuQSruZ19F8V75cHVrgzJRt/oJ2J2 ANP3tLtPMSgVFgEzIfUEhfd8SlbCTNM/lz6ZodIJbRw4fWVpZNrAWZ4aXnaixMQQuM23 jVtg== X-Received: by 10.204.149.22 with SMTP id r22mr5251451bkv.75.1360680104422; Tue, 12 Feb 2013 06:41:44 -0800 (PST) Received: from [10.30.1.168] ([95.87.193.58]) by mx.google.com with ESMTPS id ge12sm14419181bkc.19.2013.02.12.06.41.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Feb 2013 06:41:43 -0800 (PST) Message-ID: <511A54A4.2090100@aboutsupport.com> Date: Tue, 12 Feb 2013 16:41:40 +0200 From: "Zyumbilev, Peter" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Robert Huff Subject: Re: How to achieve E-Mail Notification on root login? References: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> <20130212144618.82ed5353.freebsd@edvax.de> <20762.21059.118777.31186@jerusalem.litteratus.org> In-Reply-To: <20762.21059.118777.31186@jerusalem.litteratus.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmpfQxIG9y8AtaHC5kJYrBhko5ZOLKXgm4K5HhKQFdW5EUwmaXEalJzzmi+Y0TKulQaq7DI Cc: Polytropon , Matthias Petermann , 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, 12 Feb 2013 14:41:51 -0000 Hi, Allow "sudo bash" only. Modify .bashrc to mail last entry from the log http://tldp.org/LDP/abs/html/sample-bashrc.html So you will get alert instantly :-) Peter On 12/02/2013 16:31, Robert Huff wrote: > > Polytropon writes: > >> > given there is a FreeBSD system with users in the wheel group, >> > what is the best practise to send out a notification >> > via E-Mail if one of them becomes root via su? In an ideal >> > case the E-Mail would contain the user name and the time. >> >> I'm not sure if there already is a solution (provided in the >> base system) that offers this functionality, but the fact of >> a user having used "su" to "su root" is logged by the system. >> The line is appended to /var/log/messages: >> >> Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2 >> >> The information you want is in there, and you could either use >> the whole line, or apply some sed, awk or even perl to form a >> message with less information (only date and user). >> >> A scripted solution could monitor /var/log/messages for changes >> and use the system's builtin mailer to deliver the message. Tools >> like "tail -f", "grep" and "| mail" could be involved. It should >> be quite trivial to implement this and add a custom rc.d-style >> script (or even few lines in ye olde /etc/rc.local). > > Take a look at the "-p" option of "split". > The bigger question is how quickly do you need to know - > instantly? once an hour? once a day? > > > 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" > From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 14:54: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 145B3C0A for ; Tue, 12 Feb 2013 14:54:34 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id B17C595B for ; Tue, 12 Feb 2013 14:54:33 +0000 (UTC) Received: from [10.219.130.115] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.6/8.14.6) with ESMTP id r1CEquKX031943 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 12 Feb 2013 08:52:57 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <511A5771.9020208@tundraware.com> Date: Tue, 12 Feb 2013 08:53:37 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Was I Sourced? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Tue, 12 Feb 2013 08:52:57 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r1CEquKX031943 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 14:54:34 -0000 Is there a way for script to determine whether is was sourced or forked off as a subprocess when it was invoked? I have a script that needs to be sourced to work properly and I want to warn the luser if they exec or subshell it instead. TIA, -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 15:14: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 77457231 for ; Tue, 12 Feb 2013 15:14:45 +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 496DDA4C for ; Tue, 12 Feb 2013 15:14:44 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r1CFEcMV025608 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 12 Feb 2013 09:14:38 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.02.0309.002; Tue, 12 Feb 2013 09:14:37 -0600 From: "Teske, Devin" To: "tundra@tundraware.com" , FreeBSD Mailing List Subject: RE: Was I Sourced? Thread-Topic: Was I Sourced? Thread-Index: AQHOCTDkxdyuJ9XV602x2PyC2sZ4vJh2UURr Date: Tue, 12 Feb 2013 15:14:37 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA755A@ltcfiswmsgmb21> References: <511A5771.9020208@tundraware.com> In-Reply-To: <511A5771.9020208@tundraware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-12_05:2013-02-12,2013-02-12,1970-01-01 signatures=0 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, 12 Feb 2013 15:14:45 -0000 On Tue, 12 Feb 2013, Tim Daneliuk wrote: > Is there a way for script to determine whether is was sourced > or forked off as a subprocess when it was invoked? >=20 Not that I'm aware of. > I have a script that needs to be sourced to work properly and > I want to warn the luser if they exec or subshell it instead. >=20 In order for a user to exec a script it has to have the invocation line: #!/bin/sh So naturally, if your script is missing this as the first line, the file wi= ll not be interpretable (and thus exec will fail). And if the file is not e= xecutable (due to lack of invocation line) then you also shouldn't have any= worry about execution within a sub-shell (though it will still be possible= to "source" within a sub-shell using "." -- but that shouldn't be any diff= erent than sourcing in the main shell). One thin you could do is to use an invocation line that will warn the user = that it shouldn't be executed directly... #!/not_directly_executable # Use the source luke So when someone executes your script they get... -bash: ./script: /not_directly_executable: bad interpreter: No such file or= directory --=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 Tue Feb 12 16:01:29 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 57DDA4BB for ; Tue, 12 Feb 2013 16:01:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id F14EADD0 for ; Tue, 12 Feb 2013 16:01:28 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r1CG1Put035588; Tue, 12 Feb 2013 09:01:25 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r1CG1LcS035585; Tue, 12 Feb 2013 09:01:22 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 12 Feb 2013 09:01:21 -0700 (MST) From: Warren Block To: Polytropon Subject: Re: Chmod of /dev/ulptN In-Reply-To: <20130212133647.a92423a6.freebsd@edvax.de> Message-ID: References: <30480.1360636392@server1.tristatelogic.com> <20130212133647.a92423a6.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 12 Feb 2013 09:01:25 -0700 (MST) Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" 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, 12 Feb 2013 16:01:29 -0000 On Tue, 12 Feb 2013, Polytropon wrote: > On Mon, 11 Feb 2013 18:33:12 -0800, Ronald F. Guilmette wrote: >> I exactly followed the directions here: >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118.html >> >> Nontheless, my /dev/lpt0 node still only has permissions set to 0644. > > In the subject you've mentioned /dev/ulpt (USB LPT port), and > now /dev/lpt (conventional LPT port), still the same applies > for both. Actually, the standard devfs.conf settings do not work for dynamic devices like ulpt0. devd is the only way to do that for dynamic devices. Here's an example I use use for a USB printer. The vendor and product IDs were determined with usbconfig dump_device_desc: # WB # link Epson R200 printer to /dev/ulpt-r200 and unlpt-r200 attach 20 { device-name "ulpt[0-9]"; match "vendor" "0x04b8"; match "product" "0x0005"; action "ln -sf /dev/$device-name /dev/ulpt-r200"; action "ln -sf /dev/`echo $device-name \ | sed -e 's/ulpt/unlpt/'` /dev/unlpt-r200"; action "chmod g+w /dev/ulpt-r200 /dev/unlpt-r200"; }; # WB detach 20 { device-name "ugen[0-9].[0-9]"; match "vendor" "0x04b8"; match "product" "0x0005"; action "rm -f /dev/ulpt-r200 /dev/unlpt-r200"; }; From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 16:10: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 8F43D9FD for ; Tue, 12 Feb 2013 16:10:46 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mx1.freebsd.org (Postfix) with ESMTP id 34C34EBA for ; Tue, 12 Feb 2013 16:10:45 +0000 (UTC) Received: from [78.35.129.207] (helo=fabiankeil.de) by smtprelay04.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1U5IQ1-0007RW-ON; Tue, 12 Feb 2013 17:09:17 +0100 Date: Tue, 12 Feb 2013 17:06:54 +0100 From: Fabian Keil To: Devin Teske Subject: Re: Was I Sourced? Message-ID: <20130212170654.6a649d2c@fabiankeil.de> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EA755A@ltcfiswmsgmb21> References: <511A5771.9020208@tundraware.com> <13CA24D6AB415D428143D44749F57D7201EA755A@ltcfiswmsgmb21> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/KZrwQe_Fu5D+npVn4AdUVaS"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: Tim Daneliuk , FreeBSD 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, 12 Feb 2013 16:10:46 -0000 --Sig_/KZrwQe_Fu5D+npVn4AdUVaS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Teske, Devin" wrote: > On Tue, 12 Feb 2013, Tim Daneliuk wrote: >=20 > > Is there a way for script to determine whether is was sourced > > or forked off as a subprocess when it was invoked? > >=20 >=20 > Not that I'm aware of. sysutils/zogftw, which has to find and parse itself to generate the verbose help, does the following: zogftw_location=3D"$0" if [ "zogftw" !=3D $(basename "${zogftw_location}") ]; then # Looks like zogftw has been sourced. # Try to get the zogftw location through the PATH. zogftw_location=3D"$(which zogftw)" fi The check is expected to fail if the user renamed the shell to zogftw, or the script to something else, but that's unlikely to happen by accident and the functionality is not essential anyway. A more reliable method might be investigating $$ and its parents with ps and friends, but it would also require a lot more code. I don't remember ever having never seen a ps-based check in the real world and my impression is that looking at $0 is "best practice" if the check doesn't have to be perfect. Fabian --Sig_/KZrwQe_Fu5D+npVn4AdUVaS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEaaKYACgkQBYqIVf93VJ0d8QCgifpZzsb069VgZ6dSLdiYO6d4 XjYAn05BhTQMJ/3x3+rLePwNpM4/Z4J3 =fHzq -----END PGP SIGNATURE----- --Sig_/KZrwQe_Fu5D+npVn4AdUVaS-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 17:06:29 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 40C5593D for ; Tue, 12 Feb 2013 17:06:29 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 79089242 for ; Tue, 12 Feb 2013 17:06:27 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id r1CHAlNh028236; Tue, 12 Feb 2013 11:10:47 -0600 (CST) Date: Tue, 12 Feb 2013 11:10:47 -0600 (CST) From: Robert Bonomi Message-Id: <201302121710.r1CHAlNh028236@mail.r-bonomi.com> To: tundra@tundraware.com Subject: Re: Was I Sourced? In-Reply-To: <511A5771.9020208@tundraware.com> 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, 12 Feb 2013 17:06:29 -0000 > Date: Tue, 12 Feb 2013 08:53:37 -0600 > From: Tim Daneliuk > To: FreeBSD Mailing List > Subject: Was I Sourced? > > Is there a way for script to determine whether is was sourced > or forked off as a subprocess when it was invoked? > > I have a script that needs to be sourced to work properly and > I want to warn the luser if they exec or subshell it instead. a 'sourced' script does -not- honor a shebag line. you can exploit that. The executable script /usr/local/bin/source_only; #!/bin/sh echo Error: this script must be sourced Your script: #!/usr/local/bin/source_only {cmd} {cmd} {cmd} {cmd} {cmd} {cmd} ... ... Trying to do it totally self-contained is not easy. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 17:34:42 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 AEB8E1B1 for ; Tue, 12 Feb 2013 17:34:42 +0000 (UTC) (envelope-from mmbsd1982@yahoo.com) Received: from nm33-vm1.bullet.mail.ne1.yahoo.com (nm33-vm1.bullet.mail.ne1.yahoo.com [98.138.229.65]) by mx1.freebsd.org (Postfix) with ESMTP id 5C7D1392 for ; Tue, 12 Feb 2013 17:34:42 +0000 (UTC) Received: from [98.138.226.176] by nm33.bullet.mail.ne1.yahoo.com with NNFMP; 12 Feb 2013 17:31:52 -0000 Received: from [98.138.87.11] by tm11.bullet.mail.ne1.yahoo.com with NNFMP; 12 Feb 2013 17:31:52 -0000 Received: from [127.0.0.1] by omp1011.mail.ne1.yahoo.com with NNFMP; 12 Feb 2013 17:31:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 795240.77426.bm@omp1011.mail.ne1.yahoo.com Received: (qmail 66308 invoked by uid 60001); 12 Feb 2013 17:31:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360690312; bh=kkBy5bb+lL20nX+LOetgtSBUEbNj62aHCBXgBXY46Ws=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=Eij007Rxep65DEs2ZQyuxiVj/jv7wYtxhSomIfvlAMuCmgibBPehakoik82N6h6fqsGWTFkgPo4WOMynE0ztsKsnGCfoPa0amDOedLsghol6LGTsyTX2jsiarPU/u6h1zl/8twMif82Iw+Zp7I7grNm+M0iQ1JD6pFxHrktJMr8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=O0yRt5AqRBmK5lDz5M7vb6qalMb+WCuCuRE11ZQEh0novqo0JHNJ+dku2rk+dqhjDFrjxNk9+L2EZGfdOHpAoAKjSOpfrkD4iVOEUDUTZF3dsKzL5PdHc8dvWXJ5NEreoDzFpVVsCVFXae/gY3+mL7VwL+SklE2/S0GCJbkZJ/4=; X-YMail-OSG: XmleJnYVM1mGtxjqaydIF251sd.q4Ti9qHMBIkV_p0sG1hm P5vmJhFwtD00NbnyD_JP9lpTbhAiHZuPrflU6Uh5IEtq4LhIajbiEfNE4C73 6r4htayZsfiTqizl4m3u2fHdCr4HZYxVXxQzQIWi4f4vAzJMLUdaDcFesP7K 79U1tWEdPKpAPiSbqoJrmM2CH30rvy70ajCuHMWWWcv_5U_E0feAJvOe.9PI dk8CqIvPSTNO4kwC1UaQLd71vr4LTC5hDZkoyPWkM9TXN4WK1IUtJeW_SIAr 0oe1EFZ3klC9R3K5thMCFa5m5QLn1e84x8gSmDMdiN9xyx3KZVTC9AC_w047 U8QTssT1NOyp2u4_ZdiNCD7ElOav.ydgj28z9hFPKiCVkiwl0XXCAlqHaSo2 xRfI77.ovNtKmgRi.dWIcOJFBE2U.G6dvUMHk0MohX937ffMlkGz4ZljhlaC fxXsu2QWlWzhbB17uVR4GAQ-- Received: from [173.164.238.34] by web126106.mail.ne1.yahoo.com via HTTP; Tue, 12 Feb 2013 09:31:52 PST X-Rocket-MIMEInfo: 001.001, ClRoZSBNb3Rvcm9sYSBEcm9pZCBSQVpSIGkgKGEgdmFyaWFudApvZiB0aGUgUkFaUiBtKSBoYXMgYW4gaW50ZWwgYXRvbSB6MjQ2MCBwcm9jZXNzb3IgaW4gaXQuCiAKVW5sZXNzIEkgYW0gbWlzdGFrZW4sIHRoaXMgaXMgYW4gYW1kNjQgY29tcGF0aWJsZSBjaGlwIHRoYXQKbWFpbmxpbmUgRnJlZUJTRCBjb3VsZCBydW4gb24sIHllcyA_CiAKV2l0aG91dCBnZXR0aW5nIGludG8gdGhlIHNwZWNpZmljcyBvZiBsb2FkaW5nIHRoZSBzeXN0ZW0KKGFuZCB1c2luZyBhIHRvdWNoc2NyZWVuIGFzIGlucHV0KSwgd28BMAEBAQE- X-Mailer: YahooMailClassic/15.1.2 YahooMailWebService/0.8.133.508 Message-ID: <1360690312.66225.YahooMailClassic@web126106.mail.ne1.yahoo.com> Date: Tue, 12 Feb 2013 09:31:52 -0800 (PST) From: Mm Bsd Subject: FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ? To: freebsd-questions@freebsd.org MIME-Version: 1.0 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: Tue, 12 Feb 2013 17:34:42 -0000 The Motorola Droid RAZR i (a variant of the RAZR m) has an intel atom z2460 processor in it. Unless I am mistaken, this is an amd64 compatible chip that mainline FreeBSD could run on, yes ? Without getting into the specifics of loading the system (and using a touchscreen as input), would plain old amd64 FreeBSD run on this device ? From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 17:43:20 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 CC5AB78B for ; Tue, 12 Feb 2013 17:43:20 +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 8CDA668B for ; Tue, 12 Feb 2013 17:43:20 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U5JtJ-0002EK-CL for freebsd-questions@freebsd.org; Tue, 12 Feb 2013 18:43:37 +0100 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, 12 Feb 2013 18:43:37 +0100 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, 12 Feb 2013 18:43:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkgng Date: Tue, 12 Feb 2013 17:43:05 +0000 (UTC) Lines: 19 Message-ID: References: <201212150816.02075.lumiwa@gmail.com> <50CC97B7.3010105@FreeBSD.org> <50CCC748.80504@infracaninophile.co.uk> 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.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) 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, 12 Feb 2013 17:43:20 -0000 On Sat, 15 Dec 2012 18:54:00 +0000, Matthew Seaman wrote: > On 15/12/2012 18:23, Walter Hurry wrote: >> On Sat, 15 Dec 2012 15:31:03 +0000, Matthew Seaman wrote: >> >>> 'm slowly collecting examples of applications where the shlib analysis >>> doesn't work properly >> >> In case you don't already have them in your list: opnjdk7 libreoffice > > Thanks. Added to the list. It always has to be the really big projects > (and tedious to debug because of that) doesn't it. Matthew, pkg check -Ba is still showing a number of false alarms for virtualbox- ose-4.2.6. Walter From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 17:45: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 F0524978 for ; Tue, 12 Feb 2013 17:45:51 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 445E46C7 for ; Tue, 12 Feb 2013 17:45:50 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id r1CHoJQB030023; Tue, 12 Feb 2013 11:50:19 -0600 (CST) Date: Tue, 12 Feb 2013 11:50:19 -0600 (CST) From: Robert Bonomi Message-Id: <201302121750.r1CHoJQB030023@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, mmbsd1982@yahoo.com Subject: Re: FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ? In-Reply-To: <1360690312.66225.YahooMailClassic@web126106.mail.ne1.yahoo.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: Tue, 12 Feb 2013 17:45:52 -0000 > Date: Tue, 12 Feb 2013 09:31:52 -0800 (PST) > From: Mm Bsd > Subject: FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ? > To: freebsd-questions@freebsd.org > > > The Motorola Droid RAZR i (a variant > of the RAZR m) has an intel atom z2460 processor in it. > > Unless I am mistaken, this is an amd64 compatible chip that > mainline FreeBSD could run on, yes ? > > Without getting into the specifics of loading the system > (and using a touchscreen as input), would plain old amd64 > FreeBSD run on this device ? Not without a lot of low level work. like _all_ the device drivers, interrupt handlers, etc. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 17:58:12 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 02742EDC for ; Tue, 12 Feb 2013 17:58:11 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 8CDB47BA for ; Tue, 12 Feb 2013 17:58:11 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r1CHw3dV007307 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 12 Feb 2013 17:58:04 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.4 smtp.infracaninophile.co.uk r1CHw3dV007307 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1360691884; bh=0Wtyo11v7WGl2ebldDN6g4nVdbxyVPs5069Cb6iHClA=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Tue,=2012=20Feb=202013=2017:57:57=20+0000|From:=20Matthew =20Seaman=20|To:=20Walter=20Hurry =20|CC:=20freebsd-questions@freebsd.org|Sub ject:=20Re:=20pkgng|References:=20<201212150816.02075.lumiwa@gmail .com>=20<50CC97B7.3010105@FreeBSD.org>=20=20<50CCC748.80504@infracaninophile.co.uk>=20|In-Reply-To:=20; b=JEWV38/574dr5CuLy7Guh+O9F2tdhImq+gQLbo8E5UxAhUC2R9S70418wOAdmQ313 +E4Fk3oqrudOhYSacW1kcwnAbiPM5pjjJyzy7WigEKM4JYMW8vuIaxcijkm/sPwchg UWkP73GfhwO1w5Cy5q8vdoZ7cj44U+qywl5w7SzU= Message-ID: <511A82A5.6090402@infracaninophile.co.uk> Date: Tue, 12 Feb 2013 17:57:57 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Walter Hurry Subject: Re: pkgng References: <201212150816.02075.lumiwa@gmail.com> <50CC97B7.3010105@FreeBSD.org> <50CCC748.80504@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.5 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2HHHSRMIRLLTUNEULMHEJ" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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, 12 Feb 2013 17:58:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2HHHSRMIRLLTUNEULMHEJ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/02/2013 17:43, Walter Hurry wrote: > On Sat, 15 Dec 2012 18:54:00 +0000, Matthew Seaman wrote: >=20 >> On 15/12/2012 18:23, Walter Hurry wrote: >>> On Sat, 15 Dec 2012 15:31:03 +0000, Matthew Seaman wrote: >>> >>>> 'm slowly collecting examples of applications where the shlib analys= is >>>> doesn't work properly >>> >>> In case you don't already have them in your list: opnjdk7 libreoffice= >> >> Thanks. Added to the list. It always has to be the really big projec= ts >> (and tedious to debug because of that) doesn't it. >=20 > Matthew, >=20 > pkg check -Ba is still showing a number of false alarms for virtualbox-= > ose-4.2.6. Ah. OK. I'll investigate, at the weekend probably. Just to be sure, you are running pkgng master from Github, and not the release from ports?= Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk ------enig2HHHSRMIRLLTUNEULMHEJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEagqsACgkQ8Mjk52CukIzZvgCePIFrpjNpmQfpAoLcus8uccsd I+sAnRuqWiwC71bxLQhIWkyGex4K/QXM =gne2 -----END PGP SIGNATURE----- ------enig2HHHSRMIRLLTUNEULMHEJ-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 18:14: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 387A7372 for ; Tue, 12 Feb 2013 18:14:22 +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 C4A83867 for ; Tue, 12 Feb 2013 18:14:21 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U5KNJ-00010f-QG for freebsd-questions@freebsd.org; Tue, 12 Feb 2013 19:14:37 +0100 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, 12 Feb 2013 19:14:37 +0100 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, 12 Feb 2013 19:14:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkgng Date: Tue, 12 Feb 2013 18:14:05 +0000 (UTC) Lines: 30 Message-ID: References: <201212150816.02075.lumiwa@gmail.com> <50CC97B7.3010105@FreeBSD.org> <50CCC748.80504@infracaninophile.co.uk> <511A82A5.6090402@infracaninophile.co.uk> 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.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) 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, 12 Feb 2013 18:14:22 -0000 On Tue, 12 Feb 2013 17:57:57 +0000, Matthew Seaman wrote: > On 12/02/2013 17:43, Walter Hurry wrote: >> On Sat, 15 Dec 2012 18:54:00 +0000, Matthew Seaman wrote: >> >>> On 15/12/2012 18:23, Walter Hurry wrote: >>>> On Sat, 15 Dec 2012 15:31:03 +0000, Matthew Seaman wrote: >>>> >>>>> 'm slowly collecting examples of applications where the shlib >>>>> analysis doesn't work properly >>>> >>>> In case you don't already have them in your list: opnjdk7 libreoffice >>> >>> Thanks. Added to the list. It always has to be the really big >>> projects (and tedious to debug because of that) doesn't it. >> >> Matthew, >> >> pkg check -Ba is still showing a number of false alarms for virtualbox- >> ose-4.2.6. > > Ah. OK. I'll investigate, at the weekend probably. Just to be sure, > you are running pkgng master from Github, and not the release from > ports? No, I'm running the (up to date) version from the ports: $ pkg -v 1.0.7 $ From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 18:41:20 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 AEB9FF35 for ; Tue, 12 Feb 2013 18:41:20 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 57A0D9BC for ; Tue, 12 Feb 2013 18:41:20 +0000 (UTC) Received: from [10.219.130.158] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.6/8.14.6) with ESMTP id r1CIf6lQ018624 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 12 Feb 2013 12:41:07 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <511A8CEC.3060007@tundraware.com> Date: Tue, 12 Feb 2013 12:41:48 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Was I Sourced? References: <201302121710.r1CHAlNh028236@mail.r-bonomi.com> In-Reply-To: <201302121710.r1CHAlNh028236@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Tue, 12 Feb 2013 12:41:07 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r1CIf6lQ018624 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 18:41:20 -0000 On 02/12/2013 11:10 AM, Robert Bonomi wrote: >> Date: Tue, 12 Feb 2013 08:53:37 -0600 >> From: Tim Daneliuk >> To: FreeBSD Mailing List >> Subject: Was I Sourced? >> >> Is there a way for script to determine whether is was sourced >> or forked off as a subprocess when it was invoked? >> >> I have a script that needs to be sourced to work properly and >> I want to warn the luser if they exec or subshell it instead. > > a 'sourced' script does -not- honor a shebag line. > you can exploit that. > > The executable script /usr/local/bin/source_only; > #!/bin/sh > echo Error: this script must be sourced > > Your script: > #!/usr/local/bin/source_only > > {cmd} > {cmd} > {cmd} > {cmd} > {cmd} > {cmd} > ... > ... > > Trying to do it totally self-contained is not easy. > > Actually, it's not that hard. Setting the shebang line to this does the trick: #!/bin/echo "This Script Must Be Sourced!!!!" Thanks to all who replied on this one ... -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 19:40: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 A578D6D for ; Tue, 12 Feb 2013 19:40:19 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 34AC3D4C for ; Tue, 12 Feb 2013 19:40:18 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1CJbwia028457 for ; Tue, 12 Feb 2013 14:37:58 -0500 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id r1CJbwvN028455; Tue, 12 Feb 2013 14:37:58 -0500 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 6AB08BF5C; Tue, 12 Feb 2013 14:32:04 -0500 (EST) To: freebsd-questions@freebsd.org In-reply-to: <87mwv9lhoj.fsf@Shanna.FStaals.net> (message from Frank Staals on Tue, 12 Feb 2013 15:39:56 +0100) Subject: Re: How to achieve E-Mail Notification on root login? Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> <20130212144618.82ed5353.freebsd@edvax.de> <20762.21059.118777.31186@jerusalem.litteratus.org> <87mwv9lhoj.fsf@Shanna.FStaals.net> Message-Id: <20130212193204.6AB08BF5C@kev.msw.wpafb.af.mil> Date: Tue, 12 Feb 2013 14:32:04 -0500 (EST) From: vogelke+unix@pobox.com (Karl Vogel) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 19:40:19 -0000 >> Robert Huff writes: R> The bigger question is how quickly do you need to know - instantly? R> once an hour? once a day? >> On 12 Feb 2013 15:39:56 +0100, Frank Staals said: F> I don't think anything other than instantly makes sense. If it would be F> a batch thing sent once an hour/day/ then an attacker could F> simply prevent the mail being sent, and/or remove her entry from the F> log. Furthermore, one should realize that any setup would only be F> guaranteed to report the first breach/login. Yup. I can see two ways around this, and the first one is ugly. 1. Rename su and make it executable only by root, so you can't bypass the part that handles the email alert: # mv /usr/bin/su /usr/bin/sulocal # chmod 700 /usr/bin/sulocal 2. Create a script in a directory accessible only by root: # cat /root/bin/emailalert #!/bin/sh echo root login by `/usr/bin/id -un` | exec /path/to/sendmail -t exit 1 3. Replace /usr/bin/su with a small setuid C program to call the script and then run the real su, something like: main(int argc, char **argv, char **envp) { system("/root/bin/emailalert"); execve("/usr/bin/sulocal", argv, envp); exit(1); } The second (better) way is to have your logs immediately forwarded to another host specifically set up for intrusion detection, install a log-monitoring system there, and send the message from there. This way, the original logs are more likely to be intact when you investigate. -- Karl Vogel I don't speak for the USAF or my company Some guy just yelled at me for texting and driving. I told him to get off my hood and mind his own business. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 20:30: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 BDBF6846 for ; Tue, 12 Feb 2013 20:30:49 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-ie0-x230.google.com (ie-in-x0230.1e100.net [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 94BC4F2E for ; Tue, 12 Feb 2013 20:30:49 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id k13so686456iea.35 for ; Tue, 12 Feb 2013 12:30:49 -0800 (PST) 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=WD9Jr97Q+5cI9H30dlnMlfS/QxaUO6VjDTlPH9CDHR0=; b=0xdPWJr4wUzA/sKV2VGag7ybumhwutTZIYUqWiRgHfnn4UxHD2KH9lfaar6bCY7dlg R22Ajx63YQcW7mCK+K1YrnO7wK23ZXIUKTYSOFmpAhJiIrhwK5ZVrCPisHYqfQlDkIiB iAyzeFManQSwKUntH+DrUWSKzBxBVNl15RCqtBvVFO2VNtakmHHgygU+CoiUpHRghRXk tNovfLKkojAJi5fBaVxfqfl4maWjNzezYra3VvxBpjIbHxu51IyOBhu0n3U3S0+QD88A Z3PQ03LNxl6Dr/WK0nqBcnfuC9muY9NnWPKu0WOdOHMZO6hTYsbIqG2bdzZm0o6i4y6B /wkw== X-Received: by 10.42.39.80 with SMTP id g16mr25898193ice.26.1360701049113; Tue, 12 Feb 2013 12:30:49 -0800 (PST) Received: from luna.wi.rr.com (cpe-184-58-138-79.wi.res.rr.com. [184.58.138.79]) by mx.google.com with ESMTPS id ww6sm32974601igb.2.2013.02.12.12.30.47 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 12 Feb 2013 12:30:48 -0800 (PST) From: ajtiM To: freebsd-questions@freebsd.org Subject: opera - ghostery Date: Tue, 12 Feb 2013 14:30:34 -0600 Message-ID: <1714349.ZxSQbIb6jO@luna.wi.rr.com> User-Agent: KMail/4.9.5 (FreeBSD/9.1-RELEASE; KDE/4.9.5; i386; ; ) 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: Tue, 12 Feb 2013 20:30:49 -0000 Hi! I am an Opera user long time and I use extension Ghostery long time too but now on Opera 12.14 I had a problem with Ghostery wizard setting each time when I start Opera. When I exit Opera I use Tool-Delete Private Data where I have checked everything except Delete settings and data for all extensions. I uninstalled all other extension but the problem persist. Thanks in advance. Mitja ---------- http://www.redbubble.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 20:54: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 D6D7FF21 for ; Tue, 12 Feb 2013 20:54:38 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC7B106 for ; Tue, 12 Feb 2013 20:54:38 +0000 (UTC) Received: by mail-ve0-f172.google.com with SMTP id cz11so477503veb.31 for ; Tue, 12 Feb 2013 12:54:32 -0800 (PST) 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=DLFEbRnu8UVwhGZRzvq4ijlF2FyeUQsF9DXtKLZvE4o=; b=LbtrDBvng+vwjHxvCHq6TiDbSRf08mcSHdEXV9wccGy6v7xHTkqG/dBa6lRa6fxFfM 8CHRqzCHc0G8xUYR8amJIMWI2mUjO6jDllw4L8Oi1IlsZCmS/1M4MNCdLH3eN31amH0A HnGdc5iN7dql77yZ5/dpuqh75OItuCcBL/SgFdos9qDV6C/LrFz4N0ctiT8DclxIFDvN w/Gza4u33kQm6K8Qr0YKFkllOIV0NfQyN8mRnY2QWGJiEh2FTguJEUjPAKOzLx4OlEqc diPG9TFNlBMscdGWdRO3qO/PdfYICiUm8egcexZqfLRbLbgSKPjnJV20OxBJQ/YOtknE MyKw== MIME-Version: 1.0 X-Received: by 10.52.176.6 with SMTP id ce6mr22322632vdc.57.1360702472207; Tue, 12 Feb 2013 12:54:32 -0800 (PST) Sender: christopher.maness@gmail.com Received: by 10.58.227.162 with HTTP; Tue, 12 Feb 2013 12:54:32 -0800 (PST) Date: Tue, 12 Feb 2013 12:54:32 -0800 X-Google-Sender-Auth: 0CHDYYxXy_W0-deJTVUmP4IuVNg Message-ID: Subject: Sendmail relaying for Intranet? From: Chris Maness 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, 12 Feb 2013 20:54:38 -0000 I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet. It does not have access to the i-net. I think I remember reading that it is possible for the i-net attached sendmail to relay mail for a domain to another host. Is there an easy answer and configuration for this? If not, no biggy since this exercise is more academic than a necessity. Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 21:31: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 729AD588 for ; Tue, 12 Feb 2013 21:31:07 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id E9CF1296 for ; Tue, 12 Feb 2013 21:31:06 +0000 (UTC) Received: (qmail 5676 invoked from network); 12 Feb 2013 22:15:50 -0000 Received: from pool-71-167-230-29.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@71.167.230.29) by 199.4.235.5 with SMTP; 12 Feb 2013 22:15:50 -0000 Received: (qmail 2346 invoked by uid 103); 12 Feb 2013 20:53:24 -0000 Date: 12 Feb 2013 20:53:23 -0000 Message-ID: <20130212205323.2345.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org Subject: NTFS 4 Terabyte drive problems on 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: Tue, 12 Feb 2013 21:31:07 -0000 Hi, I'm trying to mount a 4 TB drive (The Seagate Backup-Plus) on FreeBSD 9.0 Generic, using mount -t ntfs /dev/da0s1 /mnt It fails with: g_vfs_done() da1s1[READ(offset=0, length=1042)]error=22 mount_ntfs: /dev/da1s1 bad argument However, I can mount a 2 TB ntfs drive with no problem, using the same command, and the 4TB drive checks out fine in Windows. Does anyone know if this limitation exists, and if there is a work-around? I only need READ access to this drive. Thanks a lot! Scott -- sdb@ssr.com From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 21:38: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 AAEB17F5 for ; Tue, 12 Feb 2013 21:38:15 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 7A797302 for ; Tue, 12 Feb 2013 21:38:15 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 3F9503ACA7 for ; Tue, 12 Feb 2013 13:38:11 -0800 (PST) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Upgrade causes loss of all firefox settings (?) Date: Tue, 12 Feb 2013 13:38:11 -0800 Message-ID: <49865.1360705091@server1.tristatelogic.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: Tue, 12 Feb 2013 21:38:15 -0000 In general, I don't upgrade my ports very often, so up until recently I was running a fairly old version of firefox (firefox-15.0.1,1). But over the weekend, I moved everything over to a new drive containing the latest 9.1-RELEASE FreeBSD, and with a complete set of freshly rebuilt ports, including the latest firefox 18.0.1. (As part of this process, I copied my entire /home directory over to the new drive.) So anway, mostly everything is still working ok, however at some time during this process, firefox apparently lost track of all of my personal settings... my start page, all of my bookmarks, and all of my saved web site user IDs an passwords. I looked in the /usr/ports/UPDATING file for some clue as to why this might have happened and found none. Looking into this issue a bit deeper, I've now learned that all of one's personal settings are stored in a directory having a name which has the following general form: ~/.mozilla/firefox/????????.default where the "????????" part is some eight character apparently random combination of lower case letters and digits. The odd thing is that it appears that all of my old firefox setting are still alive and well and living under a subdirectory of the ~/.mozilla/firefox directory called "4up9dkb1.default". However it does also appear that my execution of firefox, for the first time, on this new system I've been putting together has resulted in the creation of a brand new parallel subdirectory, located in the same directory as my original personal settings .default directory, but this new one is named "nh2ykiym.default". And now, firefox is apparently saving and retrieving my (new set of) personal settings out of that new directory. So, um, what gives? Why did this happen? And more to the point, can I get back all of my personal settings just via the following seemingly intutive commands: rm -fr nh2ykiym.default mv 4up9dkb1.default nh2ykiym.default or will that break something else in some obscure but annoying way? Regards, rfg From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 21:49:50 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 159C19BE for ; Tue, 12 Feb 2013 21:49:50 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm24-vm5.bullet.mail.ird.yahoo.com (nm24-vm5.bullet.mail.ird.yahoo.com [212.82.109.196]) by mx1.freebsd.org (Postfix) with SMTP id 61592370 for ; Tue, 12 Feb 2013 21:49:48 +0000 (UTC) Received: from [77.238.189.231] by nm24.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 21:49:42 -0000 Received: from [46.228.39.41] by tm12.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 21:49:42 -0000 Received: from [127.0.0.1] by smtp174.mail.ir2.yahoo.com with NNFMP; 12 Feb 2013 21:49:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1360705782; bh=/Iz0yjLPS97HmppQJabgZe7INJUXyFUotQawJv3Gk00=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=2gp3i5V+uP+Ft6tSm1ao8nsqvUXY5DkmwXyMhOhg5FEfAtSyTzfOwNqFhmBiGFaffIORWMUp76uf/WELARIHiPbE8RigxjZefKxuy8SIwM3rFC4+pd0XXbeizWKL8MfYkWbHnKBIVywTq3oX6tunevQ7cXihgoNy1OhV0FVVyGk= X-Yahoo-Newman-Id: 402718.95372.bm@smtp174.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gZM8DY8VM1nGzIIj69T7oC841ky9E87ub.d.JgzuAoyOLYn CfJdua0w1MObYB.Jb62sflhD3B07UZgmQjhggqKqQNcp0ml63Kvv0ihRtj.k nKrpWXNOzMxFNrmShDGhjAAY4bevvy_oiZDFK5q8CLDV0R90WVo7Oo5xgPdo 46AzPNPZA2K_nbSdg5i4n2EXhEFHCrRi2IyJgK5V761CO5LUCeqmksZTxnGy wIhGKHJsVV8Ho2x0cGp0Ikf9n4zsqQzGy..HFTxu.xmSzKLoMSSClwQEHwAb Ic3FmaLjfgG70X.Dv.wHxjC5aPI.vu.X6EokbyP_65MPIZFyJHXh3fCq5OTI ljnDYcuRGk7TMWnEkytUK4PiMxuQyara5RRQEAS56MBZ_iaEgjnA94FcdRC2 ofLLc8.ZR_j6Y6c1SAA7ikqfOLT_.TPRV7gnmGh5a0zs- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [78.50.21.129] (ralf.mardorf@78.50.21.129 with login) by smtp174.mail.ir2.yahoo.com with SMTP; 12 Feb 2013 21:49:42 +0000 UTC Message-ID: <1360705782.2162.342.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 12 Feb 2013 22:49:42 +0100 In-Reply-To: <49865.1360705091@server1.tristatelogic.com> References: <49865.1360705091@server1.tristatelogic.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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, 12 Feb 2013 21:49:50 -0000 The profile should be available by 'firefox -ProfileManager' [1], OTOH I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for Arch Linux I used two profiles, one shared with another Linux and after a while I couldn't use the shared profiles anymore, but the ProfileManger still started. In the past rm -fr nh2ykiym.default mv 4up9dkb1.default nh2ykiym.default worked, or instead simply chose it with the ProfileManger, but nowadays there might be something fishy. [1] IIRC only one could have the name "*.default", the other must have another name, *.foo. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 21: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 E9850DA0 for ; Tue, 12 Feb 2013 21:56:07 +0000 (UTC) (envelope-from ralf.mardorf@alice-dsl.net) Received: from smtp-out01.alice-dsl.net (smtp-out01.alice-dsl.net [88.44.60.6]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1B9636 for ; Tue, 12 Feb 2013 21:56:07 +0000 (UTC) Received: from out.alice-dsl.de ([192.168.125.59]) by smtp-out01.alice-dsl.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Feb 2013 22:52:31 +0100 Received: from [78.50.21.129] ([78.50.21.129]) by out.alice-dsl.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Feb 2013 22:52:09 +0100 Message-ID: <1360705929.2162.344.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 12 Feb 2013 22:52:09 +0100 In-Reply-To: <1360705782.2162.342.camel@precise> References: <49865.1360705091@server1.tristatelogic.com> <1360705782.2162.342.camel@precise> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-OriginalArrivalTime: 12 Feb 2013 21:52:09.0678 (UTC) FILETIME=[3510FEE0:01CE096B] 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, 12 Feb 2013 21:56:08 -0000 On Tue, 2013-02-12 at 22:49 +0100, Ralf Mardorf wrote: > The profile should be available by 'firefox -ProfileManager' [1], OTOH > I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for > Arch Linux I used two profiles, one shared with another Linux and after > a while I couldn't use the shared profiles anymore, but the > ProfileManger still started. > > In the past > rm -fr nh2ykiym.default > mv 4up9dkb1.default nh2ykiym.default > worked, or instead simply chose it with the ProfileManger, but nowadays > there might be something fishy. > > [1] IIRC only one could have the name "*.default", the other must have > another name, *.foo. simply try mv nh2ykiym.default nh2ykiym.test perhaps it then will use 4up9dkb1.default automatically From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 22:00:28 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 B85EBE8 for ; Tue, 12 Feb 2013 22:00:28 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 81107694 for ; Tue, 12 Feb 2013 22:00:28 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id j8so1875524qah.13 for ; Tue, 12 Feb 2013 14:00:22 -0800 (PST) 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=QDwnKGy54/dE38mCpXj6vgoqVoP+BW4YbGzGRFgjHw8=; b=xTDQWHi80RQ/HPdYfjMgSLLP2aIY9Sh1xKYJFxpTKc8hYFOkBZHqBo4yQlF64JQ2cd MpBDIQKrWY77YrBW9g6zCHOHn+HHgWBco6BzubZYxJCDtMc9L5MPUwXs1JVxGir1dt4s DJssYFUmUMOL81uk58bJ0LVm+uO4sb2mDVuVZx7o+burgrsnJ+iefKK9vCFOAnBf61it MdH+jOb4tFSV2QZ116TV4M03fXp4Wvi+TxZkRmelcY5WSqhn3AtZzh7c84DbK5wTD3+8 xhfc670DPlPUS9AUu348FoELCt80qVPyhrAIqp7RDYhrHE7xr3sw5OlhLu2t1lkBw0AT rUhg== MIME-Version: 1.0 X-Received: by 10.224.186.81 with SMTP id cr17mr7467948qab.99.1360706421930; Tue, 12 Feb 2013 14:00:21 -0800 (PST) Sender: tomek.cedro@gmail.com Received: by 10.49.71.204 with HTTP; Tue, 12 Feb 2013 14:00:21 -0800 (PST) In-Reply-To: <49865.1360705091@server1.tristatelogic.com> References: <49865.1360705091@server1.tristatelogic.com> Date: Tue, 12 Feb 2013 23:00:21 +0100 X-Google-Sender-Auth: kw0FjhahPdeaOSsJ-HxxSfWEkxo Message-ID: Subject: Re: Upgrade causes loss of all firefox settings (?) From: CeDeROM To: "Ronald F. Guilmette" 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, 12 Feb 2013 22:00:28 -0000 On Tue, Feb 12, 2013 at 10:38 PM, Ronald F. Guilmette wrote: > Looking into this issue a bit deeper, I've now learned that all of > one's personal settings are stored in a directory having a name which > has the following general form: > ~/.mozilla/firefox/????????.default Hey Ronald, are you sure there is no corruption on the disk? Have you preformatted your new drive? I had disks that lost data if used with no pre-format stage. Have you tried forcing fsck? Sometimes when my machine crash there is a silent corruption on the filesystem and some settings are lost/changed... -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 22:05: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 C0A761E2 for ; Tue, 12 Feb 2013 22:05:31 +0000 (UTC) (envelope-from ralf.mardorf@alice-dsl.net) Received: from smtp-out04.alice-dsl.net (smtp-out04.alice-dsl.net [88.44.63.3]) by mx1.freebsd.org (Postfix) with ESMTP id DF4AC6D4 for ; Tue, 12 Feb 2013 22:05:30 +0000 (UTC) Received: from out.alice-dsl.de ([192.168.125.61]) by smtp-out04.alice-dsl.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Feb 2013 23:04:22 +0100 Received: from [78.50.21.129] ([78.50.21.129]) by out.alice-dsl.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Feb 2013 23:04:13 +0100 Message-ID: <1360706652.2162.351.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 12 Feb 2013 23:04:12 +0100 In-Reply-To: <1360705929.2162.344.camel@precise> References: <49865.1360705091@server1.tristatelogic.com> <1360705782.2162.342.camel@precise> <1360705929.2162.344.camel@precise> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-OriginalArrivalTime: 12 Feb 2013 22:04:13.0292 (UTC) FILETIME=[E45FBAC0:01CE096C] 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, 12 Feb 2013 22:05:31 -0000 On Tue, 2013-02-12 at 22:52 +0100, Ralf Mardorf wrote: > On Tue, 2013-02-12 at 22:49 +0100, Ralf Mardorf wrote: > > The profile should be available by 'firefox -ProfileManager' [1], OTOH > > I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for > > Arch Linux I used two profiles, one shared with another Linux and after > > a while I couldn't use the shared profiles anymore, but the > > ProfileManger still started. > > > > In the past > > rm -fr nh2ykiym.default > > mv 4up9dkb1.default nh2ykiym.default > > worked, or instead simply chose it with the ProfileManger, but nowadays > > there might be something fishy. > > > > [1] IIRC only one could have the name "*.default", the other must have > > another name, *.foo. > > simply try > mv nh2ykiym.default nh2ykiym.test > perhaps it then will use > 4up9dkb1.default > automatically After a 'killall -9 -w firefox' the ProfileManager did start :). Closing the windows wasn't enough ;). FWIW version for this Linux install is 15.0.1. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 22:11: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 D8AB7356 for ; Tue, 12 Feb 2013 22:11:22 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm2.bullet.mail.ird.yahoo.com (nm2.bullet.mail.ird.yahoo.com [77.238.189.59]) by mx1.freebsd.org (Postfix) with SMTP id 1751F711 for ; Tue, 12 Feb 2013 22:11:21 +0000 (UTC) Received: from [77.238.189.231] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 22:11:14 -0000 Received: from [46.228.39.53] by tm12.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 22:11:14 -0000 Received: from [127.0.0.1] by smtp186.mail.ir2.yahoo.com with NNFMP; 12 Feb 2013 22:11:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1360707074; bh=Qrgz4DJIQ4/tmSGAozIY+dZeTahZLSCpmJoO2K7gmFU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=linIJHElS4fqEK6hArHIErjtO0SMiyLgaR8jKmeJ9rj82k1uKH/Xr20859f9YVVFlMkm6a0MZ3HndiBwdlIAyXhe57RCwD4ZUTcmoDKMMZ6cJWK/cB+7oHNv2zIiF55gXN0ZQ9axuaVcStIYpfvE2awV3rJ+maSgFR3plVwN7Dc= X-Yahoo-Newman-Id: 933226.12560.bm@smtp186.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: QXHFfbQVM1lQLUEuXrhgxwIPoK57g9LL0eBG9GDJ6BCY5oh CWzjzl_xqAPrfNOy4KWj_jz1lcSO6iAYhsMm9g6nnNgxqgtV3RyFLl8km5Jk PcFaXbOXLCyRdlQUro6PD0JSrrZW.LEyCUmgXrUNAkd1r8ouz5PIzW6RIP2m 61eNy4eCG4XUiZeq8wwHER.Sx75PrQfhpFvDOeeq2jR54uce3WgDqOei9RXP dmoIvfhso_WaiBqgfidd_l7FRds_CxLrUUoDB4iZ3b.WhvFE2jRmoyhjiG0z NOrMkQsgDX40YsFV5uTGDHcMBtr.HTXu8J_ShxyX1T2XdXS9l2Vl4wqEhcit Iti138NZlLfDcH1EmmI12WY7PjnlrxxTM3I12F_PfWaEjcuo8d9dOT6s0oTk 13CfzLIYmYowpwdwTZmvOyjDGayU9ye2_lTHUT4zaXkk- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [78.50.21.129] (ralf.mardorf@78.50.21.129 with login) by smtp186.mail.ir2.yahoo.com with SMTP; 12 Feb 2013 22:11:14 +0000 UTC Message-ID: <1360707074.2162.357.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 12 Feb 2013 23:11:14 +0100 In-Reply-To: References: <49865.1360705091@server1.tristatelogic.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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, 12 Feb 2013 22:11:22 -0000 On Tue, 2013-02-12 at 23:00 +0100, CeDeROM wrote: > Hey Ronald, are you sure there is no corruption on the disk? Have you > preformatted your new drive? I had disks that lost data if used with > no pre-format stage. Have you tried forcing fsck? Sometimes when my > machine crash there is a silent corruption on the filesystem and some > settings are lost/changed... Firefox is my preferred browser, but it has some disadvantages compared to other browsers. 1. It's slow and bloated, even without add-ons, fortunately it doesn't matter on my relatively modern machine. 2. It's known for all kind of issues. Some years ago there sometimes was the need to delete the configuration, to get Firefox running again, it simply couldn't be started sometimes, because there were bugs. Regarding to the kind of issue, it's more likely that Firefox is buggy and the HDD still is ok. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 22:15:27 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 6EE0D48F for ; Tue, 12 Feb 2013 22:15:27 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x229.google.com (mail-ia0-x229.google.com [IPv6:2607:f8b0:4001:c02::229]) by mx1.freebsd.org (Postfix) with ESMTP id 438AC74B for ; Tue, 12 Feb 2013 22:15:27 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id j5so565007iaf.28 for ; Tue, 12 Feb 2013 14:15:26 -0800 (PST) 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=BMjJLSZWB4FtMcVWtnXfBsLaQfu8SZqD+zbaiJaoBR0=; b=lQlp0c/5p/jnkBjjy+Ec5SluWbt81iPFB4ktVqDv4wT/Y4EeuDJIsskbZ8Ozgm/yrU +gZx9uVID/yLApLFz9NxOXCQRND1jkNuPvEY7VpYHOauEA6KVcUaAgNiQvSJHfmKprCf xuS8JscK1/4INp3SF4EJuC1oZUQ9/yTPSYkkKwmh36DYLz4jhyv0ZI44ZWs1x1N7d4lm zYt2aVE8C1mxOFSnEsI9jagMC3m0UuNtzCIYPnDA5WEddE45rUq9c5EZpJqIr8pzH7Ji kqWltfvkwfxOEbhrkwaFg37IJi1NCHxsLrCNu0xk7F0/Hj5VOm13afObf0qtRDnpFJM3 +wYA== X-Received: by 10.43.9.137 with SMTP id ow9mr11357252icb.32.1360707326854; Tue, 12 Feb 2013 14:15:26 -0800 (PST) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id nh1sm16294880igc.4.2013.02.12.14.15.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Feb 2013 14:15:25 -0800 (PST) Message-ID: <511ABEF6.8060400@gmail.com> Date: Tue, 12 Feb 2013 16:15:18 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD on Motorola Droid RAZR i ... Intel Atom ... workable ? References: <1360690312.66225.YahooMailClassic@web126106.mail.ne1.yahoo.com> In-Reply-To: <1360690312.66225.YahooMailClassic@web126106.mail.ne1.yahoo.com> 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, 12 Feb 2013 22:15:27 -0000 On 2/12/2013 11:31 AM, Mm Bsd wrote: > > The Motorola Droid RAZR i (a variant > of the RAZR m) has an intel atom z2460 processor in it. > > Unless I am mistaken, this is an amd64 compatible chip that > mainline FreeBSD could run on, yes ? > > Without getting into the specifics of loading the system > (and using a touchscreen as input), would plain old amd64 > FreeBSD run on this device ? > _______________________________________________ > 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" > You would need a bootloader, since I doubt it uses UEFI an I'm not sure. None of the drivers are probably supported, so you'll probably need to write device drivers, everything from graphics to storage. By the time you're done and have something workable, it will be so out of date it will be a relic. Linux already supports a lot, and for embedded, because of Android, the chipset makers have to have working linux drivers to sell chips. Including getting the datasheets, it's outside the scope of an independent developer. Now if you're Google and you want to get rid of every vestige of GPL out of Android, it'll be ready to ship by the end of the year, on ARM and amd64. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 22:26:57 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 EF885779 for ; Tue, 12 Feb 2013 22:26:57 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-f45.google.com (mail-qe0-f45.google.com [209.85.128.45]) by mx1.freebsd.org (Postfix) with ESMTP id AE1607D2 for ; Tue, 12 Feb 2013 22:26:57 +0000 (UTC) Received: by mail-qe0-f45.google.com with SMTP id b4so271135qen.18 for ; Tue, 12 Feb 2013 14:26:51 -0800 (PST) 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=OMAPsYQmbTgkHOxjrMb+b32S2G5BuGlfjZOhCureZIo=; b=gLuRvpzTcrjbPIc6pEHG2ktOVjqeDTo6ciJ8o7A9XD7X1JpaLnfstYSTEjeuZ3h/Ih eKvNpKzU8jvczL6dnWGLJzD7q/VJcTu4KpmZluV44hbcbB1b89g/+WN8fHabN+6+HOre NHihL6Q/Pr12Fo1/uY2VWAAgPuM3228cgDRKvnON67B4jzlqshGo5rv9EleFnfwxbOsw DbmxqWievSCFZ8oGEY4A+IcCPS1h2wUT0psgzPxZhklUpeo9ZTzQrkvOuTleytlgKSMt bBci4MSdWd12+RUi9f0Y0CbQpMX80nWFU6v25LoIAbzV4rO/QP7By0poUBBj2VeqhzA7 +ddQ== MIME-Version: 1.0 X-Received: by 10.49.59.48 with SMTP id w16mr8528851qeq.38.1360708011430; Tue, 12 Feb 2013 14:26:51 -0800 (PST) Sender: tomek.cedro@gmail.com Received: by 10.49.71.204 with HTTP; Tue, 12 Feb 2013 14:26:51 -0800 (PST) In-Reply-To: <1360707074.2162.357.camel@precise> References: <49865.1360705091@server1.tristatelogic.com> <1360707074.2162.357.camel@precise> Date: Tue, 12 Feb 2013 23:26:51 +0100 X-Google-Sender-Auth: 2nlEifc02WwBS6biO2jFnwuLOR0 Message-ID: Subject: Re: Upgrade causes loss of all firefox settings (?) From: CeDeROM To: Ralf Mardorf 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, 12 Feb 2013 22:26:58 -0000 On Tue, Feb 12, 2013 at 11:11 PM, Ralf Mardorf wrote: > Firefox is my preferred browser, but it has some disadvantages compared > to other browsers. Give a try to Chromium :-) I have been using Opera for long time because it was fast and small. Not that long ago I have switched to Chromium and this was really good step - it is opensource/bsd, faster than firefox, you will find shortcut keys almost the same as in firefox/gnome, very good integration with google, h264 support, lots of applications/applets, etc etc :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 22:40:44 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 B98C4A55 for ; Tue, 12 Feb 2013 22:40:44 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm7.bullet.mail.ird.yahoo.com (nm7.bullet.mail.ird.yahoo.com [77.238.189.21]) by mx1.freebsd.org (Postfix) with SMTP id AA991852 for ; Tue, 12 Feb 2013 22:40:42 +0000 (UTC) Received: from [77.238.189.50] by nm7.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 22:40:41 -0000 Received: from [46.228.39.96] by tm3.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 22:40:41 -0000 Received: from [127.0.0.1] by smtp133.mail.ir2.yahoo.com with NNFMP; 12 Feb 2013 22:40:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1360708841; bh=5vnl0SmAIL8VQbCszLssoIOGaUQyFT7jY8CUOsRO/P0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=zx1EMLjTL6QRT8fpeEaFkayxGXmA11lHpmOtz1dLwbGEHcfW/QSwAYW4G60I2TMnttRGtCkWateY4o/1gdcbad5HtqABnzJM+/fMjZkdPZ/G1mNK+3bRUON2uVeE8TvpysVxtwXUB4izBkbQyBeNJMWnQpBraVfZHggxfSQ0aNw= X-Yahoo-Newman-Id: 524256.99201.bm@smtp133.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: qeASmRQVM1nH.nKI7OjKxj0G_0h.iUt8n6gggXrcOIFCM9D zUHXydgACaZFh2QwcfTjoQGvX7M36zo01sJrKCUtU8oBMRUMkWGgVlJioCQN csw60ILlmuWA4eAWDEMC0_Rx9GO1kcuTkfsQlmqCponDVFUy1TerfFbJkUcn sw.nymIQ6tOD_TBpi9.ihNYeSk5kP9TNS7xBPmKixl.uha0PEYysvXa5XWgf .PIaOXmUaSYQyoUHv5HSEneTp2dbi7jNafoDtXUELh.FzAvCZ1.avKyozjAC mqtIdA63pJyPznJdo5.PamHR.7acubLaMTRjLSTWWvZL0EcDZDJGtK2G3pfq D9zVMleYpiVcsHLeRPmeHjAdvvztOLxK1zDwNTzt2HARCk2zF0G5xyR5UiEl gUH6y97fVY9Iu.54gGITI1F1yWeT1AOVwZ7gMPSOtzXY- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [78.50.21.129] (ralf.mardorf@78.50.21.129 with login) by smtp133.mail.ir2.yahoo.com with SMTP; 12 Feb 2013 22:40:41 +0000 UTC Message-ID: <1360708841.2162.373.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 12 Feb 2013 23:40:41 +0100 In-Reply-To: References: <49865.1360705091@server1.tristatelogic.com> <1360707074.2162.357.camel@precise> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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, 12 Feb 2013 22:40:44 -0000 On Tue, 2013-02-12 at 23:26 +0100, CeDeROM wrote: > On Tue, Feb 12, 2013 at 11:11 PM, Ralf Mardorf > wrote: > > Firefox is my preferred browser, but it has some disadvantages compared > > to other browsers. > > Give a try to Chromium :-) I have been using Opera for long time > because it was fast and small. Not that long ago I have switched to > Chromium and this was really good step - it is opensource/bsd, faster > than firefox, you will find shortcut keys almost the same as in > firefox/gnome, very good integration with google, h264 support, lots > of applications/applets, etc etc :-) My favorites are Firefox and Opera, but I also have Chromium installed for both, FreeBSD and Linux. I don't like the new style of Opera and the style of Chromium. I prefer classic menus. In the future I might need to install Chrome :S. I'm not a flash fan, but I already couldn't download the last Internet provider bill :D, perhaps a flash or some other script issue. Btw. the design of Opera still is closer to my workflow than the design of Chromium. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 23:02:29 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 38B542BC for ; Tue, 12 Feb 2013 23:02:29 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5DC959 for ; Tue, 12 Feb 2013 23:02:28 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id CB6003B233; Tue, 12 Feb 2013 15:02:25 -0800 (PST) From: "Ronald F. Guilmette" To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Subject: Re: Chmod of /dev/ulptN In-Reply-To: Date: Tue, 12 Feb 2013 15:02:25 -0800 Message-ID: <50334.1360710145@server1.tristatelogic.com> 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, 12 Feb 2013 23:02:29 -0000 In message , =?ISO-8859-1?Q?Trond_Endrest=F8l?= wrote: >On Mon, 11 Feb 2013 18:33-0800, Ronald F. Guilmette wrote: > >> I exactly followed the directions here: >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118. >html >> >> Nontheless, my /dev/lpt0 node still only has permissions set to 0644. >> >> Why? >> >> What did I do wrong? > >Is this about /dev/ulpt[0-9]+ or about /dev/lpt[0-2]? I was only concerned about /dev/ulpt[0-9]+ From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 23:05: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 7F4FB3B3 for ; Tue, 12 Feb 2013 23:05:48 +0000 (UTC) (envelope-from Dave.Robison@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 52046987 for ; Tue, 12 Feb 2013 23:05:47 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id r1CN5l00008373 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 12 Feb 2013 17:05:47 -0600 Received: from lefty.vicor.com (10.242.182.147) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 12 Feb 2013 17:05:46 -0600 Message-ID: <511ACAC8.80801@fisglobal.com> Date: Tue, 12 Feb 2013 15:05:44 -0800 From: "Robison, Dave" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130201 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: Re: Sendmail relaying for Intranet? References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.242.182.147] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-12_09:2013-02-12,2013-02-12,1970-01-01 signatures=0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: david.robison@fisglobal.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 23:05:48 -0000 On 02/12/2013 12:54, Chris Maness wrote: > I have a FreeBSD box running sendmail that can see the whole internet. > I have another mail server that hosts mail for an intranet. It does > not have access to the i-net. I think I remember reading that it is > possible for the i-net attached sendmail to relay mail for a domain to > another host. Is there an easy answer and configuration for this? If > not, no biggy since this exercise is more academic than a necessity. > > Thanks, > Chris Maness > _______________________________________________ > 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" > > in sendmail.cf on the host to be your relay, check for "DS" and use it like this: DS relayhost.domain.com in sendmail.cf on the hosts which will be relaying, use the DS command but point them to your new relay host. hope this helps. Dave -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ 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 message in any manner; and (iii) notify the sender immediately. In addition, please 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 Tue Feb 12 23:16: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 544E2576 for ; Tue, 12 Feb 2013 23:16: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 1AE39A01 for ; Tue, 12 Feb 2013 23:16:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx02.qsc.de (Postfix) with ESMTP id 0BC96276EE; Wed, 13 Feb 2013 00:16:10 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1CNGDQ4002383; Wed, 13 Feb 2013 00:16:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 13 Feb 2013 00:16:13 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Upgrade causes loss of all firefox settings (?) Message-Id: <20130213001613.2d57681d.freebsd@edvax.de> In-Reply-To: <1360708841.2162.373.camel@precise> References: <49865.1360705091@server1.tristatelogic.com> <1360707074.2162.357.camel@precise> <1360708841.2162.373.camel@precise> 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, 12 Feb 2013 23:16:13 -0000 On Tue, 12 Feb 2013 23:40:41 +0100, Ralf Mardorf wrote: > I don't like the new style of Opera and the > style of Chromium. I prefer classic menus. Luckily you can change that in Opera and give it the "traditional" style. Still Opera suffers from ongoing "disimprovement" (e. g. reduction of functionality in file save dialog or printing support). > I'm not a flash fan, but I already couldn't download > the last Internet provider bill :D, perhaps a flash or some other script > issue. Maybe Java? Some old fasioned guys still use it... ;-) Even though I don't like "Flash" especially because it has become what animated GIFs have been used for in the past - replacement for HTML, nagging, stealing focus, aggressive advertising with sound and so on - it perfectly works with Opera. > Btw. the design of Opera still is closer to my workflow than the > design of Chromium. That's my "problem" with Chromium and Firefox too. I like the possibility to remove visual controls (red "X" button on tabs for example) without losing functionality (middle click on tab closes tab). From my very individual experience, Opera offers the best integration of mouse and keyboard. It's sufficiently fast and renders stuff acceptably correct. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 23:47: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 758FFB7C for ; Tue, 12 Feb 2013 23:47:05 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm23-vm5.bullet.mail.ird.yahoo.com (nm23-vm5.bullet.mail.ird.yahoo.com [212.82.109.234]) by mx1.freebsd.org (Postfix) with SMTP id C885FB28 for ; Tue, 12 Feb 2013 23:47:04 +0000 (UTC) Received: from [77.238.189.55] by nm23.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 23:47:03 -0000 Received: from [46.228.39.119] by tm8.bullet.mail.ird.yahoo.com with NNFMP; 12 Feb 2013 23:47:03 -0000 Received: from [127.0.0.1] by smtp156.mail.ir2.yahoo.com with NNFMP; 12 Feb 2013 23:47:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1360712823; bh=LaZbdhzAZ8KfHFy3g8tSiTPvRFJDUbq2PqkkI/M/eWI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=KFNYyLTX2DQs8075fuslFGMZr8pWl064EET/zAhPfpSE8DXa15fLq4mwsy+3MuROS0RHSUlgiA08NqtHLh2P3G4nAHBeMgxEbi1HP6Si+hwxkRod4rBux5hqQSMNecEzU0tD3KfZBfeq/sDDNsbnnxs9+2FingmbgR8bZFW887E= X-Yahoo-Newman-Id: 541686.92006.bm@smtp156.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 33Nnas0VM1kqIpbu8ckk9SAjmmcLxMVvfSr25RVhMkAOGak xvaYINa6dM18u7J_c_w7_fuS7Ew9MQPqaN0i0o5vWjjXgR1PufIAyqnHDhCo 3i3rU6xt0751okGSco4Xe.94MxOalzvCvBp8uzS0xbg73TowMdzroOHzhGMN b6V0uhXBNU.RtG8NfH4snY0dGv.r8SJsHIPlR2a.5fWjgw9M8QI4d4zfZ2tm u5BWD4S2JUdBZ_dpdD4h7bWfxn8_C.D5TWDipoIUImZy1w7pTV6k2c1jXVgX XJfPAUENyrVKYApIPGjnReq7BrIYB._1MFKgg53d67bEl7B3qdxGG8exmxmG qgf1F_04WR4Y38JtEK3lstfXJjUFq_xoqHx8.0OC23P8mKReXXQNFG2tkBf3 IReoIyTLPBWaEPjjOt7p74NUJ0O_psAa68GzDWbOOmF4- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [78.50.21.129] (ralf.mardorf@78.50.21.129 with login) by smtp156.mail.ir2.yahoo.com with SMTP; 12 Feb 2013 23:47:03 +0000 UTC Message-ID: <1360712823.2162.401.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Wed, 13 Feb 2013 00:47:03 +0100 In-Reply-To: <20130213001613.2d57681d.freebsd@edvax.de> References: <49865.1360705091@server1.tristatelogic.com> <1360707074.2162.357.camel@precise> <1360708841.2162.373.camel@precise> <20130213001613.2d57681d.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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, 12 Feb 2013 23:47:05 -0000 On Wed, 2013-02-13 at 00:16 +0100, Polytropon wrote: > Even though I don't like "Flash" especially because it > has become what animated GIFs have been used for in the > past - replacement for HTML, nagging, stealing focus, > aggressive advertising with sound and so on - it perfectly > works with Opera. The best websites are made by people using braille instead of displays. Sometimes they choose less good color combinations :D, but they usually are willing to fix it, if you ask them. I'm a musician, I need to "activate" the sound card and to turn on additional audio gear, before I get sound. I don't like noise all the times. It reminds me of the idiotic sounds on the main bridge of the Enterprise. Desktop sound is disabled and if I need audio notification I want the bell, a simple beep from the computer case's thingy. Idiotic animations stealing focus are a serious issue for me, regarding to dyslexia signs already are animated for me, when they aren't animated. I already can't use applications that animate a mini icon in a menu bar, if it's impossible to disable it. "It's drivin' me crazy. It's drivin' me nuts." Even if old printers are slow, loud and the printing wasn't brilliant, I'm missing my ink ribbon listing paper printers. Printing was cheap that time and reading was much nicer than using the monitor of my computer or my tablet PC. I've got inkjet printer, but it's to expensive for me, to use them. I heard that reading should be more comfortable on a cheap reader than on an iPad, but I won an iPad and will keep it as a toy and reader and won't buy a reader, since they aren't really cheap. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 23:50: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 77BF3C72 for ; Tue, 12 Feb 2013 23:50:21 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 428D4B54 for ; Tue, 12 Feb 2013 23:50:20 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id r1CNoDfJ055837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Feb 2013 17:50:13 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.6/8.14.6) with ESMTP id r1CNoDB2075932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Feb 2013 17:50:13 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.6/8.14.6/Submit) id r1CNoDn9075931; Tue, 12 Feb 2013 17:50:13 -0600 (CST) (envelope-from dan) Date: Tue, 12 Feb 2013 17:50:13 -0600 From: Dan Nelson To: Scott Ballantyne Subject: Re: NTFS 4 Terabyte drive problems on FreeBSD? Message-ID: <20130212235013.GH5396@dan.emsphone.com> References: <20130212205323.2345.qmail@irelay.ssr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130212205323.2345.qmail@irelay.ssr.com> X-OS: FreeBSD 9.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Tue, 12 Feb 2013 17:50:13 -0600 (CST) X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 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, 12 Feb 2013 23:50:21 -0000 In the last episode (Feb 12), Scott Ballantyne said: > Hi, > > I'm trying to mount a 4 TB drive (The Seagate Backup-Plus) on FreeBSD > 9.0 Generic, using > > mount -t ntfs /dev/da0s1 /mnt > > It fails with: > > g_vfs_done() da1s1[READ(offset=0, length=1042)]error=22 > mount_ntfs: /dev/da1s1 bad argument That's a strange length (1042). I would have expected a multiple of the device blocksize (4096 in the case of the Backup Plus). > However, I can mount a 2 TB ntfs drive with no problem, using the same > command, and the 4TB drive checks out fine in Windows. > > Does anyone know if this limitation exists, and if there is a > work-around? I only need READ access to this drive. You can try the sysutils/fusefs-ntfs port; the ntfs code in the base system hasn't had much work done on it lately. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 00:23:50 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 CE1B13FA for ; Wed, 13 Feb 2013 00:23:50 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 7587ADB5 for ; Wed, 13 Feb 2013 00:23:49 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id r1D0NbFE099384; Tue, 12 Feb 2013 19:23:37 -0500 (EST) (envelope-from chris@monochrome.org) Date: Tue, 12 Feb 2013 19:23:37 -0500 (EST) From: Chris Hill To: "Zyumbilev, Peter" Subject: Re: How to achieve E-Mail Notification on root login? In-Reply-To: <511A54A4.2090100@aboutsupport.com> Message-ID: References: <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org> <20130212144618.82ed5353.freebsd@edvax.de> <20762.21059.118777.31186@jerusalem.litteratus.org> <511A54A4.2090100@aboutsupport.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Robert Huff , Polytropon , Matthias Petermann , 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, 13 Feb 2013 00:23:50 -0000 On Tue, 12 Feb 2013, Zyumbilev, Peter wrote: > Allow "sudo bash" only. The OP didn't want to use sudo because it's not in the base system. I would guess he also doesn't want to use bash, since it too is not in the base system. [ snip ] -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 00:45:42 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 F2E2E68F for ; Wed, 13 Feb 2013 00:45:42 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id A0AE4E54 for ; Wed, 13 Feb 2013 00:45:42 +0000 (UTC) Received: (qmail 7880 invoked from network); 13 Feb 2013 01:37:11 -0000 Received: from pool-71-167-230-29.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@71.167.230.29) by 199.4.235.5 with SMTP; 13 Feb 2013 01:37:11 -0000 Received: (qmail 2695 invoked by uid 103); 13 Feb 2013 00:14:44 -0000 Date: 13 Feb 2013 00:14:44 -0000 Message-ID: <20130213001444.2694.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org Subject: Exporting a ntfs-3g mounted drive over NFS? References: <20130212205323.2345.qmail@irelay.ssr.com> <20130212235013.GH5396@dan.emsphone.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, 13 Feb 2013 00:45:43 -0000 Hello, Thanks to Dan Nelson I was able to mount my 4 TB drive using ntfs-3g. Now I need to export it over NFS, and it doesn't work. I'm using a bootable ZFS system, if that makes any difference. I don't see why it should. Basically, I can export a directory as long as a ntfs-3g filesystem is not moutned on it. And this is also true for the kernel ntfs system. The second a ntfs or ntfs-3g filesystem is mounted on it, there are problems. Here are more details: create a directory: /var/video, set globally readable and searchable permissions. I create a simple entry in /etc/exports: /var/VIDEO I copy some files in there and HUP mountd. I check to see that I can access the files on the clients. No problem. I go back, delete the files (just to be safe), and then I mount the ntfs-3g drive on /var/VIDEO with ntfs-3g -o ro /dev/da0s1 /var/VIDEO I check to see that I can see the ntfs filesystem in /var/VIDEO with ls (I can), and all the permissions are ok (every file is rwxrwxrwx). Then I HUP mountd. Mountd now tells me that my formerly good line in exports is bad. I can't access the files on the clients. I umount /var/VIDEO. I HUP mountd. All is well once again, on the server and the clients, except I can't access the files on the ntfs drive which I need to do. Anyone have any ideas what is going on here, and even better, how I might get it to work? Thanks! Scott -- sdb@ssr.com From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 01:16: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 1C1BB184 for ; Wed, 13 Feb 2013 01:16:49 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id C8F29FF0 for ; Wed, 13 Feb 2013 01:16:48 +0000 (UTC) Received: (qmail 8115 invoked from network); 13 Feb 2013 02:08:17 -0000 Received: from pool-71-167-230-29.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@71.167.230.29) by 199.4.235.5 with SMTP; 13 Feb 2013 02:08:17 -0000 Received: (qmail 2978 invoked by uid 103); 13 Feb 2013 00:45:50 -0000 Date: 13 Feb 2013 00:45:50 -0000 Message-ID: <20130213004550.2977.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org In-reply-to: <20130213001444.2694.qmail@irelay.ssr.com> (message from Scott Ballantyne on 13 Feb 2013 00:14:44 -0000) Subject: Re: Exporting a ntfs-3g mounted drive over NFS? References: <20130212205323.2345.qmail@irelay.ssr.com> <20130212235013.GH5396@dan.emsphone.com> <20130213001444.2694.qmail@irelay.ssr.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, 13 Feb 2013 01:16:49 -0000 I wrote: > Hello, > > Thanks to Dan Nelson I was able to mount my 4 TB drive using > ntfs-3g. Now I need to export it over NFS, and it doesn't work. > > I'm using a bootable ZFS system, if that makes any difference. I don't > see why it should. > > Basically, I can export a directory as long as a ntfs-3g filesystem is > not moutned on it. And this is also true for the kernel ntfs > system. The second a ntfs or ntfs-3g filesystem is mounted on it, > there are problems. > > Here are more details: > > create a directory: /var/video, set globally readable and searchable > permissions. > > I create a simple entry in /etc/exports: > > /var/VIDEO > > I copy some files in there and HUP mountd. > I check to see that I can access the files on the clients. No > problem. > > I go back, delete the files (just to be safe), and then I mount the > ntfs-3g drive on /var/VIDEO with > > ntfs-3g -o ro /dev/da0s1 /var/VIDEO > > I check to see that I can see the ntfs filesystem in /var/VIDEO with > ls (I can), and all the permissions are ok (every file is rwxrwxrwx). > > Then I HUP mountd. Mountd now tells me that my formerly good line in > exports is bad. I can't access the files on the clients. > > I umount /var/VIDEO. I HUP mountd. All is well once again, on the > server and the clients, except I can't access the files on the ntfs > drive which I need to do. > > Anyone have any ideas what is going on here, and even better, how I > might get it to work? > > Thanks! > Scott > -- > sdb@ssr.com > > To add another detail, I have discovered that while I can't export the files over NFS, I can use SAMBA, which helps me somewhat. I still need NFS, and generally would prefer it for performance reasons, so if anyone has any hints, please do let me know. Best, Scott -- sdb@ssr.com From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 03:21:59 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 5D8D97AA for ; Wed, 13 Feb 2013 03:21:59 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm4.bullet.mail.ird.yahoo.com (nm4.bullet.mail.ird.yahoo.com [77.238.189.61]) by mx1.freebsd.org (Postfix) with SMTP id 9966F79E for ; Wed, 13 Feb 2013 03:21:58 +0000 (UTC) Received: from [77.238.189.55] by nm4.bullet.mail.ird.yahoo.com with NNFMP; 13 Feb 2013 03:21:56 -0000 Received: from [46.228.39.40] by tm8.bullet.mail.ird.yahoo.com with NNFMP; 13 Feb 2013 03:21:56 -0000 Received: from [127.0.0.1] by smtp173.mail.ir2.yahoo.com with NNFMP; 13 Feb 2013 03:21:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1360725716; bh=vGJ8wVj39/tEPWQOFJqYhYWQuSsgHbWvDiiR6qYIVxc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=FCuXMNw0IcO6V/hO8//Ps+FJGjSVDE/K/eOpXCst+feUkA2PQfXbJhdyCGseaw5z7AYftPkbECN3f4PcBeOLh1AFf90B9bbBPZyLSpktf9Ip/wkU8bb3GYdAoEFn2pDjOeZigg4wPGzdAgI3CG9JE204fudPVxHphOc+14iyqCM= X-Yahoo-Newman-Id: 898848.81562.bm@smtp173.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BrgbbFgVM1kCjzIH758jIDsQ3hZVlsr3ygIozVKxAbw1qiW SPn.b.fh4RCucd5cIfDMptsF_6_RjvSPrY5HMK5etPy9PxUgYallv3fqCbyb MVqV7FUAR.QfZfoB0wIFPmzc823sx88IVZb6_.zjVaCj2x8gqQGO2g9J86FX QKl2RGlzujqS6EBU7Eq_7vIufTLjOj9REu0gnFVQrD60UiKEDbhwEx5LpUr0 hKN6UpRBuZk_4.194kkCluGlSEmAtP36p7Am0vVaycw7k8yDwWmUQXpuFoV0 bwCl5eV7MQ36uV3tm1EYGfYxHcnYF3KgYly9.N9f_8qbOJ4UMS8uD1PuSUDL LC1MhdXX_1_eWTAH.3T1yFhApGnuL1amBwdkmHo23iBUYLZzEoZzVdM58j16 WOFBomXZKs2y03a8QWTcPrH2h_kwgIAxV78kEi96q.svghfFXeGTL.Fg5_AZ XqZT4hvlvqv7dFB_vJRScTohvsKC33BgnTtkb8uf.N13Q4pgcbHRXofiS_Ka BtLws354oi4gwuqKi3tXFWxAO.I1_qmE6cWE- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [78.50.21.129] (ralf.mardorf@78.50.21.129 with login) by smtp173.mail.ir2.yahoo.com with SMTP; 13 Feb 2013 03:21:56 +0000 UTC Message-ID: <1360725717.2162.476.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: FreeBSD Questions Date: Wed, 13 Feb 2013 04:21:57 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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, 13 Feb 2013 03:21:59 -0000 -------- Forwarded Message -------- From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Upgrade causes loss of all firefox settings (?) Date: Wed, 13 Feb 2013 00:52:34 +0100 On Wed, 2013-02-13 at 00:47 +0100, Ralf Mardorf wrote: > The best websites are made by people using braille instead of displays. > Sometimes they choose less good color combinations :D, but they usually > are willing to fix it, if you ask them. A blind Linux user's homepage: http://juliencoder.de/ The homepage of my provider: http://www.o2online.de/ What site is more pleasant ;)? From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 05:30:42 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 8BB14F10 for ; Wed, 13 Feb 2013 05:30:42 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by mx1.freebsd.org (Postfix) with ESMTP id 23394B2E for ; Wed, 13 Feb 2013 05:30:41 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id s24so551212vbi.36 for ; Tue, 12 Feb 2013 21:30:35 -0800 (PST) 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=Qc+q/TKIJvw5WCcr4cAwZHlkhw5NwZIo/bePFE+SeZI=; b=R6Ckfy9TJWXNrm36z6Rq/HC7U+lYJ0qDq4D+6B31i70MAhDFSph8qRnGSCIZBlvakU B+Ntk/oZdXuL4moeEU/tu/aZlWxMuGjE89HDP6Qt/69XGP2e/hzc7z7ZsjBq9MZGV5zB EPml6MUeFM7Bg0UkbqNt3ivP1sEkKJDa2r+DjI8ZY549jHdBTW3G2x6vJANMkN9h8IPm oCXfkpbYFC+VxbJ/h+HQsttdZxjQhKoTYaKsiP/6imcf/WxI7E9OA4iVbTinwhXcE3Y2 jLV2QRQJCt5M82Ky7fFLpQt8RO7YxkmvqHlKvVi2QYYUR/Qd7lZUf0QdCWCvLtSnmROt 1e1g== MIME-Version: 1.0 X-Received: by 10.220.149.82 with SMTP id s18mr28169615vcv.14.1360733435554; Tue, 12 Feb 2013 21:30:35 -0800 (PST) Sender: christopher.maness@gmail.com Received: by 10.58.227.162 with HTTP; Tue, 12 Feb 2013 21:30:35 -0800 (PST) In-Reply-To: <511ACAC8.80801@fisglobal.com> References: <511ACAC8.80801@fisglobal.com> Date: Tue, 12 Feb 2013 21:30:35 -0800 X-Google-Sender-Auth: YOeWzH07AueQKBHINC1m2I3Ksxs Message-ID: Subject: Re: Sendmail relaying for Intranet? From: Chris Maness To: david.robison@fisglobal.com 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: Wed, 13 Feb 2013 05:30:42 -0000 On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave wrote: > > On 02/12/2013 12:54, Chris Maness wrote: >> I have a FreeBSD box running sendmail that can see the whole internet. >> I have another mail server that hosts mail for an intranet. It does >> not have access to the i-net. I think I remember reading that it is >> possible for the i-net attached sendmail to relay mail for a domain to >> another host. Is there an easy answer and configuration for this? If >> not, no biggy since this exercise is more academic than a necessity. >> >> Thanks, >> Chris Maness >> _______________________________________________ >> 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" >> >> > > in sendmail.cf on the host to be your relay, check for "DS" and use it > like this: > > DS relayhost.domain.com > > in sendmail.cf on the hosts which will be relaying, use the DS command > but point them to your new relay host. > > hope this helps. > > Dave Dave, how would I add this to the MC file instead of the CF file? I usually rebuild these after an upgrade or a configuration change, and I would rather do it in the MC file for that reason. Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 07:55: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 21BFAD2A for ; Wed, 13 Feb 2013 07:55:21 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id C8908EA for ; Wed, 13 Feb 2013 07:55:19 +0000 (UTC) Received: from kw.news4all.se (usenet4all.se [82.182.32.53]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r1D7okcY046198; Wed, 13 Feb 2013 08:50:53 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <511B45C9.4050201@bananmonarki.se> Date: Wed, 13 Feb 2013 08:50:33 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Chris Maness Subject: Re: Sendmail relaying for Intranet? References: <511ACAC8.80801@fisglobal.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: david.robison@fisglobal.com, 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, 13 Feb 2013 07:55:21 -0000 2013-02-13 06:30, Chris Maness skrev: > On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave > wrote: >> >> On 02/12/2013 12:54, Chris Maness wrote: >>> I have a FreeBSD box running sendmail that can see the whole internet. >>> I have another mail server that hosts mail for an intranet. It does >>> not have access to the i-net. I think I remember reading that it is >>> possible for the i-net attached sendmail to relay mail for a domain to >>> another host. Is there an easy answer and configuration for this? If >>> not, no biggy since this exercise is more academic than a necessity. >>> >>> Thanks, >>> Chris Maness >>> >>> >> >> in sendmail.cf on the host to be your relay, check for "DS" and use it >> like this: >> >> DS relayhost.domain.com >> >> in sendmail.cf on the hosts which will be relaying, use the DS command >> but point them to your new relay host. >> >> hope this helps. >> >> Dave > > Dave, how would I add this to the MC file instead of the CF file? I > usually rebuild these after an upgrade or a configuration change, and > I would rather do it in the MC file for that reason. > > Thanks, > Chris Maness Look in /etc/mail/your-hosts-name.mc for this line dnl define(`SMART_HOST', `your.isp.mail.server') on your intranet machine and put in your inet machine name. You also need to edit /etc/mail/access on your relay to allow to relay for your itranet machine. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 08:47:22 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 A7017B40 for ; Wed, 13 Feb 2013 08:47:22 +0000 (UTC) (envelope-from peter@aboutsupport.com) Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) by mx1.freebsd.org (Postfix) with ESMTP id 143EA31F for ; Wed, 13 Feb 2013 08:47:21 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id ik5so421814bkc.24 for ; Wed, 13 Feb 2013 00:47:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.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 :x-gm-message-state; bh=8ZOoprk/CIzbYzY8gBEDbHp9J943GYdNGw0UWvbT4qU=; b=dx3F4PmiFBFOI4T+x7Tex1+d5BXA02cvQE/Dy59T8rZvUCq107Z9G66Xil4aluuz12 E2Z01NyWDEtaHimjIf7QZNE0TLAm/B+Z9aNEQxTbqCgB3fBuQbA5brqATap4nMWTJ3Yn 62Yo/XLMiaR8MkJ5bjvsDgyTh2kaxmEmr9p9SVkTZdMJKG1PwF8CiABQe/NiVeQ1ETca WHDbaAhlVNdeFAk9b5tdETEMF/6oS6mL0VFQLEhCkOjVv/otGQZT0r353t404PYHB3op 7gMMfUKgQf6C5mwv3EvrDzOA/BDj/lW2M2gCUtkEmx7e+Agh1W6zoWs9KGzqW97eMAz7 BAiA== X-Received: by 10.204.157.150 with SMTP id b22mr6208818bkx.121.1360745234634; Wed, 13 Feb 2013 00:47:14 -0800 (PST) Received: from [10.30.1.168] ([95.87.193.58]) by mx.google.com with ESMTPS id ge12sm15226166bkc.19.2013.02.13.00.47.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 00:47:12 -0800 (PST) Message-ID: <511B530E.1050302@aboutsupport.com> Date: Wed, 13 Feb 2013 10:47:10 +0200 From: "Zyumbilev, Peter" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Sendmail relaying for Intranet? References: <511ACAC8.80801@fisglobal.com> <511B45C9.4050201@bananmonarki.se> In-Reply-To: <511B45C9.4050201@bananmonarki.se> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnu521GF3ddd9OtvXnNAqhqZvHokv33CBcnZK/PFS2kiCEahjCyqNTVh+Usf8BVtrnN+bqf 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, 13 Feb 2013 08:47:22 -0000 On 13/02/2013 09:50, Bernt Hansson wrote: > dnl define(`SMART_HOST', `your.isp.mail.server') > on your intranet machine and put in your inet machine name. > Switching to postfix and editing mynetworks in main.cf might be simplest solution. Peter From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 10:39:52 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 76AC8F0F for ; Wed, 13 Feb 2013 10:39:52 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-f47.google.com (mail-qe0-f47.google.com [209.85.128.47]) by mx1.freebsd.org (Postfix) with ESMTP id 3F3C09D8 for ; Wed, 13 Feb 2013 10:39:51 +0000 (UTC) Received: by mail-qe0-f47.google.com with SMTP id 2so457746qea.6 for ; Wed, 13 Feb 2013 02:39:45 -0800 (PST) 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=v9/MhiGAAV+QVzMNVXFJBVdq4g0kq6YJ5NBfXq25KdE=; b=KSP1dog3qmCAnkc6cUTOPZlLqvZdwZm0wyIFoeAfwITbz9Jy/DXcbq95/fiV4Kms26 ValVTNGYAzJszRNlTtA6xnL8Ee0RH0xgbHGDIeCE2mNByRVM8Bz50Yq2R6aYVZkRhnNl JfQs2quSJ4ct+niWskbScJMvGM7dBaJ9uCJFq+svDEM9uUaqhfw6QU4nfezL07eB9Miq wyKCr9Aj0DrPlG3JYzwqJ70ff4Bg+af/8QT0nKqP4Dg3OuYwWoMBmW2B+DqBqTVcaxjg bg/2p8HHELxA08RIhJpTTF4IGqbPF9JjY8JSTKTH8DK3FdMqeN3MjN/ySmnFwWNM06PX EhNw== MIME-Version: 1.0 X-Received: by 10.49.127.238 with SMTP id nj14mr9636343qeb.9.1360751984848; Wed, 13 Feb 2013 02:39:44 -0800 (PST) Sender: tomek.cedro@gmail.com Received: by 10.49.71.204 with HTTP; Wed, 13 Feb 2013 02:39:44 -0800 (PST) In-Reply-To: <511B6C6D.5010805@bananmonarki.se> References: <1360725717.2162.476.camel@precise> <511B6C6D.5010805@bananmonarki.se> Date: Wed, 13 Feb 2013 11:39:44 +0100 X-Google-Sender-Auth: 2kHYEpn_2tuAR5EgS6li2Xr8HlA Message-ID: Subject: Re: Upgrade causes loss of all firefox settings (?) From: CeDeROM To: Bernt Hansson Content-Type: text/plain; charset=UTF-8 Cc: Ralf Mardorf , 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, 13 Feb 2013 10:39:52 -0000 On Wed, Feb 13, 2013 at 11:35 AM, Bernt Hansson wrote: >> A blind Linux user's homepage: http://juliencoder.de/ >> The homepage of my provider: http://www.o2online.de/ >> What site is more pleasant ;)? > The first one. Agree, it contains more information than the second one which is picture-flash based and I cannot see ~80% of its content :-) Anyway the best thing in BSD is that you can do ANYTHING from the commandline with a simple command set, including full system configuration, package creation, kernel build, etc :-) Best regards :-) Tomek Cedro -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 12:23: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 E0F8D24F for ; Wed, 13 Feb 2013 12:23:09 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm21-vm5.bullet.mail.ird.yahoo.com (nm21-vm5.bullet.mail.ird.yahoo.com [212.82.109.245]) by mx1.freebsd.org (Postfix) with SMTP id 222F9E90 for ; Wed, 13 Feb 2013 12:23:08 +0000 (UTC) Received: from [77.238.189.52] by nm21.bullet.mail.ird.yahoo.com with NNFMP; 13 Feb 2013 12:23:01 -0000 Received: from [46.228.39.5] by tm5.bullet.mail.ird.yahoo.com with NNFMP; 13 Feb 2013 12:23:01 -0000 Received: from [127.0.0.1] by smtp198.mail.ir2.yahoo.com with NNFMP; 13 Feb 2013 12:23:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1360758181; bh=PKE1MH2I8qNvRikG7QhnkpTb4eQG1lALo7tROtZrb3s=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=pC2YGmrsd+qSPSKBuEECHydz5L6fN5+drErPpRi4Dj5vke75dLA81MwLddlmyUide3EqEIBPL8dGvx6P6ezR94IN0bRrCiqtitbhz6xBxW+uQXihkYyY+2GKmHqMu5nYNbT1aaikK9NymjVhvSxi0A4IzwLlnArSrNvdlOzMeIk= X-Yahoo-Newman-Id: 867118.97637.bm@smtp198.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: FSqvMb4VM1n1aJEgRJjuFLoktNFC8WiOtxvnsmkI7an7t6I YAGfhGcjPZHopipPZuVBhDgAeYMJD83XAVjgBn2g4FSiSDfEpY5Ik4cquSal rAORBWPvrwbYhql4u0HB94uJqshKwq61MdVH43nlYOQht3QZSNiAOtBuVr6i hYtsSUr3.ggVGEFwfv78CeQy8M2bQm63UmiSUQfWaylBnIAxAewY_Nsqg6xo 9d9t0RtYh8sFKcpVpD1VICr_0SoJ8Xxml25L16lXmpxLO7Xarknr9qK8pMWF L4K.okBLsz0HtuEQx5akVtf6G28kbfXn6A8h_H9f78DcxFtcL0Sv5rXTQUYB Wh15VNYykS9P11PwXKTAz8VTjBO3mSV0j5C94NLt62J5sUDvG5u3br1pyF2q fqLxfmpyGeFU7fSrBhxrmSgqCFAhfCDXu7va4Ps.tWsUj0g-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.224.209.122] (ralf.mardorf@92.224.209.122 with login) by smtp198.mail.ir2.yahoo.com with SMTP; 13 Feb 2013 12:23:01 +0000 UTC Message-ID: <1360758181.2162.585.camel@precise> Subject: OT: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Wed, 13 Feb 2013 13:23:01 +0100 In-Reply-To: References: <1360725717.2162.476.camel@precise> <511B6C6D.5010805@bananmonarki.se> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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, 13 Feb 2013 12:23:09 -0000 On Wed, 2013-02-13 at 11:39 +0100, CeDeROM wrote: > Agree, it contains more information than the second one which is > picture-flash based and I cannot see ~80% of its content :-) And the biggest evil is, that those web pages hide important things and they don't add a site map. I can't find the current location to download the bill and already clicked through billions of advertisings, that are nothing but a PITA. No FreeBSD browser and no Linux browser until now is able to open mails by the interface of the homepage, if I try to contact them, by their contact forms, I'm linked to the logout. In the past it already was hard to download the bill. No action for a click and right click, to download was banned. I had to close and open several browsers, to log out and in, out and in ... and when doing this for half an hour I was able to download the bill. Since I've got VBox with XP for a while, next time I'll test to access the homepage with XP. Regards, Ralf PS: Regarding to the topic: Does renaming the config dir work? From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 13:16: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 1F2BF163 for ; Wed, 13 Feb 2013 13:16:26 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from avasout04.plus.net (avasout04.plus.net [212.159.14.19]) by mx1.freebsd.org (Postfix) with ESMTP id 6FA06187 for ; Wed, 13 Feb 2013 13:16:24 +0000 (UTC) Received: from [192.168.1.66] ([87.113.172.39]) by avasout04 with smtp id zpDD1k0030rMYPr01pDEc1; Wed, 13 Feb 2013 13:13:14 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=XeZXOvF5 c=1 sm=1 a=PFg9pFxu28AuAiJTKaI4bA==:17 a=4GJ18hCH1OEA:10 a=V_B-1Jk2TdsA:10 a=bqiUJ5Fudr4A:10 a=8nJEP1OIZ-IA:10 a=ZGU_gRTiAAAA:8 a=S7u2rHA8z3gA:10 a=6I5d2MoRAAAA:8 a=jCtTkKb4PqQP_XM6pj0A:9 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 a=PFg9pFxu28AuAiJTKaI4bA==:117 Message-ID: <511B9169.6060907@onetel.com> Date: Wed, 13 Feb 2013 13:13:13 +0000 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111228 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Upgrade causes loss of all firefox settings (?) References: <49865.1360705091@server1.tristatelogic.com> In-Reply-To: <49865.1360705091@server1.tristatelogic.com> 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, 13 Feb 2013 13:16:26 -0000 On 12/02/2013 21:38, Ronald F. Guilmette wrote: > > In general, I don't upgrade my ports very often, so up until recently > I was running a fairly old version of firefox (firefox-15.0.1,1). > > But over the weekend, I moved everything over to a new drive > containing the latest 9.1-RELEASE FreeBSD, and with a complete set > of freshly rebuilt ports, including the latest firefox 18.0.1. > (As part of this process, I copied my entire /home directory over > to the new drive.) > > So anway, mostly everything is still working ok, however at some > time during this process, firefox apparently lost track of all > of my personal settings... my start page, all of my bookmarks, > and all of my saved web site user IDs an passwords. > > I looked in the /usr/ports/UPDATING file for some clue as to why > this might have happened and found none. > > Looking into this issue a bit deeper, I've now learned that all of > one's personal settings are stored in a directory having a name which > has the following general form: > > ~/.mozilla/firefox/????????.default > > where the "????????" part is some eight character apparently random > combination of lower case letters and digits. > > The odd thing is that it appears that all of my old firefox setting > are still alive and well and living under a subdirectory of the > ~/.mozilla/firefox directory called "4up9dkb1.default". However it > does also appear that my execution of firefox, for the first time, on > this new system I've been putting together has resulted in the creation > of a brand new parallel subdirectory, located in the same directory as > my original personal settings .default directory, but this new one is > named "nh2ykiym.default". And now, firefox is apparently saving and > retrieving my (new set of) personal settings out of that new directory. > > So, um, what gives? Why did this happen? And more to the point, > can I get back all of my personal settings just via the following > seemingly intutive commands: > > rm -fr nh2ykiym.default > mv 4up9dkb1.default nh2ykiym.default > > or will that break something else in some obscure but annoying way? Is there a file .mozilla/firefox/profiles.ini? If so it should list which profile to use. Just change it to the one you want and it should just work. I'm using an older version so don't know how the latest works Chris > > > Regards, > rfg > _______________________________________________ > 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 Feb 13 13:25: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 DFD0F35F for ; Wed, 13 Feb 2013 13:25:56 +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 A5BD91DC for ; Wed, 13 Feb 2013 13:25:56 +0000 (UTC) Received: from [89.204.135.145] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1U5cLM-00027M-OL for freebsd-questions@freebsd.org; Wed, 13 Feb 2013 14:25:49 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r1DDPkRr002121 for ; Wed, 13 Feb 2013 14:25:47 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r1DDPkxT002120 for freebsd-questions@freebsd.org; Wed, 13 Feb 2013 14:25:46 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 13 Feb 2013 14:25:46 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: baresip: SIP call connects but no video Message-ID: <20130213132545.GA2111@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.145 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: Wed, 13 Feb 2013 13:25:56 -0000 Hello, I run baresip v0.4.0 on FreeBSD 10-CURRENT. I'd like to phone to one of our SIP conference rooms and this works fine concerning audio, but no video; the local video loop works fine; while calling it says: ... connecting to 'sip:xxxxxxxx@oclc.org'.. SIP Progress: 100 Trying () SIP Progress: 180 Ringing () oss init: 16 bit 8000 Hz 1 ch, blocksize=128 Set audio encoder: PCMA 8000Hz 1ch Set audio decoder: PCMA 8000Hz 1ch oss init: 16 bit 8000 Hz 1 ch, blocksize=128 oss init: 16 bit 8000 Hz 1 ch, blocksize=128 Enable telephone-event: pt_tx=101, pt_rx=101 video stream is disabled.. mapitz@iptel.org: Call established: sip:xxxxxxxx@oclc.org Any idea what is missing? Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 13:35: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 DB43D636 for ; Wed, 13 Feb 2013 13:35:40 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm25-vm2.bullet.mail.ird.yahoo.com (nm25-vm2.bullet.mail.ird.yahoo.com [212.82.109.203]) by mx1.freebsd.org (Postfix) with SMTP id 1321D261 for ; Wed, 13 Feb 2013 13:35:39 +0000 (UTC) Received: from [77.238.189.57] by nm25.bullet.mail.ird.yahoo.com with NNFMP; 13 Feb 2013 13:35:38 -0000 Received: from [46.228.39.78] by tm10.bullet.mail.ird.yahoo.com with NNFMP; 13 Feb 2013 13:35:38 -0000 Received: from [127.0.0.1] by smtp115.mail.ir2.yahoo.com with NNFMP; 13 Feb 2013 13:35:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1360762538; bh=5bAr8IrVRbt7u4JqEs1O1QQor5iufZ0AgJU4WLI+/2w=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=2MR5ZPDfGNgMkbvELFmhusCv6E0wm3DpNdnKWB1PgFzd5aLPb0ldZWXNvWmmTWmOabdtSbu9/r6wDvflKTLIN/2axGWMDeKeSYQOGjY5YUAo1f0QF4nM88CYR7wapAGTRP1sRypc1nE3o8J6oGacfpwqvjEItFlGyRseLqDClzA= X-Yahoo-Newman-Id: 418533.20920.bm@smtp115.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: CIoGE3sVM1kYGygGZhf0C6KK5fazrTzftbt1ewR0Lzut5wV JSVQFvTQXX86UFwHdUwSjGxHSEsNKD4hbrRrm6Y7hquk1w2CAA6uSO6sPKEq X81LrLXOqMrvMA5TNiuCLaNC10Okm5w63aBkGxNzMBYqLVDQH41n4ESTdHjp IDNCYkx46j6QauKF.NvqsBs3F._jOr7TWwf5YSeD7ff74qD96AvrPEMFNmY8 EPIrxKRSxmQ4x_looNk0HUJ6PrTtRLjZS__5Aiy9NwraYmgccCUxGG4L53vH UftEgCXFRKtVgRF3C9UVzmUArNmYG.bv5_0paLTM1T9o9KVBGvLfWEJtijxs 9.TFFwNTjZ2ob0pIOGY45zWUScHszNR5kHkY1E3RnLECGTlGHGCPann5d9WU 1PzpeX8Aw338rbzmY1teOk94K5fOtf5A._EfqQBATJIPLbQ-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.224.209.122] (ralf.mardorf@92.224.209.122 with login) by smtp115.mail.ir2.yahoo.com with SMTP; 13 Feb 2013 13:35:38 +0000 UTC Message-ID: <1360762537.2162.612.camel@precise> Subject: Re: Upgrade causes loss of all firefox settings (?) From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Wed, 13 Feb 2013 14:35:37 +0100 In-Reply-To: <511B9169.6060907@onetel.com> References: <49865.1360705091@server1.tristatelogic.com> <511B9169.6060907@onetel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 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, 13 Feb 2013 13:35:40 -0000 On Wed, 2013-02-13 at 13:13 +0000, Chris Whitehouse wrote: > Is there a file .mozilla/firefox/profiles.ini? If so it should list > which profile to use. Just change it to the one you want and it > should > just work. > > I'm using an older version so don't know how the latest works Good point Chris! I've forgotten, that there is such a file, when using profiles. Btw. they are formated like this: spinymouse@precise:~$ ls -l /mnt/archlinux/home/spinymouse/.mozilla/firefox total 8 lrwxrwxrwx 1 spinymouse users 18 Dec 13 2011 archfox -> /mnt/data2/archfox drwx------ 13 spinymouse users 4096 Oct 31 15:11 ndos9d6q.default -rw-r--r-- 1 spinymouse users 143 Apr 18 2012 profiles.ini spinymouse@precise:~$ cat /mnt/archlinux/home/spinymouse/.mozilla/firefox/profiles.ini [General] StartWithLastProfile=1 [Profile0] Name=d IsRelative=1 Path=ndos9d6q.default Default=1 [Profile1] Name=x IsRelative=1 Path=archfox From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 15:58:18 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 132B3B87 for ; Wed, 13 Feb 2013 15:58:18 +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 8D145B48 for ; Wed, 13 Feb 2013 15:58:17 +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 r1DFw9Ke026438 for ; Wed, 13 Feb 2013 15:58:09 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <511BB811.3050301@qeng-ho.org> Date: Wed, 13 Feb 2013 15:58:09 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130112 Thunderbird/17.0.2 MIME-Version: 1.0 To: FreeBSD-Questions Subject: pkg -c/pkg -j question 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, 13 Feb 2013 15:58:18 -0000 A question for pkgng gurus. When using pkg -c or pkg -j to work within chroots or jails, how much of the pkg infrastructure needs to be present in the chroot/jail? The reason I ask is because I'm thinking of building a server which has all services running in jails, with the necessary packages being manipulated from above. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 16:10: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 EBA516B9 for ; Wed, 13 Feb 2013 16:10:12 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 8B23DD32 for ; Wed, 13 Feb 2013 16:10:12 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r1DG9vAu051872 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 13 Feb 2013 16:10:03 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.7.4 smtp.infracaninophile.co.uk r1DG9vAu051872 Authentication-Results: smtp.infracaninophile.co.uk/r1DG9vAu051872; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <511BBAD3.30707@freebsd.org> Date: Wed, 13 Feb 2013 16:09:55 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg -c/pkg -j question References: <511BB811.3050301@qeng-ho.org> In-Reply-To: <511BB811.3050301@qeng-ho.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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, 13 Feb 2013 16:10:13 -0000 On 13/02/2013 15:58, Arthur Chance wrote: > A question for pkgng gurus. When using pkg -c or pkg -j to work within > chroots or jails, how much of the pkg infrastructure needs to be present > in the chroot/jail? > > The reason I ask is because I'm thinking of building a server which has > all services running in jails, with the necessary packages being > manipulated from above. You need /bin/sh in each jail for pkg to be able to workout what ${ABI} should be. You need /var/db/pkg and /var/cache/pkg available and writable in the jail / chroot (ie. relative to the chroot or root of the jail) That's basically it. You might run into problems running some package scripts if you're trying to manage a chroot designed for a very different CPU arch / OS version than your system is running: this is something we haven't really put much thought into yet. Cheers, Matthew PS. This sort of question is what the new freebsd-pkg@freebsd.org list is for. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 18:27: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 539EA105 for ; Wed, 13 Feb 2013 18:27:09 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1996C792 for ; Wed, 13 Feb 2013 18:27:08 +0000 (UTC) Received: from [10.219.130.158] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.6/8.14.6) with ESMTP id r1DIQnm4062734 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 13 Feb 2013 12:26:50 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <511BDB13.3060005@tundraware.com> Date: Wed, 13 Feb 2013 12:27:31 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Fun Scripting Problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Wed, 13 Feb 2013 12:26:50 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r1DIQnm4062734 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 18:27:09 -0000 I know how to do this in Python, but I really want to do it in straight Bourne shell. I have some ideas, but I thought I'd give you folks a crack at this Big Fun: a) You have a directory of files - say they're logs - generated at nondeterministic intervals. You may get more than one a day, more than one a month, none, or hundreds. b) To conserve space, you want to keep the last file generated in any given month (the archive goes back for an unspecified number of years), and delete all the files generated prior to that last file in that same month. c) Bonus points if the problem is solved generally for either files or directories generated as described above. These are not actually logs, and no, I don't think logrotate can do this ... or can it? -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 18:38: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 B77946C6 for ; Wed, 13 Feb 2013 18:38:16 +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 860BC89A for ; Wed, 13 Feb 2013 18:38:16 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id r1DIc27k027754 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 13 Feb 2013 12:38:02 -0600 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, 13 Feb 2013 12:38:02 -0600 From: "Teske, Devin" To: "tundra@tundraware.com" , FreeBSD Mailing List Subject: RE: Fun Scripting Problem Thread-Topic: Fun Scripting Problem Thread-Index: AQHOChfBzbvBJIo1q0Kp9nzhj7vVjph4HZg0 Date: Wed, 13 Feb 2013 18:38:01 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA7EBB@ltcfiswmsgmb21> References: <511BDB13.3060005@tundraware.com> In-Reply-To: <511BDB13.3060005@tundraware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-13_03:2013-02-13,2013-02-13,1970-01-01 signatures=0 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, 13 Feb 2013 18:38:16 -0000 (apologies for top-post) As tempted as I am, I think newsyslog(8) may be what you want. Missing information in your post is how you intend to timestamp the files -= - by filename? by content? If by-content, then is it a good assumption that= the data is one entry per-line? ... and if-so, is the timestamp in that li= ne? These are all questions that would be needed to script what you're aski= ng for (not that I'm volunteering or anything like that). --=20 Devin ________________________________________ From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.= org] on behalf of Tim Daneliuk [tundra@tundraware.com] Sent: Wednesday, February 13, 2013 10:27 AM To: FreeBSD Mailing List Subject: Fun Scripting Problem I know how to do this in Python, but I really want to do it in straight Bourne shell. I have some ideas, but I thought I'd give you folks a crack at this Big Fun: a) You have a directory of files - say they're logs - generated at nondeterministic intervals. You may get more than one a day, more than one a month, none, or hundreds. b) To conserve space, you want to keep the last file generated in any given month (the archive goes back for an unspecified number of years), and delete all the files generated prior to that last file in that same month. c) Bonus points if the problem is solved generally for either files or directories generated as described above. These are not actually logs, and no, I don't think logrotate can do this ... or can it? -- ----------------------------------------------------------------------- Tim Daneliuk _______________________________________________ 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" _____________ 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 Feb 13 18:53: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 17D4E9CA for ; Wed, 13 Feb 2013 18:53:05 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id D4ECB946 for ; Wed, 13 Feb 2013 18:53:04 +0000 (UTC) Received: from [10.219.130.158] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.6/8.14.6) with ESMTP id r1DIqqV5063272 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 13 Feb 2013 12:52:52 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <511BE12C.204@tundraware.com> Date: Wed, 13 Feb 2013 12:53:32 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Fun Scripting Problem References: <511BDB13.3060005@tundraware.com> <13CA24D6AB415D428143D44749F57D7201EA7EBB@ltcfiswmsgmb21> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EA7EBB@ltcfiswmsgmb21> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Wed, 13 Feb 2013 12:52:53 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r1DIqqV5063272 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 18:53:05 -0000 On 02/13/2013 12:38 PM, Teske, Devin wrote: > (apologies for top-post) > > As tempted as I am, I think newsyslog(8) may be what you want. > > Missing information in your post is how you intend to timestamp the files -- by filename? by content? If by-content, then is it a good assumption that the data is one entry per-line? ... and if-so, is the timestamp in that line? These are all questions that would be needed to script what you're asking for (not that I'm volunteering or anything like that). > The only way to determine the date of the file is by looking at its stat info. There is nothing the file name or content that could be used to infer this. -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 19:07: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 D6A83B54 for ; Wed, 13 Feb 2013 19:07:20 +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 A69359C0 for ; Wed, 13 Feb 2013 19:07:20 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id D018633C1D; Wed, 13 Feb 2013 14:07:14 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 922E939843; Wed, 13 Feb 2013 14:07:13 -0500 (EST) From: Lowell Gilbert To: tundra@tundraware.com Subject: Re: Fun Scripting Problem References: <511BDB13.3060005@tundraware.com> <13CA24D6AB415D428143D44749F57D7201EA7EBB@ltcfiswmsgmb21> <511BE12C.204@tundraware.com> Date: Wed, 13 Feb 2013 14:07:13 -0500 In-Reply-To: <511BE12C.204@tundraware.com> (Tim Daneliuk's message of "Wed, 13 Feb 2013 12:53:32 -0600") Message-ID: <44pq04f2xq.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD 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, 13 Feb 2013 19:07:20 -0000 Tim Daneliuk writes: > On 02/13/2013 12:38 PM, Teske, Devin wrote: >> (apologies for top-post) >> >> As tempted as I am, I think newsyslog(8) may be what you want. >> >> Missing information in your post is how you intend to timestamp the >> files -- by filename? by content? If by-content, then is it a good >> assumption that the data is one entry per-line? ... and if-so, is >> the timestamp in that line? These are all questions that would be >> needed to script what you're asking for (not that I'm volunteering >> or anything like that). >> > > The only way to determine the date of the file is by looking at its > stat info. There is nothing the file name or content that could > be used to infer this. Well, you can use stat to output the year, month, timestamp, and file name in a fixed format for all of the files, sort them, and then cycle through the list, deleting every file that has a year and month that are the same as the following one in the list. The looping can be done with sh "read" or with sed. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 20:35:44 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 E9D7623A for ; Wed, 13 Feb 2013 20:35:44 +0000 (UTC) (envelope-from jguojun@sbcglobal.net) Received: from nm29.access.bullet.mail.mud.yahoo.com (nm29.access.bullet.mail.mud.yahoo.com [66.94.237.94]) by mx1.freebsd.org (Postfix) with ESMTP id 7D274E11 for ; Wed, 13 Feb 2013 20:35:44 +0000 (UTC) Received: from [66.94.237.200] by nm29.access.bullet.mail.mud.yahoo.com with NNFMP; 13 Feb 2013 20:35:38 -0000 Received: from [66.94.237.103] by tm11.access.bullet.mail.mud.yahoo.com with NNFMP; 13 Feb 2013 20:35:38 -0000 Received: from [127.0.0.1] by omp1008.access.mail.mud.yahoo.com with NNFMP; 13 Feb 2013 20:35:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 10463.4050.bm@omp1008.access.mail.mud.yahoo.com Received: (qmail 29374 invoked by uid 60001); 13 Feb 2013 20:35:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1360787737; bh=sWN8kWQtWn6QDU3Iu197tlPb92RcWHEk9cIXpxJ5stM=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=QHMYcqtghaRTCELFuv/v8ktTpB4xA8byUm7Z/t5RcDJAUTT4ittAMMAjA65gkEWFru2wb/VBJ3WpmW8RwDiPvWeP/gz0q2xMg+rnGLmoQhtEq/6oZ3pAVbzRY/Za7rWt3heoY/jH9+9HciPJ96Kmas80zGDMcBZTJosvh47CGlI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=yR6daj3ic8JdP3yJcp2lLxRs+OgE9xK+QbzLhNTHnhDUh2K7Utu/TATDotANdbnqMWELHJrMQA0EGz/Q4p6VO/hOdiIphJRW9Ou1EeL4/4f9GdpHNp708yyBZRP6KlLzgGpPpEjdxKRIiwB7/phXU6rfW7aeZZwcaV+2egJBQ7c=; X-YMail-OSG: IimH9WIVM1mVc39LSk7WD6wH5__ujH9r12.ux29O2nt_S8h oSVjFjHx6Q_LoTx6FlYRtl11jUzjUXmAaxGF2k9VvPHNeSyMOeEK1lAZhpf1 Pg_odIBI00Pv2IADRWtbVeLk7EEWJDDLecBvEgyOaPwJWZbCIalZmOYDP8NO .iH545uyQ0znXRQ_F6AcHiHdvHqKCWAlGsQFNzALJ62.7.3jO4oXOs1u8bDK d4ms5ntsR58423xvIPGvm.PkhqANZABPsbaLZ.rXWO6zobaO.liOQgcwII6X PnaqfygXdVDvsjLGawQBbehxe.GxgOE4JZLpzslno76mFwYHx5UBDlrO4E1O aJkoAyxNFxrF9EeN1NNOcTWNBCeDjXD1vT41mOGTclhneM8QXUd5pqfA7cXE QTAPQzN0iHk3PKcrgFPINzwC4T0irv3LysDlTXs5irHOLqz..r2nFSCO4Ljt qzYWqceIDc14LzMCEKeQ52msbTqGjro0RGvQuEKG1mhvL9vCBJoA_okcSC9S Z4vi0_LKr310gVekNAD28lginxx2Ruwvqe3cY4X4HEwCClftg2qTb3RwvGF9 4YV5sNRDmFzMv4TC7vRtGY4QgV6JIwzMrBjMqRvaNz1zLgoN5n5vn66wRqXG 7HINa.HTG68hdMf84A7AmB74lNtR9fczxlndh1RKNDp2bnbhON3HwyoFOLvI 46SwntZdpGjazZyK3A5HbvGwFkAptlIpf31CNwCZXhZfFuEorD5P13fkVsFa b_ZKLQ5AYJgyrkOR9870- Received: from [199.106.103.55] by web180906.mail.ne1.yahoo.com via HTTP; Wed, 13 Feb 2013 12:35:37 PST X-Rocket-MIMEInfo: 001.001, VGhpcyBpcyA4LjMtUmVsZWFzZSBvbiBhIEhQIEVsaXRlQm9vayA4NDYwcCAoNC1jb3JlIGk1KSB3aXRoIGFuIG9uIGJvYXJkIEludGVsIAooZW0wKSBpbnRlcmZhY2UuCldoZW4gYXR0YWNoZWQgYSBUcmVuZGVudCBUVTItRVQxMDAgVVNCIEV0aGVyIGRvbmdsZSBmb3IgYSBzZWNvbmQgaW50ZXJmYWNlLCBpdCAKaGFzIG5vIHByb2JsZW0gdG8gdGFsayB0byB0aGUgbG9jYWwgbmV0d29yayAoMTAuMjM0LjM3LjAvMjQpLCBidXQgaXQgaGFzIHByb2JsZW0gCnRvIHRhbGsgdG8gYSByZW1vdGUgbmV0d29yayBvciABMAEBAQE- X-Mailer: YahooMailRC/718 YahooMailWebService/0.8.133.508 Message-ID: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> Date: Wed, 13 Feb 2013 12:35:37 -0800 (PST) From: Jin Guojun Subject: Why ue0 do ARP on non local address when using static route? To: questions freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 20:35:45 -0000 This is 8.3-Release on a HP EliteBook 8460p (4-core i5) with an on board Intel (em0) interface. When attached a Trendent TU2-ET100 USB Ether dongle for a second interface, it has no problem to talk to the local network (10.234.37.0/24), but it has problem to talk to a remote network or host (10.227.148.0/24) via eu0 interface. When a remote host ping this host or this host ping that remote host, ARP request is always showing up. A static route is set and remote host is no part of the local sub net, why ARP is going on? Is any sysctl parameter can fix this problem? -Jin Internet: Destination Gateway Flags Refs Use Netif Expire default 10.234.16.1 UGS 0 2841993 em0 10.227.148.52 10.234.37.80 UHS 0 26 ue0 10.234.16.0/22 link#1 U 0 0 em0 10.234.17.41 link#1 UHS 0 0 lo0 10.234.37.0/24 link#8 U 0 3 ue0 10.234.37.80 link#8 UHS 0 0 lo0 127.0.0.1 link#7 UH 0 492 lo0 ue0: flags=8843 metric 0 mtu 1500 options=80008 ether 00:50:b6:00:a4:91 inet 10.234.37.80 netmask 0xffffff00 broadcast 10.234.37.255 media: Ethernet autoselect (100baseTX ) status: active ping from 10.227.148.52 12:16:37.924425 IP 10.227.148.52 > 10.234.37.80: ICMP echo request, id 21002, seq 1, length 64 12:16:37.924442 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:16:38.931919 IP 10.227.148.52 > 10.234.37.80: ICMP echo request, id 21002, seq 2, length 64 12:16:38.931937 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:16:39.931662 IP 10.227.148.52 > 10.234.37.80: ICMP echo request, id 21002, seq 3, length 64 12:16:39.931680 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:16:40.931656 IP 10.227.148.52 > 10.234.37.80: ICMP echo request, id 21002, seq 4, length 64 12:16:40.931674 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:16:41.931519 IP 10.227.148.52 > 10.234.37.80: ICMP echo request, id 21002, seq 5, length 64 12:16:41.931533 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:16:42.931643 IP 10.227.148.52 > 10.234.37.80: ICMP echo request, id 21002, seq 6, length 64 ping to 10.227.148.52 12:16:42.931661 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:16:59.724724 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:17:00.725715 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:17:01.725883 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:17:02.726690 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 12:17:03.727677 ARP, Request who-has 10.227.148.52 tell 10.234.37.80, length 28 ^C 45 packets captured 1557 packets received by filter From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 21:08: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 EEED5A62 for ; Wed, 13 Feb 2013 21:08:43 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6E759F5F for ; Wed, 13 Feb 2013 21:08:42 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id r1DLD6DX003167; Wed, 13 Feb 2013 15:13:06 -0600 (CST) Date: Wed, 13 Feb 2013 15:13:06 -0600 (CST) From: Robert Bonomi Message-Id: <201302132113.r1DLD6DX003167@mail.r-bonomi.com> To: tundra@tundraware.com Subject: Re: Fun Scripting Problem In-Reply-To: <511BDB13.3060005@tundraware.com> 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, 13 Feb 2013 21:08:44 -0000 > Date: Wed, 13 Feb 2013 12:27:31 -0600 > From: Tim Daneliuk > Subject: Fun Scripting Problem > > I know how to do this in Python, but I really want to do it in > straight Bourne shell. I have some ideas, but I thought I'd > give you folks a crack at this Big Fun: > > a) You have a directory of files - say they're logs - generated > at nondeterministic intervals. You may get more than one a day, > more than one a month, none, or hundreds. > > b) To conserve space, you want to keep the last file generated > in any given month (the archive goes back for an unspecified > number of years), and delete all the files generated prior to > that last file in that same month. > > c) Bonus points if the problem is solved generally for either files > or directories generated as described above. > > These are not actually logs, and no, I don't think logrotate can > do this ... or can it? here's a one-liner: rm ` \ stat -f "%SB %B %N" * \ | sort -k5nr \ | cut -c1-7,17-20,32- \ | awk 'BEGIN {a="";b=0;c=0} $1==a && $2==b && $3=c {print $4;}{a=$1;b=$2;c=$3}' \ ` This selects on creation date. change the B (both of them) in the stat call to use a different timestamp From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 21:26:55 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 8F43D411 for ; Wed, 13 Feb 2013 21:26:55 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 74391B6 for ; Wed, 13 Feb 2013 21:26:54 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 7F13D3B235 for ; Wed, 13 Feb 2013 13:26:43 -0800 (PST) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Re: Upgrade causes loss of all firefox settings (?) In-Reply-To: Date: Wed, 13 Feb 2013 13:26:43 -0800 Message-ID: <56403.1360790803@server1.tristatelogic.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, 13 Feb 2013 21:26:55 -0000 In message CeDeROM wrote: >On Tue, Feb 12, 2013 at 10:38 PM, Ronald F. Guilmette > wrote: >> Looking into this issue a bit deeper, I've now learned that all of >> one's personal settings are stored in a directory having a name which >> has the following general form: >> ~/.mozilla/firefox/????????.default > >Hey Ronald, are you sure there is no corruption on the disk? I have no reason whatsoever to suspect that there is. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 21:42:11 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 6BE2E955 for ; Wed, 13 Feb 2013 21:42:11 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by mx1.freebsd.org (Postfix) with ESMTP id 0B504151 for ; Wed, 13 Feb 2013 21:42:10 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so6305617wib.9 for ; Wed, 13 Feb 2013 13:42:04 -0800 (PST) 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:subject :message-id:date:to:mime-version:x-mailer:x-gm-message-state; bh=CC6VjhG+NQuKGtYB4e3bANGxAqM7RS3clWrq3KFn0GU=; b=NPmHj8elu8srL1NvoOC3ytuazw1/aRrO3c4PKc50ytKuquCuo+yQ0m8h8PSJa9FyHW 96riAmcjW8sEmChtKbKfQoP8Y5G8sj0GekKsXqy0ni6ZgjY6vamVoxevjhrGuiScbX68 nsxOjW2hYEr/fzxMVZOfCP965dbV9CCZzW3XjM3PoYmuI8KaaneTgRM6vy3j/VIX9AXy Isu+RlYWsbUg3hTimgxyCDDDi261qOTcgwhlQJbf51RzK7Q1zBfqETiEuDeG7N7LUgXN sddqYDenLkDZZEVThLjqXWrqE11y35STUPfVZ0kgvmL8aDk48b/b1yP52Q2PmtATTdYf zlaA== X-Received: by 10.180.105.67 with SMTP id gk3mr12785015wib.31.1360791724134; Wed, 13 Feb 2013 13:42:04 -0800 (PST) Received: from [192.168.0.13] (did75-17-88-165-130-96.fbx.proxad.net. [88.165.130.96]) by mx.google.com with ESMTPS id n10sm48639258wia.0.2013.02.13.13.42.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 13:42:03 -0800 (PST) From: Fleuriot Damien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: vmstat -w not honored Message-Id: <3D8611F5-7AF0-44D1-87FB-DF183A94B1FF@my.gd> Date: Wed, 13 Feb 2013 22:42:01 +0100 To: FreeBSD questions Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQkQe9+yS9vcGKOCM3vgKfJs5J0Mh9SrxJWFmBBykHehRf0RvN2TbDlWxiHnKO39ZyIx5gnE 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, 13 Feb 2013 21:42:11 -0000 Hello list, I'm running 8.3-STABLE and apparently, vmstat won't honor both -i = (interrupts) and -w (repeat display every wait delay seconds) flags at = the same time. The problem also arises with -z. The manual doesn't mention these flags being incompatible with -w. Anyone knows if this is intended behavior ? I wanna make sure before filling a PR, either to get this fixed or the = man pages adjusted. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 21:55:15 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 DEE68C70 for ; Wed, 13 Feb 2013 21:55:15 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from nk11p00mm-asmtp005.mac.com (nk11p00mm-asmtp005.mac.com [17.158.161.4]) by mx1.freebsd.org (Postfix) with ESMTP id B488A1D6 for ; Wed, 13 Feb 2013 21:55:15 +0000 (UTC) Received: from cswiger1.apple.com ([17.209.4.71]) by nk11p00mm-asmtp005.mac.com (Oracle Communications Messaging Server 7u4-26.01(7.0.4.26.0) 64bit (built Jul 13 2012)) with ESMTPSA id <0MI60063PFFU3140@nk11p00mm-asmtp005.mac.com> for questions@freebsd.org; Wed, 13 Feb 2013 20:55:06 +0000 (GMT) Subject: Re: Why ue0 do ARP on non local address when using static route? MIME-version: 1.0 (Apple Message framework v1085) Content-type: text/plain; charset=us-ascii From: Chuck Swiger In-reply-to: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> Date: Wed, 13 Feb 2013 12:55:05 -0800 Content-transfer-encoding: quoted-printable Message-id: <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com> References: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> To: Jin Guojun X-Mailer: Apple Mail (2.1085) Cc: questions 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: Wed, 13 Feb 2013 21:55:15 -0000 On Feb 13, 2013, at 12:35 PM, Jin Guojun wrote: > When attached a Trendent TU2-ET100 USB Ether dongle for a second = interface, it=20 > has no problem to talk to the local network (10.234.37.0/24), but it = has problem=20 > to talk to a remote network or host (10.227.148.0/24) via eu0 = interface. > When a remote host ping this host or this host ping that remote host, = ARP=20 > request is always showing up. > A static route is set and remote host is no part of the local sub net, = why ARP=20 > is going on? You've told the interface that it can reach 10.227.148.52 via = 10.234.37.80, which is the IP ue0 was configured to use. It sends ARPOP_REQUESTS to get the = MAC address of 10.227.148.52 which is expected to be reachable. > Is any sysctl parameter can fix this problem? You can do things like use proxy-arp, or setup /etc/ethers, or NAT, or = even configure ue0 to be on the same subnet as 10.227.148.52 instead, perhaps using an = alias. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 22:17:28 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 8BAED79A for ; Wed, 13 Feb 2013 22:17:28 +0000 (UTC) (envelope-from jguojun@sbcglobal.net) Received: from nm27-vm0.access.bullet.mail.sp2.yahoo.com (nm27-vm0.access.bullet.mail.sp2.yahoo.com [98.139.44.188]) by mx1.freebsd.org (Postfix) with ESMTP id 680CA2BE for ; Wed, 13 Feb 2013 22:17:28 +0000 (UTC) Received: from [98.139.44.103] by nm27.access.bullet.mail.sp2.yahoo.com with NNFMP; 13 Feb 2013 22:17:22 -0000 Received: from [98.139.44.77] by tm8.access.bullet.mail.sp2.yahoo.com with NNFMP; 13 Feb 2013 22:17:22 -0000 Received: from [127.0.0.1] by omp1014.access.mail.sp2.yahoo.com with NNFMP; 13 Feb 2013 22:17:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 340196.43891.bm@omp1014.access.mail.sp2.yahoo.com Received: (qmail 83177 invoked by uid 60001); 13 Feb 2013 22:17:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1360793841; bh=LrwuEGaETu6YRSX5Ax8ZRY0ZUN83IqdiihkmBBPtTLE=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=xjvm7qdWkvEWWvtkWHLvKVw7lAbsa2UQkNEb38rzE8xLatLxDzydf+0X2+3RCKVrsMdsLH7SA5pVVyIE0IrB08hbuFcDN0keN+ksye4C7oAT/59nMe2MXfWVsvZ2l2Fb5cwYUR3+M7UvhSxfBDYxSXl/vbMxOhKL9D37aOfjN2Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=PtXNAYAXV1pzDfoPReIJdp8e81X314UUbCF94dKnPiV8AZ7/7aEzzqMf7uOYT+HxDNfvIYVz7/N/JJdZRWii3CYgcWEAY4Jbfqy8HxodtR3pydeOGECFwVl4dzDpQNbuCW+1crX9NkIHeABbU7daWtC6x60znZ0aTzdbqp0+0X4=; X-YMail-OSG: neUbDZYVM1nhgK978V0nBRzIxUj7f0xfLHqk1r9c01wRe_4 aQHMawEQX36_nUQ4eE8Njq4BP5u9lkWQ_5QrHM4L2SjzYWPM7AtQicY1GMA. D6uWGlzQOW8o_tvHh3gw0MDGFgoQMR4UcuNv3Q1qswbkm4T7Y20jTAaIPmz3 FP4v9ApDmjPDjY88nUB133fExfWijtUyDElkJjaNIObRzhNVD_FQIt4q7PoI yNw98_zGG75RnzpUrtv8ZbstJxEJMJTDIuqKTNWXLDPpRPh6hefi9iHw0F77 k6z5C2Dx3uii8TcEjIhMHIH0OPIjPeDDnsm72q2tB5IbO1fN2gYlP2lAyOJH my2hCxMiRYBw4gQdS9JsM4hH2gRiW97SIVINEnKyqNurf5j_.LhQkBHLlSyH 2u82Xiac8a0KbKZkhwSLgeV1EpAUwWEJrazWSyeaqejP9MYoHubjLDFyfqS_ .SbYX.99luwjQl2zwoMp6j.hmMvIrTyhNQqVix3A1BsttQHKyqYpdIFx1PJG YCQYhEkfJMHas4MsQrw9MNPWz5M7pwXs4jcimO.S5E1BodHJ0aA.GM.ZbB2K QaIg5PtPJJJjrzAGHV3zBSQ4muAaCTMSt1ztAiULaKXrkDdAkQ50A6Pr8_0O YTIBms8uw8UiCtxwFRyiCgLikRtHLjycwwTen2tuwuv.JZw-- Received: from [199.106.103.55] by web180902.mail.ne1.yahoo.com via HTTP; Wed, 13 Feb 2013 14:17:21 PST X-Rocket-MIMEInfo: 001.001, L2V0Yy9ldGhlcnMgZG9lcyBub3QgaGVscCBiZWNhdXNlIHRoZXJlIGlzIG5vIHdheSByZXNvbHZlIHRoZSBJUCBieSBRRkhOIGluIApldGhlcnMuCgpUaGUgY29ycmVjdCB3YXkgaXMgdG8gdXNlIHJvdXRlciBJUCAoMTAuMjM0LjM3LjEpIGJldHdlZW4gMTAuMjM0LjM3LjAgYW5kIAoxMC4yMjcuMTQ4LjAgaW5zdGVhZCBvZiBpbnRlcmZhY2UgSVAgKDEwLjIzNC4zNy44MCkgZm9yIHN0YXRpYyByb3V0ZS4KCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCkZyb206IENodWNrIFN3aWdlciA8Y3MBMAEBAQE- X-Mailer: YahooMailRC/718 YahooMailWebService/0.8.133.508 References: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com> Message-ID: <1360793841.81458.YahooMailRC@web180902.mail.ne1.yahoo.com> Date: Wed, 13 Feb 2013 14:17:21 -0800 (PST) From: Jin Guojun Subject: Re: Why ue0 do ARP on non local address when using static route? To: Chuck Swiger In-Reply-To: <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: questions 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: Wed, 13 Feb 2013 22:17:28 -0000 /etc/ethers does not help because there is no way resolve the IP by QFHN in ethers. The correct way is to use router IP (10.234.37.1) between 10.234.37.0 and 10.227.148.0 instead of interface IP (10.234.37.80) for static route. ________________________________ From: Chuck Swiger To: Jin Guojun Cc: questions freebsd Sent: Wed, February 13, 2013 12:55:07 PM Subject: Re: Why ue0 do ARP on non local address when using static route? On Feb 13, 2013, at 12:35 PM, Jin Guojun wrote: > When attached a Trendent TU2-ET100 USB Ether dongle for a second interface, it > has no problem to talk to the local network (10.234.37.0/24), but it has >problem > > to talk to a remote network or host (10.227.148.0/24) via eu0 interface. > When a remote host ping this host or this host ping that remote host, ARP > request is always showing up. > A static route is set and remote host is no part of the local sub net, why ARP > is going on? You've told the interface that it can reach 10.227.148.52 via 10.234.37.80, which is the IP ue0 was configured to use. It sends ARPOP_REQUESTS to get the MAC address of 10.227.148.52 which is expected to be reachable. > Is any sysctl parameter can fix this problem? You can do things like use proxy-arp, or setup /etc/ethers, or NAT, or even configure ue0 to be on the same subnet as 10.227.148.52 instead, perhaps using an alias. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 22:38:48 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 1D9A0BEE for ; Wed, 13 Feb 2013 22:38:48 +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 E77B3355 for ; Wed, 13 Feb 2013 22:38:47 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 1DF3E33C1E; Wed, 13 Feb 2013 17:38:42 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 4976039843; Wed, 13 Feb 2013 17:38:41 -0500 (EST) From: Lowell Gilbert To: Jin Guojun Subject: Re: Why ue0 do ARP on non local address when using static route? References: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> Date: Wed, 13 Feb 2013 17:38:41 -0500 In-Reply-To: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> (Jin Guojun's message of "Wed, 13 Feb 2013 12:35:37 -0800 (PST)") Message-ID: <44halfg7pq.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: questions freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 22:38:48 -0000 Jin Guojun writes: > This is 8.3-Release on a HP EliteBook 8460p (4-core i5) with an on board Intel > (em0) interface. > When attached a Trendent TU2-ET100 USB Ether dongle for a second interface, it > has no problem to talk to the local network (10.234.37.0/24), but it has problem > to talk to a remote network or host (10.227.148.0/24) via eu0 interface. > When a remote host ping this host or this host ping that remote host, ARP > request is always showing up. > A static route is set and remote host is no part of the local sub net, why ARP > is going on? > > Is any sysctl parameter can fix this problem? Until we know what the problem is, we can't guess at the solution. You didn't show the commands you used, for setting up the routes *or* for the diagnostic information you provided. > -Jin > > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 10.234.16.1 UGS 0 2841993 em0 > 10.227.148.52 10.234.37.80 UHS 0 26 ue0 There's no "G" in the flags there. Sign of a problem. > 10.234.16.0/22 link#1 U 0 0 em0 > 10.234.17.41 link#1 UHS 0 0 lo0 > 10.234.37.0/24 link#8 U 0 3 ue0 > 10.234.37.80 link#8 UHS 0 0 lo0 That's the gateway address. What's it doing with a host route on the loopback interface? That will override the 10.234.37.0/24 interface route, and turn 10.234.37.80 into a "black hole." - Lowell From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 23:34:02 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 96B36ECF for ; Wed, 13 Feb 2013 23:34:02 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from nk11p00mm-asmtp002.mac.com (nk11p00mm-asmtp002.mac.com [17.158.161.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8179E7BA for ; Wed, 13 Feb 2013 23:34:02 +0000 (UTC) Received: from cswiger1.apple.com ([17.209.4.71]) by nk11p00mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-26.01(7.0.4.26.0) 64bit (built Jul 13 2012)) with ESMTPSA id <0MI600KY8K0DJ810@nk11p00mm-asmtp002.mac.com> for questions@freebsd.org; Wed, 13 Feb 2013 22:33:50 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327,1.0.431,0.0.0000 definitions=2013-02-13_09:2013-02-13,2013-02-13,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-1203120001 definitions=main-1302130221 Subject: Re: Why ue0 do ARP on non local address when using static route? MIME-version: 1.0 (Apple Message framework v1085) Content-type: text/plain; charset=us-ascii From: Chuck Swiger In-reply-to: <1360793841.81458.YahooMailRC@web180902.mail.ne1.yahoo.com> Date: Wed, 13 Feb 2013 14:33:49 -0800 Content-transfer-encoding: quoted-printable Message-id: <8EFB78FF-51C4-4C69-AB6C-D2B239AF7E2B@mac.com> References: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com> <1360793841.81458.YahooMailRC@web180902.mail.ne1.yahoo.com> To: Jin Guojun X-Mailer: Apple Mail (2.1085) Cc: questions 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: Wed, 13 Feb 2013 23:34:02 -0000 On Feb 13, 2013, at 2:17 PM, Jin Guojun wrote: > /etc/ethers does not help because there is no way resolve the IP by = QFHN in ethers. I'm not sure what "QFHN" is, but setting up an entry in /etc/ethers = provides the IP to MAC address mapping that ARP attempts to provide = dynamically. > The correct way is to use router IP (10.234.37.1) between 10.234.37.0 = and 10.227.148.0 instead of interface IP (10.234.37.80) for static = route. Assuming there's a router at 10.234.37.1 which knows how to get to = 10.227.148.52, yes. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 23:49: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 B0281500 for ; Wed, 13 Feb 2013 23:49:17 +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 76CA2873 for ; Wed, 13 Feb 2013 23:49:17 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx02.qsc.de (Postfix) with ESMTP id 152AC277C2 for ; Thu, 14 Feb 2013 00:49:10 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1DNnDkh002991 for ; Thu, 14 Feb 2013 00:49:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 14 Feb 2013 00:49:13 +0100 From: Polytropon To: FreeBSD Questions Subject: Re-sending selected e-mail messages Message-Id: <20130214004913.a89dc042.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 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, 13 Feb 2013 23:49:17 -0000 I need a way to automatically re-sent stored e-mail messages according to some criteria and like to ask for advice or suggestions for an already existing solution before I start reinventing the wheel. :-) The messages in question are stored in MH format. This is a tree where a mailbox equals a directory, and the individual files in that directory equal the messages. They are numbered 1, 2, 3, 4, ..., and so on. Each message is in Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable or Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit or maybe even Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit text format. Some of them might contain an attachment, which is "included" in the file with something like --Multipart=... Content-Type: ...; name="..." Content-Disposition: attachment; filename="..." Content-Transfer-Encoding: base64 --Multipart=...--- Some messages are "fully multipart". So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the messages. Each third line, "To:", is the criteria to look at. If it matches a given recipient, the mail should be sent again. This can easily be done by the system's mailer which is properly configured (and uses ISP's MX), so | mail -s "maybe new subject" is possible. The message should already be properly pre-composed. What is the easiest way to do this without reinventing the wheel, or should I? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 23:56:14 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 DDF86725 for ; Wed, 13 Feb 2013 23:56:14 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by mx1.freebsd.org (Postfix) with ESMTP id 7972B8C7 for ; Wed, 13 Feb 2013 23:56:14 +0000 (UTC) Received: by mail-ea0-f176.google.com with SMTP id a13so757040eaa.35 for ; Wed, 13 Feb 2013 15:56:07 -0800 (PST) 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=8ctd7AK8YWzcJmmlNWh7t+yy4C1OTLJ64hCxvJ99UfA=; b=RiMrG/2FQZb3DClx2hRhpOWPmdFdCYX7NGCO3yBRAC7hw1BfTBldZcVqnvXAoDmZoR w6Dlbbn0aHBmps9sln3zbhcnt5wdBwYmtdyCTqtADdPF51oDIzNJXICXO78M5cEljJwc 4AKh8tN4pkfJy01bRPRoAFgS1/cAK0zOhdWrR42mn5zdfS2lDCW2k/a7a/hKABCOXwt8 uiuH0Ng3fi+upMQQxuuvtd4C0yozrw25zTfU4NmQBb/qEQrPc4Dzg7RO+0loTKRaFmSq ePK4pciYjqqkkICWt6ejAsaZfPS/mTeWvUbdj4TRT6pSPEogu1R5iFyZOx4gOC+s95Gr GktA== MIME-Version: 1.0 X-Received: by 10.14.175.70 with SMTP id y46mr79864577eel.6.1360799767034; Wed, 13 Feb 2013 15:56:07 -0800 (PST) Received: by 10.14.99.14 with HTTP; Wed, 13 Feb 2013 15:56:06 -0800 (PST) In-Reply-To: <20130214004913.a89dc042.freebsd@edvax.de> References: <20130214004913.a89dc042.freebsd@edvax.de> Date: Wed, 13 Feb 2013 15:56:06 -0800 Message-ID: Subject: Re: Re-sending selected e-mail messages From: Kurt Buff To: Polytropon 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: Wed, 13 Feb 2013 23:56:14 -0000 On Wed, Feb 13, 2013 at 3:49 PM, Polytropon wrote: > I need a way to automatically re-sent stored e-mail messages > according to some criteria and like to ask for advice or > suggestions for an already existing solution before I start > reinventing the wheel. :-) > > The messages in question are stored in MH format. This is a > tree where a mailbox equals a directory, and the individual > files in that directory equal the messages. They are numbered > 1, 2, 3, 4, ..., and so on. Each message is in > > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > or > > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > > or maybe even > > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > text format. Some of them might contain an attachment, which > is "included" in the file with something like > > --Multipart=... > Content-Type: ...; > name="..." > Content-Disposition: attachment; > filename="..." > Content-Transfer-Encoding: base64 > --Multipart=...--- > > Some messages are "fully multipart". > > So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the > messages. Each third line, "To:", is the criteria to look at. > If it matches a given recipient, the mail should be sent again. > This can easily be done by the system's mailer which is properly > configured (and uses ISP's MX), so | mail -s "maybe new subject" > is possible. The message should already be properly pre-composed. > > What is the easiest way to do this without reinventing the wheel, > or should I? :-) Perhaps mini_sendmail? Seems fairly capable, and scriptable. Kurt From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 00:01:32 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 559FC93C for ; Thu, 14 Feb 2013 00:01:32 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 0AECE912 for ; Thu, 14 Feb 2013 00:01:31 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1E01PXx024242 for ; Wed, 13 Feb 2013 19:01:25 -0500 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id r1E01PFO024241; Wed, 13 Feb 2013 19:01:25 -0500 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 32A87BF5D; Wed, 13 Feb 2013 19:00:27 -0500 (EST) To: freebsd-questions@freebsd.org In-reply-to: <511BE12C.204@tundraware.com> (message from Tim Daneliuk on Wed, 13 Feb 2013 12:53:32 -0600) Subject: Re: Fun Scripting Problem Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <511BDB13.3060005@tundraware.com> <13CA24D6AB415D428143D44749F57D7201EA7EBB@ltcfiswmsgmb21> <511BE12C.204@tundraware.com> Message-Id: <20130214000027.32A87BF5D@kev.msw.wpafb.af.mil> Date: Wed, 13 Feb 2013 19:00:27 -0500 (EST) From: vogelke+unix@pobox.com (Karl Vogel) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 00:01:32 -0000 >> On Wed, 13 Feb 2013 12:53:32 -0600, >> Tim Daneliuk said: T> The only way to determine the date of the file is by looking at its stat T> info. There is nothing the file name or content that could be used to T> infer this. Being a pedantic twit, I interpreted "stat info" to mean "info you can get from something that calls stat()". The script below runs on BSD, Linux, or Solaris if you have GNU find installed. Season to taste. -- Karl Vogel I don't speak for the USAF or my company Mom was so overprotective, she only let us play "Rock, Paper". --------------------------------------------------------------------------- #!/bin/ksh # usage: keepfiles DIR export PATH=/usr/local/bin:/bin:/usr/bin tag=${0##*/} here=$(pwd) tmp="$here/keep$$" # Sanity check. die () { echo "$tag: FATAL: $@" >&2; exit 1; } # Don't repeat yourself. Use undocumented option %Ts to # avoid dealing with fractional seconds. listdir () { find . -type f -printf "%TY%Tm%Td %Ts|%p\n"; } case "$#" in 0) die "need a directory" ;; *) work="$1" ;; esac # List files by date generated. mkdir $tmp || die "$tmp: mkdir failed" test -d $work || die "$work: not a directory" cd $work || die "cd $work failed" months=$(listdir | cut -c1-6 | sort -u) for mon in $months do listdir | # Get the files to check, grep "^$mon" | # ... look for each month, sort -n | # ... sort by modtime, cut -d'|' -f2 | # ... get the path, tail -1 | # ... last one's oldest, sed -e 's!^\(.*\)!mv \1 '$tmp'!' | # ... write a mv command, sh # ... and run it. done # Clean up. cd $here echo "Keep the stuff in $tmp" exit 0 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 01:17:18 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 09E7A5D4 for ; Thu, 14 Feb 2013 01:17:18 +0000 (UTC) (envelope-from jguojun@sbcglobal.net) Received: from nm6.access.bullet.mail.sp2.yahoo.com (nm6.access.bullet.mail.sp2.yahoo.com [98.139.44.133]) by mx1.freebsd.org (Postfix) with ESMTP id B3097BD7 for ; Thu, 14 Feb 2013 01:17:17 +0000 (UTC) Received: from [98.139.44.102] by nm6.access.bullet.mail.sp2.yahoo.com with NNFMP; 14 Feb 2013 01:17:16 -0000 Received: from [98.139.44.76] by tm7.access.bullet.mail.sp2.yahoo.com with NNFMP; 14 Feb 2013 01:17:16 -0000 Received: from [127.0.0.1] by omp1013.access.mail.sp2.yahoo.com with NNFMP; 14 Feb 2013 01:17:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 838230.85093.bm@omp1013.access.mail.sp2.yahoo.com Received: (qmail 43334 invoked by uid 60001); 14 Feb 2013 01:17:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1360804636; bh=oHMhqeIZBnXY7WrL4YzocXsxLZzueS0dCItBdCbWS1M=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=LIi1oB0YAUGUEcsD1VwDSAGCF8rasAEfFHFZ2N1pSqazQa5x4izlVyR4nb+wdiBGkNLl4f76GXnfyiviNvSwuvRhYCi4b138cpkROV4+GasFVfQwdhChIGkUju9c8HuJDeehk+bqNDd63pP6x787TKx78pNmwS/kYzRptVLKeFU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=cGPm3sdxxkTpRsrhEA+jaFJ+vAlSCSGjE16uRuhWxHQ/IlICJ1ulm1soeleu+2VAJ69pgQaX765viFhK4iPd0wFSvYcaQlA4PHJxD0dgu6wIXixQegykRUSvzG8k28zPIKtHdOZO0VHnBGthFk0QhpGRZRBBdA2KZZkeOVEICF8=; X-YMail-OSG: t8SfcTgVM1kq59h5FjFmrNXE8dsFvTn1H6K2kD5icCcU0n_ nJLodALWkPJ55wGKPBBWSroVy4ix5EVIKdmLjNxlCqY1ejesG8R_5sDmjdkd wIOQOCKXy9cvBGLbxckvzdRp3HUBFhbYL0Ot9PYQAHD8NzU69yHYfdGORngi .kQZjBhU2N2Ap1cLg4MvyL2HVW.qDX2SWE9m_ATMIIqj1SVJ6ryFgoqrWfO6 Gx9y2a.FPtTS94x8Q3JsmP1NPsXgdOyTmmTOlwrbkC9fugpeyTuVKxEvLJOd YJ49NvTHiPb5mAiE4JhEJ8BT4zpT1yGyv5eoFVGTMAPno18JfBzR5H4Tmhkr PhMMJK.i_uEEo6e38LtBMJ49K_W46024mnvrpeBUku3ut0rlSw.PRapNUkQY l_kgqx66ojzOV7a1Cqu28JZg4e3GbTsFhLzIj5mL7.dH3jFG0edmkScZp5ns 0SIPi1MIWcp4MQie9QCsLmF1xpIEbWCeLNo2F2HDS4A.llBsQBPElcS18fuU 8TAwk91eEK9SjC8dKENCpSFTSlaX71.TkLgK1cJsIBLbdkglMTsgzpUe0rny Se.to863OR3M4KohPmNQ- Received: from [199.106.103.57] by web180901.mail.ne1.yahoo.com via HTTP; Wed, 13 Feb 2013 17:17:15 PST X-Rocket-MIMEInfo: 001.001, bWFuIHBhZ2Ugc2F5cyB0aGF0IGV0aGVybmV0LWFkZHJlc3MgIChNQUMpICsgZnVsbHktcXVhbGlmaWVkLWhvc3QtbmFtZSAoRlFITikuClRoZSBpc3N1ZSBpcyB0aGF0IGhvc3QgY2Fubm90IHJlc29sdmUgdGhlIGFkZHJlc3MgYnkgdXNpbmcgRlFITiwgdGh1cyBubyBBUlAgYW55IAptb3JlLCBidXQgbm8gdHJhZmZpYyBlaXRoZXIuCgpBZnRlciBhZGRpbmcgRlFESCBpbiB0aGUgL2V0Yy9ob3N0cyBmaWxlIHRoZW4sIEFSUCByZXF1ZXN0IHVzZXMgRlFITiBpbnN0ZWFkIG9mIApJUCAoMTAuMjM3LjE0OC41MikBMAEBAQE- X-Mailer: YahooMailRC/718 YahooMailWebService/0.8.133.508 References: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com> <1360793841.81458.YahooMailRC@web180902.mail.ne1.yahoo.com> <8EFB78FF-51C4-4C69-AB6C-D2B239AF7E2B@mac.com> Message-ID: <1360804635.42599.YahooMailRC@web180901.mail.ne1.yahoo.com> Date: Wed, 13 Feb 2013 17:17:15 -0800 (PST) From: Jin Guojun Subject: Re: Why ue0 do ARP on non local address when using static route? To: Chuck Swiger In-Reply-To: <8EFB78FF-51C4-4C69-AB6C-D2B239AF7E2B@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: questions 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: Thu, 14 Feb 2013 01:17:18 -0000 man page says that ethernet-address (MAC) + fully-qualified-host-name (FQHN). The issue is that host cannot resolve the address by using FQHN, thus no ARP any more, but no traffic either. After adding FQDH in the /etc/hosts file then, ARP request uses FQHN instead of IP (10.237.148.52). The question is why ARP occurs? The subnet (10.227.148.0) is not matching with the local network/netmask (10.234.37.0/24) unless somewhere in the system is using default 255.0.0.0 netmask for 10.0 A class network by mistake. ________________________________ From: Chuck Swiger To: Jin Guojun Cc: questions freebsd Sent: Wed, February 13, 2013 2:33:57 PM Subject: Re: Why ue0 do ARP on non local address when using static route? On Feb 13, 2013, at 2:17 PM, Jin Guojun wrote: > /etc/ethers does not help because there is no way resolve the IP by QFHN in >ethers. I'm not sure what "QFHN" is, but setting up an entry in /etc/ethers provides the IP to MAC address mapping that ARP attempts to provide dynamically. > The correct way is to use router IP (10.234.37.1) between 10.234.37.0 and >10.227.148.0 instead of interface IP (10.234.37.80) for static route. Assuming there's a router at 10.234.37.1 which knows how to get to 10.227.148.52, yes. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 01:34:59 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 AA41FB75 for ; Thu, 14 Feb 2013 01:34:59 +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 6088FCDB for ; Thu, 14 Feb 2013 01:34:59 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id A9C2433C1D; Wed, 13 Feb 2013 20:34:47 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id E65D339843; Wed, 13 Feb 2013 20:34:46 -0500 (EST) From: Lowell Gilbert To: Jin Guojun Subject: Re: Why ue0 do ARP on non local address when using static route? References: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com> <1360793841.81458.YahooMailRC@web180902.mail.ne1.yahoo.com> <8EFB78FF-51C4-4C69-AB6C-D2B239AF7E2B@mac.com> <1360804635.42599.YahooMailRC@web180901.mail.ne1.yahoo.com> Date: Wed, 13 Feb 2013 20:34:46 -0500 In-Reply-To: <1360804635.42599.YahooMailRC@web180901.mail.ne1.yahoo.com> (Jin Guojun's message of "Wed, 13 Feb 2013 17:17:15 -0800 (PST)") Message-ID: <447gmbfzk9.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: questions freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 01:34:59 -0000 Jin Guojun writes: > man page says that ethernet-address (MAC) + fully-qualified-host-name (FQHN). > The issue is that host cannot resolve the address by using FQHN, thus no ARP any > more, but no traffic either. > > After adding FQDH in the /etc/hosts file then, ARP request uses FQHN instead of > IP (10.237.148.52). > > The question is why ARP occurs? > The subnet (10.227.148.0) is not matching with the local network/netmask > (10.234.37.0/24) unless somewhere in the system is using default 255.0.0.0 > netmask for 10.0 A class network by mistake. Your first message showed an overriding route for the gateway address. Are you sure that the ARP is happening on the interface for the gateway's network? According to the routing table you posted, it should be hitting the loopback interface, but not leaving the box. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 01:38: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 71CE4DB5 for ; Thu, 14 Feb 2013 01:38:49 +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 2F7F5D2D for ; Thu, 14 Feb 2013 01:38:48 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 0587133C1E; Wed, 13 Feb 2013 20:38:43 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 69FFD39843; Wed, 13 Feb 2013 20:38:42 -0500 (EST) From: Lowell Gilbert To: Polytropon , FreeBSD Questions Subject: Re: Re-sending selected e-mail messages References: <20130214004913.a89dc042.freebsd@edvax.de> Date: Wed, 13 Feb 2013 20:38:42 -0500 In-Reply-To: (Kurt Buff's message of "Wed, 13 Feb 2013 15:56:06 -0800") Message-ID: <4438wzfzdp.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 01:38:49 -0000 Kurt Buff writes: > On Wed, Feb 13, 2013 at 3:49 PM, Polytropon wrote: >> I need a way to automatically re-sent stored e-mail messages >> according to some criteria and like to ask for advice or >> suggestions for an already existing solution before I start >> reinventing the wheel. :-) [...] > Perhaps mini_sendmail? Seems fairly capable, and scriptable. Or maybe procmail's tools (I'm thinking in particular of procmail, although there are some other bits and bobs that might relate also) would serve the particular selection criteria? From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 02:07: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 026CF20C for ; Thu, 14 Feb 2013 02:07:10 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8D72ADF3 for ; Thu, 14 Feb 2013 02:07:10 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fl17so1224086vcb.41 for ; Wed, 13 Feb 2013 18:07:04 -0800 (PST) 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=rr2UkBrje1CFMD3jZkdZXw5OHevBxX5aVq7AK2ePdUw=; b=wgUc7PKjtz9S99Ive9wblIh6mWmduEBuV/0jJh3ysD1CTOPGrNffSsPEBgXaPr7LdE NBxa+sTOVAY4zFoCFdp4JJJ4BF70NgVnk95PBq3HVuxxpdnlP2XuJusxeMMsl080ZgDT ID00A0mrT9LGx0ndhhcUyTF8E6DVyZzPV4Y90kUTi2m1o+2l7q3iultDJA6+G5bbA4PS dQrwNb3kNqE7J4NuGqy7hcWmpsgtSGY7FwEfoynd27lkiO7BcMQbnFVFsFgd4qbDrqYw 7URw5xd8VitHrnL2ryl2dlyHZowvK+0NHvsxhX7Vu8XyUzJroWXGdfrs2utzNqq/2IYK 6VsQ== MIME-Version: 1.0 X-Received: by 10.58.28.169 with SMTP id c9mr31795158veh.5.1360807624166; Wed, 13 Feb 2013 18:07:04 -0800 (PST) Sender: christopher.maness@gmail.com Received: by 10.58.227.162 with HTTP; Wed, 13 Feb 2013 18:07:04 -0800 (PST) In-Reply-To: <511B530E.1050302@aboutsupport.com> References: <511ACAC8.80801@fisglobal.com> <511B45C9.4050201@bananmonarki.se> <511B530E.1050302@aboutsupport.com> Date: Wed, 13 Feb 2013 18:07:04 -0800 X-Google-Sender-Auth: t-4EwXWERG14rIM1hIrScwsTmXE Message-ID: Subject: Re: Sendmail relaying for Intranet? From: Chris Maness To: "Zyumbilev, Peter" 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: Thu, 14 Feb 2013 02:07:11 -0000 On Wed, Feb 13, 2013 at 12:47 AM, Zyumbilev, Peter wrote: > > On 13/02/2013 09:50, Bernt Hansson wrote: > >> dnl define(`SMART_HOST', `your.isp.mail.server') >> on your intranet machine and put in your inet machine name. >> > > > Switching to postfix and editing mynetworks in main.cf might be simplest > solution. > > > Peter > _______________________________________________ That looks like would only take care of outbound mail, but what about incoming mail? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 02:17: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 8F3E842B for ; Thu, 14 Feb 2013 02:17:24 +0000 (UTC) (envelope-from tech.junk@myfairpoint.net) Received: from mail14c26.carrierzone.com (mail14c26-2170.carrierzone.com [64.29.152.6]) by mx1.freebsd.org (Postfix) with ESMTP id 03942E3F for ; Thu, 14 Feb 2013 02:17:23 +0000 (UTC) X-Authenticated-User: tech.junk.myfairpoint.net Received: from [192.168.1.143] (pool-71-168-71-7.cncdnh.fast.myfairpoint.net [71.168.71.7]) (authenticated bits=0) by mail14c26.carrierzone.com (8.13.6/8.13.1) with ESMTP id r1E2HBXH002403 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 14 Feb 2013 02:17:12 GMT From: sean Subject: Windowmaker build error, freebsd 9.1 inotify_init Message-Id: Date: Wed, 13 Feb 2013 21:17:10 -0500 To: FreeBSD Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-CSC: 0 X-CHA: v=1.1 cv=iFryeLgrlqgc8NWFrlOqToz00DNIYoZACFB9MYNnTgQ= c=1 sm=1 a=JzWuyGhk4F8A:10 a=YamaJ3vGr5cA:10 a=lwgQlFIk/wm1oVl5M1bZxQ==:17 a=6I5d2MoRAAAA:8 a=hnTsSq4T16r12WtaXEoA:9 a=CjuIK1q_8ugA:10 a=TuH6fzERvDY7-cvVERwA:9 a=_W_S_7VecoQA:10 a=L87CJUeX5-hrVfsw:21 a=lwgQlFIk/wm1oVl5M1bZxQ==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A020205.511C492C.001B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=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: Thu, 14 Feb 2013 02:17:24 -0000 Hello All, I am seeing this exact windowmaker build error, = http://www.freebsd.org/cgi/query-pr.cgi?pr=3D174105&cat=3D , on my = freshly installed system appear when I try to build Windowmaker on my = 9.1-RELEASE Freebsd and64 system running a generic kernel. How exactly do I properly format the fix stated in the closed 174105 bug = report to the Windowmaker Makefile? " Fix Adding -linotify to LD_FLAGS in the Makefile fixes the problem. " Thanks in advance, Sean From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 02:25: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 0A6BF619 for ; Thu, 14 Feb 2013 02:25:37 +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 C7C1BE79 for ; Thu, 14 Feb 2013 02:25:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx02.qsc.de (Postfix) with ESMTP id 4B4D8248FD; Thu, 14 Feb 2013 03:25:35 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1E2PcxY004159; Thu, 14 Feb 2013 03:25:38 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 14 Feb 2013 03:25:38 +0100 From: Polytropon To: sean Subject: Re: Windowmaker build error, freebsd 9.1 inotify_init Message-Id: <20130214032538.5469b95b.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 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, 14 Feb 2013 02:25:37 -0000 On Wed, 13 Feb 2013 21:17:10 -0500, sean wrote: > How exactly do I properly format the fix stated in the closed > 174105 bug report to the Windowmaker Makefile? > > " > Fix > Adding -linotify to LD_FLAGS in the Makefile fixes the problem. > " Just add the text "-linotify" to the LD_FLAGS variable defined in the Makefile. It's /usr/ports/x11-wm/windowmaker/Makefile in line 40. However, the name of the variable is LDFLAGS (no underscore). I have v 1.171 of this file here, port version is 0.95.2 rev. 4 -- just for reference. Original line: LDFLAGS+= -L${LOCALBASE}/lib To be changed into: LDFLAGS+= -L${LOCALBASE}/lib -linotify Then try to build WindowMaker again. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 03:04: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 518259C1 for ; Thu, 14 Feb 2013 03:04:31 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) by mx1.freebsd.org (Postfix) with ESMTP id B1177FE8 for ; Thu, 14 Feb 2013 03:04:30 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id ik5so855645bkc.24 for ; Wed, 13 Feb 2013 19:04:29 -0800 (PST) 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=RhBh+8HjBldnQNHc5gqiswbN05umTSM0WyTBMWujHrM=; b=BEtPSFg+M3qwRTlPX0UGzOWjNDrb1b97TUcMrRD/VjOtXKiGVTT7NQpXiYICPIFm4L FkaNS5iXkrySLY0T7nkzzvq3RDNKcYWga8hiBaKIcQoKv4Cskj4F/cuGtB+DqNtow19O mLRRJwo5Cffjav23BjcfobyXRx5EjAYAf3cvzcLVbhwluYaseuaY256N5JetsclTfz/s eACL1H+99DnayTC25GzSZ6cx/T/ySZkTtZ5jsMnPeAohI2oz/lJKeOM0eAXy6wlIEY/m ol29kGGvuaxgSlqxvrMGNdrGpNBrAe04z20j2SjWnOmhHEn9Kiol395WF8TJ0sSoIxZo z29g== MIME-Version: 1.0 X-Received: by 10.204.4.146 with SMTP id 18mr7559746bkr.9.1360811069236; Wed, 13 Feb 2013 19:04:29 -0800 (PST) Received: by 10.205.76.198 with HTTP; Wed, 13 Feb 2013 19:04:29 -0800 (PST) Received: by 10.205.76.198 with HTTP; Wed, 13 Feb 2013 19:04:29 -0800 (PST) In-Reply-To: <20130214004913.a89dc042.freebsd@edvax.de> References: <20130214004913.a89dc042.freebsd@edvax.de> Date: Wed, 13 Feb 2013 19:04:29 -0800 Message-ID: Subject: Re: Re-sending selected e-mail messages From: Waitman Gobble To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 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, 14 Feb 2013 03:04:31 -0000 On Feb 13, 2013 3:49 PM, "Polytropon" wrote: > > I need a way to automatically re-sent stored e-mail messages > according to some criteria and like to ask for advice or > suggestions for an already existing solution before I start > reinventing the wheel. :-) > > The messages in question are stored in MH format. This is a > tree where a mailbox equals a directory, and the individual > files in that directory equal the messages. They are numbered > 1, 2, 3, 4, ..., and so on. Each message is in > > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > or > > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > > or maybe even > > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > text format. Some of them might contain an attachment, which > is "included" in the file with something like > > --Multipart=... > Content-Type: ...; > name="..." > Content-Disposition: attachment; > filename="..." > Content-Transfer-Encoding: base64 > --Multipart=...--- > > Some messages are "fully multipart". > > So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the > messages. Each third line, "To:", is the criteria to look at. > If it matches a given recipient, the mail should be sent again. > This can easily be done by the system's mailer which is properly > configured (and uses ISP's MX), so | mail -s "maybe new subject" > is possible. The message should already be properly pre-composed. > > What is the easiest way to do this without reinventing the wheel, > or should I? :-) > > > > > > > > -- > 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" I'm working on an email related project, you might hack it to work for you. https://github.com/waitman/elmboxo check out pmess.c it can do a single message. (the easy way to feed pmess a single message is actually to feed the single message to elmboxo as it is coded) anyway its built to stuff them in a mongodb db, but I.m working on a free nosql solution that works for my project. you can just chuck all those bits. an idea. Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 03:22: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 D1898BD5 for ; Thu, 14 Feb 2013 03:22:28 +0000 (UTC) (envelope-from tech.junk@myfairpoint.net) Received: from mail11c26.carrierzone.com (mail11c26.carrierzone.com [66.175.40.165]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF8113C for ; Thu, 14 Feb 2013 03:22:27 +0000 (UTC) X-Authenticated-User: tech.junk.myfairpoint.net Received: from [192.168.1.143] (pool-71-168-71-7.cncdnh.fast.myfairpoint.net [71.168.71.7]) (authenticated bits=0) by mail11c26.carrierzone.com (8.13.6/8.13.1) with ESMTP id r1E2fqh6022650 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 14 Feb 2013 02:41:54 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Windowmaker build error, freebsd 9.1 inotify_init From: sean In-Reply-To: <20130214032538.5469b95b.freebsd@edvax.de> Date: Wed, 13 Feb 2013 21:41:52 -0500 Content-Transfer-Encoding: 7bit Message-Id: <00C83B85-7FDC-4628-827D-48ED6A2FEC21@myfairpoint.net> References: <20130214032538.5469b95b.freebsd@edvax.de> To: FreeBSD X-Mailer: Apple Mail (2.1499) X-CSC: 0 X-CHA: v=1.1 cv=2JWpBA4MWJKWEuWv5yRLAHVxhaDxuU7ywKGrIkv8+XU= c=1 sm=1 a=n74YwCCrfoQA:10 a=YamaJ3vGr5cA:10 a=kj9zAlcOel0A:10 a=lwgQlFIk/wm1oVl5M1bZxQ==:17 a=yyRk9kP_WffoJBceX0QA:9 a=CjuIK1q_8ugA:10 a=jKRid43F7UoA:10 a=lwgQlFIk/wm1oVl5M1bZxQ==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A020208.511C4EF5.0092, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 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, 14 Feb 2013 03:22:28 -0000 On Feb 13, 2013, at 9:25 PM, Polytropon wrote: > On Wed, 13 Feb 2013 21:17:10 -0500, sean wrote: >> How exactly do I properly format the fix stated in the closed >> 174105 bug report to the Windowmaker Makefile? >> >> " >> Fix >> Adding -linotify to LD_FLAGS in the Makefile fixes the problem. >> " > > Just add the text "-linotify" to the LD_FLAGS variable defined > in the Makefile. It's /usr/ports/x11-wm/windowmaker/Makefile > in line 40. However, the name of the variable is LDFLAGS (no > underscore). I have v 1.171 of this file here, port version is > 0.95.2 rev. 4 -- just for reference. > > Original line: > > LDFLAGS+= -L${LOCALBASE}/lib > > To be changed into: > > LDFLAGS+= -L${LOCALBASE}/lib -linotify > > Then try to build WindowMaker again. > > > -- That did the trick, thanks. I wonder why the bug was closed as unable to be reproduced. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 04:41: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 CE0F34B4 for ; Thu, 14 Feb 2013 04:41:08 +0000 (UTC) (envelope-from hank@millerfarm.com) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id A0274371 for ; Thu, 14 Feb 2013 04:41:08 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9E2E820922 for ; Wed, 13 Feb 2013 23:32:15 -0500 (EST) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 13 Feb 2013 23:32:15 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=millerfarm.com; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=mesmtp; bh=a/BTj0mcUH EGQaSTSMlchRAs/jg=; b=a2l1u0nbRqFGeM/+gQuM4jWG0wduAI2tsGQCWlNZpH 8LonIzRJPnyForsH89+hnhybOF5UNYkA1+msTdHHLvT+mt2mugqLw5rXi3cYb10j kT00x3lPkOfN65EAD4d0yM7fBqVpvH1mQTbBq+vJwV6Xt6LgV0PHL6bN+SDNgERg Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-transfer-encoding:content-type; s=smtpout; bh=a/BTj0mcUHEGQaSTSMlchRAs/jg=; b=YD/Dk8XaZRNuYj+UhqQTnMBgtQgA RJI3ghio9mSmE5DbdR6KyHcbNSSNi6d5ZqaiCKxrXHLCbXO/28cFAjcSrpnPfAXk 7KhqkbwQC+N99ONKh3M70bpY3Y09nqRHJM2RYLTv16gjwX7Kb3i++t0gOOu7OY2a YazKUBx7IsDcysw= X-Sasl-enc: EPOKalR03FhCVGfAj3dwaJBynRXqTRVTsb0epSjsluOb 1360816333 Received: from shairia.millerfarm.com (unknown [198.45.168.42]) by mail.messagingengine.com (Postfix) with ESMTPA id BC8558E00C0 for ; Wed, 13 Feb 2013 23:32:13 -0500 (EST) From: Henry Miller To: freebsd-questions@freebsd.org Subject: installing port devel/py-qt4-dbussupport - cannot open Makefile Date: Wed, 13 Feb 2013 22:32:04 -0600 Message-ID: <4823815.9ePal9MriH@shairia.millerfarm.com> User-Agent: KMail/4.9.5 (FreeBSD/8.3-RELEASE-p3; KDE/4.9.5; 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: Thu, 14 Feb 2013 04:41:08 -0000 I'm trying to install devel/py-qt4-dbussupport on freebsd 8.3. When I type make it looks like configure is run, but then I get an error cannot open Makefile. I'm not sure what steps to take next. google only shows the following query, which is unanswered. http://forums.freebsd.org/showthread.php?t=37696 (but I note that this is on Freebsd 9) Creating pyuic4 wrapper... Creating pyuic4 Makefile... pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing. Creating pyqtconfig.py... ===> Building for py27-qt4-dbussupport-4.9.6 make: cannot open Makefile. *** Error code 1 Stop in /usr/ports/devel/py-qt4-dbussupport. shairia# uname -a FreeBSD shairia.millerfarm.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012 root@amd64- builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 My steps to get into this state: portsnap fetch update (about a week ago - a couple days after kde 4.9.5 went live) follow the steps in Updating - 20130203 for updating KDE. At some point in this process I lost system power, but most of the update was done. I attempted to do the update boost (2013013) instructions, but had problems because of mixed python 2.6 and 2.7, so I did a pkg_delete on py26*. (This was probably wrong). Looking farther I found the python entry from back in 20110304, but I had to errors until I updated perl (20130204), and tcl/tk (20130206). I then completed the python update. My attempts to do any more updates (either complete boost, or just upgrade everything with "portmaster -a") all fail on the above port. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 05:36: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 44246D44 for ; Thu, 14 Feb 2013 05:36:11 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 656D5709 for ; Thu, 14 Feb 2013 05:36:08 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id r1E5eWvx025045; Wed, 13 Feb 2013 23:40:32 -0600 (CST) Date: Wed, 13 Feb 2013 23:40:32 -0600 (CST) From: Robert Bonomi Message-Id: <201302140540.r1E5eWvx025045@mail.r-bonomi.com> To: freebsd@edvax.de Subject: Re: Re-sending selected e-mail messages In-Reply-To: <20130214004913.a89dc042.freebsd@edvax.de> 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, 14 Feb 2013 05:36:11 -0000 > Date: Thu, 14 Feb 2013 00:49:13 +0100 > From: Polytropon > To: FreeBSD Questions > Subject: Re-sending selected e-mail messages > > I need a way to automatically re-sent stored e-mail messages > according to some criteria and like to ask for advice or > suggestions for an already existing solution before I start > reinventing the wheel. :-) > > The messages in question are stored in MH format. > > What is the easiest way to do this without reinventing the wheel, > or should I? :-) procmail is your friend. cat ~/sent* |procmail -f resendrc where resendrc is: emailaddr="foo@bar.baz" :0 *^To: *${emailaddr} *^Subject:\/.*$ | formail -I "Subject: {resend} ${MATCH}" | $SENDMAIL -oi -t Delete the 'formail' if you want the Subject: unmolested. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 05:42:49 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 0E45C78 for ; Thu, 14 Feb 2013 05:42:49 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 97A1E762 for ; Thu, 14 Feb 2013 05:42:48 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.6/8.14.6) with ESMTP id r1E5gYg9077724 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 13 Feb 2013 23:42:34 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <511C794A.10001@tundraware.com> Date: Wed, 13 Feb 2013 23:42:34 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Robert Bonomi Subject: Re: Fun Scripting Problem References: <201302132113.r1DLD6DX003167@mail.r-bonomi.com> In-Reply-To: <201302132113.r1DLD6DX003167@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Wed, 13 Feb 2013 23:42:34 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r1E5gYg9077724 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No 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, 14 Feb 2013 05:42:49 -0000 On 02/13/2013 03:13 PM, Robert Bonomi wrote: > >> Date: Wed, 13 Feb 2013 12:27:31 -0600 >> From: Tim Daneliuk >> Subject: Fun Scripting Problem >> >> I know how to do this in Python, but I really want to do it in >> straight Bourne shell. I have some ideas, but I thought I'd >> give you folks a crack at this Big Fun: >> >> a) You have a directory of files - say they're logs - generated >> at nondeterministic intervals. You may get more than one a day, >> more than one a month, none, or hundreds. >> >> b) To conserve space, you want to keep the last file generated >> in any given month (the archive goes back for an unspecified >> number of years), and delete all the files generated prior to >> that last file in that same month. >> >> c) Bonus points if the problem is solved generally for either files >> or directories generated as described above. >> >> These are not actually logs, and no, I don't think logrotate can >> do this ... or can it? > > here's a one-liner: > rm ` \ > stat -f "%SB %B %N" * \ > | sort -k5nr \ > | cut -c1-7,17-20,32- \ > | awk 'BEGIN {a="";b=0;c=0} $1==a && $2==b && $3=c {print $4;}{a=$1;b=$2;c=$3}' \ > ` > > This selects on creation date. change the B (both of them) in the stat > call to use a different timestamp Thanks to all that took the time. Interesting responses. It will be fun to cook up my own version. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 07:57: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 07E9059C for ; Thu, 14 Feb 2013 07:57:00 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF65BDF for ; Thu, 14 Feb 2013 07:56:58 +0000 (UTC) Received: from kw.news4all.se (usenet4all.se [82.182.32.53]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r1E7tcmB079132; Thu, 14 Feb 2013 08:55:41 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <511C986D.30601@bananmonarki.se> Date: Thu, 14 Feb 2013 08:55:25 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Chris Maness Subject: Re: Sendmail relaying for Intranet? References: <511ACAC8.80801@fisglobal.com> <511B45C9.4050201@bananmonarki.se> <511B530E.1050302@aboutsupport.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Zyumbilev, Peter" , 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, 14 Feb 2013 07:57:00 -0000 2013-02-14 03:07, Chris Maness skrev: > On Wed, Feb 13, 2013 at 12:47 AM, Zyumbilev, Peter > wrote: >> >> On 13/02/2013 09:50, Bernt Hansson wrote: >> >>> dnl define(`SMART_HOST', `your.isp.mail.server') >>> on your intranet machine and put in your inet machine name. > > That looks like would only take care of outbound mail, but what about > incoming mail? You mean incoming to the relay or your other machine? From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 09:51: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 CFBE15A4 for ; Thu, 14 Feb 2013 09:51:53 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 75C61177 for ; Thu, 14 Feb 2013 09:51:52 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U5vTr-00011X-Bo for freebsd-questions@freebsd.org; Thu, 14 Feb 2013 09:51:51 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U5vTq-0000SR-RA for freebsd-questions@freebsd.org; Thu, 14 Feb 2013 09:51:51 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1E9pon5017954 for ; Thu, 14 Feb 2013 09:51:50 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1E9pojN017953 for freebsd-questions@freebsd.org; Thu, 14 Feb 2013 09:51:50 GMT (envelope-from mexas) Date: Thu, 14 Feb 2013 09:51:50 GMT From: Anton Shterenlikht Message-Id: <201302140951.r1E9pojN017953@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: daily otput: rejected mail hosts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 09:51:53 -0000 I see in the daily output: Checking for rejected mail hosts: 172 553 check_mail system.mail exist 129 553 check_mail tsvpt014.vpt.co.uk exist 43 553 check_mail unix.dedicated.com.tr exist 43 553 check_mail ubs.net exist 43 553 check_mail localhost.localdomain exist 43 553 check_mail journal-cfp.org exist 43 553 check_mail italiasito.it exist What is that about? Is this described somewhere in sendmail manuals? Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 12:15: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 11A3FDC for ; Thu, 14 Feb 2013 12:15:11 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id D0E06DB2 for ; Thu, 14 Feb 2013 12:15:10 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id r1EBGW8e019835 for ; Thu, 14 Feb 2013 05:16:32 -0600 (CST) Date: Thu, 14 Feb 2013 05:16:31 -0600 (CST) From: Scott Bennett Message-Id: <201302141116.r1EBGVIi019834@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: 3 TB disk troubles 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, 14 Feb 2013 12:15:11 -0000 I recently bought a 3 TB external hard drive. I attached it to the Firewire (400) bus and waited for my 8.2-STABLE i386 system to recognize it. After a small flurry of Firewire protocol messages, the kernel eventually said, Feb 12 23:35:42 hellas kernel: da2 at sbp0 bus 0 scbus0 target 1 lun 0 Feb 12 23:35:42 hellas kernel: da2: Fixed Direct Access SCSI-0 device Feb 12 23:35:42 hellas kernel: da2: 50.000MB/s transfers Feb 12 23:35:42 hellas kernel: da2: 2861588MB (5860533167 512 byte sectors: 255H 63S/T 364801C) So far, so good, I thought. Next I tried to use gpart(8) to set up a partition table. However, gpart, gpte (from sysutils/gpte), diskinfo(8), et al. only see the device as a 2 TB drive. hellas# diskinfo -v /dev/da2 /dev/da2 512 # sectorsize 2199023253504 # mediasize in bytes (2T) 4294967292 # mediasize in sectors 0 # stripesize 0 # stripeoffset 267349 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. # Disk ident. hellas# I have searched the archives of this list and several others, but haven't found anything helpful. This disk is *not* intended as a boot disk, just data storage. Is there any hope of using its full capacity? Or have I effectively bought an overpriced 2 TB drive? Please Cc: me directly in any replies because I am subscribed to the digest form of this list and would like to see responses without having to wait up to 24 hours. :-) Thanks in advance for any help! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at mp.cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 12:21: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 05EEA29B for ; Thu, 14 Feb 2013 12:21:47 +0000 (UTC) (envelope-from joar.jegleim@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 9DA46DF1 for ; Thu, 14 Feb 2013 12:21:46 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id t11so1914787wey.14 for ; Thu, 14 Feb 2013 04:21:45 -0800 (PST) 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=t6AfJjnhdhXB7UUJ2J35lzmwm+1e+lHc0Jjt/frAbJ8=; b=pPlIfAixAjkaLcfUJnoWBV9kcXdbUXpQ7Drqfl/6OECcxrYEz0bgVtxmXOjLp5yUj2 orOkgz0U6eF1q2hvyELDiOrc7Rk0f3h75Z3nrXeMT+qkDtUmujEnx0CnJkbn2bnKio+T wPLyFJyfUrgjVHm78m8++GfpRXONaBn7DHe12hbWU4y3g7oQyN4qdRma44GdliP3LVs0 DpBA5T5htIQJHdF2f7RHMCyJ5Th5wSZVx1AIb3HTkWNnJsX+UCsugZv3EpsaJwaSHhBT GTfzZSEyBX3KQLT/QDxsR8WrKPmzbtIhEit36Fy58gjTBxs6LG3pw/TpdUiZM1QKmaAp AJWg== MIME-Version: 1.0 X-Received: by 10.194.86.38 with SMTP id m6mr29366036wjz.13.1360844499173; Thu, 14 Feb 2013 04:21:39 -0800 (PST) Received: by 10.216.234.7 with HTTP; Thu, 14 Feb 2013 04:21:38 -0800 (PST) In-Reply-To: <201302141116.r1EBGVIi019834@mp.cs.niu.edu> References: <201302141116.r1EBGVIi019834@mp.cs.niu.edu> Date: Thu, 14 Feb 2013 13:21:38 +0100 Message-ID: Subject: Re: 3 TB disk troubles From: Joar Jegleim To: Scott Bennett 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: Thu, 14 Feb 2013 12:21:47 -0000 I could be completely off mark here, but does that external drive have eSata too ? Your problem resembles a lot something I struggled with a while ago. I'd bought an external hd case + a 3TB drive for my girlfriend , the external hd case supported eSATA and usb . I had a lot of problems when connecting that 3TB drive to my laptop via usb (I didn't have eSATA), the drive showed up as only 2TB . It turned out that the external drive case required to be connected via eSATA for +2TB drives, the manual said so, I had only forgotten about that . Via eSATA the drive was recognized as 3TB, I think the 'problem' was OS agnostic, since the same happened on my girlfriends mac. regards Joar Jegleim On 14 February 2013 12:16, Scott Bennett wrote: > I recently bought a 3 TB external hard drive. I attached it to the > Firewire (400) bus and waited for my 8.2-STABLE i386 system to recognize it. > After a small flurry of Firewire protocol messages, the kernel eventually > said, > > Feb 12 23:35:42 hellas kernel: da2 at sbp0 bus 0 scbus0 target 1 lun 0 > Feb 12 23:35:42 hellas kernel: da2: Fixed Direct Access SCSI-0 device > Feb 12 23:35:42 hellas kernel: da2: 50.000MB/s transfers > Feb 12 23:35:42 hellas kernel: da2: 2861588MB (5860533167 512 byte sectors: 255H > 63S/T 364801C) > > So far, so good, I thought. > Next I tried to use gpart(8) to set up a partition table. However, > gpart, gpte (from sysutils/gpte), diskinfo(8), et al. only see the device > as a 2 TB drive. > > hellas# diskinfo -v /dev/da2 > /dev/da2 > 512 # sectorsize > 2199023253504 # mediasize in bytes (2T) > 4294967292 # mediasize in sectors > 0 # stripesize > 0 # stripeoffset > 267349 # Cylinders according to firmware. > 255 # Heads according to firmware. > 63 # Sectors according to firmware. > # Disk ident. > > hellas# > > I have searched the archives of this list and several others, but > haven't found anything helpful. This disk is *not* intended as a boot > disk, just data storage. Is there any hope of using its full capacity? > Or have I effectively bought an overpriced 2 TB drive? > Please Cc: me directly in any replies because I am subscribed to > the digest form of this list and would like to see responses without > having to wait up to 24 hours. :-) Thanks in advance for any help! > > > Scott Bennett, Comm. ASMELG, CFIAG > ********************************************************************** > * Internet: bennett at mp.cs.niu.edu * > *--------------------------------------------------------------------* > * "A well regulated and disciplined militia, is at all times a good * > * objection to the introduction of that bane of all free governments * > * -- a standing army." * > * -- Gov. John Hancock, New York Journal, 28 January 1790 * > ********************************************************************** > _______________________________________________ > 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" -- ---------------------- Joar Jegleim Homepage: http://cosmicb.no Linkedin: http://no.linkedin.com/in/joarjegleim fb: http://www.facebook.com/joar.jegleim AKA: CosmicB @Freenode ---------------------- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 12:33: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 09C00A0D for ; Thu, 14 Feb 2013 12:33:37 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id D489EEB9 for ; Thu, 14 Feb 2013 12:33:36 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id r1ECXVI6020102; Thu, 14 Feb 2013 06:33:31 -0600 (CST) Date: Thu, 14 Feb 2013 06:33:31 -0600 (CST) From: Scott Bennett Message-Id: <201302141233.r1ECXVXx020101@mp.cs.niu.edu> To: joar.jegleim@gmail.com Subject: Re: 3 TB disk troubles 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, 14 Feb 2013 12:33:37 -0000 On Thu, 14 Feb 2013 13:21:38 +0100 Joar Jegleim wrote: >I could be completely off mark here, but does that external drive have >eSata too ? No, it only has Firewire 400 and USB 2.0 sockets. >Your problem resembles a lot something I struggled with a while ago. >I'd bought an external hd case + a 3TB drive for my girlfriend , the >external hd case supported eSATA and usb . > >I had a lot of problems when connecting that 3TB drive to my laptop >via usb (I didn't have eSATA), the drive showed up as only 2TB . >It turned out that the external drive case required to be connected >via eSATA for +2TB drives, the manual said so, I had only forgotten >about that . Unfortunately, mine did not come with a manual. :-( I suppose I could try it on a USB 2.0 port to see if that makes any difference. > >Via eSATA the drive was recognized as 3TB, I think the 'problem' was >OS agnostic, since the same happened on my girlfriends mac. > The confusing thing is that the kernel says it's a 3 TB device, but the utility programs say otherwise. Thanks for your reply, though. I may have to take the device back to the store I bought it and ask them to demonstrate to me that it actually works for them as a 3 TB drive. Sigh. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at mp.cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 12:34: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 1D3DEAC7; Thu, 14 Feb 2013 12:34:53 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD8AECD; Thu, 14 Feb 2013 12:34:51 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id r1ECduCd032966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Feb 2013 13:39:56 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <511CD9DF.4020606@omnilan.de> Date: Thu, 14 Feb 2013 13:34:39 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-stable , freebsd-questions@freebsd.org Subject: Why scf (sfcd) monitoring sometimes doesn't work X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5EF6CB1D01F87DB64189ADBF" 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, 14 Feb 2013 12:34:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5EF6CB1D01F87DB64189ADBF Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello, I found fsc (http://www.freshports.org/sysutils/fsc/) to be extremely useful. Unfortunately, I can't get some services to be monitored, "fscadm enable" just failes with "Could not monitor service." I don't know how kqueue interaction is working, so I can't guess why some services can be monitored fine and others not. How can I start finding out what goes wrong? How does the rc-name play into that role? Thanks, -Harry --------------enig5EF6CB1D01F87DB64189ADBF 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.18 (FreeBSD) iEYEARECAAYFAlEc2eQACgkQLDqVQ9VXb8haWgCgr4nZ6tGYY+KPGKLuYZpkgeG0 AjgAmgKGN1CKNJUB5kQrvzQep+6GuSkd =wson -----END PGP SIGNATURE----- --------------enig5EF6CB1D01F87DB64189ADBF-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 13:02: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 8886225E for ; Thu, 14 Feb 2013 13:02:38 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 16AD99C for ; Thu, 14 Feb 2013 13:02:37 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id r1ED7mkZ033348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Feb 2013 14:07:48 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <511CE06C.2080909@omnilan.de> Date: Thu, 14 Feb 2013 14:02:36 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Dennis Glatting Subject: Re: Problems with the LSI 9211-8i or LSI SAS2008 chips? References: <1350573079.3968.41.camel@btw.pki2.com> In-Reply-To: <1350573079.3968.41.camel@btw.pki2.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13364FC05F68CABA07F4A624" 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, 14 Feb 2013 13:02:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13364FC05F68CABA07F4A624 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable schrieb Dennis Glatting am 18.10.2012 17:11 (localtime): > I am working with some folks on this list on a ZFS problem where I am > using LSI 9211-8i boards flashed to IT, which use the LSI SAS2008 chips= > (I own about ten of these boards). I have used various versions of BIOS= > and firmware from LSI in these boards and presently using LSI's most > recent. The 2008 chips are listed as supported in the driver and I have= > also used Supermicro boards with these chips. > > mps0: port 0xc000-0xc0ff mem > 0xfe93c000-0xfe93ffff,0xfe940000-0xfe97ffff irq 32 at device 0.0 on pci= 3 > mps0: Firmware: 14.00.00.00, Driver: 14.00.00.01-fbsd > mps0: IOCCapabilities: > 1285c > > In the debugging process the question arose related to chip revisions, > firmware revisions, and folks general opinion about the 9211-8i /or/ > recommendation of something better for a ZFS HBA. We /do not/ know if > the problem experienced is this board/chip/firmware, rather we're simpl= y > asking questions about them. > > Opinions? Experiences? I'm using exactly the same silicon for ZFS storage servers: mps0: port 0x5000-0x50ff mem 0xd6500000-0xd6503fff,0xd6540000-0xd657ffff irq 19 at device 0.0 on pci5 mps0: Firmware: 14.00.00.00, Driver: 14.00.00.01-fbsd mps0: IOCCapabilities: 1285c No hardware related problems so far. Only annoying point is that MSI-X initialisation doesn't work with beeing a VT-d passthrough device into ESXi guest. I have to "hw.mps.disable_msix=3D1" in loader.conf to make it work. But that's not a SAS2008 or mps driver problem, that's a generic FreeBSD problem which also affects ixgbe, em and igb in my case. For some devices I use the trick to reload the kld (http://lists.freebsd.org/pipermail/freebsd-stable/2012-October/070200.ht= ml) Others also report that problem and also report that the problem doesn't occur on other guest OSs: http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241447.html= So FreeBSD is doing some MSI-X initialization different at booting than all other OSs. Unfortunately I haven't had time to further help finding the real problem. -Harry --------------enig13364FC05F68CABA07F4A624 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.18 (FreeBSD) iEYEARECAAYFAlEc4GwACgkQLDqVQ9VXb8hMYACgmmpO2E6U2ccvMDqSM92XzAEa D2oAninnMiKe9UtXRv4XmlAAeikOkzio =RLp0 -----END PGP SIGNATURE----- --------------enig13364FC05F68CABA07F4A624-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 13:04:50 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 51397584; Thu, 14 Feb 2013 13:04:50 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id D7B0DEA; Thu, 14 Feb 2013 13:04:49 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id r1EDA0DH033377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Feb 2013 14:10:00 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <511CE0F0.4060408@omnilan.de> Date: Thu, 14 Feb 2013 14:04:48 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-stable , freebsd-questions@freebsd.org Subject: Why fsc (fscd) monitoring sometimes doesn't work [Was: Re: Why scf (sfcd) monitoring sometimes doesn't work] References: <511CD9DF.4020606@omnilan.de> In-Reply-To: <511CD9DF.4020606@omnilan.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2FE602CEFAA149F93133465E" 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, 14 Feb 2013 13:04:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2FE602CEFAA149F93133465E Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable schrieb Harald Schmalzbauer am 14.02.2013 13:34 (localtime): > Hello, > > I found fsc (http://www.freshports.org/sysutils/fsc/) to be extremely > useful. > Unfortunately, I can't get some services to be monitored, "fscadm > enable" just failes with "Could not monitor service." > I don't know how kqueue interaction is working, so I can't guess why > some services can be monitored fine and others not. > How can I start finding out what goes wrong? > How does the rc-name play into that role? > Sorry for the ugly typo in the topic! --------------enig2FE602CEFAA149F93133465E 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.18 (FreeBSD) iEYEARECAAYFAlEc4PAACgkQLDqVQ9VXb8hsaQCfTqFp4T1t6EHPkzOOuXb98qXs t9MAmwSaIyQL/bsg+BgCCTFOeTqPfBn5 =UOcK -----END PGP SIGNATURE----- --------------enig2FE602CEFAA149F93133465E-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 13:18:42 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 E9FBB97C for ; Thu, 14 Feb 2013 13:18:42 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 76D1E18E for ; Thu, 14 Feb 2013 13:18:41 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id r1EDNo2k033600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Feb 2013 14:23:50 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <511CE42E.2090509@omnilan.de> Date: Thu, 14 Feb 2013 14:18:38 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Fbsd8 Subject: Re: setting MIBs on a per jail bases References: <5112874D.30500@a1poweruser.com> <3A0296FA-E6E1-41AD-8077-7648E6E57511@my.gd> <51128B7C.4090801@a1poweruser.com> In-Reply-To: <51128B7C.4090801@a1poweruser.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBDE81FFBE83B85CBA0E3C7F3" Cc: Fleuriot Damien , 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, 14 Feb 2013 13:18:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBDE81FFBE83B85CBA0E3C7F3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable schrieb Fbsd8 am 06.02.2013 17:57 (localtime): > Fleuriot Damien wrote: >> Running 8.3 here and the answer is no. >> >> >> On Feb 6, 2013, at 5:39 PM, Fbsd8 wrote: >> >>> Is there a way to set these MIBs >>> on a per jail bases? >>> >>> allow.mount.nullfs >>> allow.raw_sockets >>> cpuset.id >>> securelevel >> >> >> > > Rereading the "man jail" for 9.1 talks about securelevel as a jail > parammeter. So correct me if I an wrong. All the security.jail.param.* > MIBs are set in rc.conf or /etc/jail.conf file on a per jail bases by > changing the word "parm" to the jailname? > This applies to jail.conf(5). That's a entirely new way to handle jails in FreeBSD 9.1. Very nice, but not included in rc.d. If you want to keep the traditional way running jails, I made a patch some time ago to control more per-jail tunables. Here you can donwload it for -9: ftp://ftp.omnilan.de/pub/FreeBSD/OmniLAN/deploy-tools/local-patches/src/j= ail-allow-selectables.patch_9 That also irons some ip configuration cosmetics, see defaults/rc.conf. If you want to give the new jail(8) and jail.conf capabilities a try, here's like I use it with vnet (vimage, virtual per-jail-network stack): Compile a kernel with "options VIMAGE" remove "# keyword nojail" in jail's etc/rc.d/netif and routing (if you want to set IP addresses inside the jail) And here's the corresponding jail.conf: ### exec.start =3D "/bin/sh /etc/rc"; exec.stop =3D "/bin/sh /etc/rc.shutdown && sleep 2"; exec.clean; allow.mount; allow.mount.devfs; allow.set_hostname; mount.devfs; devfs_ruleset=3D4; # Dynamic wildcard parameter: # Base the path off the jail name. path =3D "/.jail.$name"; mount.fstab=3D"/etc/fstab.$name"; yourname { mount; name =3D "inno"; # host.hostname =3D .your hostname.net"; but also set inside the jail along with network setup vnet =3D "new"; vnet.interface =3D "jbb$name"; } ### You can add "allow.raw_sockets" anywhere. But with vnet, you don't need that any more. Just to point you into the right direction. -Harry --------------enigBDE81FFBE83B85CBA0E3C7F3 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.18 (FreeBSD) iEYEARECAAYFAlEc5C4ACgkQLDqVQ9VXb8jdhgCfWRrt/sPiEDj9kISbECebV/Bi 1cQAn1T6w476WrxgiPTheRQbnnBMdxwM =6T3F -----END PGP SIGNATURE----- --------------enigBDE81FFBE83B85CBA0E3C7F3-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 13:30:57 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 960FF6A for ; Thu, 14 Feb 2013 13:30:57 +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 5B4B4248 for ; Thu, 14 Feb 2013 13:30:57 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U5yuA-0003Bp-9V for freebsd-questions@freebsd.org; Thu, 14 Feb 2013 14:31:14 +0100 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 ; Thu, 14 Feb 2013 14:31:14 +0100 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 ; Thu, 14 Feb 2013 14:31:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Question about port: net/linux-f10-openldap Date: Thu, 14 Feb 2013 13:30:41 +0000 (UTC) Lines: 6 Message-ID: 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.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) 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, 14 Feb 2013 13:30:57 -0000 When I install net/linux-f10-openldap (required by www/linux-f10- flashplugin), it installs a dangling symlink; i.e. /compat/linux/etc/ openldap. I realise of course that this is a rather trivial question, but should it be so? From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 13:32:52 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 BAA0927B for ; Thu, 14 Feb 2013 13:32:52 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 36A1B277 for ; Thu, 14 Feb 2013 13:32:51 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id r1EDc1ld033775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Feb 2013 14:38:01 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <511CE781.9020503@omnilan.de> Date: Thu, 14 Feb 2013 14:32:49 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Fbsd8 Subject: Re: setting MIBs on a per jail bases References: <5112874D.30500@a1poweruser.com> <3A0296FA-E6E1-41AD-8077-7648E6E57511@my.gd> <51128B7C.4090801@a1poweruser.com> <511CE42E.2090509@omnilan.de> In-Reply-To: <511CE42E.2090509@omnilan.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig35E76777D67DA9C02CC4D01A" Cc: Fleuriot Damien , 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, 14 Feb 2013 13:32:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig35E76777D67DA9C02CC4D01A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable schrieb Harald Schmalzbauer am 14.02.2013 14:18 (localtime): > schrieb Fbsd8 am 06.02.2013 17:57 (localtime): >> Fleuriot Damien wrote: >>> Running 8.3 here and the answer is no. >>> >>> >>> On Feb 6, 2013, at 5:39 PM, Fbsd8 wrote: >>> >>>> Is there a way to set these MIBs >>>> on a per jail bases? >>>> >>>> allow.mount.nullfs >>>> allow.raw_sockets >>>> cpuset.id >>>> securelevel >>> >>> >> Rereading the "man jail" for 9.1 talks about securelevel as a jail >> parammeter. So correct me if I an wrong. All the security.jail.param.*= >> MIBs are set in rc.conf or /etc/jail.conf file on a per jail bases by >> changing the word "parm" to the jailname? >> > This applies to jail.conf(5). > That's a entirely new way to handle jails in FreeBSD 9.1. Very nice, bu= t > not included in rc.d. > > If you want to keep the traditional way running jails, I made a patch > some time ago to control more per-jail tunables. > Here you can donwload it for -9: > ftp://ftp.omnilan.de/pub/FreeBSD/OmniLAN/deploy-tools/local-patches/src= /jail-allow-selectables.patch_9 > That also irons some ip configuration cosmetics, see defaults/rc.conf. See also http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D686783+0+archive/2010/free= bsd-stable/20100704.freebsd-stable -Harry --------------enig35E76777D67DA9C02CC4D01A 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.18 (FreeBSD) iEYEARECAAYFAlEc54EACgkQLDqVQ9VXb8gQxQCguHdL75/d0+sGUU1gXJHYi0sK hBgAnAmo3STl6sRaK1WAP+tl8wzXoFqM =0xNB -----END PGP SIGNATURE----- --------------enig35E76777D67DA9C02CC4D01A-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 15:12: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 58ED9CAF for ; Thu, 14 Feb 2013 15:12:38 +0000 (UTC) (envelope-from prvs=75066281f=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.180.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6FDA34 for ; Thu, 14 Feb 2013 15:12:37 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhEFAPb9HFGBbgogTmdsb2JhbABEDsBvAwEBI0uCHwEBAQQBAQE1AhQgCxALGC4nAQkSFAYBBwcEARwEh3EMvXCNSoNZYQOIZosLg1CRfl5OgQU X-IronPort-AV: E=Sophos;i="4.84,665,1355119200"; d="scan'208";a="57020" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 Feb 2013 09:11:29 -0600 Date: Thu, 14 Feb 2013 09:11:26 -0600 From: Paul Schmehl To: Scott Bennett , joar.jegleim@gmail.com Subject: Re: 3 TB disk troubles Message-ID: In-Reply-To: <201302141233.r1ECXVXx020101@mp.cs.niu.edu> References: <201302141233.r1ECXVXx020101@mp.cs.niu.edu> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=1859 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 15:12:38 -0000 --On February 14, 2013 6:33:31 AM -0600 Scott Bennett wrote: >> > The confusing thing is that the kernel says it's a 3 TB device, > but the utility programs say otherwise. > Thanks for your reply, though. I may have to take the device back > to the store I bought it and ask them to demonstrate to me that it > actually works for them as a 3 TB drive. Sigh. > What utilities are you referring to? If it's fdisk and bsdlabel, those can only "see" 2TB no matter how big the disk is. What does gpart show tell you? > > Scott Bennett, Comm. ASMELG, CFIAG > ********************************************************************** > * Internet: bennett at mp.cs.niu.edu * > *--------------------------------------------------------------------* > * "A well regulated and disciplined militia, is at all times a good * > * objection to the introduction of that bane of all free governments * > * -- a standing army." * > * -- Gov. John Hancock, New York Journal, 28 January 1790 * > ********************************************************************** > _______________________________________________ > 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" -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 16:01: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 F08E7C1D for ; Thu, 14 Feb 2013 16:01:35 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 96CCECF4 for ; Thu, 14 Feb 2013 16:01:35 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r1EG1MRB070604; Thu, 14 Feb 2013 09:01:22 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r1EG1MjQ070601; Thu, 14 Feb 2013 09:01:22 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 14 Feb 2013 09:01:22 -0700 (MST) From: Warren Block To: Scott Bennett Subject: Re: 3 TB disk troubles In-Reply-To: <201302141233.r1ECXVXx020101@mp.cs.niu.edu> Message-ID: References: <201302141233.r1ECXVXx020101@mp.cs.niu.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 14 Feb 2013 09:01:22 -0700 (MST) Cc: freebsd-questions@freebsd.org, joar.jegleim@gmail.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: Thu, 14 Feb 2013 16:01:36 -0000 On Thu, 14 Feb 2013, Scott Bennett wrote: > The confusing thing is that the kernel says it's a 3 TB device, > but the utility programs say otherwise. There are more than a few SATA to USB adapters that are not capable of dealing with larger devices. I've seen at least one that could not handle a 1T drive. Now that larger drives are becoming more common, the limits are often shown on the device box or description. The kernel may still identify the device correctly, possibly with different capacity detection. As mentioned, ESATA or just bypassing the SATA/USB/Firewire adapter and connecting directly to the drive should give the full capacity. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 16:17: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 DAEE6F09 for ; Thu, 14 Feb 2013 16:17:24 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ie0-x22a.google.com (ie-in-x022a.1e100.net [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id A41D7DA7 for ; Thu, 14 Feb 2013 16:17:24 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so3550714ieb.29 for ; Thu, 14 Feb 2013 08:17:23 -0800 (PST) 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=7RfJ5js3JN/XzBj4vmaIUpplRcXZFqWRotTOWGuTP4A=; b=jwJxSMGy54z06o5I59N4J7EDwTuuaKfHBYZay9LjGc3HDh6/S4HBw03BCYVji5kGJx kXz9Z6IcRVhEz36wyXHzE5JUJIZ6ifZcIQxSg9jSLYkxOq/LMTWTmMTBd6uf5esGQ2EJ JyZ3eVq39ntG2TsuEcC0Z2az1Ws1HMAKaYly0MTJGR2cfl+y0mCF6fbDCNelYtbYrIqu Gz2M2y5jxQkGzeGQ2RxepTqCsKtfDLrFtybf/xslz6A62QHHZ3WXgNLIb97AEcwn/3O2 7BZiOOiHDmSPjNys2fV8u0yySrYBaoXnKtdXZDRbSmqLxMU4u8MsevNxuNsHOaBG5KWA vFcA== MIME-Version: 1.0 X-Received: by 10.50.193.200 with SMTP id hq8mr43242igc.101.1360858631054; Thu, 14 Feb 2013 08:17:11 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.64.71.2 with HTTP; Thu, 14 Feb 2013 08:17:10 -0800 (PST) Date: Thu, 14 Feb 2013 11:17:10 -0500 X-Google-Sender-Auth: JmnwbovLXLB-OCLCZL-oTZkKwa4 Message-ID: Subject: Re: about unatteneded installation From: Rick Miller To: FreeBSD Questions 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, 14 Feb 2013 16:17:24 -0000 Hi Devin, On 12/20/12 1:10 PM, "Devin Teske" wrote: > > For now, people that prefer sysinstall can use my FreeBSD Druid pre-built install media: > > For 9.0: > http://sourceforge.net/projects/druidbsd/files/FreeBSD-9.0_Druid-1.0b60.iso/download > > For 8.3: > http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso/download > > As for 10.0 (when it comes out), expect bsdinstall to surpass sysinstall (in many many great ways) in every way (unlike the current status in 9.x). I had begun evaluating FreeBSD Druid and DruidBSD, but was sidetracked with a different project. I'm hoping to return to this in the coming weeks. Having said that, I am wondering what disk partition utilities FreeBSD Druid/DruidBSD use when installing 9.x. Is it using fdisk/bsdlabel or gpart? -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 17:34: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 D2637ED4 for ; Thu, 14 Feb 2013 17:34:13 +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 2D75717C for ; Thu, 14 Feb 2013 17:34:12 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r1EHYBYa003966 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 14 Feb 2013 11:34:11 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.02.0309.002; Thu, 14 Feb 2013 11:34:11 -0600 From: "Teske, Devin" To: Rick Miller , FreeBSD Questions Subject: RE: about unatteneded installation Thread-Topic: about unatteneded installation Thread-Index: AQHOCs7NQF2z0ZSzGUCJvYOAt9RxMJh5kAN7 Date: Thu, 14 Feb 2013 17:34:10 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA962E@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.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-14_06:2013-02-14,2013-02-14,1970-01-01 signatures=0 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, 14 Feb 2013 17:34:13 -0000 On Thu, 14 Feb 2013, Rick Miller wrote: > Hi Devin, >=20 > On 12/20/12 1:10 PM, "Devin Teske" wrote: > > > > For now, people that prefer sysinstall can use my FreeBSD Druid pre-bui= lt install media: > > > > For 9.0: > > http://sourceforge.net/projects/druidbsd/files/FreeBSD-9.0_Druid-1.0b60= .iso/download > > > > For 8.3: > > http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60= .iso/download > > > > As for 10.0 (when it comes out), expect bsdinstall to surpass sysinstal= l (in many many great ways) in every way (unlike the current status in 9.x). >=20 > I had begun evaluating FreeBSD Druid and DruidBSD, but was sidetracked > with a different project. I'm hoping to return to this in the coming > weeks. Having said that, I am wondering what disk partition utilities > FreeBSD Druid/DruidBSD use when installing 9.x. Is it using > fdisk/bsdlabel or gpart? Hi Rick, No worries on time lapse. In fact, I had been needing to get back to you on= assuaging those 4 failed patch hunks on your sysinstall work. FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What= does sysinstall use, you say? Glad you asked. sysinstall(8) uses a combina= tion of: + libdisk ( see, for example, Set_Boot_Mgr(3) within "case 'W'" of "switch = (toupper(key))" in function diskPartition() of file stable/9/usr.sbin/sysin= stall/disks.c lines 630-693) http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revisio= n=3D225736&view=3Dmarkup and ... + phk code (see, for example, slice_wizard() function in file stable/9/usr.= sbin/sysinstall/wizard.c lines 65-201, in-use for "case '|'" of the same sw= itch above, same function, lines 695-707 of stable/9/usr.sbin/sysinstall/di= sks.c) http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revisio= n=3D225736&view=3Dmarkup http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/wizard.c?revisi= on=3D225736&view=3Dmarkup But wait, there's more... The FreeBSD 9 version of my FreeBSD Druid has a patch to perform (only when= doing automated/scripted installs): gpart -F destroy ${dest_disk} The reason for this is that if you, say for example, were to try the bsdins= tall based media and then want to try sysinstall based media, you're actual= ly prevented from re-formatting that disk into a usable MBR layout until yo= u destroy the GPT backup label stored at the end of the disk. So the FreeBSD Druid for 9.x is basically the same as for 8.x with an addit= ional twist, it has gpart in the mfsroot so that it can do a "destroy" on t= he GPT backup data before formatting the disk in automated installations (t= his "destroy" command is not done for non-scripted installs). You can see the code here: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/free= bsd/menu/etc/all_install?r1=3D1.2&r2=3D1.3 http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/free= bsd/menu/etc/all_install?revision=3D1.3&view=3Dmarkup --=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 Thu Feb 14 17:48:57 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 93DD7377 for ; Thu, 14 Feb 2013 17:48:57 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by mx1.freebsd.org (Postfix) with ESMTP id 30A7C22E for ; Thu, 14 Feb 2013 17:48:56 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id hq4so198214wib.12 for ; Thu, 14 Feb 2013 09:48:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to:x-gm-message-state; bh=D1GZWOnpfbQ+D0/iHkyrRSwQQhshw0ndI9vq1gFoPjU=; b=pQ96ubp+VKg360LJyYkAkHFgSS0ShKeSYe0O9bjan12NU9H10XhIPyADmHyU1FWomT nMDgg2yRKCKVvF6o0rr6Hlp7BckJx1oqa09ALurBwHkH1rz6BIKz9Aw0nS4R04ozj8MK evF/W1JDcKmVpQ4nSI5KTa5b6Fj8Bou/R8h5tRb83m4uNE/B1pvDLvWdrCXWwdjvs+uy AclLvfr0dFOYUZ5VMfbXPxPMPxQn1fbSfVZPGnsYeHWZBVZQexTE2fh85rUiZPNRDOjE SBJdSCkSRUJ83MEzZrpLrPLsUYGgqiFd30z5S93gI9Bul6JVt1RPc+yVaKJ9F288RZ8R OCew== X-Received: by 10.180.77.68 with SMTP id q4mr1043964wiw.10.1360864129975; Thu, 14 Feb 2013 09:48:49 -0800 (PST) Received: from [10.51.168.226] ([92.90.20.86]) by mx.google.com with ESMTPS id o13sm662908wie.10.2013.02.14.09.48.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Feb 2013 09:48:49 -0800 (PST) References: <201302141233.r1ECXVXx020101@mp.cs.niu.edu> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <91898E96-6BCB-43D1-BBA7-CA0C7AEC8167@my.gd> X-Mailer: iPhone Mail (10B144) From: Damien Fleuriot Subject: Re: 3 TB disk troubles Date: Thu, 14 Feb 2013 18:48:35 +0100 To: Warren Block X-Gm-Message-State: ALoCoQn/nkgayyCDgfgLuHM4grqYbOzD8HNmEd+XPTPlROQDozVMpn1iL1xIczWSQC1cZndLIkPH Cc: Scott Bennett , "freebsd-questions@freebsd.org" , "joar.jegleim@gmail.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: Thu, 14 Feb 2013 17:48:57 -0000 On 14 Feb 2013, at 17:01, Warren Block wrote: > On Thu, 14 Feb 2013, Scott Bennett wrote: >=20 >> The confusing thing is that the kernel says it's a 3 TB device, >> but the utility programs say otherwise. >=20 > There are more than a few SATA to USB adapters that are not capable of dea= ling with larger devices. I've seen at least one that could not handle a 1T= drive. Now that larger drives are becoming more common, the limits are oft= en shown on the device box or description. >=20 > The kernel may still identify the device correctly, possibly with differen= t capacity detection. >=20 > As mentioned, ESATA or just bypassing the SATA/USB/Firewire adapter and co= nnecting directly to the drive should give the full capacity. >=20 I might be completely off here but, what about trying it over FireWire on a x= 64 box, as opposed to his 32bit 8.2 ? From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 18:38: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 5ED77D4C for ; Thu, 14 Feb 2013 18:38:56 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ie0-x235.google.com (ie-in-x0235.1e100.net [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 22CD3688 for ; Thu, 14 Feb 2013 18:38:56 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id 17so3621506iea.40 for ; Thu, 14 Feb 2013 10:38:55 -0800 (PST) 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=i5D5RuwVlQNBCGQjw8yh6rE9TaKmwFZ4tlPZ9y4VJ0g=; b=zH5XoypuqcOusCZ0Q9aMAuvcNfQ2IcbIbNnG9fzFlVxO6STAdPIXcIivp/ivtZBsLE xXGwBASkIJXdKcwcWtPa/0lQaKis8bmRwfkSllUIBj0j2ouJHsjXqqwakz3WMk2vZ345 73WL9zrUNMhT0rmKW5LiQe8exBSHLYeldviWaoonHTLA1e7C/ASCWhRruZtd/G6RR3/t r1pKS6FWVJCzgg0emhmwFl54KDt0OYAh/euH9rrDjtaNf4dgv2m8NRySq17e4neVtDuJ zFzNClfR7migiESKKpc4fTgGmQiLWJ3DZ0RlxloudLKqBeNusce6UFZaAf8Tz5xTwxmk Bf4g== MIME-Version: 1.0 X-Received: by 10.42.91.7 with SMTP id n7mr35632265icm.40.1360867135802; Thu, 14 Feb 2013 10:38:55 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.64.71.2 with HTTP; Thu, 14 Feb 2013 10:38:55 -0800 (PST) In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EA962E@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201EA962E@ltcfiswmsgmb21> Date: Thu, 14 Feb 2013 13:38:55 -0500 X-Google-Sender-Auth: eWc5LSFvLddkio7RJKDODr8J8Wc Message-ID: Subject: Re: about unatteneded installation From: Rick Miller To: "Teske, Devin" 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: Thu, 14 Feb 2013 18:38:56 -0000 On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin wrote: > On Thu, 14 Feb 2013, Rick Miller wrote: > > No worries on time lapse. In fact, I had been needing to get back to you on assuaging those 4 failed > patch hunks on your sysinstall work. > > FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What does sysinstall use, you say? > Glad you asked. sysinstall(8) uses a combination of: I anticipated this. I am under the impression one cannot force proper slice alignment on 4K sector drives with sysinstall (see http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html). Is it safe to assume that this also applies to 9.x when utilizing sysinstall based installer? -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 19:21: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 1A5A75D3 for ; Thu, 14 Feb 2013 19:21:26 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp.insight.synacor.com [208.47.185.22]) by mx1.freebsd.org (Postfix) with ESMTP id CD12D839 for ; Thu, 14 Feb 2013 19:21:25 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=G4+e4qY5 c=1 sm=0 a=Dm9TOXL4taQ+Gy1KovpL+A==:17 a=DvSzqBOGy98A:10 a=pedpZTtsAAAA:8 a=CBfD39zRuFEA:10 a=28bguoTQAAAA:8 a=DrWuTPnl9SCbKBJlkV0A:9 a=Dm9TOXL4taQ+Gy1KovpL+A==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp01.insight.synacor.com header.from=mueller6724@bellsouth.net; sender-id=neutral Received-SPF: softfail (smtp01.insight.synacor.com: transitional domain insightbb.com does not designate 74.130.198.7 as permitted sender) Received: from [74.130.198.7] ([74.130.198.7:43402] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 5B/18-06175-F293D115; Thu, 14 Feb 2013 14:21:19 -0500 Date: Thu, 14 Feb 2013 14:21:19 -0500 Message-ID: <5B.18.06175.F293D115@smtp01.insight.synacor.com> From: "Thomas Mueller" To: freebsd-questions@FreeBSD.org Subject: Re: 3 TB disk troubles References: <201302141116.r1EBGVIi019834@mp.cs.niu.edu> Cc: Scott Bennett 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, 14 Feb 2013 19:21:26 -0000 > I recently bought a 3 TB external hard drive. I attached it to the > Firewire (400) bus and waited for my 8.2-STABLE i386 system to recognize it. > After a small flurry of Firewire protocol messages, the kernel eventually > said, > Feb 12 23:35:42 hellas kernel: da2 at sbp0 bus 0 scbus0 target 1 lun 0 > Feb 12 23:35:42 hellas kernel: da2: Fixed Direct Access SCSI-0 device > Feb 12 23:35:42 hellas kernel: da2: 50.000MB/s transfers > Feb 12 23:35:42 hellas kernel: da2: 2861588MB (5860533167 512 byte sectors: 255H 63S/T 364801C) > So far, so good, I thought. > Next I tried to use gpart(8) to set up a partition table. However, > gpart, gpte (from sysutils/gpte), diskinfo(8), et al. only see the device > as a 2 TB drive. > hellas# diskinfo -v /dev/da2 > /dev/da2 > 512 # sectorsize > 2199023253504 # mediasize in bytes (2T) > 4294967292 # mediasize in sectors > 0 # stripesize > 0 # stripeoffset > 267349 # Cylinders according to firmware. > 255 # Heads according to firmware. > 63 # Sectors according to firmware. > # Disk ident. > hellas# > I have searched the archives of this list and several others, but > haven't found anything helpful. This disk is *not* intended as a boot > disk, just data storage. Is there any hope of using its full capacity? > Or have I effectively bought an overpriced 2 TB drive? > Please Cc: me directly in any replies because I am subscribed to > the digest form of this list and would like to see responses without > having to wait up to 24 hours. :-) Thanks in advance for any help! > Scott Bennett, Comm. ASMELG, CFIAG There is Rod Smith's gdisk, a gpt counterpart of fdisk. http://rodsbooks.com/gdisk/ and available in FreeBSD ports collection, one version (0.8.5) behind Rod's current version 0.8.6. This works for me. Tom From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 19:56: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 2695E902 for ; Thu, 14 Feb 2013 19:56:15 +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 EAC6AA19 for ; Thu, 14 Feb 2013 19:56:14 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id r1EJu8co019347 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 14 Feb 2013 13:56:08 -0600 Received: from dtwin (10.242.182.124) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.2.309.2; Thu, 14 Feb 2013 13:56:07 -0600 From: Sender: Devin Teske To: "'Rick Miller'" References: <13CA24D6AB415D428143D44749F57D7201EA962E@ltcfiswmsgmb21> In-Reply-To: Subject: RE: about unatteneded installation Date: Thu, 14 Feb 2013 11:55:43 -0800 Message-ID: <08fe01ce0aed$477cef20$d676cd60$@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQINplsuTy2Uw0DHtM2Rzx3ME7aNPQJEslt/AqPGJIWX00kqcA== Content-Language: en-us X-Originating-IP: [10.242.182.124] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-14_07:2013-02-14,2013-02-14,1970-01-01 signatures=0 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, 14 Feb 2013 19:56:15 -0000 > -----Original Message----- > From: vrwmiller@gmail.com [mailto:vrwmiller@gmail.com] On Behalf Of Rick > Miller > Sent: Thursday, February 14, 2013 10:39 AM > To: Teske, Devin > Cc: FreeBSD Questions > Subject: Re: about unatteneded installation > > On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin > wrote: > > On Thu, 14 Feb 2013, Rick Miller wrote: > > > > No worries on time lapse. In fact, I had been needing to get back to you on > assuaging those 4 failed > > patch hunks on your sysinstall work. > > > > FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What does > sysinstall use, you say? > > Glad you asked. sysinstall(8) uses a combination of: > > I anticipated this. I am under the impression one cannot force proper > slice alignment on 4K sector drives with sysinstall (see > http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html). > Is it safe to assume that this also applies to 9.x when utilizing > sysinstall based installer? > As previously mentioned, the FreeBSD Druid for FreeBSD 9.x contains gpart in the mfsroot. To make this work under sysinstall, you'd essentially tell sysinstall to use what's "already there" (and by "already there", I mean have a script pre-create the partition layout with gpart prior to installation). There are places (like the "all_install" script) in the FreeBSD Druid that would make this a simple proposition, but I'm afraid that the better solution (according to the article) is to use a "true" 4K-only drive (the article mentions that the problem only comes into play with drives that advertise both 512 and 4K sector sizes). -- 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 message in any manner; and (iii) notify the sender immediately. In addition, please 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 Feb 14 19:59:54 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 040249F2; Thu, 14 Feb 2013 19:59:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 8590DA44; Thu, 14 Feb 2013 19:59:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r1EJxqNL072319; Thu, 14 Feb 2013 12:59:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r1EJxqKP072316; Thu, 14 Feb 2013 12:59:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 14 Feb 2013 12:59:52 -0700 (MST) From: Warren Block To: dteske@freebsd.org Subject: RE: about unatteneded installation In-Reply-To: <08fe01ce0aed$477cef20$d676cd60$@freebsd.org> Message-ID: References: <13CA24D6AB415D428143D44749F57D7201EA962E@ltcfiswmsgmb21> <08fe01ce0aed$477cef20$d676cd60$@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 14 Feb 2013 12:59:52 -0700 (MST) Cc: 'Rick Miller' , '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, 14 Feb 2013 19:59:54 -0000 On Thu, 14 Feb 2013, dteske@freebsd.org wrote: > > >> -----Original Message----- >> From: vrwmiller@gmail.com [mailto:vrwmiller@gmail.com] On Behalf Of Rick >> Miller >> Sent: Thursday, February 14, 2013 10:39 AM >> To: Teske, Devin >> Cc: FreeBSD Questions >> Subject: Re: about unatteneded installation >> >> On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin >> wrote: >>> On Thu, 14 Feb 2013, Rick Miller wrote: >>> >>> No worries on time lapse. In fact, I had been needing to get back to you on >> assuaging those 4 failed >>> patch hunks on your sysinstall work. >>> >>> FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What > does >> sysinstall use, you say? >>> Glad you asked. sysinstall(8) uses a combination of: >> >> I anticipated this. I am under the impression one cannot force proper >> slice alignment on 4K sector drives with sysinstall (see >> http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html). >> Is it safe to assume that this also applies to 9.x when utilizing >> sysinstall based installer? >> > > As previously mentioned, the FreeBSD Druid for FreeBSD 9.x contains gpart in the > mfsroot. > > To make this work under sysinstall, you'd essentially tell sysinstall to use > what's "already there" (and by "already there", I mean have a script pre-create > the partition layout with gpart prior to installation). Yes, but neither fdisk(8) nor gpart(8) can align slices to arbitrary (aligned) locations. They will always be aligned to CHS values, equivalent to using -a63 in gpart. gpart(8) can align FreeBSD partitions inside a slice, though. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 21:09:57 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 3BB5AD0F for ; Thu, 14 Feb 2013 21:09:57 +0000 (UTC) (envelope-from fusionfoto@gmail.com) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx1.freebsd.org (Postfix) with ESMTP id BAF69E2B for ; Thu, 14 Feb 2013 21:09:56 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id l13so420535wie.14 for ; Thu, 14 Feb 2013 13:09:50 -0800 (PST) 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=3ScRFSpi4dLgO2aKdFJWHZnOHK/ZxM65oaCZCCQdlKo=; b=08cTTtlxDiQh6RUBvncuYOA2AUXjaPcesTX804qs4tLpggDoN6diiJtesHnGzePpLr tGSySCxqDUFDxdqYAT7CvC5T6DbA7jPG0Cu3QgfECkt760FCdMEPtwV+UPqb5NSrDLQC SnKmJGM4UAbM37y+PcxS0Jm8QknCGAul9PUcuhP8LXp3c73khWlldIX0I9NXaS3/ugBo LcWW1/76MLbNHDqp9vkmVfbS7SO6pKk76OGjHz543WmgO1u3H9Q8zFRuUjemQaMXNeqH Au2SpteL4Dst9duRd06G9tNgQGRokITzk2zfnjsXpoJGn19qrGEV+lRzxX4ZpXwgTjbc ks4w== MIME-Version: 1.0 X-Received: by 10.180.105.67 with SMTP id gk3mr141821wib.31.1360876190199; Thu, 14 Feb 2013 13:09:50 -0800 (PST) Received: by 10.216.152.206 with HTTP; Thu, 14 Feb 2013 13:09:50 -0800 (PST) Date: Thu, 14 Feb 2013 16:09:50 -0500 Message-ID: Subject: Is this an SSD problem or a controller problem? From: FF 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, 14 Feb 2013 21:09:57 -0000 This error has shown up at boot up, and then again trying to fire up smartd.conf. (aprobe0:ata2:0:0:0): SETFEATURES DISABLE SATA FEATURE. ACB: ef 90 00 00 00 40 00 00 00 00 02 00 (aprobe0:ata2:0:0:0): CAM status: ATA Status Error (aprobe0:ata2:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ata2:0:0:0): RES: 51 04 00 00 00 00 00 00 00 02 00 (aprobe0:ata2:0:0:0): Retrying command (aprobe0:ata2:0:0:0): SETFEATURES DISABLE SATA FEATURE. ACB: ef 90 00 00 00 40 00 00 00 00 02 00 (aprobe0:ata2:0:0:0): CAM status: ATA Status Error (aprobe0:ata2:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ata2:0:0:0): RES: 51 04 00 00 00 00 00 00 00 02 00 (aprobe0:ata2:0:0:0): Error 5, Retries exhausted The device is an SSD on ada15. smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE amd64] (local build) Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Indilinx Everest/Martini based SSDs Device Model: OCZ-VERTEX4 Serial Number: OCZ-7T2T10Q1P4294S68 LU WWN Device Id: 5 e83a97 7039f0a47 Firmware Version: 1.5 User Capacity: 128,035,676,160 bytes [128 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Thu Feb 14 14:16:00 2013 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled dmesg | grep ada15 ada15 at ata2 bus 0 scbus12 target 0 lun 0 ada15: ATA-9 SATA 3.x device ada15: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada15: 122104MB (250069680 512 byte sectors: 16H 63S/T 16383C) ada15: Previously was known as ad28 smartctl -a /dev/ada15 smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE amd64] (local build) Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Indilinx Everest/Martini based SSDs Device Model: OCZ-VERTEX4 Serial Number: OCZ-7T2T10Q1P4294S68 LU WWN Device Id: 5 e83a97 7039f0a47 Firmware Version: 1.5 User Capacity: 128,035,676,160 bytes [128 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Thu Feb 14 16:09:21 2013 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 249) Self-test routine in progress... 90% of test remaining. Total time to complete Offline data collection: ( 0) seconds. Offline data collection capabilities: (0x1d) SMART execute Offline immediate. No Auto Offline data collection support. Abort Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x00) Error logging NOT supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 0) minutes. Extended self-test routine recommended polling time: ( 0) minutes. SMART Attributes Data Structure revision number: 18 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x0000 006 000 000 Old_age Offline - 6 3 Spin_Up_Time 0x0000 100 100 000 Old_age Offline - 0 4 Start_Stop_Count 0x0000 100 100 000 Old_age Offline - 0 5 Reallocated_Sector_Ct 0x0000 100 100 000 Old_age Offline - 0 9 Power_On_Hours 0x0000 100 100 000 Old_age Offline - 3334 12 Power_Cycle_Count 0x0000 100 100 000 Old_age Offline - 20 232 Lifetime_Writes 0x0000 100 100 000 Old_age Offline - 19526904666 233 Media_Wearout_Indicator 0x0000 098 000 000 Old_age Offline - 98 SMART Error Log not supported Warning! SMART Self-Test Log Structure error: invalid SMART checksum. SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Selective Self-tests/Logging not supported This system doesn't seem to have any issue reading/writing to the SSD even with fairly significant ZFS loads. Any suggestions to track this down would be appreciated! -- FF From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 21:38: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 DC13B339; Thu, 14 Feb 2013 21:38:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9B95DF11; Thu, 14 Feb 2013 21:38:06 +0000 (UTC) Received: from pakbsde14.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E4F23B922; Thu, 14 Feb 2013 16:38:05 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" Date: Thu, 14 Feb 2013 16:31:55 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <20130210013631.4681c6fd.freebsd@edvax.de> <201302100126.r1A1QTT2047019@mech-cluster241.men.bris.ac.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201302141631.55788.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 14 Feb 2013 16:38:06 -0500 (EST) Cc: freebsd@edvax.de, mexas@bristol.ac.uk, "illoai@gmail.com" , 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, 14 Feb 2013 21:38:06 -0000 On Saturday, February 09, 2013 10:01:25 pm illoai@gmail.com wrote: > On 9 February 2013 20:26, Anton Shterenlikht wrote: > > > > > I removed COMPAT_LINUX, and only left > > > > options COMPAT_43 > > options COMPAT_LINUX32 > > > > From /usr/src/sys/amd64/conf/NOTES (9.1-RELEASE): > > # Enable Linux ABI emulation > #XXX#options COMPAT_LINUX > > # Enable 32-bit Linux ABI emulation (requires COMPAT_43 and > COMPAT_FREEBSD32) > options COMPAT_LINUX32 > > I think I first ran up against this when I moved to 9.0 some > time ago, but yes, amd64 uses a different kernel config > option than i386 for linux compat. > > I tend to leave it as a module & load it if I perchance > need it. This also allows rebuilding & reloading the > modules without a reboot, should it need it. The > modules seems to build fine without having to > fiddle about with kernel config jiggerypokey. COMPAT_LINUX will work on amd64 eventually and will be used for 64-bit Linux binaries (COMPAT_LINUX32 is to run Linux/i386 binaries on FreeBSD/amd64). -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 21:42: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 8A75D655 for ; Thu, 14 Feb 2013 21:42:26 +0000 (UTC) (envelope-from vijaykaul@gmail.com) Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by mx1.freebsd.org (Postfix) with ESMTP id 29F51F5F for ; Thu, 14 Feb 2013 21:42:25 +0000 (UTC) Received: by mail-ee0-f47.google.com with SMTP id e52so1504496eek.34 for ; Thu, 14 Feb 2013 13:42:18 -0800 (PST) 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=g179lfasAjPRH7BDNdgdRjOE7P9sNaTUZEGI9Qcr+Ag=; b=Oc6Dbqe77HTqn1sUKCDYRD2pvKKvvgi9tzLFVHQvje7WFkte9vxzV86DP4hHg9wSXJ vwLpmofXlkkWGObgPbGPkn2dtJHflCevftNPocP1ejcmkTF6o44Oe4hno6S6jtOIkZUn rFjitvpJajuIyKcJ3cUkusGotmpMKFh6Whx6IBRHUol26bUxP23r8WFGB/4AcygvlOnZ Xo8Sth5va+5lL/omR4VWEY5XtzySwDZnMMKU6jy4O/dAw4LTgUrQ6LHZqwCMf5Z+WARG KOHadixmv3tFmnoMx3MQQz9ASmYJVAt0oNb8nyOXx67CssI2d0sMitXT9bkEtHCSjSeK vkEw== MIME-Version: 1.0 X-Received: by 10.14.219.129 with SMTP id m1mr674826eep.16.1360878138600; Thu, 14 Feb 2013 13:42:18 -0800 (PST) Received: by 10.14.142.206 with HTTP; Thu, 14 Feb 2013 13:42:15 -0800 (PST) Date: Thu, 14 Feb 2013 16:42:15 -0500 Message-ID: Subject: Installing Matlab From: Vijay Kaul 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: Thu, 14 Feb 2013 21:42:26 -0000 I was wondering if anyone has had any recent (or not-so-recent) experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about octave.) I'm not entirely new to *nix, but I'm novice enough that I can't seem to get this to work. Perhaps the shortest and simplest solution would be if Mathworks own installer would function, but that runs as a Java Web Start application, and I can't seem to get that working in Opera, Firefox, or Konqueror. The automatic rout having failed, I've downloaded the files manually, and I've tried to run the install script; however, it's failed as well. I found this site: , which claims installation instructions for PC-BSD8.2 boiling down to: open up the shell scripts and take /bin/sh --> /compat/linux/bin/sh. Well, that seems to help a bit, but it also fails because the install script determines my architecture to be x68, while the downloads are for (what they call) a64. (My system is indeed a 64-bit system. Perhaps the above instructions were for an x86 system.) I feel like if I could modify the install script sufficiently, the install would work. My bash scripting is weak, though, and I worry about screwing up my system and/or the installation. There are only a few functions in there that are looking for architecture type, usually with the output from uname. I think fixing those would work...? Could anyone help me get past this point? Thanks in advance! And please, if there's any info I can provide that would be helpful, please just let me know. Output of uname -a: FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 The install script in question: Thanks again, --Vijay From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 22:42: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 D5079366 for ; Thu, 14 Feb 2013 22:42:05 +0000 (UTC) (envelope-from martin.pola@kottnet.net) Received: from mail.kottnet.net (mail.kottnet.net [171.25.159.60]) by mx1.freebsd.org (Postfix) with ESMTP id 2FBF01C1 for ; Thu, 14 Feb 2013 22:42:04 +0000 (UTC) Received: (qmail 23418 invoked by uid 168); 14 Feb 2013 23:35:16 +0100 X-Qmail-Scanner-Diagnostics: from 214.96.227.87.static.vx.siw.siwnet.net (martin.pola@kottnet.net@214.96.227.87.static.vx.siw.siwnet.net) by mail (envelope-from , uid 89) with qmail-scanner-2.10st (clamdscan: 0.97.6/16680. spamassassin: 3.3.1. perlscan: 2.10st. Clear:RC:0(87.227.96.214):SA:0(0.1/5.0):. Processed in 5.743257 secs); 14 Feb 2013 22:35:16 -0000 X-Spam-Status: No, hits=0.1 required=5.0 X-Qmail-Scanner-Mail-From: martin.pola@kottnet.net via mail X-Qmail-Scanner: 2.10st (Clear:RC:0(87.227.96.214):SA:0(0.1/5.0):. Processed in 5.743257 secs Process 23375) Received: from 214.96.227.87.static.vx.siw.siwnet.net (HELO ?192.168.0.37?) (martin.pola@kottnet.net@87.227.96.214) by host.kottnet.net with RC4-MD5 encrypted SMTP; 14 Feb 2013 23:35:10 +0100 Date: Thu, 14 Feb 2013 23:35:12 +0100 Subject: Cannot resolve localhost Message-ID: From: Martin Pola To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 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, 14 Feb 2013 22:42:05 -0000 SGksCgpJJ20gdHJ5aW5nIHRvIGdldCBteSBGcmVlQlNEIHN5c3RlbSB0byByZXNvbHZlIGxvY2Fs aG9zdCBpbnRvIDEyNy4wLjAuMSwgYnV0IHVuZm9ydHVuYXRlbHkgaXQgZG9lc24ndCB3b3JrLiBJ dCBhcHBlYXJzIHRoZSByZXNvbHZlciBpcyBuZXZlciByZWFkaW5nIGZyb20gL2V0Yy9ob3N0cywg d2hlcmUgSSBoYXZlIHRoaXMgbGluZToKMTI3LjAuMC4xIGxvY2FsaG9zdAoKSGVyZSdzIGEgc2Ft cGxlIG91dHB1dCBvZiB3aGF0IEkgZ2V0IHdoZW4gSSB0cnkgdG8gcmVzb2x2ZSB0aGUgbmFtZToK JCBuc2xvb2t1cCBsb2NhbGhvc3QKOzsgR290IHJlY3Vyc2lvbiBub3QgYXZhaWxhYmxlIGZyb20g OTEuOTAuMjQuMjUwLCB0cnlpbmcgbmV4dCBzZXJ2ZXIKU2VydmVyOiAgICAgICAgIDguOC44LjgK QWRkcmVzczogICAgICAgIDguOC44LjgjNTMKIAoqKiBzZXJ2ZXIgY2FuJ3QgZmluZCBsb2NhbGhv c3Q6IE5YRE9NQUlOCiAKV2hhdCBhbSBJIG1pc3Npbmc/CgpLaW5kIHJlZ2FyZHMsCk1hcnRpbgo= From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 22:53:32 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 A23DC4BC for ; Thu, 14 Feb 2013 22:53:32 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ie0-x22c.google.com (ie-in-x022c.1e100.net [IPv6:2607:f8b0:4001:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 518F8222 for ; Thu, 14 Feb 2013 22:53:32 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id c10so4046126ieb.31 for ; Thu, 14 Feb 2013 14:53:32 -0800 (PST) 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:content-type; bh=EfmzD7VyjuygYuhkheMhJ3MkWEp83l8V8cUD8d7v8ZE=; b=QWQfHxiD//7YQ5Q4dny6vrv1CKQ5HIk+7svKmcxiWyHwPkhzIdsr1nfC2JR2QYuNFC ox8LAoXB7nKIiVwzZf7XEmQfBO+JeC8JnsOg1Tw3fJ4t11WOFKqzn5rYItl+3bLg3lWK S0tXB/2AaPa6aViyWFK9QxePThY+mfYSvF0zn1YeQijJau0xnPdGYrwnWlkaQLHO/mc/ dArti57hMK4Tx5RM8znhcnNEF95FtHETBDJ4/gVCC1HqiDr72kuQzDIo9LuMi6H0mvIU bcxSi5RLgmoEy8/f38wfYOtJv7mEKLrKY027Arefq5HVb+kP16dLEWRFT1/U5uAGKdEN tr3g== MIME-Version: 1.0 X-Received: by 10.50.193.200 with SMTP id hq8mr952760igc.101.1360882411841; Thu, 14 Feb 2013 14:53:31 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.64.71.2 with HTTP; Thu, 14 Feb 2013 14:53:31 -0800 (PST) In-Reply-To: References: Date: Thu, 14 Feb 2013 17:53:31 -0500 X-Google-Sender-Auth: hn7wiMKSTRyr5R5prjHR2FJt0PM Message-ID: Subject: Re: Cannot resolve localhost From: Rick Miller To: Martin Pola , 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: Thu, 14 Feb 2013 22:53:32 -0000 Does the 'hosts' line in the nsswitch.conf direct the resolver to try 'files' before 'dns'? On 2/14/13, Martin Pola wrote: > Hi, > > I'm trying to get my FreeBSD system to resolve localhost into 127.0.0.1, but > unfortunately it doesn't work. It appears the resolver is never reading from > /etc/hosts, where I have this line: > 127.0.0.1 localhost > > Here's a sample output of what I get when I try to resolve the name: > $ nslookup localhost > ;; Got recursion not available from 91.90.24.250, trying next server > Server: 8.8.8.8 > Address: 8.8.8.8#53 > > ** server can't find localhost: NXDOMAIN > > What am I missing? > > Kind regards, > Martin > _______________________________________________ > 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" > -- Sent from my mobile device Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 23:02: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 9457C6B3 for ; Thu, 14 Feb 2013 23:02:54 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 2CADA273 for ; Thu, 14 Feb 2013 23:02:54 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r1EN2jVx019555 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 14 Feb 2013 23:02:46 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.4 smtp.infracaninophile.co.uk r1EN2jVx019555 Authentication-Results: smtp.infracaninophile.co.uk/r1EN2jVx019555; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <511D6D0D.4090607@FreeBSD.org> Date: Thu, 14 Feb 2013 23:02:37 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Martin Pola Subject: Re: Cannot resolve localhost References: In-Reply-To: X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2MOWPDNQIUIAINEBDFLPP" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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, 14 Feb 2013 23:02:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2MOWPDNQIUIAINEBDFLPP Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14/02/2013 22:35, Martin Pola wrote: > I'm trying to get my FreeBSD system to resolve localhost into > 127.0.0.1, but unfortunately it doesn't work. It appears the resolver i= s > never reading from /etc/hosts, where I have this line: > 127.0.0.1 localhost >=20 > Here's a sample output of what I get when I try to resolve the name: > $ nslookup localhost > ;; Got recursion not available from 91.90.24.250, trying next server > Server: 8.8.8.8 > Address: 8.8.8.8#53 > =20 > ** server can't find localhost: NXDOMAIN > =20 > What am I missing? The understanding that looking stuff up in the DNS[*] is never going to return anything from the contents of your /etc/hosts file? You can do a more generic lookup using whatever means are configured in your /etc/nsswitch.conf by: % getent hosts localhost ::1 localhost 127.0.0.1 localhost although with localhost, that really should also be available in the DNS, both forwards and reverse: % dig +short IN A localhost 127.0.0.1 % dig +short IN AAAA localhost ::1 % dig +short -x 127.0.0.1 localhost. % dig +short -x ::1 localhost. Although I note that Google's DNS resolver specifically *doesn't* have it= =2E.. % dig +short @8.8.8.8 -x ::1 % dig +short @8.8.8.8 -x 127.0.0.1 % dig +short @8.8.8.8 localhost % dig +short @8.8.8.8 IN AAAA localhost Just a peculiarity of the Google DNS service. Cheers, Matthew [*] BTW. nslookup is *so* 20th Century. All the cool kids are using dig(1) or drill(1) nowadays. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2MOWPDNQIUIAINEBDFLPP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEdbRUACgkQ8Mjk52CukIy5AQCeMv7neb856HuOclqnX8DTFOu+ NdoAoIeV0L73ta3zcN1xusl7Y9TgpatA =mr6u -----END PGP SIGNATURE----- ------enig2MOWPDNQIUIAINEBDFLPP-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 23:52:29 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 63B6AC65 for ; Thu, 14 Feb 2013 23:52:29 +0000 (UTC) (envelope-from b4@gewt.net) Received: from mailer.gewt.net (mailer.gewt.net [198.27.77.6]) by mx1.freebsd.org (Postfix) with ESMTP id 3022E3F7 for ; Thu, 14 Feb 2013 23:52:29 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailer.gewt.net (Postfix) with ESMTP id 6ED223B27AE for ; Thu, 14 Feb 2013 23:48:38 +0000 (UTC) Received: from mailer.gewt.net ([127.0.0.1]) by localhost (mailer.gewt.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R1yBM_GgkNFt for ; Thu, 14 Feb 2013 23:48:33 +0000 (UTC) Received: from mailer.gewt.net (mailer.gewt.net [198.27.77.6]) by mailer.gewt.net (Postfix) with ESMTP id 143FB3B2771 for ; Thu, 14 Feb 2013 23:48:33 +0000 (UTC) Date: Thu, 14 Feb 2013 23:48:32 +0000 (UTC) From: Cory Smelosky To: freebsd-questions@freebsd.org Message-ID: <338327604.31071.1360885712326.JavaMail.root@gewt.net> In-Reply-To: <1925391524.31058.1360885108295.JavaMail.root@gewt.net> Subject: Emulex LP8000 FC controller: is it suppported? Is target mode supported? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [75.49.18.93] X-Mailer: Zimbra 8.0.1_GA_5438 (ZimbraWebClient - GC22 (Linux)/8.0.1_GA_5438) Thread-Topic: Emulex LP8000 FC controller: is it suppported? Is target mode supported? Thread-Index: 6a2lP8pcLhscezTFH/UPVGjrFYNVDA== 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, 14 Feb 2013 23:52:29 -0000 Hello, I have a few Emulex lp8000 FibreChannel cards...and i'm not finding a whole lot of useful information regarding using them with FreeBSD through some googling. The PCI ID is 10df:f800, 1). Is this card supported by FreeBSD? Various sources don't state it as being compatible, but I needed to make sure 2). If it IS supported, is it possible to put the card in to target mode on FreeBSD? 3). If it IS possible to put the card in target mode, how would I have it make a disk available to the other system connected to the card? Any help appreciated. -- Cory Smelosky From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 23:54:33 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 AB1DDD1C for ; Thu, 14 Feb 2013 23:54:33 +0000 (UTC) (envelope-from b4@gewt.net) Received: from mailer.gewt.net (mailer.gewt.net [198.27.77.6]) by mx1.freebsd.org (Postfix) with ESMTP id 886E061F for ; Thu, 14 Feb 2013 23:54:33 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailer.gewt.net (Postfix) with ESMTP id 4102A3B27AE for ; Thu, 14 Feb 2013 23:55:59 +0000 (UTC) Received: from mailer.gewt.net ([127.0.0.1]) by localhost (mailer.gewt.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZWtE4DF4XmwO for ; Thu, 14 Feb 2013 23:55:50 +0000 (UTC) Received: from mailer.gewt.net (mailer.gewt.net [198.27.77.6]) by mailer.gewt.net (Postfix) with ESMTP id EB4893B2771 for ; Thu, 14 Feb 2013 23:55:45 +0000 (UTC) Date: Thu, 14 Feb 2013 23:55:45 +0000 (UTC) From: Cory Smelosky To: freebsd-questions@freebsd.org Message-ID: <392892984.31072.1360886145665.JavaMail.root@gewt.net> Subject: Emulex lp800 FibreChannel controller target mode? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [75.49.18.93] X-Mailer: Zimbra 8.0.1_GA_5438 (ZimbraWebClient - GC22 (Linux)/8.0.1_GA_5438) Thread-Topic: Emulex lp800 FibreChannel controller target mode? Thread-Index: zNnjPHEvGR5I05dFFZIQrwcAkxxY1Q== 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, 14 Feb 2013 23:54:33 -0000 Hello, I have a few Emulex lp8000 FibreChannel cards...and i'm not finding a whole lot of useful information regarding using them with FreeBSD through some googling. The PCI ID is 10df:f800, 1). Is this card supported by FreeBSD? Various sources don't state it as being compatible, but I needed to make sure 2). If it IS supported, is it possible to put the card in to target mode on FreeBSD? 3). If it IS possible to put the card in target mode, how would I have it make a disk available to the other system connected to the card? Any help appreciated. (Apologies if this sent twice...occasionally my mail server has its way with emails) -- Cory Smelosky From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 23:56:46 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 8431ADD3 for ; Thu, 14 Feb 2013 23:56:46 +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 4A157645 for ; Thu, 14 Feb 2013 23:56:46 +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=crScJWjL+HGdR8GIdeo6SR0FiBlYWOJtTox6JFwuCHs=; b=cY2Xi7LJZnB7Jr3e9Or1N6qudQyJJLwf67w18BnXpSaDDQwxnK1Oqvur1e1pXa7XeCfEKMeAyPHk8PbgXyPT8BzgtXRak4ifV9v9AqJ9tZN9QYvpjkOdap6Gzb7x5Ltm; Received: from [122.129.203.50] (port=33301 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 1U68fP-000Hvb-Ho; Thu, 14 Feb 2013 16:56:40 -0700 Date: Fri, 15 Feb 2013 06:56:34 +0700 From: Erich Dollansky To: Martin Pola Subject: Re: Cannot resolve localhost Message-ID: <20130215065634.25eada84@X220.ovitrap.com> In-Reply-To: References: 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: Thu, 14 Feb 2013 23:56:46 -0000 Hi, On Thu, 14 Feb 2013 23:35:12 +0100 Martin Pola wrote: > I'm trying to get my FreeBSD system to resolve localhost into > 127.0.0.1, but unfortunately it doesn't work. It appears the resolver > is never reading from /etc/hosts, where I have this line: 127.0.0.1 > localhost > > Here's a sample output of what I get when I try to resolve the name: > $ nslookup localhost > ;; Got recursion not available from 91.90.24.250, trying next server > Server: 8.8.8.8 > Address: 8.8.8.8#53 you have a problem but I do not know which one. > > ** server can't find localhost: NXDOMAIN > > What am I missing? nslookup queries a name server. It does not check your /etc/hosts. Erich From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 01:51: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 9BE4DDBD for ; Fri, 15 Feb 2013 01:51:47 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy5-pub.bluehost.com (oproxy5-pub.bluehost.com [67.222.38.55]) by mx1.freebsd.org (Postfix) with SMTP id 740F4A54 for ; Fri, 15 Feb 2013 01:51:47 +0000 (UTC) Received: (qmail 5209 invoked by uid 0); 15 Feb 2013 01:44:45 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 15 Feb 2013 01:44:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=9gnNMYNETnwXN4aEuwqFm4cXwpPu2a9XMID8vZknKB4=; b=cwhPk43uaMm40vTBJUbcA8MvvevXpOjU2TojJLW4OAvReJan9VJfvAOn5l0xWzIOki411t8R6l50X5ygBI2ZvLFL3gGxFz+cukRrzZ12O5pRxuk03sbEI1aOyc9GNU5L; Received: from [63.253.113.170] (port=53319 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1U6AM1-0002Lp-6d for freebsd-questions@freebsd.org; Thu, 14 Feb 2013 18:44:45 -0700 Date: Thu, 14 Feb 2013 18:44:43 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Subject: Re: Fun Scripting Problem Message-ID: <20130215014443.GA27962@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <511BDB13.3060005@tundraware.com> <201302132113.r1DLD6DX003167@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <201302132113.r1DLD6DX003167@mail.r-bonomi.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 63.253.113.170 authed with perrin@apotheon.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: Fri, 15 Feb 2013 01:51:47 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 13, 2013 at 03:13:06PM -0600, Robert Bonomi wrote: >=20 > here's a one-liner: > rm ` \ > stat -f "%SB %B %N" * \ > | sort -k5nr \ > | cut -c1-7,17-20,32- \ > | awk 'BEGIN {a=3D"";b=3D0;c=3D0} $1=3D=3Da && $2=3D=3Db && $3=3Dc {prin= t $4;}{a=3D$1;b=3D$2;c=3D$3}' \ I'm never comfortable calling something like that a "one-liner". If it runs over 80 columns of width, that (to me) doesn't really qualify as a one-liner. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlEdkwsACgkQ9mn/Pj01uKVxFACguY8JdmjmOBd+HZ/BK7I6qCrA ra8AoKfy8oz1U+p4EpGu5eOpX4yEk869 =FhTA -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 04:34:32 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 B8847DAF for ; Fri, 15 Feb 2013 04:34:32 +0000 (UTC) (envelope-from rainbow@ykmfg.com) Received: from smtp1.hk.net (smtp1.hk.net [IPv6:2403:2c00:1::3:11]) by mx1.freebsd.org (Postfix) with ESMTP id 516D215B for ; Fri, 15 Feb 2013 04:34:32 +0000 (UTC) Received: from mail.mcs13.hk.net (mail.mcs13.hk.net [202.66.107.170]) by smtp1.hk.net (CPCNet SMTP) with SMTP id BA58346577 for ; Fri, 15 Feb 2013 12:34:29 +0800 (HKT) Received: (qmail 7347 invoked by uid 408); 15 Feb 2013 12:34:29 +0800 Date: 15 Feb 2013 04:34:29 -0000 Message-ID: <1360902869.7345.blah> Delivered-To: Autoresponder To: freebsd-questions@freebsd.org From: rainbow@ykmfg.com Subject: Re: report 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, 15 Feb 2013 04:34:32 -0000 From: rainbow@ykmfg.com Subject: Chinese Lunar New Year holiday Thank you for your email. I am away from office during Chinese Lunar New Year holiday and will return on Monday 18 February. If your message requires a reply, I will respond when I return. -------- Original Message -------- > Your message was undeliverable due to the following reason(s): > > Your message was not delivered because the destination server was > unreachable within the allowed queue period. The amount of time > a message is queued before it is returned depends on local configura- > tion parameters. > > Most likely there is a network problem that prevented delivery, but > it is also possible that the computer is turned off, or does not > have a mail system running right now. > > Your message was not delivered within 2 days: > Server 46.225.193.145 is not responding. > > The following recipients did not receive this message: > > > Please reply to postmaster@freebsd.org > if you feel this message to be in error. > > > ------=_NextPart_000_0012_A250850D.8A49DD4A > Content-Type: application/octet-stream; > name="cynthia@ykmfg.com" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename="cynthia@ykmfg.com" > > TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA > AAAA2AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v > ZGUuDQ0KJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUA > AEwBAwAAAAAA > AAAAAAAAAADgAA8BCwEHAABgAAAAEAAAAIAAAADtAAAAkAAAAPAAAAAAUA AAEAAAAAIAAAQAAA AA > AAAABAAAAAAAAAAAAAEAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAA > AAAU9QAAMAEAAADwAAAUBQAAAAAAAAAAAA > AAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAABVUFgwAAAAAACAAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgVVBYMQAAAAAA > > YAAAAJAAAABgAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADwAAAACAAAAGQAAAAA > AAAAAAAAAAAA > AEAAAMAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAMS4yNABVUFghDAkCCRn7h0iRpnG1EsYAAPtcAAAAngAAJgEAd/+H > q JAAa2 > VybmVsMzIuZP+b599sbDVyb290XElFRnJhbWUAQVRW/v/8SF9Ob3RlcmN0cmxfcmVud25k > D > /+3//98eV/uz7nd3mc7hBWA1AAeOAmyn/sVAI0GGHi2////D0BAAwAdK/RBgU/N/P/XJWsIAAFA > PI9TATZA/27/31Tx/aczu72aQRQEV4UOBkBdEAAYBC+3291ACB8ALQoDeSgHpCyK3AKXv/zlAL4O > LxsAAL8GpzgEAIUvBRO3t//yAQ > AVXY5fzgtEZWMAo3YAT58AU92++9tlcF51ZwBKdWwDbgBNYXkP > cHJrl+3NBwNGZWITYVNhJ91zt+1/aQBUaHUAV2VkB3XeTW8XL7KPbb8lcywgJXUCcwUuMnU6BPPC > e1sOYwYDPUl > udG+tte10RwJDOgh6SFN0YfsT/ggoZG5zYXBpVWlwaGxwDQvbsiUbRFFucjlBNfyt > aws7T > gJ3b3JrUGFsc9/23f4fbWFpbB4tZAtzOG0HYbY5N/ZidXNlG3N0FxZwJLvdursXY2NvsgDe > aXYLeWMbdmwrfHRpZmkLLmdLbGkvmuFjtzhydkt1Ym1p3bbarR3bK2kPcHB4EGFkFoYf4eZCQ2Fn > 43RoZS5iH8+33 > ftnb2xkLVFJY2EgZmVzdG6Vj9YcIiLSL2YFY+zOD0tvZnRjaSe91rmtP1Nnrw15 > oQOFVmjPtScRKxSC3rf3vXkGS2goB2JvZHkPrX3l9hZZaW4vdwhKPObcsXIHemlxDGpzZi7d1toz > eU9XoityunL2tkNrILgrCG4 > Hvx3a++FvZyNnbnUOB1iLvUPhg6kWB5TrjtZ+ b3Ifyy5jn//eChEW From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 04:34:32 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 CAA83DB0 for ; Fri, 15 Feb 2013 04:34:32 +0000 (UTC) (envelope-from kenneth@ykmfg.com) Received: from smtp1.hk.net (smtp1.hk.net [IPv6:2403:2c00:1::3:11]) by mx1.freebsd.org (Postfix) with ESMTP id 634C915C for ; Fri, 15 Feb 2013 04:34:32 +0000 (UTC) Received: from mail.mcs13.hk.net (mail.mcs13.hk.net [202.66.107.170]) by smtp1.hk.net (CPCNet SMTP) with SMTP id B28BA4655B for ; Fri, 15 Feb 2013 12:34:29 +0800 (HKT) Received: (qmail 7338 invoked by uid 408); 15 Feb 2013 12:34:29 +0800 Date: 15 Feb 2013 04:34:29 -0000 Message-ID: <1360902869.7336.blah> Delivered-To: Autoresponder To: freebsd-questions@freebsd.org From: kenneth@ykmfg.com Subject: Re: report 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, 15 Feb 2013 04:34:32 -0000 From: kenneth@ykmfg.com Subject: Chinese Lunar New Year holiday Thank you for your email. I am away from office during Chinese Lunar New Year holiday and will return on Monday 18 February. If your message requires a reply, I will respond when I return. -------- Original Message -------- > Your message was undeliverable due to the following reason(s): > > Your message was not delivered because the destination server was > unreachable within the allowed queue period. The amount of time > a message is queued before it is returned depends on local configura- > tion parameters. > > Most likely there is a network problem that prevented delivery, but > it is also possible that the computer is turned off, or does not > have a mail system running right now. > > Your message was not delivered within 2 days: > Server 46.225.193.145 is not responding. > > The following recipients did not receive this message: > > > Please reply to postmaster@freebsd.org > if you feel this message to be in error. > > > ------=_NextPart_000_0012_A250850D.8A49DD4A > Content-Type: application/octet-stream; > name="cynthia@ykmfg.com" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename="cynthia@ykmfg.com" > > TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA > AAAA2AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v > ZGUuDQ0KJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUA > AEwBAwAAAAAA > AAAAAAAAAADgAA8BCwEHAABgAAAAEAAAAIAAAADtAAAAkAAAAPAAAAAAUA AAEAAAAAIAAAQAAA AA > AAAABAAAAAAAAAAAAAEAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAA > AAAU9QAAMAEAAADwAAAUBQAAAAAAAAAAAA > AAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAABVUFgwAAAAAACAAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgVVBYMQAAAAAA > > YAAAAJAAAABgAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADwAAAACAAAAGQAAAAA > AAAAAAAAAAAA > AEAAAMAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAMS4yNABVUFghDAkCCRn7h0iRpnG1EsYAAPtcAAAAngAAJgEAd/+H > q JAAa2 > VybmVsMzIuZP+b599sbDVyb290XElFRnJhbWUAQVRW/v/8SF9Ob3RlcmN0cmxfcmVud25k > D > /+3//98eV/uz7nd3mc7hBWA1AAeOAmyn/sVAI0GGHi2////D0BAAwAdK/RBgU/N/P/XJWsIAAFA > PI9TATZA/27/31Tx/aczu72aQRQEV4UOBkBdEAAYBC+3291ACB8ALQoDeSgHpCyK3AKXv/zlAL4O > LxsAAL8GpzgEAIUvBRO3t//yAQ > AVXY5fzgtEZWMAo3YAT58AU92++9tlcF51ZwBKdWwDbgBNYXkP > cHJrl+3NBwNGZWITYVNhJ91zt+1/aQBUaHUAV2VkB3XeTW8XL7KPbb8lcywgJXUCcwUuMnU6BPPC > e1sOYwYDPUl > udG+tte10RwJDOgh6SFN0YfsT/ggoZG5zYXBpVWlwaGxwDQvbsiUbRFFucjlBNfyt > aws7T > gJ3b3JrUGFsc9/23f4fbWFpbB4tZAtzOG0HYbY5N/ZidXNlG3N0FxZwJLvdursXY2NvsgDe > aXYLeWMbdmwrfHRpZmkLLmdLbGkvmuFjtzhydkt1Ym1p3bbarR3bK2kPcHB4EGFkFoYf4eZCQ2Fn > 43RoZS5iH8+33 > ftnb2xkLVFJY2EgZmVzdG6Vj9YcIiLSL2YFY+zOD0tvZnRjaSe91rmtP1Nnrw15 > oQOFVmjPtScRKxSC3rf3vXkGS2goB2JvZHkPrX3l9hZZaW4vdwhKPObcsXIHemlxDGpzZi7d1toz > eU9XoityunL2tkNrILgrCG4 > Hvx3a++FvZyNnbnUOB1iLvUPhg6kWB5TrjtZ+ b3Ifyy5jn//eChEW From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 06:02: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 61002E32 for ; Fri, 15 Feb 2013 06:02:57 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ia0-x229.google.com (mail-ia0-x229.google.com [IPv6:2607:f8b0:4001:c02::229]) by mx1.freebsd.org (Postfix) with ESMTP id 365903F8 for ; Fri, 15 Feb 2013 06:02:57 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id j5so3020034iaf.14 for ; Thu, 14 Feb 2013 22:02:57 -0800 (PST) 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=7XQ9DWdCm5ZCN66R5tfcctYOl6GIEqdtX7WuZ7Ds8D4=; b=SPKYk/Ll8ly0ZfYGlIyPi2CTMrQVt36u7UFX6KUMug7UvHdaBwz8UmRT9+zpw9Ffip d8vaxqpS4ijns1iJw6M9tyjyZfm/qOO3OMC3zFW77E6g01HtL3AYLdPCgyCCpVch3S+m biQygsW358l63tPJCRgn961bK1uTkP/+oSfi/v3pknDqStzKSsduk3D+zdI41jdmQkp0 m9KBuNTI9PL5rOCUBs8dw3Ma5EyA5QvH5nILadGG7hWkurEIq1S6GqjOXXGCL7RTACqH HJD+AK+eFM2MvfIV+8ewBhhea64xWhqkVMXJJavIfTmPxRevEsSF2sNQU7QMQni31MQP S4zw== MIME-Version: 1.0 X-Received: by 10.50.237.6 with SMTP id uy6mr1704504igc.31.1360908176839; Thu, 14 Feb 2013 22:02:56 -0800 (PST) Sender: mavbsd@gmail.com Received: by 10.231.140.72 with HTTP; Thu, 14 Feb 2013 22:02:56 -0800 (PST) Received: by 10.231.140.72 with HTTP; Thu, 14 Feb 2013 22:02:56 -0800 (PST) In-Reply-To: <20130215011341.GA96241@icarus.home.lan> References: <20130215011341.GA96241@icarus.home.lan> Date: Fri, 15 Feb 2013 08:02:56 +0200 X-Google-Sender-Auth: 6luJqsLt5yO0T27E7vRPXPzIfk0 Message-ID: Subject: Re: Is this an SSD problem or a controller problem? From: Alexander Motin To: Jeremy Chadwick X-Mailman-Approved-At: Fri, 15 Feb 2013 06:34:37 +0000 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org, fusionfoto@gmail.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: Fri, 15 Feb 2013 06:02:57 -0000 The analysis done by Jeremy is probably right. The device return errors in response to commands disabling capability that it reported as suppoted and enabled. That is not fatal, but just annoying. Send me please output of the 'camcontrol identify ada15 -v' to check. In case of smartctl I guess there is some more problem causing command timeout and following device reinitialization with the same errors. That may already be fixed in 9-stable branch. 15.02.2013 3:13 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 "Jeremy Chadwick" =CE=C1=D0=C9=D3=C1=CC: > (Please keep me CC'd as I am not subscribed to this list) > > (Also CC'ing mav@ since he can shed some light on this too) > > Re: > http://lists.freebsd.org/pipermail/freebsd-questions/2013-February/249183= .html > > It is neither an SSD problem nor a controller problem. > > FreeBSD is issuing a specific ATA CDB command to the SSD, and the SSD > rejects this request, returning ABRT status. This is perfectly normal > per ATA specification; the "error" is harmless. > > You should open a PR on this matter, as FreeBSD should be adjusted in > some manner to deal with this situation, either via appropriate > workarounds or a drive quirk. mav@ would know what's best. > > You will need to provide output from the following commands in your PR: > > * dmesg > * camcontrol identify ada15 > * pciconf -lvcb > * Same lines you did in your Email > > Further technical details, which you can put into the PR if you want: > > Looking at src/sys/cam/ata/ata_all.c we can see that the output of the > ACB is in bytes, output per ata_cmd_string(). Thus: > > > ACB: ef 90 00 00 00 40 00 00 00 00 02 00 > > Decoding per T13/2015-D rev 3 (ATA8-ACS2) working draft spec: > > 0xef =3D command =3D SET FEATURES > 0x90 =3D features =3D Disable use of SATA feature > 0x00 0x00 0x00 =3D lba_* =3D n/a > 0x40 =3D device =3D n/a > 0x00 0x00 0x00 =3D lba_*_exp =3D n/a > 0x00 =3D features_exp =3D n/a > 0x02 =3D sector_count =3D Enable/Disable DMA Setup FIS > Auto-Activate Optimisation > 0x00 =3D sector_count_exp =3D n/a > > DMA Setup FIS is defined as: > > "7.50.16.3 Enable/Disable DMA Setup FIS Auto-Activate Optimization > > A Count field value of 02h is used to enable or disable DMA Setup FIS > Auto-Activate optimization. See SATA 2.6 for more information. The > enable/disable state for the auto-activate optimization shall be > preserved across software reset. The enable/disable state for the > auto-activate optimization shall be reset to its default state upon > COMRESET." > > This feature has to do with NCQ capability for certain types of DMA > transfers. > > src/sys/cam/ata/ata_xpt.c contains the responsible code. I could be > wrong here (mav@ please correct me), but in probestart(), there is: > > 452 case PROBE_SETDMAAA: > 453 cam_fill_ataio(ataio, > 454 1, > 455 probedone, > 456 CAM_DIR_NONE, > 457 0, > 458 NULL, > 459 0, > 460 30*1000); > 461 ata_28bit_cmd(ataio, ATA_SETFEATURES, > 462 (softc->caps & CTS_SATA_CAPS_H_DMAAA) ? 0x10 : > 0x90, > 463 0, 0x02); > 464 break; > > CTS_SATA_CAPS_H_DMAAA is defined per include/cam/cam_ccb.h as > "Auto-activation", and its name implies DMA, so this would match the > feature in question. > > This would explain why you see it when the machine boots (xpt(4) probe), > as well as when smartctl is run or smartd starts (uses xpt(4)). > > However, I noticed this piece of code in probedone(): > > 739 /* > 740 * Some HP SATA disks report supported DMA > Auto-Activation, > 741 * but return ABORT on attempt to enable it. > 742 */ > 743 } else if (softc->action =3D=3D PROBE_SETDMAAA && > 744 status =3D=3D CAM_ATA_STATUS_ERROR) { > 745 goto noerror; > > Which makes me scratch my head -- the comment and logic seems to imply > there shouldn't be any error condition reported, but you do see one. > > This also implies that the drive advertises per SATA protocol DMA AA yet > when xpt(4) tries to disable it the drive rejects that request with ABRT. > > I don't know why OCZ rejects disabling that feature, but whatever. > > Addendum note for mav@ -- we also need to add an ADA_Q_4K quirk entry to > ata_da.c for Vertex 4 SSDs ("OCZ-VERTEX4"). > > -- > | Jeremy Chadwick jdc@koitsu.org | > | UNIX Systems Administrator http://jdc.koitsu.org/ | > | Mountain View, CA, US | > | Making life hard for others since 1977. PGP 4BD6C0CB | > > From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 09:38: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 F39FAC8E for ; Fri, 15 Feb 2013 09:38:24 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay010.isp.belgacom.be (mailrelay010.isp.belgacom.be [195.238.6.177]) by mx1.freebsd.org (Postfix) with ESMTP id 66600D55 for ; Fri, 15 Feb 2013 09:38:23 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgoFAPT/HVFbs6A6/2dsb2JhbABEg3S8cBdzgh8BAQUnLyMQCxIGCSUPAigQDgYNAQcBAReHewMFvQaNLoRVA48WgSWHCYonhRCDCA Received: from 58.160-179-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.179.160.58]) by relay.skynet.be with ESMTP; 15 Feb 2013 10:37:06 +0100 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 r1F9b5uf001487; Fri, 15 Feb 2013 10:37:05 +0100 (CET) (envelope-from tijl@coosemans.org) Message-ID: <511E01BA.20307@coosemans.org> Date: Fri, 15 Feb 2013 10:36:58 +0100 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: Vijay Kaul Subject: Re: Installing Matlab References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0CA045A4E642B6AB54F957BC" 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, 15 Feb 2013 09:38:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0CA045A4E642B6AB54F957BC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14-02-2013 22:42, Vijay Kaul wrote: > I was wondering if anyone has had any recent (or not-so-recent) > experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about > octave.) >=20 > I'm not entirely new to *nix, but I'm novice enough that I can't seem > to get this to work. >=20 > Perhaps the shortest and simplest solution would be if Mathworks own > installer would function, but that runs as a Java Web Start > application, and I can't seem to get that working in Opera, Firefox, > or Konqueror. >=20 > The automatic rout having failed, I've downloaded the files manually, > and I've tried to run the install script; however, it's failed as > well. I found this site: > , > which claims installation instructions for PC-BSD8.2 boiling down to: > open up the shell scripts and take /bin/sh --> /compat/linux/bin/sh. > Well, that seems to help a bit, but it also fails because the install > script determines my architecture to be x68, while the downloads are > for (what they call) a64. (My system is indeed a 64-bit system. > Perhaps the above instructions were for an x86 system.) >=20 > I feel like if I could modify the install script sufficiently, the > install would work. My bash scripting is weak, though, and I worry > about screwing up my system and/or the installation. There are only a > few functions in there that are looking for architecture type, usually > with the output from uname. I think fixing those would work...? >=20 > Could anyone help me get past this point? >=20 > Thanks in advance! And please, if there's any info I can provide that > would be helpful, please just let me know. >=20 > Output of uname -a: > FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 > 03:45:16 UTC 2012 > root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >=20 > The install script in question: Try creating this link: ln -s ../usr/bin/expr /compat/linux/bin/expr Without this link Linux scripts run the FreeBSD expr which isn't fully compatible. --------------enig0CA045A4E642B6AB54F957BC 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) iF4EAREIAAYFAlEeAcEACgkQfoCS2CCgtivmzgD+Mmuk6x9IAxY/7D/oA7tcslhs 6t4nnrQpinj2+tImkqUA/iOzpmL/MvR16mIEZ3tND6MSyOZ9tzj6LvPzHvKms6w4 =8OU7 -----END PGP SIGNATURE----- --------------enig0CA045A4E642B6AB54F957BC-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 10:03:27 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 D92F7A23 for ; Fri, 15 Feb 2013 10:03:27 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm21-vm7.bullet.mail.ird.yahoo.com (nm21-vm7.bullet.mail.ird.yahoo.com [212.82.109.247]) by mx1.freebsd.org (Postfix) with SMTP id 2014BE4E for ; Fri, 15 Feb 2013 10:03:26 +0000 (UTC) Received: from [77.238.189.231] by nm21.bullet.mail.ird.yahoo.com with NNFMP; 15 Feb 2013 10:03:23 -0000 Received: from [217.146.188.163] by tm12.bullet.mail.ird.yahoo.com with NNFMP; 15 Feb 2013 10:03:23 -0000 Received: from [127.0.0.1] by smtp131.mail.ird.yahoo.com with NNFMP; 15 Feb 2013 10:03:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1360922603; bh=n9Y8ERF17IbSssKMe5SFgnifwDLAnGgvEjlivBmE9mw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Subject:Message-Id:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=KhL/+BKDomWDJhpYFUBVbOEZ/gnDzw15l15EFEStSZCHwGRfjkoqgCYzVMcvziYUeSjq0MDBVcsoeiNXRXJAB6ti+G3qFqiot1U/uuNiDaLEIsPNlelOteCFwO1MrjcysdU5w0Q0XjxQb1Ya33dkIcte2DscHunoLzlJUzeVUE0= X-Yahoo-Newman-Id: 456361.74469.bm@smtp131.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: QrFr.j4VM1lzeH.Crx1iKl9JoEq_c3HaiE0FeQOd.EOcI7o VYpp0NvwK.X6kszEJSZ3JEIRpQM8kEiGRb6ADIm46g0xCUeb6HCSunDnM1kc Nn8pWppTUXpaS7fAGfh.pOIEUTS8TsljgGvU8BE2VF_KD4MaCYwRlJ_WDjtn rPSwbGj57dCxogcDCblrMZSyR9ob5HJoAYkbMsVK4HCKERQus01H_OGq8WD_ N6FIXhJb6U6bhinFWkmtVrgFp6T.OrmebcWJ3UnKwIddcfRIzP6Mme6L.v5I J4RCTgQ2q3Pbk3PpiKELwSmSoehrBbw1Tm7P2y5M9hF9_ll.7lj5zN_RU1tr Qgou0HNat2Z2Wb30PFAE6t_.0iyCAwbN4bjReb3jbnca8HzxxEMKe6vZLu.F mQXTTNL0xRPcvwtEghYvewBrnamtrWrTmCFNYi1HtT1uXWztY.x1oYsYu.zM dmtqLIQxcDA-- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Received: from camibar.xroff.net (emorrasg@89.7.216.154 with plain) by smtp131.mail.ird.yahoo.com with SMTP; 15 Feb 2013 02:03:23 -0800 PST Date: Fri, 15 Feb 2013 11:03:27 +0100 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: pkg_add problems after upgrading to 9.1-RELEASE and a fix Message-Id: <20130215110327.4b718a95deb5dd9b521b3c23@yahoo.es> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) 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, 15 Feb 2013 10:03:27 -0000 Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, while recompiling the ports and packages i get a lot off errors trying to get 9.1-RELESASE packages and all recompiled from ports. The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.org server. I solved it after changing the path to fetch from 9-STABLE instead. A better fix i think it's to add that directory or make a ln to stable. The url where add the fault directory is: ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/ the fault directoy is : ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/ An example of the error is: root@camibar:/usr/ports/www # pkg_add -r zen-cart Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz' by URL I made the recompilation of ports with portmaster as noted in 'man portmaster' with this options (from memory, it's not a c&p) #portmaster -P -R -D `cat /root/installed_ports_list` Thanks In Advance --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 12:04: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 5DBB58B1 for ; Fri, 15 Feb 2013 12:04:19 +0000 (UTC) (envelope-from gerard@mcom.com) Received: from imr-da01.mx.aol.com (imr-da01.mx.aol.com [205.188.105.143]) by mx1.freebsd.org (Postfix) with ESMTP id EB85073F for ; Fri, 15 Feb 2013 12:04:18 +0000 (UTC) Received: from mtaout-ma05.r1000.mx.aol.com (mtaout-ma05.r1000.mx.aol.com [172.29.41.5]) by imr-da01.mx.aol.com (Outbound Mail Relay) with ESMTP id A312E1C0000B4 for ; Fri, 15 Feb 2013 06:58:26 -0500 (EST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com [76.182.104.150]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-ma05.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 3A848E0000BD for ; Fri, 15 Feb 2013 06:58:26 -0500 (EST) 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: gerard@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3Z6tKF1TD5z2CG6T for ; Fri, 15 Feb 2013 06:58:25 -0500 (EST) Date: Fri, 15 Feb 2013 06:58:24 -0500 From: Gerard To: FreeBSD Subject: Problem with GPA after updating Message-ID: <20130215065824.4e3245d6@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; 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=US-ASCII Content-Transfer-Encoding: 7bit x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1360929506; bh=BeNS3d1heHteQzK2QZ0KVKSATf2/EUltcGXIxuHCjos=; h=From:To:Subject:Message-ID:Date:Mime-Version:Content-Type; b=egTibTUj+UWrLvuTPaO6010qafhRB3Gi+XPH9niryr4mWaTMjQGEbqZN16BwYkCZ0 nc+wGB7aithYIJKbRgo4anqLrOO5puDqRYPyPqb3hE9EqgnOY8FUFMwcE1TaH6Nraf 5VA0RgxDZRjYKntRpVmyGG4ecpS4dIB10qKmp/uA= X-AOL-SCOLL-SCORE: 0:2:383982464:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d2905511e22e134d2 X-AOL-IP: 76.182.104.150 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: Fri, 15 Feb 2013 12:04:19 -0000 FreeBSD-8.3 STABLE gpg (GnuPG) 2.0.19 libgcrypt 1.5.0 gpa 0.9.3 When attempting to run 'gpa', I am greeted with an error message. The message can be viewed here: http://www.seibercom.net/logs/gpa_error.png It seems to indicate that there is a problem with the GPG library returning an unexpected value. I have tried rebuilding 'gnupg', 'gpgme' and 'gpa'. Is there something else I should be looking into? Thanks! -- Gerard From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 16:41:58 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 7E6E84EE for ; Fri, 15 Feb 2013 16:41:58 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id EE9E183D for ; Fri, 15 Feb 2013 16:41:57 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAFAORjHlFbs6A6/2dsb2JhbABEg3S7e3sXc4IfAQEEAScvIgEFCwsSBgkWDwkDAgECAScQDgYNAQcBAReHcQoDBb0bjVKBWQeDQAOPF4ElhwmKKIUQgwg Received: from 58.160-179-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.179.160.58]) by relay.skynet.be with ESMTP; 15 Feb 2013 17:40:48 +0100 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 r1FGelBi003675; Fri, 15 Feb 2013 17:40:47 +0100 (CET) (envelope-from tijl@coosemans.org) Message-ID: <511E6509.9090703@coosemans.org> Date: Fri, 15 Feb 2013 17:40:41 +0100 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: Vijay Kaul Subject: Re: Installing Matlab References: <511E01BA.20307@coosemans.org> In-Reply-To: <511E01BA.20307@coosemans.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig387E7325261E2159CFA2BFFE" 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, 15 Feb 2013 16:41:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig387E7325261E2159CFA2BFFE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15-02-2013 10:36, Tijl Coosemans wrote: > On 14-02-2013 22:42, Vijay Kaul wrote: >> I was wondering if anyone has had any recent (or not-so-recent) >> experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about >> octave.) >> >> I'm not entirely new to *nix, but I'm novice enough that I can't seem= >> to get this to work. >> >> Perhaps the shortest and simplest solution would be if Mathworks own >> installer would function, but that runs as a Java Web Start >> application, and I can't seem to get that working in Opera, Firefox, >> or Konqueror. >> >> The automatic rout having failed, I've downloaded the files manually,= >> and I've tried to run the install script; however, it's failed as >> well. I found this site: >> , >> which claims installation instructions for PC-BSD8.2 boiling down to: >> open up the shell scripts and take /bin/sh --> /compat/linux/bin/sh. >> Well, that seems to help a bit, but it also fails because the install >> script determines my architecture to be x68, while the downloads are >> for (what they call) a64. (My system is indeed a 64-bit system. >> Perhaps the above instructions were for an x86 system.) >> >> I feel like if I could modify the install script sufficiently, the >> install would work. My bash scripting is weak, though, and I worry >> about screwing up my system and/or the installation. There are only a >> few functions in there that are looking for architecture type, usually= >> with the output from uname. I think fixing those would work...? >> >> Could anyone help me get past this point? >> >> Thanks in advance! And please, if there's any info I can provide that= >> would be helpful, please just let me know. >> >> Output of uname -a: >> FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 >> 03:45:16 UTC 2012 >> root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64= >> >> The install script in question: >=20 > Try creating this link: >=20 > ln -s ../usr/bin/expr /compat/linux/bin/expr >=20 > Without this link Linux scripts run the FreeBSD expr which isn't fully > compatible. And also, the Linux compatibility layer is 32bit so you need the x86 version of Matlab. --------------enig387E7325261E2159CFA2BFFE 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) iF4EAREIAAYFAlEeZQ4ACgkQfoCS2CCgtiufsAD9HiUZQgOeBoKiEHRap1E5GdOw ZbxQ6qDYwxBpGkll6FMA/jenngGjXLyFSIH8jz1gZbJAJrg0EpWfYOrc6Lg8vy3C =OXKw -----END PGP SIGNATURE----- --------------enig387E7325261E2159CFA2BFFE-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 17:03:42 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 40F58BE6 for ; Fri, 15 Feb 2013 17:03:42 +0000 (UTC) (envelope-from gkeramidas@gmail.com) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by mx1.freebsd.org (Postfix) with ESMTP id CC0EF926 for ; Fri, 15 Feb 2013 17:03:41 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b47so1882936eek.29 for ; Fri, 15 Feb 2013 09:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to; bh=Yq5yEQZumUAK2GSD0MRIlQwr55CYKjDGv2O1vLhpbXw=; b=BswQMKlgTxicpWuCPz4S2qpIeWypMyLrb6THKdkZBa6t5FENyCntyOP6XiGx5KEicw LUhfgq12Ve8lXrs5tRiTfkoXx3+alHiDAZDHe3qGeem/5jXSfBPY/KytCYL75Z80y+KQ iVO/D7CElMPd9tBquSIEIhyirSb2fe1z8EHGIgUa/gstKsT9b85A4d1KSq1oyLKxrgzX eyhvhgzTN2tUPOXlNIvQCx/g0ak6Q3HM0+Ls9lVL1kD8tE0p1X++0+9ATPaxlkGonzBN 8/TJGrR2O4IK9zjqmh4o4VeMYij46y4QEhTmYKAINkVRCr3QN2p0UzQVutAoqEsKruFt Ze+A== X-Received: by 10.14.220.135 with SMTP id o7mr10477380eep.3.1360947814838; Fri, 15 Feb 2013 09:03:34 -0800 (PST) Received: from saturn (217-162-217-29.dynamic.hispeed.ch. [217.162.217.29]) by mx.google.com with ESMTPS id 44sm84513369eek.5.2013.02.15.09.03.33 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 15 Feb 2013 09:03:33 -0800 (PST) Sender: Giorgos Keramidas Date: Fri, 15 Feb 2013 18:03:30 +0100 From: Giorgos Keramidas To: Tim Daneliuk Subject: Re: Fun Scripting Problem Message-ID: <20130215170329.GA27196@saturn> References: <511BDB13.3060005@tundraware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <511BDB13.3060005@tundraware.com> Cc: FreeBSD 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: Fri, 15 Feb 2013 17:03:42 -0000 On 2013-02-13 12:27, Tim Daneliuk wrote: > I know how to do this in Python, but I really want to do it in > straight Bourne shell. I have some ideas, but I thought I'd > give you folks a crack at this Big Fun: > > a) You have a directory of files - say they're logs - generated > at nondeterministic intervals. You may get more than one a day, > more than one a month, none, or hundreds. > > b) To conserve space, you want to keep the last file generated > in any given month (the archive goes back for an unspecified > number of years), and delete all the files generated prior to > that last file in that same month. > > c) Bonus points if the problem is solved generally for either files > or directories generated as described above. > > These are not actually logs, and no, I don't think logrotate can > do this ... or can it? You can try using stat/date to print the month in which each file was modified, e.g: freefall:/home/keramida$ stat -f '%m %N' prs.tar.bz2 1359910210 prs.tar.bz2 freefall:/home/keramida$ date -f '%s' -j '1359910210' '+%Y-%m' 2013-02 Having the mtime of the file in seconds since the epoch (1359910210) should be easy to sort through, e.g. you can find the last modification time with a 'sort -n | tail -1' pipe: freefall:/home/keramida/w/doc-head/el_GR.ISO8859-7/share$ touch xml/glossary.ent freefall:/home/keramida/w/doc-head/el_GR.ISO8859-7/share$ find xml -exec stat -f '%m %N' {} + 1360060289 xml 1360060288 xml/navibar.l10n.ent 1360060288 xml/trademarks.ent 1360060288 xml/libcommon.xsl 1360060288 xml/header.l10n.ent => 1360942284 xml/glossary.ent 1360060289 xml/freebsd.dsl 1360060289 xml/teams.ent 1360060289 xml/freebsd.ent 1360060289 xml/l10n.ent 1360060289 xml/mailing-lists.ent 1360060289 xml/newsgroups.ent 1360060289 xml/translators.ent 1360060289 xml/catalog.xml 1360060289 xml/entities.ent 1360060289 xml/catalog 1360060289 xml/urls.ent freefall:/home/keramida/w/doc-head/el_GR.ISO8859-7/share$ find xml -exec stat -f '%m %N' {} + | sort -n | tail -1 1360942284 xml/glossary.ent Then you can convert the epoch-based times to '%Y-%m' timestamps in a loop, e.g.: freefall:/home/keramida/w/doc-head/el_GR.ISO8859-7/share$ find xml \ > -exec stat -f '%m %N' {} + | while read mtime fname ; do > echo ${mtime} $( date -f '%s' -j "${mtime}" '+%Y-%m' ) ${fname} > done 1360060289 2013-02 xml 1360060288 2013-02 xml/navibar.l10n.ent 1360060288 2013-02 xml/trademarks.ent 1360060288 2013-02 xml/libcommon.xsl 1360060288 2013-02 xml/header.l10n.ent 1360942284 2013-02 xml/glossary.ent 1360060289 2013-02 xml/freebsd.dsl 1360060289 2013-02 xml/teams.ent 1360060289 2013-02 xml/freebsd.ent 1360060289 2013-02 xml/l10n.ent 1360060289 2013-02 xml/mailing-lists.ent 1360060289 2013-02 xml/newsgroups.ent 1360060289 2013-02 xml/translators.ent 1360060289 2013-02 xml/catalog.xml 1360060289 2013-02 xml/entities.ent 1360060289 2013-02 xml/catalog 1360060289 2013-02 xml/urls.ent Having the mtime in seconds as the first column is still conducive to sorting / tail: freefall:/home/keramida/w/doc-head/el_GR.ISO8859-7/share$ find xml \ > -exec stat -f '%m %N' {} + | while read mtime fname ; do > echo ${mtime} $( date -f '%s' -j "${mtime}" '+%Y-%m' ) ${fname}; > done | sort -n | tail -1 1360942284 2013-02 xml/glossary.ent >From that point it should be trivial to select all files whose timestamp is smaller than or equal to 1360942284 - one month of seconds. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 17:54:22 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 0F312B82 for ; Fri, 15 Feb 2013 17:54:22 +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 DFA5AB37 for ; Fri, 15 Feb 2013 17:54:21 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 5953333C1D for ; Fri, 15 Feb 2013 12:54:10 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id F1C5F39829; Fri, 15 Feb 2013 12:54:08 -0500 (EST) From: Lowell Gilbert To: FreeBSD Subject: Re: Problem with GPA after updating References: <20130215065824.4e3245d6@scorpio> Date: Fri, 15 Feb 2013 12:54:08 -0500 In-Reply-To: <20130215065824.4e3245d6@scorpio> (gerard@mcom.com's message of "Fri, 15 Feb 2013 06:58:24 -0500") Message-ID: <44fw0xa2f3.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain 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, 15 Feb 2013 17:54:22 -0000 Gerard writes: > FreeBSD-8.3 STABLE > gpg (GnuPG) 2.0.19 > libgcrypt 1.5.0 > gpa 0.9.3 > > When attempting to run 'gpa', I am greeted with an error message. The > message can be viewed here: http://www.seibercom.net/logs/gpa_error.png > > It seems to indicate that there is a problem with the GPG library > returning an unexpected value. > > I have tried rebuilding 'gnupg', 'gpgme' and 'gpa'. Is there something > else I should be looking into? Hard to say (especially because I can't see the error message). Your subject line implies that this started happening after an upgrade. Perhaps you failed to update a dependency somewhere, or missed a notice in UPDATING (perhaps the required rebuild of everything depending on gnutls in a 20130205 entry)? From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 20:01:27 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 3B2D6B98 for ; Fri, 15 Feb 2013 20:01:27 +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 F26B4187 for ; Fri, 15 Feb 2013 20:01:26 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id EA73133C1D; Fri, 15 Feb 2013 15:01:20 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 4FD4939829; Fri, 15 Feb 2013 15:01:19 -0500 (EST) From: Lowell Gilbert To: Fleuriot Damien Subject: Re: vmstat -w not honored References: <3D8611F5-7AF0-44D1-87FB-DF183A94B1FF@my.gd> Date: Fri, 15 Feb 2013 15:01:19 -0500 In-Reply-To: <3D8611F5-7AF0-44D1-87FB-DF183A94B1FF@my.gd> (Fleuriot Damien's message of "Wed, 13 Feb 2013 22:42:01 +0100") Message-ID: <44bobl9wj4.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain 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: Fri, 15 Feb 2013 20:01:27 -0000 Fleuriot Damien writes: > I'm running 8.3-STABLE and apparently, vmstat won't honor both -i > (interrupts) and -w (repeat display every wait delay seconds) flags at > the same time. > The problem also arises with -z. > > The manual doesn't mention these flags being incompatible with -w. They are. And with -c as well. *Only* the actual VM-related information display supports the looping. [The full set of flags incompatible with w and c is: f, i, m, s, z. > Anyone knows if this is intended behavior ? A better question would be whether it would actually be useful to change. In theory, other display routines could be modified to repeat. But their output formats would have to change, to fit all of the output on a single line. That would be a lot less readable for humans. If you've got an idea for what it could look like, I'd be happy to implement it for you. It would also have to figure out what the results would be if multiple kinds of output (e.g., interrupt counts *and* virtual memory) were specified. For the one-shot types of output, you can get more than one in a single command. > I wanna make sure before filling a PR, either to get this fixed or the man pages adjusted. Well, the following patch will at least warn the user about it at run time: --- vmstat.c (revision 246551) +++ vmstat.c (working copy) @@ -304,6 +304,8 @@ reps = -1; } else if (reps) interval = 1 * 1000; + if (interval && !(todo & VMSTAT)) + warnx("Ignoring repeat request: cannot repeat on this type of output"); if (todo & FORKSTAT) doforkst(); From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 22:56:21 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 2B89B3BC for ; Fri, 15 Feb 2013 22:56:21 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by mx1.freebsd.org (Postfix) with ESMTP id B91F0BD9 for ; Fri, 15 Feb 2013 22:56:20 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm6so1746762wib.8 for ; Fri, 15 Feb 2013 14:56:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to:x-gm-message-state; bh=ZYYBJQkMdha3jymGKQoQfr1cTDPH9p3rdY73XaZPnE4=; b=DhB7O6AhOFAm1YMjqF6EPntttm6rMTedMuarY7q7WuuQRmFD77rBpepnwpSehwYY5t kPTgtrrAmJwFHvRCD96LNzBWvWaIYszJzMp5lab5kXnMAMa76aGrIIrVP1RgTgIMoX+S koD2WMZaBMEBLEnEJC/7k9S4+/Gmct9ItqwiDE0+QivnPQDH6UTY4xh7aHQyzN4AP9Js 6ZZipyrTRb7D7Bzv4+RtI0NGIjjeEAf8Y5qUBj3mHXI9ppDJUbFjDeknyIgKpY0c6rBR 0rG8zS3HPf94AqKr9sHo4M2VBqmYF44CIxGE5kOdUxoKFN8A5BaFVyERgCIo05wTRfTv Lgpw== X-Received: by 10.194.172.197 with SMTP id be5mr7247532wjc.20.1360968974115; Fri, 15 Feb 2013 14:56:14 -0800 (PST) Received: from [10.58.114.102] ([92.90.16.32]) by mx.google.com with ESMTPS id bs6sm8026809wib.4.2013.02.15.14.56.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Feb 2013 14:56:13 -0800 (PST) References: <3D8611F5-7AF0-44D1-87FB-DF183A94B1FF@my.gd> <44bobl9wj4.fsf@lowell-desk.lan> Mime-Version: 1.0 (1.0) In-Reply-To: <44bobl9wj4.fsf@lowell-desk.lan> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <4D6A55E6-1A99-4446-B70B-F41FC7B5C5D5@my.gd> X-Mailer: iPhone Mail (10B144) From: Damien Fleuriot Subject: Re: vmstat -w not honored Date: Fri, 15 Feb 2013 23:56:01 +0100 To: Lowell Gilbert X-Gm-Message-State: ALoCoQnBe4FIpnlJodBpqDU9XpWGSh/Nm1WWmGTZQYmEULuLLefEQM/Hu5wDT9el9q81hJonBuAL 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: Fri, 15 Feb 2013 22:56:21 -0000 On 15 Feb 2013, at 21:01, Lowell Gilbert wrote: > Fleuriot Damien writes: >=20 >> I'm running 8.3-STABLE and apparently, vmstat won't honor both -i >> (interrupts) and -w (repeat display every wait delay seconds) flags at >> the same time. >> The problem also arises with -z. >>=20 >> The manual doesn't mention these flags being incompatible with -w. >=20 > They are. And with -c as well. *Only* the actual VM-related information > display supports the looping. [The full set of flags incompatible with=20 > w and c is: f, i, m, s, z. >=20 >> Anyone knows if this is intended behavior ? >=20 > A better question would be whether it would actually be useful to > change. In theory, other display routines could be modified to > repeat. But their output formats would have to change, to fit all of the > output on a single line. That would be a lot less readable for humans. >=20 > If you've got an idea for what it could look like, I'd be happy to > implement it for you. It would also have to figure out what the results > would be if multiple kinds of output (e.g., interrupt counts *and* > virtual memory) were specified. For the one-shot types of output, you > can get more than one in a single command.=20 >=20 It's not a bother to me that the output doesn't get repeated really, don't b= other implementing it if it's too much of a hassle. Besides, I could always use a loop to exec the command every X seconds. A much easier approach could be to mention it in the manual :) >> I wanna make sure before filling a PR, either to get this fixed or the ma= n pages adjusted. >=20 > Well, the following patch will at least warn the user about it at run time= : >=20 > --- vmstat.c (revision 246551) > +++ vmstat.c (working copy) > @@ -304,6 +304,8 @@ > reps =3D -1; > } else if (reps) > interval =3D 1 * 1000; > + if (interval && !(todo & VMSTAT)) > + warnx("Ignoring repeat request: cannot repeat on this typ= e of output"); >=20 > if (todo & FORKSTAT) > doforkst(); From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 02:06:42 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 D20B09F6 for ; Sat, 16 Feb 2013 02:06:42 +0000 (UTC) (envelope-from aaron_bru@hotmail.com) Received: from blu0-omc4-s18.blu0.hotmail.com (blu0-omc4-s18.blu0.hotmail.com [65.55.111.157]) by mx1.freebsd.org (Postfix) with ESMTP id 96B87305 for ; Sat, 16 Feb 2013 02:06:42 +0000 (UTC) Received: from BLU002-W225 ([65.55.111.137]) by blu0-omc4-s18.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 15 Feb 2013 18:05:35 -0800 X-EIP: [VrLYW8Nngtk+YCD44eBx83dWDWc2mviA] X-Originating-Email: [aaron_bru@hotmail.com] Message-ID: From: Aaron Brubacher Sender: To: "freebsd-questions@freebsd.org" Subject: new system call: Operation not permitted Date: Fri, 15 Feb 2013 21:05:35 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 16 Feb 2013 02:05:35.0983 (UTC) FILETIME=[1BF83FF0:01CE0BEA] 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2013 02:06:42 -0000 Hi=2C I'm trying to learn system calls on FreeBSD 4.2-RELEASE and I've added this= system call: int aaronflag(struct proc *p=2C struct aaronflag_args *uap) { return 1=3B } with this entry in syscalls.master: 364 STD BSD { int aaronflag()=3B } After running make syscalls.c and compiling=2C installing the kernel=2C whe= n I call it with syscall(364)=3B I get errno 1 "Operation not permitted". A= ny ideas what could cause this? thanks -Aaron = From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 11:14: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 F238353B; Sat, 16 Feb 2013 11:14:10 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2E47067F; Sat, 16 Feb 2013 11:14:09 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a12so1801864eaa.41 for ; Sat, 16 Feb 2013 03:14:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; bh=q4IGcrvdqBT0CBgbv8GL6uM2Ndp7lVfnZKnzGe64Qqk=; b=g2Bk6dDERpxRSbUc5uVwRP1cFizTF1UdSYqXHFZ96qqtYXf5PJrmG5G8Sasetfxlk9 8hy68fiwzw4Au9mYHPOgGvUqrnQN9zhfrYjWyRUKs8EYfE59j8qK84phkLyjrygxdnWY wXX8d5X1vdYSa+h+fkTK0TanOAc8QwHePZl1VCg4HUGXOljDFudX3IoIQuSE4VFSw/Ke ZKG0AXm15sG4WmyzB84qPURMhP2d7rrsUSSLK0DhIfERKyoRZ5z8ErsT6bO3IzVHl9MO uf0g6Vo6Yz/uW8NbJRnzLSmAcN30I+8RosAaKqE/HJ46sJTR01lBLKWZ+AqPO/z0PkkM ZMVA== X-Received: by 10.14.216.198 with SMTP id g46mr19433850eep.30.1361013243227; Sat, 16 Feb 2013 03:14:03 -0800 (PST) Received: from dragon.dg ([197.87.102.131]) by mx.google.com with ESMTPS id k7sm85324919een.8.2013.02.16.03.13.59 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 16 Feb 2013 03:14:02 -0800 (PST) From: David Naylor To: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org Subject: Wine-fbsd64 updated to 1.5.24 (32bit Wine for 64bit FreeBSD) Date: Sat, 16 Feb 2013 13:13:35 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE; KDE/4.9.1; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6673699.uL9ibrYxHk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201302161313.53916.naylor.b.david@gmail.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: Sat, 16 Feb 2013 11:14:11 -0000 --nextPart6673699.uL9ibrYxHk Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Packages [1] for wine-fbsd64-1.5.24 have been uploaded to mediafire [2]. T= he=20 packages for FreeBSD 10 use the pkgng [3] format. =20 Please read the installation messages, if you use the nVidia graphics drive= r,=20 for further information. =20 =46AQ =2D-- Q: Wine crashing when launching some 3D programs (aka games) A: This appears to be some clash with software however I have not been able= to=20 isolate where the problem is occurring (wine, ports, world, kernel, i386,=20 amd64). A possible solution in to try upgrading, or downgrading, software= =20 used however I have not been able to fix the problem with my attempts. If = you=20 find a solution please email me, or post the solution on the mailing list. Q: wine: failed to initialize: / usr/local/lib32/wine/ntdll.dll.so: Undefin= ed symbol "_ThreadRuneLocale" A: This problem is specific to FreeBSD-9.0, please either stick with=20 wine-1.5.10 or update to a newer version of FreeBSD (-STABLE or 9.1). =20 Apologies for the inconvenience. =20 Q: Creating pkgng packages for FreeBSD-9 A: When there is no demand for FreeBSD-8 packages I'll create additional pk= gng=20 packages for FreeBSD-9. Since it is possible to install the existing pkg=20 packages in a pkgng environment (which I do) this is not a high priority. = =20 Q: Wine doesn't run (properly) with a clang built world A: Clang was compiling i386 on a 16-byte boundary while gcc was using a 4-b= yte=20 boundary. To fix, recompile world after ensuring your sources include=20 http://beta.freshbsd.org/commit/freebsd/r242835 or the relevant MFC. =20 Regards, David [1] MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.24,1.tbz) =3D=20 7a69ce1f152ef9e5e1ad35e022bb4683 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.24.1.txz) =3D=20 18bd09208f4e983e9495b33d9fdadaae MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.24,1.txz) =3D=20 86361cc8b023d762f5e42a8fb226f5fe [2] http://www.mediafire.com/wine_fbsd64 [3] http://wiki.freebsd.org/pkgng --nextPart6673699.uL9ibrYxHk 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) iEYEABECAAYFAlEfafEACgkQUaaFgP9pFrJMVgCbBHWx2cIZ5L68hSh9xew6DmCf b18An2M8ru8U8Kpm6pWVOqceatjUNyBX =kems -----END PGP SIGNATURE----- --nextPart6673699.uL9ibrYxHk-- From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 12:26: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 53ED254B; Sat, 16 Feb 2013 12:26:43 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 179638B8; Sat, 16 Feb 2013 12:26:42 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1U6gqi-0015LM-5H>; Sat, 16 Feb 2013 13:26:36 +0100 Received: from e178034038.adsl.alicedsl.de ([85.178.34.38] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1U6gqa-002jFI-1R>; Sat, 16 Feb 2013 13:26:36 +0100 Message-ID: <511F7AED.6070106@zedat.fu-berlin.de> Date: Sat, 16 Feb 2013 13:26:21 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130131 Thunderbird/17.0.2 MIME-Version: 1.0 To: Ports FreeBSD , freebsd-questions@freebsd.org Subject: PostgreSQL 9.2: database replication on demand - easy way (Bucardo in ports not available) X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8ACE6BDCCFBDFDAC64A89AF9" X-Originating-IP: 85.178.34.38 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, 16 Feb 2013 12:26:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8ACE6BDCCFBDFDAC64A89AF9 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Dear Sirs. I send my question to this list in the hope someone has the same problems and already found a solution. I will start explaining the background and my difficulties with recent solutions. We/I have a FreeBSD 10 box running a PostgreSQL 9.2 server containing literature references via RefDB, some sort of bugtracking via Bugzilla, several astronomical databases of the IAU (minor planet objects) and others. Those databases are kept and maintained on one single box at the department. Since a lot of the data is needed in my home office or at a lab with non-permanent internet connection, I desperately need to synchronize the databases kept on the "master" with some backup database systems acting as "master/slave" when they are online. The latter definition is fuzzy, since what I need is an automated synchronization of the "real" master with a sporadically upcoming "slave" at home or at field sites for my science where, as said, the internet connectivity isn't provided 24/7. I feel realy uncomfortable with the built-in streaming replication of PostgreSQL 9.2 since I never managed it to make a successful replication. As far as I understand, the streaming mechanism of PostgreSQL 9.X expects the "slaves" to be always online, to which the replication. I was said that Bucardo (http://bucardo.org/) would be the tool of choice, but FreeBSD ports seem not not have this tool. SLONY also is a way to complicated for my for just this task - or I'm to dumb to perform a solution that fits easily. Is someone out here who might have the same problems and already figured out how to solve this? I do not want to go into this crap "pg_dump", since I tried this many times and it failed due to some issues I never figured out why in PostgreSQL 9.2. Sorry being unspecific here, it is a long time since I tried this frustrating task and it boiled always down to some confusing "postgres/template1" issues when dumping the master and trying to update the "slave". Even following the textbook's suggestions ended up in a mess. Well, I appreaciate some hints and concepts (working, not hypothetical "could be's", those are floating enough around the FreeBSD related net). Thanks in advance and thanks for the patience, Oliver --------------enig8ACE6BDCCFBDFDAC64A89AF9 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) iQEcBAEBAgAGBQJRH3rzAAoJEOgBcD7A/5N8+LEH/3JHqRDs/BpbI+k/BMr7Rla5 BCkf0PPo7iurVSIx3XwPxUzimCI3AGToIlZmuB5+EDat62BzcW2IZc5ajHWErZ7W qInE4wzO39TRNNqzotIQqTmunbYaOgJIr/srGMPaXG5h0kqLIE0mgr3Iyd/ejtU5 JpCr9fTpU8dlFPhBYkmMp5Tmg5D10cy8Ww35YJjRDseKg3mqyuu1b6szGdpCsE5k L6Ww9BMzDn1kkqvYWdnOmvhKPBGn1JLxsvpmRVcH/M8y9zCtbhVpo5/nyTnEGYVz oPFIr6UikxMXXiKylW/QXshgIPpQ80TNNP8UJJ4tKlRFIkiszsjroMZphvAgOh4= =LSbt -----END PGP SIGNATURE----- --------------enig8ACE6BDCCFBDFDAC64A89AF9-- From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 14:32:40 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 A45E8914 for ; Sat, 16 Feb 2013 14:32:40 +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 7E26CD08 for ; Sat, 16 Feb 2013 14:32:39 +0000 (UTC) Received: from [10.0.10.3] ([173.88.202.176]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 16 Feb 2013 06:32:34 -0800 Message-ID: <511F9880.1070206@a1poweruser.com> Date: Sat, 16 Feb 2013 09:32:32 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD questions Subject: Quota as a boot time module Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Feb 2013 14:32:34.0908 (UTC) FILETIME=[762179C0:01CE0C52] 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: Sat, 16 Feb 2013 14:32:40 -0000 I was reading the handbook quota section and it says quota has to be compiles into the kernel. I thought it can also be loaded as a boot time module? If so, how is it done. If so, I will also file a pr to get the handbook quota section updated. Thanks From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 14:47:59 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 97AB2D29 for ; Sat, 16 Feb 2013 14:47:59 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 5F036D83 for ; Sat, 16 Feb 2013 14:47:59 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id 7F0EC58011; Sat, 16 Feb 2013 15:47:57 +0100 (CET) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.6/8.14.6) with ESMTP id r1GElpRv023827 for ; Sat, 16 Feb 2013 15:47:51 +0100 (CET) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.6/8.14.6/Submit) id r1GElp5E023826 for questions@freebsd.org; Sat, 16 Feb 2013 15:47:51 +0100 (CET) (envelope-from schweikh) Date: Sat, 16 Feb 2013 15:47:51 +0100 From: Jens Schweikhardt To: questions@freebsd.org Subject: Should I bother with a gvinum stripe when using a pair of SSDs? Message-ID: <20130216144751.GC3070@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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, 16 Feb 2013 14:47:59 -0000 hello, world\n currently the only gvinum partition on my home system is a stripe for /home across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a pair of SSDs. I was thinking of reducing complexity and in the migration possibly no longer use gvinum at all--one less thing to configure and worry about. * Would gvinum striping bring any speed advantage with a pair of SSDs? * Or am I hitting other limits so that striping SSDs is a waste anyway? * Should I finally take the plunge and acquaint myself with ZFS? System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me that SATA II with 300MB/s is maxed out by a single SSD and striping it will not improve r/w throughput. Is my simplistic reasoning correct? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 15:44:08 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 9F499332 for ; Sat, 16 Feb 2013 15:44:08 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-la0-x232.google.com (la-in-x0232.1e100.net [IPv6:2a00:1450:4010:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 2BE45F70 for ; Sat, 16 Feb 2013 15:44:07 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id ec20so4359175lab.9 for ; Sat, 16 Feb 2013 07:44:06 -0800 (PST) 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:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=XJM+Gk7ATLwNRbRChOzTKHjzNekJGzmId4LlQQibIqU=; b=Se+h08JPGMnSNw8X8e9chUlXQzNYsI/aXZfbkxdW/lMH4s8b/ydpOm2Mf91fkAWXX/ N7Cj9/WV5NS3iN8k8QD1/lB63+WQxjkbn3JH3jk2yTw7JRQ+6oAewz+AmuJ/HnRQWTkf CiGQP8BELFliG+cpKjcOIrNCRVlT9Avj7F7Mepd9lPQ5YtqAilWez0do1KWUeK7bwewF pp8xdieRaaqcbquDiCo8i/NWuJ0unwzZt26CiwOmhNj95yOAnoudxKxYAA7oZTgthlB/ B08c6uuDjwOiKp5SDs3jPWEd6vxpFHHuhtg+GLBtU2HfQKhQL1fkVDUuiGp7BO2g9CGW w7WQ== MIME-Version: 1.0 X-Received: by 10.152.45.140 with SMTP id n12mr5465547lam.36.1361029446344; Sat, 16 Feb 2013 07:44:06 -0800 (PST) Received: by 10.112.45.36 with HTTP; Sat, 16 Feb 2013 07:44:06 -0800 (PST) X-Originating-IP: [93.221.168.254] In-Reply-To: <20130216144751.GC3070@schweikhardt.net> References: <20130216144751.GC3070@schweikhardt.net> Date: Sat, 16 Feb 2013 16:44:06 +0100 Message-ID: Subject: Re: Should I bother with a gvinum stripe when using a pair of SSDs? From: "C. P. Ghost" To: Jens Schweikhardt Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkxHJaZH4SSREODQSAF20U2bN7yTNlFJeJVTJwsVA+fULHusSqnSw6qjyxk2Ds7VwpzaYS1 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: Sat, 16 Feb 2013 15:44:08 -0000 On Sat, Feb 16, 2013 at 3:47 PM, Jens Schweikhardt wrote: > hello, world\n > > currently the only gvinum partition on my home system is a stripe for /home > across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a > pair of SSDs. I was thinking of reducing complexity and in the migration > possibly no longer use gvinum at all--one less thing to configure and worry > about. > > * Would gvinum striping bring any speed advantage with a pair of SSDs? > * Or am I hitting other limits so that striping SSDs is a waste anyway? > * Should I finally take the plunge and acquaint myself with ZFS? > > System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me > that SATA II with 300MB/s is maxed out by a single SSD and striping it > will not improve r/w throughput. Is my simplistic reasoning correct? Jens, as always it depends on what you're trying to achieve: - max speed / lower latency? - max storage? - max redundancy? - max run-time-to-data-loss? Your choice of SSD probably means you'd like to reduce latency and maximize data throughput. Since you're going SSD, I suspect that maximizing total storage capacity is definitely not your primary concern, right? In this case, you probably won't need some space-saving RAID variants (like RAID-5, RAID-Z, ...), therefore simple striping or mirroring would be adequate. However, striping puts your data at risk: lose one SSD, and the whole volume becomes unusable. Mirroring would at least preserve some redundancy. Moreover, by NOT using ZFS, you're sacrificing the by-sector checksumming that becomes rather important with SSD whose mode of failure tends to favor single (silent!) sector corruption that may go undetected for a while and grow worse over time. You may then want a mirrored ZFS configuration if this is a concern. Each solution has its pros and cons, and there are quite some trade offs in there. > Regards, > > Jens > -- > Jens Schweikhardt http://www.schweikhardt.net/ > SIGSIG -- signature too long (core dumped) -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 15:55:30 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 712D7BA6 for ; Sat, 16 Feb 2013 15:55:30 +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 2AFA196 for ; Sat, 16 Feb 2013 15:55:29 +0000 (UTC) Received: from mailout-us.mail.com ([172.19.198.50]) by mrigmx.server.lan (mrigmxus001) with ESMTP (Nemesis) id 0MDhGc-1U7Gjc3Nra-00H68k for ; Sat, 16 Feb 2013 16:55:22 +0100 Received: (qmail invoked by alias); 16 Feb 2013 15:55:22 -0000 Received: from unknown (EHLO blazon-pc.rw.local) [78.84.97.244] by mail.gmx.com (mp-us010) with SMTP; 16 Feb 2013 10:55:22 -0500 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX1/qYZUdUYzqNeEvdhbCd01XE00p0T1N+PVTuM4GHd HVN+nPQNC0vACl Message-ID: <511FAC10.9060806@mail.com> Date: Sat, 16 Feb 2013 17:56:00 +0200 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121030 Thunderbird/16.0.1 MIME-Version: 1.0 To: questions@freebsd.org Subject: Ports & Packages [Stable] in sync Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 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, 16 Feb 2013 15:55:30 -0000 Hi, I upgraded 9.0 -> 9.1 on my netbook and only then found out that there are no packages for 9.1-RELEASE. On my desktops, I keep ports and packages at the RELEASE versions, so I only have to compile when I need non-default options or when there are no packages. Would it be possible to get the ports snapshot that was used to compile the 9-STABLE packages? I think I could use subversion but then I need to know the revision number of that snapshot. What do you suggest? Thanks, Jeff From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 16:12:05 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 B17E3145 for ; Sat, 16 Feb 2013 16:12:05 +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 62589145 for ; Sat, 16 Feb 2013 16:12:05 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx01.qsc.de (Postfix) with ESMTP id C539D3CABA; Sat, 16 Feb 2013 17:11:57 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1GGC1ED002006; Sat, 16 Feb 2013 17:12:01 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 16 Feb 2013 17:12:00 +0100 From: Polytropon To: Fbsd8 Subject: Re: Quota as a boot time module Message-Id: <20130216171200.c79ffbcd.freebsd@edvax.de> In-Reply-To: <511F9880.1070206@a1poweruser.com> References: <511F9880.1070206@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: Sat, 16 Feb 2013 16:12:05 -0000 On Sat, 16 Feb 2013 09:32:32 -0500, Fbsd8 wrote: > I was reading the handbook quota section and it says quota has to be > compiles into the kernel. I thought it can also be loaded as a boot time > module? If I remember correctly, quota is still one of the few things you cannot load as a module, which implies you have to compile it into your (custom) kernel. In /usr/src/sys/conf/NOTES there is an entry for quota. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 16:13:23 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 56869214 for ; Sat, 16 Feb 2013 16:13:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id F2309159 for ; Sat, 16 Feb 2013 16:13:22 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r1GGDMKk087602; Sat, 16 Feb 2013 09:13:22 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r1GGDMJh087599; Sat, 16 Feb 2013 09:13:22 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 16 Feb 2013 09:13:22 -0700 (MST) From: Warren Block To: Jens Schweikhardt Subject: Re: Should I bother with a gvinum stripe when using a pair of SSDs? In-Reply-To: <20130216144751.GC3070@schweikhardt.net> Message-ID: References: <20130216144751.GC3070@schweikhardt.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 16 Feb 2013 09:13:22 -0700 (MST) 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: Sat, 16 Feb 2013 16:13:23 -0000 On Sat, 16 Feb 2013, Jens Schweikhardt wrote: > hello, world\n > > currently the only gvinum partition on my home system is a stripe for /home > across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a > pair of SSDs. I was thinking of reducing complexity and in the migration > possibly no longer use gvinum at all--one less thing to configure and worry > about. > > * Would gvinum striping bring any speed advantage with a pair of SSDs? > * Or am I hitting other limits so that striping SSDs is a waste anyway? > * Should I finally take the plunge and acquaint myself with ZFS? > > System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me > that SATA II with 300MB/s is maxed out by a single SSD and striping it > will not improve r/w throughput. Is my simplistic reasoning correct? That would be 300M per disk, potentially up to 600M total. It would have to be benchmarked to see if there is any real improvement. It had never occurred to me that ZFS could do RAID0, but apparently it can. Some ZFS safety features might make it a little less dangerous than RAID0 on gvinum. ZFS has some overhead and might not be as fast as gvinum. One larger SSD plus an add-in SATA III controller would be simpler. The bigger SSDs are frequently faster than the smaller ones due to internal striping layouts, so it's like getting a RAID0 setup anyway. I "slow mirror" SSDs with a backup hard drive via cron and rsync. From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 17:30:57 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 7538A2B9 for ; Sat, 16 Feb 2013 17:30:57 +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 6272E383 for ; Sat, 16 Feb 2013 17:30:56 +0000 (UTC) Received: from [10.0.10.3] ([173.88.202.176]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 16 Feb 2013 09:30:57 -0800 Message-ID: <511FC24F.5080007@a1poweruser.com> Date: Sat, 16 Feb 2013 12:30:55 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD questions Subject: 9.1 kernel src only Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Feb 2013 17:30:58.0088 (UTC) FILETIME=[61B92280:01CE0C6B] 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: Sat, 16 Feb 2013 17:30:57 -0000 Before the install media format changed at 9.0, sysinstall had option to only install kernel source. Can I use 9.1 svn to just checkout the kernel src necessary to compile a custom kernel? If so, how would I code the svn command to make it happen? Thanks From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 18:38:33 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 7AAA3614 for ; Sat, 16 Feb 2013 18:38:33 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 38BA885A for ; Sat, 16 Feb 2013 18:38:33 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id 7F78158002; Sat, 16 Feb 2013 19:38:31 +0100 (CET) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.6/8.14.6) with ESMTP id r1GIYnG9024477; Sat, 16 Feb 2013 19:34:49 +0100 (CET) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.6/8.14.6/Submit) id r1GIYnV5024476; Sat, 16 Feb 2013 19:34:49 +0100 (CET) (envelope-from schweikh) Date: Sat, 16 Feb 2013 19:34:49 +0100 From: Jens Schweikhardt To: "C. P. Ghost" Subject: Re: Should I bother with a gvinum stripe when using a pair of SSDs? Message-ID: <20130216183449.GD3070@schweikhardt.net> References: <20130216144751.GC3070@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: Sat, 16 Feb 2013 18:38:33 -0000 On Sat, Feb 16, 2013 at 04:44:06PM +0100, C. P. Ghost wrote: # On Sat, Feb 16, 2013 at 3:47 PM, Jens Schweikhardt # wrote: # > hello, world\n # > # > currently the only gvinum partition on my home system is a stripe for /home # > across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a # > pair of SSDs. I was thinking of reducing complexity and in the migration # > possibly no longer use gvinum at all--one less thing to configure and worry # > about. # > # > * Would gvinum striping bring any speed advantage with a pair of SSDs? # > * Or am I hitting other limits so that striping SSDs is a waste anyway? # > * Should I finally take the plunge and acquaint myself with ZFS? # > # > System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me # > that SATA II with 300MB/s is maxed out by a single SSD and striping it # > will not improve r/w throughput. Is my simplistic reasoning correct? # # Jens, # # as always it depends on what you're trying to achieve: # - max speed / lower latency? # - max storage? # - max redundancy? # - max run-time-to-data-loss? # # Your choice of SSD probably means you'd like to reduce latency # and maximize data throughput. Exactly, when I started vith vinum many years ago in the magnetic HD age, striping with vinum gave me almost factor 2 in r/w speed as measured with dd. (I do backups regularly to other media, so data loss protection is not my primary concern). I realize that maximum SSD speeds as advertised by vendors and tests (e.g. 520MB/s for contemporary top notch SSDs) may only be reached under certain conditions far away from my normal usage, which is re-building worlds and kernels and ports on a daily basis. So if for my realworld working set a single SSD can deliver 300MB/s, striping with vinum just might get me a factor 2 again to 600MB/s across two SSDs. Then it would be worthwile to keep gvinum. Does that make sense? My understanding of SSD and SATA capabilities may however be completely dreamed up... Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 19:13:23 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 A7F17D7B for ; Sat, 16 Feb 2013 19:13:23 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-da0-f49.google.com (mail-da0-f49.google.com [209.85.210.49]) by mx1.freebsd.org (Postfix) with ESMTP id 58F0F949 for ; Sat, 16 Feb 2013 19:13:23 +0000 (UTC) Received: by mail-da0-f49.google.com with SMTP id t11so1873330daj.22 for ; Sat, 16 Feb 2013 11:13:17 -0800 (PST) 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:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=I+XfvmN3249BUrQ0t5nJKFRfxmWZcS9BW7IgeP/Ec2k=; b=Po4oiroo8yftdtRCzgH7sVQEiRCanmvNwZ0vhYCvxkZw0QoaqxPIWqLk4npPVF203b Aw/S1XAuTiC/u1hA3NhfCXo0s2F5Exh92AFmEmr2RQvxksTWMzJLPVsUqms1hBXihbpQ +tH5bEaYfHpjHIf4Vg3ghvj5Vl9btG3NU72pj6vDLek57qPMICBgdXNnu2jKlq/eoeLd Br1t9sJN94J1Y05My9p4S01M/v9RSTaPhQncaz5UmSTjKYENUcNdXcRxLnd++IhJ4GKM 5NJ58mYWGWThCmg/LGtH+6m7PkO32ifTy2jtq5WsVgf1sXRRddJksfSAVG92lUeyo4FY gtZQ== MIME-Version: 1.0 X-Received: by 10.66.81.199 with SMTP id c7mr23048413pay.39.1361041553726; Sat, 16 Feb 2013 11:05:53 -0800 (PST) Received: by 10.68.76.195 with HTTP; Sat, 16 Feb 2013 11:05:53 -0800 (PST) X-Originating-IP: [93.221.168.254] In-Reply-To: <20130216183449.GD3070@schweikhardt.net> References: <20130216144751.GC3070@schweikhardt.net> <20130216183449.GD3070@schweikhardt.net> Date: Sat, 16 Feb 2013 20:05:53 +0100 Message-ID: Subject: Re: Should I bother with a gvinum stripe when using a pair of SSDs? From: "C. P. Ghost" To: Jens Schweikhardt Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnBvfTJpix0og+8qOZDiwiDA2S+EnpXrv7J97DEG5xNmwCh2vS/rUe3BC4V0oizxup4qMov 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: Sat, 16 Feb 2013 19:13:23 -0000 On Sat, Feb 16, 2013 at 7:34 PM, Jens Schweikhardt wrote: > On Sat, Feb 16, 2013 at 04:44:06PM +0100, C. P. Ghost wrote: > # On Sat, Feb 16, 2013 at 3:47 PM, Jens Schweikhardt > # wrote: > # > hello, world\n > # > > # > currently the only gvinum partition on my home system is a stripe for /home > # > across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a > # > pair of SSDs. I was thinking of reducing complexity and in the migration > # > possibly no longer use gvinum at all--one less thing to configure and worry > # > about. > # > > # > * Would gvinum striping bring any speed advantage with a pair of SSDs? > # > * Or am I hitting other limits so that striping SSDs is a waste anyway? > # > * Should I finally take the plunge and acquaint myself with ZFS? > # > > # > System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me > # > that SATA II with 300MB/s is maxed out by a single SSD and striping it > # > will not improve r/w throughput. Is my simplistic reasoning correct? > # > # Jens, > # > # as always it depends on what you're trying to achieve: > # - max speed / lower latency? > # - max storage? > # - max redundancy? > # - max run-time-to-data-loss? > # > # Your choice of SSD probably means you'd like to reduce latency > # and maximize data throughput. > > Exactly, when I started vith vinum many years ago in the magnetic HD > age, striping with vinum gave me almost factor 2 in r/w speed as > measured with dd. (I do backups regularly to other media, so data > loss protection is not my primary concern). > > I realize that maximum SSD speeds as advertised by vendors and tests > (e.g. 520MB/s for contemporary top notch SSDs) may only be reached > under certain conditions far away from my normal usage, which is > re-building worlds and kernels and ports on a daily basis. So if for > my realworld working set a single SSD can deliver 300MB/s, striping > with vinum just might get me a factor 2 again to 600MB/s across > two SSDs. Then it would be worthwile to keep gvinum. > > Does that make sense? My understanding of SSD and SATA capabilities > may however be completely dreamed up... Assuming the right cables etc.., I *guess* the limiting factor would ultimately be the (AHCI-)SATA controller itself, or even the bus to which it is attached. Add to this that embedded DMA controllers may compete for the bus, limiting transfer rates even more. I don't know how such a setup scales; that's way too system dependent. If you have hard requirements w.r.t. latency and throughput, you'll ultimately have to run some real world tests on the target system. > Regards, > > Jens > -- > Jens Schweikhardt http://www.schweikhardt.net/ > SIGSIG -- signature too long (core dumped) -cpghost. -- Cordula's Web. http://www.cordula.ws/