From owner-freebsd-questions@freebsd.org Sun Sep 3 05:30:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BB6CE1BDB5 for ; Sun, 3 Sep 2017 05:30:00 +0000 (UTC) (envelope-from bianca@adwordbannersonline.com) Received: from a2nlsmtp01-04.prod.iad2.secureserver.net (a2nlsmtp01-04.prod.iad2.secureserver.net [198.71.225.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59B7682F16 for ; Sun, 3 Sep 2017 05:29:59 +0000 (UTC) (envelope-from bianca@adwordbannersonline.com) Received: from a2plcpnl0900.prod.iad2.secureserver.net ([107.180.121.18]) by : HOSTING RELAY : with SMTP id oNSmd8gmKYn9KoNSmdUUHM; Sat, 02 Sep 2017 22:28:52 -0700 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=adwordbannersonline.com; s=default; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Subject:Reply-To:From:To:Date:Sender:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=l2OQ5vmvM8bWgDHe13eSK5OQvddBI2/OQm+XQxcIFMI=; b=KZYdUFgvlKTBlc7ouB+3CtXj8 LujpxiLYPMYKXXPwtIbI3BIMxVgJ4jpJ8BSACj0yuSXQGP8lGfoaPLoA2Y+qRK0Pdgg79eIKYBcT9 dh2mUbVnq7bwppX58RBNLOYLijHBlxP+hDlx3Uy0CNskBj8tjdfuQL2bIIfNLzOo0wtGICptkctNF tTHnHx23JGy+xjldIa9gaxGwlrDGF5IRQDJ84bU6pJl45NjZr9kJNvZULwg//uLlCqq3uIXV88x9c YVvUFqmpHBxsqXkFHIVKX1bnYitzD2Rai0NBR9cM+i8mHT8M+Ltl42C4JQg8++a4W49Q9r4o2X1xI 0QdnL75EQ==; Received: from [127.0.0.1] (port=36554 helo=adwordbannersonline.com) by a2plcpnl0900.prod.iad2.secureserver.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88) (envelope-from ) id 1doNSm-003ewl-OG for freebsd-questions@freebsd.org; Sat, 02 Sep 2017 22:28:52 -0700 Date: Sun, 3 Sep 2017 05:28:47 +0000 To: "freebsd-questions@freebsd.org" From: "bianca@adwordbannersonline.com" Reply-To: "bianca@adwordbannersonline.com" Subject: Quick and smart web page optimization Message-ID: <6fd4ae12ac0a5ea4bfc7492ab907de22@adwordbannersonline.com> X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0900.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - adwordbannersonline.com X-Get-Message-Sender-Via: a2plcpnl0900.prod.iad2.secureserver.net: authenticated_id: bianca@adwordbannersonline.com X-Authenticated-Sender: a2plcpnl0900.prod.iad2.secureserver.net: bianca@adwordbannersonline.com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfF82LOQf67ZtRImSffYMi2hqU+tJG02+S38mZYpbG85hQbwNSiuvEZ2JNdF8j53LNNw0r0o5K8rsGmLxdDIiqxASVPncanZdv8RKMu1lKVn/7UI+VpVV y780d7xjXUv+zQqGlEBp6OSwsyvCoEjmzGu/q0ba7cFah4ekn8unG9pcTECZ7w6kxawoB637434RfP38TeIiZIceImTejRpcF0asC51FuIpY5FNuNF16WQDo Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2017 05:30:00 -0000 Dear Freebsd-questions! Choosing the right keywords and making smart bids on those keywords are only part of a difficult job. Successful ads are written and structured in a certain way, and some marketing methods don't know everything how to make one. Since our company emerged, it is generally oriented on giving you a great chance of putting your web page in the first place of Google and other search engines. The newest technology that can move your web page up on the list and stay there for a long time without paying extra money for bidding competitions. So, if you decide to use this technology, don't waste your time and feel free to join us: First, by filling online quote on our website, Second, by putting down your website freebsd org, Third, see the results of your first productive steps. Best Wishes, Bianca From owner-freebsd-questions@freebsd.org Sun Sep 3 11:56:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1237E0797D for ; Sun, 3 Sep 2017 11:56:53 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E5BF693D3 for ; Sun, 3 Sep 2017 11:56:52 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v83Buo8p054919 for ; Sun, 3 Sep 2017 12:56:50 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: using gmirror and zfs mirror on the same box -- thoughts? To: freebsd-questions@freebsd.org References: <012a6d18-7f67-9855-1740-479329bf9a65@gmail.com> <8930b791-c872-cc6c-55b0-189f405a3b05@fjl.co.uk> From: Frank Leonhardt Message-ID: Date: Sun, 3 Sep 2017 12:56:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2017 11:56:53 -0000 On 01/09/2017 01:09, Shamim Shahriar wrote: > Hi Frank, thanks for your feedback, much appreciated. I'm not sure about > gmirror being broken -- I am experiment (currently) with 12 current on a > very broken machine which seem to be working fine. The way the machine is > broken -- it is a Lenovo tower, supposed to work either legacy or efi > booting, but fails with efi booting in most cases with drives that > occasionally boots, and cannot boot legacy or efi from gpt drives at all. > Only thing seem to work properly is legacy bit with MBR. So I used a couple > of 1tb drives, made MBR partitions -- 3 slices, first with root boot and > the lot, 2nd with tmp and swap (did not want to mirror those, so the second > HDD has /var/tmp and swap), third slice with zfs only. The first slices in > gmirror, third slices geli encrypted zfs mirror. Seems to be working fine. > So far I have not noticed any data error. I'm to some extent certain that > if the machine could boot from gpt, I could have gotten away without having > to do slices and use just partitions. But cannot confirm until I try out > the actual machine. > > I'll need to check the link you sent, but that will be tomorrow. Badly in > need of a shut eye. > > Thanks again. > > On 31 Aug 2017 11:33 pm, "Frank Leonhardt" wrote: > > On 17/08/2017 23:48, Shamim Shahriar wrote: > >> Good evening all, hope everyone is well. >> >> I have a strange requirement for a particular system that will sit at a >> remote location. I intend to use mirror, but at the same time encrypt the >> system. Boot time encryption is not an option -- I need the system to boot >> up normally (with network and ssh running, so I can do the rest remotely) >> and do not wish to risk the normal bootup due to some issues with either >> geli or other matters (fsck after a power out comes to mind). I would like >> to have the OS part mirrored as well the data part. As for the data part -- >> I definitely wish to use zfs with encryption. Encrypting OS is not >> necessary (but if can be done safely, ideas are welcome) >> >> Now, I can use multiple zpool, but then all of them will try to be >> active/functional when the machine boots. If I intend to encrypt the data >> pool (geli), then it needs to wait until the encryption part is taken care >> of. >> >> So, I am thinking (probably in a very wrong way, corrections welcome), if >> I get the OS part gmirror-ed, then that comes up with the OS, I have >> network and ssh to get into the system, and then manually run the >> encryption and zfs part. >> >> The system has 8GB RAM, which I am assuming should be good enough for >> geli, gmirror and zfs parts. >> >> If anyone has any better suggestion/scenerio to share, that is greatly >> welcome. If you think this might actually be disfunctional, please share >> your thoughts on that (preferably with explanation as to why this is a bad >> idea). if you have any suggestion that you think is a much better option, >> please do feel free to share. >> > Hi Shamim, > > This sounds like a very good idea to me. I often go for mixed systems; boot > off geom mirrored UFS drives and use ZFS for storage. At one time you had > to boot from UFS, and it's only been simple to boot from ZFS since 10.0 > (IIRC). > > Although you can boot from a complex raidz array it has problems. For > example, when you swap a failed drive you don't get the boot code back > unless you put it there. And there's also more to go wrong (HBA, SAS > expander and so on). If you boot from a pair of SATA drives directly > connected to the motherboard it's just more likely to work. > > And the final "good thing" about booting from a mirrored UFS is that you > can use the drive for faster database storage - eli a partition for this if > needed. > > Booting from a geom mirror seems to have broken since 11 - you might want > to read this: > > http://blog.frankleonhardt.com/2017/zfs-is-not-always-the-an > swer-bring-back-gmirror/ > > Regards, Frank. > > Hi Frank, thanks for your feedback, much appreciated. I'm not sure about > gmirror being broken -- I am experiment (currently) with 12 current on a > very broken machine which seem to be working fine. The way the machine is > broken -- it is a Lenovo tower, supposed to work either legacy or efi > booting, but fails with efi booting in most cases with drives that > occasionally boots, and cannot boot legacy or efi from gpt drives at all. > Only thing seem to work properly is legacy bit with MBR. So I used a couple > of 1tb drives, made MBR partitions -- 3 slices, first with root boot and > the lot, 2nd with tmp and swap (did not want to mirror those, so the second > HDD has /var/tmp and swap), third slice with zfs only. The first slices in > gmirror, third slices geli encrypted zfs mirror. Seems to be working fine. > So far I have not noticed any data error. I'm to some extent certain that > if the machine could boot from gpt, I could have gotten away without having > to do slices and use just partitions. But cannot confirm until I try out > the actual machine. > Hi Shamim, When I say geom mirror is "broken" on 12 I am talking about the way you could install it on a boot drive. This used to be easy but the old method does not work. If you follow the link it explains how I did it. Your configuration looks very interesting! Are you using two drives? If I wanted to do what you are doing I would use geom mirror to mirror the whole drive. Then if I wanted ZFS I would install it on one partition, and let geom mirror look after all the mirroring. I'm not sure if this is what you are doing by reading your description. Are you using geom mirror on one partition and ZFS mirror on the other one? Regards, Frank. From owner-freebsd-questions@freebsd.org Sun Sep 3 12:13:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D160CE0889A for ; Sun, 3 Sep 2017 12:13:52 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E2F569D0B for ; Sun, 3 Sep 2017 12:13:52 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v83CDo64058493 for ; Sun, 3 Sep 2017 13:13:50 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: reread rc.conf without rebooting To: freebsd-questions@freebsd.org References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> From: Frank Leonhardt Message-ID: <7ccfe875-6834-0636-29ca-db089b0cf25e@fjl.co.uk> Date: Sun, 3 Sep 2017 13:13:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <59A57B99.6030702@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2017 12:13:52 -0000 On 29/08/2017 15:35, Ernie Luzar wrote: > Valeri Galtsev wrote: >> On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: >>> After making changes to /etc/rc.conf is there some way to make the host >>> reread it without rebooting? >> >> I only know one way to do it: apply each change (one at a time) by >> executing relevant command from shell. Why does that not suite you? >> You do >> test (from shell) what is the effect of each change, right? >> >> Valeri >> > > You did not understand correctly meaning of post. > > I added local_unbound_enable="YES" to rc.conf > > It's my understanding that rc.conf is only read at boot time to config > services on host. > > Question is. Is there some other way to make tis happen without > rebooting? Hi Valeri, I understand what you mean. I have wanted to be able to do this for a very long time but I have never found a way. init (process 1) runs all the rc scripts, and AFIK is responsible for parsing them. Restarting /sbin/init is almost as drastic and rebooting, and probable less likely to work! The problem is that when you experiment starting and stopping services with /etc/rc.d/xxxx or the new service command it is difficult to be sure you have put the working commands in /etc/rc.conf. The syntax is different and it is also easy to make a mistake when typing. You CAN put startup configuration lines in /etc/rc.local and run this any time you like, but it is run at a different time during startup so it is not a perfect solution. However, you do know that exactly the same thing will happen at startup. Regards, Frank. From owner-freebsd-questions@freebsd.org Sun Sep 3 12:39:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69720E09981 for ; Sun, 3 Sep 2017 12:39:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4BFC6A718 for ; Sun, 3 Sep 2017 12:39:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Sun, 03 Sep 2017 14:38:52 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 45F103CBF9; Sun, 3 Sep 2017 14:38:48 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v83Ccm0d002141; Sun, 3 Sep 2017 14:38:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 3 Sep 2017 14:38:48 +0200 From: Polytropon To: Frank Leonhardt Cc: freebsd-questions@freebsd.org Subject: Re: reread rc.conf without rebooting Message-Id: <20170903143848.50cb0d7c.freebsd@edvax.de> In-Reply-To: <7ccfe875-6834-0636-29ca-db089b0cf25e@fjl.co.uk> References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> <7ccfe875-6834-0636-29ca-db089b0cf25e@fjl.co.uk> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 06EDB6A35DB X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1389 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2017 12:39:06 -0000 On Sun, 3 Sep 2017 13:13:52 +0100, Frank Leonhardt wrote: > On 29/08/2017 15:35, Ernie Luzar wrote: > > Valeri Galtsev wrote: > >> On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: > >>> After making changes to /etc/rc.conf is there some way to make the host > >>> reread it without rebooting? > >> > >> I only know one way to do it: apply each change (one at a time) by > >> executing relevant command from shell. Why does that not suite you? > >> You do > >> test (from shell) what is the effect of each change, right? > >> > >> Valeri > >> > > > > You did not understand correctly meaning of post. > > > > I added local_unbound_enable="YES" to rc.conf > > > > It's my understanding that rc.conf is only read at boot time to config > > services on host. > > > > Question is. Is there some other way to make tis happen without > > rebooting? > > Hi Valeri, > > I understand what you mean. I have wanted to be able to do this for a > very long time but I have never found a way. init (process 1) runs all > the rc scripts, and AFIK is responsible for parsing them. Restarting > /sbin/init is almost as drastic and rebooting, and probable less likely > to work! > > The problem is that when you experiment starting and stopping services > with /etc/rc.d/xxxx or the new service command it is difficult to be > sure you have put the working commands in /etc/rc.conf. The syntax is > different and it is also easy to make a mistake when typing. > > You CAN put startup configuration lines in /etc/rc.local and run this > any time you like, but it is run at a different time during startup so > it is not a perfect solution. However, you do know that exactly the same > thing will happen at startup. Be careful with this assumption. At startup, /etc/rc.local is run at a time where it might be inconvenient for the problem you want to solve. For example, if you want to do something with printers, you'll be surprised that CUPS isn't running yet. But you can do things with devices to mount. See "man rc" for the explanation of rc.local and rc.shutdown.local. Do not imagine rc.conf as a "one-time start script" - it isn't. The key advantage (and maybe disadvantage?) is that it is being parsed several times, especially by the services started via the rc.d framework (from the /etc/rc.d and /usr/local/etc/rc.d directories primarily). This framework resolves service dependencies as needed, and all changes that apply to _affected_ services will be used. In rc.conf, a declarative syntax is being used (name=value), and its content is being sourced by any script that needs to obtain configuration values from that file. There is not a single-point mechanism that extracts values from it and distributes them among services that might need them, so to speak. :-) The rc.local file _can_ use values from rc.conf (or rc.conf.local), but it is not directly related to that file, as it is a regular shell script that is executed "for the sake of execution", whereas rc.conf, being a shell script too, is "only a name=value list".#!/bin/sh Here is an example of how rc.local can start: # obtain configuration with "precedence" (from if [ -z "${source_rc_confs_defined}" ]; then if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ]; then . /etc/rc.conf elif [ -r /etc/rc.conf.local ]; then . /etc/rc.conf.local fi fi # depends on no further configuration echo -n " foo" /usr/local/bin/foo -meow # depends on _enable="YES" and others in rc.conf(.local) case ${bar_enable} in [Yy][Ee][Ss]) if [ -f ${bar_file} ]; then echo -n " bar" /opt/bin/bar ${bar_flags} ${bar_file} & fi ;; *) ;; esac # another one echo -n " baz" /usr/bin/true > /dev/null # file ends here, trailing "." will be printed by caller Note that /etc/rc.shutdown.local can use the same concept. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Sep 3 13:58:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C31EE0CB21 for ; Sun, 3 Sep 2017 13:58:34 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E50ED6C7FA for ; Sun, 3 Sep 2017 13:58:33 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id 62so5074081iok.4 for ; Sun, 03 Sep 2017 06:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zPNIwRPdpFWfC86rukp5t9KcUgprVQ2sVYxG+QvdoZY=; b=N7zNg1xKQXvUJhZgUWNO3PpljtcU5sHF+QEljOyWkawOXgJv40wesp2rLY81MrYy9F +u95VsZhfYmzpR9cdm7YjPV8WID8YIvb8uXNsUfvOcUZ+gRePJqpHqCIHgKO9m/XkJ8Q GA6P9RD2O/Lv94jcUp3rwneel8EeSj1KmhO+SvZp28G8Ux/U5D7ArqfvVgNFH1WvgCCw WU+LI/xWfBAG6HU6oJIT4x0kcspZO2YU861QqhE+0xuz3SnNuAXLn4mvHUGIX2WEkS2M FsM6iWlNnpqEsWHMDX/0qyO70EIZfH2/xg3xZL/gKXCJA3dJ0LEL5DtCjbT5G9NE4n7E RbAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zPNIwRPdpFWfC86rukp5t9KcUgprVQ2sVYxG+QvdoZY=; b=PHlHOc3Nz/xUiAE5yX1d4/SefnJSz7yhvPgFJno5cbnCUqkyblxzvFUuD1pkuLmy3U k3BEKirV0skvQYN+EBM/9Q9QqPSKtQGEoTIZygOP8QR8A+Gfi7qeylY+2phfgRZwS6SJ B0l4tAf7jXpSEwFT+TsOUB+3ZNYmn6CRm72xvxYrERnAFokamfDtE3OYLDt8ttnv1TJZ AEN0vdLHG33vFZilNjnH7Xupj6tV6IurEP4ol1v8Aafwx0ac4OPoVDGWqXK6S+IxTT/d MtuuxFJ6gjAh50Gz4ikBFt6oZMyzvp97+OeJiXh9NF+ZRlulr/UenFyDgW5Cuk/YxN15 TRnw== X-Gm-Message-State: AHPjjUigGQ587z9ysld2F4Wnx53kIpbIFRDa6SVVXGcq3M5sqGueHxdY Ojc3fK22Pl9MDwmBY6A+7pS2DKe8dg== X-Google-Smtp-Source: ADKCNb4pQh+L8BtRHpxCqhQprQ1/vexoVb7lMSJ0F7vY4cww7vWNKzhe3qi2gDl6BQ2wst5JpfU1c6cg8UxqeJSCnDA= X-Received: by 10.107.154.4 with SMTP id c4mr6145394ioe.257.1504447113304; Sun, 03 Sep 2017 06:58:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.194 with HTTP; Sun, 3 Sep 2017 06:58:32 -0700 (PDT) In-Reply-To: References: <012a6d18-7f67-9855-1740-479329bf9a65@gmail.com> <8930b791-c872-cc6c-55b0-189f405a3b05@fjl.co.uk> From: Adam Vande More Date: Sun, 3 Sep 2017 08:58:32 -0500 Message-ID: Subject: Re: using gmirror and zfs mirror on the same box -- thoughts? To: Frank Leonhardt Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2017 13:58:34 -0000 On Sun, Sep 3, 2017 at 6:56 AM, Frank Leonhardt wrote: > > When I say geom mirror is "broken" on 12 I am talking about the way you > could install it on a boot drive. This used to be easy but the old method > does not work. If you follow the link it explains how I did it. > Do you have a bug report on this? What are your precise steps to replicate this and what are the symptoms? Your link doesn't explain anything in detail, it just offers the same nebulous claims of it being "broken". Perhaps you could at least offer a script(1) file demonstrating your methodology? -- Adam From owner-freebsd-questions@freebsd.org Mon Sep 4 16:35:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18755E107DA for ; Mon, 4 Sep 2017 16:35:02 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA82D7D99B for ; Mon, 4 Sep 2017 16:35:01 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x234.google.com with SMTP id 62so2795604iok.4 for ; Mon, 04 Sep 2017 09:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=4Rt3YGKLGywV3hZe/VSDDG3aG1ehLYM8pNoZIva+Uoc=; b=YnOgD2CnTzKi+NwvUGeiSncs4MAjnzMSfdA1H6VW1ekoyrVwDlgkLqjH92iJEsxy4o Fgw64CU67lBSPPiFHmFwwv36AAiNPpW4V0IN0+ZuV1KYXIETSvZmd34cW9c6iaCvu2z4 A9hUoQbLvHMuakh5jKdmBBkBFH4gbO/2lmpcIUfIJNfnCKe5B5Dt/rs+sQLPYCpFNxfX 75cFhckihkWS/LH6b80mCUKj6zYnOiBsrciQEStQVvw9zIztXRoBEsF6M2OMKH3fZtBc pk6gwt0al3dqckFnT4Yi7vEg86NRz4z10oynscD7+OvUD1jhothHM1Ch1bHQlkEt9Tx+ Fl8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=4Rt3YGKLGywV3hZe/VSDDG3aG1ehLYM8pNoZIva+Uoc=; b=k4uK+B+wpWfqBFCaaCXAWzNiot8F6TgaOpw1cCvVnpZcb0F7Kob0ceGgnLBCrCr2t3 SgHbnW1jiXCpidBo3lT+YqP3YhGtVn4F7yviSfuc3NrLNrvezNBl5kOLqyeq0kxd8EK8 yVRhfRjE8i0tkA792geM/D/YWFT+Q+5CqdCDHvpf7Mfl7lQv8NM3FhY3Chmb8hts/uMV waXaD77oGys2fDDhiub2tOpyixN5gSmnHfQsyY2AS8/R4WYmCPkbW0NwgUq8xR4WJi7E vQ7Xhk+BERRqY4MPLbZyWXZJ1we7y358mWCf2x7Ig6pWKzpwKzj8xQNgnxXY34OW/qAE 0w1Q== X-Gm-Message-State: AHPjjUiE015FU9jFQg6YuslaT4COanNSbqo3BtC1ugXktm0eKA3Wd7F/ HeVEP8UKP73zSor7 X-Google-Smtp-Source: ADKCNb5vTWVEm8CIdMM2yNSp2q0JuLu4CeYVyUwB4b4lLTN+vWEaPDBM0NtUXQjsX9k5XuLBeFifNA== X-Received: by 10.36.120.17 with SMTP id p17mr1615014itc.149.1504542900999; Mon, 04 Sep 2017 09:35:00 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id i129sm3795375iti.0.2017.09.04.09.35.00 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Sep 2017 09:35:00 -0700 (PDT) Message-ID: <59AD80B0.5000800@gmail.com> Date: Mon, 04 Sep 2017 12:34:56 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: resolvconf function for unbound port 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 16:35:02 -0000 Hello List; Have the port version of unbound installed on my host and working for both lan network and host dns requests. The problem is when the host is booted the "nameserver 127.0.0.1" line gets automatically removed from the /etc/resolv.conf file resulting in unbound no longer serving dns requests originating from the host. I saw that this problem is solved for the OS built in version local_unbound by the automatic use of the resolvconf function. I have re-read the man pages for resolvconf and resolvconf.conf many times and do not understand what its trying to say. Requesting help in configuring the resolvconf function so the "nameserver 127.0.0.1" line gets automatically inserted back into the /etc/resolv.conf file at boot time. Thanks From owner-freebsd-questions@freebsd.org Mon Sep 4 18:10:44 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2CA9E1546B for ; Mon, 4 Sep 2017 18:10:44 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from h4lix.wtfayla.net (helix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD5E28030C for ; Mon, 4 Sep 2017 18:10:44 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from localhost (localhost [127.0.0.1]) by h4lix.wtfayla.net (Postfix) with ESMTP id B882182B26D; Mon, 4 Sep 2017 14:10:40 -0400 (EDT) Received: from h4lix.wtfayla.net ([127.0.0.1]) by localhost (h4lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 61693-01; Mon, 4 Sep 2017 14:10:40 -0400 (EDT) Received: from h4lix.wtfayla.net (h4lix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h4lix.wtfayla.net (Postfix) with ESMTPS id 4DC0982B256; Mon, 4 Sep 2017 14:10:40 -0400 (EDT) Date: Mon, 4 Sep 2017 14:10:39 -0400 (EDT) From: Fongaboo X-X-Sender: fongaboo@h4lix.wtfayla.net To: FreeBSD Mailing List cc: Ian Smith Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) In-Reply-To: Message-ID: References: <20170827164229.W23641@sola.nimnet.asn.au> <20170828150306.R23641@sola.nimnet.asn.au> <20170828150926.U23641@sola.nimnet.asn.au> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 18:10:45 -0000 Sorry I faded away there... This issue dragged on long enough that life started setting different priorities. I got a bare metal machine to try it on, but that brought further complexities... as the ports/pkgs for OpenVPN and EasyRSA greatly differed between FreeBSD 10.2 and 11.1. I put this on the back burner for now, as I was able to set up SSH tunnel to the bare metal box and then use an app called Proxifier to route my traffic on my PC and Mac. But it brings to mind a question... Why are SSH tunnels pretty turnkey to setup, and OpenVPN takes so much configuration (of both the app and the host OS's networking)? When I tunnel SSH, it 'just works' and my client machine uses the FreeBSD machine's gateway as its own. Thank you to everyone that provided very meaningful troubleshooting. I plan to dig back into this when I have more time. On Mon, 28 Aug 2017, Ultima wrote: >> It should do, though I'm not familiar with the AWS setup you're using re >> inside and outside interfaces, whether bridging as well, etc. I think >> Richard (Ultima) has and can provide much more useful advice about that. > > Want to note that I have zero experience with ipfw, natd as well as Amazon > AWS. My knowledge is assuming that FreeBSD pf and OpenVPN will run as > they would on a bare metal. Have used digital ocean with a similar > configuration > successfully as well. > > Hope this helps, > Richard Gallamore > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://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 Sep 4 20:48:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D011E1D672 for ; Mon, 4 Sep 2017 20:48:38 +0000 (UTC) (envelope-from lcn@fastmail.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F5A5190C for ; Mon, 4 Sep 2017 20:48:37 +0000 (UTC) (envelope-from lcn@fastmail.net) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8016120978 for ; Mon, 4 Sep 2017 16:48:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 04 Sep 2017 16:48:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=pL/B531nXlXpa66fH+SN30cQwJODE3t1XqMcP9Ld2 CE=; b=JpVDNJtiiGrew2ufoabKT5QtYh1FNfja7m0xaN5ZCfMuYSqTlyQiaOzbu n0LvC8jNgo+Ed1hgXOKZPHNsq8mkptrNgrONYOivDhmsobds2B7E44dX9WCAZ+eB 6ftH6OfZ6g7HDMg+8ughUrHnEyo1hXlU0SHWFb+8RILPoMdRAh9MPnvz5P4OD/a3 9n9CRzULIsxYB5+2z+UIBKiU5s7hHSfAr8JnIMtp6pQuzSfxx3JIdElgax/4Nm0E nqV6F1nhZwtlV3lfBeFVh8K21Acjs23mkrTPdzC/vKa3jmthstxcRK9OJEEjmYv2 7id0WuRGZZTrx8AR7hnCK1usgCYlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=pL/B531nXlXpa66fH+ SN30cQwJODE3t1XqMcP9Ld2CE=; b=gBkXjfHK8TMwP6m9smDQh74A/IVQGNc+IM CHw9mJi1z93Z3tLQYvjJ0rv1m3O8hs3J3x3TZlcMafAY5I+h/eLbQXayi9irGKFy Ka8WsRwd/gwUjesx3kaq+JNrjzGVtbmZqtNoTQ5OFg5qmdvQ85/VkgjlT/ZsmUXp rx8ynFxf9NRT7kpTnqlMLV4SbEw4Nbwmjndp3vkReRv99VCNNhWKgOliEq6X3TlZ 2n0KVVRqYZFxCBVQK3hPVxX4MI0VfgqLVtyrGXeA+CNDkBVsquSTVb6/+/umrkZ/ lo4STTXdaBoCRAqY3h17y3g6/Qfe/nzz0eRMjSfkxNJmLgfmlZ2w== X-ME-Sender: X-Sasl-enc: +kpaoXa/beM2MlAPWhVJ9bwvxeNw5j+oc26X+EWwaAUL 1504558116 Received: from [192.168.1.104] (109-170-180-151.xdsl.murphx.net [109.170.180.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 169A924767 for ; Mon, 4 Sep 2017 16:48:35 -0400 (EDT) To: freebsd-questions@freebsd.org From: Louie Cardone-Noott Subject: Sector-size and advanced format (4k) disks Message-ID: <60623dab-3041-386d-4b19-9cc2e42c2424@fastmail.net> Date: Mon, 4 Sep 2017 21:48:34 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 20:48:38 -0000 Dear list, I searched the handbook, archives, and web but couldn't find a concrete answer to this. From what I can work out: 1. for compatibility, most HDDs these days present themselves as having 512 B logical / 4 k physical sectors 2. freebsd newfs (typically) sets a sector-size of 512 B and a fragment size of 4 k Some questions then please. First, is it optimal to force the sector size to 4 k to match the physical sector size, or is the default (point 2, above) fine? Second, how alarmed should I be that `man newfs` says setting the sector-size makes it impossible for fsck to find alternate superblocks? I thought partitioning with (say) 1 M alignment and invoking newfs with `-S 4096` would be best. True or false? Many thanks, Louie From owner-freebsd-questions@freebsd.org Mon Sep 4 22:10:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CE48E215CD for ; Mon, 4 Sep 2017 22:10:01 +0000 (UTC) (envelope-from srs0=pspj=af=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0B263C9B for ; Mon, 4 Sep 2017 22:10:00 +0000 (UTC) (envelope-from srs0=pspj=af=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3xmPCk65Hvz2fjwg for ; Mon, 4 Sep 2017 15:09:54 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: openvpn Message-Id: Date: Mon, 4 Sep 2017 15:09:54 -0700 To: "freebsd-questions@freebsd.org Questions" X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 22:10:01 -0000 I have a home LAN with a number of servers on it. I have one public = fixed IP address. I need to be able to access all the servers when away = from home. Openvpn appears to be the best approach as there is a client = available for ios which is what I carry. There is duplication of port = usage on multiple servers so just port routing in the router is not = viable. I have installed openvpn on one server and will setup the port in the = router to route to it. However, there are a number of sample = configuration files provided and I can't figure out which is the best = one for me to use. My first thought was server.conf, but then = tls-office.conf or static-office.conf also look reasonable. =20 -- Doug From owner-freebsd-questions@freebsd.org Tue Sep 5 01:02:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D746E063D0 for ; Tue, 5 Sep 2017 01:02:39 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from baywinds.org (50-196-187-248-static.hfc.comcastbusiness.net [50.196.187.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "baywinds.org", Issuer "rr-v" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 323DD68911 for ; Tue, 5 Sep 2017 01:02:38 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from [192.0.2.130] (rr-iii [192.0.2.130]) by baywinds.org (8.14.4/8.14.4) with ESMTP id v850RWd2002548 for ; Mon, 4 Sep 2017 17:27:33 -0700 Subject: Re: openvpn To: freebsd-questions@freebsd.org References: From: Bruce Ferrell Message-ID: <440b79af-a159-1806-122e-155c26f42417@baywinds.org> Date: Mon, 4 Sep 2017 17:27:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 01:02:39 -0000 Doug, I use a pfsense firewall with an openvpn server installed.  I connect from Android, iOS, OS X, Windows and Linux.  The vpn connection use a separate subnet from my "normal" subnet and simply routed in.  No port forwarding needed that way.  Because the pfsense firewall is the default route, all server automatically are able to reach the vpn subnet because all non-lan traffic goes there and is then directed as needed. Bruce On 09/04/2017 03:09 PM, Doug Hardie wrote: > I have a home LAN with a number of servers on it. I have one public fixed IP address. I need to be able to access all the servers when away from home. Openvpn appears to be the best approach as there is a client available for ios which is what I carry. There is duplication of port usage on multiple servers so just port routing in the router is not viable. > > I have installed openvpn on one server and will setup the port in the router to route to it. However, there are a number of sample configuration files provided and I can't figure out which is the best one for me to use. My first thought was server.conf, but then tls-office.conf or static-office.conf also look reasonable. > > -- Doug > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://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 Sep 5 06:33:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C549E1D008 for ; Tue, 5 Sep 2017 06:33:40 +0000 (UTC) (envelope-from srs0=nurg=ag=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 79E5F7DED7 for ; Tue, 5 Sep 2017 06:33:40 +0000 (UTC) (envelope-from srs0=nurg=ag=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3xmcNz1KCmz2fjSN; Mon, 4 Sep 2017 23:33:39 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: openvpn From: Doug Hardie In-Reply-To: <440b79af-a159-1806-122e-155c26f42417@baywinds.org> Date: Mon, 4 Sep 2017 23:33:38 -0700 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4DAB2317-52AD-463E-891C-811BE7E9ED76@mail.sermon-archive.info> References: <440b79af-a159-1806-122e-155c26f42417@baywinds.org> To: Bruce Ferrell X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 06:33:40 -0000 > On 4 September 2017, at 17:27, Bruce Ferrell = wrote: >=20 > Doug, >=20 > I use a pfsense firewall with an openvpn server installed. I connect = from Android, iOS, OS X, Windows and Linux. The vpn connection use a = separate subnet from my "normal" subnet and simply routed in. No port = forwarding needed that way. Because the pfsense firewall is the default = route, all server automatically are able to reach the vpn subnet because = all non-lan traffic goes there and is then directed as needed. >=20 > Bruce >=20 > On 09/04/2017 03:09 PM, Doug Hardie wrote: >> I have a home LAN with a number of servers on it. I have one public = fixed IP address. I need to be able to access all the servers when away = from home. Openvpn appears to be the best approach as there is a client = available for ios which is what I carry. There is duplication of port = usage on multiple servers so just port routing in the router is not = viable. >>=20 >> I have installed openvpn on one server and will setup the port in the = router to route to it. However, there are a number of sample = configuration files provided and I can't figure out which is the best = one for me to use. My first thought was server.conf, but then = tls-office.conf or static-office.conf also look reasonable. Thanks for the info. I am making headway on this. I used the = server.conf file and after a bit of horsing around with the key file, I = got a connection to work. However, there are still some routing issues = from the client to local machines. While everything works well with IP = addresses, DNS is an issue. Ios is still going to the internet for DNS. = I need to be able to tell it to "drop" the internet connection for = everything (except connectivity) and use the VPN or to use the VPN for = DNS. I am using routing, but wonder if bridging might be a better = approach. -- Doug From owner-freebsd-questions@freebsd.org Tue Sep 5 08:36:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEF02E20C44 for ; Tue, 5 Sep 2017 08:36:52 +0000 (UTC) (envelope-from srs0=nurg=ag=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id C92B22802 for ; Tue, 5 Sep 2017 08:36:52 +0000 (UTC) (envelope-from srs0=nurg=ag=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3xmg775Rd9z2fjwg; Tue, 5 Sep 2017 01:36:51 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: openvpn From: Doug Hardie In-Reply-To: <4DAB2317-52AD-463E-891C-811BE7E9ED76@mail.sermon-archive.info> Date: Tue, 5 Sep 2017 01:36:51 -0700 Cc: Bruce Ferrell Content-Transfer-Encoding: quoted-printable Message-Id: <2FD03ABD-5F41-4479-B8D6-AEA76F8905F3@mail.sermon-archive.info> References: <440b79af-a159-1806-122e-155c26f42417@baywinds.org> <4DAB2317-52AD-463E-891C-811BE7E9ED76@mail.sermon-archive.info> To: "freebsd-questions@freebsd.org Questions" X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 08:36:53 -0000 > On 4 September 2017, at 23:33, Doug Hardie wrote: >=20 >>=20 >> On 4 September 2017, at 17:27, Bruce Ferrell = wrote: >>=20 >> Doug, >>=20 >> I use a pfsense firewall with an openvpn server installed. I connect = from Android, iOS, OS X, Windows and Linux. The vpn connection use a = separate subnet from my "normal" subnet and simply routed in. No port = forwarding needed that way. Because the pfsense firewall is the default = route, all server automatically are able to reach the vpn subnet because = all non-lan traffic goes there and is then directed as needed. >>=20 >> Bruce >>=20 >> On 09/04/2017 03:09 PM, Doug Hardie wrote: >>> I have a home LAN with a number of servers on it. I have one public = fixed IP address. I need to be able to access all the servers when away = from home. Openvpn appears to be the best approach as there is a client = available for ios which is what I carry. There is duplication of port = usage on multiple servers so just port routing in the router is not = viable. >>>=20 >>> I have installed openvpn on one server and will setup the port in = the router to route to it. However, there are a number of sample = configuration files provided and I can't figure out which is the best = one for me to use. My first thought was server.conf, but then = tls-office.conf or static-office.conf also look reasonable. >=20 > Thanks for the info. I am making headway on this. I used the = server.conf file and after a bit of horsing around with the key file, I = got a connection to work. However, there are still some routing issues = from the client to local machines. While everything works well with IP = addresses, DNS is an issue. Ios is still going to the internet for DNS. = I need to be able to tell it to "drop" the internet connection for = everything (except connectivity) and use the VPN or to use the VPN for = DNS. I am using routing, but wonder if bridging might be a better = approach. Headway just ended. Bridge mode is what I need. iOS does not support = bridge mode... Somehow I will need to figure out how to munge DNS to = give what I need. -- Doug From owner-freebsd-questions@freebsd.org Tue Sep 5 08:53:32 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 026F7E21522 for ; Tue, 5 Sep 2017 08:53:32 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE24F3F56 for ; Tue, 5 Sep 2017 08:53:31 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1504601612; x=1507193612; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=uE22zYAjUyUgaMHdoF6lgF/6pDvNJDPyyickNbVmX2E=; b=vwLddyHI8ocQnIEP7hEKooLHR+amaAyGquIDWbPuJqxDDZNjgzBdJLo2ZX35Cq/PZJDqy1aKHLJOmGZG3qUM4kovxSSRvsnYWBSA+eLh8EXTq+E8Oc7IpblKsZEowhSWw8Akmjqwn0pCLbfSqJlMCZmZvY1l6mWY5UbKjiDGdC8= X-Thread-Info: NDI1MC4xMi5kZDAwMDAwMDdhYjllOS5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r1.h.in.socketlabs.com (r1.h.in.socketlabs.com [142.0.180.11]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 5 Sep 2017 04:53:23 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r1.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 5 Sep 2017 04:53:22 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dp9bk-000HJU-Hl for freebsd-questions@freebsd.org; Tue, 05 Sep 2017 08:53:20 +0000 Date: Tue, 5 Sep 2017 09:53:20 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: openvpn Message-Id: <20170905095320.c18c3940ff2af2c79dcce8e1@sohara.org> In-Reply-To: <4DAB2317-52AD-463E-891C-811BE7E9ED76@mail.sermon-archive.info> References: <440b79af-a159-1806-122e-155c26f42417@baywinds.org> <4DAB2317-52AD-463E-891C-811BE7E9ED76@mail.sermon-archive.info> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 08:53:32 -0000 On Mon, 4 Sep 2017 23:33:38 -0700 Doug Hardie wrote: > Thanks for the info. I am making headway on this. I used the > server.conf file and after a bit of horsing around with the key file, I > got a connection to work. However, there are still some routing issues > from the client to local machines. While everything works well with IP > addresses, DNS is an issue. Ios is still going to the internet for DNS. That is easily fixed, you'll want a line like this in your openvpn config: push "dhcp-option DNS 192.168.63.238" Obviously change the IP address to wherever your DNS server is. > I need to be able to tell it to "drop" the internet connection for > everything (except connectivity) and use the VPN or to use the VPN for > DNS. I am using routing, but wonder if bridging might be a better The latter (VPN for DNS) is usually the best approach, there's a lot to be said for only putting traffic over the VPN that needs to go there. > approach. Bridging is rarely the best option. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Tue Sep 5 13:07:22 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C69D2E08342 for ; Tue, 5 Sep 2017 13:07:22 +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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 70B3E65223 for ; Tue, 5 Sep 2017 13:07:22 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v85D6veR027462 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Sep 2017 15:06:57 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v85D6vCu027459; Tue, 5 Sep 2017 15:06:57 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 5 Sep 2017 15:06:57 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Louie Cardone-Noott cc: freebsd-questions@freebsd.org Subject: Re: Sector-size and advanced format (4k) disks In-Reply-To: <60623dab-3041-386d-4b19-9cc2e42c2424@fastmail.net> Message-ID: References: <60623dab-3041-386d-4b19-9cc2e42c2424@fastmail.net> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 13:07:22 -0000 On Mon, 4 Sep 2017 21:48+0100, Louie Cardone-Noott wrote: > Dear list, > > I searched the handbook, archives, and web but couldn't find a concrete answer > to this. > > From what I can work out: > 1. for compatibility, most HDDs these days present themselves as having 512 B > logical / 4 k physical sectors > 2. freebsd newfs (typically) sets a sector-size of 512 B and a fragment size > of 4 k > > Some questions then please. First, is it optimal to force the sector size to 4 > k to match the physical sector size, or is the default (point 2, above) fine? > Second, how alarmed should I be that `man newfs` says setting the sector-size > makes it impossible for fsck to find alternate superblocks? > > I thought partitioning with (say) 1 M alignment and invoking newfs with `-S > 4096` would be best. True or false? The default block size (-b) is 32768 bytes, which is a multiple of both 512 bytes and 4096 bytes. The default fragment size (-f) is 4096, still a multiple of both 512 bytes and 4096 bytes. newfs(8) states: The optimal block:fragment ratio is 8:1. Other ratios are possible, but are not recommended, and may produce poor results. A file containing a single byte will thus consume 4096 bytes of disk space, i.e. eight disk blocks. I guess you can create a file system of your desire by specifying -b 4096 -f 512, in which a file consisting of a single byte will only consume 512 bytes of disk space, i.e. one disk block. Changing the sector size is not recommended according to newfs(8): The following options override the standard sizes for the disk geometry. Their default values are taken from the disk label. Changing these defaults is useful only when using newfs to build a file system whose raw image will eventually be used on a different type of disk than the one on which it is initially created (for example on a write-once disk). Note that changing any of these values from their defaults will make it impossible for fsck(8) to find the alternate superblocks if the standard superblock is lost. -S sector-size The size of a sector in bytes (almost never anything but 512). Maybe Dr. McKusick's lectures can enlighten you to make a wise choice: Keynote Address: A Brief History of the BSD Fast Filesystem (FAST '15) https://www.youtube.com/watch?v=TMjgShRuYbg A Brief History of the BSD Fast Filesystem, Kirk McKusick (AsiaBSDCon '08) https://www.youtube.com/watch?v=tzieR5MM06M -- Trond. From owner-freebsd-questions@freebsd.org Tue Sep 5 13:13:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E993E088C2 for ; Tue, 5 Sep 2017 13:13:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0684661AC for ; Tue, 5 Sep 2017 13:13:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Tue, 05 Sep 2017 15:12:47 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 835913CBF9 for ; Tue, 5 Sep 2017 15:12:46 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v85DCjLS002705 for ; Tue, 5 Sep 2017 15:12:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 5 Sep 2017 15:12:45 +0200 From: Polytropon To: FreeBSD Questions Subject: Restoring sc console look and feel with vt Message-Id: <20170905151245.f592508c.freebsd@edvax.de> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with BD2986A3580 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1425 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 13:13:06 -0000 As more and more systems got updated, vt has become the default console driver, and sc and modern X seem to heavily collide, so there is no way back. However, even though vt basically works, the modes it automatically chooses are far from usable from my point of view: The text is far too small to be conveniently read. Also the colors seem to be "wrong" and of low contrast (compared to sc, that is, on the same hardware). The "just works" feeling somehow has been lost... :-( Basically, I'd like to know if it is possible to configure vt in a way that it displays a 80x25 text mode with whatever font. I don't even mind if the "drawing characters" (pseudographic block characters for boxes, such as in the Midnight Commander) stopped working long time ago, especially in combination with the use of german Umlauts and Eszett (=F6=E4=FC =D6=C4=DC and =DF) - UTF-8 vs. ISO-8859-1 in text mode is a totally different problem. If I have to select from a plethora of fonts, I don't mind, but I'd like to know beforehand _which_ font, and what other parameters I have to adjust in order to get vt starting to work like sc did for decades. Is that easily possible? Experimental system is FreeBSD/i386 10.3-p22 (held current with freebsd-update). --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 5 13:51:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42FC7E0A84B for ; Tue, 5 Sep 2017 13:51:09 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC37B6CFC4 for ; Tue, 5 Sep 2017 13:51:08 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id y123so16418252iod.0 for ; Tue, 05 Sep 2017 06:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=eNFG0tusA5uSSFHYEpDWqojpMvLGPt38ibyiGg35d0E=; b=AogmuN09pQ1D6dy/YM3XOM9uq0PaT8e9UdDsNs75yJiR9svUxrHsQHPNPMsLCysOCR CHks+4+B6qcGOOm22lbdJ4dtwWhtEn5deIk7SAUQuqGIkw1tnp5Z02NoJrG6KbvdxKEj f7NjbfTfWk391oZ91AXbfY/hYBjKt9G3ajfkfBQ8OcLncYrw5xag+YsMzAUZ9ngRh8M0 4+wBIeUcabtjag30K5lZkptK996Fb5rkpb9JiOOkUnoMLBdfggUQsFIFGSl/1txpMid2 8crh15KZVoBWrjo7HzxCEWgpbIqauaEujQXvFNhEBDkdSHM8nHMF+3tFI+aC0hkDVRog 3aCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=eNFG0tusA5uSSFHYEpDWqojpMvLGPt38ibyiGg35d0E=; b=lzHcPYm2ir7pZyw3o58BaD0lU0PPJhIhld7CYUHJ7cDC+pwqpEuNRFeM1hiHJualX/ ossdE5zb/2jXBvxW4B4wrlWmk3GodZ0FaRa6puCMeX6kzEYx4HSqeaNVyKMcSiJkioxY kGBMHGlRXYV3lx8apnmrruVBgdoq7Qrp4ZeFyTl8TFhMQDHUUkE4mXjOyHNy4kytOiru xbn69F/92ULABWDzpFkdGPtQUS4XO+mfVYEqsnXZwE82cFE/jpk9H6dvyGikqR9Zzy9Q OctJbQRKlUCZXeshzcdZASUMulMPqCFPDNJ63VoDQQvpoOfGA2GfLARw9xmhv/FJdCPQ cMnw== X-Gm-Message-State: AHPjjUh8bZOj6UhGKsr46Kqf7arvwQHTZzITmNrkYj+CozCuHpdW5A+V Qwl/XoB7aWXoLVdq X-Google-Smtp-Source: ADKCNb72JLBk1+7Fq50LH5vwl5BOhF0OV87QOeaknW+T6Web6349JfwW6Rv0MYm/vQKd9EfpFIdS0w== X-Received: by 10.36.225.202 with SMTP id n193mr4479183ith.106.1504619468347; Tue, 05 Sep 2017 06:51:08 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id h3sm274538iob.23.2017.09.05.06.51.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Sep 2017 06:51:07 -0700 (PDT) Message-ID: <59AEABC8.9020808@gmail.com> Date: Tue, 05 Sep 2017 09:51:04 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Polytropon CC: FreeBSD Questions Subject: Re: Restoring sc console look and feel with vt References: <20170905151245.f592508c.freebsd@edvax.de> In-Reply-To: <20170905151245.f592508c.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 13:51:09 -0000 Polytropon wrote: > As more and more systems got updated, vt has become the default > console driver, and sc and modern X seem to heavily collide, so > there is no way back. However, even though vt basically works, > the modes it automatically chooses are far from usable from my > point of view: The text is far too small to be conveniently read. > Also the colors seem to be "wrong" and of low contrast (compared > to sc, that is, on the same hardware). > > The "just works" feeling somehow has been lost... :-( > > Basically, I'd like to know if it is possible to configure vt > in a way that it displays a 80x25 text mode with whatever font. > I don't even mind if the "drawing characters" (pseudographic > block characters for boxes, such as in the Midnight Commander) > stopped working long time ago, especially in combination with > the use of german Umlauts and Eszett ( and ) - UTF-8 > vs. ISO-8859-1 in text mode is a totally different problem. > If I have to select from a plethora of fonts, I don't mind, > but I'd like to know beforehand _which_ font, and what other > parameters I have to adjust in order to get vt starting to work > like sc did for decades. > > Is that easily possible? > > Experimental system is FreeBSD/i386 10.3-p22 (held current with > freebsd-update). > > > Add this to /boot/loader.conf to return to sc mode. kern.vty=sc From owner-freebsd-questions@freebsd.org Tue Sep 5 13:56:51 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE8BEE0B006 for ; Tue, 5 Sep 2017 13:56:51 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A02856E356 for ; Tue, 5 Sep 2017 13:56:51 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id q64so16498953iod.5 for ; Tue, 05 Sep 2017 06:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=E2U0xvupTfcVETh836+FFmRPvsUdEVSVURR6Cd2LtQM=; b=jTvD7o0sb69D2sTVY7swpvnmF3bA9WhelGLlWPM3OA3O0eBr5OLi49hAz5yFYCKnxw hUvbzNwUnJYLGX6yK9pv32HMXloEm/EpRcaINUq8Zm/DYbgvRQTFgMh8mUORRHPBjaML R9tRXIqMb2t7kxX9JzXnwryDw6ATWnrjV7HDLec3U21cL7iwN8GPQ5vI6YVjbY31JcW2 sq2+VRXtdVn9F4IUi34Z3odD1UyKRRjmeXeCrQrjLtTLJi+mmVdr+jU8mwJx4xWlWsXq 92GxkRKdL7v/pB0mIFhNx+Fsg++xGyHHCc71Utd6A8pudL+h78Ak3e0IqzjQedrnPaNb mtWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=E2U0xvupTfcVETh836+FFmRPvsUdEVSVURR6Cd2LtQM=; b=WLT6l9965LJXZLd9CdPja2oG2T0dDpH8gh5DDirKIsEWwbtT9OvR4+S6AjVFdNcuMF LfNBsj++eQ3En0rkAETE3MnSJSwDWr/CSEIrJhwU+7T1+5seosiMriKTpzE4uCHFDLV8 YUKBChmSzWhASoHn4SgrLkSyu2isi9doT5Vr9y6VIV9W56Cr1nvxv/WAgk6Be2hK3xn1 eF6SRbVjwQfCZMaQa/KGWNQ/vgkmajsEmmE/ru3LEo+dXhSQM5oJ/mtPE05EOyvw9f8o PrWKsx/VvGgIHcT0eCpfT3z3yDNJun/Yz36cJU3DxhPtBxjbQ+AYmhPksm1aEnVthhPs o1Sg== X-Gm-Message-State: AHPjjUixvccce6e+c7HNlko72zzANaGALocU2/1X0JP/cz4GPDaDf7bi Ulvwvd/D7I0q5w== X-Google-Smtp-Source: ADKCNb57BRz09E/PY4qQqpD4OOhQCTeqegXEXxroAtrlVaxKrkK9kjiT7uG3yTzVvDGvuvSVRdl7Eg== X-Received: by 10.36.127.146 with SMTP id r140mr4605517itc.79.1504619811002; Tue, 05 Sep 2017 06:56:51 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id i125sm370579itf.1.2017.09.05.06.56.50 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Sep 2017 06:56:50 -0700 (PDT) Message-ID: <59AEAD20.8050006@gmail.com> Date: Tue, 05 Sep 2017 09:56:48 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Polytropon CC: FreeBSD Questions Subject: Re: Restoring sc console look and feel with vt References: <20170905151245.f592508c.freebsd@edvax.de> In-Reply-To: <20170905151245.f592508c.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 13:56:52 -0000 Polytropon wrote: > As more and more systems got updated, vt has become the default > console driver, and sc and modern X seem to heavily collide, so > there is no way back. However, even though vt basically works, > the modes it automatically chooses are far from usable from my > point of view: The text is far too small to be conveniently read. > Also the colors seem to be "wrong" and of low contrast (compared > to sc, that is, on the same hardware). > > The "just works" feeling somehow has been lost... :-( > > Basically, I'd like to know if it is possible to configure vt > in a way that it displays a 80x25 text mode with whatever font. > I don't even mind if the "drawing characters" (pseudographic > block characters for boxes, such as in the Midnight Commander) > stopped working long time ago, especially in combination with > the use of german Umlauts and Eszett ( and ) - UTF-8 > vs. ISO-8859-1 in text mode is a totally different problem. > If I have to select from a plethora of fonts, I don't mind, > but I'd like to know beforehand _which_ font, and what other > parameters I have to adjust in order to get vt starting to work > like sc did for decades. > > Is that easily possible? > > Experimental system is FreeBSD/i386 10.3-p22 (held current with > freebsd-update). > > > Add this to /boot/loader.conf to return to sc mode. kern.vty=sc or this to tell vt to use text mode which looks and feels like sc hw.vga.textmode=1 thats a digit one From owner-freebsd-questions@freebsd.org Tue Sep 5 15:58:49 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56E89E0FE9F for ; Tue, 5 Sep 2017 15:58:49 +0000 (UTC) (envelope-from johnchapman475@btinternet.com) Received: from rgout0701.bt.lon5.cpcloud.co.uk (rgout0701.bt.lon5.cpcloud.co.uk [65.20.0.141]) by mx1.freebsd.org (Postfix) with ESMTP id 03393642E8 for ; Tue, 5 Sep 2017 15:58:48 +0000 (UTC) (envelope-from johnchapman475@btinternet.com) X-OWM-Source-IP: 86.144.144.187 (GB) X-OWM-Env-Sender: johnchapman475@btinternet.com X-Junkmail-Premium-Raw: score=8/50, refid=2.7.2:2017.9.5.151216:17:8.317, ip=, rules=__HAS_MSGID, __SANE_MSGID, INVALID_MSGID_NO_FQDN, __MSGID_32HEX, __HAS_FROM, __FRAUD_WEBMAIL_FROM, __TO_MALFORMED_2, __TO_NAME, __TO_NAME_DIFF_FROM_ACC, __MIME_VERSION, __CT, __CTYPE_MULTIPART_ALT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __HAS_X_PRIORITY, __HAS_MSMAIL_PRI, __HAS_X_MAILER, __USER_AGENT_MS_GENERIC, __MIME_TEXT_P2, __MIME_TEXT_H2, __OEM_SOFTWARE_1, __INT_PROD_COMP, __STYLE_RATWARE_NEG, __STYLE_TAG, __HAS_HTML, __HTML_TAG_DIV, HTML_NO_HTTP, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, BODYTEXTH_SIZE_10000_LESS, __MIME_TEXT_H1, __MIME_TEXT_P1, __MIME_HTML, __TAG_EXISTS_HTML, HTML_50_70, BODY_SIZE_5000_LESS, __FRAUD_WEBMAIL, __TO_REAL_NAMES, NO_URI_FOUND, NO_CTA_URI_FOUND, OEM_SOFTWARE_X1, __MIME_TEXT_H, __MIME_TEXT_P, NO_URI_HTTPS, BODY_SIZE_7000_LESS Received: from JohnPC (86.144.144.187) by rgout07.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as johnchapman475@btinternet.com) id 598528DE02F56A18 for freebsd-questions@FreeBSD.org; Tue, 5 Sep 2017 16:51:47 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1504627129; bh=hdTkBYdm48VyYB22djK5SLwPkCKeOpYK8XA/+08DtQA=; h=Message-ID:From:To:Subject:Date:MIME-Version:X-Mailer; b=KsyKbNKY4Y9+zC2Lpd77v+tYHiF2hi0BMJPCYx517if+DJyH8e3X5gVvfKG5cB0R+G/x0uHyxZr4qMmZm75XacbFrlMBj3sjw9ipWk/pik4JBcY6ovjzz+ZrlLGv47o/njGFt2vih0qILubwE7e7/w9hrPpm+BSB/D9V/fNp2yk= Message-ID: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> From: "John Chapman" To: "FREE BSD" Subject: New Installation Date: Tue, 5 Sep 2017 14:17:07 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 15:58:49 -0000 Hi, I have a well used laptop that had Windows Vista on when I bought it. As = you know Windows no longer supports Vista and I don't see the point in = upgrading at great expense. Is it possible to just uninstall Windows and download FreeBSD. My only = real needs for Window was the Office function and I believe all that is = covered by Free BSD,isn't it? If installation is that easy, can you send a link I can download. I am = based in the UK Kind regards, John From owner-freebsd-questions@freebsd.org Tue Sep 5 16:30:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4235EE11202 for ; Tue, 5 Sep 2017 16:30:14 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9F7C6B5CA for ; Tue, 5 Sep 2017 16:30:13 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x235.google.com with SMTP id i200so18505636ioa.2 for ; Tue, 05 Sep 2017 09:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YkQ/10xJ3puv/mjhEhaIv8Yjatts6XX47Iivc9ldSRQ=; b=gz6LdmFVO7sI9FUXPVjkyiC7XDijb2xxm8WaKjfA1dnR+O5wyOHu6tMOouO47qghPG jz5y9ZZj7nbq5YOIZIS2lHQLlMkRLnMa49xUNO1RbI69/TNLOpWaLh7IhOt7Tat4a5qr vwOdDYvbMa04hi7CXRAhAQ8NvDXJO1nRN72rq0LnJQFt23BAR3ciqTxpusbgh2QgPAaL 2cDYTrnQseb1sd1SKmhZTNd2aVuFDlsO97s99BwZVskqjju68940IASCwrv4OXq784ql 5RIPyTe/OFDQ73QBbrLNccnkPYYxIgRi0gUu7b6tgKTYjxdNLN6eDfBG4yGYzai4JzXJ s6Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YkQ/10xJ3puv/mjhEhaIv8Yjatts6XX47Iivc9ldSRQ=; b=M9DoG0Griq22g3aoaAeILk15mBx9J0pCsLO7Vvqxnfy9XgdpmRBA3htuJqv/Sl7450 H0druMIPN5n+OCOTE93Jrxqg+qTQm3Wxw8/B6ZbVeDcimdls3CayeKDXhHkSPg7bZURw OWHgQrpxp4Gmg71zOlK6mZMxRrTTerkF8wr4nsg8Qp2RBLt5QyOCPFLbJgBvtr5NapHr c7pFQE883LIlPIQfbXYv5YABB6mPDZViNiXMqBmq8sfuGz8V0+HkQCbmhvKs1sRvR7tY X93Ne4BzNYSwcqEdRwPij89YG+Py7SJMMCuN6daG+HOpyDjZjIJ0wrelZmpXxyzCJKDI PGcw== X-Gm-Message-State: AHPjjUiVwrWeUgFyLyPRIqfayB+roZkpBNwji/4hTUzQVf1VoDP+HFqU hb4v9ITEGc/ZvDMjyGOxy5C/iEh2eQ== X-Google-Smtp-Source: ADKCNb4eyNPtd/tbYTCJPVpC0b4d2k23bsR/EFWVLiQIjU6DTbDXotJDOWs3MGdA+boyC/4e4K0E8oe9XyzIw2LgOCI= X-Received: by 10.107.1.13 with SMTP id 13mr4423772iob.257.1504629013193; Tue, 05 Sep 2017 09:30:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 09:30:12 -0700 (PDT) In-Reply-To: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> References: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> From: Adam Vande More Date: Tue, 5 Sep 2017 11:30:12 -0500 Message-ID: Subject: Re: New Installation To: John Chapman Cc: FREE BSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 16:30:14 -0000 On Tue, Sep 5, 2017 at 8:17 AM, John Chapman wrote: > Hi, > I have a well used laptop that had Windows Vista on when I bought it. As > you know Windows no longer supports Vista and I don't see the point in > upgrading at great expense. > Is it possible to just uninstall Windows and download FreeBSD. My only > real needs for Window was the Office function and I believe all that is > covered by Free BSD,isn't it? > If installation is that easy, can you send a link I can download. I am > based in the UK > Your best experience may be to use trueos, but you should verify hardware compatibility first. Specifically your wifi and video card should be verified. -- Adam From owner-freebsd-questions@freebsd.org Tue Sep 5 16:44:59 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17BF5E11DC9 for ; Tue, 5 Sep 2017 16:44:59 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067031.outbound.protection.outlook.com [40.92.67.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6970B6EC62 for ; Tue, 5 Sep 2017 16:44:58 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=m7qQ8O9WGxjWv5+g1rQZgFehgI1EYr+wYaA6IxTwZz8=; b=ffnPPflN6FrTbUXbX6z2pCDsvNez/P6YJZ3MaZSx/Usj5nWtFiloUq9DbmNcpOv9o49bgK2OuBxJYT7+O7I+5BlegWJvZHU+a36bjVGZjI99VfJmx4t+8whkVw75+/0MrANE8a2MJBuxgGXwxYbv7sFxq/6LapLPHkdmLY03BoPuJxYj4j7ePNFD23fp/MzHMwGNU7AK2vYyFIovjYizwY9GoyYcECW2GAMU3N7qBDO/CXz2m3M5g8BO6JJHY930wYdLALIwzDnUbr5Fo88kX66jDNQV3k3yrn7Or2DFbFCFAaHpSYnLo2i+INhcMTNmw5xgz/yn/BpJazGoKgYhGA== Received: from HE1EUR02FT062.eop-EUR02.prod.protection.outlook.com (10.152.10.56) by HE1EUR02HT204.eop-EUR02.prod.protection.outlook.com (10.152.11.3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1385.11; Tue, 5 Sep 2017 16:44:56 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.10.55) by HE1EUR02FT062.mail.protection.outlook.com (10.152.11.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.11 via Frontend Transport; Tue, 5 Sep 2017 16:44:55 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb%13]) with mapi id 15.20.0013.018; Tue, 5 Sep 2017 16:44:55 +0000 From: Manish Jain To: John Chapman , FREE BSD Subject: Re: New Installation Thread-Topic: New Installation Thread-Index: AQHTJl/3qeuwwB4hgEmPCv60SMg5UaKmf5OA Date: Tue, 5 Sep 2017 16:44:55 +0000 Message-ID: References: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> In-Reply-To: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: btinternet.com; dkim=none (message not signed) header.d=none; btinternet.com; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:1CBC10CDA7430FE09615116FB6A83045B8EFD0CECF1B6D11AF78B6811BEE68F8; UpperCasedChecksum:B0C8D72204F39F65926709850C7AFED2DAD359D6D2934A31C4C01946E52DA867; SizeAsReceived:7023; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [FZmmkR99PZObz/cWhzdIWXDNFoIpFz9D] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR02HT204; 6:4MYv+51fMSVqXRcelgx+NA8CyQYb3xVLq/TF5dk7om6NTfpViPW1TmQtmDvcSgEXln7v2t27lVnrDOBbOGu1oY33bX/iGmKkfsjoTz550FHaUz8JChgTsG6w+sGXI9ZLN39GhAGdGRC8F+NmYdpmyPTeEPx1gHJs3mR1hXboxaRMkxpHN4DNik4YNdLDkRRl1H+UF2QEtGC83Pv/4nCiNASGvPxETnAvDvT40GIXMT++lyHX3U1eyKf97vAL1wFjuKhMcnsNqrI9p2gYkxvK/p/rUTuFUyMxN0mCRkuCiPgvckHWIUHFFjc/BviuaNc6FjcEJG9LXON/viaR3XtYtA==; 5:7dVE7glNM703TN0Uva8CzccutkOvLzlMF9m+lFQhGdKwtLeKMY9ZIijnVPyoMQ/b1A/+4lwxayUfOoloiVFHNVjzlOgQfx6QwJxzcw0qI8OXsy5iLuC+e1w5sNebBBIVGj9QIGI5sPI47DTfI0wItQ==; 24:l+7kng81omKNU5IKGXeXc+hQq3gmR+7L+O7n4atW6vSSUSs5e880VI/uhRp9FyoA553onyfpMf+K7X41kTLWA6MDL92DsFVvaDk0/59TjyI=; 7:JZ2xqlZifTDT1wdgCbCQabvsYok0usZmonsHunk4of0DXxhzbV+cgKLwxI9xi8Dlzy9S0v4PuGGHssjc8Wv5bVcgaNTNxzZwAEZvkY9jDZD5oJ01IgU9186TaElPyxUAdBxZFwiVGsrJi4aCvDx0RzPxisc7hrac+quWkMsUZ/PxBdS3/j6UjsNAttmMY8oHyc+GAbtVnNkf+1EtBlMf39suAiS+gcDy/Pyy2Wjev+A= x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 73f8322b-9018-4f99-36e6-08d4f47d6f99 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1EUR02HT204; x-ms-traffictypediagnostic: HE1EUR02HT204: x-exchange-antispam-report-test: UriScan:(75325880899374); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:HE1EUR02HT204; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1EUR02HT204; x-forefront-prvs: 0421BF7135 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HE1EUR02HT204; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2017 16:44:55.6796 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT204 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 16:44:59 -0000 QWJzb2x1dGVseSByaWdodC4NCg0KSnVzdCBkb3dubG9hZCBhbmQgaW5zdGFsbCAxMC54LzExLngg KHByZWZlcmFibHkgb3B0aWNhbCBtZWRpYSBpbnN0YWxsZXIgDQotIG9uZSBvZiB0aGUgLmRpc2Mg aW1hZ2VzKQ0KDQpNeSBzdWdnZXN0aW9ucyBmb3IgaW5zdGFsbGF0aW9uIDoNCg0KMSkgZGlzYWJs ZSBVRUZJIGluIHRoZSBtb3RoZXJib2FyZCBCSU9TIHNldHRpbmdzLg0KMikgUHJlZmVyIFVGUyBh cyBmaWxlc3lzdGVtIC0gZWFzaWVyIGFuZCBtb3JlIHN0YWJsZSBjb21wYXJlZCB0byBaRlMuDQoz KSBwcmVmZXIgTUJSIHNsaWNlcyB0byBHUFQgcGFydGl0aW9ucy4gU2luY2UgeW91IGFyZSBjb21p bmcgZnJvbSBWaXN0YSwgDQp5b3UgcHJvYmFibHkgYWxyZWFkeSBhcmUgdXNpbmcgTUJSIHNsaWNl cy4gQXQgaW5zdGFsbGF0aW9uIHRpbWUsIHlvdSBjYW4gDQpkZWxldGUgdGhlIFZpc3RhIHNsaWNl LCBhbmQgaW4gaXRzIHBsYWNlIGNyZWF0ZSBhIEJTRCBzbGljZSAoZS5nLiANCmFkYTBzMSkgd2l0 aCBuZXN0ZWQgRnJlZUJTRCBwYXJ0aXRpb25zIChhZGEwczFhIC0+IGZyZWVic2QtdWZzLCAzMCBH Qis7IA0Kb3B0aW9uYWwgYWRhMHMxYiAtPiBmcmVlYnNkLXN3YXAsIDEgR0IrKQ0KDQpJZiB5b3Ug cnVuIGludG8gcHJvYmxlbXMsIG1lc3NhZ2UgbWUgYW5kL29yIHRoZSBmb3J1bS4NCg0KUmVnYXJk cw0KTWFuaXNoIEphaW4NCg0KT24gMDkvMDUvMTcgMTg6NDcsIEpvaG4gQ2hhcG1hbiB3cm90ZToN Cj4gSGksDQo+IEkgaGF2ZSBhIHdlbGwgdXNlZCBsYXB0b3AgdGhhdCBoYWQgV2luZG93cyBWaXN0 YSBvbiB3aGVuIEkgYm91Z2h0IGl0LiBBcyB5b3Uga25vdyBXaW5kb3dzIG5vIGxvbmdlciBzdXBw b3J0cyBWaXN0YSBhbmQgSSBkb24ndCBzZWUgdGhlIHBvaW50IGluIHVwZ3JhZGluZyBhdCBncmVh dCBleHBlbnNlLg0KPiBJcyBpdCBwb3NzaWJsZSB0byBqdXN0IHVuaW5zdGFsbCBXaW5kb3dzIGFu ZCBkb3dubG9hZCBGcmVlQlNELiBNeSBvbmx5IHJlYWwgbmVlZHMgZm9yIFdpbmRvdyB3YXMgdGhl IE9mZmljZSBmdW5jdGlvbiBhbmQgSSBiZWxpZXZlIGFsbCB0aGF0IGlzIGNvdmVyZWQgYnkgRnJl ZSBCU0QsaXNuJ3QgaXQ/DQo+IElmIGluc3RhbGxhdGlvbiBpcyB0aGF0IGVhc3ksIGNhbiB5b3Ug c2VuZCBhIGxpbmsgSSBjYW4gZG93bmxvYWQuIEkgYW0gYmFzZWQgaW4gdGhlIFVLDQo+IA0KPiBL aW5kIHJlZ2FyZHMsDQo+IEpvaG4NCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX18NCj4gZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgbWFpbGluZyBs aXN0DQo+IGh0dHBzOi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNk LXF1ZXN0aW9ucw0KPiBUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1x dWVzdGlvbnMtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmciDQo+IA0K From owner-freebsd-questions@freebsd.org Tue Sep 5 17:00:44 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98EC4E128B8 for ; Tue, 5 Sep 2017 17:00:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 7C7C2725F8 for ; Tue, 5 Sep 2017 17:00:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 629E1CB8CF1; Tue, 5 Sep 2017 11:37:27 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Tue, 5 Sep 2017 11:37:27 -0500 (CDT) Message-ID: <63949.128.135.52.6.1504629447.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> Date: Tue, 5 Sep 2017 11:37:27 -0500 (CDT) Subject: Re: New Installation From: "Valeri Galtsev" To: "Adam Vande More" Cc: "John Chapman" , "FREE BSD" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 17:00:44 -0000 On Tue, September 5, 2017 11:30 am, Adam Vande More wrote: > On Tue, Sep 5, 2017 at 8:17 AM, John Chapman > > wrote: > >> Hi, >> I have a well used laptop that had Windows Vista on when I bought it. As >> you know Windows no longer supports Vista and I don't see the point in >> upgrading at great expense. >> Is it possible to just uninstall Windows and download FreeBSD. My only >> real needs for Window was the Office function and I believe all that is >> covered by Free BSD,isn't it? >> If installation is that easy, can you send a link I can download. I am >> based in the UK >> > > Your best experience may be to use trueos, but you should verify hardware > compatibility first. Specifically your wifi and video card should be > verified. I had TrueOS on my laptop at some point, but not for long. I switched from it to FreeeBSD. I know, tastes differ, and after all I'm sysadmin who maintains quite some number of FreeBSD servers, so (with the help of this list, Mr. Polytropon in particular) it wasn't too difficult to make everything work smoothly on laptop. Good luck! Valeri > > -- > Adam > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Sep 5 17:14:04 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D45BAE13608 for ; Tue, 5 Sep 2017 17:14:04 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7862475513 for ; Tue, 5 Sep 2017 17:14:04 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id p6so3601165itb.1 for ; Tue, 05 Sep 2017 10:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=xl1N/xonEnSxRrPeV06LRLXEhfq3Nghz5XPatd/Rzt4=; b=EbIU+xlQh8w6DwO1FpdNjur1UX4gOK1GC6WNVBgVq3V6JNtzCaXAgmKU7Cm+bA5KET cxzOZ0kIlKea+mvs/2Vtqyvl7x36NR/rMIGScfcZZHzWcFu59dMVwZSNrQczafNBm1Tx Ku5G5uzR5G7ux+f/sDq9w0LZoi01qS+U0K06lfALr4My4Q0IGXdiXfYO8KKTw7AnttEE 41Yth/h6lIWr/pot/yyH9c0SbKAlDlESue1lddZPQhjS/Ca+WxS4tT4VXlNjIg90GqRa ASJHrnQvwfr+ALBcrAEjil1tlXLSjJx8bSz9fYLTa1Wf4wWp7TI0MD7JbKjWUhyfxY4B 62Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=xl1N/xonEnSxRrPeV06LRLXEhfq3Nghz5XPatd/Rzt4=; b=VDxJGol2QbmlY0TA4MjKDCKSxxAgazsXg7zglvYYsRCD8iqnnv27JUcwlwlpL4cIQF KsaXYfKfKtSLovuhfQiFzFADMDX8JWJJET6IG08D/rMhoOi34BB3Nx1iH3ZXEIgEUSxC kkEIHtCeprkzovQweU9umbyO9hzO9HRZ1sHmAc0ZhGiJ+dqkAs3JHdvafwAN3rHyiKPi a6LQnOkl5RaiRVMNJW+tYqyhcwkYGt1CVnVaLwHH30oTHRZMqdCvL49kAAy7IIuJopt4 xIodB8r51luJD57A+GiqCW1xpFmcWzmoDUOiU2QCl09ztdqn0kGtE/RvVmSiCacYF7zG 5POA== X-Gm-Message-State: AHPjjUhlLYD5f7Djt0tNKOuAbGfksqTlHBzjx6uNzOndz1bgM7BHzElR wmqRUaV3SIYfF9q0 X-Google-Smtp-Source: ADKCNb4AOxsIZMpVmW1po+hcmS00cyV/cw4LY0YVhad3vAOXQng+MmZ0zojEjGIzI883gSewUiGhdg== X-Received: by 10.36.67.199 with SMTP id s190mr5717097itb.12.1504631643601; Tue, 05 Sep 2017 10:14:03 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id n8sm419574itg.1.2017.09.05.10.14.02 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Sep 2017 10:14:03 -0700 (PDT) Message-ID: <59AEDB58.1000806@gmail.com> Date: Tue, 05 Sep 2017 13:14:00 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: command to uncompress .7z files 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 17:14:05 -0000 Is there a command that will uncompress a .7z file. Had no joy using "tor xp file.7z" got this error msg tar: Error opening archive: Failed to open '/dev/sa0' From owner-freebsd-questions@freebsd.org Tue Sep 5 17:27:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C31D0E14489 for ; Tue, 5 Sep 2017 17:27:58 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 234E77C83A for ; Tue, 5 Sep 2017 17:27:58 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x244.google.com with SMTP id e64so3486920wmi.2 for ; Tue, 05 Sep 2017 10:27:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ONND1f+Vbv96VLv75cZEoZWwRkUlXeFhUkk5uN9TAA8=; b=ooGbcyXRa9U5Z8bWmagiAOa1CDTlG4ZauY9uVwNKi6aYJ7RZrsmtWipbiTnyqq7yxn uEgMP6aHZPBL+1Wx4WStgG51hECbsSz+7NVh7z+3bFXeRoDqL1ou5ox9nU1ReyKQxWoR H5jOhCxh6KpnUtyQOV3VkT0xCYLNf9+yC9yJCkA5TEnGdDmapr+9U5wECr1ZxdppCdod Sglg4F2NwJ2fuVwbFUw5mSnKPKc2m8oTxlOwGhWELVdywL1CdiU4I69c3ImboLnplNz0 3n1sndkZymRKYTjEOs0mCSchaToGhSADx6Z5wQizifISAfHxoAuVd0VT2hVH8AD99qdf /JsA== X-Gm-Message-State: AHPjjUhz7+thrUg9Bf/YQ5BneP+JKHlrlJ50tB8ROGJTLaqhBdIwuOG2 wFMyaDk1srMh6va4 X-Google-Smtp-Source: ADKCNb5vrTbAPDXnbODgzUGVZdgm7++2N3Qf28WDqpw0JhmA1E9vK3deLsqho7aDyn++/CSOBxt2fw== X-Received: by 10.80.135.211 with SMTP id 19mr3847931edz.205.1504632476093; Tue, 05 Sep 2017 10:27:56 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id y1sm437196edl.47.2017.09.05.10.27.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Sep 2017 10:27:55 -0700 (PDT) Date: Tue, 5 Sep 2017 18:27:52 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: command to uncompress .7z files Message-ID: <20170905182752.67192625@gumby.homeunix.com> In-Reply-To: <59AEDB58.1000806@gmail.com> References: <59AEDB58.1000806@gmail.com> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 17:27:58 -0000 On Tue, 05 Sep 2017 13:14:00 -0400 Ernie Luzar wrote: > Is there a command that will uncompress a .7z file. > 7z from archivers/p7zip From owner-freebsd-questions@freebsd.org Tue Sep 5 17:30:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA375E1468B for ; Tue, 5 Sep 2017 17:30:45 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BD557D173 for ; Tue, 5 Sep 2017 17:30:45 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from [192.168.1.2] ([37.78.60.45]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0LpcBS-1dIfxc2sJq-00fSJp for ; Tue, 05 Sep 2017 19:30:42 +0200 Subject: Re: command to uncompress .7z files To: "freebsd-questions@freebsd.org" References: <59AEDB58.1000806@gmail.com> From: Yuri Pankov Message-ID: Date: Tue, 5 Sep 2017 20:30:42 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59AEDB58.1000806@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Nnl1oOnEQafX/yazHsU8d2jAL6ikgqXijiC8eIo1gNriHjuJpI7 +Qg7L0Roz3XCWqIs2bGH0Dimem51rq9cwdde0OXqoWtfqCsBNGivezBWD61W6c2IWfXYMHj HZMfYfrbVaG30HtVXN31Ax9zDazj5SjHQ8GMQ7/eFogMCNZyfKyCFgb8GM9GfibhgqXBrS2 wwAOJHmHZkYcdsw41YkGQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:AqpW5J1o0B4=:UAlKykymRNV20OL1+znxJC ktKQTBBpj9B2AKMjW1RTc9S1+Rf08ndkOIimBX8L0v62fJdD2lAopX58wrnnuIbTj9/veI23V OByCHv9Pmb7CPkaKy6V+ZBLjDiph01hCciHHcmO1eEotgNA2VH/Jd7hU/IxMh6Ncq/L60RDGR F9SoTE2pUV81nkDBSj4GkRw9PCZx9Ow5vvc8un4nunyHakfGIhtWPbbFWKYyLFIRPJslGcA+H MSrBao3xiUPbMkTTAFrgLQShykG5zmCj8pNlxD0ugrefOI1CdfyTQqm80W6zbxyAjgFyvCPSe 01Yp+Oq839Msr5f9HstHLY09AveQfwR5EG7Qmtq4cHIZanRANBOTRN+bk9kx0++PeIc4ZhADx vL32YXTGoKdAK1zdleakMTHGY4nZ/ps9wK/cH5sUqXmpZw0bxsdhrz/GXggixdDL8CAxAkKBx Dmqw3CAWwuLan/vj6WoUZ5ANxeGsQCWaYz+cEGou9XCA5vJHHp/7z5PNOu/i5VDxWRAd+xk/6 sgLXmz1nE0ryLoYTOtMZoeviYYj+NrkLvHipSQeqZSStus3kEk9AOg3IGOSaMEVkXXxaHdWUU UxEAVcdCqFWXATUsS7fX9K401EXawMxc4eZQd2nVJlS+BRLwikEWt7Vxx02/RRhHvcLxeY51Z Y502hdvY43f+w1pZT/9w3UTg1GeaUcow+YaivL8bNPIqE+RkxzzSIonI0CwkYmRLln5KuXgeZ VJOstejqv4575kSRQAzLSYbc7+qjRLrO9S0j5OwPZ9/XNleR2ylw53OFCy/chfxRxCet/Hf7G KmHe8KtySf2pALhKDu1RMZLBHdVfA0N7t/SomA7sEfZamxArsU= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 17:30:46 -0000 On Tue, 05 Sep 2017 13:14:00 -0400, Ernie Luzar wrote: > Is there a command that will uncompress a .7z file. > > Had no joy using "tor xp file.7z" got this error msg I guess that's tar, not tor? > tar: Error opening archive: Failed to open '/dev/sa0' Right, you need 'f', not 'p', if you are working with files. From owner-freebsd-questions@freebsd.org Tue Sep 5 17:56:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8797BE15A5C for ; Tue, 5 Sep 2017 17:56:45 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB32382C7E for ; Tue, 5 Sep 2017 17:56:44 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v85HmNEA092053 for ; Tue, 5 Sep 2017 13:48:23 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 5 Sep 2017 13:48:23 -0400 (EDT) From: DTD To: freebsd-questions@FreeBSD.ORG Subject: How to repair a package Message-ID: 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.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 05 Sep 2017 13:48:23 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 17:56:45 -0000 Between shutdown and reboot starting xdm gets: Shared object "libXmu.so.6" not found, required by "xdm" and starting startxfce4: Shared object "libX11.so.6" not found, required by "xinit" libX11.so.6 is a module in libXScrnSaver. So after seeing if I could find libX11.so.6 on another system and not finding an option in "pkg delete" that would delete only libXScrnSaver and not the 40 other related packages I tried "pkg fetch" and "pkg install -f" on the txz file. That gets a Segmentation fault. Do I have any options other than starting over? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Tue Sep 5 18:16:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33ED1E167CB for ; Tue, 5 Sep 2017 18:16:10 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE9442696 for ; Tue, 5 Sep 2017 18:16:09 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x235.google.com with SMTP id p6so4041712itb.1 for ; Tue, 05 Sep 2017 11:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BcYQ6snrYt38ImcRr5XTlWzZNNmD9T95F6mecoqT0v4=; b=HEntQpCaXhuFU95B/OwuevazoufTSjkw6rjLDwvdNXz8047zT/m1zeZHKyODJOozbV pvTNYs436ieqKsJr4J0ahqDIO459ymXAZuG03FlV921J2bLm1RUSubs5TAyIbXniS24i Qq4hqysEVmqfD8NC6U82Sa5rr4yW5n1pbu+6RXFBH0CwNzlrna3rlZ5WpfUQbEb6RkzC Q0cA6ud8LbVvaUPAPUsJtUQQJIzYrh7AyNJ68wgNmV+JZ67GZdSMfIPxH2oFbpc918jg CDjWlVI2Y2xVbmYJADV78dyx8N74pjFlLvE6Iwoh91cbHHNceq16KKzae2/GjMVZrJCk KONA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BcYQ6snrYt38ImcRr5XTlWzZNNmD9T95F6mecoqT0v4=; b=mqrT4sRzs3xGZX8QKxZThtv+Dinbq826GDq+ZHSY9VWy8Db4/yGJUESD7yQaB3EazZ PWZ0mV9CCt6hlB8BPnX5aDD+uQjgto8l2Y24ffFFpJVkETgE4I9jGPg3IeMVh8SOUuhj xLnYXiLKS/5fjiVpwHwFT7rr4L88zmrfXRYGHy4S9k3mWXp8pJ8XR+bgf4kY6ju+Rbj/ /ZDNvBAKs8bS1lBOHsSqmlDZLOFb2G/t0mkMdoaf6Wmqflv6HpFzgWOKR5xXa2WqGzzX D6Tc6aJS6pdV6aEUsh9fzkqziJRg4AGpMWl8v2u0PPvVOLYgWmimz4YhmZOy7anyEFdV F8Ew== X-Gm-Message-State: AHPjjUhFrL1vy3amxPeW91PSbFQewiYVAOK03DmZkWKOjGObxXy4r1dy OxD34EP4HGpdY+Cwh5jVh9r11oR4uA== X-Google-Smtp-Source: ADKCNb4SuVh6XONyOFk1aTM671I5TKIU/2mpGDoBrXjN8tjCyZofj0jkT3YSEgg11/Vfk9UcSPNGbUVkkG2C1s9ftmQ= X-Received: by 10.36.94.5 with SMTP id h5mr70967itb.100.1504635368821; Tue, 05 Sep 2017 11:16:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 11:16:08 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Tue, 5 Sep 2017 13:16:08 -0500 Message-ID: Subject: Re: How to repair a package To: DTD Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:16:10 -0000 On Tue, Sep 5, 2017 at 12:48 PM, DTD wrote: > Between shutdown and reboot starting xdm gets: > Shared object "libXmu.so.6" not found, required by "xdm" > and starting startxfce4: > Shared object "libX11.so.6" not found, required by "xinit" > > libX11.so.6 is a module in libXScrnSaver. So after seeing if I could find > libX11.so.6 on another system and not finding an option in "pkg delete" > that would delete only libXScrnSaver and not the 40 other related packages > I tried "pkg fetch" and "pkg install -f" on the txz file. That gets a > Segmentation fault. > > Do I have any options other than starting over? > Are you mixing ports and packages? It's best to avoid that if you aren't familiar with the complexities. Try a pkg update -y -- Adam From owner-freebsd-questions@freebsd.org Tue Sep 5 18:18:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 212BCE16AAD for ; Tue, 5 Sep 2017 18:18:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BDF630ED for ; Tue, 5 Sep 2017 18:18:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Tue, 05 Sep 2017 20:18:42 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id DB7B03CC3F; Tue, 5 Sep 2017 20:18:41 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v85IIetq002058; Tue, 5 Sep 2017 20:18:40 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 5 Sep 2017 20:18:40 +0200 From: Polytropon To: Ernie Luzar Cc: FreeBSD Questions Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170905201840.ae6b53ee.freebsd@edvax.de> In-Reply-To: <59AEAD20.8050006@gmail.com> References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 229F06A35A3 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1280 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:18:52 -0000 On Tue, 05 Sep 2017 09:56:48 -0400, Ernie Luzar wrote: > Add this to /boot/loader.conf to return to sc mode. > kern.vty=sc > > or this to tell vt to use text mode which looks and feels like sc > hw.vga.textmode=1 > > thats a digit one Tried, but doesn't work. With sc: text (normal) -> X (works) -> black or text (normal) -> X (throws error) -> black With vt: text (boots normal, but then too small) -> X (works) -> text (too small) or text (boots normal and stays that way) -> X (works) -> text (now too small) Reverting to sc is _not_ an option. I assume it will be removed from the system at some point in the future, that's why dealing with vt and configuring it is probably the right way to go. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 5 18:20:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FC2FE16D0E for ; Tue, 5 Sep 2017 18:20:52 +0000 (UTC) (envelope-from lcn@fastmail.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 02E0C38C2 for ; Tue, 5 Sep 2017 18:20:51 +0000 (UTC) (envelope-from lcn@fastmail.net) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6FEE020F4D; Tue, 5 Sep 2017 14:20:50 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Tue, 05 Sep 2017 14:20:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=7cDcuGKE8Tm0Lt70u7 /spCvny0wlX8JkrYeFn+VptL8=; b=N0QAhUZDU5N6pH+uxE9pB+FIsrzusMjN0m FQBOAcNfEvvF/w+v69R5LvZBP5YwHMYqIZ+B2z4U8IU8XphaodoPgCw7PoTKuNBJ Z05M/fj2elByf9PkSJ0co6EthMLYed9oGfgcf0resu0EZKLrJBOUKP3iV8yL6whd sEk9KLfgVcCiRUr8Hx9KZC2ekcscw6gEain3anv+is3cBhr88kN9Dfx4aRTC2UgJ 9i+doTFkqg1IDrfo3xP8e9SJiKsWzxRLkpb/3P4qKWcEi5Uoy4cSI3CC2NsnGKTg uyNBVeQe2YqZew7Gf9xKQYQCbSQfENS9DPyNDzdEzuLWgq2Yz5DA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=7cDcuGKE8Tm0Lt70u7/spCvny0wlX8JkrYeFn+VptL8=; b=Qeu2K9k/ 3EnXSXDZcia0QMYUSdVpKCgQvSPeuNNW7rVoxYCLOz29juZ0je8UDtv71qAzmxBX zCcgfvPPigiVt32qC5/NJWjw56rWocf56Zhboj/oDFJU03zCkBj95phZXITCHkix IcZFF6a2RDLVRkTLWMAZ+XXByynTWBmVp1hQfhjfucwzXE5C74dQ2/iF0VF1/wvQ psMRsnf7AXgJ95MT6/JfEplasIVEnwFT76OFVQ1U9VBgCufp99+OTPnE8Kn1gL2f GZ25/SZIAOsWBfuufRTuTeRPPyWP82vzfm99HGNCzYUkohkcSI11Uju5a6thwFzj C2YZAxHOf1015Q== X-ME-Sender: X-Sasl-enc: 7+dnL2Z7tUbLYWZAl+dsoU2ncT5ffMmSAVYNOotp8+Cm 1504635650 Received: from [192.168.1.104] (109-170-180-151.xdsl.murphx.net [109.170.180.151]) by mail.messagingengine.com (Postfix) with ESMTPA id F26BF7FA78; Tue, 5 Sep 2017 14:20:49 -0400 (EDT) Subject: Re: Sector-size and advanced format (4k) disks To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= Cc: freebsd-questions@freebsd.org References: <60623dab-3041-386d-4b19-9cc2e42c2424@fastmail.net> From: Louie Cardone-Noott Message-ID: Date: Tue, 5 Sep 2017 19:20:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:20:52 -0000 Hi Trond, Thanks for your reply. On 05/09/2017 14:06, Trond Endrestøl wrote: > Changing the sector size is not recommended according to newfs(8): ... Indeed, I guess it's *really* not recommended to deviate from 512 B sector size then... > Maybe Dr. McKusick's lectures can enlighten you to make a wise choice: > > Keynote Address: A Brief History of the BSD Fast Filesystem (FAST '15) > https://www.youtube.com/watch?v=TMjgShRuYbg This is interesting. At 50.00 he implies that using a 32 k blocksize, 4 k fragment-size, and 512 B sector-size is the 'right' way to use a modern HDD. Based on the above I suppose my assumption that the sector-size should match the HDD physical sector size was wrong. Pretending that the sectors are still 512 B, while making everything align to 4 k, and letting the HDD do its magic seems to be best. Louie From owner-freebsd-questions@freebsd.org Tue Sep 5 18:27:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEABBE17499 for ; Tue, 5 Sep 2017 18:27:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D17264587 for ; Tue, 5 Sep 2017 18:27:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Tue, 05 Sep 2017 20:26:44 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id A7F0E3CC3F; Tue, 5 Sep 2017 20:26:43 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v85IQg69002158; Tue, 5 Sep 2017 20:26:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 5 Sep 2017 20:26:42 +0200 From: Polytropon To: "John Chapman" Cc: "FREE BSD" Subject: Re: New Installation Message-Id: <20170905202642.1bdfca28.freebsd@edvax.de> In-Reply-To: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> References: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with EE766683AEF X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1318 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:27:06 -0000 On Tue, 5 Sep 2017 14:17:07 +0100, John Chapman wrote: > Hi, > I have a well used laptop that had Windows Vista on when I bought it. > As you know Windows no longer supports Vista and I don't see the > point in upgrading at great expense. That's fully correct. There is no value in dealing with "Vista" anymore. > Is it possible to just uninstall Windows and download FreeBSD. It is not needed to uninstall "Windows". Basically, it's even technically impossible to _un_install "Windows" because it does not have a means to do so. ;-) When you start to install FreeBSD, one of the first things you do is to delete your partition entries and create new ones. That will "uninstall" any existing "Windows" from your hard drive. > My only real needs for Window was the Office function and I > believe all that is covered by Free BSD,isn't it? On FreeBSD, you can use LibreOffice, which is superior to the "Office" programs you probably use on "Windows". It's easier to use, has better compatibility and interoperability support, and generally performs better. There are alternatives, such as OpenOffice, GOffice (Gnome Office programs) and KOffice (in case it's still existing). Still I'd suggest to install LibreOffice because that one seems to be the de-facto standard office suite. > If installation is that easy, can you send a link I can download. You'll find everything on the FreeBSD website. Depending on _how_ you want to install and _what_ you want to install, choose yourself. Regarding how: CD (with the rest via Internet), DVD (the same), or USB stick Regarding what: OS version (11.1 or 10.3), platform (32 bit, called i386, or 64 bit, called amd64) https://www.freebsd.org/where.html However, if you want a preinstalled and preconfigured system, you might find TrueOS (ex PC-BSD) quite interesting: https://www.trueos.org/ You'll find a download section there, too. > I am based in the UK Check if you can find a local mirror for download, so data transfer will be faster. If not, just wait a little bit longer. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 5 18:28:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F792E1763E for ; Tue, 5 Sep 2017 18:28:18 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A84C64A1F for ; Tue, 5 Sep 2017 18:28:17 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v85ISGLf093259; Tue, 5 Sep 2017 14:28:16 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 5 Sep 2017 14:28:16 -0400 (EDT) From: DTD To: Adam Vande More cc: FreeBSD Questions Subject: Re: How to repair a package In-Reply-To: Message-ID: References: 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.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 05 Sep 2017 14:28:16 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:28:18 -0000 On Tue, 5 Sep 2017, Adam Vande More wrote: > On Tue, Sep 5, 2017 at 12:48 PM, DTD wrote: > Between shutdown and reboot starting xdm gets: > Shared object "libXmu.so.6" not found, required by "xdm" > and starting startxfce4: > Shared object "libX11.so.6" not found, required by "xinit" > > libX11.so.6 is a module in libXScrnSaver. So after seeing if I could find > libX11.so.6 on another system and not finding an option in "pkg delete" that would > delete only libXScrnSaver and not the 40 other related packages I tried "pkg fetch" > and "pkg install -f" on the txz file. That gets a Segmentation fault. > > Do I have any options other than starting over? > > > Are you mixing ports and packages? It's best to avoid that if you aren't familiar with the > complexities. > > Try a pkg update -y Thanks, been using FreeBSD as a workstation since 3.5. All packages except for a few python ones. Clearly this does not matter. "pkg update -y" is almost guaranteed to hose the system because of the mozilla interlocking dependencies with xfce, gimp and the like. I will try that eventually but I was hoping for a smaller hammer. To the powers that be, an option on delete that says do only the single one would be really cool. That said, this is a fairly old system. Disks have been known to fail with these symptoms, but I can not find any evidence of this so far. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Tue Sep 5 18:31:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE7B0E1790E for ; Tue, 5 Sep 2017 18:31:18 +0000 (UTC) (envelope-from karly@kipshouse.net) Received: from mgmt.ironboy.kipshouse.net (ironboy.kipshouse.net [IPv6:2001:470:835a:4242::42]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mx.kipshouse.net", Issuer "Starfield Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B8D79654A1 for ; Tue, 5 Sep 2017 18:31:17 +0000 (UTC) (envelope-from karly@kipshouse.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kipshouse.org; i=@kipshouse.org; q=dns/txt; s=kh-ss; t=1504636278; x=1536172278; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; z=Date:=20Tue,=205=20Sep=202017=2010:58:25=20-0700|From: =20Karl=20Young=20|To:=20Polytropon =20|Cc:=20John=20Chapman=20,=0D=0A=09FREE=20BSD=20|Subject:=20Re:=20New=20Installation |Message-ID:=20<20170905175825.GY7442@mailboy.kipshouse.n et>|References:=20<2EC5E40B949143A8900826AB471BDAE4@JohnP C>=0D=0A=20<20170905202642.1bdfca28.freebsd@edvax.de> |MIME-Version:=201.0|In-Reply-To:=20<20170905202642.1bdfc a28.freebsd@edvax.de>; bh=VCQsS+Z2Me5bAOqBeX59F57Ss98Y4BeQ0l1jcJDg49U=; b=UbJbgohqyLcuCxE/8pFhvydZQE6hQX2P5AyXGl7FFPczFuggN4ipi1Sg cjvD+aoGIxLd2XHL45ym/tK8/K2jx6u3WGgJiSsz5jrWv4Z3vDX7QQsZz zDyKURasnEOeY0a/pYOSvk1rO513/qnvDzHnV53xHgqLtr1TDIbh47cy8 eSGaDpX33D9lAKjaisUtTE+dCXVFBmESqIW+MnurSjuBq93qZwD7gnGmk It8oZus11G4Tk/DpxtjTCeSwlkwbE1OzSct6V2Gbf7OoK9S2rAbVLNeP1 BIEB4YatX/GzX79jQ0nlkucgp0CnrqXbkZDsQWeQ+2/5DfRGTihTYVNyV g==; Authentication-Results: d2.ironport.kipshouse.net; dkim=none (message not signed) header.i=none; spf=None smtp.pra=karly@kipshouse.org; spf=None smtp.mailfrom=karly@kipshouse.net; spf=None smtp.helo=postmaster@mailboy.kipshouse.net Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.org) identity=pra; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.org"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.net) identity=mailfrom; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.net"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of postmaster@mailboy.kipshouse.net) identity=helo; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="postmaster@mailboy.kipshouse.net"; x-conformance=sidf_compatible X-SBRS: None X-MID: 258658 X-RemoteIP: 2001:470:835a:1010::26 X-RemoteHost: 2001:470:835a:1010::26, mailboypriv.kipshouse.net X-IronPort-AV: E=McAfee;i="5900,7806,8645"; a="258658" Received: from mailboypriv.kipshouse.net (HELO mailboy.kipshouse.net) ([IPv6:2001:470:835a:1010::26]) by d2.ironport.kipshouse.net with ESMTP; 05 Sep 2017 11:31:17 -0700 Received: by mailboy.kipshouse.net (Postfix, from userid 500) id 0CF8243E68; Tue, 5 Sep 2017 10:58:25 -0700 (PDT) Date: Tue, 5 Sep 2017 10:58:25 -0700 From: Karl Young To: Polytropon Cc: John Chapman , FREE BSD Subject: Re: New Installation Message-ID: <20170905175825.GY7442@mailboy.kipshouse.net> References: <2EC5E40B949143A8900826AB471BDAE4@JohnPC> <20170905202642.1bdfca28.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170905202642.1bdfca28.freebsd@edvax.de> X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.kipshouse.org/karly X-Work-URL: http://www.cisco.com/ X-Disclaimer: My opinions do not necessarily represent those of my employer. User-Agent: Mutt/1.5.20 (2009-12-10) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:31:18 -0000 Polytropon(freebsd@edvax.de)@2017.09.05 20:26:42 +0200: > On Tue, 5 Sep 2017 14:17:07 +0100, John Chapman wrote: > > Hi, > > I have a well used laptop that had Windows Vista on when I bought it. > > As you know Windows no longer supports Vista and I don't see the > > point in upgrading at great expense. > > That's fully correct. There is no value in dealing with "Vista" > anymore. > > > > > Is it possible to just uninstall Windows and download FreeBSD. > > It is not needed to uninstall "Windows". Basically, it's even > technically impossible to _un_install "Windows" because it does > not have a means to do so. ;-) > We use defenstration to uninstall Windows https://www.merriam-webster.com/dictionary/defenestration -karl From owner-freebsd-questions@freebsd.org Tue Sep 5 18:38:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23FF7E17F80 for ; Tue, 5 Sep 2017 18:38:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FA2B66DDB for ; Tue, 5 Sep 2017 18:38:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Tue, 05 Sep 2017 20:37:57 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 331B53CBF9; Tue, 5 Sep 2017 20:37:57 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v85IbuG2002198; Tue, 5 Sep 2017 20:37:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 5 Sep 2017 20:37:56 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: command to uncompress .7z files Message-Id: <20170905203756.c3d0930b.freebsd@edvax.de> In-Reply-To: <59AEDB58.1000806@gmail.com> References: <59AEDB58.1000806@gmail.com> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with 6D18C6A3560 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1377 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:38:02 -0000 On Tue, 05 Sep 2017 13:14:00 -0400, Ernie Luzar wrote: > Is there a command that will uncompress a .7z file. > > Had no joy using "tor xp file.7z" got this error msg > > tar: Error opening archive: Failed to open '/dev/sa0' First of all, the correct command is % tar xvf file.7z In case you don't specify a file name (f), tar will assumes the system's default tape drive /dev/sa0, because tar is the "tape archiver". :-) See "man tar" for details. In case tar cannot uncompress the 7zip format, install the p7zip port. See "man 7z" for details (extract with e or u function). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 5 18:38:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B120E17F72 for ; Tue, 5 Sep 2017 18:38:00 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BCEF66DBA for ; Tue, 5 Sep 2017 18:37:59 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id y123so19353872iod.0 for ; Tue, 05 Sep 2017 11:37:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gM3VTVk8YJYmfw5mo3zGR7u1Vq6QgRkNY/VuhwJ82QQ=; b=Qb0QK1BF8AyVxa6tJMwZCbP0/L/jtsBxY+gp8R50QEjEHj9xNoY7OIFsW7WeNrqGkZ iugRnhQ5ZF+LoU9/daVXky72kZJvAfNmY/4LIiZ5ZR8uZppRZZdr7m2JE4codq0osHi4 HtYQLPcPmYsZoXISAO4GSpwOHUkt8RrN+bzbjpH9J2oAq9lHFYBGr1fdqTJDZKdatuP2 r2O7ehFNCkIrB0xjomFKwqZx3aOhhNot4w62pKRpBqqWqLvP87DGWVNETzykKuzROwI2 iRXcw37CUy+P7NQ3ZLOcS2H98AGiCe8ihCDYXHXzmp++PvFFUtOxgMhtGdGtOJ9y66GV 9OzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gM3VTVk8YJYmfw5mo3zGR7u1Vq6QgRkNY/VuhwJ82QQ=; b=cFDPuxNLBxFa3x1WU9tnLfWt4onWysXqXSPKu5sjQDYIfam4KBZGHJElIu1H36oWGM RWlj2fRqw1bxvBDlgdoGtxo+dsJeiQ/8vm9FfUxFWm+lA7s5wCT2RAyKHeiPyOKwNdDW jup74zY3txxEvkE06WprZfl8p1xgwfSLwOvFr+Otp2o5VYnXOh8pu5SxPa9xeOt9r8p6 tNMohrqwNEy2MJVq9IYEoY7Uzu/5P2QUdG0GSGTCa/9JjrnI94HLGRY9mXyyy6WoD78e acc0nf3HJueCyrmNSUdQyOiL12s/adhnS4cseumAhGntzyk2WzWQwhkKZTyy+xVPR0aU jyWw== X-Gm-Message-State: AHPjjUj3SDj+cqs05HEp8pIll43BJRNof3lKBICFB/r91O4Ym0/2CkoT jOQOTpdjEhcf4eLSh0lY9JPegMp+kQ== X-Google-Smtp-Source: ADKCNb61eI1QkF6vO0mfyq5DNpD8ecpp4CKxJmyuGUn8OEOy5MpV6xPuoBpyG2a0c3csxnhIc0N+8L541upNofWbMQg= X-Received: by 10.107.129.85 with SMTP id c82mr4962159iod.17.1504636678405; Tue, 05 Sep 2017 11:37:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 11:37:57 -0700 (PDT) In-Reply-To: <20170905201840.ae6b53ee.freebsd@edvax.de> References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> From: Adam Vande More Date: Tue, 5 Sep 2017 13:37:57 -0500 Message-ID: Subject: Re: Restoring sc console look and feel with vt To: Polytropon Cc: Ernie Luzar , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:38:00 -0000 On Tue, Sep 5, 2017 at 1:18 PM, Polytropon wrote: > On Tue, 05 Sep 2017 09:56:48 -0400, Ernie Luzar wrote: > > Add this to /boot/loader.conf to return to sc mode. > > kern.vty=sc > > > > or this to tell vt to use text mode which looks and feels like sc > > hw.vga.textmode=1 > > > > thats a digit one > > Tried, but doesn't work. > > With sc: > > text (normal) -> X (works) -> black > > or > > text (normal) -> X (throws error) -> black > > With vt: > > text (boots normal, but then too small) -> X (works) -> text (too small) > > or > > text (boots normal and stays that way) -> X (works) -> text (now too small) > > > > Reverting to sc is _not_ an option. I assume it will be removed > from the system at some point in the future, that's why dealing > with vt and configuring it is probably the right way to go. > I'm having a hard time understanding if your console text is too small or your windowed text. If the latter, then vt settings will not help. For the former, removing the previous advice from loader.conf would be the first step. Then you should be able to find an acceptable setting experimenting with vidcontrol eg resolution/fonts. -- Adam From owner-freebsd-questions@freebsd.org Tue Sep 5 18:43:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C528E185C7 for ; Tue, 5 Sep 2017 18:43:19 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B60D56852D for ; Tue, 5 Sep 2017 18:43:18 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v85IhHub093601; Tue, 5 Sep 2017 14:43:17 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 5 Sep 2017 14:43:17 -0400 (EDT) From: DTD To: Adam Vande More cc: FreeBSD Questions Subject: Re: How to repair a package In-Reply-To: Message-ID: References: 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.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 05 Sep 2017 14:43:17 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:43:19 -0000 On Tue, 5 Sep 2017, DTD wrote: > On Tue, 5 Sep 2017, Adam Vande More wrote: > >> On Tue, Sep 5, 2017 at 12:48 PM, DTD wrote: >> Between shutdown and reboot starting xdm gets: >> Shared object "libXmu.so.6" not found, required by "xdm" >> and starting startxfce4: >> Shared object "libX11.so.6" not found, required by "xinit" >> >> libX11.so.6 is a module in libXScrnSaver. So after seeing if I could find >> libX11.so.6 on another system and not finding an option in "pkg >> delete" that would delete only libXScrnSaver and not the 40 other related >> packages I tried "pkg fetch" and "pkg install -f" on the txz file. That gets >> a Segmentation fault. >> >> Do I have any options other than starting over? >> >> >> Are you mixing ports and packages? It's best to avoid that if you aren't >> familiar with the >> complexities. >> >> Try a pkg update -y > > Thanks, been using FreeBSD as a workstation since 3.5. All packages except > for a few python ones. Clearly this does not matter. "pkg update -y" is > almost guaranteed to hose the system because of the mozilla interlocking > dependencies with xfce, gimp and the like. I will try that eventually but I > was hoping for a smaller hammer. > > To the powers that be, an option on delete that says do only the single one > would be really cool. That said, this is a fairly old system. Disks have been > known to fail with these symptoms, but I can not find any evidence of this so > far. When I read and responded I assumed you meant 'pkg upgrade' not update. I will read and research the latter. In any case upgrade will not work because apparently libXScrnSaver is up to date, broken but up to date. Anyway I answered a bit too fast. Looking, thanks. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Tue Sep 5 18:49:31 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CBA0E18B7A for ; Tue, 5 Sep 2017 18:49:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B4EBC6A0B3 for ; Tue, 5 Sep 2017 18:49:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Tue, 05 Sep 2017 20:49:22 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 40C663CC3F; Tue, 5 Sep 2017 20:49:21 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v85InKjT002260; Tue, 5 Sep 2017 20:49:20 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 5 Sep 2017 20:49:20 +0200 From: Polytropon To: Adam Vande More Cc: FreeBSD Questions , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170905204920.2b709f7a.freebsd@edvax.de> In-Reply-To: References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 87D3A683445 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1324 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:49:32 -0000 On Tue, 5 Sep 2017 13:37:57 -0500, Adam Vande More wrote: > On Tue, Sep 5, 2017 at 1:18 PM, Polytropon wrote: > > > On Tue, 05 Sep 2017 09:56:48 -0400, Ernie Luzar wrote: > > > Add this to /boot/loader.conf to return to sc mode. > > > kern.vty=sc > > > > > > or this to tell vt to use text mode which looks and feels like sc > > > hw.vga.textmode=1 > > > > > > thats a digit one > > > > Tried, but doesn't work. > > > > With sc: > > > > text (normal) -> X (works) -> black > > > > or > > > > text (normal) -> X (throws error) -> black > > > > With vt: > > > > text (boots normal, but then too small) -> X (works) -> text (too small) > > > > or > > > > text (boots normal and stays that way) -> X (works) -> text (now too small) > > > > > > > > Reverting to sc is _not_ an option. I assume it will be removed > > from the system at some point in the future, that's why dealing > > with vt and configuring it is probably the right way to go. > > > > I'm having a hard time understanding if your console text is too small or > your windowed text. If the latter, then vt settings will not help. I'll try to express better: When the system boots, the screen uses 80x25 characters. The character size depends on the screen size of course. With sc, I get "big letters" on a 21" CRT, as intended. When booting with vt, the system starts booting with the 80x25 mode, then switches to a font where I'd say the screen has 160x100 characters (just a guess, I didn't count them actually). Those are "small letters", even on a 21" CRT, too small for me to be read conveniently. So what I need is a way to tell vt to display 80x25 characters that "scale up", and generally make them look like the regular sc text mode. > For the former, removing the previous advice from loader.conf would be the > first step. Then you should be able to find an acceptable setting > experimenting with vidcontrol eg resolution/fonts. With vidcontrol, I only get error messages. I think it ie tied to sc? I also have no idea what font names to try... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 5 19:11:35 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5448E19B7A for ; Tue, 5 Sep 2017 19:11:35 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 457096F23E for ; Tue, 5 Sep 2017 19:11:34 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v85JBXw3094529; Tue, 5 Sep 2017 15:11:33 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 5 Sep 2017 15:11:33 -0400 (EDT) From: DTD To: Adam Vande More cc: FreeBSD Questions Subject: Re: How to repair a package In-Reply-To: Message-ID: References: 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.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 05 Sep 2017 15:11:33 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 19:11:35 -0000 On Tue, 5 Sep 2017, DTD wrote: > On Tue, 5 Sep 2017, DTD wrote: > >> On Tue, 5 Sep 2017, Adam Vande More wrote: >> >>> On Tue, Sep 5, 2017 at 12:48 PM, DTD wrote: >>> Between shutdown and reboot starting xdm gets: >>> Shared object "libXmu.so.6" not found, required by "xdm" >>> and starting startxfce4: >>> Shared object "libX11.so.6" not found, required by "xinit" >>> >>> libX11.so.6 is a module in libXScrnSaver. So after seeing if I could find >>> libX11.so.6 on another system and not finding an option in "pkg >>> delete" that would delete only libXScrnSaver and not the 40 other related >>> packages I tried "pkg fetch" and "pkg install -f" on the txz file. That >>> gets a Segmentation fault. >>> >>> Do I have any options other than starting over? >>> >>> Are you mixing ports and packages? It's best to avoid that if you aren't >>> familiar with the >>> complexities. >>> >>> Try a pkg update -y >> >> Thanks, been using FreeBSD as a workstation since 3.5. All packages except >> for a few python ones. Clearly this does not matter. "pkg update -y" is >> almost guaranteed to hose the system because of the mozilla interlocking >> dependencies with xfce, gimp and the like. I will try that eventually but I >> was hoping for a smaller hammer. >> >> To the powers that be, an option on delete that says do only the single one >> would be really cool. That said, this is a fairly old system. Disks have >> been known to fail with these symptoms, but I can not find any evidence of >> this so far. > > When I read and responded I assumed you meant 'pkg upgrade' not update. I > will read and research the latter. In any case upgrade will not work because > apparently libXScrnSaver is up to date, broken but up to date. Anyway I > answered a bit too fast. Looking, thanks. Okay from pkg help upgrade: ...However, explicitly running pkg update is not normally necessary. By default invoking either of pkg install or pkg upgrade will cause repository catalogues to be updated automatically, unless disabled by setting REPO_AUTOUPDATE to false in pkg.conf(5). I find nothing via google or questions to suggest anything beyond this. This is a 10.3 system BTW. Differences in 11.x?? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Tue Sep 5 19:13:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5459AE19CAE for ; Tue, 5 Sep 2017 19:13:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E717E6F986 for ; Tue, 5 Sep 2017 19:13:05 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x22f.google.com with SMTP id k186so1192715ith.0 for ; Tue, 05 Sep 2017 12:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1qGGcdlcWBcIIMJf9oNusZNKLj90ter0zsi5BsqWCXY=; b=E10G9f2YNwDRjwE8rltEkvjPaxf1LD4RTLlBUxfwWHPS6HU18YB/2GIydAL2K9JQzy stRUtWOAiBebNtuaNjr0x0KNl3kcGiDaXgmc8ZrxK/B0G0x37wWiGZy5+c8+py8ROSDV Xu228nIMtMKzi4jLe/YBVgOaOMCzuk5DjY19+7y1bxKtDOXYRekgNxHO0XesMaD64h7d AKLCrx1+04m7RvAPoP+slaWZ/YujPJDezeIXPI4D1YLpk4BLdyB807pYrKSXxOL1SFlT aetQiE4fLL3QNjiRn63e3udycpBWv/9Q1bqOXhB2Ndbw38nRDyzk55T0INYCFz5nVT00 KKXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1qGGcdlcWBcIIMJf9oNusZNKLj90ter0zsi5BsqWCXY=; b=CplitmY8rsf1FRuWlAlNe61kykQKLD0+TeYIl0X7a+CjeQ4qNoe38kLCA4t8DfPgD+ eF78AVZHM9kK5qM8uQAQKpYnO6eq0GS5xOk+/46Ysj0GrDyyXO26tO7OReTML5CMyXJQ q30UYU4ke81OZnVvgaZ3plsM9aG8ivW2Z76Ca1FpEIIj7pK9iE/ebLK4o/qYOctQVaXq rWok/hm7hOsWNsFVA/qZnEpedk/Jlrt/jUdnSF47upH7O4gKJsz0ahTuThw/LDO44fSY Q1mTi2Q/zrjuFuNOZzb+HcrQ+6EH5S+47iff3pS3mFmXDlJAmBXaWM1VTB1FlI2/gj8k UGOA== X-Gm-Message-State: AHPjjUhjd7RVHBCGobhGPSt1KiGgdNRdecfo29hbbyeihszA1gWJzzy+ z31DWdEgT1ojz6YGJIeIl+Nb6nSZMdFo X-Google-Smtp-Source: ADKCNb7Ro+FYrhYZpOxo1ZGYOKU6ArtkuCfwBUqdmxtdeMcBvMSAe+CFT3RIMMoQDeybsrzRQgNRqkiq7K3p9gwqR/U= X-Received: by 10.36.6.71 with SMTP id 68mr232188itv.184.1504638785167; Tue, 05 Sep 2017 12:13:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 12:13:04 -0700 (PDT) In-Reply-To: <20170905204920.2b709f7a.freebsd@edvax.de> References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> From: Adam Vande More Date: Tue, 5 Sep 2017 14:13:04 -0500 Message-ID: Subject: Re: Restoring sc console look and feel with vt To: Polytropon Cc: FreeBSD Questions , Ernie Luzar Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 19:13:06 -0000 On Tue, Sep 5, 2017 at 1:49 PM, Polytropon wrote: > I'll try to express better: > > When the system boots, the screen uses 80x25 characters. The > character size depends on the screen size of course. With sc, > I get "big letters" on a 21" CRT, as intended. > > When booting with vt, the system starts booting with the 80x25 > mode, then switches to a font where I'd say the screen has > 160x100 characters (just a guess, I didn't count them actually). > Those are "small letters", even on a 21" CRT, too small for me > to be read conveniently. > > So what I need is a way to tell vt to display 80x25 characters > that "scale up", and generally make them look like the regular > sc text mode. > > > > > For the former, removing the previous advice from loader.conf would be > the > > first step. Then you should be able to find an acceptable setting > > experimenting with vidcontrol eg resolution/fonts. > > With vidcontrol, I only get error messages. I think it ie tied > to sc? I also have no idea what font names to try... > Does your video hw requite kms? If so, when is it loaded? It should loaded from loader.conf, not later. You may need to explicitly define: hw.vga.textmode=0 You can load fonts with: vidcontrol -f Fonts should be located in: /usr/share/vt/fonts/ -- Adam From owner-freebsd-questions@freebsd.org Tue Sep 5 19:17:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AA2DE1A328 for ; Tue, 5 Sep 2017 19:17:42 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEA7870A7F for ; Tue, 5 Sep 2017 19:17:41 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x231.google.com with SMTP id k189so4491132itk.0 for ; Tue, 05 Sep 2017 12:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=asIn0iZhoc+PEBkQskeJ3eattNrAQmohW8Ud09aoa9Y=; b=iYXgdiTHXT1oFkLIRDMFDPys9PPE2QnRjkg8SsP6gus9uwfVpR9ZvRu9ecTzG/Ms2v /zgM84ET2kxHVMjIOf8LvsLdsAXhPuls0qM+lRct9hFhiqwp+L99gGALScxJ62c1K3a0 yh0S4l4kFNZpi9gKFK5ZMowQrw6AUF6jsxYV78RvZzPpkq0MDeuaV1WmCkBkBL3j8gfF oP4nfx5Fu6P6u5ntEZksBUumXD89+XaEdQPzySEpMgGUz7NbcmGz18ZFny5oWzymUVbz ukVSR6d5VdMwMM0tYwpn/n3Epec45GzSw+wtPW2uA8op7rIzDOdqDZFkHaMzQMC7Gscz Th8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=asIn0iZhoc+PEBkQskeJ3eattNrAQmohW8Ud09aoa9Y=; b=cZ/1lgTx2qVthNxRIeNJ+ZsMFP2ZHbK9nc3QCL90b7UviyAcitjNaixYDFAMqOQUIP B5d+H0mrovkOmRrOKh9cYVQBz5h/aM3AuYWvI/qRsorq8h3xg70rrbDfF5lyWmpiYuvW Jj6trfrwiz+OAhNQgm9sakeDj1WJJUDyMJ2XkNpgL5pmFRREvKXIszhnozdOfmE7Ei6m xtj+547y5NZ69K2QTURVrpZi8jQ42tVR2yQwPLvxAmOAHoEDPtann8aE7qwK11W99fJK p6JUu6tKw//MvEfGxVXaHi3yE0UzEwZL4j1QJETToSDHwzXX0o1d90kuhm4CSKBUU7t6 myeg== X-Gm-Message-State: AHPjjUgnIoxie7cL9b4VECjsvl/iCwBOFcA3/5Y5M0AFNgQaGe5lF2JE AqZz2rflU87sFYkGmNfh+AWiXxxgTw== X-Google-Smtp-Source: ADKCNb5Io0HesqTP6liW/er0/XnWvfRy492T6Vr6Fz6T6vx4RsMePsfuo4rAWyk6C2IfcSk+L4ScXegmub7ncCQoeH0= X-Received: by 10.36.88.203 with SMTP id f194mr241440itb.13.1504639060931; Tue, 05 Sep 2017 12:17:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 12:17:40 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Tue, 5 Sep 2017 14:17:40 -0500 Message-ID: Subject: Re: How to repair a package To: DTD Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 19:17:42 -0000 On Tue, Sep 5, 2017 at 2:11 PM, DTD wrote: > Okay from pkg help upgrade: > ...However, explicitly running pkg update is not normally necessary. By > default invoking either of pkg install or pkg upgrade will cause > repository > catalogues to be updated automatically, unless disabled by setting > REPO_AUTOUPDATE to false in pkg.conf(5). > > I find nothing via google or questions to suggest anything beyond this. > This is a 10.3 system BTW. Differences in 11.x?? You were correct, I meant pkg upgrade -y. The pkg solver is supposed to correctly handle updates. However if you've been doing mix and match updates along the way you may have made a bed you now have to lie in. -- Adam From owner-freebsd-questions@freebsd.org Tue Sep 5 20:53:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C74F9E1EC13 for ; Tue, 5 Sep 2017 20:53:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49AC865398 for ; Tue, 5 Sep 2017 20:53:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Tue, 05 Sep 2017 22:52:39 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 9C66B3CBF9; Tue, 5 Sep 2017 22:52:38 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v85Kqci4002711; Tue, 5 Sep 2017 22:52:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 5 Sep 2017 22:52:37 +0200 From: Polytropon To: Adam Vande More Cc: FreeBSD Questions , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170905225237.0276255a.freebsd@edvax.de> In-Reply-To: References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with E532B683A7E X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1586 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 20:53:05 -0000 On Tue, 5 Sep 2017 14:13:04 -0500, Adam Vande More wrote: > On Tue, Sep 5, 2017 at 1:49 PM, Polytropon wrote: > > > I'll try to express better: > > > > When the system boots, the screen uses 80x25 characters. The > > character size depends on the screen size of course. With sc, > > I get "big letters" on a 21" CRT, as intended. > > > > When booting with vt, the system starts booting with the 80x25 > > mode, then switches to a font where I'd say the screen has > > 160x100 characters (just a guess, I didn't count them actually). > > Those are "small letters", even on a 21" CRT, too small for me > > to be read conveniently. > > > > So what I need is a way to tell vt to display 80x25 characters > > that "scale up", and generally make them look like the regular > > sc text mode. > > > > > > > > > For the former, removing the previous advice from loader.conf would be > > the > > > first step. Then you should be able to find an acceptable setting > > > experimenting with vidcontrol eg resolution/fonts. > > > > With vidcontrol, I only get error messages. I think it ie tied > > to sc? I also have no idea what font names to try... > > > > Does your video hw requite kms? Which one doesn't? ;-) > If so, when is it loaded? It should > loaded from loader.conf, not later. Yes, I have those entries in /boot/loader.conf: kern.vty=vt hw.vga.textmode=1 i915kms_load="YES" The system has an on-board Intel GPU. The system boots with the normal ("native") 80x25, then clears the screen upon kernel load, continues for a short while in that mode, still 80x25, then lets the screen flicker, and finally run at 133x52 (counted "manually") which isn't sufficiently readable for me anymore. The mouse cursor is even harder to spot... But as I said, without vt + KMS, X doesn't work anymore. We seem to live in modern times. ;-) > You may need to explicitly define: > > hw.vga.textmode=0 > > You can load fonts with: > > vidcontrol -f > > Fonts should be located in: > > /usr/share/vt/fonts/ Thanks for the pointer, I will try this now and report back about the results. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 5 21:06:30 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDD10E1F461 for ; Tue, 5 Sep 2017 21:06:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBE6B685F1 for ; Tue, 5 Sep 2017 21:06:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Tue, 05 Sep 2017 23:06:27 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 50C873CBF9; Tue, 5 Sep 2017 23:06:26 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v85L6PbE002757; Tue, 5 Sep 2017 23:06:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 5 Sep 2017 23:06:25 +0200 From: Polytropon To: FreeBSD Questions Cc: Adam Vande More , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170905230625.7a282985.freebsd@edvax.de> In-Reply-To: <20170905225237.0276255a.freebsd@edvax.de> References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170905225237.0276255a.freebsd@edvax.de> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 944FF683445 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1365 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 21:06:30 -0000 On Tue, 5 Sep 2017 22:52:37 +0200, Polytropon wrote: > On Tue, 5 Sep 2017 14:13:04 -0500, Adam Vande More wrote: > > On Tue, Sep 5, 2017 at 1:49 PM, Polytropon wrote: > >=20 > > > I'll try to express better: > > > > > > When the system boots, the screen uses 80x25 characters. The > > > character size depends on the screen size of course. With sc, > > > I get "big letters" on a 21" CRT, as intended. > > > > > > When booting with vt, the system starts booting with the 80x25 > > > mode, then switches to a font where I'd say the screen has > > > 160x100 characters (just a guess, I didn't count them actually). > > > Those are "small letters", even on a 21" CRT, too small for me > > > to be read conveniently. > > > > > > So what I need is a way to tell vt to display 80x25 characters > > > that "scale up", and generally make them look like the regular > > > sc text mode. > > > > > > > > > > > > > For the former, removing the previous advice from loader.conf would= be > > > the > > > > first step. Then you should be able to find an acceptable setting > > > > experimenting with vidcontrol eg resolution/fonts. > > > > > > With vidcontrol, I only get error messages. I think it ie tied > > > to sc? I also have no idea what font names to try... > > > > >=20 > > Does your video hw requite kms?=20 >=20 > Which one doesn't? ;-) >=20 >=20 >=20 > > If so, when is it loaded? It should > > loaded from loader.conf, not later. >=20 > Yes, I have those entries in /boot/loader.conf: >=20 > kern.vty=3Dvt > hw.vga.textmode=3D1 > i915kms_load=3D"YES" >=20 > The system has an on-board Intel GPU. The system boots with the > normal ("native") 80x25, then clears the screen upon kernel load, > continues for a short while in that mode, still 80x25, then lets > the screen flicker, and finally run at 133x52 (counted "manually") > which isn't sufficiently readable for me anymore. The mouse cursor > is even harder to spot... >=20 > But as I said, without vt + KMS, X doesn't work anymore. We seem > to live in modern times. ;-) >=20 >=20 >=20 > > You may need to explicitly define: > >=20 > > hw.vga.textmode=3D0 > >=20 > > You can load fonts with: > >=20 > > vidcontrol -f > >=20 > > Fonts should be located in: > >=20 > > /usr/share/vt/fonts/ >=20 > Thanks for the pointer, I will try this now and report back about > the results. The results: With the configuration change, I can now select the fonts. While "gallant" seems to be the default font (no change if selected after system boots), the vgarom-* fonts are even worse. They seem to be made for ants. :-) I cannot get a "smaller" screen than 132x54 (now verified). I don't care if the letters aren't "pixel-perfect", but they need to be bigger. Is there an option to tell the system to "scale up" the font (so only 80x25 will fit)? The normal 80x25 text mode is something I'm really going to miss, and the change sc -> vt is causing me pain. In my eyes. I'd like to change everything back to sc, but that doesn't seem to be a possible way (causes X to stop working). And I haven't started yet to complain that I cannot use german =F6 =E4 =FC =D6 =C4 =DC and =DF anymore... Any further ideas what to try? --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 5 21:21:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D447E1FC40 for ; Tue, 5 Sep 2017 21:21:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 962766C207 for ; Tue, 5 Sep 2017 21:21:23 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x230.google.com with SMTP id b142so1280334ioe.1 for ; Tue, 05 Sep 2017 14:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Gt35j0shYzfyliHo3Xg7kIDe6P7t0aX5R83T6M3OFmI=; b=FvBl8jYasueIb4uBPIDunyhe/ijQXNVB9MWDspVelC/TZMvdElbtcl2e68y0HXboE2 me4CKUwXiaunyy4/dlMqvzi1c0iJHekIkS0gFZUseCl2I8QItjU2So5lqqu6R7NKLd96 nttBEjMk3mOi1ivARVjE+VHeDVzKmboV/4z+UYxJD/zlKqBv3dORvr3mhWhy3+iH7eob MqeJB2DusgCDvL15zcH/D+Rg1rCvzWDKrIkQ+gOp9FTLhtlzjrOPsr+t51EbyM+h0UB1 67o5uDc/tbQNL3AfQ2wup4hhsMYCaqUF2muLFcr/NQooG+lysz50sveT2p1IVebbb6DH 9eOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Gt35j0shYzfyliHo3Xg7kIDe6P7t0aX5R83T6M3OFmI=; b=i1XK9AUapZspMPtO7Y/Xrq3LAWMTvfHB3CrLjxPp/0Qsp83fQvOAx+B1z0/DJ1Fk1g XtJ8dUCE0hmNCKsM5msoLKfinUa4lj5npg26LvISOTngzoQZTaXvjIZjF2PYX1ImRtbA WLENkf3i6BpLuW6L5EwCUOt7hqJeMTR3JlMmMJZIfS95OQ2GSHOsJ13WDMbQfYGhh6jm 6VtdQY2obnmceZKGY3RBASChK9tvJRlfTcGEW+vqCkgYaR8aPchkWXmpu4L6zHVp6434 S8wGBbFJGzyaW7rzUFFDWA8ekIUsDHXJihCr09dPjpt+enGy1qUldCSj+MW1y7IvCXHU 0ejA== X-Gm-Message-State: AHPjjUjQ4O1ssf2x9f+IuNrPih/YE6E6gYn1OmZ4QhiNy2ttaDROTKBd xR5VDGamNbCtyjoByPhc6Zv/8t5v38pM X-Google-Smtp-Source: ADKCNb7JdqIVegiGWJYrNHrCPbwc1/c7pg+PlKa/vBDWeTwQ0pHzoCn8kE3pDwHI+Kwa9g3YontCWxaxxZfMrBKFVP0= X-Received: by 10.107.129.85 with SMTP id c82mr451110iod.17.1504646482739; Tue, 05 Sep 2017 14:21:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 14:21:22 -0700 (PDT) In-Reply-To: <20170905230625.7a282985.freebsd@edvax.de> References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170905225237.0276255a.freebsd@edvax.de> <20170905230625.7a282985.freebsd@edvax.de> From: Adam Vande More Date: Tue, 5 Sep 2017 16:21:22 -0500 Message-ID: Subject: Re: Restoring sc console look and feel with vt To: Polytropon Cc: FreeBSD Questions , Ernie Luzar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 21:21:24 -0000 On Tue, Sep 5, 2017 at 4:06 PM, Polytropon wrote: > On Tue, 5 Sep 2017 22:52:37 +0200, Polytropon wrote: > > On Tue, 5 Sep 2017 14:13:04 -0500, Adam Vande More wrote: > > > On Tue, Sep 5, 2017 at 1:49 PM, Polytropon wrote: > > > > > > > I'll try to express better: > > > > > > > > When the system boots, the screen uses 80x25 characters. The > > > > character size depends on the screen size of course. With sc, > > > > I get "big letters" on a 21" CRT, as intended. > > > > > > > > When booting with vt, the system starts booting with the 80x25 > > > > mode, then switches to a font where I'd say the screen has > > > > 160x100 characters (just a guess, I didn't count them actually). > > > > Those are "small letters", even on a 21" CRT, too small for me > > > > to be read conveniently. > > > > > > > > So what I need is a way to tell vt to display 80x25 characters > > > > that "scale up", and generally make them look like the regular > > > > sc text mode. > > > > > > > > > > > > > > > > > For the former, removing the previous advice from loader.conf > would be > > > > the > > > > > first step. Then you should be able to find an acceptable settin= g > > > > > experimenting with vidcontrol eg resolution/fonts. > > > > > > > > With vidcontrol, I only get error messages. I think it ie tied > > > > to sc? I also have no idea what font names to try... > > > > > > > > > > Does your video hw requite kms? > > > > Which one doesn't? ;-) > > > > > > > > > If so, when is it loaded? It should > > > loaded from loader.conf, not later. > > > > Yes, I have those entries in /boot/loader.conf: > > > > kern.vty=3Dvt > > hw.vga.textmode=3D1 > > i915kms_load=3D"YES" > > > > The system has an on-board Intel GPU. The system boots with the > > normal ("native") 80x25, then clears the screen upon kernel load, > > continues for a short while in that mode, still 80x25, then lets > > the screen flicker, and finally run at 133x52 (counted "manually") > > which isn't sufficiently readable for me anymore. The mouse cursor > > is even harder to spot... > > > > But as I said, without vt + KMS, X doesn't work anymore. We seem > > to live in modern times. ;-) > > > > > > > > > You may need to explicitly define: > > > > > > hw.vga.textmode=3D0 > > > > > > You can load fonts with: > > > > > > vidcontrol -f > > > > > > Fonts should be located in: > > > > > > /usr/share/vt/fonts/ > > > > Thanks for the pointer, I will try this now and report back about > > the results. > > The results: > > With the configuration change, I can now select the fonts. > While "gallant" seems to be the default font (no change if > selected after system boots), the vgarom-* fonts are even > worse. They seem to be made for ants. :-) > > I cannot get a "smaller" screen than 132x54 (now verified). > I don't care if the letters aren't "pixel-perfect", but they > need to be bigger. Is there an option to tell the system > to "scale up" the font (so only 80x25 will fit)? > > The normal 80x25 text mode is something I'm really going > to miss, and the change sc -> vt is causing me pain. In my > eyes. I'd like to change everything back to sc, but that > doesn't seem to be a possible way (causes X to stop working). > And I haven't started yet to complain that I cannot use > german =C3=B6 =C3=A4 =C3=BC =C3=96 =C3=84 =C3=9C and =C3=9F anymore... > > Any further ideas what to try? > What does this output: vidcontrol -i mode You can drop in your own font perhaps with huge letters. There are some instruction on the FreeBSD newcons wiki, but I've never tried them. You could also try lowering the resolution: kern.vt.fb.default_mode=3D"640x480" There is also the option of using the accelerated VESA mode: https://forums.freebsd.org/threads/46723/ That would allow you to continue to use sc, but may also sacrifice so video flexibility. --=20 Adam From owner-freebsd-questions@freebsd.org Tue Sep 5 21:56:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 229F9E2149B for ; Tue, 5 Sep 2017 21:56:21 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7950573ED4 for ; Tue, 5 Sep 2017 21:56:19 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v85LuIk5099369; Tue, 5 Sep 2017 17:56:18 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 5 Sep 2017 17:56:18 -0400 (EDT) From: DTD To: Adam Vande More cc: FreeBSD Questions Subject: Re: How to repair a package In-Reply-To: Message-ID: References: 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.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 05 Sep 2017 17:56:18 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 21:56:21 -0000 On Tue, 5 Sep 2017, Adam Vande More wrote: > On Tue, Sep 5, 2017 at 2:11 PM, DTD wrote: > Okay from pkg help upgrade: > ...However, explicitly running pkg update is not normally necessary. By > default invoking either of pkg install or pkg upgrade will cause repository > catalogues to be updated automatically, unless disabled by setting > REPO_AUTOUPDATE to false in pkg.conf(5). > > I find nothing via google or questions to suggest anything beyond this. This is a > 10.3 system BTW. Differences in 11.x?? > > You were correct, I meant pkg upgrade -y. > > The pkg solver is supposed to correctly handle updates. However if you've been doing mix and > match updates along the way you may have made a bed you now have to lie in. All are packages, but the dependencies are far too complex at least with xfce. Work/not working depends on the project developers correctly defining the dependencies and requirements. It would be nice if we could depend on being able to update within a FreeBSD version, e.g., 10.3, but that is not always the case. For example if on a clean system you install xorg, xdm, xfce, and firefox (in that order), firefox does not work (on 10.3). You have to install firefox before xfce. Here I know package/port for firefox matters not because I had an "empty" ports tree to install against and I tried a number of ways of building firefox to get around the issue. All the other components are too big to build on my systems. In any case there is nothing wrong with my system as installed except a package needs to have a missing module replaced. I also think the seg fault doing 'pkg install' is an indication of an issue having nothing to do with the pkg database. I am sure mixing packages and ports does not matter. What matters is that the dependency database has the correct information. If I am wrong here lets update the handbook guys. The firefox issue happens based on the version and (what I think is a bug in) the make file that does not define the minimal level of the sqlite component that version 50 (and beyond??) requires. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Wed Sep 6 02:45:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 909CDE0938A for ; Wed, 6 Sep 2017 02:45:42 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B26A71802 for ; Wed, 6 Sep 2017 02:45:41 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x236.google.com with SMTP id i14so2179134ioe.2 for ; Tue, 05 Sep 2017 19:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zPhOW2CExoXHKDA50iXogdQOPOGOz+5X5H1sh8jnYSM=; b=YDTFleKIY8Iy/9FQ2CYu1q2sPIfaeAI5wnOLycoAGRwXqXdPxp/yn8wXAoSElMuzZm LxMtamalHoVuepKH71KQKrEc1BLuYAi4dacugFA3HnEvmeqGQjwbU/jU/gFXJk0Iek/U BsKB2SpPTFYRqZtTdOyc9LXLfsnwaB+7Yh4TUTgNSI3MqEdNVH8bMCBjTNAHp63jHJ1h SRF28sGV1d96Ks9WqrsYD2p0NhhljXuSluxnXlDuqLun83+jkt+Wcj16063LdSBegJEX jPOUKgVILJJ/grCzAj5qA9w5c1TOd2hfdLPvTW3ZlUzUhNvl+81jCX+tZG/O8GlfA+lk 7GRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zPhOW2CExoXHKDA50iXogdQOPOGOz+5X5H1sh8jnYSM=; b=mlDrfYsFwP9w0qiLUrLmc07h0UW9Qrrr6kz12AkBHYgGY3etLc2HJOnuQ3luOJLzU3 gSZ37J+NfxgQQbl4WmnPJMl6N4HUcl3+K5Oe8MyTmbiNApEC4GW8SWwmfkMqQJoKW+lm sbDG9vb64IKlmDeqADoFr8jiiSpqXRttFYY166I+MGNoYfn/4N8Pj/JmmFZozcmn1DKS pmEWemmnrox3V1ytSte+EISJrGIwVnXGtW1JguZcPXk0WLQgX1v5poe9qLUzuDws3gSD 80uVCBN/7PBjGpa2rd+FMQUdV4LB8/c3cwxPif6j38IBhFMcuXn8FBWkZfD01DzgO6g8 GE9A== X-Gm-Message-State: AHPjjUiPwyaILk4lNOffrhV619QE/RxOIglYK7TGVZmhRrei1HtifD4J uV/28quZMbXoFETSd9poIlwlxN+twPS3 X-Google-Smtp-Source: AOwi7QBxqRybodyUbWwn3IhwDmAifUUlUvAZY3xU6/wzYpcTo6tGJ3fIqdafnuJQriiwymhPLCVUtj4/c+1tUobz/X8= X-Received: by 10.107.1.13 with SMTP id 13mr1154726iob.257.1504665941114; Tue, 05 Sep 2017 19:45:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 19:45:40 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Tue, 5 Sep 2017 21:45:40 -0500 Message-ID: Subject: Re: How to repair a package To: DTD Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 02:45:42 -0000 On Tue, Sep 5, 2017 at 4:56 PM, DTD wrote: > All are packages, but the dependencies are far too complex at least with > xfce. Work/not working depends on the project developers correctly defining > the dependencies and requirements. It would be nice if we could depend on > being able to update within a FreeBSD version, e.g., 10.3, but that is not > always the case. > The overwhelming majority of the time it is the case. > For example if on a clean system you install xorg, xdm, xfce, and firefox > (in that order), firefox does not work (on 10.3). You have to install > firefox before xfce. Here I know package/port for firefox matters not > because I had an "empty" ports tree to install against and I tried a number > of ways of building firefox to get around the issue. > So you are mixing ports and packages? Earlier this is not what you stated. No matter, I tested this claim out on a clean 10.3 and FF installs fine regardless of order. > In any case there is nothing wrong with my system as installed except a > package needs to have a missing module replaced. I also think the seg fault > doing 'pkg install' is an indication of an issue having nothing to do with > the pkg database. I am sure mixing packages and ports does not matter. For using this OS as long as you claim, you should be quite aware mixing ports and packages can have some of challenges. It's better than it was in the pkg_* days, but some of the issues remain. What matters is that the dependency database has the correct information. > If I am wrong here lets update the handbook guys. > Contributions are welcome! > The firefox issue happens based on the version and (what I think is a bug > in) the make file that does not define the minimal level of the sqlite > component that version 50 (and beyond??) requires. pkg upgrade handles my kde environment quite well, so I don't really understand your objection. A full KDE installation plus FF(what my main system is) is more complex package management than what you describe. Perhaps you can share the exact nature of what you are seeing like your precise commands and their output. If there is a some problem with a legit installed system(eg non-cowboy pkg installation methods and reproducible on a clean system) then please file a bug so it can be addressed for everyone. Additionally, trying to run "pkg install" on a tgz is incorrect. See pkg(7) for details. At least 2 of your issues appear to involve this pkg's: libX11 libXmu You can reinstall a pkg to ensure it's in the expected state: pkg install -f -- Adam From owner-freebsd-questions@freebsd.org Wed Sep 6 02:59:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94E4CE09C4F for ; Wed, 6 Sep 2017 02:59:28 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2C69874746 for ; Wed, 6 Sep 2017 02:59:28 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1BBA5E09C4A; Wed, 6 Sep 2017 02:59:28 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B22BE09C49 for ; Wed, 6 Sep 2017 02:59:28 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: from sonic332-17.consmr.mail.bf2.yahoo.com (sonic332-17.consmr.mail.bf2.yahoo.com [74.6.130.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51CBA7473A for ; Wed, 6 Sep 2017 02:59:26 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: from sonic.gate.mail.ne1.yahoo.com by sonic332.consmr.mail.bf2.yahoo.com with HTTP; Wed, 6 Sep 2017 02:59:25 +0000 From: office benin To: questions@freebsd.org Message-ID: <522910246.11301581504666762076.JavaMail.yahoo@tardis015.cal.bf1.yahoo.com> Subject: Invitation: Attn Package Beneficiary: @ Tuesday, 05 September 2017 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 06 Sep 2017 02:59:28 -0000 X-List-Received-Date: Wed, 06 Sep 2017 02:59:28 -0000 From owner-freebsd-questions@freebsd.org Wed Sep 6 08:07:50 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81482E19D74 for ; Wed, 6 Sep 2017 08:07:50 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A7DB75C5D for ; Wed, 6 Sep 2017 08:07:49 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [74.134.208.22] ([74.134.208.22:30053] helo=localhost) by dnvrco-omsmta01 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id B2/AF-08177-C8CAFA95; Wed, 06 Sep 2017 08:06:36 +0000 Date: Wed, 06 Sep 2017 08:06:18 +0000 Message-ID: From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: command to uncompress .7z files References: <59AEDB58.1000806@gmail.com> X-RR-Connecting-IP: 107.14.64.6:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 08:07:50 -0000 from Ernie Luzar: > Is there a command that will uncompress a .7z file. > Had no joy using "tor xp file.7z" got this error msg > tar: Error opening archive: Failed to open '/dev/sa0' It looks like you need to install archivers/p7zip from ports. Tom From owner-freebsd-questions@freebsd.org Wed Sep 6 09:59:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C727E1E3E3 for ; Wed, 6 Sep 2017 09:59:09 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD3076E905 for ; Wed, 6 Sep 2017 09:59:08 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from mxback9g.mail.yandex.net (mxback9g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:170]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 382C4183FBA; Wed, 6 Sep 2017 12:59:05 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback9g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 5l4QUjDs3k-x5ce0LOr; Wed, 06 Sep 2017 12:59:05 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1504691945; bh=3PXvydUSDGhxzCsYn4AzmqFiXhQVCnXYGPsDlqGt9Pk=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=G3AZ2dkG80op/rb4jygr9ziZvU1oS3jGqF83BJX1Uh03hy3zr0kPwiazor0pdhi6J hHrHWSD9aAL7kcLF7qcXTQ5WbCkdP8ddDtTNxx003wakbdNiiflcd0A1bQ2KnVhKQH Sz3J4F/slTYPa69obhqfTNatcvhfaUypB9GgkJV8= Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kHaxDKhOGI-x4XqfpJm; Wed, 06 Sep 2017 12:59:04 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1504691944; bh=3PXvydUSDGhxzCsYn4AzmqFiXhQVCnXYGPsDlqGt9Pk=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=jT6s//7w3zlTWrwscnedgtwDvQXLH7b47HiQr8F6t6F1eGrAjC3+PocX2krlgqvOM o5SB3mIa/9L4TGDI5/EXycljdTv77YBj3WcYAAUmN6aONSQfA5WihzSULDdqKaZtBl q9FkHvGMYbfrxnu7r4GM0oIYi/VDaA0RXmdcKRGs= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@passap.ru Subject: Re: Restoring sc console look and feel with vt To: Polytropon , FreeBSD Questions Cc: Adam Vande More , Ernie Luzar References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170905225237.0276255a.freebsd@edvax.de> <20170905230625.7a282985.freebsd@edvax.de> From: Boris Samorodov Message-ID: <3fa24cea-a25e-0e07-ac4f-c8b891e356f1@passap.ru> Date: Wed, 6 Sep 2017 12:59:04 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170905230625.7a282985.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 09:59:09 -0000 06.09.2017 00:06, Polytropon пишет: > With the configuration change, I can now select the fonts. > While "gallant" seems to be the default font (no change if > selected after system boots), the vgarom-* fonts are even > worse. They seem to be made for ants.:-) Since you did not mention it, probably your system miss it. So let me suggest using the terminus-b32.fnt font (take it from a CURRENT system). -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@freebsd.org Wed Sep 6 10:47:13 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDB20E20535 for ; Wed, 6 Sep 2017 10:47:13 +0000 (UTC) (envelope-from g8kbvdave@googlemail.com) Received: from mail-wr0-x22b.google.com (mail-wr0-x22b.google.com [IPv6:2a00:1450:400c:c0c::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F39077D52A for ; Wed, 6 Sep 2017 10:47:12 +0000 (UTC) (envelope-from g8kbvdave@googlemail.com) Received: by mail-wr0-x22b.google.com with SMTP id a43so13142655wrc.0 for ; Wed, 06 Sep 2017 03:47:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=xdzNTuw/Zo8ZWlv3QYy/uCeNjsr+CIJZips3VyfgGM8=; b=su2SBBXlH/HVCGZQX3QJfsgRTjGgtkWpThxRORsg2m9jRSg5mvhKenA1L3cv5ep4Lo x38EzeaMfjusOKzJW4nGHFufVHGICbhE5JLan7qv/VZQF1WBONIHjpsKgqGSMkABw/nk IV9JcI8y8LUUVrvUyNC+E425MUUzEbE0UIbz+CbwKRk72eNp+NLph0N/Mf8yZtXkEifZ G0oMAbDo4WUFQNr8tX9V1eOfcK1AAbFbPo0+OdnhYh1mFcbL4s4Nkl73AJsI9a3OHMNZ IJ3seQi1HISgwaghG8wrP8UcgcNf9zpPZjLYfXllesyaIhnbfgstzE+MR0X0u2eCpHTM dxEw== X-Gm-Message-State: AHPjjUjShwhENuBDteL2zZBjBkqNeWVZMp5SErbuQMDTMsI4ZYnef1et M5nYaR7rDjslQ3vsg7c= X-Google-Smtp-Source: ADKCNb7AoiqeqhEtqjxo3b1CVG8RlYRjAkSTD9VkJVTyEN+RPiQV6BtQAzPqLrgP3u82pVF6T6R2Tw== X-Received: by 10.223.198.19 with SMTP id n19mr1654117wrg.282.1504694830295; Wed, 06 Sep 2017 03:47:10 -0700 (PDT) Received: from [192.168.2.55] ([217.41.35.220]) by smtp.gmail.com with ESMTPSA id y99sm3439503wmh.1.2017.09.06.03.47.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Sep 2017 03:47:09 -0700 (PDT) Subject: Re: freebsd-questions Digest, Vol 692, Issue 3 To: freebsd-questions@freebsd.org References: From: Dave B Message-ID: Date: Wed, 6 Sep 2017 11:47:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 10:47:14 -0000 On 05/09/17 22:06, freebsd-questions-request@freebsd.org wrote: > Polytropon(freefreebsd@edvax.de)@2017.09.05 20:26:42 +0200: >> On Tue, 5 Sep 2017 14:17:07 +0100, John Chapman wrote: >>> Hi, >>> I have a well used laptop that had Windows Vista on when I bought it. >>> As you know Windows no longer supports Vista and I don't see the >>> point in upgrading at great expense. >> That's fully correct. There is no value in dealing with "Vista" >> anymore. >> >> >> >>> Is it possible to just uninstall Windows and download FreeBSD. >> It is not needed to uninstall "Windows". Basically, it's even >> technically impossible to _un_install "Windows" because it does >> not have a means to do so. ;-) >> > We use defenstration to uninstall Windows > > https://www.merriam-webster.com/dictionary/defenestration > > -karl Hi All I'd add, Backup your personal info (documents, files, photo's music etc, onto an external drive. You never know what you might need once it's gone!) Perform some system maintenance. Clean all the dust out of the insides of the PC/Laptop (need to take screws out and dismantle etc, take care, observe ESD precautions etc.) BSD (and 'Nix) by default seem to consume more power on given hardware than Windows does, especially when the CPU is little used. (I've measured it, some 'nix's can be well over 30% more "juicy" than an original Windows install!) 'Nix can be tweaked, not sure about' BSD. But best to give the thing the ability to remove any extra waste heat that will be created. Add as much RAM as the hardware will support, if not already max'd out. RAM is cheap, and makes a world of difference to any modern(ish) OS, especially if you plan to use Xwindows or similar. Check the hard drive for health. I have my own copy of GRC's spinrite*, that is just the best. (No affiliation, just a happy owner.) Watch the SMART data, in case the drive is starting to show it's age. (* It's OS agnostic, you can run it on a new 'blank' drive to qualify them fit for use, or recover failing PVR and iPod disks, etc etc.) DBAN it (Darik's Boot n Nuke, https://sourceforge.net/projects/dban/ ) to remove all vestiges of any OS and hidden data. I've had some minor but frustrating issues re-purposing old Windows machines, as "deleting the partition" does not actually delete much, plus it seems some part of the F'BSD install can trip over stuff left on disk. Rare, but utterly frustrating.. (Actually more of a problem I've found, doing a F'BSD update by overwriting an existing install, even after "deleting" existing partitions/slices or whatever, than re-purposing a PC that had another OS on it.) It's slower, but I find that the boot only CD and a Network install is the best for older hardware, that can boot a CD, but may not handle a DVD. Gets you the latest ports etc updates too. That'll get you the plain vanilla command line F'BSD, I'm sure others here will guide you through the install of X etc, if you need that. Have Fun. Dave B. From owner-freebsd-questions@freebsd.org Wed Sep 6 10:59:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A48DAE20DB5 for ; Wed, 6 Sep 2017 10:59:21 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31F78800F6 for ; Wed, 6 Sep 2017 10:59:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 736192600CA; Wed, 6 Sep 2017 12:59:11 +0200 (CEST) Subject: Re: Fun with HAST and inter-host connections To: Ian Smith , Frank Leonhardt Cc: freebsd-questions@freebsd.org References: <20170903015737.H23641@sola.nimnet.asn.au> <20170903021314.B23641@sola.nimnet.asn.au> From: Hans Petter Selasky Message-ID: <7731ae24-159f-da1b-4049-b04b7899697e@selasky.org> Date: Wed, 6 Sep 2017 12:56:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170903021314.B23641@sola.nimnet.asn.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 10:59:21 -0000 On 09/02/17 18:21, Ian Smith wrote: > On Sun, 3 Sep 2017 02:10:51 +1000, Ian Smith wrote: > > In freebsd-questions Digest, Vol 691, Issue 4, Message: 10 > > On Wed, 30 Aug 2017 22:40:03 +0100 Frank Leonhardt wrote: > > > Been following this thread with idle curiousity through all the options. > > > > It's all out of my experience, but if anyone knows what's what with USB > > 3.1 and whether crazy or not, it'd be Hans Petter (cc'd / dobbed in:) Hi, From what I know the USB XHCI 3.1 is backwards compatible with the existing XHCI driver. Correct me if I'm wrong. Unfortunately XHCI is host only so you'll need some kind of middle device if you want to connect to XHCI controllers together. Non of the existing USB ethernet drivers are full optimised for FreeBSD's network and USB stack and all network traffic is copied at least once. It would be interesting to offload mbufs directly into USB w/o this additional copying. --HPS From owner-freebsd-questions@freebsd.org Wed Sep 6 15:27:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6AB7AE07FC0 for ; Wed, 6 Sep 2017 15:27:11 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B6C6976353 for ; Wed, 6 Sep 2017 15:27:10 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id C1A7E62088 for ; Wed, 6 Sep 2017 11:19:49 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nCOT2TbMGCOg for ; Wed, 6 Sep 2017 11:19:40 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 606736029A for ; Wed, 6 Sep 2017 11:19:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1504711180; bh=MRNUI0FmTYcJXF9AGaluHFR541jhcfbYX/Nomi2bkPk=; h=Date:Subject:From:To:Reply-To; b=rrNXByNNXWeKO7rMnS81o8JPemHzVP6eyTqEZcPlfR1Oop78Uoa+tryo3xChH9B/t l2ZGp+hN9O1H95Nyt7hQY37SejMQGaitxjEylQA+ecWfGcsfEkcT0GmftWYeFhlifk qI+DA6IM31MHm1iw3k+yrRjvlL9ivBq7Yi3WxVprI1DZ+vTAk6QaD9KTUYnCTO8RkT IhlCLCY82Hvj4o9guiVcGtSMWqZs0hI3990wR98/r3Gx32sXaqFXEk4I/xNeVocMjF cmf14TqNuhDniTI28HqwmC2tV4P85Owhor5/EmpVlBgAtAC308GQQda0qE9SfnhULZ YICLFpIpQXw8Q== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 6 Sep 2017 11:19:40 -0400 Message-ID: Date: Wed, 6 Sep 2017 11:19:40 -0400 Subject: local_unbound stops resolving From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 15:27:11 -0000 The problem that I am having on my desktop FreeBSD-11.0p12 is still with me and I have confirmed that the system time is correct. This issue only arises with our own domain (harte-lyne.ca). Below are two debug logs for the same query (drill inet02.hamilton.harte-lyne.ca). The first is when the problem is exhibited. The second immediately after local_unbound is restarted. Before restart: # drill inet02.hamilton.harte-lyne.ca ;; ->>HEADER<<- opcode: QUERY, rcode: SERVFAIL, id: 36528 ;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;; inet02.hamilton.harte-lyne.ca. IN A . . . ;; Query time: 11 msec ;; SERVER: 127.0.0.1 ;; WHEN: Wed Sep 6 11:05:15 2017 ;; MSG SIZE rcvd: 47 Debug Log: Sep 06 11:05:15 unbound[480:0] info: 127.0.0.1 inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: validator[module 0] operate: extstate:module_state_initial event:module_event_new Sep 06 11:05:15 unbound[480:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:05:15 unbound[480:0] info: resolving inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: processQueryTargets: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: sending query: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: sending to target: <.> 216.185.71.34#53 Sep 06 11:05:15 unbound[480:0] debug: cache memory msg=247278 rrset=366210 infra=3130 val=104617 Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:05:15 unbound[480:0] info: iterator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: response for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: reply from <.> 216.185.71.34#53 Sep 06 11:05:15 unbound[480:0] info: query response was ANSWER Sep 06 11:05:15 unbound[480:0] info: finishing processing for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone Sep 06 11:05:15 unbound[480:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: verify: could not find appropriate key Sep 06 11:05:15 unbound[480:0] info: validator: response has failed ANSWER rrset: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: Validate: message contains bad rrsets Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_finished event:module_event_pass Sep 06 11:05:15 unbound[480:0] info: resolving inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: processQueryTargets: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: sending query: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: sending to target: <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] debug: cache memory msg=247278 rrset=366210 infra=3130 val=104617 Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:05:15 unbound[480:0] info: iterator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: response for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: reply from <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] info: query response was ANSWER Sep 06 11:05:15 unbound[480:0] info: finishing processing for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: validator[module 0] operate: extstate:module_restart_next event:module_event_moddone Sep 06 11:05:15 unbound[480:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: validator operate: chased to . TYPE0 CLASS0 Sep 06 11:05:15 unbound[480:0] debug: verify: could not find appropriate key Sep 06 11:05:15 unbound[480:0] info: validator: response has failed ANSWER rrset: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: Validate: message contains bad rrsets Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_finished event:module_event_pass Sep 06 11:05:15 unbound[480:0] info: resolving inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: processQueryTargets: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: sending query: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: sending to target: <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] debug: cache memory msg=247278 rrset=366210 infra=3130 val=104617 Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:05:15 unbound[480:0] info: iterator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: response for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: reply from <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] info: query response was ANSWER Sep 06 11:05:15 unbound[480:0] info: finishing processing for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: validator[module 0] operate: extstate:module_restart_next event:module_event_moddone Sep 06 11:05:15 unbound[480:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: validator operate: chased to . TYPE0 CLASS0 Sep 06 11:05:15 unbound[480:0] debug: verify: could not find appropriate key Sep 06 11:05:15 unbound[480:0] info: validator: response has failed ANSWER rrset: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: Validate: message contains bad rrsets Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_finished event:module_event_pass Sep 06 11:05:15 unbound[480:0] info: resolving inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: processQueryTargets: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: sending query: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: sending to target: <.> 216.185.71.34#53 Sep 06 11:05:15 unbound[480:0] debug: cache memory msg=247278 rrset=366210 infra=3130 val=104617 Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:05:15 unbound[480:0] info: iterator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: response for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: reply from <.> 216.185.71.34#53 Sep 06 11:05:15 unbound[480:0] info: query response was ANSWER Sep 06 11:05:15 unbound[480:0] info: finishing processing for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: validator[module 0] operate: extstate:module_restart_next event:module_event_moddone Sep 06 11:05:15 unbound[480:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: validator operate: chased to . TYPE0 CLASS0 Sep 06 11:05:15 unbound[480:0] debug: verify: could not find appropriate key Sep 06 11:05:15 unbound[480:0] info: validator: response has failed ANSWER rrset: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: Validate: message contains bad rrsets Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_finished event:module_event_pass Sep 06 11:05:15 unbound[480:0] info: resolving inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: processQueryTargets: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: sending query: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: sending to target: <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] debug: cache memory msg=247278 rrset=366210 infra=3130 val=104617 Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:05:15 unbound[480:0] info: iterator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: response for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: reply from <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] info: query response was ANSWER Sep 06 11:05:15 unbound[480:0] info: finishing processing for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: validator[module 0] operate: extstate:module_restart_next event:module_event_moddone Sep 06 11:05:15 unbound[480:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: validator operate: chased to . TYPE0 CLASS0 Sep 06 11:05:15 unbound[480:0] debug: verify: could not find appropriate key Sep 06 11:05:15 unbound[480:0] info: validator: response has failed ANSWER rrset: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: Validate: message contains bad rrsets Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_finished event:module_event_pass Sep 06 11:05:15 unbound[480:0] info: resolving inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: processQueryTargets: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: sending query: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: sending to target: <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] debug: cache memory msg=247278 rrset=366210 infra=3130 val=104617 Sep 06 11:05:15 unbound[480:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:05:15 unbound[480:0] info: iterator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: response for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: reply from <.> 216.185.71.33#53 Sep 06 11:05:15 unbound[480:0] info: query response was ANSWER Sep 06 11:05:15 unbound[480:0] info: finishing processing for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] debug: validator[module 0] operate: extstate:module_restart_next event:module_event_moddone Sep 06 11:05:15 unbound[480:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: validator operate: chased to . TYPE0 CLASS0 Sep 06 11:05:15 unbound[480:0] debug: verify: could not find appropriate key Sep 06 11:05:15 unbound[480:0] info: validator: response has failed ANSWER rrset: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: Validate: message contains bad rrsets Sep 06 11:05:15 unbound[480:0] debug: cache memory msg=247278 rrset=366210 infra=3130 val=104617 After restart (succeeds): # service local_unbound restart Stopping local_unbound. Waiting for PIDS: 480. Starting local_unbound. Waiting for nameserver to start... good # drill inet02.hamilton.harte-lyne.ca ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 56386 ;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;; inet02.hamilton.harte-lyne.ca. IN A ;; ANSWER SECTION: inet02.hamilton.harte-lyne.ca. 172800 IN A 216.185.71.22 . . . ;; Query time: 38 msec ;; SERVER: 127.0.0.1 ;; WHEN: Wed Sep 6 11:07:38 2017 ;; MSG SIZE rcvd: 207 Debug Log: Sep 06 11:07:38 unbound[10564:0] info: 127.0.0.1 inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_state_initial event:module_event_new Sep 06 11:07:38 unbound[10564:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: resolving inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] info: processQueryTargets: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] info: sending query: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: sending to target: <.> 216.185.71.33#53 Sep 06 11:07:38 unbound[10564:0] debug: cache memory msg=66072 rrset=66072 infra=2881 val=66280 Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:07:38 unbound[10564:0] info: iterator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] info: response for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] info: reply from <.> 216.185.71.33#53 Sep 06 11:07:38 unbound[10564:0] info: query response was ANSWER Sep 06 11:07:38 unbound[10564:0] info: finishing processing for inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone Sep 06 11:07:38 unbound[10564:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] info: prime trust anchor Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: resolving . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: processQueryTargets: . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: sending query: . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: sending to target: <.> 216.185.71.33#53 Sep 06 11:07:38 unbound[10564:0] debug: cache memory msg=66399 rrset=68718 infra=2881 val=66280 Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:07:38 unbound[10564:0] info: iterator operate: query . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: response for . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: reply from <.> 216.185.71.33#53 Sep 06 11:07:38 unbound[10564:0] info: query response was ANSWER Sep 06 11:07:38 unbound[10564:0] info: finishing processing for . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone Sep 06 11:07:38 unbound[10564:0] info: validator operate: query . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: validate keys with anchor(DS): sec_status_secure Sep 06 11:07:38 unbound[10564:0] info: Successfully primed trust anchor . DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_subquery event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: resolving ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: processQueryTargets: ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: sending query: ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: sending to target: <.> 216.185.71.34#53 Sep 06 11:07:38 unbound[10564:0] debug: cache memory msg=66576 rrset=70034 infra=3130 val=67628 Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:07:38 unbound[10564:0] info: iterator operate: query ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: response for ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: reply from <.> 216.185.71.34#53 Sep 06 11:07:38 unbound[10564:0] info: query response was ANSWER Sep 06 11:07:38 unbound[10564:0] info: finishing processing for ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone Sep 06 11:07:38 unbound[10564:0] info: validator operate: query ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: validated DS ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_subquery event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: resolving ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: processQueryTargets: ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: sending query: ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: sending to target: <.> 216.185.71.33#53 Sep 06 11:07:38 unbound[10564:0] debug: cache memory msg=66756 rrset=70545 infra=3130 val=67628 Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:07:38 unbound[10564:0] info: iterator operate: query ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: response for ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: reply from <.> 216.185.71.33#53 Sep 06 11:07:38 unbound[10564:0] info: query response was ANSWER Sep 06 11:07:38 unbound[10564:0] info: finishing processing for ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone Sep 06 11:07:38 unbound[10564:0] info: validator operate: query ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: validated DNSKEY ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_subquery event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: resolving harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: processQueryTargets: harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: sending query: harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: sending to target: <.> 216.185.71.34#53 Sep 06 11:07:38 unbound[10564:0] debug: cache memory msg=66936 rrset=71611 infra=3130 val=68726 Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:07:38 unbound[10564:0] info: iterator operate: query harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: response for harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: reply from <.> 216.185.71.34#53 Sep 06 11:07:38 unbound[10564:0] info: query response was ANSWER Sep 06 11:07:38 unbound[10564:0] info: finishing processing for harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone Sep 06 11:07:38 unbound[10564:0] info: validator operate: query harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] info: validated DS harte-lyne.ca. DS IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_subquery event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_state_initial event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: resolving harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: processQueryTargets: harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: sending query: harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: sending to target: <.> 216.185.71.34#53 Sep 06 11:07:38 unbound[10564:0] debug: cache memory msg=67127 rrset=72108 infra=3130 val=68726 Sep 06 11:07:38 unbound[10564:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply Sep 06 11:07:38 unbound[10564:0] info: iterator operate: query harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: response for harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: reply from <.> 216.185.71.34#53 Sep 06 11:07:38 unbound[10564:0] info: query response was ANSWER Sep 06 11:07:38 unbound[10564:0] info: finishing processing for harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_module event:module_event_moddone Sep 06 11:07:38 unbound[10564:0] info: validator operate: query harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] info: validated DNSKEY harte-lyne.ca. DNSKEY IN Sep 06 11:07:38 unbound[10564:0] debug: validator[module 0] operate: extstate:module_wait_subquery event:module_event_pass Sep 06 11:07:38 unbound[10564:0] info: validator operate: query inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] info: validate(positive): sec_status_secure Sep 06 11:07:38 unbound[10564:0] info: validation success inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:07:38 unbound[10564:0] debug: cache memory msg=67318 rrset=73285 infra=3130 val=69935 The critical difference that I see is this: Sep 06 11:05:15 unbound[480:0] debug: verify: could not find appropriate key Sep 06 11:05:15 unbound[480:0] info: validator: response has failed ANSWER rrset: inet02.hamilton.harte-lyne.ca. A IN Sep 06 11:05:15 unbound[480:0] info: Validate: message contains bad rrsets What key is unbound looking for; and why can it find it immediately after a restart but not again later? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Wed Sep 6 21:03:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01CA0E171B8 for ; Wed, 6 Sep 2017 21:03:03 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6053F8388F for ; Wed, 6 Sep 2017 21:03:01 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 1D8AB20787 for ; Wed, 6 Sep 2017 23:55:50 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id E20622734B for ; Wed, 6 Sep 2017 23:55:49 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: problem booting from 2nd drive Message-Id: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> Date: Wed, 6 Sep 2017 23:55:48 +0300 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 21:03:03 -0000 I used dump/restore commands to copy a custom freebsd 11.1 to a new = server. After I restore the files I create gmirror (RAID-1) and copy the = bootcode to both disks: gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1 When I select from BIOS to boot using 1st disk (ada0) then it boots = without issue. If I select to boot from 2nd disk (ada1) then it hangs = and restarts again and again. gpart show =3D> 40 7814037088 ada0 GPT (3.6T) 40 472 1 freebsd-boot (236K) 512 8388608 2 freebsd-ufs (4.0G) 8389120 134217728 3 freebsd-swap (64G) 142606848 33554432 4 freebsd-ufs (16G) 176161280 134217728 5 freebsd-ufs (64G) 310379008 33554432 6 freebsd-ufs (16G) 343933440 1073741824 7 freebsd-ufs (512G) 1417675264 6396361856 8 freebsd-ufs (3.0T) 7814037120 8 - free - (4.0K) =3D> 40 7814037088 ada1 GPT (3.6T) 40 472 1 freebsd-boot (236K) 512 8388608 2 freebsd-ufs (4.0G) 8389120 134217728 3 freebsd-swap (64G) 142606848 33554432 4 freebsd-ufs (16G) 176161280 134217728 5 freebsd-ufs (64G) 310379008 33554432 6 freebsd-ufs (16G) 343933440 1073741824 7 freebsd-ufs (512G) 1417675264 6396361856 8 freebsd-ufs (3.0T) 7814037120 8 - free - (4.0K) The message I get during boot is: gptboot: invalid primary GPT header gptboot: invalid backup GPT header gptboot: unable to load GPT Any idea what the issue could be? From owner-freebsd-questions@freebsd.org Wed Sep 6 22:04:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B29A0E19CB2 for ; Wed, 6 Sep 2017 22:04:23 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-ua0-x236.google.com (mail-ua0-x236.google.com [IPv6:2607:f8b0:400c:c08::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E86AC6C27B for ; Wed, 6 Sep 2017 22:04:22 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-ua0-x236.google.com with SMTP id s15so16157561uag.1 for ; Wed, 06 Sep 2017 15:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qSW3Hpd2ry5bMLo8J3sRBpGtZAjn53GNlsh03r/6eMg=; b=SwbWS4tBM0Nam9+09oB1v2ADm2FRSqQ7Xs+aQGfib+AA/DsN9dpptOkIf47bTMgQGF BrWv/whfrBBXlG4yE09ej3RbY+f/wPrYTObwaXy+vsFzFBuKot1/sYd3EyMuHsVqF+A6 /2wzweDr6WLjCfLqZ6tcdsOTgm4e+6l+6/0035jShgLssp7mrheVCdYXxrAbtVSktwQs zUlxzDwsUKHGQU5jC6jE5zXTBSGQ14VOnvM8WAJfgoG02FdPBSS/jWNN6RAqw4vQvlMy F/Bk6V9ueiigC7DcxF/IP3nkfjiWfgRcnpiC9dGujvfyKFQkRdfbNyB2GBtuUrZtcXNv bABg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qSW3Hpd2ry5bMLo8J3sRBpGtZAjn53GNlsh03r/6eMg=; b=qnI15uomIBTMHhjezKr3a9WIDAnif/VK5p1/02WpWDr9jFKWJi2uudM02iG8e6EUYX qTbF9IWVsqnwbW54CqHmT6kXAhlpGaEyUCHWemSrnaqgjozjDPbjG38wxCxkmIbxEHJU +56bWZXzyLwcOfv7IC7vlGxrqeiTVRDnwIxmX9DsOsCf9h9T96rCaj2F+x/dND9tA8uN eC/O/wjS2mIukcs5swjIYX0R6zdYhcvDj4zlU38st73VJjBWG8UKkGlUOewnoaTYWbhi WOgrKRii1TOjB0UZ00tx7c+sgpY6IzObkVx866/AS55fwC6sBqoelSPr97f2aGgvAlh8 B44w== X-Gm-Message-State: AHPjjUiBati0aSUz6EAvFlwcl+ltyidH298gu05BssjvS+ewBkIY+/qi dxc9+aKc7+9i4Lf0Ko6uQP5pzw+OmA== X-Google-Smtp-Source: ADKCNb4jEysPVtMHfr7/ByNCSedmu7tPqdcj9hWzVZmIKdjYdXbpdXuzRF93AXRFo6mDUVNCdPCJmaGRgMlhZC5JRZQ= X-Received: by 10.176.70.153 with SMTP id r25mr396782uaa.74.1504735461891; Wed, 06 Sep 2017 15:04:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.25.18 with HTTP; Wed, 6 Sep 2017 15:04:21 -0700 (PDT) In-Reply-To: References: From: B J Date: Wed, 6 Sep 2017 22:04:21 +0000 Message-ID: Subject: Re: FreeBSD Equivalent To Adobe Acrobat To: Ben Woods Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 22:04:23 -0000 > If you want to simply fill in existing forms in the PDF, that can normally > be accomplished in the more feature complete PDF readers such as Evince > (gtk gui) and Okular (qt gui). About 2 months ago, I posted a message asking about a FreeBSD program which will allow me to open and edit PDF files. Specifically, I wanted to use it to fill out my income tax returns as doing it that way will save me some time, rather than preparing two copies by hand. I did a bit of tinkering this afternoon and installed both Okular and Evince on a laptop that's running the current version of FreeBSD and XFCE. For some reason, Okular crashed, so I removed it. Evince, however, appeared to work for me when I tried it out on an old income tax form PDF file. (The file was designed to be used with Adobe Acrobat, by the way.) I was able to fill in some of the blanks and save a copy of the file. The numbers didn't quite align with the form layout, but they were in the right blank and were legible. Since the form was meant to be handled using Acrobat, I suppose some minor quirks like that are to be expected. So far, Evince looks like what I'm looking for. I've got a few months before tax time, so I'll have some opportunities to see if I can tweak the appearance of the inserted text. Thank you to everyone who responded to my original posting. Your comments and suggestions were quite helpful. B. M. Jatzeck From owner-freebsd-questions@freebsd.org Wed Sep 6 22:22:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 586DEE1A77C for ; Wed, 6 Sep 2017 22:22:12 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A02F46FFD3 for ; Wed, 6 Sep 2017 22:22:10 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host81-153-12-205.range81-153.btcentralplus.com [81.153.12.205]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v86MLxXo050427 for ; Wed, 6 Sep 2017 23:21:59 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: problem booting from 2nd drive To: freebsd-questions@freebsd.org References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> From: Frank Leonhardt Message-ID: <100fd907-b8a5-daf9-112f-1363fe6f7e2e@fjl.co.uk> Date: Wed, 6 Sep 2017 23:22:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 22:22:12 -0000 On 06/09/2017 21:55, Christos Chatzaras wrote: > I used dump/restore commands to copy a custom freebsd 11.1 to a new server. After I restore the files I create gmirror (RAID-1) and copy the bootcode to both disks: > > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1 > > When I select from BIOS to boot using 1st disk (ada0) then it boots without issue. If I select to boot from 2nd disk (ada1) then it hangs and restarts again and again. > > > gpart show > > => 40 7814037088 ada0 GPT (3.6T) > 40 472 1 freebsd-boot (236K) > 512 8388608 2 freebsd-ufs (4.0G) > 8389120 134217728 3 freebsd-swap (64G) > 142606848 33554432 4 freebsd-ufs (16G) > 176161280 134217728 5 freebsd-ufs (64G) > 310379008 33554432 6 freebsd-ufs (16G) > 343933440 1073741824 7 freebsd-ufs (512G) > 1417675264 6396361856 8 freebsd-ufs (3.0T) > 7814037120 8 - free - (4.0K) > > => 40 7814037088 ada1 GPT (3.6T) > 40 472 1 freebsd-boot (236K) > 512 8388608 2 freebsd-ufs (4.0G) > 8389120 134217728 3 freebsd-swap (64G) > 142606848 33554432 4 freebsd-ufs (16G) > 176161280 134217728 5 freebsd-ufs (64G) > 310379008 33554432 6 freebsd-ufs (16G) > 343933440 1073741824 7 freebsd-ufs (512G) > 1417675264 6396361856 8 freebsd-ufs (3.0T) > 7814037120 8 - free - (4.0K) > > > The message I get during boot is: > > gptboot: invalid primary GPT header > gptboot: invalid backup GPT header > gptboot: unable to load GPT I'd guess this is something to do with the BIOS and the way disks get configured when you boot from the second one. You get this is the sector read fails for some reason. Knowing the reason would be useful! AIUI, gptboot goes off looking for a UFS partition to boot from - not necessarily the disk it's just loaded from! Could it be looking at some other drive (real, or imagined by the BIOS) that doesn't have a GPT partition on it? Something to think about until Warran shows up :-) Regards, Frank. From owner-freebsd-questions@freebsd.org Wed Sep 6 22:23:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02D34E1A86F for ; Wed, 6 Sep 2017 22:23:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from outmx-028.london.gridhost.co.uk (outmx-028.london.gridhost.co.uk [95.142.156.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DD64704FC for ; Wed, 6 Sep 2017 22:23:22 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from curlew.milibyte.co.uk (unknown [82.71.56.121]) (Authenticated sender: mailpool@milibyte.co.uk) by outmx-028.london.gridhost.co.uk (Postfix) with ESMTPA id 913FE224A4CC1; Wed, 6 Sep 2017 23:06:51 +0100 (BST) Received: from [192.168.1.13] (helo=curlew) by curlew.milibyte.co.uk with esmtp (Exim 4.89) (envelope-from ) id 1dpiaK-0002Kz-77; Wed, 06 Sep 2017 23:14:14 +0100 Date: Wed, 6 Sep 2017 23:14:12 +0100 From: Mike Clarke To: DTD Cc: freebsd-questions@FreeBSD.ORG Message-ID: <20170906231412.7adf86bc@curlew> In-Reply-To: References: X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: How to repair a package Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 22:23:23 -0000 On Tue, 5 Sep 2017 13:48:23 -0400 (EDT) DTD wrote: > not finding an option in "pkg delete" that=20 > would delete only libXScrnSaver and not the 40 other related packages You should be able to do that with pkg delete -f libXScrnSaver =46rom the man page for pkg-delete -f, --force Forces packages to be removed despite leaving unresolved dependencies. --=20 Mike Clarke From owner-freebsd-questions@freebsd.org Wed Sep 6 22:44:31 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 670A1E1B6E1 for ; Wed, 6 Sep 2017 22:44:31 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D67FE74F10 for ; Wed, 6 Sep 2017 22:44:30 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host81-153-12-205.range81-153.btcentralplus.com [81.153.12.205]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v86MiSsk054956 for ; Wed, 6 Sep 2017 23:44:28 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: problem booting from 2nd drive To: freebsd-questions@freebsd.org References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> From: Frank Leonhardt Message-ID: <8a798574-5d68-d6a3-259f-e971d1e30e4e@fjl.co.uk> Date: Wed, 6 Sep 2017 23:44:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 22:44:31 -0000 On 06/09/2017 21:55, Christos Chatzaras wrote: > I used dump/restore commands to copy a custom freebsd 11.1 to a new server. After I restore the files I create gmirror (RAID-1) and copy the bootcode to both disks: > > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1 > > When I select from BIOS to boot using 1st disk (ada0) then it boots without issue. If I select to boot from 2nd disk (ada1) then it hangs and restarts again and again. > > > gpart show > > => 40 7814037088 ada0 GPT (3.6T) > 40 472 1 freebsd-boot (236K) > 512 8388608 2 freebsd-ufs (4.0G) > 8389120 134217728 3 freebsd-swap (64G) > 142606848 33554432 4 freebsd-ufs (16G) > 176161280 134217728 5 freebsd-ufs (64G) > 310379008 33554432 6 freebsd-ufs (16G) > 343933440 1073741824 7 freebsd-ufs (512G) > 1417675264 6396361856 8 freebsd-ufs (3.0T) > 7814037120 8 - free - (4.0K) > > => 40 7814037088 ada1 GPT (3.6T) > 40 472 1 freebsd-boot (236K) > 512 8388608 2 freebsd-ufs (4.0G) > 8389120 134217728 3 freebsd-swap (64G) > 142606848 33554432 4 freebsd-ufs (16G) > 176161280 134217728 5 freebsd-ufs (64G) > 310379008 33554432 6 freebsd-ufs (16G) > 343933440 1073741824 7 freebsd-ufs (512G) > 1417675264 6396361856 8 freebsd-ufs (3.0T) > 7814037120 8 - free - (4.0K) > > > The message I get during boot is: > > gptboot: invalid primary GPT header > gptboot: invalid backup GPT header > gptboot: unable to load GPT > P.S. Possible reasons for the invalid header message are that the sector it reads in doesn't start with "EFI PART", the LBA the thing is read from doesn't match the one stored in the GPT, the revision number is too low or there there are too many entries in it. Looking at this again, I'd guess that it WAS reading a sector from a valid drive, but something about the sector was wrong. Either it IS the wrong sector, or it ended up on a sector that didn't match on the second drive. Why not dump out the GPT on both and take a look? Are these drives identical? From owner-freebsd-questions@freebsd.org Wed Sep 6 22:49:49 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C597DE1B98E for ; Wed, 6 Sep 2017 22:49:49 +0000 (UTC) (envelope-from frank@woodcruft.co.uk) Received: from a-painless.mh.aa.net.uk (a-painless.mh.aa.net.uk [81.187.30.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D9A2760C4 for ; Wed, 6 Sep 2017 22:49:48 +0000 (UTC) (envelope-from frank@woodcruft.co.uk) Received: from woodcruft.co.uk ([81.187.27.248] helo=lime.woodcruft.co.uk) by a-painless.mh.aa.net.uk with esmtp (Exim 4.84_2) (envelope-from ) id 1dpj8k-0000eW-90; Wed, 06 Sep 2017 23:49:46 +0100 Received: by lime.woodcruft.co.uk (Postfix, from userid 1001) id 3AA0F622A3; Wed, 6 Sep 2017 23:49:14 +0100 (BST) Date: Wed, 6 Sep 2017 23:49:14 +0100 From: Frank Shute To: "James B. Byrne" Cc: freebsd-questions@freebsd.org Subject: Re: local_unbound stops resolving Message-ID: <20170906224913.GA81612@woodcruft.co.uk> Reply-To: Frank Shute Mail-Followup-To: "James B. Byrne" , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 11.1-RELEASE-p1 amd64 X-Organisation: 'woodcruft.co.uk' X-PGP-Key: http://woodcruft.co.uk/misc/pubkey.asc User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 22:49:50 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 06, 2017 at 11:19:40AM -0400, James B. Byrne wrote: > > The problem that I am having on my desktop FreeBSD-11.0p12 is still > with me and I have confirmed that the system time is correct. This > issue only arises with our own domain (harte-lyne.ca). Below are two > debug logs for the same query (drill inet02.hamilton.harte-lyne.ca). > The first is when the problem is exhibited. The second immediately > after local_unbound is restarted. >=20 > Before restart: >=20 > # drill inet02.hamilton.harte-lyne.ca > ;; ->>HEADER<<- opcode: QUERY, rcode: SERVFAIL, id: 36528 > ;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 > ;; QUESTION SECTION: > ;; inet02.hamilton.harte-lyne.ca. IN A > . . . > ;; Query time: 11 msec > ;; SERVER: 127.0.0.1 > ;; WHEN: Wed Sep 6 11:05:15 2017 > ;; MSG SIZE rcvd: 47 >=20 > Debug Log: Hi James, You mention about a "key" being mentioned in the debug log but I wouldn't be surprised if that is just due to the tool, drill(1), you're using; which =66rom it's manpage seems to expect DNSSEC. My best guess, is that your hosts(5) might not be entirely in order which maybe causing some funky Unbound behaviour from queries from the same machine: I assume that /etc/host.conf looks like: hosts dns and resolv.conf(5) looks like: nameserver 127.0.0.1 so hosts(s) should look something like: 127.0.0.1 localhost inet08.hamilton.harte-lyne.ca (I'm going from your email headers). Anyway, just batting about some ideas rather than a definitive solution. Regards, --=20 Frank --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEXRpQZWMUMC1nxphkORvOAPtvi1oFAlmwe2kACgkQORvOAPtv i1olww/+NJapLbsRq4g1qESO2Yc7SKl3xfNxdboO+7sUEQx4h5n/SGjdioPFkzVn esfRUaHGdrzi6WV1mVrKhoH/vsx7z6KQS98vBSOOwR7BjWAxnvCpUJGZgQMa91kQ V1pPMY0lS+Z0jF39FLGC3bsl+d+eYt4BaOlbl+dhbh4prEwKQf6FlAkDYuJpr7A8 Ca6/tgNFZFWdr72umYSpBgSQBWcwFNgbCEqAilKiIXVU5zawIOUzn0QEeY9VauEB XWbxKIM9ZnRAVsexe2HqAuo6LXwVFyZaja6CZsoSwVjMLPAOoJvZp6TTX4jqsKZ4 OP0PLV5ZXEZZt/t4UqPyng2iw+lZnUW925vlsFFg4Wr2ToRi6gjfzPrdGwWfimL/ dseJYGpNbV0V+MHq+N10TjtLtvHsKgtrd2FHOAE67LjMGZRevYUaKUNkUqbAVyhH 4q+hfDEUMWqA0LRvopXNfz21yiTA+ZgS25dm6MyqxAWmWXmnf4Nu0jvRVp6u0miI ODEWY2AA9LsSdoaPjhja33942LLw/xHXvFZh93Exf0AlHSgi1k9tGJM2/rJbNJQq +MIGNqOFhaMg/sWEG1CjvcgbyrK8z/80Z3R/LLD3nIYBGLKGu4KE1K4AinobMl+i 5AvWsyi9MM/a68otXDK5eRcG2aNPuI3kHZVRxxsUu6pPPbYEf8g= =wIfh -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- From owner-freebsd-questions@freebsd.org Wed Sep 6 22:52:41 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6870FE1BDFA for ; Wed, 6 Sep 2017 22:52:41 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BC8DE76D11 for ; Wed, 6 Sep 2017 22:52:40 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host81-153-12-205.range81-153.btcentralplus.com [81.153.12.205]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v86Mqctx056607 for ; Wed, 6 Sep 2017 23:52:38 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: problem booting from 2nd drive To: freebsd-questions@freebsd.org References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> From: Frank Leonhardt Message-ID: Date: Wed, 6 Sep 2017 23:52:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 22:52:41 -0000 On 06/09/2017 21:55, Christos Chatzaras wrote: > I used dump/restore commands to copy a custom freebsd 11.1 to a new server. After I restore the files I create gmirror (RAID-1) and copy the bootcode to both disks: > > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1 > > When I select from BIOS to boot using 1st disk (ada0) then it boots without issue. If I select to boot from 2nd disk (ada1) then it hangs and restarts again and again. > > > gpart show > > => 40 7814037088 ada0 GPT (3.6T) > 40 472 1 freebsd-boot (236K) > 512 8388608 2 freebsd-ufs (4.0G) > 8389120 134217728 3 freebsd-swap (64G) > 142606848 33554432 4 freebsd-ufs (16G) > 176161280 134217728 5 freebsd-ufs (64G) > 310379008 33554432 6 freebsd-ufs (16G) > 343933440 1073741824 7 freebsd-ufs (512G) > 1417675264 6396361856 8 freebsd-ufs (3.0T) > 7814037120 8 - free - (4.0K) > > => 40 7814037088 ada1 GPT (3.6T) > 40 472 1 freebsd-boot (236K) > 512 8388608 2 freebsd-ufs (4.0G) > 8389120 134217728 3 freebsd-swap (64G) > 142606848 33554432 4 freebsd-ufs (16G) > 176161280 134217728 5 freebsd-ufs (64G) > 310379008 33554432 6 freebsd-ufs (16G) > 343933440 1073741824 7 freebsd-ufs (512G) > 1417675264 6396361856 8 freebsd-ufs (3.0T) > 7814037120 8 - free - (4.0K) > > > The message I get during boot is: > > gptboot: invalid primary GPT header > gptboot: invalid backup GPT header > gptboot: unable to load GPT > P.P.S. Dumb question - when you say you create a geom mirror, I assume this isn't for the whole disk. If you did try this I'd expect it to throw an error saying that the backup GPT was corrupt on ada0, but you said it booted normally. If my assumption is wrong, you need to read up on GPT and Geom Mirror compatibility. From owner-freebsd-questions@freebsd.org Wed Sep 6 23:28:54 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C31AEE1D1F6 for ; Wed, 6 Sep 2017 23:28:54 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C578829AD for ; Wed, 6 Sep 2017 23:28:54 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v86NSlZO058955; Wed, 6 Sep 2017 19:28:47 -0400 (EDT) (envelope-from doug@safeport.com) Date: Wed, 6 Sep 2017 19:28:47 -0400 (EDT) From: DTD To: Mike Clarke cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to repair a package In-Reply-To: <20170906231412.7adf86bc@curlew> Message-ID: References: <20170906231412.7adf86bc@curlew> 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.4.3 (bucksport.safeport.com [198.74.231.101]); Wed, 06 Sep 2017 19:28:47 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 23:28:54 -0000 On Wed, 6 Sep 2017, Mike Clarke wrote: > On Tue, 5 Sep 2017 13:48:23 -0400 (EDT) > DTD wrote: > >> not finding an option in "pkg delete" that >> would delete only libXScrnSaver and not the 40 other related packages > > You should be able to do that with pkg delete -f libXScrnSaver > > From the man page for pkg-delete > > -f, --force > Forces packages to be removed despite leaving unresolved > dependencies. > > -- > Mike Clarke > Thanks Mike. I thought I tried that and it said about 40 other packages were going to be deleted. I will try this on a test system. This was very likely user stupidity. I verified the disk is [seemingly] okay and that the problem was only the missing module. It was in libX11 not libXScrnSaver, I mis-read the 'pkg info'. I picked the module out of the distfile and all is good. Pretty sure I was fumble-fingered in typing/cutting-pasting or some such. Doug _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Thu Sep 7 05:07:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 276C1E06E0E for ; Thu, 7 Sep 2017 05:07:24 +0000 (UTC) (envelope-from luvbeastie@larseighner.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id CA10564E0C for ; Thu, 7 Sep 2017 05:07:23 +0000 (UTC) (envelope-from luvbeastie@larseighner.com) Received: by mailman.ysv.freebsd.org (Postfix) id A5E7FE06E0D; Thu, 7 Sep 2017 05:07:23 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5730E06E0C for ; Thu, 7 Sep 2017 05:07:23 +0000 (UTC) (envelope-from luvbeastie@larseighner.com) Received: from emailserver2.asdf456.com (emailserver2.asdf456.com [72.18.207.139]) by mx1.freebsd.org (Postfix) with SMTP id 4D0D964E02 for ; Thu, 7 Sep 2017 05:07:22 +0000 (UTC) (envelope-from luvbeastie@larseighner.com) Received: (qmail 31828 invoked by uid 0); 7 Sep 2017 05:00:40 -0000 Received: (simscan 1.4.1 ppid 31684 pid 31824 t 0.4186s) (scanners: none); 07 Sep 0117 05:00:40 -0000 Received: from unknown (HELO Lars-PC) (70.115.135.184) by emailserver2.asdf456.com with SMTP; Thu, 07 Sep 2017 05:00:40 +0000 Date: Thu, 7 Sep 2017 00:00:23 -0500 From: Lars Eighner X-X-Sender: Lars@Lars-PC Reply-To: Lars Eighner To: questions@FreeBsd.org Subject: Why svnup failing? Message-ID: User-Agent: Alpine 2.20 (CYG 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 05:07:24 -0000 Why is svnup failing and getting a response from a web server? -- Lars Eighner luvbeastie@larseighner.com From owner-freebsd-questions@freebsd.org Thu Sep 7 06:28:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3027E0A851 for ; Thu, 7 Sep 2017 06:28:03 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp2.cretaforce.gr (smtp2.cretaforce.gr [88.99.184.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CF7976116 for ; Thu, 7 Sep 2017 06:28:02 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp2.cretaforce.gr (Postfix) with ESMTPS id D8884140853 for ; Thu, 7 Sep 2017 09:21:32 +0300 (EEST) Received: from [192.168.2.3] (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id A4B6F2734A for ; Thu, 7 Sep 2017 09:21:32 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Date: Thu, 7 Sep 2017 09:21:34 +0300 References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> To: freebsd-questions@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 06:28:03 -0000 I use dump to take the backup from another server, then boot with mfsbsd = and run: gpart destroy -F ada0 gpart destroy -F ada1 gpart create -s gpt ada0 gpart add -b 40 -s 472 -t freebsd-boot ada0 gpart add -s 4G -t freebsd-ufs ada0 gpart add -s 64G -t freebsd-swap ada0 gpart add -s 16G -t freebsd-ufs ada0 gpart add -s 64G -t freebsd-ufs ada0 gpart add -s 16G -t freebsd-ufs ada0 gpart add -s 512G -t freebsd-ufs ada0 gpart add -t freebsd-ufs ada0 newfs -S 4096 -f 4096 -b 32768 ada0p2 newfs -S 4096 -f 4096 -b 32768 -U ada0p4 newfs -S 4096 -f 4096 -b 32768 -U ada0p5 newfs -S 4096 -f 4096 -b 32768 -U ada0p6 newfs -S 4096 -f 4096 -b 32768 -U ada0p7 newfs -S 4096 -f 4096 -b 32768 -U ada0p8 mount /dev/ada0p2 /mnt cd /mnt mkdir var tmp usr home home2 mount /dev/ada0p4 /mnt/tmp mount /dev/ada0p5 /mnt/var mount /dev/ada0p6 /mnt/usr mount /dev/ada0p7 /mnt/home mount /dev/ada0p8 /mnt/home2 cd /mnt/home2 fetch http://xxx.xxx.xxxx.xxx/FreeBSD-11.1-p1-20170905.tar.gz tar xf FreeBSD-11.1-p1-20170905.tar.gz rm FreeBSD-11.1-p1-20170905.tar.gz mv FreeBSD-11.1-p1-20170905 dump cd /mnt/tmp && restore -r -f /mnt/home2/dump/tmp.dump && rm = restoresymtable cd /mnt/usr && restore -r -f /mnt/home2/dump/usr.dump && rm = restoresymtable cd /mnt/var && restore -r -f /mnt/home2/dump/var.dump && rm = restoresymtable cd /mnt/home && restore -r -f /mnt/home2/dump/home.dump && rm = restoresymtable cd /mnt && restore -r -f /mnt/home2/dump/root.dump && rm restoresymtable cd gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada0 umount /mnt/tmp umount /mnt/var umount /mnt/usr umount /mnt/home umount /mnt/home2 umount /mnt gmirror label -vb load gm0p2 /dev/ada0p2 gmirror label -vb load gm0p3 /dev/ada0p3 gmirror label -vb load gm0p4 /dev/ada0p4 gmirror label -vb load gm0p5 /dev/ada0p5 gmirror label -vb load gm0p6 /dev/ada0p6 gmirror label -vb load gm0p7 /dev/ada0p7 gmirror label -vb load gm0p8 /dev/ada0p8 shutdown -r now ---- Then the server come back online and run: sysctl kern.geom.debugflags=3D17 gpart backup ada0 | gpart restore -F ada1 gmirror insert gm0p2 /dev/ada1p2 gmirror insert gm0p3 /dev/ada1p3 gmirror insert gm0p4 /dev/ada1p4 gmirror insert gm0p5 /dev/ada1p5 gmirror insert gm0p6 /dev/ada1p6 gmirror insert gm0p7 /dev/ada1p7 gmirror insert gm0p8 /dev/ada1p8 gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1 gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 shutdown -r now ----- ada0 and ada1 are the same models and have the same bootcode. BIOS has default settings, booting from UEFI, then Network boot, then = USB disk, then hard disks. If I don't run "gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1" = and the disk boot priority is ada1 first and then ada0 it boots. If I = write the bootcode to ada1 then the problem exist.= From owner-freebsd-questions@freebsd.org Thu Sep 7 07:34:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12633E0E27D for ; Thu, 7 Sep 2017 07:34:23 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A08E6461A for ; Thu, 7 Sep 2017 07:34:22 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 9C74E2077F for ; Thu, 7 Sep 2017 10:34:20 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 5D34F2732F for ; Thu, 7 Sep 2017 10:34:20 +0300 (EEST) From: Christos Chatzaras Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Date: Thu, 7 Sep 2017 10:34:19 +0300 References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> <8a798574-5d68-d6a3-259f-e971d1e30e4e@fjl.co.uk> To: freebsd-questions@freebsd.org In-Reply-To: <8a798574-5d68-d6a3-259f-e971d1e30e4e@fjl.co.uk> Message-Id: X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 07:34:23 -0000 > > Why not dump out the GPT on both and take a look? > gpart show => 40 7814037088 ada0 GPT (3.6T) 40 472 1 freebsd-boot (236K) 512 8388608 2 freebsd-ufs (4.0G) 8389120 134217728 3 freebsd-swap (64G) 142606848 33554432 4 freebsd-ufs (16G) 176161280 134217728 5 freebsd-ufs (64G) 310379008 33554432 6 freebsd-ufs (16G) 343933440 1073741824 7 freebsd-ufs (512G) 1417675264 6396361856 8 freebsd-ufs (3.0T) 7814037120 8 - free - (4.0K) => 40 7814037088 ada1 GPT (3.6T) 40 472 1 freebsd-boot (236K) 512 8388608 2 freebsd-ufs (4.0G) 8389120 134217728 3 freebsd-swap (64G) 142606848 33554432 4 freebsd-ufs (16G) 176161280 134217728 5 freebsd-ufs (64G) 310379008 33554432 6 freebsd-ufs (16G) 343933440 1073741824 7 freebsd-ufs (512G) 1417675264 6396361856 8 freebsd-ufs (3.0T) 7814037120 8 - free - (4.0K) dd if=/dev/ada0 of=./bootcode_ada0 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.013218 secs (38736 bytes/sec) dd if=/dev/ada1 of=./bootcode_ada1 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.012451 secs (41120 bytes/sec) diff bootcode_ada0 bootcode_ada1 diff shows the files have no differences From owner-freebsd-questions@freebsd.org Thu Sep 7 07:09:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66C7DE0C9B4 for ; Thu, 7 Sep 2017 07:09:39 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD2EC83493 for ; Thu, 7 Sep 2017 07:09:38 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 84194207DF for ; Thu, 7 Sep 2017 10:09:35 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 563E72734A for ; Thu, 7 Sep 2017 10:09:35 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Date: Thu, 7 Sep 2017 10:09:34 +0300 References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> To: freebsd-questions@freebsd.org In-Reply-To: Message-Id: <0397261D-7123-4021-984D-D07F5A3FE08C@cretaforce.gr> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 07:09:39 -0000 > P.P.S. Dumb question - when you say you create a geom mirror, I assume = this isn't for the whole disk. If you did try this I'd expect it to = throw an error saying that the backup GPT was corrupt on ada0, but you = said it booted normally. If my assumption is wrong, you need to read up = on GPT and Geom Mirror compatibility. Yes see my previous message. I do seperate gmirror for each partition so = GPT and gmirror don't write both at the last part of the disk.= From owner-freebsd-questions@freebsd.org Thu Sep 7 09:23:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 663C8E13AB9 for ; Thu, 7 Sep 2017 09:23:00 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C08AE8086F for ; Thu, 7 Sep 2017 09:22:59 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 4B9712081B for ; Thu, 7 Sep 2017 12:22:56 +0300 (EEST) Received: by server1.cretaforce.gr (Postfix, from userid 109) id 453E827350; Thu, 7 Sep 2017 12:22:56 +0300 (EEST) Received: from [192.168.1.6] (unknown [62.103.227.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 23A2F2734B for ; Thu, 7 Sep 2017 12:22:56 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Date: Thu, 7 Sep 2017 12:22:55 +0300 References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> <8a798574-5d68-d6a3-259f-e971d1e30e4e@fjl.co.uk> To: freebsd-questions@freebsd.org In-Reply-To: Message-Id: <3C1CBEC1-5AD4-4280-8F2C-1934CD800754@cretaforce.gr> X-Mailer: Apple Mail (2.3273) X-Bogosity: Ham X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 09:23:00 -0000 > Sorry, I meant hex dump of GPT. I suspect you might find they are the = same, but at different locations. See my post giving the possible = reasons why the boot code gives the messages you are getting. Its got to = be one of those, but which? I'd compile a new version of the loader that = printed out the reason for failure, but this is not suitable for = everyone. >=20 > I'm just guessing. Mr Block of this parish is the expert on the GPT = loader. What command I can use for this?= From owner-freebsd-questions@freebsd.org Thu Sep 7 09:44:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 648D9E14867 for ; Thu, 7 Sep 2017 09:44:48 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 04E40182 for ; Thu, 7 Sep 2017 09:44:47 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 10972207DE for ; Thu, 7 Sep 2017 12:44:46 +0300 (EEST) Received: by server1.cretaforce.gr (Postfix, from userid 109) id 0336427350; Thu, 7 Sep 2017 12:44:46 +0300 (EEST) Received: from [192.168.1.6] (unknown [62.103.227.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id D4F3A2734A for ; Thu, 7 Sep 2017 12:44:45 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Date: Thu, 7 Sep 2017 12:44:45 +0300 References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> <8a798574-5d68-d6a3-259f-e971d1e30e4e@fjl.co.uk> <3C1CBEC1-5AD4-4280-8F2C-1934CD800754@cretaforce.gr> To: freebsd-questions@freebsd.org In-Reply-To: <3C1CBEC1-5AD4-4280-8F2C-1934CD800754@cretaforce.gr> Message-Id: <82B48C2A-831E-40F6-B04F-B05DA96153E8@cretaforce.gr> X-Mailer: Apple Mail (2.3273) X-Bogosity: Ham X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 09:44:48 -0000 >> Sorry, I meant hex dump of GPT. I suspect you might find they are the = same, but at different locations. See my post giving the possible = reasons why the boot code gives the messages you are getting. Its got to = be one of those, but which? I'd compile a new version of the loader that = printed out the reason for failure, but this is not suitable for = everyone. >>=20 >> I'm just guessing. Mr Block of this parish is the expert on the GPT = loader. hexdump -C -n 512 /dev/ada0p1 and hexdump -C -n 512 /dev/ada1p1 show the same result. I install the bootcode in another server in both disks again and the = boot was successful from 2nd drive. These 2 servers have only different motherboard (the server with the = problem has Fujitsu D3401-H2 and the server without the problem has = Fujitsu D3401-H1) and different disks (the server with the problem has = Seagate ST4000NM0245-1Z2107 and the the server without the problem has = Seagate ST4000NM0024-1HT178). The BIOS for server with problem is = V5.0.0.12 R1.8.0 for D3401-H2x (Release Date: 05/15/2017) and BIOS for = server without problem is V5.0.0.11 R1.21.0 for D3401-H1x (Release = Date: 05/15/2017).= From owner-freebsd-questions@freebsd.org Thu Sep 7 13:45:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38DD3E1EBA5 for ; Thu, 7 Sep 2017 13:45:20 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BFC972893 for ; Thu, 7 Sep 2017 13:45:17 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 3167C622AB; Thu, 7 Sep 2017 09:45:15 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6p7g0JyHIdZF; Thu, 7 Sep 2017 09:45:07 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 35AE9601C0; Thu, 7 Sep 2017 09:45:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1504791907; bh=YZc37+RQdovFzRLptas+ctm2up5UX1iTAJ8+30XEMUE=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=be2iQmOd4HAGUPAyR3HbOCLJhFfJRSkV8H9WgGrfZN4s5ScWmMT2CQdK7gwpMHimI GPQke4IdxLJsxYiBWKpM367X6rsuPFaW/jKCWKNQjYdzihrXX0yRbOIpLFxzkStdBr 2mELSn12v8nkB216Gum31O00CVzuolDCJg/xDtH2LlRFc20LxT6ml5sblSLcr59ZYD XyC0lvGQ7xE286VWAcgpwJpXCMcQpO7DnplEaP72mOSE01ATvlbJkIEBkKZnzb7kyZ 8her9FaqyIA3IztxJXTtupECn5LRr1q8hjCqFW3TF/+aSZCHIDRhq7ShXa/QCkjOxV SsSSRC5odHafQ== Received: from 216.185.71.22 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 7 Sep 2017 09:45:07 -0400 Message-ID: <59ebdad4a567ef07f08cf79edd59819d.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: Date: Thu, 7 Sep 2017 09:45:07 -0400 Subject: Re: local_unbound stops resolving From: "James B. Byrne" To: "Frank Shute" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 13:45:20 -0000 On Wed, September 6, 2017 18:49, Frank Shute wrote: > On Wed, Sep 06, 2017 at 11:19:40AM -0400, James B. Byrne wrote: >> >> The problem that I am having on my desktop FreeBSD-11.0p12 is still >> with me and I have confirmed that the system time is correct. This >> issue only arises with our own domain (harte-lyne.ca). Below are > > > > Hi James, > > > You mention about a "key" being mentioned in the debug log but I > wouldn't be surprised if that is just due to the tool, drill(1), > you're using; which from it's manpage seems to expect DNSSEC. Our domain (hate-lyne.ca) is secured with DNSSEC. > > My best guess, is that your hosts(5) might not be entirely in order > which maybe causing some funky Unbound behaviour from queries from > the same machine: > > I assume that /etc/host.conf looks like: > > hosts > dns Yes. > > and resolv.conf(5) looks like: > > nameserver 127.0.0.1 > > so hosts(s) should look something like: > > 127.0.0.1 localhost inet08.hamilton.harte-lyne.ca > > (I'm going from your email headers). > > Anyway, just batting about some ideas rather than a definitive > solution. > Thanks. I have updated /etc/hosts as you suggest and will see if the problem returns. It is still a mystery to me as to why restarting the local_unbound service will clear the problem for a while and remove the keying error in lookups. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Thu Sep 7 14:06:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96C58E1F6C0 for ; Thu, 7 Sep 2017 14:06:06 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB1C576F82 for ; Thu, 7 Sep 2017 14:06:04 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v87E5rQs087321; Fri, 8 Sep 2017 00:05:53 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 8 Sep 2017 00:05:53 +1000 (EST) From: Ian Smith To: Lars Eighner cc: freebsd-questions@freebsd.org Subject: Re: Why svnup failing? In-Reply-To: Message-ID: <20170907235751.B23641@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 14:06:06 -0000 In freebsd-questions Digest, Vol 692, Issue 5, Message: 10 On Thu, 7 Sep 2017 00:00:23 -0500 Lars Eighner wrote: > Why is svnup failing and getting a response from a web server? Failing how? Using which propocol? What web server? Please show command line used, response received, output of 'svmup -V' and relevant contents of /usr/local/etc/svnup.conf cheers, Ian From owner-freebsd-questions@freebsd.org Thu Sep 7 15:22:49 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC7D5E225F7 for ; Thu, 7 Sep 2017 15:22:49 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EDCB67779 for ; Thu, 7 Sep 2017 15:22:49 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x234.google.com with SMTP id d16so71879ioj.3 for ; Thu, 07 Sep 2017 08:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=ymHaohoDcMEOqTd9X8l6hVcODFwe6XvK1TgSDFyZXSA=; b=c0v7tyetIEe3yTd+LnUG0tJzCFJskPOfCkiFO8AZtdDAHqSiNcy3HdEPMy9tHAgTtO wkBGkq7g9yXF0pkr3ZU7duxOS4ifrMO7Zu/PDxmR3iPKZiHAtPrrpL7eQ0l75Ab1zDRt YST73YfXbKlm3C4QDL3pX+CGm+nNNYHTusyGnzMoobHV20LXeISo5HIvnLTz1OcxpZk1 mwtfLiLhputeSUQ8nmRx4IfjpWXsO3YUJ/INgYckTO4HsMdpA2fTNwlVsC/+xSaKug6/ wh0m08Y4nRa8vglbsLvT24FJtCDnQMFgmP0I0o2rZanpI8YST0Iq/R9y/9RlfjfWkbUP y7LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=ymHaohoDcMEOqTd9X8l6hVcODFwe6XvK1TgSDFyZXSA=; b=aQlHjeHyvJkSl/wNQ6AEiSx/VYADD/tgz7IjnRd5T13T+7WehgGyLZ3zm5d5iFPJrL r/dvV+OzgbTm6yB/QsvZdRb2e1zLEVa9XWqEB/66OjQpu7whIYKaa95/wKLJrlyWaoZ+ rxFbPPAmVWnaDNZ6LX0tAwnNRFv9GojM2EB/iKMbxh2BjMsSGSHl/YmJldly05NWSm4O PDpjKfGCfpr+70S/aK/9FXvkz5lnE3tPvsDcknoQrOrJuCsaSCd6MG7RtMwTsSFTSNjs r9CR2Qq24PlcOa7/ONXnvv4AvqquNs14qgrSEapmCl0xDzCfN8bywKvLwFzl8CJgx97K 2qPg== X-Gm-Message-State: AHPjjUgvOr2No6LQS0HRMGof1nls5CFMErzVy6SUP3HLYdhT+4XsRQcO PPqtmeQh14Pmj4yU X-Google-Smtp-Source: AOwi7QBX9NSExa3VtqjF7P2cnop3KUS2+bx4qgBB5AjzqCEwNAXctMTHNm/nCh8bcYQDI8LDx7SPhA== X-Received: by 10.107.57.198 with SMTP id g189mr3346852ioa.323.1504797768311; Thu, 07 Sep 2017 08:22:48 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id m123sm968706iom.25.2017.09.07.08.22.47 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Sep 2017 08:22:47 -0700 (PDT) Message-ID: <59B16444.9010608@gmail.com> Date: Thu, 07 Sep 2017 11:22:44 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: looking for batch dns inquiry tool 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 15:22:49 -0000 Hello list I am trying to build a domain name block list to feed unbound. There are many sites that provide *host* list files. Example host name www.thaiheart.org Using the "host" command I followed that domain as shown below. >host www.thaiheart.org www.thaiheart.org is an alias for vc1.readyplanet.com. vc1.readyplanet.com has address 203.151.233.134 >host thaiheart.org thaiheart.org has address 203.151.233.116 thaiheart.org mail is handled by 10 mx.thaiheart.org.cust.a.hostedemail.com. >host vc1.readyplanet.com vc1.readyplanet.com has address 203.151.233.134 >host readyplanet.com readyplanet.com has address 203.151.233.152 readyplanet.com mail is handled by 5 alt2.aspmx.l.google.com. readyplanet.com mail is handled by 1 aspmx.l.google.com. readyplanet.com mail is handled by 10 aspmx4.googlemail.com. readyplanet.com mail is handled by 10 aspmx5.googlemail.com. readyplanet.com mail is handled by 5 alt1.aspmx.l.google.com. What I am looking for is a command or port that I can feed it a file containing domain names and for each one output a file containing the extended domain names I should be blocking. As in for the above example. www.thaiheart.org thaiheart.org vc1.readyplanet.com readyplanet.com Thanks for any help. From owner-freebsd-questions@freebsd.org Thu Sep 7 16:34:25 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BF28E02338 for ; Thu, 7 Sep 2017 16:34:25 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F92E77808 for ; Thu, 7 Sep 2017 16:34:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x22e.google.com with SMTP id f199so2271978wme.0 for ; Thu, 07 Sep 2017 09:34:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=a2SHa0lD5RAjzN0Xlcq7LTs9ZB/woROAUXghKd9KNTg=; b=KdOA6/WKFHvYtuS0kpS9+eVUCHwm96NnX9+nRMqLzZmqA7i4/EVABQVzQgmlxQCaDX rXshTqgu1AOXBSwBGv/zcW61psb5hi5dBp+gTx6bLOhvNFlINIAb3tdd5Vp8hacpehrw 41ROxlHJrDD6zjXvQVBMX1S3n1/60VNSg4XGZ05C6BOsjRniYcSlEMd+3caKio57ld/N +utF4/WEA2jetdCGofL9P5Qd1WiAThtzsllafn7Hlv+AhfsgkX5W1PN+5uKLCAuvlrJR G0AdthoAOUC/z1CvDG5snbEl9kZ71nDOfTZ8x4yf88C5ewZE7pOl+RNaHXkxYNt9/c7D IpBA== X-Gm-Message-State: AHPjjUiCE0BnMZ2E0oaZwh/5ZseKXbi4dBQNeN4OH5uSaPJ1VAy6Goxf /vlu1Etsg9+lRd3m X-Google-Smtp-Source: AOwi7QD51ifdm3sANlvme0nHeh53jdmpvmYe0tYVEEh3Rb27y0Zi3b+FwQV2yG00K2SipYYl29Q/pw== X-Received: by 10.28.104.67 with SMTP id d64mr974409wmc.15.1504802061304; Thu, 07 Sep 2017 09:34:21 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id 191sm11093wmn.24.2017.09.07.09.34.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Sep 2017 09:34:19 -0700 (PDT) Date: Thu, 7 Sep 2017 17:34:15 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: looking for batch dns inquiry tool Message-ID: <20170907173415.1691a11c@gumby.homeunix.com> In-Reply-To: <59B16444.9010608@gmail.com> References: <59B16444.9010608@gmail.com> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 16:34:25 -0000 On Thu, 07 Sep 2017 11:22:44 -0400 Ernie Luzar wrote: > What I am looking for is a command or port that I can feed it a file > containing domain names and for each one output a file containing the > extended domain names I should be blocking. > It's easy to script this kind of thing. I prefer dig, e.g. $ dig +short www.thaiheart.org vc1.readyplanet.com. 203.151.233.134 However what you want to do seems draconian because you are blocking the hosting company rather than the specific site. From owner-freebsd-questions@freebsd.org Thu Sep 7 18:10:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62521E0618A for ; Thu, 7 Sep 2017 18:10:19 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from chukcha.pknet.net (chukcha.pknet.net [206.125.170.170]) by mx1.freebsd.org (Postfix) with ESMTP id D570C6B1A4 for ; Thu, 7 Sep 2017 18:10:18 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: by chukcha.pknet.net (Postfix, from userid 26) id 9C7E510A77C; Thu, 7 Sep 2017 12:00:35 -0600 (MDT) Received: from www.peterk.org (localhost [127.0.0.1]) by chukcha.pknet.net (Postfix) with ESMTP id 5F55A10A778 for ; Thu, 7 Sep 2017 12:00:29 -0600 (MDT) Received: from 198.178.8.81 (SquirrelMail authenticated user fbsdq@peterk.org) by www.peterk.org with HTTP; Thu, 7 Sep 2017 12:00:29 -0600 Message-ID: Date: Thu, 7 Sep 2017 12:00:29 -0600 Subject: sysutils/py-salt doesn't work with python3 | py36-salt fails to install From: "Peter" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Sep 7 12:00:34 2017 X-DSPAM-Confidence: 0.9978 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 59b18942185736230810063 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 18:10:19 -0000 All the python36 modules / python36 builds, and installs fine, but the port fails to install; minion:#cat /etc/make.conf DEFAULT_VERSIONS= apache=2.4 php=7.1 pgsql=9.6 python=3.6 python3=3.6 minion:#make .. .... Installing salt-minion script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin Installing salt-run script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin Installing salt-ssh script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin Installing salt-syndic script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin Installing salt-unity script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin Installing spm script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin writing list of installed files to '/usr/ports/sysutils/py-salt/work/.PLIST.pymodtmp' install -m 0644 /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/master /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/master.sample install -m 0644 /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/minion /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/minion.sample ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) minion:# minion:#make install ===> Installing for py36-salt-2017.7.1_1 ===> py36-salt-2017.7.1_1 depends on package: py36-Jinja2>0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-MarkupSafe>0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-botocore>0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-libcloud>=0.14.0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-msgpack-python>=0.3 - found ===> py36-salt-2017.7.1_1 depends on package: py36-progressbar>0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-requests>=1.0.0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-tornado>=4.2.1 - found ===> py36-salt-2017.7.1_1 depends on package: py36-yaml>0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-pyzmq>=2.2.0 - found ===> py36-salt-2017.7.1_1 depends on package: py36-pycrypto>=2.6.1 - found ===> py36-salt-2017.7.1_1 depends on package: py36-setuptools>0 - found ===> py36-salt-2017.7.1_1 depends on file: /usr/local/bin/python3.6 - found ===> Checking if py36-salt already installed ===> Registering installation for py36-salt-2017.7.1_1 pkg-static: Unable to access file /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyc:No such file or directory pkg-static: Unable to access file /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyo:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/sysutils/py-salt *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/py-salt minion:# minion:#find ./ |grep syspaths.py ./work/salt-2017.7.1/salt/syspaths.py ./work/salt-2017.7.1/pkg/smartos/esky/_syspaths.py ./work/salt-2017.7.1/build/lib/salt/syspaths.py ./work/salt-2017.7.1/build/lib/salt/_syspaths.py ./work/stage/usr/local/lib/python3.6/site-packages/salt/syspaths.py ./work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.py minion:# It does the build and install fine with python27, but I'm trying to get it going with python36. Haven't been able to figure out how to properly get it tow work. Any ideas? I've tried this on a fresh install of FreeBSD with only the /etc/make.conf changes - fails at same spot. Anyone else using py-salt with python3 ? From owner-freebsd-questions@freebsd.org Thu Sep 7 18:20:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C0DBE06B60 for ; Thu, 7 Sep 2017 18:20:48 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 336376D7C1 for ; Thu, 7 Sep 2017 18:20:47 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 48C0A207E5 for ; Thu, 7 Sep 2017 21:20:45 +0300 (EEST) Received: from [192.168.2.3] (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 223122734B for ; Thu, 7 Sep 2017 21:20:45 +0300 (EEST) From: Christos Chatzaras Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Message-Id: <7899A558-4FEF-4B4D-AEFC-B761FB7BD5AC@cretaforce.gr> Date: Thu, 7 Sep 2017 21:20:44 +0300 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 18:20:48 -0000 The datacenter swap the first with the second disk. Now it doesn't boot = if the new first disk (previously was the second) is selected in BIOS. = If I configure BIOS to boot from second disk (previously was the first) = it boots. So bootcode is not installed correctly in previously second = disk? It doesn't make sense.= From owner-freebsd-questions@freebsd.org Thu Sep 7 21:18:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E620FE10702 for ; Thu, 7 Sep 2017 21:18:18 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp4.cretaforce.gr (smtp4.cretaforce.gr [94.130.75.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AB81740B9 for ; Thu, 7 Sep 2017 21:18:17 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp4.cretaforce.gr (Postfix) with ESMTPS id 5A059120977 for ; Fri, 8 Sep 2017 00:08:54 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 2D5982732F for ; Fri, 8 Sep 2017 00:08:54 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Message-Id: <594809E2-86A5-4EFE-A17B-41C62F563CAC@cretaforce.gr> Date: Fri, 8 Sep 2017 00:08:52 +0300 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 21:18:19 -0000 Finally the problem is not related to this server. I did a fresh install = in another server "that didn't have the same issue" and it finally has = the same issue. As you can see in my previous messages I install bootcode in first disk = while in mfsbsd 11.0: gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada0 and when I finish the installation and reboot in FreeBSD 11.1 I install = the bootcode for 2nd disk: gpart bootcode -b /boot/pmbr -p /mnt/boot/gptboot -i 1 ada1 This way the problem exist. But if I install bootcode for both disks while in mfsbsd 11.0 then I can = boot from both disks: gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada0 gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada1 So my conclusion is that I can install the bootcode during the = installation from mfsbsd 11.0 but not from freebsd 11.1 The mfsbsd version is: FreeBSD rescue 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu = Sep 29 01:43:23 UTC 2016 = root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 But if I don't install the bootcode on 2nd disk during the installation = from mfsbsd and after the installation boot on mfsbsd again and run: mount /dev/ada0p2 /mnt gpart bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptboot -i 1 ada1 then it doesn't boot from second disk. So the question is why it works if I install bootcode during the = installation using mfsbsd but not after I reboot back in mfsbsd? From owner-freebsd-questions@freebsd.org Thu Sep 7 22:08:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4690E12EF8 for ; Thu, 7 Sep 2017 22:08:38 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37CB383433 for ; Thu, 7 Sep 2017 22:08:37 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id C922732F36; Thu, 7 Sep 2017 15:00:28 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1504821628; bh=yk91F02pp2sRJ7oN2qV8agPlVvOxcg5JLKRY0gdsCmc=; h=Subject:To:References:From:Date:In-Reply-To; b=fHQPGsn3exLG52s5aIt/76EQiC0jhCUGdfKcaZri21UE9sLSr7MfH1an98d6x43MS fCW+q0a/ms3DyJpDck9P2bRSqVHhct1u3pruR1zmsqqtvDjlAOGC3qqp2EPKN80rpl AKJPaWC0ta488ZyHLmSChxhnuKqi6+l9ZODaGKEg= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on h2.n1.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from [10.0.10.15] (h1.pinyon.org [65.101.20.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 2FF8932F20 for ; Thu, 7 Sep 2017 15:00:27 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1504821627; bh=yk91F02pp2sRJ7oN2qV8agPlVvOxcg5JLKRY0gdsCmc=; h=Subject:To:References:From:Date:In-Reply-To; b=BIqD0xpzCZZeDAvND+fVN0WxOTXxkLhqlNVpo3FCiICZ+j8FSnIYJCFt0n+pedX3E x8q9un4ZffYFGiN7L6uDwYdicZq/hk9SF86woz2yKewVbHGxwd/KACOjEUw4YW+33v F3tbIWP9Pd4At2/2yFyhcy99HGJWj+3Hu80zWT6A= Subject: Re: sysutils/py-salt doesn't work with python3 | py36-salt fails to install To: freebsd-questions@freebsd.org References: From: "Russell L. Carter" Message-ID: <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org> Date: Thu, 7 Sep 2017 15:00:26 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 22:08:39 -0000 On 09/07/17 11:00, Peter wrote: > All the python36 modules / python36 builds, and installs fine, but the > port fails to install; https://docs.saltstack.com/en/latest/topics/installation/index.html#dependencies Python 2.6 >= 2.6 <3.0 I am not entirely certain, but I think my whole tree of python27 packages is only required by py-salt these days. HTH, Russell > > minion:#cat /etc/make.conf > DEFAULT_VERSIONS= apache=2.4 php=7.1 pgsql=9.6 python=3.6 python3=3.6 > > minion:#make > .. > .... > Installing salt-minion script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-run script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-ssh script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-syndic script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-unity script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing spm script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > writing list of installed files to > '/usr/ports/sysutils/py-salt/work/.PLIST.pymodtmp' > install -m 0644 > /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/master > /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/master.sample > install -m 0644 > /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/minion > /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/minion.sample > ====> Compressing man pages (compress-man) > ===> Staging rc.d startup script(s) > minion:# > minion:#make install > ===> Installing for py36-salt-2017.7.1_1 > ===> py36-salt-2017.7.1_1 depends on package: py36-Jinja2>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-MarkupSafe>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-botocore>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-libcloud>=0.14.0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-msgpack-python>=0.3 - > found > ===> py36-salt-2017.7.1_1 depends on package: py36-progressbar>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-requests>=1.0.0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-tornado>=4.2.1 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-yaml>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-pyzmq>=2.2.0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-pycrypto>=2.6.1 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-setuptools>0 - found > ===> py36-salt-2017.7.1_1 depends on file: /usr/local/bin/python3.6 - found > ===> Checking if py36-salt already installed > ===> Registering installation for py36-salt-2017.7.1_1 > pkg-static: Unable to access file > /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyc:No > such file or directory > pkg-static: Unable to access file > /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyo:No > such file or directory > *** Error code 74 > > Stop. > make[1]: stopped in /usr/ports/sysutils/py-salt > *** Error code 1 > > Stop. > make: stopped in /usr/ports/sysutils/py-salt > minion:# > minion:#find ./ |grep syspaths.py > ./work/salt-2017.7.1/salt/syspaths.py > ./work/salt-2017.7.1/pkg/smartos/esky/_syspaths.py > ./work/salt-2017.7.1/build/lib/salt/syspaths.py > ./work/salt-2017.7.1/build/lib/salt/_syspaths.py > ./work/stage/usr/local/lib/python3.6/site-packages/salt/syspaths.py > ./work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.py > minion:# > > > It does the build and install fine with python27, but I'm trying to get it > going with python36. Haven't been able to figure out how to properly get > it tow work. > > Any ideas? I've tried this on a fresh install of FreeBSD with only the > /etc/make.conf changes - fails at same spot. > Anyone else using py-salt with python3 ? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Fri Sep 8 00:08:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78CD4E19542 for ; Fri, 8 Sep 2017 00:08:20 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp1.cretaforce.gr (smtp1.cretaforce.gr [88.99.187.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A45317D169 for ; Fri, 8 Sep 2017 00:08:19 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp1.cretaforce.gr (Postfix) with ESMTPS id B7A1DE08EC for ; Fri, 8 Sep 2017 03:01:11 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 8DD7D2734E for ; Fri, 8 Sep 2017 03:01:11 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Message-Id: <01044DB5-9C1D-41F2-8BF9-6C93A2EC14A2@cretaforce.gr> Date: Fri, 8 Sep 2017 03:01:10 +0300 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 00:08:20 -0000 Another strange thing: If I do the installation using mfsbsd 10.3 and write the bootcode to 1st = disk during the installation and then reboot to freebsd 11.3 and write = the bootcode for 2nd disk I can boot from both disks. I suspect now the mfsbsd 11.0 provided by the datacenter. I will try to = create a mfsbsd 11.1 on my own and boot from it. Then I will try to do = the installation again. From owner-freebsd-questions@freebsd.org Fri Sep 8 02:41:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E438E2164C for ; Fri, 8 Sep 2017 02:41:52 +0000 (UTC) (envelope-from costumer.ppl@sup.co.uk) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 000857D473 for ; Fri, 8 Sep 2017 02:41:51 +0000 (UTC) (envelope-from costumer.ppl@sup.co.uk) Received: by mailman.ysv.freebsd.org (Postfix) id ED7A2E2164B; Fri, 8 Sep 2017 02:41:51 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED06EE2164A for ; Fri, 8 Sep 2017 02:41:51 +0000 (UTC) (envelope-from costumer.ppl@sup.co.uk) Received: from web14.glarotech.ch (web14.glarotech.ch [62.12.149.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 393B17D465 for ; Fri, 8 Sep 2017 02:41:50 +0000 (UTC) (envelope-from costumer.ppl@sup.co.uk) Received: from merlasco by web14.glarotech.ch with local (Exim 4.89) (envelope-from ) id 1dq9Eq-0000DL-DS for questions@freebsd.org; Fri, 08 Sep 2017 04:41:48 +0200 To: questions@freebsd.org Subject: verify your account ! From: PayPal Message-Id: Date: Fri, 08 Sep 2017 04:41:48 +0200 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web14.glarotech.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [1197 1197] / [47 12] X-AntiAbuse: Sender Address Domain - sup.co.uk X-Get-Message-Sender-Via: web14.glarotech.ch: authenticated_id: merlasco/only user confirmed/virtual account not confirmed X-Authenticated-Sender: web14.glarotech.ch: merlasco MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 02:41:52 -0000 From owner-freebsd-questions@freebsd.org Fri Sep 8 03:21:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6211E23110 for ; Fri, 8 Sep 2017 03:21:12 +0000 (UTC) (envelope-from costumer.ppl@sup.co.uk) Received: from web14.glarotech.ch (web14.glarotech.ch [62.12.149.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85BF7E83 for ; Fri, 8 Sep 2017 03:21:12 +0000 (UTC) (envelope-from costumer.ppl@sup.co.uk) Received: from merlasco by web14.glarotech.ch with local (Exim 4.89) (envelope-from ) id 1dq9qw-0004Qi-At for freebsd-questions@freebsd.org; Fri, 08 Sep 2017 05:21:10 +0200 To: freebsd-questions@freebsd.org Subject: verify your account ! From: PayPal Message-Id: Date: Fri, 08 Sep 2017 05:21:10 +0200 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web14.glarotech.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [1197 1197] / [47 12] X-AntiAbuse: Sender Address Domain - sup.co.uk X-Get-Message-Sender-Via: web14.glarotech.ch: authenticated_id: merlasco/only user confirmed/virtual account not confirmed X-Authenticated-Sender: web14.glarotech.ch: merlasco MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 03:21:13 -0000 From owner-freebsd-questions@freebsd.org Fri Sep 8 08:09:31 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56376E09F6E for ; Fri, 8 Sep 2017 08:09:31 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17E2B832FA for ; Fri, 8 Sep 2017 08:09:30 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 180E32093D for ; Fri, 8 Sep 2017 11:09:28 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id E62162732F for ; Fri, 8 Sep 2017 11:09:27 +0300 (EEST) From: Christos Chatzaras Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Message-Id: <9DF9FFC1-A997-4FFA-8077-560C75EC1B2E@cretaforce.gr> Date: Fri, 8 Sep 2017 11:09:26 +0300 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 08:09:31 -0000 I boot using mfsbsd 11.1 but the same issue happens. Any idea why it = only works with mfsbsd 10.3? Even with mfsbsd 10.3 used for installation and writing the bootcode for = first disk, I write the bootcode for second disk after installation = using FreeBSD 11.3. Any idea why only works using mfsbsd 10.3 ?= From owner-freebsd-questions@freebsd.org Fri Sep 8 11:00:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B041CE10EFB for ; Fri, 8 Sep 2017 11:00:01 +0000 (UTC) (envelope-from ktasoula@cogentco.com) Received: from server1.mail.cogentco.com (mailhost-int.sys.cogentco.com [38.119.116.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2E4D2204 for ; Fri, 8 Sep 2017 10:59:59 +0000 (UTC) (envelope-from ktasoula@cogentco.com) Received: from hhcp-mbx02.ms.cogentco.com ([10.33.1.101]:18593 helo=email.cogentco.com) by server1.mail.cogentco.com with esmtp (Exim 4.84_2) (envelope-from ) id 1dqGlx-0000XS-0I for freebsd-questions@FreeBSD.org; Fri, 08 Sep 2017 06:44:29 -0400 Received: from HHCP-MBX01.ms.cogentco.com (10.33.1.100) by HHCP-MBX02.ms.cogentco.com (10.33.1.101) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 8 Sep 2017 06:44:27 -0400 Received: from HHCP-MBX01.ms.cogentco.com ([fe80::f12f:6296:20f5:9b38]) by HHCP-MBX01.ms.cogentco.com ([fe80::f12f:6296:20f5:9b38%12]) with mapi id 15.00.1293.002; Fri, 8 Sep 2017 06:44:27 -0400 From: "Tasoula, Katerina" To: "freebsd-questions@FreeBSD.org" Subject: Cogent Communications ISP Thread-Topic: Cogent Communications ISP Thread-Index: AdLLCgltIyZFOXJdSuO3RSJbTD+pPgD3+exgAAAsumABX8GY4AKMu3jgEh1G3UAAKODWoAA2gVrQ Date: Fri, 8 Sep 2017 10:44:27 +0000 Message-ID: <47cd9579284e4807997359858160e2cd@HHCP-MBX01.ms.cogentco.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.0.101] MIME-Version: 1.0 X-Cogent-Test: server1 X-Cogent-Test: server1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 11:00:01 -0000 Hello, My name is Katerina and I am looking to introduce to you Cogent Communicati= ons. Cogent is a Global Tier 1 Internet Service Provider (AS174) specialized in = providing businesses with IP Transit, Layer 2 point-to-point connectivity, = managed servers and colocation services. Our fiber-optic network is designe= d for 100% network availability, we have more than 6000 AS numbers connecte= d to us and we offer wholesale prices. We have 2 POPs in Hong Kong (Equinix= HK1 and Mega I Advantage in Chai Wan). I would like to see if our services are of interest to you. Would you be ab= le to tell me who is the best person to talk about your network infrastruct= ure and connectivity? Kind regards, Katerina Tasoula | Global Account Manager Cogent Communications | London, UK | www.cogentco.com office: +44 (0) 20 7510 9198 | mobile: +44 (0) 7825 853097 | email: ktasoul= a@cogentco.com Office Address: 20 Mastmaker Road, London E14 9UB [Description: Description: Cogent-Logo_Color] From owner-freebsd-questions@freebsd.org Fri Sep 8 15:03:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1C09E1C97F for ; Fri, 8 Sep 2017 15:03:37 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-oln040092070038.outbound.protection.outlook.com [40.92.70.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7407582B34 for ; Fri, 8 Sep 2017 15:03:36 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=t6rLpU3l0nYkvJ2I/UPVAfyf+1qj8VlHbeEpJEpeJcI=; b=RQDm8ZglSA5BJm6d9Dvb9NRuXKj0T+Ekxwpl28r507LZ3HHltBhwbYMA6K/iUEMv/u6btDE9f8N9A94jgNTewKevGFmgA4e1EB0FR7/BtXNMDRXhD+FMJnBxEcPxvyzs4ze7DzAf4ZatNVoTy2RkfoSkrYgK9tYP3OgyzO9eylQEF2QXYg4T7ABkivOqZylenNBH4Pnb8VParyHjM3U8HXk+gA4g+ZHdY/yXd4IazqO4dN0qh109DV11o74WHIcbQZ+HbeB5HaYbEdypRNceTMUsynf/U+jqXLNkV1bCFIQ5idtLF8XZ/yIJNWfGwTraZ+jQfmGLrDtL31iZuktTxg== Received: from AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com (10.152.16.53) by AM5EUR03HT210.eop-EUR03.prod.protection.outlook.com (10.152.16.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1385.11; Fri, 8 Sep 2017 15:03:34 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.16.55) by AM5EUR03FT013.mail.protection.outlook.com (10.152.16.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.13.11 via Frontend Transport; Fri, 8 Sep 2017 15:03:34 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb%13]) with mapi id 15.20.0013.018; Fri, 8 Sep 2017 15:03:34 +0000 From: Manish Jain To: "freebsd-questions@freebsd.org" Subject: Is there any difference between 'source ' and '. ' ? Thread-Topic: Is there any difference between 'source ' and '. ' ? Thread-Index: AQHTKLOjc8v2w7IYU0Or7ei0CbIFAQ== Date: Fri, 8 Sep 2017 15:03:34 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:924E321245B6D76B4686BD32E0D558532CD1FAA38787C601293A104576D8AFDC; UpperCasedChecksum:A16C89AC620F803DBE39DFC5C7528AF5538382EF8AE27A3EE69AA3634DD99067; SizeAsReceived:6986; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [3238Qw2/Rby0SP+PevT3nr04qbgGByTk] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM5EUR03HT210; 6:lQcs4+MyBZXyK/62VQumMPJGDamU25+CUQsZrHndEQjS+oxUX/2tfTIQpLR2LYD+6wTBzeN2TOPDX4CH8F8uGxM8KEB97SWW/iEbuzZJP/yKfywll59MEVS2DtwVGyJlXY9S/k33iGXbzQRSD7pFem8M0JegZveZWXNe4ao55rhpgX2UaAFDw0N0C3JDXXpP8T/adHpDNE80VUMiOSIaVAeGZoZ69YS2akuanaLq3Pf4nGMgurlw7HQvLoVP0UHdWt7tryDDlgXBVMNdPaHXk4me0QOvLclIkxdHWboD3yZjh8loXTJpj8ofMNlZMbgehZZ/RwmkVIXaNO6DYDXNDg==; 5:VbrlhTx7TsjCMTnMQRCV32xABZ81grO8aC3qcwos5JkpK4Y973reVO1WQJ2sjA0ZpBqbt+zIacWwHIk8bz96XwS4QyIMhA3lAyiran3pho2QO/77sh+mn+AZdZd9qFfWIr40P52GopjEICNSsdvlqQ==; 24:bzbmXJN53TOo74PnLlynh93+78BlWKB631tmROkqgKe9acsAB0sDRC7qAVxVaEXWri58JbeFrxJHjfsK4/i3uPheIqkaGye9dhhHrTz408c=; 7:sGr6H5m/EqVW6C3jc1aUQnbJu53tl+XqO+5x0sXriaS/JKiqZzJ4crIFBOhNbNTxdPO5Tp7aksF+KHmxcBJ8xDNZdOotPq+YqZAbEPsS/E/FcfV5gifM7RFVE1ujGswPb9L7tilsUqtgGfgHjbgYeYOTXlpPLnVQppFqmmMFPgWss91DzmVpxLQVcdV75IHgqNhPGSbT6yTDrXeVasea2u5QTlkUva5m8k2lkFsRytw= x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 9723b4a2-5df5-45e4-63d1-08d4f6cac59e x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5EUR03HT210; x-ms-traffictypediagnostic: AM5EUR03HT210: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:AM5EUR03HT210; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5EUR03HT210; x-forefront-prvs: 04244E0DC5 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:AM5EUR03HT210; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2017 15:03:34.4933 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR03HT210 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 15:03:38 -0000 DQpIaSwNCg0KSSB1c2VkIHRvIGJlIHVuZGVyIHRoZSBpbXByZXNzaW9uIHRoYXQgJ3NvdXJjZSA8 cGF0aD4nIHdhcyBmdWxseSANCmVxdWl2YWxlbnQgdG8gJy4gPHBhdGg+JyA6IGJvdGggZXhlY3V0 ZWQgPHBhdGg+IHVuZGVyIHRoZSBjdXJyZW50IHNoZWxsLiANCihBdCBsZWFzdCB1bmRlciBCb3Vy bmUgc2hlbGwgZGVyaXZhdGl2ZXMpDQoNCkJ1dCBhIGZldyBkYXlzIGJhY2ssIEkgY2FtZSBhY3Jv c3MgYW4gaW5zdGFuY2Ugd2hlcmUgc291cmNlIGZhaWxzIHdoaWxlIA0KaW52b2NhdGlvbiB3aXRo IHBlcmlvZCBzdWNjZWVkcy4NCg0KU28gSSBmZWVsIGluY2xpbmVkIHRvIGFzayB3aGV0aGVyIHRo ZSAyIG1lYW4gdGhlIHNhbWUgb3Igbm90ID8NCg0KVGhhbmtzIGZvciBhbnkgaGVscC4NCk1hbmlz aCBKYWluDQo= From owner-freebsd-questions@freebsd.org Fri Sep 8 15:18:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A43AE1D59D for ; Fri, 8 Sep 2017 15:18:08 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.home.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BE3838332B for ; Fri, 8 Sep 2017 15:18:07 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id v88FG12t031776; Fri, 8 Sep 2017 16:16:01 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: Is there any difference between 'source ' and '. ' ? To: Manish Jain , "freebsd-questions@freebsd.org" References: From: Arthur Chance Message-ID: <7e342c74-cb49-c2e4-af37-35eb9e7561c0@qeng-ho.org> Date: Fri, 8 Sep 2017 16:16:01 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 15:18:08 -0000 On 08/09/2017 16:03, Manish Jain wrote: > > Hi, > > I used to be under the impression that 'source ' was fully > equivalent to '. ' : both executed under the current shell. > (At least under Bourne shell derivatives) > > But a few days back, I came across an instance where source fails while > invocation with period succeeds. > > So I feel inclined to ask whether the 2 mean the same or not ? '.' is Bourne shell, 'source' is C shell. bash might allow source as well as ., but it's not strict Bourne shell if it does. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Fri Sep 8 16:04:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22CBBE1FB2C for ; Fri, 8 Sep 2017 16:04:09 +0000 (UTC) (envelope-from tyler@tysdomain.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E64F5107B for ; Fri, 8 Sep 2017 16:04:08 +0000 (UTC) (envelope-from tyler@tysdomain.com) Received: by mail-qt0-x229.google.com with SMTP id h15so7478035qta.4 for ; Fri, 08 Sep 2017 09:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tysdomain-com.20150623.gappssmtp.com; s=20150623; h=reply-to:to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=lhhw9CMHVeNyUEeUVyG2yGiavD2mTHdh4cDSCt0Gjrc=; b=krGwnmSno+dOLCKeXDsLGTVwNdRaIqwC1bPhodkDvTI+0rGztbHC7URCy2Bsb62kNK jQiFfUkJRiyXsW73fc2rRrXbt5zRPxyF6P7NRT1ZydiLOo1OrJoPZvnKEkHu3yCOJfPv Xznc6seKcU+zq4kFOnc5vE5tTdRj6MO3Qo2HOYgzeupQu0tNd/+VAE5p5Yn1UuaYeDBH OzE1GEdtJfq2njbxlLhT2/D90cDx6Qn2jwZaxmws0JyeSbOPfTXb4qnsSFzw25QsHUUg jx5ots/hDmDHWmwb+tcZi7KoAOYq+Wn1YZ8ZNjs8co4gyfKMKp2vWRPZCvFhrDeM7DP7 W0Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:to:from:subject:message-id:date :user-agent:mime-version:content-language; bh=lhhw9CMHVeNyUEeUVyG2yGiavD2mTHdh4cDSCt0Gjrc=; b=eg9/LZhS9mGoZBTUvRue9VBCzUHjmcNP4IK93FnY7WA94g3z2x53Uv/bpBAI0t1Q4b iMkE/XxzZzr15FaCFyZosWGmAY7xZvs+27x8tRwb3FEpiSMhtwXenh1BR0upowhKskbh dddT+ArzeLD+MM1RnSfDOLvXLN21fwbKSQq1wKq5p77V0z0wSk/njQUevNqG8CWR+1r0 pY7PIyvI6LFP8Dh21uWaIVMezVDp+CzO1ZeQvrwdhiD35oyUWBoooSCJbIRs7YEENlCq gfZ1xy3vYCTQQycEt96Ae62irApVvoaHa63RHoLlp/1tG+/U0n3B/iCp5UtTlS8rccvh 9+cw== X-Gm-Message-State: AHPjjUii5oXIq8Z0Y+zzV3HfIJ/gfOXDRiVi6mZD9XyKAfZpBWKhQMXo Amv9H0YWwZyNv0iAQqOynw== X-Google-Smtp-Source: AOwi7QCMbnqA/dhSXFuFnRuLZLHLVuE1wjTmGIu7juRzsXjwlg+qOca3GLLp7/OTXyzXtPKoDityQw== X-Received: by 10.200.22.8 with SMTP id p8mr191189qtj.54.1504886647770; Fri, 08 Sep 2017 09:04:07 -0700 (PDT) Received: from [192.168.88.101] (c-98-229-109-58.hsd1.ma.comcast.net. [98.229.109.58]) by smtp.gmail.com with ESMTPSA id i41sm1503764qta.23.2017.09.08.09.04.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Sep 2017 09:04:07 -0700 (PDT) Reply-To: tyler@tysdomain.com To: FreeBSD Questions From: "Littlefield, Tyler" Subject: help with condensing bsd Message-ID: Date: Fri, 8 Sep 2017 12:04:04 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 16:04:09 -0000 All: I wish to create a smaller BSD as I have a vps with a minimal amount of space. I know that I can buildworld and cut a lot of things out (does anyone have a good example from where to start)? My question is this: Once I buildworld and buildkernel, how do I package these up? I have a few systems that need this new buildworld and buildkernel, and i also want to replace the base iocage jail. Thanks, -- Take Care, Tyler Littlefield Tyler Littlefield Consulting: website development and business solutions. My personal site My Linkedin @Sorressean on Twitter From owner-freebsd-questions@freebsd.org Fri Sep 8 16:28:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5517E20F54 for ; Fri, 8 Sep 2017 16:28:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB8CD1CD4 for ; Fri, 8 Sep 2017 16:28:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x233.google.com with SMTP id 6so2819285itl.1 for ; Fri, 08 Sep 2017 09:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KDg5BgInzCGbclkJdXPE1mHb6CoTikNRa9nxXzKh3YM=; b=b7nSldn5kFmX5Qs1W88v7BIyr7VqBR39aKBq35BMg3VrCMzcyQNgItILu+HpgZxB3X xn+sTpJSzPYNV7vyWdUOZrIzbqy3CcehZqa4knADMtVCbA0QxCQkwCC7BSRM//4XVH/L rmGzYXYoePXMiI8IJrT5gtkLTRum4QhqMWjvZR6wIAJKmXlkv5s/uykJgVbvDbRxgKhP EwUkdtyYT/QcGfme/DrtqwjYtSxEb2KD+k/9mgNfWmeaf/e4pNQE6Ubeb36n3bQ3Q0Uh VvPYrQ0loSkVis5Oy8bn4BobkbkIhzE96BiuzHvXIAfBVdNzhuTLw5XN0XO0zPxEHcrh pCAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KDg5BgInzCGbclkJdXPE1mHb6CoTikNRa9nxXzKh3YM=; b=rSDyUz9ohIaQNau6kbs7PtxE6Z9ATUX3x9aZYk02rqvOc+D0x5CRjJ26CP5zvrlDzq 8avplebVCvdktsa8MTQFEQTJfhuutf3++4K9VqptsUltcZsqIFjdiI6s+QuYqUgv03oq K1jjnM5u9ihkoVf29+CjX6pm/pEqiHz/3109+frZaPw/eTHmz/nLg/mUzGLK7XUqncWa nsbLpjgQDU0Y7fVOqKhRTWConux8xgf3Ty43go/682ay5sm7oXWk3uY70i7KqUJvaUl9 8cUlRYwLIsjkg7dFLC4AKnKDiNMSrKnj39isP+zbS/OIWbBQOTDxySbskl10kchvxUs5 L3tQ== X-Gm-Message-State: AHPjjUjT4XTe6/tWOVx1dStnvllb6tKXHpIXicM932EMZAshnTlsXXSQ PZmthykhx/jQiMT7kktvshTq9GkFSQ== X-Google-Smtp-Source: AOwi7QCn1/2hMn3hC+5dxEAlzD6dV5ma6Dyh9ZVLRz4ns/WEoaXLvy8nlfjHNkz8mydYAaxYF8aXGSAYCaHRZzr2Rm4= X-Received: by 10.36.101.12 with SMTP id u12mr1644898itb.135.1504888136087; Fri, 08 Sep 2017 09:28:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Fri, 8 Sep 2017 09:28:55 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Fri, 8 Sep 2017 11:28:55 -0500 Message-ID: Subject: Re: help with condensing bsd To: sorressean Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 16:28:57 -0000 On Fri, Sep 8, 2017 at 11:04 AM, Littlefield, Tyler wrote: > All: > > I wish to create a smaller BSD as I have a vps with a minimal amount of > space. I know that I can buildworld and cut a lot of things out (does > anyone have a good example from where to start)? > > My question is this: Once I buildworld and buildkernel, how do I package > these up? I have a few systems that need this new buildworld and > buildkernel, and i also want to replace the base iocage jail. > You may wish to investigate tools like picobsd or nanobsd. There are other ways to accomplish this of course, but those tools worked at least at one point. I haven't tried them recently. -- Adam From owner-freebsd-questions@freebsd.org Fri Sep 8 17:44:04 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BA75E00B38 for ; Fri, 8 Sep 2017 17:44:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F390763E7C for ; Fri, 8 Sep 2017 17:44:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v88HhwoA011515 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 8 Sep 2017 11:43:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v88Hhv1i011512; Fri, 8 Sep 2017 11:43:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 8 Sep 2017 11:43:57 -0600 (MDT) From: Warren Block To: Polytropon cc: Adam Vande More , FreeBSD Questions , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt In-Reply-To: <20170905204920.2b709f7a.freebsd@edvax.de> Message-ID: References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Fri, 08 Sep 2017 11:43:58 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 17:44:04 -0000 On Tue, 5 Sep 2017, Polytropon wrote: >> For the former, removing the previous advice from loader.conf would be the >> first step. Then you should be able to find an acceptable setting >> experimenting with vidcontrol eg resolution/fonts. > > With vidcontrol, I only get error messages. I think it ie tied > to sc? I also have no idea what font names to try... Yes, it depends on VESA support by the video card. Instead, try the "gop" command in the loader to list and set modes. From owner-freebsd-questions@freebsd.org Fri Sep 8 18:39:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1509E03780 for ; Fri, 8 Sep 2017 18:39:56 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DD5265D7C for ; Fri, 8 Sep 2017 18:39:56 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id x17so2266406wmd.5 for ; Fri, 08 Sep 2017 11:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Qb/g+D+D+4TBo5NBubWB2hVZqQ3NQuyhVSFOh9Pwo8U=; b=t0KoNZK5F10R82bfbmlY5A+T7kx6+Kx8yz0HWIidS9Sg0gniUW2G1phfhr/QNhmnLn 1/0e6nDAz7gjzpBmCMdoGPunpiZrH23/cMbf9WwX6rkaBHIFCmWvaZNbJhSM0uVjgymI irElICZzU5QV6L4aOmzuDwGQKzsexIZhCxJwyMrn4Dln6AryymW8zw8jB2aOL+GYS4xz +krA+pyHjMkD+xApE7oyBd1/IbqCJYn5XEeqYmh6SwBVGZM1pk8tRXK2taPWe0CiYu3C iNBS4vIB2ZE09UNlJPfzRyVFst5MU9R6j2kSty0ln2zyxMmQwIg5RrA7nj82IRvXd8Gg gNAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=Qb/g+D+D+4TBo5NBubWB2hVZqQ3NQuyhVSFOh9Pwo8U=; b=KjCd2ps4P9WClaRNvNUTQvxMe+SD50kjCOjNwrW74emXugh2bMOLBF/4UV2nWC1aht hUDF3fGGbpHWQhRcbEz2USPjxFxJKS8/tcLCrlpGzhrafu5gQORuFSv9k4+pMb2tYfJY rvxNxnyXG28PN4gz3rzIHaKWa9KarDb16OALWl8AH6Fuma5uKm87BQmK//hbSi2FeBUZ NX3DgrijJ/JjiUVOWsdxV9ORHiCt7tMO9xVrHrwK/9HNZNMAQN6qwJcfFZ12RjEH42DG pw/M7oOMTcCNEpa6c4/eEKV3YpsMEBSPCo+0TXXZYz/pzT/Ppu2/jCe8ed96XF1q8CtR PAkw== X-Gm-Message-State: AHPjjUiYoxN49vIOVT4ojpxcw2/dE3uzlcLnSsAOc3j3VPWs9TLVh4QT X7ai5T9kL/DffQ== X-Google-Smtp-Source: AOwi7QDAm2/eTP/Ve4s0D15DTU9Jk3ATCjQFFkBk2CD9itZEq5IRu2EnaFf8f10N81XmWh1sNuRtmA== X-Received: by 10.28.211.77 with SMTP id k74mr2383513wmg.147.1504895994760; Fri, 08 Sep 2017 11:39:54 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2001:8b0:fe33::10]) by smtp.gmail.com with ESMTPSA id s126sm2906330wmd.46.2017.09.08.11.39.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Sep 2017 11:39:54 -0700 (PDT) Date: Fri, 8 Sep 2017 19:39:52 +0100 From: Matt Smith To: Warren Block Cc: Polytropon , Adam Vande More , FreeBSD Questions , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt Message-ID: <20170908183952.GA82102@gmail.com> Mail-Followup-To: Matt Smith , Warren Block , Polytropon , Adam Vande More , FreeBSD Questions , Ernie Luzar References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 18:39:56 -0000 On Sep 08 11:43, Warren Block wrote: >On Tue, 5 Sep 2017, Polytropon wrote: > >>>For the former, removing the previous advice from loader.conf would be the >>>first step. Then you should be able to find an acceptable setting >>>experimenting with vidcontrol eg resolution/fonts. >> >>With vidcontrol, I only get error messages. I think it ie tied >>to sc? I also have no idea what font names to try... > >Yes, it depends on VESA support by the video card. > >Instead, try the "gop" command in the loader to list and set modes. It seems a shame that there are so many different ways of setting the modes or resolutions. I have been using FreeBSD for 20 years and I don't even really understand how we should be doing this. I understand that vt is new but we should be presenting a single way of configuring it correctly to our new users. Currently it leads to confusion and inconsistency. -- Matt From owner-freebsd-questions@freebsd.org Fri Sep 8 19:03:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07AD4E049E5 for ; Fri, 8 Sep 2017 19:03:36 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:d16:10c3::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C55F86696F for ; Fri, 8 Sep 2017 19:03:35 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (c-24-60-168-172.hsd1.ct.comcast.net [24.60.168.172]) by hz.citrin.ru (Postfix) with ESMTPSA id 384CA2C1790 for ; Fri, 8 Sep 2017 19:03:32 +0000 (UTC) Subject: Re: help with condensing bsd To: freebsd-questions@freebsd.org References: From: Anton Yuzhaninov Message-ID: <8e90abb6-79b0-5f2a-8c1a-4126a663f0ee@citrin.ru> Date: Fri, 8 Sep 2017 15:03:30 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1504897412; bh=6rkCAytuFF684aCGOq6tH/CBSPcLgebOcMRhTXne1MY=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Is2fPLe2dgmbxUxquBADLPWQBPFjTKhgbVNCboDqMDpKEbel7NOEq8Sz0acbw1X/RYJWFmY+PxvJbdmO29yNk0CYz7KDh7IvKG6AUQJ3grtMRd99RaEqKuTpIzvRVFM24ZWOrQMrmG+203aK7mCWmQJ2uNYADSjgkG7zjxQUW/E= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 19:03:36 -0000 On 09/08/17 12:04, Littlefield, Tyler wrote: > I wish to create a smaller BSD as I have a vps with a minimal amount of > space. 1. Reducing kernel size. create custom config - add to it all you need (drivers, geom/netgraph modules e. t. c.) and add line makeoptions NO_MODULES=yes only kernel will be build without modules. Kernel can be compressed using gzip -9 2. World. Simple way - just disable optional stuff via src.conf Read man src.conf and add knobs like WITHOUT_ACCT=yes WITHOUT_ACPI=yes WITHOUT_AMD=yes e.t.c. to you src.conf Not all can be switched off via src.conf, but if you not building image for tiny embedded system a few extra Mb probably doesn't matter. > I know that I can buildworld and cut a lot of things out (does > anyone have a good example from where to start)? > My question is this: Once I buildworld and buildkernel, how do I package > these up? I have a few systems that need this new buildworld and > buildkernel, and i also want to replace the base iocage jail. Different options are possible. I use this way: On build host I run script make-release.sh [1] result of this script: files base.txz kernel.txz e. t. c. /usr/src/release/release.sh can be used instead, but for me it was more easy to write own script than customize release.sh. To upgrade OS on VPS I use shell script [2] which fetches this files and extracts them using tar. To upgrade files in /etc I currently use etcupdate (because mergemaster needs /usr/src). If you already have OS installed in this VPS you can install you custom build (and copy /etc/src.conf used for this build) and then run make delete-old && make delete-old-libs to delete switched off parts (but you will need /usr/src for this task). Also you can save space by not keeping /usr/ports and installing binary packages. If custom options are need you will have to run own package repo using poudriere. 1. http://termbin.com/ad1c 2. http://termbin.com/rvd8 From owner-freebsd-questions@freebsd.org Fri Sep 8 19:06:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AE7DE04C1D for ; Fri, 8 Sep 2017 19:06:06 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from msa.san.navalradio.net (msa.san.navalradio.net [206.251.255.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11F8266ACE for ; Fri, 8 Sep 2017 19:06:05 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from [192.168.0.121] ([172.18.128.200]) (authenticated bits=0) by msa.san.navalradio.net (8.15.2/8.15.2) with ESMTPA id v88IqeG4028170 for ; Fri, 8 Sep 2017 18:52:42 GMT (envelope-from mikhailg@webanoide.org) X-Authentication-Warning: msa.san.navalradio.net: Host [172.18.128.200] claimed to be [192.168.0.121] Subject: Re: Restoring sc console look and feel with vt To: freebsd-questions@freebsd.org References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170908183952.GA82102@gmail.com> From: Mikhail Goriachev Message-ID: <05b3e301-829d-6eca-723c-76ae252211eb@webanoide.org> Date: Fri, 8 Sep 2017 15:53:59 -0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170908183952.GA82102@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: es-ES Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 19:06:06 -0000 On 08/09/2017 15:39, Matt Smith wrote: > On Sep 08 11:43, Warren Block wrote: >> On Tue, 5 Sep 2017, Polytropon wrote: >> >>>> For the former, removing the previous advice from loader.conf would be the >>>> first step. Then you should be able to find an acceptable setting >>>> experimenting with vidcontrol eg resolution/fonts. >>> >>> With vidcontrol, I only get error messages. I think it ie tied >>> to sc? I also have no idea what font names to try... >> >> Yes, it depends on VESA support by the video card. >> >> Instead, try the "gop" command in the loader to list and set modes. > > It seems a shame that there are so many different ways of setting the > modes or resolutions. I have been using FreeBSD for 20 years and I don't > even really understand how we should be doing this. > > I understand that vt is new but we should be presenting a single way of > configuring it correctly to our new users. Currently it leads to > confusion and inconsistency. > +1 -- Mikhail Goriachev Webanoide From owner-freebsd-questions@freebsd.org Fri Sep 8 19:45:44 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6B12E06C87 for ; Fri, 8 Sep 2017 19:45:44 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from chukcha.pknet.net (chukcha.pknet.net [206.125.170.170]) by mx1.freebsd.org (Postfix) with ESMTP id A68B868138 for ; Fri, 8 Sep 2017 19:45:44 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from abaza.home.lan (unknown [72.42.100.184]) by chukcha.pknet.net (Postfix) with ESMTPSA id 9100F10A83B for ; Fri, 8 Sep 2017 13:45:35 -0600 (MDT) Subject: Re: sysutils/py-salt doesn't work with python3 | py36-salt fails to install To: freebsd-questions@freebsd.org References: <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org> From: Peter Message-ID: Date: Fri, 8 Sep 2017 13:45:38 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2017 19:45:44 -0000 On 09/07/17 16:00, Russell L. Carter wrote: > On 09/07/17 11:00, Peter wrote: >> All the python36 modules / python36 builds, and installs fine, but the >> port fails to install; > > https://docs.saltstack.com/en/latest/topics/installation/index.html#dependencies > > > Python 2.6 >= 2.6 <3.0 > > I am not entirely certain, but I think my whole tree of > python27 packages is only required by py-salt these > days. > > HTH, > Russell > > True, did not look at the installation instructions for 2017.7..., only the release notes which made it seem like python3 should work; https://docs.saltstack.com/en/latest/topics/releases/2017.7.0.html#python-3 and the latest commit comment in ports:   http://www.freshports.org/sysutils/py-salt ]Peter[ >> >> minion:#cat /etc/make.conf >> DEFAULT_VERSIONS= apache=2.4 php=7.1 pgsql=9.6 python=3.6 python3=3.6 >> >> minion:#make >> .. >> .... >> Installing salt-minion script to >> /usr/ports/sysutils/py-salt/work/stage/usr/local/bin >> Installing salt-run script to >> /usr/ports/sysutils/py-salt/work/stage/usr/local/bin >> Installing salt-ssh script to >> /usr/ports/sysutils/py-salt/work/stage/usr/local/bin >> Installing salt-syndic script to >> /usr/ports/sysutils/py-salt/work/stage/usr/local/bin >> Installing salt-unity script to >> /usr/ports/sysutils/py-salt/work/stage/usr/local/bin >> Installing spm script to >> /usr/ports/sysutils/py-salt/work/stage/usr/local/bin >> writing list of installed files to >> '/usr/ports/sysutils/py-salt/work/.PLIST.pymodtmp' >> install  -m 0644 >> /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/master >> /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/master.sample >> install  -m 0644 >> /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/minion >> /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/minion.sample >> ====> Compressing man pages (compress-man) >> ===> Staging rc.d startup script(s) >> minion:# >> minion:#make install >> ===>  Installing for py36-salt-2017.7.1_1 >> ===>   py36-salt-2017.7.1_1 depends on package: py36-Jinja2>0 - found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-MarkupSafe>0 - >> found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-botocore>0 - found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-libcloud>=0.14.0 >> - found >> ===>   py36-salt-2017.7.1_1 depends on package: >> py36-msgpack-python>=0.3 - >> found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-progressbar>0 - >> found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-requests>=1.0.0 >> - found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-tornado>=4.2.1 - >> found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-yaml>0 - found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-pyzmq>=2.2.0 - >> found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-pycrypto>=2.6.1 >> - found >> ===>   py36-salt-2017.7.1_1 depends on package: py36-setuptools>0 - >> found >> ===>   py36-salt-2017.7.1_1 depends on file: /usr/local/bin/python3.6 >> - found >> ===>  Checking if py36-salt already installed >> ===>   Registering installation for py36-salt-2017.7.1_1 >> pkg-static: Unable to access file >> /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyc:No >> >> such file or directory >> pkg-static: Unable to access file >> /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyo:No >> >> such file or directory >> *** Error code 74 >> >> Stop. >> make[1]: stopped in /usr/ports/sysutils/py-salt >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/ports/sysutils/py-salt >> minion:# >> minion:#find ./ |grep syspaths.py >> ./work/salt-2017.7.1/salt/syspaths.py >> ./work/salt-2017.7.1/pkg/smartos/esky/_syspaths.py >> ./work/salt-2017.7.1/build/lib/salt/syspaths.py >> ./work/salt-2017.7.1/build/lib/salt/_syspaths.py >> ./work/stage/usr/local/lib/python3.6/site-packages/salt/syspaths.py >> ./work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.py >> minion:# >> >> >> It does the build and install fine with python27, but I'm trying to >> get it >> going with python36.  Haven't been able to figure out how to properly >> get >> it tow work. >> >> Any ideas?  I've tried this on a fresh install of FreeBSD with only the >> /etc/make.conf changes - fails at same spot. >> Anyone else using py-salt with python3 ? >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sat Sep 9 00:13:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80539E13A13 for ; Sat, 9 Sep 2017 00:13:42 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40B0770A2E for ; Sat, 9 Sep 2017 00:13:42 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-vk0-x22e.google.com with SMTP id c82so4983665vkd.4 for ; Fri, 08 Sep 2017 17:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=3D2bnbtN6I1fE0OjDOKl1GtTBASnPO1boOeYf+o3QFg=; b=thrJr3H10xYzBOZ5w0flzRLUc75qDDsgh3VJAH+uxv1Z+sbk7aLyPHQy1G0iiT69o8 9+EAWDZ16UcAHYo+QwSnVOSBQnC0IVS2xz2GcS2TN+0r+coDbnkyES92qW2/r+iu3eNF SGTIF8SkR8rpQ6VqmfGe3zvBaHDvvcJ60Q/DM0D19vj5z9MHiiiIH24gy5xdyaDcfGNd 5gDu5oaXSWlpoFwx+ALgKe2nPRODCo3Ff9LhVEBPuNcPp0EXxaRuU/LTIvF7lq/xysEN k61UP+J+TleaeoRQ8WVF+MP7WIO8WPLYzY9N52kzPYokSGSwqE3Wm/PaBVYd1UeOwcyd oB5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=3D2bnbtN6I1fE0OjDOKl1GtTBASnPO1boOeYf+o3QFg=; b=fVLz+PWLAmR7kfk9+fM7rYGf6x3oGhS+1LwwuxIjgNy2BzvWcNceLQ+cTtC12zy+pi r6IiMV9U14ZHRGkZVyCV2g1xdkgHNe6DtNMENksk/md0+j6vQkchZSVDvNZYwmEgRLGJ FCxGzBupChRCUPBJAcPKkmmNB3GGwNB9AOhy2j4ZPONKkp6qAYjscL8K11dJI69ixD0c m2Szhm6lECidJpvq5VnMMbTerJf/RzhJXuvOYTIvABoCw+tc7ONM5O90WXj1fBhEMy2r W+jZszOFKynNzd9lcp0v0hhEVXPPPRpQNPLi06+RBTX4xUPupkM3lAwj+I5kxttoyU06 yUTw== X-Gm-Message-State: AHPjjUi03VLqTHrifCWrFZPv1x6RoshVLJ6aFJnsRmbnCU5dHwro+JQc wybHkziylqLH9m55ySKz9qdPODfdLYRe X-Google-Smtp-Source: AOwi7QAd7smvy5U/2qBd8xt1saYxGjXep2Sz0dmsex/WyGaTt2F19avhsLV/4q1cbTCd3eSIaPnHdyOabZRW3cIQtI8= X-Received: by 10.31.41.136 with SMTP id p130mr2998898vkp.122.1504916021081; Fri, 08 Sep 2017 17:13:41 -0700 (PDT) MIME-Version: 1.0 References: <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org> In-Reply-To: From: Ben Woods Date: Sat, 09 Sep 2017 00:13:30 +0000 Message-ID: Subject: Re: sysutils/py-salt doesn't work with python3 | py36-salt fails to install To: Peter , freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 00:13:42 -0000 On Sat, 9 Sep 2017 at 3:46 am, Peter wrote: > On 09/07/17 16:00, Russell L. Carter wrote: > > On 09/07/17 11:00, Peter wrote: > >> All the python36 modules / python36 builds, and installs fine, but the > >> port fails to install; > > > > > https://docs.saltstack.com/en/latest/topics/installation/index.html#dependencies > > > > > > Python 2.6 >= 2.6 <3.0 > > > > I am not entirely certain, but I think my whole tree of > > python27 packages is only required by py-salt these > > days. > > > > HTH, > > Russell > > > > > True, did not look at the installation instructions for 2017.7..., only > the release notes which made it seem like python3 should work; > https://docs.saltstack.com/en/latest/topics/releases/2017.7.0.html#python-3 > and the latest commit comment in ports: > http://www.freshports.org/sysutils/py-salt > > ]Peter[ I suspect the installation instructions are out of date / have not been updated since 2017.7.0 which added python 3 support according to the release notes. Not sure why the install is failing, but I will try to have a look. Regards, Ben > -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@freebsd.org Sat Sep 9 00:15:35 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C420FE13CE6 for ; Sat, 9 Sep 2017 00:15:35 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B49270B7D for ; Sat, 9 Sep 2017 00:15:35 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x235.google.com with SMTP id n69so7613472ioi.5 for ; Fri, 08 Sep 2017 17:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=9JWSSjAaYqKZkmA1Himh/kzlzABoKZIXtubR0QHOJEY=; b=bW7AgeyILj38A7p5jHLmneNvBb9Ou9UPd6PbcKALuXJWCoR5psgvo80h23jiTPiQPX xXTSSexdngn5sNLmO2wiHeFsXzcIkBzHK0A9fxVCpgg88QH3NN4N3Ih5JNDq38Dnk/Nu YsJ7RGSO38HiemWkZyRe9488uXCuiHy+y7lQBBzVA+gqlW6YvUkNj0a4l9ENfSrX+bRs gxJCd1JFSukkTeATLgZcZV+hz7HeemBtKwidhbrssB+2IwShb+EPhuBM99/qUb6COWdr ogTYJyjmy8TPhtNoR+0eW3sYZYKvCM3CZ9XCyTsanbToU9RNgzJpzlsfu5H/CEPqZvpr eEdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=9JWSSjAaYqKZkmA1Himh/kzlzABoKZIXtubR0QHOJEY=; b=jnM+V/PMAA/Rz4rhwORi7crw1JHgZi+JjD5ECDo/bOsJ6V1DtibM1Y+j1vJN73h6Bd q14jVix3Mi+xH4RNNiaBYsNp/Co8RYMdb3DK1n0t+OyOI3s8gvfPx8kscGtK/BR1UtZF 38oYntnU3FH6jbKzGZ7lDNBE7IhnXVHQRsymzP6O7CPglW/XTeinFRzKx3MxEneq3Loa 175A8JLju4YlsByi6bh6BH1KR/T/j60aM3lN7o25JaaMUzMv0b59QqheQ/oG34G2IY7n o6/Gvd0EnEKeQbJa4dE3uSQ9I/YFcSBvyT9PZfWajrFdqrrb7sl4e0GIRf2Z6p0BCUpr sb9g== X-Gm-Message-State: AHPjjUgqpju1p82ghYRjPGknFB3uSlYAs/UVwWxo9mhncP/A9kvlS8dC HiXVEIbm60PkYVfY X-Google-Smtp-Source: AOwi7QCXxhGiWzZ/J+sdY6VG3R8kdb7aUQu5h1CPr8DfWuGeCIwYhx73p4Hj6rhBj+g6ajJZMG1s6Q== X-Received: by 10.107.148.209 with SMTP id w200mr5832335iod.83.1504916134645; Fri, 08 Sep 2017 17:15:34 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id e78sm1604793itc.44.2017.09.08.17.15.34 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Sep 2017 17:15:34 -0700 (PDT) Message-ID: <59B332A3.1000205@gmail.com> Date: Fri, 08 Sep 2017 20:15:31 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: script code for end-line 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 00:15:35 -0000 I have a file that has blank lines with ^M in position one. I have this if [ "$end-line" = "^M"]; then Is that the correct way to code that between the quotes? From owner-freebsd-questions@freebsd.org Sat Sep 9 00:42:59 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0813E15507 for ; Sat, 9 Sep 2017 00:42:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36E06719EC for ; Sat, 9 Sep 2017 00:42:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Sat, 09 Sep 2017 02:42:50 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 919A03CBF9; Sat, 9 Sep 2017 02:42:49 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v890gmTJ001922; Sat, 9 Sep 2017 02:42:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Sep 2017 02:42:48 +0200 From: Polytropon To: Adam Vande More Cc: FreeBSD Questions , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170909024248.6f679115.freebsd@edvax.de> In-Reply-To: References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170905225237.0276255a.freebsd@edvax.de> <20170905230625.7a282985.freebsd@edvax.de> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with DC6EE6835C0 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1560 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 00:42:59 -0000 On Tue, 5 Sep 2017 16:21:22 -0500, Adam Vande More wrote: > On Tue, Sep 5, 2017 at 4:06 PM, Polytropon wrote: >=20 > > On Tue, 5 Sep 2017 22:52:37 +0200, Polytropon wrote: > > > On Tue, 5 Sep 2017 14:13:04 -0500, Adam Vande More wrote: > > > > On Tue, Sep 5, 2017 at 1:49 PM, Polytropon wrote: > > > > > > > > > I'll try to express better: > > > > > > > > > > When the system boots, the screen uses 80x25 characters. The > > > > > character size depends on the screen size of course. With sc, > > > > > I get "big letters" on a 21" CRT, as intended. > > > > > > > > > > When booting with vt, the system starts booting with the 80x25 > > > > > mode, then switches to a font where I'd say the screen has > > > > > 160x100 characters (just a guess, I didn't count them actually). > > > > > Those are "small letters", even on a 21" CRT, too small for me > > > > > to be read conveniently. > > > > > > > > > > So what I need is a way to tell vt to display 80x25 characters > > > > > that "scale up", and generally make them look like the regular > > > > > sc text mode. > > > > > > > > > > > > > > > > > > > > > For the former, removing the previous advice from loader.conf > > would be > > > > > the > > > > > > first step. Then you should be able to find an acceptable sett= ing > > > > > > experimenting with vidcontrol eg resolution/fonts. > > > > > > > > > > With vidcontrol, I only get error messages. I think it ie tied > > > > > to sc? I also have no idea what font names to try... > > > > > > > > > > > > > Does your video hw requite kms? > > > > > > Which one doesn't? ;-) > > > > > > > > > > > > > If so, when is it loaded? It should > > > > loaded from loader.conf, not later. > > > > > > Yes, I have those entries in /boot/loader.conf: > > > > > > kern.vty=3Dvt > > > hw.vga.textmode=3D1 > > > i915kms_load=3D"YES" > > > > > > The system has an on-board Intel GPU. The system boots with the > > > normal ("native") 80x25, then clears the screen upon kernel load, > > > continues for a short while in that mode, still 80x25, then lets > > > the screen flicker, and finally run at 133x52 (counted "manually") > > > which isn't sufficiently readable for me anymore. The mouse cursor > > > is even harder to spot... > > > > > > But as I said, without vt + KMS, X doesn't work anymore. We seem > > > to live in modern times. ;-) > > > > > > > > > > > > > You may need to explicitly define: > > > > > > > > hw.vga.textmode=3D0 > > > > > > > > You can load fonts with: > > > > > > > > vidcontrol -f > > > > > > > > Fonts should be located in: > > > > > > > > /usr/share/vt/fonts/ > > > > > > Thanks for the pointer, I will try this now and report back about > > > the results. > > > > The results: > > > > With the configuration change, I can now select the fonts. > > While "gallant" seems to be the default font (no change if > > selected after system boots), the vgarom-* fonts are even > > worse. They seem to be made for ants. :-) > > > > I cannot get a "smaller" screen than 132x54 (now verified). > > I don't care if the letters aren't "pixel-perfect", but they > > need to be bigger. Is there an option to tell the system > > to "scale up" the font (so only 80x25 will fit)? > > > > The normal 80x25 text mode is something I'm really going > > to miss, and the change sc -> vt is causing me pain. In my > > eyes. I'd like to change everything back to sc, but that > > doesn't seem to be a possible way (causes X to stop working). > > And I haven't started yet to complain that I cannot use > > german =F6 =E4 =FC =D6 =C4 =DC and =DF anymore... > > > > Any further ideas what to try? > > >=20 > What does this output: >=20 > vidcontrol -i mode A long long list which I don't really understand... > You can drop in your own font perhaps with huge letters. There are some > instruction on the FreeBSD newcons wiki, but I've never tried them. That suggestion looks possible, but totally wrong. The user should not be required to manually download and insert arbitrary fonts just to restore console functionality that has been working without problems for decades. :-( > You could also try lowering the resolution: >=20 > kern.vt.fb.default_mode=3D"640x480" At 640x480, I get a text mode of 50x21. The text looks plain ugly and is blurry, with black lines distorting the image. If I set a lower value, like 320x200, the monitor switches off. As the machine for testing is not networked, I had to remove the SSD, attach it via USB to a different system, and then change /boot/loader.conf, simply because there is no way to edit /boot/loader.conf once the kernel is loaded and the screen resolution is changed. When the system boots, at an early point the message VT(vga): resolution 640x480 is shown, no matter what setting I put in the /boot/loader.conf file. I have experimented with the values and got the following modes: 640x480 -> 80x21 800x600 -> 62x23 1024x768 -> 78x34 Now that the text mode console is graphical, it seems to be really problematic to get something as simple as 80x25 working, probably because of the complex relationships between viewport size, font size, font scaling etc., and of course the problem that a CRT does not have a fixed size in pixels. Seems that I have to accept that text mode is no longer supported (in terms of "works as it used to do), and X terminals are the way to go for the future... > There is also the option of using the accelerated VESA mode: >=20 > https://forums.freebsd.org/threads/46723/ >=20 > That would allow you to continue to use sc, but may also sacrifice so vid= eo > flexibility. I will have a look at this soon. Maybe this will not play nicely with X, like classic sc caused problems? --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 9 00:44:44 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B63CE15694 for ; Sat, 9 Sep 2017 00:44:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF40471AE3 for ; Sat, 9 Sep 2017 00:44:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Sat, 09 Sep 2017 02:44:34 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7C5033CBF9; Sat, 9 Sep 2017 02:44:33 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v890iWWR001938; Sat, 9 Sep 2017 02:44:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Sep 2017 02:44:32 +0200 From: Polytropon To: Warren Block Cc: Adam Vande More , FreeBSD Questions , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170909024432.99c036e4.freebsd@edvax.de> In-Reply-To: References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with DA5F668344F X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1275 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 00:44:44 -0000 On Fri, 8 Sep 2017 11:43:57 -0600 (MDT), Warren Block wrote: > On Tue, 5 Sep 2017, Polytropon wrote: > > >> For the former, removing the previous advice from loader.conf would be the > >> first step. Then you should be able to find an acceptable setting > >> experimenting with vidcontrol eg resolution/fonts. > > > > With vidcontrol, I only get error messages. I think it ie tied > > to sc? I also have no idea what font names to try... > > Yes, it depends on VESA support by the video card. > > Instead, try the "gop" command in the loader to list and set modes. My 10.3 loader doesn't seem to know that command. Do I need to upgrade to 11? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 9 01:03:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 497EEE16536 for ; Sat, 9 Sep 2017 01:03:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B27BA722E1 for ; Sat, 9 Sep 2017 01:03:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Sat, 09 Sep 2017 03:02:58 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 5281D3CBF9; Sat, 9 Sep 2017 03:02:58 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v8912vLh002578; Sat, 9 Sep 2017 03:02:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Sep 2017 03:02:57 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: script code for end-line Message-Id: <20170909030257.d2718c00.freebsd@edvax.de> In-Reply-To: <59B332A3.1000205@gmail.com> References: <59B332A3.1000205@gmail.com> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 8EE3568344F X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1264 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 01:03:02 -0000 On Fri, 08 Sep 2017 20:15:31 -0400, Ernie Luzar wrote: > > I have a file that has blank lines with ^M in position one. > > I have this if [ "$end-line" = "^M"]; then > > > Is that the correct way to code that between the quotes? That will only match the literal string ^M (^ and M). String evaluation and comparison at this low level isn't a native skill of sh. There is a way of encoding characters as octal values, such as \015 for \r, which equals ^M and 0x0D, but /bin/test (which is [) can only compare strings. Here is a terrible workaround (not tested): if [ `echo ${end-line} | od -x | head -n 1 | awk '{ print $2 }'` = "000d" ]; then ... do something ... fi Check if there is already a tool for what you're trying to accomplish (e. g., tr, sed, recode, iconv). ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 9 01:23:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA0B6E17946 for ; Sat, 9 Sep 2017 01:23:42 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FB9172D55 for ; Sat, 9 Sep 2017 01:23:42 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from [192.168.1.2] ([62.183.127.59]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0LxgHz-1dNCAx32Kp-017CXj; Sat, 09 Sep 2017 03:23:33 +0200 Subject: Re: script code for end-line To: Polytropon , Ernie Luzar Cc: "freebsd-questions@freebsd.org" References: <59B332A3.1000205@gmail.com> <20170909030257.d2718c00.freebsd@edvax.de> From: Yuri Pankov Message-ID: Date: Sat, 9 Sep 2017 04:23:32 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170909030257.d2718c00.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:+38mDh2xhIfkE/WJoHDi3cfriv0QPrlXaZNBRddb9bl/mBNfZ74 n431KO6NzJjgXinPCFx0WTHTIn5BypyV/oVKG+tOnka8MjinZA3A13rXioidN2LFqUMSwyG lxQmf8WzKDqw3H904buHvZ32NlmOUdINfz3KBYXdNCAkKstFzX5IlCFsGFa34RPlVDLC298 fXtncmGb8zf0UqlmWIhSQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:1J0DReuHh6s=:qH0gfpoAoikzNhEWdfAtQi GCtRfG2i0EYLDSns4TTuOMacPbzcyyFqilnZ3DPkr+moQVhnKRCmYL9FELH15GPMnH1/tvR3M P1v9kp+/lsQlSrgTzaDKv7UbQTjP6DDxRSffPRIzA5Tyk+/7Z86jQCQjz32b6X8W7PTuQxuMl tYkFBecoLsms1Vl7pkFEltI8Kq2N/iTQEwYvLbJ9C+bAxmu2ui9GTdUlWamGANRGgzzYlIJcs h1anx355WacF3bSWuRPFHYwkwLKjpoppyygAL/A/Yj+mdH6b8HwYgSnIkVRL9JkJDmPmqVjyX F5dYUTI18E0pcgvm3TPC9LynbWmmljkV/Q86j5VkU/fCmLP67/tE505fVFShkIodGgiAj5ZPT xj+OkzpUHFB0mgPyV8z0+ofQviPPIrcTSU3Zr50H9OrWgRywz27LxlSWxFMyUdRryOJi1bn2l 9xVndt+KEcFZOihlsB/sxKRdpFTpZpJ/ICH22jiV4NduHiOSQL9muukguK+pfGyYZznSBKhMk kMeScK+4oLVxGX9Qw+u0fVN7dndV/DooxLnHUmlFX2MtjuWnriBihIOGwjmOKHTPt78JcnEFe oOlSoBk3+fMQcJ51QXUmvmxJhlN0RSDy6pRPXCxxSvgnFpX4qaV/r7DwTbj48HjrV7HDx5r4i 7e0GYj4qieJsrAiOuGcJp+EqQag12uqaTnnVhSnW6yS9a+Ts3TJKI7vuYfqX4Cxcy1GncmbkZ 2h/LnBY9UY0UNWSbIl7V+jZMzpxiXQ+vuTBeezQwrTlJzmZYZ8fVmilnDuRdl2rUoN/EbK+pJ 4Mp06hkg2EsNbrxNGDdTqkCh6Q6n7BFCcMDM6gNWrmlOHZ9PfM= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 01:23:43 -0000 On Sat, 9 Sep 2017 03:02:57 +0200, Polytropon wrote: > On Fri, 08 Sep 2017 20:15:31 -0400, Ernie Luzar wrote: >> >> I have a file that has blank lines with ^M in position one. >> >> I have this if [ "$end-line" = "^M"]; then >> >> >> Is that the correct way to code that between the quotes? > > That will only match the literal string ^M (^ and M). > String evaluation and comparison at this low level > isn't a native skill of sh. There is a way of encoding > characters as octal values, such as \015 for \r, which > equals ^M and 0x0D, but /bin/test (which is [) can only > compare strings. > > Here is a terrible workaround (not tested): > > if [ `echo ${end-line} | od -x | head -n 1 | awk '{ print $2 }'` = "000d" ]; then > ... do something ... > fi > > Check if there is already a tool for what you're trying > to accomplish (e. g., tr, sed, recode, iconv). ;-) Actually, you can insert real ^M characters and /bin/test should be able to handle them - press ctrl+V ctrl+M. From owner-freebsd-questions@freebsd.org Sat Sep 9 01:48:49 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65785E1980B for ; Sat, 9 Sep 2017 01:48:49 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:d16:10c3::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E12E73D37 for ; Sat, 9 Sep 2017 01:48:49 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (c-24-60-168-172.hsd1.ct.comcast.net [24.60.168.172]) by hz.citrin.ru (Postfix) with ESMTPSA id 929FC2C1790 for ; Sat, 9 Sep 2017 01:48:45 +0000 (UTC) Subject: Re: script code for end-line To: freebsd-questions@freebsd.org References: <59B332A3.1000205@gmail.com> From: Anton Yuzhaninov Message-ID: <88411fe0-888c-6d64-3830-a8cf5427e44b@citrin.ru> Date: Fri, 8 Sep 2017 21:48:41 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59B332A3.1000205@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1504921725; bh=Sd25vTxVrz6HLtSaTrSiYu57zfZjf3yTkBn4IUSSGag=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=qUFXqMXe4s1KTHNUfr2eqm9pK6bIuT7LibJv9ANkkucFmR+JB4c9Ombplf5TN1thJSqoLhvEyxI8LfXy+hw6Ueb7knQyLVH+7g+oLEaXuLaBMXo/0i7U47mn8YWyLdm8fQPkQm3IV1UAd7+zevFvqd4xYu3MGUn0j9ZPEWjKpU4= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 01:48:49 -0000 On 09/08/17 20:15, Ernie Luzar wrote: > I have a file that has blank lines with ^M in position one. > > I have this  if [ "$end-line" = "^M"]; then > > > Is that the correct way to code that between the quotes? The question looks like an XY-problem: http://xyproblem.info/ What you need to do with this file? From owner-freebsd-questions@freebsd.org Sat Sep 9 02:33:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A508EE1D6A2 for ; Sat, 9 Sep 2017 02:33:58 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 41B8575EA1 for ; Sat, 9 Sep 2017 02:33:57 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-115-1.bras2.adl6.internode.on.net (HELO leader.local) ([121.45.115.1]) by ipmail07.adl2.internode.on.net with ESMTP; 09 Sep 2017 11:58:48 +0930 Subject: Re: help with condensing bsd To: sorressean Cc: FreeBSD Questions References: From: Shane Ambler Message-ID: <807d043a-0947-0368-13ea-680194c1045e@ShaneWare.Biz> Date: Sat, 9 Sep 2017 11:58:45 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 02:33:58 -0000 On 09/09/2017 01:58, Adam Vande More wrote: > On Fri, Sep 8, 2017 at 11:04 AM, Littlefield, Tyler > wrote: > >> All: >> >> I wish to create a smaller BSD as I have a vps with a minimal amount of >> space. I know that I can buildworld and cut a lot of things out (does >> anyone have a good example from where to start)? >> >> My question is this: Once I buildworld and buildkernel, how do I package >> these up? I have a few systems that need this new buildworld and >> buildkernel, and i also want to replace the base iocage jail. >> > > You may wish to investigate tools like picobsd or nanobsd. There are other > ways to accomplish this of course, but those tools worked at least at one > point. I haven't tried them recently. > Both nanobsd and picobsd are custom freebsd builds and are included with the freebsd src tree, each has a man page for more info. While nanobsd is aimed at small embedded systems, picobsd has a smaller target of a single floppy disk. NanoBSD also has an article with some more info - https://www.freebsd.org/doc/en/articles/nanobsd/index.html -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Sat Sep 9 13:49:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60C4FE1784E for ; Sat, 9 Sep 2017 13:49:39 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 343A569D32 for ; Sat, 9 Sep 2017 13:49:38 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v89DnX7J046858 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 9 Sep 2017 07:49:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v89DnWuq046855; Sat, 9 Sep 2017 07:49:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 9 Sep 2017 07:49:32 -0600 (MDT) From: Warren Block To: Polytropon cc: Adam Vande More , FreeBSD Questions , Ernie Luzar Subject: Re: Restoring sc console look and feel with vt In-Reply-To: <20170909024432.99c036e4.freebsd@edvax.de> Message-ID: References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170909024432.99c036e4.freebsd@edvax.de> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Sat, 09 Sep 2017 07:49:33 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 13:49:39 -0000 On Sat, 9 Sep 2017, Polytropon wrote: > On Fri, 8 Sep 2017 11:43:57 -0600 (MDT), Warren Block wrote: >> On Tue, 5 Sep 2017, Polytropon wrote: >> >>>> For the former, removing the previous advice from loader.conf would be the >>>> first step. Then you should be able to find an acceptable setting >>>> experimenting with vidcontrol eg resolution/fonts. >>> >>> With vidcontrol, I only get error messages. I think it ie tied >>> to sc? I also have no idea what font names to try... >> >> Yes, it depends on VESA support by the video card. >> >> Instead, try the "gop" command in the loader to list and set modes. > > My 10.3 loader doesn't seem to know that command. Do I need to > upgrade to 11? I think that's correct. There are a bunch of technologies involved, including kernel mode switching (video drivers) and possibly UEFI, and the gop command might only have appeared recently. Somebody(TM) ought to try to get a comprehensive overview of how it all ties together and write an article. From owner-freebsd-questions@freebsd.org Sat Sep 9 14:26:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62231E19711 for ; Sat, 9 Sep 2017 14:26:45 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE7486AFE2 for ; Sat, 9 Sep 2017 14:26:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v89EQNR8087414; Sun, 10 Sep 2017 00:26:23 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 10 Sep 2017 00:26:23 +1000 (EST) From: Ian Smith To: Polytropon cc: freebsd-questions@freebsd.org, Warren Block , Adam Vande More Subject: Re: Restoring sc console look and feel with vt In-Reply-To: Message-ID: <20170909234837.P23641@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 14:26:45 -0000 In freebsd-questions Digest, Vol 692, Issue 7, Message: 13 On Sat, 9 Sep 2017 02:44:32 +0200 Polytropon wrote: > On Fri, 8 Sep 2017 11:43:57 -0600 (MDT), Warren Block wrote: > > On Tue, 5 Sep 2017, Polytropon wrote: > > > > >> For the former, removing the previous advice from loader.conf would be the > > >> first step. Then you should be able to find an acceptable setting > > >> experimenting with vidcontrol eg resolution/fonts. > > > > > > With vidcontrol, I only get error messages. I think it ie tied > > > to sc? I also have no idea what font names to try... > > > > Yes, it depends on VESA support by the video card. > > > > Instead, try the "gop" command in the loader to list and set modes. > > My 10.3 loader doesn't seem to know that command. Do I need to > upgrade to 11? For another reason I svnup'd HEAD sources yesterday to a (rapidly bitrotting) 9.3 system, so went on the hunt for mentions of 'gop'. I checked all man pages to do with booting, loader, etc. Nothing. Finally I ran case-insensitive grep over the whole tree, eventually digging _one_ out of a much bigger pile of irrelevant alphabet soup: root@x200:/usr/head/src/sys/boot/efi/loader # find . -type f -exec grep -Hi gop {} + ./arch/amd64/framebuffer.c:static EFI_GUID gop_guid = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID; ./arch/amd64/framebuffer.c:efifb_from_gop(struct efi_fb *efifb, EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE *mode, ./arch/amd64/framebuffer.c: EFI_GRAPHICS_OUTPUT *gop; ./arch/amd64/framebuffer.c: status = BS->LocateProtocol(&gop_guid, NULL, (VOID **)&gop); ./arch/amd64/framebuffer.c: return (efifb_from_gop(efifb, gop->Mode, gop->Mode->Info)); ./arch/amd64/framebuffer.c:COMMAND_SET(gop, "gop", "graphics output protocol", command_gop); ./arch/amd64/framebuffer.c:command_gop(int argc, char *argv[]) ./arch/amd64/framebuffer.c: EFI_GRAPHICS_OUTPUT *gop; ./arch/amd64/framebuffer.c: status = BS->LocateProtocol(&gop_guid, NULL, (VOID **)&gop); ./arch/amd64/framebuffer.c: status = gop->SetMode(gop, mode); ./arch/amd64/framebuffer.c: efifb_from_gop(&efifb, gop->Mode, gop->Mode->Info); ./arch/amd64/framebuffer.c: print_efifb(gop->Mode->Mode, &efifb, 1); ./arch/amd64/framebuffer.c: for (mode = 0; mode < gop->Mode->MaxMode; mode++) { ./arch/amd64/framebuffer.c: status = gop->QueryMode(gop, mode, &infosz, &info); ./arch/amd64/framebuffer.c: efifb_from_gop(&efifb, gop->Mode, info); That's all I can find without resort to google. See if it's on 10.3? Warren, are there any docs on this at all, even if only commit messages? and does this code imply that it's only useful for EFI boot? Poly, as someone else with 'senior' eyesight and a long memory, I feel your pain. I've been working in (lots of) 120 x 50 konsoles in old KDE on 14" LCD for years, but that's only easy on good days now, and I keep a magnifying glass handy - but that uses up one hand :) I wonder if a big LCD screen might fare better than a big CRT with this? cheers, Ian From owner-freebsd-questions@freebsd.org Sat Sep 9 14:58:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23C99E1B340 for ; Sat, 9 Sep 2017 14:58:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D86C6C072 for ; Sat, 9 Sep 2017 14:58:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Sat, 09 Sep 2017 16:58:46 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3AC913CBF9; Sat, 9 Sep 2017 16:58:44 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v89Ewhln002092; Sat, 9 Sep 2017 16:58:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Sep 2017 16:58:43 +0200 From: Polytropon To: Ian Smith Cc: freebsd-questions@freebsd.org, Warren Block , Adam Vande More Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170909165843.900c67f6.freebsd@edvax.de> In-Reply-To: <20170909234837.P23641@sola.nimnet.asn.au> References: <20170909234837.P23641@sola.nimnet.asn.au> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with 14AA77442E6 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1371 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 14:58:56 -0000 On Sun, 10 Sep 2017 00:26:23 +1000 (EST), Ian Smith wrote: > Poly, as someone else with 'senior' eyesight and a long memory, I feel > your pain. I've been working in (lots of) 120 x 50 konsoles in old KDE > on 14" LCD for years, but that's only easy on good days now, and I keep > a magnifying glass handy - but that uses up one hand :) The idea of 80x25 on a big screen is that you have readable text and a usable amount of information (!) on the screen especially in emergency situations where you really have no magical undo button, so you need to pay close attention on what you're doing. My personal experience is that 80x25 is a good mode for system recovery and early stage repairs, as well as for testing and fiddling with custom settings. In the past (and still possible on my home system), switching between X and console is easy and works all the time. Of couse you can do all this inside X (and even much easier than with vt), but that requires X to work. In single-user mode, there is no X, there is only one shell session. And if this shell session only presents letters a few millimeters high even on a huge 21" CRT, it raises the stress level of the operator who tries to rescue something... As I'm getting older and the world gets more modernerer than I can adjust to with buying new hardware every year, it seems that I have to accept that modern X and classic text mode do not work together anymore. I really appreciate the work that went into vt, especially the ability to use UTF-8 in "console mode" (which now is more a kind of special graphics mode), even though this is not something I urgently need. However, the inability of vt to replace sc's _basic_ functionality makes it hard for me to like it. I'd switch back to sc any day, but that causes one of the two following problems: a) after leaving X, the console is blank, or b) X doesn't even start. A decades old tradition broke. Of course, this all doesn't apply to systems with only remote access, or those that will only use X. Except myself, there will probably only be a handful of yesterdayian refuseniks who are still trying to work in text mode. And I'm not even trying to imagine if blind (!) users who have attached a Braille readout (usually the mechanical 80x1 or 80x2 "feel the characters" kind) to their system will be able to use text mode that isn't sc... > I wonder if a big LCD screen might fare better than a big CRT with this? Oh, that'll be where new problems are going to appear! It probably won't work in text mode anymore, will cause problems in X, won't be able to switch resolutions (my CRT can go from 320x200 up to 1400x1050 with Ctrl+Alt+[+] and Ctrl+Alt+[-] and by software - very convenient for lower fullscreen modes), and probably won't connect to my old hardware (no HDMI et al.). And I hesitate to replace something that perfectly works... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 9 15:28:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2453BE1CA83 for ; Sat, 9 Sep 2017 15:28:01 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD1526CDEB for ; Sat, 9 Sep 2017 15:28:00 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id n69so9589322ioi.5 for ; Sat, 09 Sep 2017 08:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=9XvM+dc26M2el2/KK5l5SVZu6WFrjynoasikWzv8m+w=; b=WYV7TskUfe1VHjPdniasdoa4VZwooWcXcZBk9fIb4yWIL06zEHa9My3gCb1metnjMZ OkavjQVvjps+pu1z5H7mHsTGIdX/cb/WjZLg1Qw8l5ZNNDQWGJmqZ5QGjxHx++1O8gUD cai8yrp9zBf7KfnvXW8bB86StbefyqCqi3+rVQkgckzTM01di6ntzvfW0bFsyCBLLS9y /oG2yYIWthIv0IlUXWn8W1cqOOnk/X83SQZLyqjrmfDkQ92ATTTgGT2W5QpNP0NLyxyb Ko5j/yUdV/BWVxtbx4S/kxXH7ET7S0C3WB9EjNc3zJQPBg6voeQJsXF4BekHDdmoVEW9 IWPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=9XvM+dc26M2el2/KK5l5SVZu6WFrjynoasikWzv8m+w=; b=N6UGeMV8qABMQDlYQ1n3WSIk/5y0gpiYDQ2Uu8lcriwNhNErF4cvhqhxRfnbYNw9xV bHkvLTYxeoi4cMZAmlKg7shkljM2m7gv3D3sZGhSNNOVYH6Obnu32MIJuB9Gm/M62Sli xMktDu1nq1nqn0zy1v8XfAVFBo+2chWUjiVfReB0gST58E1+TrmvjCihZJ38FmtK3BLG eHalpj/9xWHvsbB98eCjyNK2/UvxZ7WDla5LDU+HAhJNki3A1pRcJwnw4p1FS1Yv5PAc uJH759o9afr28uQbp7mKPZnRVN2Cpc7DTHb2U2BApXaIYe5OteZMHsb1FROWNnRD/lfj b/2A== X-Gm-Message-State: AHPjjUiUztuK6HcBnOjbhPwnxdR1gxtuUgTzWrAjJ7mW+FpN4D5ljc+/ sAiw7Nvb6GYGgA== X-Google-Smtp-Source: AOwi7QAagAyHj5h1B7z3jyV6bdkmHHAEBNp/xzWhPciLIHlH+jo4iduDKhtANrgsLL4jsBsekAemAA== X-Received: by 10.107.150.130 with SMTP id y124mr8185580iod.102.1504970880239; Sat, 09 Sep 2017 08:28:00 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id h13sm2245181ith.36.2017.09.09.08.27.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Sep 2017 08:27:59 -0700 (PDT) Message-ID: <59B4087B.2070005@gmail.com> Date: Sat, 09 Sep 2017 11:27:55 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Yuri Pankov CC: Polytropon , "freebsd-questions@freebsd.org" Subject: Re: script code for end-line References: <59B332A3.1000205@gmail.com> <20170909030257.d2718c00.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 15:28:01 -0000 Yuri Pankov wrote: > On Sat, 9 Sep 2017 03:02:57 +0200, Polytropon wrote: >> On Fri, 08 Sep 2017 20:15:31 -0400, Ernie Luzar wrote: >>> >>> I have a file that has blank lines with ^M in position one. >>> >>> I have this if [ "$end-line" = "^M"]; then >>> >>> >>> Is that the correct way to code that between the quotes? >> >> That will only match the literal string ^M (^ and M). >> String evaluation and comparison at this low level >> isn't a native skill of sh. There is a way of encoding >> characters as octal values, such as \015 for \r, which >> equals ^M and 0x0D, but /bin/test (which is [) can only >> compare strings. >> >> Here is a terrible workaround (not tested): >> >> if [ `echo ${end-line} | od -x | head -n 1 | awk '{ print $2 }'` = >> "000d" ]; then >> ... do something ... >> fi >> >> Check if there is already a tool for what you're trying >> to accomplish (e. g., tr, sed, recode, iconv). ;-) > > Actually, you can insert real ^M characters and /bin/test should be able > to handle them - press ctrl+V ctrl+M. > . > I read the man page on the test command and did not come away with the syntax to use in a script. An example showing usage inside of the "if" statement sure would be more helpful to understand how it works. Thanks From owner-freebsd-questions@freebsd.org Sat Sep 9 15:36:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D54FCE1D25D for ; Sat, 9 Sep 2017 15:36:19 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA9C46D2DD for ; Sat, 9 Sep 2017 15:36:19 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1504971374; x=1507563374; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=22FtkYTtRO7uxWFJColDNHQAbS8m++pkN3ETxJxdcgU=; b=VVZcFgo+AMiNHzJTldyQ+TMUA/kqmvoRxhmnLHofSFzqNVk2hFst0J3InMURnHRmLyVWHy/UxW0lofo1F/fgBQ6tNbZSt4DAcZaVT+oA9tMSLbQuUrczQQ6QBP8jdrwcKVMrqAmWVc8fbmAg+7e/pOSViOK2NZUjn4MJp6ksTwA= X-Thread-Info: NDI1MC4xMi5kZDAwMDAwMDlhZWFhYy5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r3.us-east.aws.in.socketlabs.com (r3.us-east.aws.in.socketlabs.com [54.165.229.15]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 9 Sep 2017 11:36:05 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r3.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 9 Sep 2017 11:36:09 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dqhnk-0003qv-1S for freebsd-questions@freebsd.org; Sat, 09 Sep 2017 15:36:08 +0000 Date: Sat, 9 Sep 2017 16:36:07 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170909163607.60ac4fe70da8475a1cc1f640@sohara.org> In-Reply-To: References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170909024432.99c036e4.freebsd@edvax.de> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 15:36:19 -0000 On Sat, 9 Sep 2017 07:49:32 -0600 (MDT) Warren Block wrote: > On Sat, 9 Sep 2017, Polytropon wrote: > > > My 10.3 loader doesn't seem to know that command. Do I need to > > upgrade to 11? > > I think that's correct. There are a bunch of technologies involved, > including kernel mode switching (video drivers) and possibly UEFI, and > the gop command might only have appeared recently. Somebody(TM) ought > to try to get a comprehensive overview of how it all ties together and > write an article. I'm not seeing a gop command on my 11.1 box. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Sep 9 16:20:47 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81D2CE1F750 for ; Sat, 9 Sep 2017 16:20:47 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from mail.pettijohn-web.com (pettijohn-web.com [108.61.222.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pettijohn-web.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 587E76E94E for ; Sat, 9 Sep 2017 16:20:46 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from [10.79.60.149] (mobile-166-172-122-130.mycingular.net [166.172.122.130]) by mail.pettijohn-web.com (OpenSMTPD) with ESMTPSA id 7ccd7499 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 9 Sep 2017 11:14:04 -0500 (CDT) Date: Sat, 9 Sep 2017 11:14:02 -0500 From: edgar To: Ernie Luzar , Yuri Pankov Cc: Polytropon , "=?utf-8?Q?freebsd-questions=40freebsd.org?=" Message-ID: <2b79276f-aa2a-47d1-810a-4594bda0beb1@localhost> In-Reply-To: <59B4087B.2070005@gmail.com> References: <59B332A3.1000205@gmail.com> <20170909030257.d2718c00.freebsd@edvax.de> Subject: Re: Re: script code for end-line MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 16:20:47 -0000 I think some example input may be helpful. It sounds like dos2unix may be useful. However, sed should be able to help as well. Either way without knowing exactly what the input may be and exactly what you want to accomplish it's hard to say. > > On Sep 9, 2017 at 10:27 AM, wrote: > > > Yuri Pankov wrote: > On Sat, 9 Sep 2017 03:02:57 +0200, Polytropon wrote: >> On Fri, 08 Sep 2017 20:15:31 -0400, Ernie Luzar wrote: >>> >>> I have a file that has blank lines with ^M in position one. >>> >>> I have this if [ "$end-line" = "^M"]; then >>> >>> >>> Is that the correct way to code that between the quotes? >> >> That will only match the literal string ^M (^ and M). >> String evaluation and comparison at this low level >> isn't a native skill of sh. There is a way of encoding >> characters as octal values, such as \015 for \r, which >> equals ^M and 0x0D, but /bin/test (which is [) can only >> compare strings. >> >> Here is a terrible workaround (not tested): >> >> if [ `echo ${end-line} | od -x | head -n 1 | awk '{ print $2 }'` = >> "000d" ]; then >> ... do something ... >> fi >> >> Check if there is already a tool for what you're trying >> to accomplish (e. g., tr, sed, recode, iconv). ;-) > > Actually, you can i nsert real ^M characters and /bin/test should be able > to handle them - press ctrl+V ctrl+M. > . > I read the man page on the test command and did not come away with the syntax to use in a script. An example showing usage inside of the "if" statement sure would be more helpful to understand how it works. Thanks _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sat Sep 9 16:33:26 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F343EE20107 for ; Sat, 9 Sep 2017 16:33:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 641C16EFD1 for ; Sat, 9 Sep 2017 16:33:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Sat, 09 Sep 2017 18:33:22 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 42C4E3CBF9; Sat, 9 Sep 2017 18:33:21 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v89GXKDJ003014; Sat, 9 Sep 2017 18:33:20 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Sep 2017 18:33:20 +0200 From: Polytropon To: edgar Cc: Ernie Luzar , Yuri Pankov , Polytropon , "freebsd-questions@freebsd.org" Subject: Re: script code for end-line Message-Id: <20170909183320.7899bcc0.freebsd@edvax.de> In-Reply-To: <2b79276f-aa2a-47d1-810a-4594bda0beb1@localhost> References: <59B332A3.1000205@gmail.com> <20170909030257.d2718c00.freebsd@edvax.de> <2b79276f-aa2a-47d1-810a-4594bda0beb1@localhost> Reply-To: Polytropon 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with A292768343B X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1285 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 16:33:27 -0000 On Sat, 9 Sep 2017 11:14:02 -0500, edgar wrote: > I think some example input may be helpful. It sounds like dos2unix > may be useful. However, sed should be able to help as well. Yes. In case "search & replace" is a way to go, tools like recode, iconv, sed or tr are a comfortable way to deal with ^Ms. > Either way without knowing exactly what the input may be and exactly > what you want to accomplish it's hard to say. It's also important to verify the variable contents at each stage, compared with the input format, for example, if the lines in question only contain ^M, that is \r, or \r\n (MS-DOS and "Windows" 2-byte line break); od -x is a convenient tool to find out. I have verified the following test to work for the "single byte scenario": if [ `echo -n ${end_line} | od -x | head -n 1 | awk '{ print $2 }'` = "000d" ]; then echo "CR" else echo "no CR" fi It's working in a Rube-Goldberg manner. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 9 16:38:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B335E204C3 for ; Sat, 9 Sep 2017 16:38:17 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.home.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B16C26F130 for ; Sat, 9 Sep 2017 16:38:15 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id v89Gc50r038702; Sat, 9 Sep 2017 17:38:06 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: script code for end-line To: Ernie Luzar , Yuri Pankov Cc: Polytropon , "freebsd-questions@freebsd.org" References: <59B332A3.1000205@gmail.com> <20170909030257.d2718c00.freebsd@edvax.de> <59B4087B.2070005@gmail.com> From: Arthur Chance Message-ID: Date: Sat, 9 Sep 2017 17:38:05 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59B4087B.2070005@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 16:38:17 -0000 On 09/09/2017 16:27, Ernie Luzar wrote: > Yuri Pankov wrote: >> On Sat, 9 Sep 2017 03:02:57 +0200, Polytropon wrote: >>> On Fri, 08 Sep 2017 20:15:31 -0400, Ernie Luzar wrote: >>>> >>>> I have a file that has blank lines with ^M in position one. >>>> >>>> I have this  if [ "$end-line" = "^M"]; then >>>> >>>> >>>> Is that the correct way to code that between the quotes? >>> >>> That will only match the literal string ^M (^ and M). >>> String evaluation and comparison at this low level >>> isn't a native skill of sh. There is a way of encoding >>> characters as octal values, such as \015 for \r, which >>> equals ^M and 0x0D, but /bin/test (which is [) can only >>> compare strings. >>> >>> Here is a terrible workaround (not tested): >>> >>> if [ `echo ${end-line} | od -x | head -n 1 | awk '{ print $2 }'` = >>> "000d" ]; then >>>     ... do something ... >>> fi >>> >>> Check if there is already a tool for what you're trying >>> to accomplish (e. g., tr, sed, recode, iconv). ;-) >> >> Actually, you can insert real ^M characters and /bin/test should be >> able to handle them - press ctrl+V ctrl+M. >> . >> > > I read the man page on the test command and did not come away with the > syntax to use in a script. An example showing usage inside of the "if" > statement sure would be more helpful to understand how it works. As we're talking Bourne shell, "man sh" and look for the $'...' string form. Dollar-Single Quotes Enclosing characters between $' and ' preserves the literal mean‐ ing of all characters except backslashes and single quotes. A backslash introduces a C-style escape sequence: -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Sat Sep 9 18:07:29 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6974E249C2 for ; Sat, 9 Sep 2017 18:07:29 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9935071D99 for ; Sat, 9 Sep 2017 18:07:29 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x244.google.com with SMTP id j141so1568703ioj.5 for ; Sat, 09 Sep 2017 11:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=/bZOCDB2/IxJyRGh8N8/Iish8gOfym07u+z2lVmT7D0=; b=R0617Mr6UieFr1GUJHKm2JeBQEtW0AIL/gyUc9wAhQVf+fbarmQk9FpR9NOL5gh42c 23HVAe3YrqvzJ5T9Dv0tKIRc/8xyeGTBXqkZlrQWppEbWtyd0JxuKZe2nWO6yPy2b4co 2n2Uoo/IXEos1Xkz9bjmiJjF5HFRwJ5/Qk2bnGgWt4pWxxrMA795HPBzcwY0bQCKXtR0 7zZhQMOXD+hB9ouwz3n4admg5NfR9sMurK97pGZ34PLQGn7dfdCb/qoR/7SCxiVL3rzN 46DnL4tNEUaTw3XhsCI26WrGgKwtTLA6TZCWPSycU/7KFhpWEhRBbrbsfLtWh7471vC6 wabw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=/bZOCDB2/IxJyRGh8N8/Iish8gOfym07u+z2lVmT7D0=; b=fyCtAINBtUcC8MxQgBV74n6kTCxBtySrSCyQmAMRlfD6DPO1fN4JZJdXHiNuMt0d6c xUgxAhiNTrdnOvLhfC1c1xJx3vbbhq2SfNjUbmXWiw8TKHTKOZyRsMRmPuzoGfHfHtbs Ruk+na21Q4eXuYSzU0OTQ7t4z5ry3lnrhT17sGrOBbzDJniR5E1H9Lq3NkP2Udw0VSsB yrgq5y034wb1BJbueX52GnEBFZxkkSsZnU1+wFOtB8pBDT4D7reYgF4LmxUmfvqDRqrw Lps0N/7q4HNQ4zVFyBrsTiDmdBuTQWUDT2OgRhpnfAoUURfWXubPfNuslGxrIvIn0eeg a1xQ== X-Gm-Message-State: AHPjjUi8uRFA2pZHA+SJReBRvZl0owvW7EMkoHKWDLLOmSd69RW0cuQN eQNa6OAHIN9WDg== X-Google-Smtp-Source: AOwi7QCuwM+x6vCwK69zeFvPnIMGCKM4slsQqJp36mbUuAUfjdh2Vp6GwhcFYjvis02AXhMCgaqiYA== X-Received: by 10.107.15.95 with SMTP id x92mr8398126ioi.37.1504980449023; Sat, 09 Sep 2017 11:07:29 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id a29sm2394167itj.13.2017.09.09.11.07.28 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Sep 2017 11:07:28 -0700 (PDT) Message-ID: <59B42DDF.8000603@gmail.com> Date: Sat, 09 Sep 2017 14:07:27 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Polytropon CC: edgar , Yuri Pankov , "freebsd-questions@freebsd.org" Subject: Re: script code for end-line References: <59B332A3.1000205@gmail.com> <20170909030257.d2718c00.freebsd@edvax.de> <2b79276f-aa2a-47d1-810a-4594bda0beb1@localhost> <20170909183320.7899bcc0.freebsd@edvax.de> In-Reply-To: <20170909183320.7899bcc0.freebsd@edvax.de> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 18:07:29 -0000 Polytropon wrote: > On Sat, 9 Sep 2017 11:14:02 -0500, edgar wrote: >> I think some example input may be helpful. It sounds like dos2unix >> may be useful. However, sed should be able to help as well. > > Yes. In case "search & replace" is a way to go, tools like recode, > iconv, sed or tr are a comfortable way to deal with ^Ms. > Reading this turned the light on in my head. I remembered using the tr command before. It took care of the problem in a different way. Thank you Polytropon for the mind tickler, and thanks to all the others who replied as it was a learning experience. From owner-freebsd-questions@freebsd.org Sat Sep 9 18:10:44 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65D87E24D47 for ; Sat, 9 Sep 2017 18:10:44 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067045.outbound.protection.outlook.com [40.92.67.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE44472168 for ; Sat, 9 Sep 2017 18:10:43 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=InrvPUV/Elqd/8mVdbBNzsHhamXM+IgRaTN+vC+kHmU=; b=g4l5rk3VKJHaXfnTgop8OWombSfDAJPVUtAXros1eAwbn4dDY4/ozYQMKmHamp3Xl9Qua0TKmlwnxbq8hwkO4Dr+NBkobDo8UfDhoCg9geUgI16fN2FLlIueFBz7L/laY3rXopaEfT3gAeBvPjjh8/3wW/DM4z9ajkSW/mDPMeCPZpRYdMIOrGDnCd7UzRetUOiF7eOiB2WSC/INBNprEA15aCw9msaQ8aJTaCn1gURNKSxnixd9h7cSjC6RCUt/XI+Q3DSNEVOAS6YvznVXKcQ4AMLzcNL559PmAH7TYDz5tUkFM4swsebd9WW1XUKMzTbDeoSWw+PA6rvEL3uWFw== Received: from AM5EUR02FT030.eop-EUR02.prod.protection.outlook.com (10.152.8.53) by AM5EUR02HT071.eop-EUR02.prod.protection.outlook.com (10.152.9.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.13.11; Sat, 9 Sep 2017 18:10:41 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.8.53) by AM5EUR02FT030.mail.protection.outlook.com (10.152.8.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.13.11 via Frontend Transport; Sat, 9 Sep 2017 18:10:41 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb%13]) with mapi id 15.20.0013.023; Sat, 9 Sep 2017 18:10:41 +0000 From: Manish Jain To: "freebsd-questions@freebsd.org" Subject: Why does wc increase character count by 1 ? Thread-Topic: Why does wc increase character count by 1 ? Thread-Index: AQHTKZbynBR6/FC+GUCUNzUDTB8zFw== Date: Sat, 9 Sep 2017 18:10:41 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:7BCD588DC59F87120E4796097F1F13713CB9C6274B94C8CAA8B270733C95D5DD; UpperCasedChecksum:4C21E5144C6AA2D79D1F7FA5252E8986556713DF100AE1AD50F0B42B165FF88C; SizeAsReceived:6944; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [cmvbfC79XGUKoOKvRXFwSNHJ4HxSRVy6] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM5EUR02HT071; 6:UmK/oas64mws0ljuxImkWMdWPS8yeQDJ5L1giccNzoh0rI9n44M2QYkYdeBpP4MBBvaWky5DulYZV5LHeC9GoYXQGNoqUvQdH1cJcwaRJ6a9J80iB3sq/VICbHPYXLGUlrUF3610cmFUoYxOlRDHYNNsojtFFtJODSBIPu9nZl2LHH3kia9D6UJuTVyK58qbM70ufyfItqiIz7hLc7IDqqZ8ACzenvRQ757CRi3+vjLeywOS2g89BjZLNySp4RHE1wpFeUvFr/DegvTyKbBqWcgjyKCssoBgDrWQO/cfbJj8/M8na+JvuGhjsm5HfS3OYI6NDjfSnX6PXyrcdl1h3w==; 5:2nWBenedi6hCIpM8rSI9JEWvQkgNIZGSSoNLPxVSowGqnmO6K+YFWpLJX47FsiU+CnJkvPsLqDTi205mEsKu+fcZrTr2tYMtf2fpd5Rbe+bAv3g0H78bflbPsD9M3R4pZTdGiXUnE1IES3N60JDxrA==; 24:dZYmCcJWMtO6Wv42ajjk/QyblqJnaP4jdTESsrl97U2u+meN1AzMe34KLhF6wCUIk9cs6sebbVK0Jga/KViDuRPuZAFYgHPDeJXPGl2jp20=; 7:OkMwZOtt9ku8g0J6n8/mKIL6KI3Vcpf3DZyj8ERjc0XThFnoWOwBxWUdcldrID80fwZz5SnGSG161/rwppNRhZhiWxDEwWuzFU1UiL26mFCRLzHQABZH2nuZxCDufAAAqgo/fnGRbZIM/QACUaJIyKtSZ8Sf7uaXT3ccuZQ+tHMxu1HRcPMEfGWA7IDEGELR3F8d76DoYFWRPYQH70gE8V2L9xPgqc24wobHbWC0PYY= x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: ba242448-7f96-4d68-ac63-08d4f7ae1499 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5EUR02HT071; x-ms-traffictypediagnostic: AM5EUR02HT071: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:AM5EUR02HT071; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5EUR02HT071; x-forefront-prvs: 0425A67DEF x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:AM5EUR02HT071; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <38225D83E68927478B7D629875F37DC6@eurprd02.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2017 18:10:41.5099 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT071 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 18:10:44 -0000 SGksDQoNCmVjaG8gImFiYyAxMjMiIHwgd2MgLWMNCg0KSSB3b3VsZCBleHBlY3Qgd2MgdG8gb3V0 cHV0IDcsIGJ1dCBhY3R1YWxseSBJIGdldCA4Lg0KDQpJbmRlZWQsIEkgc2VlIHNpbWlsYXIgYmVo YXZpb3VyIHdpdGggJ2VjaG8gfCB3YyAtYycNClRoaXMgc2hvdWxkIHByb2R1Y2UgMCwgYnV0IEkg Z2V0IDENCg0KV2hhdCBtaWdodCBiZSB0aGUgcHJvYmxlbSA/IFRoYW5rcyBmb3IgYW55IHRpcHMu DQpNYW5pc2ggSmFpbg0K From owner-freebsd-questions@freebsd.org Sat Sep 9 18:15:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0A81E002BC for ; Sat, 9 Sep 2017 18:15:01 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40BD3724A2 for ; Sat, 9 Sep 2017 18:15:01 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wr0-x22f.google.com with SMTP id 108so8666854wra.5 for ; Sat, 09 Sep 2017 11:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Yp/BGqbNfewKAss+SRzvnzXbFo0Nu2viyPg4tvuJY1I=; b=NvxVj7ZlODWCpOT9ERxEfTJ+Mk790fsk0pYrOvh1tdpiMTegj4A5uTWu/OamUu0P37 g7nMIjkLWBbgRwixvjicNgMU7sZRMEf/WumLfsBNznTiuPgJ0G2oSr8RP1X56AsmwYE+ znPM0fTlQZHtmHuNG8BV/osed+c9oghKeRmXMLr1dLJOcYoMUkoK/CAGbU/JC1xYCm1t BAHsAZS6YvYc4K1riamuI0R0ElqsnXiyB9PqGX79oQVWthTAJVu/HJzDJvbBIxZcyGsR gv2wFJhp+UL/TOC2bMCDCmzr/y2JC/aST9Y/oFVE5lThq+TZpBCZ5dEzyjAUI+BC51c3 haTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=Yp/BGqbNfewKAss+SRzvnzXbFo0Nu2viyPg4tvuJY1I=; b=WfgrpRp/ABVhQy5TgfU1nazBaD2CxxRt5JIo7CPL1hZd0a0LQ+vMqv8jlSquMYC3pF LUdbwHy9gM9n3Dbu1WuNrfajuHCFfzNhEo0/9pguPqFtOhrAPkGx5lp2eEPzpSfw7EiT UnFhkp5yj+cVQfr/OJEBSayrY8gAWByUet58YR42qmMG+ERG26c5oMFpk/nAN0wbNvAY FVv4Jy/XQSpdPa2RHsbAlLbWRKEajQEY60s3fS66eNDtqFafr83DxZzb2QTXvhjCYKDl HEKlYhMvAaM6E9cbHckcRPvrddx7zbZiktocc9ZCXE6v4++ZtTSi6yoiXB6jZyI416Hg qbHw== X-Gm-Message-State: AHPjjUi92n1vdZPhjGKnDStPBxyRJaDe0GxFD++JwtmWmUtn3LWh9rYS ndL6YJmTXZw5Hw== X-Google-Smtp-Source: ADKCNb6+WaH0MrT8a0WMprMGlgUUgHoJSNn46orUV8MzG2whPe/51jAl1LpxldU5GKIwWcBHxKPO3A== X-Received: by 10.223.163.83 with SMTP id d19mr4630426wrb.84.1504980898587; Sat, 09 Sep 2017 11:14:58 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2001:8b0:fe33::10]) by smtp.gmail.com with ESMTPSA id f43sm5654353wra.79.2017.09.09.11.14.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2017 11:14:58 -0700 (PDT) Date: Sat, 9 Sep 2017 19:14:56 +0100 From: Matt Smith To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: Why does wc increase character count by 1 ? Message-ID: <20170909181455.GB82102@gmail.com> Mail-Followup-To: Matt Smith , Manish Jain , "freebsd-questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 18:15:01 -0000 On Sep 09 18:10, Manish Jain wrote: >Hi, > >echo "abc 123" | wc -c > >I would expect wc to output 7, but actually I get 8. > >Indeed, I see similar behaviour with 'echo | wc -c' >This should produce 0, but I get 1 > >What might be the problem ? Thanks for any tips. >Manish Jain It's counting the \n linefeed. Try these: echo "abc 123" | od -c echo -n "abc 123" | od -c echo -n "abc 123" | wc -c -- Matt From owner-freebsd-questions@freebsd.org Sat Sep 9 18:22:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CDF2E00A1C for ; Sat, 9 Sep 2017 18:22:24 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp1.bway.net (smtp1.v6.bway.net [IPv6:2607:d300:1::27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E013B729C6 for ; Sat, 9 Sep 2017 18:22:23 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-161.dsl.bway.net [216.220.115.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id 0E37F958B1 for ; Sat, 9 Sep 2017 14:22:10 -0400 (EDT) Date: Sat, 9 Sep 2017 14:22:10 -0400 From: mfv To: freebsd-questions@freebsd.org Subject: Re: Why does wc increase character count by 1 ? Message-ID: <20170909142210.23ed38e2@gecko4> In-Reply-To: References: Reply-To: mfv@bway.net 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 18:22:24 -0000 > On Sat, 2017-09-09 at 18:10 Manish Jain > wrote: > >Hi, > >echo "abc 123" | wc -c > >I would expect wc to output 7, but actually I get 8. > >Indeed, I see similar behaviour with 'echo | wc -c' >This should produce 0, but I get 1 > >What might be the problem ? Thanks for any tips. >Manish Jain >_______________________________________________ >freebsd-questions@freebsd.org mailing list >https://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" Hello, It appears to be counting the new line. Use "echo -n" to NOT count the new line. echo "abc 123" | wc produces: 1 2 8 echo -n "abc 123" | wc produces: 0 2 7 Cheers ... Marek From owner-freebsd-questions@freebsd.org Sat Sep 9 18:35:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C345E014DF for ; Sat, 9 Sep 2017 18:35:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F3F1572F46 for ; Sat, 9 Sep 2017 18:35:22 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v89IZBCe026610 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 9 Sep 2017 12:35:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v89IZBA6026607; Sat, 9 Sep 2017 12:35:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 9 Sep 2017 12:35:11 -0600 (MDT) From: Warren Block To: Ian Smith cc: Polytropon , freebsd-questions@freebsd.org, Adam Vande More Subject: Re: Restoring sc console look and feel with vt In-Reply-To: <20170909234837.P23641@sola.nimnet.asn.au> Message-ID: References: <20170909234837.P23641@sola.nimnet.asn.au> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Sat, 09 Sep 2017 12:35:11 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 18:35:23 -0000 On Sun, 10 Sep 2017, Ian Smith wrote: [gop] > Warren, are there any docs on this at all, even if only commit messages? > and does this code imply that it's only useful for EFI boot? I don't think so. At one point, I was trying to write some. It would also be useful to know where this could be set permanently. Someone claimed this could be set in a config file, probably loader.conf, but I tested it without success. > Poly, as someone else with 'senior' eyesight and a long memory, I feel > your pain. I've been working in (lots of) 120 x 50 konsoles in old KDE > on 14" LCD for years, but that's only easy on good days now, and I keep > a magnifying glass handy - but that uses up one hand :) > > I wonder if a big LCD screen might fare better than a big CRT with this? I don't see how there would be a difference, unless maybe it is limited to what the monitor supports and reports in the EDID data, and the CRT monitor has a lower supported maximum resolution. On systems where I never plan to use X, I use hw.vga.textmode=1. It's been a while since I investigated this, so I have probably forgotten important details. From owner-freebsd-questions@freebsd.org Sat Sep 9 19:05:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 695EEE02DEE for ; Sat, 9 Sep 2017 19:05:12 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4190273F67 for ; Sat, 9 Sep 2017 19:05:12 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1504983906; x=1507575906; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=JuFCnDp+ZwueRDEF4hC1jk/uMXE3tLck9O+s9YlxI6U=; b=Duw59FN9yzqOqv1LTI46vxAPme+micCB1kp8225pkeilh01A50N3Tj3kPvuXThtIMLdbqAXGF1POJlfsCMBcMKEI9OIaWttG5peUboPOKPD7u97Puw6z8jzVOXhWB1AZFcjV0qP135YWofq14h+uva8vz9kuK872bHmf6/6QOvQ= X-Thread-Info: NDI1MC4xMi5kZDAwMDAwMDliNmE0NC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r1.h.in.socketlabs.com (r1.h.in.socketlabs.com [142.0.180.11]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 9 Sep 2017 15:05:03 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r1.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 9 Sep 2017 15:05:08 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dql3y-0005aV-DW; Sat, 09 Sep 2017 19:05:06 +0000 Date: Sat, 9 Sep 2017 20:05:06 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: mfv@bway.net Subject: Re: Why does wc increase character count by 1 ? Message-Id: <20170909200506.73e0e8e4987a388acb33c7dc@sohara.org> In-Reply-To: <20170909142210.23ed38e2@gecko4> References: <20170909142210.23ed38e2@gecko4> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 19:05:12 -0000 On Sat, 9 Sep 2017 14:22:10 -0400 mfv via freebsd-questions wrote: > Use "echo -n" to NOT count the new line. s/count/produce/ -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Sep 9 19:26:30 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 615C8E0428B for ; Sat, 9 Sep 2017 19:26:30 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 200CF74EBE for ; Sat, 9 Sep 2017 19:26:29 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.135.251] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1dqkHD-0006re-9H; Sat, 09 Sep 2017 20:14:43 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v89IEeHo002983 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 9 Sep 2017 20:14:40 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v89IEdXg002982; Sat, 9 Sep 2017 20:14:39 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 9 Sep 2017 20:14:38 +0200 From: Matthias Apitz To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: Why does wc increase character count by 1 ? Message-ID: <20170909181438.GA2868@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Manish Jain , "freebsd-questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.251 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 19:26:30 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa s=C3=A1bado, septiembre 09, 2017 a las 06:10:41p. m. +0000, Man= ish Jain escribi=C3=B3: > Hi, >=20 > echo "abc 123" | wc -c >=20 > I would expect wc to output 7, but actually I get 8. >=20 > Indeed, I see similar behaviour with 'echo | wc -c' > This should produce 0, but I get 1 >=20 > What might be the problem ? Thanks for any tips. > Manish Jain $ echo "abc 123" | od -c 0000000 a b c 1 2 3 \n 0000010 As you see, echo adds one by of \n matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d= e/ =E2=98=8E +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub 8. Mai 1945: Wer nicht feiert hat den Krieg verloren. 8 de mayo de 1945: Quien no festeja perdi=C3=B3 la Guerra. May 8, 1945: Who does not celebrate lost the War. --AqsLC8rIMeq19msA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlm0L4sACgkQR8z35Hb+ nRGzKA/9EcBufrtVWGUtDA3q5Q0BwNKYNXgeKG4iSXuNHTT8uS+qw4OcPMuo5yda tiZrAFUcnhFjLxIR0icaMSLsoh6o0UYldiv2xi6tAdRT8k+RWR196eX8SBcwwkhZ 2WALd6zZshPgsWNiLxuyNQAXmiXjsKHs8/lPvzGx/249XbUwMjZ8bEb0naboNKYJ 7fBz885rVMNpTpwejP6bALAGAZOKva/wKN50bRCJEgw9cOnDKojvQaU6+W1wBPIg 1yXCnf5SGeEiaacM7+XSb6IupjAHC9UObixoRqou6MDfQ9bOKw8e/Jwfx76C+GLF iFdDjniPFiNUUTSKw7jQetoUOFAMwh4psidzYPpqzqI8vszhvuscTwezHnCzEtT9 PbJbvnlhY/DxoKCrFiZoS2+tLcLr5nLTgsWe+VE3hK2ntLhg5g0uVNDmQp3ZPq+a wkqAev+weoMOUx0zrXwtb284rshSBmEfSToOUtO5m7J7RlvmZUkn7jZSGOmL/kJP PDOKQVwBqLrrZ2F09vXjvIdqPQ3DtEsms9s3TjFYKdnBuE/jRSk6V6x+6dvEotkq xQA+GokxU1RDQ1CC82/zQ3sKSrDKghMm2tjJoonD0BJC95c4dhxxC7znCh3C1E4s su21lUfxfJiqC4hWRVhLmn+PhI/JOfK8WZrcW/wRhnj/aFy4ycA= =tZu4 -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-freebsd-questions@freebsd.org Sat Sep 9 19:29:29 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FDEEE04538 for ; Sat, 9 Sep 2017 19:29:29 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp2.bway.net (smtp2.bway.net [216.220.96.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D2FC75020 for ; Sat, 9 Sep 2017 19:29:28 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-161.dsl.bway.net [216.220.115.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id 9B527958B3; Sat, 9 Sep 2017 15:29:15 -0400 (EDT) Date: Sat, 9 Sep 2017 15:29:15 -0400 From: mfv To: Steve O'Hara-Smith Cc: freebsd-questions@freebsd.org Subject: Re: Why does wc increase character count by 1 ? Message-ID: <20170909152915.310621cb@gecko4> In-Reply-To: <20170909200506.73e0e8e4987a388acb33c7dc@sohara.org> References: <20170909142210.23ed38e2@gecko4> <20170909200506.73e0e8e4987a388acb33c7dc@sohara.org> Reply-To: mfv@bway.net 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 19:29:29 -0000 > On Sat, 2017-09-09 at 20:05 Steve O'Hara-Smith > wrote: > >On Sat, 9 Sep 2017 14:22:10 -0400 >mfv via freebsd-questions wrote: > >> Use "echo -n" to NOT count the new line. > > s/count/produce/ > Hello, Yes, indeed. That is a significant distinction. Cheers ... Marek From owner-freebsd-questions@freebsd.org Sat Sep 9 22:03:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 747FCE0D44F for ; Sat, 9 Sep 2017 22:03:07 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4171F7F8C1 for ; Sat, 9 Sep 2017 22:03:07 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x242.google.com with SMTP id y123so2592859iod.0 for ; Sat, 09 Sep 2017 15:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=Ygg7EOeWv8YriVZDVJjrv2Hb3vRgOO0trL1op8Xp3ME=; b=LHjxuKjeBKHdAiwqm7t96+ClrmTpYb9Tytd43ZBca/mEhVv68E/TqIUrw1rzj8i+1J P6jji/8M9WZFoggt+SUGbXn1mM6a8Zh+4IFbAt3o6ZFQeCfRzSwWHB+i5Dv7wJKyakHU ZlHhmIGMl1K791hX3RPrIKSZqTGFymqMEpM8qXM1jA4JoBQf51VyAoR4Dw95FdM9icO2 Pj87Pa9A0g62hbRbL6jQkMn3kMRcTnVsxPTV+AruZQs7DhK79zn7ODqq2WkEF0oTlkTy HtqsEoXH7bfO6XQPIft4tum32h7END5toYuxE4vAm5sl6A5wYbLpaZEMAP5Bd0UBs3xe Yd6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=Ygg7EOeWv8YriVZDVJjrv2Hb3vRgOO0trL1op8Xp3ME=; b=WkUpnrKr7WdRSB1HWV7rEOinSQBULCcAHUpQnYT1OEt4WxknyW5pwKNgJ5Deyw0BSc V9B2aTqRPme2zfZUb47P6DLtNf06B4gYsQwkW5ta+SDm48pML6VB43mqSr00wTffmWXc JHKe8zOvjPVLJ8GGwjLxyOH6sYeFTEOrrguhEX/andaJvx8sxO1a5Xf0x42pxnefwgIk MKjuNAub7sUZLnLTjiBGaY6B1b/toZcR8GJwUcJPOzEXw8C+YoGmKLEfBuSpYkmYhazL rKPqKB0mYvl6PmC6LbXiE+S/ExvCO0jEqjGgP1eP5C0OsB6wqabOizrYT6cspNXP4Zgw 355A== X-Gm-Message-State: AHPjjUgYY7cvH0nKenSndMaBAdx2qxjnmEhpl/kq6kTh87x2UWONrILW ZCT8iJD1uWu0jQ== X-Google-Smtp-Source: ADKCNb5Xas7ZqrQQoFo4yJHIQkbv9GxYOPielpmp08uf0cOVHxDn6ByiYtZxqK8P1Wvpkel4vf5mhg== X-Received: by 10.107.159.141 with SMTP id i135mr8691949ioe.300.1504994586534; Sat, 09 Sep 2017 15:03:06 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id f199sm2546960iof.31.2017.09.09.15.03.05 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Sep 2017 15:03:05 -0700 (PDT) Message-ID: <59B46519.6090700@gmail.com> Date: Sat, 09 Sep 2017 18:03:05 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Polytropon CC: Ian Smith , Adam Vande More , freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt References: <20170909234837.P23641@sola.nimnet.asn.au> <20170909165843.900c67f6.freebsd@edvax.de> In-Reply-To: <20170909165843.900c67f6.freebsd@edvax.de> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 22:03:07 -0000 Polytropon wrote: > On Sun, 10 Sep 2017 00:26:23 +1000 (EST), Ian Smith wrote: >> Poly, as someone else with 'senior' eyesight and a long memory, I feel >> your pain. I've been working in (lots of) 120 x 50 konsoles in old KDE >> on 14" LCD for years, but that's only easy on good days now, and I keep >> a magnifying glass handy - but that uses up one hand :) > > The idea of 80x25 on a big screen is that you have readable text > and a usable amount of information (!) on the screen especially > in emergency situations where you really have no magical undo button, > so you need to pay close attention on what you're doing. My personal > experience is that 80x25 is a good mode for system recovery and > early stage repairs, as well as for testing and fiddling with > custom settings. > > In the past (and still possible on my home system), switching > between X and console is easy and works all the time. Of couse > you can do all this inside X (and even much easier than with vt), > but that requires X to work. In single-user mode, there is no X, > there is only one shell session. And if this shell session only > presents letters a few millimeters high even on a huge 21" CRT, > it raises the stress level of the operator who tries to rescue > something... > > As I'm getting older and the world gets more modernerer than I > can adjust to with buying new hardware every year, it seems that > I have to accept that modern X and classic text mode do not work > together anymore. I really appreciate the work that went into vt, > especially the ability to use UTF-8 in "console mode" (which now > is more a kind of special graphics mode), even though this is not > something I urgently need. However, the inability of vt to replace > sc's _basic_ functionality makes it hard for me to like it. > > I'd switch back to sc any day, but that causes one of the two > following problems: > > a) after leaving X, the console is blank, or > > b) X doesn't even start. > > A decades old tradition broke. > > Of course, this all doesn't apply to systems with only remote > access, or those that will only use X. Except myself, there will > probably only be a handful of yesterdayian refuseniks who are > still trying to work in text mode. > > And I'm not even trying to imagine if blind (!) users who have > attached a Braille readout (usually the mechanical 80x1 or 80x2 > "feel the characters" kind) to their system will be able to use > text mode that isn't sc... > > > >> I wonder if a big LCD screen might fare better than a big CRT with this? > > Oh, that'll be where new problems are going to appear! It probably > won't work in text mode anymore, will cause problems in X, won't > be able to switch resolutions (my CRT can go from 320x200 up to 1400x1050 > with Ctrl+Alt+[+] and Ctrl+Alt+[-] and by software - very convenient > for lower fullscreen modes), and probably won't connect to my old > hardware (no HDMI et al.). And I hesitate to replace something that > perfectly works... ;-) > > > When RELEASE 11.0 was first published last year I was very dissatisfied with vt. I checked bugzilla and saw someone submitted a few PRs on vt covering the same problems I was having. Within the last few weeks I noticed someone has finally started to work on those PRs. I strongly suggest that you submit a PR about this design flaw in vt. IE; default vt font being to small with no simple way to over ride default font to get one that looks like one used in sc. You may luck out and get it worked on along with the other vt PRs currently being worked on. Good Luck.