From owner-freebsd-questions@freebsd.org Sun Sep 10 13:32: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 41645E113BD for ; Sun, 10 Sep 2017 13:32:07 +0000 (UTC) (envelope-from luzar722@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 08A887473E for ; Sun, 10 Sep 2017 13:32:07 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x236.google.com with SMTP id v36so285318ioi.1 for ; Sun, 10 Sep 2017 06:32: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:subject :content-transfer-encoding; bh=9gVgKjzpXrf7odLLQx76Ip2eSLT3YLRs6TskzVPaGlw=; b=fMKXJ7IWFLu0YqSlK59lT5EgRHwvSk4F7XKsNkU+mWRFpfAvjPYZqr8Dda8ZjIGd2V J4UyIXznmN2C4mVlZaA4oI2oP3N/I25jEMCtcPWyia9HDfAm9wJqlDwEKyViY/sMaMab 7zb0f69Gd6NQhvGQR6acQhBbREYvjxWFTpUGUQoxinVlylIsfFbLNlSk4x3ICftisf1U i4539E+Z4z0X5w3daMiBtWpMcvgHTgs3wBslRcAj62TzxHrti/AkMMk8cfoMBKioYtqT +mBQ/5rOSbG6NQo9eLlPGFuZkHXN031+X1FCoi3M/eErl4VtLJGfsnpA8iSQL9XZToK/ MQSA== 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=9gVgKjzpXrf7odLLQx76Ip2eSLT3YLRs6TskzVPaGlw=; b=OgIXcDIa5LAy4HTLV+upeMRK0vIVlFcJNu2H0+vz0vFzwQw+7OQd8RfqyNQnbfjDFW 7jpfnFI5zA2MqpDV9Sj/9jgeXd7fgWeDPubArHc97BRy+JDrCRS/ZZGqay/8gD6McW43 UzzwHlIoWD/B9jQEsxOsDup6Vi35OPBx6slN+XX8ulYDceysfxYbKaARa/lLxXpVS9nD 2MkbEmZLD6KLmxpiPekB2DH+lOSBRDHRARwMiOsoHCEVZ1Ab7aQ/f1UWaCGHPRYY3vV/ pZLmwAnEJpPgIGIguaqigwovCQ/XoZM0BXUUHbwGDqXq96XLbELueeZSr8PAwBQ9BZog ke3Q== X-Gm-Message-State: AHPjjUgdnnkFTLlCdiK16aZunLc423D8q6JCsdqGqmfhI1GyjGt9GfiS IeI46hXTuKPg7RqF X-Google-Smtp-Source: AOwi7QC0DwC3GRCxr/9ry3msWeuAS0KQf0YexbIGbGPkIk7QgPSWYd7nEjI8OqfhRV7yFIkKmcB2tg== X-Received: by 10.107.82.10 with SMTP id g10mr11006296iob.52.1505050326287; Sun, 10 Sep 2017 06:32: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 k189sm3175905itb.41.2017.09.10.06.32.05 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 10 Sep 2017 06:32:05 -0700 (PDT) Message-ID: <59B53ED2.3000409@gmail.com> Date: Sun, 10 Sep 2017 09:32:02 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: awk help 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: Sun, 10 Sep 2017 13:32:07 -0000 Hello list; I wrote the following script to read a hosts file I downloaded containing known bad sex domain names intended for addition to /etc/hosts file. This script drops some useless records and builds a local-zone: record for input to unbound. The file contains 55,000 records and this script takes 7 minutes to process it. I know awk can do this same thing must faster. I have searched awk and can not find any reference that would do what the tr '\r' ' '` command does. Would some one point me to documentation with example of how to get the same result with awk as the tr '\r' ' '` command does. Thanks. #! /bin/sh date host_out="$1" host_in="$2" truncate -s 0 $host_out # Make the input file read a line at a time, not a field at a time. IFS=$'\n' set -f for line in `cat $host_in`; do # Locate and replace carriage return with blank. line=`echo -n "${line}" | tr '\r' ' '` # Locate and replace tab with blank. line=`echo -n "${line}" | tr '\t' ' '` # Drop blank lines. blank_line=`echo -n $line | cut -c 1-1` if [ "$blank_line" = " " ]; then continue fi # Drop lines with localhost in it. localhost=`echo -n $line | cut -w -f 2` if [ "$localhost" = "localhost" ]; then continue fi # Drop line with # in cloumn 1 as a comment. comment1=`echo -n $line | cut -c 1-1` if [ "$comment1" = "#" ]; then continue fi # Drop line with word Malvertising starting in cloumn 1 comment1=`echo -n $line | cut -w -f 1` if [ "$comment1" = "Malvertising" ]; then continue fi # Out put record. ip=`echo -n $line | cut -w -f 1` $trace_on echo "ip = ${ip}" if [ "$ip" = "127.0.0.1" -o "$ip" = "0.0.0.0" ]; then domain_name=`echo -n $line | cut -w -f 2` echo "local-zone: \"${domain_name}\" always_nxdomain" >> $host_out continue else domain_name=`echo -n $line | cut -w -f 1` echo "local-zone: \"${domain_name}\" always_nxdomain" >> $host_out fi done date exit 0 From owner-freebsd-questions@freebsd.org Sun Sep 10 14:06: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 397BAE12C35 for ; Sun, 10 Sep 2017 14:06:24 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F1010756E6 for ; Sun, 10 Sep 2017 14:06:23 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id v8ADllsd059815 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 10 Sep 2017 08:47:47 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: awk help To: "freebsd-questions@freebsd.org" References: <59B53ED2.3000409@gmail.com> From: Tim Daneliuk Message-ID: Date: Sun, 10 Sep 2017 08:47:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <59B53ED2.3000409@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Sun, 10 Sep 2017 08:47:47 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: v8ADllsd059815 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-0.924, required 1, autolearn=not spam, ALL_TRUSTED -1.00, AWL 0.08, RP_MATCHES_RCVD -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: 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: Sun, 10 Sep 2017 14:06:24 -0000 On 09/10/2017 08:32 AM, Ernie Luzar wrote: > Hello list; > > I wrote the following script to read a hosts file I downloaded > containing known bad sex domain names intended for addition to > /etc/hosts file. This script drops some useless records and builds > a local-zone: record for input to unbound. The file contains 55,000 > records and this script takes 7 minutes to process it. > Ernie - It would be a bit easier if you could provide us with a line or two of sample input, and an example of desired output. ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Sun Sep 10 16:12: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 0B687E18C8F for ; Sun, 10 Sep 2017 16:12:03 +0000 (UTC) (envelope-from luzar722@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 CEC2B7D478 for ; Sun, 10 Sep 2017 16:12:02 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x231.google.com with SMTP id c195so12474251itb.1 for ; Sun, 10 Sep 2017 09:12:02 -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:references :in-reply-to:content-transfer-encoding; bh=2w0chUQr9GiPZ8Vluqjd2aaIv0niJllfhsdaYic2z54=; b=uS3pR3fEH1HP6Ga6Yai5fLN49kx/5Sg/10UTpjSiGkpoIHeUX76LyEfGqCL9d0xbkG Db7QrxsIHQ2X68Kxw23o75giUtAXrTp5DRR+0n8lD8Bky6oMitOEv8PysOWoyuj5jUWd G33vQ/xkkpgwzEkpHVCJKLF2ZpgQIW8gTa6ryKOrHMvTehAa7wv2WC1o79IRtqexuv6P 87F3M9XaywzEzELQ3gv+GB1bILMe7kpizky7JEQHfMHA9iA9A8c27774A/F0tY5Wu8jF grjlchWFpdj0tgRLfaV5f7RC3B6GqDW3fu+owkvd9brFJlqqmFvYNFod2uobRJQZT/qe 37EA== 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:references:in-reply-to:content-transfer-encoding; bh=2w0chUQr9GiPZ8Vluqjd2aaIv0niJllfhsdaYic2z54=; b=icEOPS83iNxPR9b2JdFoNMDN5hoUAF7JBxixs0URqzdamBFu6GLj4eXahUKjTvk0so no0xIi7XYglkYZIzPLtpt8a/eaAdHc61nyg8RFQ8jQjVDexglH9Zlypcb1EQGaQ92UJJ kvVKFkCK2/FHJbWyvEi5YUmW9RSSp+saLDWgQO2uRsnItdQLCf3X0zqI6XsGd/eeY2qs YVz7wo9kgxcgJCnvmix64jVHGIYfvaOucI0CRhry5GPgAjWT4a54LdbtxnpVMhwRQHDa Bp/l3I2tx+tgsXvjE9JKQ2BiQZnHaVO+QGk2ruBSpLnyeLLJ5uxQf1nYetdttP4D+lR5 ks6Q== X-Gm-Message-State: AHPjjUj74+9qfSObuHtYP4HWldPq3+dnJtsCA0j7sfQoxWrMUsQH5Ozl KcFonhtNVDJc+BNPuve4d4gMlw== X-Google-Smtp-Source: AOwi7QB4r+LzvhpnQbzM0f0ZTHTztdABwjMZdikoXs6sElrQjoBGOYYq//69/iF7c1C9sOQBAeWl9g== X-Received: by 10.36.74.210 with SMTP id k201mr8913915itb.24.1505059922045; Sun, 10 Sep 2017 09:12:02 -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 q18sm3289734ioe.55.2017.09.10.09.12.01 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 10 Sep 2017 09:12:01 -0700 (PDT) Message-ID: <59B56450.5020501@gmail.com> Date: Sun, 10 Sep 2017 12:12:00 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: ignore References: <59B53ED2.3000409@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2017 16:12:03 -0000 testing email address From owner-freebsd-questions@freebsd.org Sun Sep 10 16:19:33 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 F2CC0E191A1 for ; Sun, 10 Sep 2017 16:19:33 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::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 BA4D17D650 for ; Sun, 10 Sep 2017 16:19:33 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x233.google.com with SMTP id v36so839262ioi.1 for ; Sun, 10 Sep 2017 09:19: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=rfTDmT4AIT8QD3y+lvQX7V9/NjnAj4NK/6X1edr0Xu4=; b=Tkhxc6qJFilaeGrXFRfVLSjE8syeYyx/IoOMH36Vvpx7lc5nSH8bgfcUuHLW0GQ2as ZYznY5F4wh8h4VCdXzKJmyrtdUH/tP25bauS2fLl6Xu6MSst6Rczb8H11JFMx0QKj03U KdvIa6Qj1gOJfeaXN7YXFO9MGCjwHtG8I2IyTw5EKys/HfTfkFR/Relg5+I960Dw//q9 erC+wurjwFEK/Lk36JD2Asq0O4VfgRMB2Qde6Q0wlK5Gl6/9GdzTK4XLEZKMSOrWxUj9 iNnkUP+5VbXpCjRNIjV1kn+674mjcmV84Z8H7U6FnXKyk/pEvYrdg/vYrgfPWXH6rLxw yzxg== 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=rfTDmT4AIT8QD3y+lvQX7V9/NjnAj4NK/6X1edr0Xu4=; b=Y3i9pvuItmOftYn+jyk84AumwZfJYHWF5obCGXVeUIgDtPWG6Vb4U5vlcI3/TkjxlS FuwBX8P5VbxLsFkDfVMLFmYooAW+CSyUC+d2KU4D1gpjZXowDs8esjbvZT4a8Cv470mr Mh33L/Ex2dsDkpG85+zFtEDxqePIKnmU1g94VMtnfEbUiPhe3QKHRsLBQOoyE6pubSFn Ly4irHbJxU6sitTEdbFeP8oEUHyGpIfS/FITKFUSDPl9Tc8QNYMw1tSW1ceRzmXrQh4x apcW2SoDmr803klqlnOOqNDAMknnKKqPBIwixOjZ3hU7Pcodal8NVj7DWBo1hHj7K6g7 ZZgQ== X-Gm-Message-State: AHPjjUjtKOplUuB4CAbsgThJ2BkC8/dCCsS2SOJAc11dmU2Kq5vUaizI Nn/ckVINw2MQAPuIEFyz3ArAyFQU1MYx X-Google-Smtp-Source: AOwi7QBy6GkwekmdejkftW8cRo//tx84SgzHsyyuUhFp/0uNk7Okj5/xXUg8VZ3s9zc8aTBs4prI5WBEQSQ5g6XIFbE= X-Received: by 10.107.47.17 with SMTP id j17mr11898691ioo.16.1505060372914; Sun, 10 Sep 2017 09:19:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Sun, 10 Sep 2017 09:19:32 -0700 (PDT) In-Reply-To: <59B56450.5020501@gmail.com> References: <59B53ED2.3000409@gmail.com> <59B56450.5020501@gmail.com> From: Adam Vande More Date: Sun, 10 Sep 2017 11:19:32 -0500 Message-ID: Subject: Re: ignore To: Ernie Luzar Cc: "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: Sun, 10 Sep 2017 16:19:34 -0000 On Sun, Sep 10, 2017 at 11:12 AM, Ernie Luzar wrote: > testing email address > Please use freebsd-testing@freebsd.org for this. -- Adam From owner-freebsd-questions@freebsd.org Sun Sep 10 16:22: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 63D34E1964D for ; Sun, 10 Sep 2017 16:22:51 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x242.google.com (mail-it0-x242.google.com [IPv6:2607:f8b0:4001:c0b::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 293C57D9CA for ; Sun, 10 Sep 2017 16:22:51 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x242.google.com with SMTP id z81so3083841itb.5 for ; Sun, 10 Sep 2017 09:22: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=24zHYScBhr0DjAQrolJLk7WgDBZGW4norTEmKuaXruU=; b=ShY9Cc5CJnzsI15VSc4CMQzjtUYhvmLrrMEpq6V0P/3LY5fNLuMbXCye+e3I6AnZ5w 0jYK9rEb/XJFIvdlBctLg2LapBvvRlt5RQZY7PtbWd2BFxnyELRkwQCSFD412IijHZW9 tY/qVSuOBM41WHKPZhNppnhWPyyN97Q+VZwR2KkWPcJhgJej/oitvutPDT9+Dl3TlRIR GHhE5gR3HZohO9dCRYuUsgEeYBGQzL0DDndCvRtcD9QNe+Jc5Ca8Iap3CBHIUSe7qPCm /Zj9cTsZfvgvCbQkqfSUWiKYq16RCLUWPM0xFL/dj5UrGSSVReGUDQUvdlUCHNcTHn9t sBIw== 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=24zHYScBhr0DjAQrolJLk7WgDBZGW4norTEmKuaXruU=; b=LRsEBuB56Nvl6QaHCd6GZBNgYE6l3Dmaq9GoxCAQeOZ+va0nOFQUquJr8LWe+hGvDP abzn1fa2RxP5ijiv0ezuNpxd4FVtyNoUUk+aauODGht96uKA0tnfGd5+oSJXmQKtg0gD YXp47Ch33hu4nQKGC1Q5WQHgDQAEWBNpwMrb0wERZn4Mti1J8ZISABGfuLvmN+SGhoJl 7KiFFfX8ORdTsz1YJsLfDmLs4ZAyCi3JOFmgmFplIE5FnVoJkwpgJrqVpcCqtp9AgGi5 VQG9ag8908g1qx8rFNn/XVNk904pf0NCjkIkD2uxCIVcrYghIXbKhb/Ymn7CJhSrkTYU p2MQ== X-Gm-Message-State: AHPjjUjmRA2NJLsUkwRTyFz1L28RS35DeoweygQiHV9OclBBmcwD1RCQ FoWzdqE2LEvlfo8Zcgh5j1TbXQ== X-Google-Smtp-Source: ADKCNb530OPoLqKLmb8vAogwpkeHOBea7AZVALbEZiBf17MdK0Q0rOib6F1k/6Pd0o14AfYRuEtw4A== X-Received: by 10.36.64.86 with SMTP id n83mr9059662ita.39.1505060570533; Sun, 10 Sep 2017 09:22:50 -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 i64sm3254056itg.11.2017.09.10.09.22.49 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 10 Sep 2017 09:22:50 -0700 (PDT) Message-ID: <59B566D6.4030900@gmail.com> Date: Sun, 10 Sep 2017 12:22:46 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Tim Daneliuk CC: "freebsd-questions@freebsd.org" Subject: Re: awk help References: <59B53ED2.3000409@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2017 16:22:51 -0000 Tim Daneliuk wrote: > On 09/10/2017 08:32 AM, Ernie Luzar wrote: >> Hello list; >> >> I wrote the following script to read a hosts file I downloaded >> containing known bad sex domain names intended for addition to >> /etc/hosts file. This script drops some useless records and builds >> a local-zone: record for input to unbound. The file contains 55,000 >> records and this script takes 7 minutes to process it. >> > Ernie - > > It would be a bit easier if you could provide us with a line or two of > sample input, and an example of desired output. > > > ---------------------------------------------------------------------------- > Tim Daneliuk tundra@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > _______________________________________________ > 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" > 127.0.0.1 localhostCR 127.0.0.1 001.hitgraph.jpCR 127.0.0.1 002.hitgraph.jpCR^M ### UncheckyAds 0.0.0.0 cdn.appround.biz 0.0.0.0 cdn.bigspeedpro.com 0.0.0.0 cdn.bispd.com From owner-freebsd-questions@freebsd.org Sun Sep 10 16:27: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 3483EE19A92 for ; Sun, 10 Sep 2017 16:27:24 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EA7507DB92 for ; Sun, 10 Sep 2017 16:27:23 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id v8AGRIHt062256 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 10 Sep 2017 11:27:18 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: awk help Cc: "freebsd-questions@freebsd.org" References: <59B53ED2.3000409@gmail.com> <59B566D6.4030900@gmail.com> From: Tim Daneliuk Message-ID: <60a81439-636d-1bf6-4b5c-5c218b39b03c@tundraware.com> Date: Sun, 10 Sep 2017 11:27:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <59B566D6.4030900@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Sun, 10 Sep 2017 11:27:18 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: v8AGRIHt062256 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-0.319, required 1, ALL_TRUSTED -1.00, AWL -0.53, MISSING_HEADERS 1.21, RP_MATCHES_RCVD -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: 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: Sun, 10 Sep 2017 16:27:24 -0000 On 09/10/2017 11:22 AM, Ernie Luzar wrote: Sorry, I am still a bit dense or something. Are all the lines below input or are you trying to drop stuff starting with 127.0.0.1 or ....? >> > > > 127.0.0.1 localhostCR > 127.0.0.1 001.hitgraph.jpCR > 127.0.0.1 002.hitgraph.jpCR^M > > ### UncheckyAds > > 0.0.0.0 cdn.appround.biz > 0.0.0.0 cdn.bigspeedpro.com > 0.0.0.0 cdn.bispd.com > -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Sun Sep 10 18:18: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 613F5E1F6E9 for ; Sun, 10 Sep 2017 18:18:50 +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 CA213811ED for ; Sun, 10 Sep 2017 18:18:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Sun, 10 Sep 2017 20:18: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 4CFBC3CBF9; Sun, 10 Sep 2017 20:18:39 +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 v8AIIcDa001983; Sun, 10 Sep 2017 20:18:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 10 Sep 2017 20:18:38 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: awk help Message-Id: <20170910201838.88b15b21.freebsd@edvax.de> In-Reply-To: <59B53ED2.3000409@gmail.com> References: <59B53ED2.3000409@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 mailrelay14.qsc.de with 847A9743A8D X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1281 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, 10 Sep 2017 18:18:50 -0000 On Sun, 10 Sep 2017 09:32:02 -0400, Ernie Luzar wrote: > Hello list; > > I wrote the following script to read a hosts file I downloaded > containing known bad sex domain names intended for addition to > /etc/hosts file. This script drops some useless records and builds > a local-zone: record for input to unbound. The file contains 55,000 > records and this script takes 7 minutes to process it. > > I know awk can do this same thing must faster. I have searched awk > and can not find any reference that would do what the tr '\r' ' '` > command does. I'd simply drop the ^Ms in a first step, then continue processing with awk, writing the output to the desired file: #!/bin/sh cat input.txt | tr -d '\r' | awk ' # ... # your awk code here # ... ' > output.txt You can use variables or command line parameters for input.txt and output.txt to increase modularity. NB: Useless use of "cat". ;-) > Would some one point me to documentation with example of how to get > the same result with awk as the tr '\r' ' '` command does. Why do you want to replace the \r with a space? Just delete it, nobody (except people in "Windows" land) actually need it! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Sep 10 19:00: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 D6D32E21778 for ; Sun, 10 Sep 2017 19:00:25 +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 5DAC282536 for ; Sun, 10 Sep 2017 19:00:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Sun, 10 Sep 2017 21:00:17 +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 72CAD3CC3F; Sun, 10 Sep 2017 21:00:16 +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 v8AJ0FNY002117; Sun, 10 Sep 2017 21:00:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 10 Sep 2017 21:00:15 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: awk help Message-Id: <20170910210015.eaee44cd.freebsd@edvax.de> In-Reply-To: <59B53ED2.3000409@gmail.com> References: <59B53ED2.3000409@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 AFF1D7A3D27 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1391 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, 10 Sep 2017 19:00:26 -0000 Allow me a few comments regarding sh -> awk for reformatting your input data. On Sun, 10 Sep 2017 09:32:02 -0400, Ernie Luzar wrote: > # Locate and replace carriage return with blank. > line=`echo -n "${line}" | tr '\r' ' '` Drop the ^Ms in a pipe step ... | tr -d '\r' | ... > # Locate and replace tab with blank. > line=`echo -n "${line}" | tr '\t' ' '` No need, awk defaults to tab(s) and/or space(s) as field separators, and you can easily access the fields with $1, $2, $3 and so on. > # Drop blank lines. > blank_line=`echo -n $line | cut -c 1-1` > if [ "$blank_line" = " " ]; then > continue > fi Just add a rule (length > 0) infront of your { ... awk statements for each line }. > # Drop lines with localhost in it. > localhost=`echo -n $line | cut -w -f 2` > if [ "$localhost" = "localhost" ]; then > continue > fi Expand the rule like (length > 0 && $2 != "localhost") { ... }, in case "localhost" is the exact text; if you want to use a reges, use $2 != /localhost/ instead. > # Drop line with # in cloumn 1 as a comment. > comment1=`echo -n $line | cut -c 1-1` > if [ "$comment1" = "#" ]; then > continue > fi Add another rule as reges !/^#/ && ( ... as above ... ) { ... } to filter those. Or, also possible, use ... | grep -v "^#" | ... infront of awk. > # Drop line with word Malvertising starting in cloumn 1 > comment1=`echo -n $line | cut -w -f 1` > if [ "$comment1" = "Malvertising" ]; then > continue > fi See above. > # Out put record. > ip=`echo -n $line | cut -w -f 1` > $trace_on echo "ip = ${ip}" > if [ "$ip" = "127.0.0.1" -o "$ip" = "0.0.0.0" ]; then > domain_name=`echo -n $line | cut -w -f 2` > echo "local-zone: \"${domain_name}\" always_nxdomain" >> $host_out > continue > else > domain_name=`echo -n $line | cut -w -f 1` > echo "local-zone: \"${domain_name}\" always_nxdomain" >> $host_out > fi Construct an output statement as desired. Use variables instead of $1, $2, $3 if the whole things gets too complex, for example like this (not tested, just for illustration): #!/bin/sh cat input.txt | tr -d '\r' | awk ' !/^#/ && (length > 0) { ip = $1 host = $2 if (!(host == "localhost" || ip == "127.0.0.1" || ip == "0.0.0.0")) printf("local-zone: \"%s\" always_nxdomain\n", ip) else printf("local-zone: \"%s\" always_nxdomain\n", host) }' > output.txt That should be basically what you need. You now just have to combine the moving parts correctly. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Sep 11 04:14:46 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 68461E186EA for ; Mon, 11 Sep 2017 04:14:46 +0000 (UTC) (envelope-from alisha.wilson@weboptimizes.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (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 1404A6EBB1 for ; Mon, 11 Sep 2017 04:14:45 +0000 (UTC) (envelope-from alisha.wilson@weboptimizes.com) Received: by mail-lf0-x243.google.com with SMTP id c8so3370108lfe.2 for ; Sun, 10 Sep 2017 21:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weboptimizes.com; s=google; h=mime-version:sender:from:date:message-id:subject:to; bh=AwAhxIiY7xszWFo5Kfjq0IFqATuxe/HEl9YpI4U69AY=; b=dN73xU4vg0WyPlljamHg7KPNmlAtekMeVn04QxKXMGLXLHbbYsEEWJ5ch7jC25MnNH vogcawfYM8KnATtmcZLs+8l4bVr7U+wkwGI4xHUFhj4rLDZxf7wYdnE1AJSC6FXOzWX7 05o46YPeo05PYMWXwEiWu3+UOfqrtwUlvP+Ds= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=AwAhxIiY7xszWFo5Kfjq0IFqATuxe/HEl9YpI4U69AY=; b=ZylQ109tCuCCU8HomPy+KyFZu21N150RxA693faKUvxVqVI6G74Ubxa0nrc8ncYnQg qGu5sZoRaPemk2E0jxKUR47RuR/VRTn2m23ok0AmVICPZeuFbP0FD+R+RlNqdjqrNYMl 2G42r5F9D4ZS/5zPoEcaGbG+dBRsyk2igJ25AOx337BRjw1spV/ftAlczmYkEDqEtf+v wXS6zcPp4K4sS4q9a1+d31UPbhrlxSqwVUlbX6X/EUWoQsgWgRkIObzrm/aITwcNPWaX 6kSPfTLu3gPSEsOIlRWi1vQvPt1LDu9JhY3bgsqAG9cQYofXz0hGqZNlOhvUVHFW1sTl elTA== X-Gm-Message-State: AHPjjUjA26mrNdLGEeiqBZL5p2khtrpoIupwJhmqHVgFKpy3R5+KHGzs sDASyTf0UHxdmY6Zaui+bQ34dAXduZTc X-Google-Smtp-Source: AOwi7QBO7/ciOOjfvSQ6wY//3hphAtx7IV0hS18c9uT8DAUaf7lbU0Q6xBWV1YFJPFy8hibUXabtdMG/m4Nk3/cObPs= X-Received: by 10.46.23.216 with SMTP id 85mr1568757ljx.3.1505103282739; Sun, 10 Sep 2017 21:14:42 -0700 (PDT) Received: from 52669349336 named unknown by gmailapi.google.com with HTTPREST; Sun, 10 Sep 2017 21:14:40 -0700 MIME-Version: 1.0 Sender: Alisha Wilson From: Alisha Wilson Date: Sun, 10 Sep 2017 21:14:40 -0700 X-Google-Sender-Auth: ddC1mja47ErEdepxMX-CZuZlLAU Message-ID: Subject: Step-by-Step Guides on Improving Your website ranking To: freebsd-questions@freebsd.org 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: Mon, 11 Sep 2017 04:14:46 -0000 Hello freebsd.org Team, *Get your website on Google=E2=80=99s Front Page search: *We would like to = have a discussion with you regarding the web promotion strategy for your website. We wish to work out a proposal to strengthen the online presence of your website, via, a strategically planned web promotion campaign. In today=E2= =80=99s online era, you should be focusing on the new revolutionary ways of generating traffic. We were curious to know if you were aware that are a few issues bugging your website. Sorting out these will help you get the best returns out of your website. Your website seems to be attracting traffic, but this traffic is almost stagnant and limited, which affects potential sales as you move forward. Your website doesn't feature in Google's first search page for some of the major keywords in your niche, which affects visibility. Your website has been diagnosed with coding issues, which affects ranking. Your back links profile is not efficient enough to help your search engine visibility. Your website is currently not being properly promoted online, which is affecting your marketing strategy and goals Your presence in social media platform (*Facebook, Twitter, etc.*) is minimal. This is depriving you of a huge market of prospective referral clients. We excel in running promotional online marketing campaign for websites. We have a host of ethical services and techniques, which you can utilize to improve your website's performance. We could send you more details regarding your present website status; we would be glad to share =E2=80=9C*= PRE SEO REPORT=E2=80=9D* or =E2=80=9C*WEBSITE ANALYSIS REPORT* for *FREE=E2=80=9D*. *Kindly revert back if you are interested, then we can send you more detail about package which will improve your sales & website ranking too. *Hope to get early response. Best Regards, *Alisha Wilson | Senior Sales Advisor * _________________________________________________________________________ *PS1:* Please answer to our email with *=E2=80=9CInterested*=E2=80=9D or *= =E2=80=9CNot Interested*=E2=80=9D so that we will know the status of your inquiry and act accordingly. If you are interested then I will send more details on our *=E2=80=9Ccorporate ide= ntity=E2=80=9D, =E2=80=9Ccompany profile=E2=80=9D, =E2=80=9Cwhy you should choose us?=E2=80= =9D, =E2=80=9CPrice list=E2=80=9D, =E2=80=9Cmoney back guarantee=E2=80=9D*. *PS2:* I found your site using Google search and after having a look over your website I recommend you to implement future technologies such as HTML5 and Responsive Design to make your site more accessible in mobile phone, tablets, desktop etc. [image: beacon] From owner-freebsd-questions@freebsd.org Mon Sep 11 06:26: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 95756E1EB69 for ; Mon, 11 Sep 2017 06:26:04 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) (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 7AB43725E5 for ; Mon, 11 Sep 2017 06:26:03 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [74.134.208.22] ([74.134.208.22:29565] helo=localhost) by dnvrco-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 04/BA-31699-57C26B95; Mon, 11 Sep 2017 06:25:57 +0000 Date: Mon, 11 Sep 2017 06:25:47 +0000 Message-ID: <04.BA.31699.57C26B95@dnvrco-omsmta03> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: ignore References: <59B53ED2.3000409@gmail.com> <59B56450.5020501@gmail.com> X-RR-Connecting-IP: 107.14.64.88: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: Mon, 11 Sep 2017 06:26:04 -0000 from Adam Vande More: > On Sun, Sep 10, 2017 at 11:12 AM, Ernie Luzar wrote: > > testing email address > Please use freebsd-testing@freebsd.org for this. I just checked. List to send test messages to is freebsd-test@freebsd.org . Comparable to Usenet newsgroup alt.test . Tom From owner-freebsd-questions@freebsd.org Mon Sep 11 13:59: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 5BE2CE0D2F6 for ; Mon, 11 Sep 2017 13:59:53 +0000 (UTC) (envelope-from tyler@tysdomain.com) Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::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 1956324B8 for ; Mon, 11 Sep 2017 13:59:52 +0000 (UTC) (envelope-from tyler@tysdomain.com) Received: by mail-qt0-x231.google.com with SMTP id i50so19195214qtf.0 for ; Mon, 11 Sep 2017 06:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tysdomain-com.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=MqUau+Tpc6gzKnNbS1Ad5K16vBgjzi3wddEfY92+xK0=; b=ZGj5BS/FJTy46xa1MLMi6dCYZagj5M4hTe5F8TjnXKMUnvuE3g4YVO3n1GG65s6DJm iLGuG7OysVXIXgcvd2R4MuRRbvyyyDXUrSwyLgb52Es95VHqKsHZbm7EYSXkBfI1dTC8 X5jxqwoHhmXun9pKRVoR9RJpsdtwjZsBMG53laiWaczQ94dOrmhH5MI5+VM2LFrzLzUj EhGz5eZyrqbw7yu31sgiwvpDsFCBS9Gm/ZJ/r360dUegP9tYg9O9sYFXBY7VTN1oyZPg nwtO/Orzg5uuTGrJiKYVMYqT8x6qAOZ+bkYwgkqcSzudelzux2bdnqg7kew1NSfopypK nbZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language; bh=MqUau+Tpc6gzKnNbS1Ad5K16vBgjzi3wddEfY92+xK0=; b=P8Ius5OTPMd4hJt4t7S7eR62Amoyiwq/lEXgzOcw43FVvOsaRzNcKTX2iuX5kt9nW2 NpXm6cQZJOKHEpyzKolEVus/kDzqnqJhBMpgE7Z7BMcMdeSvRF6ZQotYFBSmWR121rLT vjYMgpAQdVvLmF8zmD0StCjo/RV8P85tcdO9u2xP4nh7r02xGceMV3a7IINJRzA6J1r4 NBKVrqRRtrUDMcClISyaKU+CtwL6s/bdNII5o0MTUbW2/ZfOsrgRzLTtMCm5PKufv5/g 5r6rwv325xZx3hr7TJjT+dtnAwf+Pj4zU/kCRAUvHs2I+6Fj/CoS9HAfpGIN8VwFUnsz ArRw== X-Gm-Message-State: AHPjjUigJb+Bz3nD3h9zp5xAt1Emli5ONHj8WDlFKmk/3/iP5H2AD2db 5mrHA9a2Y97e8Rm6YY8tew== X-Google-Smtp-Source: AOwi7QAy28qpfePQdLmMxjcFXh1/DgzOEU+LAeGW1jAiG9Xrolaokaw7s5T2T1instjYxfPrO8Ub+A== X-Received: by 10.237.33.188 with SMTP id l57mr2258525qtc.270.1505138391433; Mon, 11 Sep 2017 06:59:51 -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 v17sm6230516qtv.62.2017.09.11.06.59.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 06:59:50 -0700 (PDT) Reply-To: tyler@tysdomain.com Subject: Re: help with condensing bsd To: Anton Yuzhaninov , freebsd-questions@freebsd.org References: <8e90abb6-79b0-5f2a-8c1a-4126a663f0ee@citrin.ru> From: "Littlefield, Tyler" Message-ID: <27aa284a-2de7-ead6-ecb8-3ca73f133d66@tysdomain.com> Date: Mon, 11 Sep 2017 09:59:49 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <8e90abb6-79b0-5f2a-8c1a-4126a663f0ee@citrin.ru> Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: Mon, 11 Sep 2017 13:59:53 -0000 On 9/8/2017 3:03 PM, Anton Yuzhaninov wrote: > 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). To bad there's not a way to do this without /usr/src. If you just extract this new system over your current system, how does that get rid of things you removed? For example I got rid of bluetooth and various other things that I don't want installed. Thanks,  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 _______________________________________________ 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" -- 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 Mon Sep 11 16:13: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 8FCC8E14634 for ; Mon, 11 Sep 2017 16:13:28 +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 160FB67310 for ; Mon, 11 Sep 2017 16:13:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Mon, 11 Sep 2017 18:13:24 +0200 Received: from r56.edvax.de (port-92-195-6-118.dynamic.qsc.de [92.195.6.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id AE4803CBF9; Mon, 11 Sep 2017 18:13:22 +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 v8BGDLZC003814; Mon, 11 Sep 2017 18:13:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 11 Sep 2017 18:13:21 +0200 From: Polytropon To: tyler@tysdomain.com Cc: Anton Yuzhaninov , freebsd-questions@freebsd.org Subject: Re: help with condensing bsd Message-Id: <20170911181321.3d892b7b.freebsd@edvax.de> In-Reply-To: <27aa284a-2de7-ead6-ecb8-3ca73f133d66@tysdomain.com> References: <8e90abb6-79b0-5f2a-8c1a-4126a663f0ee@citrin.ru> <27aa284a-2de7-ead6-ecb8-3ca73f133d66@tysdomain.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 2AC576A3601 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1352 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, 11 Sep 2017 16:13:28 -0000 On Mon, 11 Sep 2017 09:59:49 -0400, Littlefield, Tyler wrote: > On 9/8/2017 3:03 PM, Anton Yuzhaninov wrote: > > 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). > > > To bad there's not a way to do this without /usr/src. Correct. All the make targets depend on various files inside that subtree to determine the correct actions. > If you just extract this new system over your current system, > how does that get rid of things you removed? It doesn't. The idea is to extract it to a freshly initialized file system. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Sep 11 18:24: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 F02E0E1B61F for ; Mon, 11 Sep 2017 18:24:14 +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 CB4906C20F for ; Mon, 11 Sep 2017 18:24:14 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from [10.13.47.74] (mobile-107-92-60-211.mycingular.net [107.92.60.211]) by mail.pettijohn-web.com (OpenSMTPD) with ESMTPSA id c6d37c1a TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 11 Sep 2017 13:24:05 -0500 (CDT) Date: Mon, 11 Sep 2017 13:24:05 -0500 From: edgar To: Polytropon , tyler Cc: Anton Yuzhaninov , freebsd-questions Message-ID: In-Reply-To: <20170911181321.3d892b7b.freebsd@edvax.de> <27aa284a-2de7-ead6-ecb8-3ca73f133d66@tysdomain.com> References: <8e90abb6-79b0-5f2a-8c1a-4126a663f0ee@citrin.ru> <27aa284a-2de7-ead6-ecb8-3ca73f133d66@tysdomain.com> Subject: Re: Re: help with condensing bsd 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: Mon, 11 Sep 2017 18:24:15 -0000 > > On Sep 11, 2017 at 11:13 AM, wrote: > > > On Mon, 11 Sep 2017 09:59:49 -0400, Littlefield, Tyler wrote: > On 9/8/2017 3:03 PM, Anton Yuzhaninov wrote: > > 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 k now 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 cust om > > 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). > > > To bad there's not a way to do this without /usr/src. Correct. All the make targets depend on various files inside that subtree to determine the correct actions. > If you just extract this new system over your current system, > how does that get rid of things you removed? It doesn't. The idea is to extract it to a freshly initialized file system. > > > > > > Or > > rm /path/to/unneeded/file -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ 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 11 20:23: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 8ADC0E223E9 for ; Mon, 11 Sep 2017 20:23:53 +0000 (UTC) (envelope-from rachel.fogg@nobilityhost.com) Received: from mail-yw0-x245.google.com (mail-yw0-x245.google.com [IPv6:2607:f8b0:4002:c05::245]) (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 51C2371291 for ; Mon, 11 Sep 2017 20:23:53 +0000 (UTC) (envelope-from rachel.fogg@nobilityhost.com) Received: by mail-yw0-x245.google.com with SMTP id m8so8922774ywb.21 for ; Mon, 11 Sep 2017 13:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nobilityhost-com.20150623.gappssmtp.com; s=20150623; h=mime-version:message-id:date:subject:from:to; bh=Kg/oKDd+WmI37oPQAX4/E4PCiGDiZdWBwoZp1Nvu6j0=; b=Aj1SnUsetYfU3FC9Iq8LAWCs6glLRT51Qf8ZesUnADzFRrEmlt9DzAeelKgJh7kicf dpfwB9cIXtZR5BUT83FtiJwRdZLMb2FzUs7k+wuuESChd8hSmHMd3dRfVRbbmgvSEQxh hw2YI13flggYJiyQkFb6kvyj1cOG1zbwDjgNR2rgO2DBMsjwcRL50JQWZZjNkbKzy8/Z 1KK7Eo00CrGjZOexZY8aHHxJPgeibpFHagWsX+CrTDnqX+i4mpNVgLGo71+u+RvTy98M bUyEQvhPq/rt93xoc5L3YZ4/s9POARMku0MexeExqZ+bJ41Q4yZQ7JC/WxJBXXbN3F5h HHTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:message-id:date:subject:from:to; bh=Kg/oKDd+WmI37oPQAX4/E4PCiGDiZdWBwoZp1Nvu6j0=; b=iumQFCApp4YItTFLV18b9JV+ovRObaoTTuyq/NlaLzpPwwLpR8bFG26nW+J3W5o6bI Jr30Qy+D4wC9E+NnDxFd82Egu59iVv5wUhApkfuqaOyztcdUuQvyDM+/Rb6yMR4pWPtf r7w/lQ/wS804muikePGX58HtFJLg1b3WBPEw0uxw4JZFHWmRDMqjK9rTARCn46Y48rMc Q4nWK5aLm5GrUMXr6p4VdC5fwU69P84DIAkoppuSoKsIca31ZZiuv8ZQBYz521qShOBY yCS8NJBk0r/i+EM2vKdeVyjj8RKMYcx0MJUtKRZHvqVi8TLjycGmR3ktgTnw4tfmFxiY TR3w== X-Gm-Message-State: AHPjjUjQOYQDUHi3PA8zUEnf/6WhT+ZQqcLWKHgn8naJ0mgiVTgwnOeT K8a3T/yTIp7lOlPQUpLAGo+R906WuFbD X-Google-Smtp-Source: ADKCNb4pZfH6JcM7XxQogJzt50gw/Nj8aiFsAq8kkk2GQ+g5IIZsgRDM3fxeZVCakGVeO7Gb0MhoZEpIew== MIME-Version: 1.0 X-Received: by 10.13.212.12 with SMTP id w12mr8388838ywd.147.1505161432339; Mon, 11 Sep 2017 13:23:52 -0700 (PDT) Message-ID: <001a114fd438814dbf0558efb42e@google.com> Date: Mon, 11 Sep 2017 20:23:52 +0000 Subject: =?UTF-8?Q?Cyber=2F_Network_Security_Software=E2=80=99s_Users_Email_Lis?= =?UTF-8?Q?t?= From: rachel.fogg@nobilityhost.com To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 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: Mon, 11 Sep 2017 20:23:53 -0000 PGRpdiBkaXI9Imx0ciI+PHAgY2xhc3M9ImdtYWlsLU1zb05vU3BhY2luZyI+SGksPC9wPg0KDQo8 cCBjbGFzcz0iZ21haWwtTXNvTm9TcGFjaW5nIj5Xb3VsZCB5b3UgYmUgaW50ZXJlc3RlZCBpbiBh IGxpc3Qgb2YgIA0KPGI+Q3liZXIvIE5ldHdvcmsgU2VjdXJpdHkgU29mdHdhcmXigJlzPC9iPj8g V2UgYXJlIGEgR2xvYmFsIFRlY2hub2xvZ3kNClVzZXLigJlzIExpc3QgUHJvdmlkZXLigJlzIHdp dGggPGI+OTAgTWlsbGlvbg0KUGx1czwvYj4gZGF0YSBhbmQgY291bnRpbmcuPC9wPg0KDQo8cCBj bGFzcz0iZ21haWwtTXNvTm9TcGFjaW5nIj48Yj5Zb3UgbWF5IGFsc28gYmUNCmludGVyZXN0ZWQg aW4gZGF0YWJhc2Ugb2Y8L2I+OjwvcD4NCg0KPHRhYmxlIGNsYXNzPSJnbWFpbC1Nc29Ob3JtYWxU YWJsZSIgYm9yZGVyPSIwIiBjZWxsc3BhY2luZz0iMCIgIA0KY2VsbHBhZGRpbmc9IjAiIHN0eWxl PSJib3JkZXItY29sbGFwc2U6Y29sbGFwc2UiPg0KICA8dGJvZHk+PHRyIHN0eWxlPSJoZWlnaHQ6 MC4yaW4iPg0KICAgPHRkIG5vd3JhcCBzdHlsZT0iYm9yZGVyOjFwdCBzb2xpZCB3aW5kb3d0ZXh0 O3BhZGRpbmc6MGluICANCjUuNHB0O2hlaWdodDowLjJpbiI+DQogICA8cCBjbGFzcz0iTXNvTm9y bWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwi PjxzcGFuICANCnN0eWxlPSJjb2xvcjpibGFjayI+U3ltYW50ZWMgVXNlcnM8c3Bhbj48L3NwYW4+ PC9zcGFuPjwvcD4NCiAgIDwvdGQ+DQogICA8dGQgbm93cmFwIHN0eWxlPSJib3JkZXItdG9wOjFw dCBzb2xpZCB3aW5kb3d0ZXh0O2JvcmRlci1yaWdodDoxcHQgc29saWQgIA0Kd2luZG93dGV4dDti b3JkZXItYm90dG9tOjFwdCBzb2xpZCB3aW5kb3d0ZXh0O2JvcmRlci1sZWZ0Om5vbmU7cGFkZGlu ZzowaW4gIA0KNS40cHQ7aGVpZ2h0OjAuMmluIj4NCiAgIDxwIGNsYXNzPSJNc29Ob3JtYWwiICAN CnN0eWxlPSJtYXJnaW4tYm90dG9tOjAuMDAwMXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+PHNwYW4g IA0Kc3R5bGU9ImNvbG9yOmJsYWNrIj5Gb3J0aW5ldCBVc2VyczxzcGFuPjwvc3Bhbj48L3NwYW4+ PC9wPg0KICAgPC90ZD4NCiAgPC90cj4NCiAgPHRyIHN0eWxlPSJoZWlnaHQ6MC4yaW4iPg0KICAg PHRkIG5vd3JhcCBzdHlsZT0iYm9yZGVyLXJpZ2h0OjFwdCBzb2xpZCB3aW5kb3d0ZXh0O2JvcmRl ci1ib3R0b206MXB0ICANCnNvbGlkIHdpbmRvd3RleHQ7Ym9yZGVyLWxlZnQ6MXB0IHNvbGlkICAN CndpbmRvd3RleHQ7Ym9yZGVyLXRvcDpub25lO3BhZGRpbmc6MGluIDUuNHB0O2hlaWdodDowLjJp biI+DQogICA8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAw MDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuICANCnN0eWxlPSJjb2xvcjpibGFjayI+TG9n TWVpbiBVc2VyczxzcGFuPjwvc3Bhbj48L3NwYW4+PC9wPg0KICAgPC90ZD4NCiAgIDx0ZCBub3dy YXAgc3R5bGU9ImJvcmRlci10b3A6bm9uZTtib3JkZXItbGVmdDpub25lO2JvcmRlci1ib3R0b206 MXB0ICANCnNvbGlkIHdpbmRvd3RleHQ7Ym9yZGVyLXJpZ2h0OjFwdCBzb2xpZCB3aW5kb3d0ZXh0 O3BhZGRpbmc6MGluICANCjUuNHB0O2hlaWdodDowLjJpbiI+DQogICA8cCBjbGFzcz0iTXNvTm9y bWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwi PjxzcGFuICANCnN0eWxlPSJjb2xvcjpibGFjayI+U29uaWN3YWxsIFVzZXJzPHNwYW4+PC9zcGFu Pjwvc3Bhbj48L3A+DQogICA8L3RkPg0KICA8L3RyPg0KICA8dHIgc3R5bGU9ImhlaWdodDowLjJp biI+DQogICA8dGQgbm93cmFwIHN0eWxlPSJib3JkZXItcmlnaHQ6MXB0IHNvbGlkIHdpbmRvd3Rl eHQ7Ym9yZGVyLWJvdHRvbToxcHQgIA0Kc29saWQgd2luZG93dGV4dDtib3JkZXItbGVmdDoxcHQg c29saWQgIA0Kd2luZG93dGV4dDtib3JkZXItdG9wOm5vbmU7cGFkZGluZzowaW4gNS40cHQ7aGVp Z2h0OjAuMmluIj4NCiAgIDxwIGNsYXNzPSJNc29Ob3JtYWwiICANCnN0eWxlPSJtYXJnaW4tYm90 dG9tOjAuMDAwMXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+PHNwYW4gIA0Kc3R5bGU9ImNvbG9yOmJs YWNrIj5NY0FmZWUgVXNlcnM8c3Bhbj48L3NwYW4+PC9zcGFuPjwvcD4NCiAgIDwvdGQ+DQogICA8 dGQgbm93cmFwIHN0eWxlPSJib3JkZXItdG9wOm5vbmU7Ym9yZGVyLWxlZnQ6bm9uZTtib3JkZXIt Ym90dG9tOjFwdCAgDQpzb2xpZCB3aW5kb3d0ZXh0O2JvcmRlci1yaWdodDoxcHQgc29saWQgd2lu ZG93dGV4dDtwYWRkaW5nOjBpbiAgDQo1LjRwdDtoZWlnaHQ6MC4yaW4iPg0KICAgPHAgY2xhc3M9 Ik1zb05vcm1hbCIgIA0Kc3R5bGU9Im1hcmdpbi1ib3R0b206MC4wMDAxcHQ7bGluZS1oZWlnaHQ6 bm9ybWFsIj48c3BhbiAgDQpzdHlsZT0iY29sb3I6YmxhY2siPkVNQyBVc2VyczxzcGFuPjwvc3Bh bj48L3NwYW4+PC9wPg0KICAgPC90ZD4NCiAgPC90cj4NCiAgPHRyIHN0eWxlPSJoZWlnaHQ6MC4y aW4iPg0KICAgPHRkIG5vd3JhcCBzdHlsZT0iYm9yZGVyLXJpZ2h0OjFwdCBzb2xpZCB3aW5kb3d0 ZXh0O2JvcmRlci1ib3R0b206MXB0ICANCnNvbGlkIHdpbmRvd3RleHQ7Ym9yZGVyLWxlZnQ6MXB0 IHNvbGlkICANCndpbmRvd3RleHQ7Ym9yZGVyLXRvcDpub25lO3BhZGRpbmc6MGluIDUuNHB0O2hl aWdodDowLjJpbiI+DQogICA8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJv dHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuICANCnN0eWxlPSJjb2xvcjpi bGFjayI+SFBFIFVzZXJzPHNwYW4+PC9zcGFuPjwvc3Bhbj48L3A+DQogICA8L3RkPg0KICAgPHRk IG5vd3JhcCBzdHlsZT0iYm9yZGVyLXRvcDpub25lO2JvcmRlci1sZWZ0Om5vbmU7Ym9yZGVyLWJv dHRvbToxcHQgIA0Kc29saWQgd2luZG93dGV4dDtib3JkZXItcmlnaHQ6MXB0IHNvbGlkIHdpbmRv d3RleHQ7cGFkZGluZzowaW4gIA0KNS40cHQ7aGVpZ2h0OjAuMmluIj4NCiAgIDxwIGNsYXNzPSJN c29Ob3JtYWwiICANCnN0eWxlPSJtYXJnaW4tYm90dG9tOjAuMDAwMXB0O2xpbmUtaGVpZ2h0Om5v cm1hbCI+PHNwYW4gIA0Kc3R5bGU9ImNvbG9yOmJsYWNrIj5XYXRjaEd1YXJkIFVzZXJzPHNwYW4+ PC9zcGFuPjwvc3Bhbj48L3A+DQogICA8L3RkPg0KICA8L3RyPg0KICA8dHIgc3R5bGU9ImhlaWdo dDoxNXB0Ij4NCiAgIDx0ZCBub3dyYXAgc3R5bGU9ImJvcmRlci1yaWdodDoxcHQgc29saWQgd2lu ZG93dGV4dDtib3JkZXItYm90dG9tOjFwdCAgDQpzb2xpZCB3aW5kb3d0ZXh0O2JvcmRlci1sZWZ0 OjFwdCBzb2xpZCAgDQp3aW5kb3d0ZXh0O2JvcmRlci10b3A6bm9uZTtwYWRkaW5nOjBpbiA1LjRw dDtoZWlnaHQ6MTVwdCI+DQogICA8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2lu LWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuICANCnN0eWxlPSJjb2xv cjpibGFjayI+Q2lzY28gVXNlcnM8c3Bhbj48L3NwYW4+PC9zcGFuPjwvcD4NCiAgIDwvdGQ+DQog ICA8dGQgbm93cmFwIHN0eWxlPSJib3JkZXItdG9wOm5vbmU7Ym9yZGVyLWxlZnQ6bm9uZTtib3Jk ZXItYm90dG9tOjFwdCAgDQpzb2xpZCB3aW5kb3d0ZXh0O2JvcmRlci1yaWdodDoxcHQgc29saWQg d2luZG93dGV4dDtwYWRkaW5nOjBpbiAgDQo1LjRwdDtoZWlnaHQ6MTVwdCI+DQogICA8cCBjbGFz cz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdo dDpub3JtYWwiPjxzcGFuICANCnN0eWxlPSJjb2xvcjpibGFjayI+QmFycmFjdWRhIFVzZXJzPHNw YW4+PC9zcGFuPjwvc3Bhbj48L3A+DQogICA8L3RkPg0KICA8L3RyPg0KPC90Ym9keT48L3RhYmxl Pg0KDQo8cCBjbGFzcz0iZ21haWwtTXNvTm9TcGFjaW5nIj5QbGVhc2UgbGV0IG1lIGtub3cgaWYg dGhpcyBpcyBzb21ldGhpbmcgb2YgIA0KaW50ZXJlc3QgdG8NCnlvdSB3aXRoIHlvdXIgdGFyZ2V0 ZWQgY3JpdGVyaWEgYW5kIGdlb2dyYXBoeSBzbyB0aGF0IEkgY2FuIHByb3ZpZGUgeW91IHdpdGgN CmZ1cnRoZXIgaW5mb3JtYXRpb24uPC9wPg0KDQo8cCBjbGFzcz0iZ21haWwtTXNvTm9TcGFjaW5n Ij5UaGFua3MsPHNwYW4+PC9zcGFuPjwvcD4NCg0KPHAgY2xhc3M9ImdtYWlsLU1zb05vU3BhY2lu ZyI+UmFjaGVsIEZvZ2c8L3A+DQoNCjxwIGNsYXNzPSJnbWFpbC1Nc29Ob1NwYWNpbmciPklmIHNl ZSBubyBpbnRlcmVzdCBwbGVhc2UgcmVwbHkg4oCcTm8gTmVlZOKAnSBpbiAgDQpzdWJqZWN0DQps aW5lLjxzcGFuPjwvc3Bhbj48L3A+PC9kaXY+DQo8cD4mbmJzcDs8L3A+PGEgc3R5bGU9J2Rpc3Bs YXk6IGJsb2NrOyBtYXJnaW46IDMycHggMCA0MHB4IDA7IHBhZGRpbmc6ICANCjEwcHg7IGZvbnQt c2l6ZTogMWVtOyB0ZXh0LWFsaWduOiBjZW50ZXI7IGJvcmRlcjogMDsgYm9yZGVyLXRvcDogMXB4 IHNvbGlkICANCmdyYXk7ICcgaHJlZj0naHR0cHM6Ly9nb28uZ2wvMmtzZFJ2Jz5wb3dlcmVkIGJ5 IEdTTS4gRnJlZSBtYWlsIG1lcmdlIGFuZCAgDQplbWFpbCBtYXJrZXRpbmcgc29mdHdhcmUgZm9y IEdtYWlsLjwvYT4NCg== From owner-freebsd-questions@freebsd.org Tue Sep 12 07:42:33 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 E55DCE1F146 for ; Tue, 12 Sep 2017 07:42:33 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 85F7E660C5 for ; Tue, 12 Sep 2017 07:42:32 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 74AF92DBB757 for ; Tue, 12 Sep 2017 10:32:48 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS for ; Tue, 12 Sep 2017 10:32:48 +0300 (MSK) Date: Tue, 12 Sep 2017 10:32:48 +0300 (MSK) From: "Igor V. Ruzanov" To: freebsd-questions@freebsd.org Subject: Need help Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 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: Tue, 12 Sep 2017 07:42:34 -0000 Hello, FreeBSD colleagues! I have modern network card Intel i350T2V2 (peripheral dual gigabit port NIC). And as far as i know all Intel cards should be normally detected by the system. But with this NIC i have some troubles: - the system sees the card as some ethernet device but cannot find proper (igb) driver: pcib6: irq 47 at device 3.2 on pci0 pci6: on pcib6 pci6: at device 0.0 (no driver attached) pci6: at device 0.1 (no driver attached) - its from dmesg log. Fnd `pciconf -lcvb' says: none75@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x151f8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0x91920000, size 131072, enabled bar [18] = type I/O Port, range 32, base 0x2020, size 32, enabled bar [1c] = type Memory, range 32, base 0x919c4000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit, vector masks cap 11[70] = MSI-X supports 10 messages Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link x4(x4) speed 5.0(5.0) ASPM disabled(L0s/L1) ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected ecap 000e[150] = ARI 1 ecap 0010[160] = SRIOV 1 ecap 0017[1a0] = TPH Requester 1 ecap 0018[1c0] = LTR 1 ecap 000d[1d0] = ACS 1 none76@pci0:6:0:1: class=0x020000 card=0x00008086 chip=0x151f8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0x91900000, size 131072, enabled bar [18] = type I/O Port, range 32, base 0x2000, size 32, enabled bar [1c] = type Memory, range 32, base 0x919c0000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit, vector masks cap 11[70] = MSI-X supports 10 messages Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link x4(x4) speed 5.0(5.0) ASPM disabled(L0s/L1) ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected ecap 000e[150] = ARI 1 ecap 0010[160] = SRIOV 1 ecap 0017[1a0] = TPH Requester 1 ecap 000d[1d0] = ACS 1 My server is: - system is FreeBSD-10.3-RELEASE-p20 - motherboard: Intel S2600WT (dual CPU socket board) - one CPU installed Maybe someone has experience with this inetl NIC? As seen from pciconf output the NIC has a set of VFs (Virtual Functions) needed in virtualization environments. And chip id is 0x151F8086 - the id that igb-driver does not know about. Maybe i need some preconfiguration of this card? Or this device is not compatible with non-virtualization systems like usual physical server? Big thanks in advance! From owner-freebsd-questions@freebsd.org Tue Sep 12 07:44: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 3685EE1F372 for ; Tue, 12 Sep 2017 07:44:32 +0000 (UTC) (envelope-from eancaer@gmail.com) Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::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 B178C661FB for ; Tue, 12 Sep 2017 07:44:31 +0000 (UTC) (envelope-from eancaer@gmail.com) Received: by mail-lf0-x22d.google.com with SMTP id q132so24086003lfe.5 for ; Tue, 12 Sep 2017 00:44:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=i99+t74MBFrarz2e8riiZyzfTu0BKWJFx+gNFj6gw3M=; b=BQJVdaCVu6vUWe5LeqRRZRtV65/8duemxaDBl/4m+SzucqK4kvg1EtcfXSX/2Mum0Z ga+cs+5CK2QuyKvYFqKLfLyQdU66NMovemq7wlkGUOvw45DuxVe4Bsc3bDZzsh0MPUEf dLbky5mvC3CUo4EDdNIov1wvdbI4rO+7c9fKtVeHZ8NrM7WRDTDRw8d5NxbgsJ8gPRhV LVRjrmgjA8FgrAMenpSKmYWj1GPCfwT6XV05EHCombeyDnEOecG144QroFtT2jtM9jkQ lL3t2QTkcwWDypEH8vzDwX7kICp94JCjUL+e8RHkeNqa6pqGGbbDOgPx5fOqi93fze0I shmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=i99+t74MBFrarz2e8riiZyzfTu0BKWJFx+gNFj6gw3M=; b=R3xEfJVo9d1K537Yt5QG8xlVS8FtIKmhjT5qKGCFwyOK9iqou5HvA5VDIZ6V7mF6sQ PUH4F/woPDxCwJBDJ98oQOmsLU5pHwKSPg4zHQ36DxsYW09A5XaT809wgdQ3uNFFYurV zVgjq/uhPuAcg3qXjbTo/aFatMTzH5ARc3oGqIkhHKOejAm6QsrFQUDs+RwZMgON+Rjj 36JL1HCA8z18PJYFWhF2bFii5uBl+HSKZCFVCFFr5V+1mvjsXwDbh+uK00mNCspIt5t+ FGQVKQUByZJMFsCIMCfRk8Z1vwuZa5IzpbdyP2J76javU3UKMOERdiEDjodl7jVgkg0b dRIw== X-Gm-Message-State: AHPjjUgFAdPhVz8o9CBL4/AfRlD9y36UVtcnwLxJ73PH8x7fEbGAu2k2 tn76VxIGTF3nfJAjNn+pR3VRDzpE/YUu X-Google-Smtp-Source: AOwi7QBj9VPUYC9qr26pWhxO4BoYGUzmKFMtIKFVAdVLDlbM76o7RyQAYD7LVUZsgmd2gtYwpuN+binbfCCcy4VVk7Y= X-Received: by 10.25.221.29 with SMTP id u29mr5133112lfg.80.1505202269463; Tue, 12 Sep 2017 00:44:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.5.198 with HTTP; Tue, 12 Sep 2017 00:44:28 -0700 (PDT) From: Edwin Ancaer Date: Tue, 12 Sep 2017 09:44:28 +0200 Message-ID: Subject: Installing ICU ports on freebsd 11.0 To: 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: Tue, 12 Sep 2017 07:44:32 -0000 Hello, I installed GNUstep on Freebsd 11.0, and I seem to be having a problem with the localization methods for Dates and Times in GNUstep. While everything seems to be OK when calling these methods, the results are wrong. As a possible cause, a problem in my ICU-installation was mentioned. Apparently, the library /usr/local/lib/libicudata.so.58.2 should be several megabytes, while I find it is only 1.1K. I tried to reinstall the ICU port, with the commands - sudo make deinstall - sudo make clean - suddo make install Again, everything seems to be working, no errors while installing, but the library in question remains 1.1K. Is there anyone with experience in installing ICU on FreeBSD, that can confirm that the size of /usr/local/lib/libicudata.so.58.2 on my system is problematic, and if so, can tell me how to install a correct library? Thanks in advance, E. Ancaer From owner-freebsd-questions@freebsd.org Tue Sep 12 08:45: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 2EA96E224B9 for ; Tue, 12 Sep 2017 08:45:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B37D9685DD for ; Tue, 12 Sep 2017 08:45:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [192.168.24.29] (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 9C1CE1084 for ; Tue, 12 Sep 2017 08:45:08 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Subject: Re: Need help To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <7f054774-5538-6884-fb5d-be155456d081@freebsd.org> Date: Tue, 12 Sep 2017 09:45:08 +0100 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 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, 12 Sep 2017 08:45:12 -0000 On 12/09/17 08:32, Igor V. Ruzanov wrote: > Hello, FreeBSD colleagues! > > I have modern network card Intel i350T2V2 (peripheral dual gigabit port > NIC). And as far as i know all Intel cards should be normally detected > by the system. But with this NIC i have some troubles: > - the system sees the card as some ethernet device but cannot find > proper (igb) driver: > pcib6: irq 47 at device 3.2 on pci0 > pci6: on pcib6 > pci6: at device 0.0 (no driver attached) > pci6: at device 0.1 (no driver attached) > - its from dmesg log. > > Fnd `pciconf -lcvb' says: > none75@pci0:6:0:0:      class=0x020000 card=0x00008086 chip=0x151f8086 > rev=0x01 hdr=0x00 >     vendor     = 'Intel Corporation' >     class      = network >     subclass   = ethernet >     bar   [10] = type Memory, range 32, base 0x91920000, size 131072, > enabled >     bar   [18] = type I/O Port, range 32, base 0x2020, size 32, enabled >     bar   [1c] = type Memory, range 32, base 0x919c4000, size 16384, > enabled >     cap 01[40] = powerspec 3  supports D0 D3  current D0 >     cap 05[50] = MSI supports 1 message, 64 bit, vector masks >     cap 11[70] = MSI-X supports 10 messages >                  Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] >     cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link > x4(x4) >                  speed 5.0(5.0) ASPM disabled(L0s/L1) >     ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected >     ecap 000e[150] = ARI 1 >     ecap 0010[160] = SRIOV 1 >     ecap 0017[1a0] = TPH Requester 1 >     ecap 0018[1c0] = LTR 1 >     ecap 000d[1d0] = ACS 1 > none76@pci0:6:0:1:      class=0x020000 card=0x00008086 chip=0x151f8086 > rev=0x01 hdr=0x00 >     vendor     = 'Intel Corporation' >     class      = network >     subclass   = ethernet >     bar   [10] = type Memory, range 32, base 0x91900000, size 131072, > enabled >     bar   [18] = type I/O Port, range 32, base 0x2000, size 32, enabled >     bar   [1c] = type Memory, range 32, base 0x919c0000, size 16384, > enabled >     cap 01[40] = powerspec 3  supports D0 D3  current D0 >     cap 05[50] = MSI supports 1 message, 64 bit, vector masks >     cap 11[70] = MSI-X supports 10 messages >                  Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] >     cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link > x4(x4) >                  speed 5.0(5.0) ASPM disabled(L0s/L1) >     ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected >     ecap 000e[150] = ARI 1 >     ecap 0010[160] = SRIOV 1 >     ecap 0017[1a0] = TPH Requester 1 >     ecap 000d[1d0] = ACS 1 > > My server is: > - system is FreeBSD-10.3-RELEASE-p20 > - motherboard: Intel S2600WT (dual CPU socket board) > - one CPU installed > > Maybe someone has experience with this inetl NIC? As seen from pciconf > output the NIC has a set of VFs (Virtual Functions) needed in > virtualization environments. And chip id is 0x151F8086 - the id that > igb-driver does not know about. Maybe i need some preconfiguration of > this card? Or this device is not compatible with non-virtualization > systems like usual physical server? > > Big thanks in advance! Pretty much all Intel NICs should be supported. i350 certainly should use the igb(4) driver. Can you try booting a more recent version of FreeBSD from a memstick image and see if the NIC is properly detected there? If that works, then upgrading should solve your problems. (11.1 probably your best bet, but there's also 10.4 in the late stages of the release process.) Beyond that I suggest taking your question to the freebsd-net@ list as you're likely to come to the attention of the people who write the drivers there. Cheers, Matthew From owner-freebsd-questions@freebsd.org Tue Sep 12 08:57: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 70FE5E22CB9 for ; Tue, 12 Sep 2017 08:57:50 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 EB36968AE8; Tue, 12 Sep 2017 08:57:49 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 9FD082DBB757; Tue, 12 Sep 2017 11:57:40 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Tue, 12 Sep 2017 11:57:40 +0300 (MSK) Date: Tue, 12 Sep 2017 11:57:40 +0300 (MSK) From: "Igor V. Ruzanov" To: Matthew Seaman cc: freebsd-questions@freebsd.org Subject: Re: Need help In-Reply-To: <7f054774-5538-6884-fb5d-be155456d081@freebsd.org> Message-ID: References: <7f054774-5538-6884-fb5d-be155456d081@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: 8BIT 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, 12 Sep 2017 08:57:50 -0000 On Tue, 12 Sep 2017, Matthew Seaman wrote: |On 12/09/17 08:32, Igor V. Ruzanov wrote: |> Hello, FreeBSD colleagues! |> |> I have modern network card Intel i350T2V2 (peripheral dual gigabit port |> NIC). And as far as i know all Intel cards should be normally detected |> by the system. But with this NIC i have some troubles: |> - the system sees the card as some ethernet device but cannot find |> proper (igb) driver: |> pcib6: irq 47 at device 3.2 on pci0 |> pci6: on pcib6 |> pci6: at device 0.0 (no driver attached) |> pci6: at device 0.1 (no driver attached) |> - its from dmesg log. |> |> Fnd `pciconf -lcvb' says: |> none75@pci0:6:0:0:      class=0x020000 card=0x00008086 chip=0x151f8086 |> rev=0x01 hdr=0x00 |>     vendor     = 'Intel Corporation' |>     class      = network |>     subclass   = ethernet |>     bar   [10] = type Memory, range 32, base 0x91920000, size 131072, |> enabled |>     bar   [18] = type I/O Port, range 32, base 0x2020, size 32, enabled |>     bar   [1c] = type Memory, range 32, base 0x919c4000, size 16384, |> enabled |>     cap 01[40] = powerspec 3  supports D0 D3  current D0 |>     cap 05[50] = MSI supports 1 message, 64 bit, vector masks |>     cap 11[70] = MSI-X supports 10 messages |>                  Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] |>     cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link |> x4(x4) |>                  speed 5.0(5.0) ASPM disabled(L0s/L1) |>     ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected |>     ecap 000e[150] = ARI 1 |>     ecap 0010[160] = SRIOV 1 |>     ecap 0017[1a0] = TPH Requester 1 |>     ecap 0018[1c0] = LTR 1 |>     ecap 000d[1d0] = ACS 1 |> none76@pci0:6:0:1:      class=0x020000 card=0x00008086 chip=0x151f8086 |> rev=0x01 hdr=0x00 |>     vendor     = 'Intel Corporation' |>     class      = network |>     subclass   = ethernet |>     bar   [10] = type Memory, range 32, base 0x91900000, size 131072, |> enabled |>     bar   [18] = type I/O Port, range 32, base 0x2000, size 32, enabled |>     bar   [1c] = type Memory, range 32, base 0x919c0000, size 16384, |> enabled |>     cap 01[40] = powerspec 3  supports D0 D3  current D0 |>     cap 05[50] = MSI supports 1 message, 64 bit, vector masks |>     cap 11[70] = MSI-X supports 10 messages |>                  Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] |>     cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link |> x4(x4) |>                  speed 5.0(5.0) ASPM disabled(L0s/L1) |>     ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected |>     ecap 000e[150] = ARI 1 |>     ecap 0010[160] = SRIOV 1 |>     ecap 0017[1a0] = TPH Requester 1 |>     ecap 000d[1d0] = ACS 1 |> |> My server is: |> - system is FreeBSD-10.3-RELEASE-p20 |> - motherboard: Intel S2600WT (dual CPU socket board) |> - one CPU installed |> |> Maybe someone has experience with this inetl NIC? As seen from pciconf |> output the NIC has a set of VFs (Virtual Functions) needed in |> virtualization environments. And chip id is 0x151F8086 - the id that |> igb-driver does not know about. Maybe i need some preconfiguration of |> this card? Or this device is not compatible with non-virtualization |> systems like usual physical server? |> |> Big thanks in advance! | |Pretty much all Intel NICs should be supported. i350 certainly should |use the igb(4) driver. | Totally agree! |Can you try booting a more recent version of FreeBSD from a memstick |image and see if the NIC is properly detected there? If that works, |then upgrading should solve your problems. (11.1 probably your best |bet, but there's also 10.4 in the late stages of the release process.) | |Beyond that I suggest taking your question to the freebsd-net@ list as |you're likely to come to the attention of the people who write the |drivers there. | I tried :) FreeBSD-11.x (not sure that it was 11.1, but it does not matter). Also with Linux RHEL7 (with kernel 3.10) in rescue console (but i was able to load igb-, kvm-modules) i could see exactly the same symptoms. Anyway thank your for your reply and suggestion, Matthew! I'll try to ask my question to the freebsd-net group. From owner-freebsd-questions@freebsd.org Tue Sep 12 10:55: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 B4497E02CD6 for ; Tue, 12 Sep 2017 10:55:53 +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 75E926CB4B for ; Tue, 12 Sep 2017 10:55:53 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [2.247.249.66] (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 1drir2-0003Da-II for freebsd-questions@freebsd.org; Tue, 12 Sep 2017 12:55:45 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v8CAteVY052272 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 12 Sep 2017 12:55:40 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v8CAtdnF052271 for freebsd-questions@freebsd.org; Tue, 12 Sep 2017 12:55:39 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 12 Sep 2017 12:55:38 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: modifying the BIOS of an Acer C720 from within FreeBSD CURRENT Message-ID: <20170912105538.GA52179@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: 2.247.249.66 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, 12 Sep 2017 10:55:53 -0000 Hello, The background: To be able to install and boot FreeBSD on an Acer C720 Chromebook, one must tweak some bits in the BIOS and enable a so called LEGACY BIOS mode (after removing the hardware write protection of the BIOS). To do so, there are some tools within ChromeOS which allow this procedure, but after this you can not boot ChromeOS anymore (from the saved SSD) and so you can't use these tools within ChromeOS to switch the bits back. The tools to use are simple: # flashrom -p internal -i GBB -r bios.bin # futility gbb -s --flags=3D$flags bios.bin # flashrom -p host -i GBB --fast-verify -w bios.bin Flashrom we have in the ports as sysutils/flashrom and it works, even with the small problem at the moment: $ flashrom -R flashrom v0.9.9-r1955 on FreeBSD 12.0-CURRENT (amd64) flashrom is free software, get the source code at https://flashrom.org $ flashrom -L | egrep -i 'acer|720|chro' Acer V75-M OK Acer EM61SM/EM61PM OK GIGABYTE GA-M720-US3 OK MSI MS-7207 (K8NGM2-L) OK (autodetect= ed) Acer Aspire 1520 OK Acer Aspire One BAD $ flashrom -p internal -i GBB -r bios.bin flashrom v0.9.9-r1955 on FreeBSD 12.0-CURRENT (amd64) flashrom is free software, get the source code at https://flashrom.org Region requested (with -i "GBB"), but no layout data is available. The other tool (futility) is part of ChromiumOS and can be fetched from here: $ git clone https://chromium.googlesource.com/chromiumos/platform/vboot_ref= erence A first try to make it gives: $ cd vboot_reference $ gmake Using qemu for testing. Package libcrypto was not found in the pkg-config search path. Perhaps you should add the directory containing `libcrypto.pc' to the PKG_CONFIG_PATH environment variable Package 'libcrypto', required by 'virtual:world', not found We have libcrypto.so in the base system in /usr/lib, but I do not see any file libcrypto.pc so that other could pick this up; should I install OpenSSL from the ports system? The other error on compile is this and I have no clue how to solve this: CC firmware/linktest/main.o CC firmware/lib/vboot_common.o CC firmware/lib/region-fw.o CC firmware/lib/vboot_common_init.o CC firmware/lib/vboot_nvstorage.o CC firmware/lib/region-init.o CC firmware/lib/rollback_index.o CC firmware/lib/tpm_lite/tlcl.o CC firmware/stub/tpm_lite_stub.o CC firmware/stub/vboot_api_stub_init.o CC firmware/stub/vboot_api_stub_region.o CC firmware/lib/cgptlib/cgptlib.o CC firmware/lib/cgptlib/cgptlib_internal.o CC firmware/lib/cgptlib/crc32.o CC firmware/lib/ec_sync.o CC firmware/lib/ec_sync_all.o CC firmware/lib/gpt_misc.o CC firmware/lib/utility_string.o CC firmware/lib/vboot_api_kernel.o firmware/lib/vboot_api_kernel.c:512:16: error: implicit conversion from enu= meration type 'enum vb2_nv_param' to different enumeration type 'VbNvParam' (aka 'e= num VbNvParam') [-Werror,-Wenum-conversion] VbNvGet(&vnc, VB2_NV_DEV_BOOT_FASTBOOT_FULL_CAP, ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake: *** [Makefile:1204: /usr/home/guru/Acer-C720/vboot_reference/build/f= irmware/lib/vboot_api_kernel.o] Error 1 Thanks 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 From owner-freebsd-questions@freebsd.org Tue Sep 12 16:59: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 A1198E1285C for ; Tue, 12 Sep 2017 16:59:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83CF57D482; Tue, 12 Sep 2017 16:59:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id C6082180DD; Tue, 12 Sep 2017 16:59:31 +0000 (UTC) From: Jan Beich To: Edwin Ancaer Cc: freebsd-questions@freebsd.org Subject: Re: Installing ICU ports on freebsd 11.0 References: Date: Tue, 12 Sep 2017 18:59:28 +0200 In-Reply-To: (Edwin Ancaer's message of "Tue, 12 Sep 2017 09:44:28 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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, 12 Sep 2017 16:59:32 -0000 Edwin Ancaer writes: > I installed GNUstep on Freebsd 11.0, and I seem to be having a problem > with the localization methods for Dates and Times in GNUstep. While > everything seems to be OK when calling these methods, the results are > wrong. Do you have a sample code or steps to reproduce? Maybe file a bug, so maintainer can help filter out GNUstep-specific issues. > Apparently, the library /usr/local/lib/libicudata.so.58.2 should be > several megabytes, while I find it is only 1.1K. devel/icu is built --with-data-packaging=archive which means the data ends up in icudt* file e.g., $ pkg info -l icu | fgrep icudt | xargs du -Ah 25M /usr/local/share/icu/59.1/icudt59l.dat From owner-freebsd-questions@freebsd.org Tue Sep 12 17:09: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 50336E12F53 for ; Tue, 12 Sep 2017 17:09:22 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (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 A94167DCB0 for ; Tue, 12 Sep 2017 17:09:20 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v8CGf9L0092173; Tue, 12 Sep 2017 18:41:10 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Installing ICU ports on freebsd 11.0 To: Edwin Ancaer , freebsd-questions@freebsd.org References: From: Bernt Hansson Message-ID: Date: Tue, 12 Sep 2017 18:41:09 +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: 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: Tue, 12 Sep 2017 17:09:22 -0000 On 09/12/17 09:44, Edwin Ancaer wrote: > Hello, > > I installed GNUstep on Freebsd 11.0, and I seem to be having a problem with > the localization methods for > Dates and Times in GNUstep. While everything seems to be OK when calling > these methods, the results are wrong. > As a possible cause, a problem in my ICU-installation was mentioned. > Apparently, the library /usr/local/lib/libicudata.so.58.2 should be > several megabytes, while I find it is only 1.1K. > > I tried to reinstall the ICU port, with the commands > - sudo make deinstall > - sudo make clean > - suddo make install > > Again, everything seems to be working, no errors while installing, but the > library in question remains 1.1K. > > Is there anyone with experience in installing ICU on FreeBSD, that can > confirm that the size of /usr/local/lib/libicudata.so.58.2 on my system is > problematic, and if so, can tell me how to install a correct library? > > My libicudata.58.2 is 1704 bytes. But I'm not a gnustep user so can't really tell what's wrong. Here is my /usr/local/lib directory with libicu* so you can compare. -rw-r--r-- 1 root wheel 1300 Aug 15 22:58 libicudata.a lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicudata.so -> libicudata.so.58.2 lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicudata.so.58 -> libicudata.so.58.2 -r-xr-xr-x 1 root wheel 1704 Aug 15 22:58 libicudata.so.58.2 -rw-r--r-- 1 root wheel 5528934 Aug 15 22:58 libicui18n.a lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicui18n.so -> libicui18n.so.58.2 lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicui18n.so.58 -> libicui18n.so.58.2 -r-xr-xr-x 1 root wheel 2735560 Aug 15 22:58 libicui18n.so.58.2 -rw-r--r-- 1 root wheel 85818 Aug 15 22:58 libicuio.a lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuio.so -> libicuio.so.58.2 lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuio.so.58 -> libicuio.so.58.2 -r-xr-xr-x 1 root wheel 54544 Aug 15 22:58 libicuio.so.58.2 -rw-r--r-- 1 root wheel 100550 Aug 15 22:58 libicutest.a lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicutest.so -> libicutest.so.58.2 lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicutest.so.58 -> libicutest.so.58.2 -r-xr-xr-x 1 root wheel 65376 Aug 15 22:58 libicutest.so.58.2 -rw-r--r-- 1 root wheel 334014 Aug 15 22:58 libicutu.a lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicutu.so -> libicutu.so.58.2 lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicutu.so.58 -> libicutu.so.58.2 -r-xr-xr-x 1 root wheel 189424 Aug 15 22:58 libicutu.so.58.2 -rw-r--r-- 1 root wheel 3009664 Aug 15 22:58 libicuuc.a lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuuc.so -> libicuuc.so.58.2 lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuuc.so.58 -> libicuuc.so.58.2 -r-xr-xr-x 1 root wheel 1776608 Aug 15 22:58 libicuuc.so.58.2 From owner-freebsd-questions@freebsd.org Tue Sep 12 21:41: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 92F3AE1FD5B for ; Tue, 12 Sep 2017 21:41:13 +0000 (UTC) (envelope-from eancaer@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 07A9364151 for ; Tue, 12 Sep 2017 21:41:13 +0000 (UTC) (envelope-from eancaer@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id c80so29745841lfh.0 for ; Tue, 12 Sep 2017 14:41:12 -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=oCePquv7W+ZU8kSGRgMoFsLy9kVz/yg3TsRMK8LW/3M=; b=lClYM7M+x0Hw5uBXuR/jWlpgd8gGSdnRKpQgas2VZNIkEbPH1ujsFkY3ujNQkiUdSd cSE7MgB+hU7O+SpktPtmTYJxbbkhqjMbPBuU1hJ+h+UpwwzUJE/HYtUkjvxtHjtYg80Q L4wxxWJzgrp59u0pN/6T5TY1grHfZPZcKwGVkQcY4G/xvL7GGoMD6U6QYqmKZP/dbZC1 HMiWuF0EVJVivDhZtGobSbYT+3/LuyhqY1epCBRKXvEIWmv9vaQqnXZXzZH2CqjN+uUq 0ZyiSdyEagdinejyupelk+a98JDBabSzrnBCVf90hSMxDggrGW/CfpoMk5wyFeE3rVek sqJA== 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=oCePquv7W+ZU8kSGRgMoFsLy9kVz/yg3TsRMK8LW/3M=; b=JiLQBdph5MP5JSeCv5EWsizssMWQos2wqXDi/EqYRAH3E1NqBWmhGFi9kP3dtSWZwV 18zkfMkhG1Jpdf6+0VelUuxPF6dHVq1vTQuxbnZO6fWx5DUslKtv6jjGwh1QCbOFVkoy hms9Jq8wXuOpKU+/qHDEAwEUf7MfptWe8xNcld3RHP5XlhAKz5hAEONxMTsJITL7W8nq qy2oJP6vy4ox3c6v6mt21dBIgqdgOkkV4J4o9loGEqSr6mQFcM93bfj7uqszBB2TAg4d HuE+PnQXPCOVnkQsl0u5ZfqQWslNYSO0jAgG4oc5vYs7NtDZz7jjw53H4yc0a18wML6t LvQw== X-Gm-Message-State: AHPjjUgyd8NTthn5fcT7H7p/3OIh/drTfdRG3E1vu2LHP0b7VUjFk5Mp TuWoagb093RGXZkZLsyCbrsGtofv/Os2HIJ7iW0= X-Google-Smtp-Source: AOwi7QBeqJJJWoRRVtAs3Peeymfxgz1eRZVmb6qSILE3HTexmfHfSe1ZPlOYB/SuRNnUhfotS7imHQedjg5PrxqJ+Xg= X-Received: by 10.25.221.29 with SMTP id u29mr6052890lfg.80.1505252470893; Tue, 12 Sep 2017 14:41:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.5.198 with HTTP; Tue, 12 Sep 2017 14:41:10 -0700 (PDT) In-Reply-To: References: From: Edwin Ancaer Date: Tue, 12 Sep 2017 23:41:10 +0200 Message-ID: Subject: Re: Installing ICU ports on freebsd 11.0 To: Bernt Hansson Cc: 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: Tue, 12 Sep 2017 21:41:13 -0000 Bernt, thanks for the example. I've got the same libraries: [edwin@ottopedi ~]$ ls -al /usr/local/lib/libicu* -rw-r--r-- 1 root wheel 748 Sep 11 13:31 /usr/local/lib/libicudata.a lrwxr-xr-x 1 root wheel 18 Sep 11 13:31 /usr/local/lib/libicudata.so -> libicudata.so.58.2 lrwxr-xr-x 1 root wheel 18 Sep 11 13:31 /usr/local/lib/libicudata.so.58 -> libicudata.so.58.2 -r-xr-xr-x 1 root wheel 1148 Sep 11 13:31 /usr/local/lib/libicudata.so.58.2 -rw-r--r-- 1 root wheel 4164506 Sep 11 13:31 /usr/local/lib/libicui18n.a lrwxr-xr-x 1 root wheel 18 Sep 11 13:31 /usr/local/lib/libicui18n.so -> libicui18n.so.58.2 lrwxr-xr-x 1 root wheel 18 Sep 11 13:31 /usr/local/lib/libicui18n.so.58 -> libicui18n.so.58.2 -r-xr-xr-x 1 root wheel 2651124 Sep 11 13:31 /usr/local/lib/libicui18n.so.58.2 -rw-r--r-- 1 root wheel 56834 Sep 11 13:31 /usr/local/lib/libicuio.a lrwxr-xr-x 1 root wheel 16 Sep 11 13:31 /usr/local/lib/libicuio.so -> libicuio.so.58.2 lrwxr-xr-x 1 root wheel 16 Sep 11 13:31 /usr/local/lib/libicuio.so.58 -> libicuio.so.58.2 -r-xr-xr-x 1 root wheel 45316 Sep 11 13:31 /usr/local/lib/libicuio.so.58.2 -rw-r--r-- 1 root wheel 70522 Sep 11 13:31 /usr/local/lib/libicutest.a lrwxr-xr-x 1 root wheel 18 Sep 11 13:31 /usr/local/lib/libicutest.so -> libicutest.so.58.2 lrwxr-xr-x 1 root wheel 18 Sep 11 13:31 /usr/local/lib/libicutest.so.58 -> libicutest.so.58.2 -r-xr-xr-x 1 root wheel 56856 Sep 11 13:31 /usr/local/lib/libicutest.so.58.2 -rw-r--r-- 1 root wheel 245082 Sep 11 13:31 /usr/local/lib/libicutu.a lrwxr-xr-x 1 root wheel 16 Sep 11 13:31 /usr/local/lib/libicutu.so -> libicutu.so.58.2 lrwxr-xr-x 1 root wheel 16 Sep 11 13:31 /usr/local/lib/libicutu.so.58 -> libicutu.so.58.2 -r-xr-xr-x 1 root wheel 176548 Sep 11 13:31 /usr/local/lib/libicutu.so.58.2 -rw-r--r-- 1 root wheel 2325286 Sep 11 13:31 /usr/local/lib/libicuuc.a lrwxr-xr-x 1 root wheel 16 Sep 11 13:31 /usr/local/lib/libicuuc.so -> libicuuc.so.58.2 lrwxr-xr-x 1 root wheel 16 Sep 11 13:31 /usr/local/lib/libicuuc.so.58 -> libicuuc.so.58.2 -r-xr-xr-x 1 root wheel 1628492 Sep 11 13:31 /usr/local/lib/libicuuc.so.58.2 What makes the size of the files is different from 1 machine to the other? Do I have to define the supported locales somewhere in FreeBSD before generating the libraries? Thanks for helping out Edwin 2017-09-12 18:41 GMT+02:00 Bernt Hansson : > On 09/12/17 09:44, Edwin Ancaer wrote: > >> Hello, >> >> I installed GNUstep on Freebsd 11.0, and I seem to be having a problem >> with >> the localization methods for >> Dates and Times in GNUstep. While everything seems to be OK when calling >> these methods, the results are wrong. >> As a possible cause, a problem in my ICU-installation was mentioned. >> Apparently, the library /usr/local/lib/libicudata.so.58.2 should be >> several megabytes, while I find it is only 1.1K. >> >> I tried to reinstall the ICU port, with the commands >> - sudo make deinstall >> - sudo make clean >> - suddo make install >> >> Again, everything seems to be working, no errors while installing, but the >> library in question remains 1.1K. >> >> Is there anyone with experience in installing ICU on FreeBSD, that can >> confirm that the size of /usr/local/lib/libicudata.so.58.2 on my system >> is >> problematic, and if so, can tell me how to install a correct library? >> >> >> My libicudata.58.2 is 1704 bytes. But I'm not a gnustep user so can't > really > tell what's wrong. Here is my /usr/local/lib directory with libicu* so you > can compare. > > > -rw-r--r-- 1 root wheel 1300 Aug 15 22:58 libicudata.a > lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicudata.so -> > libicudata.so.58.2 > lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicudata.so.58 -> > libicudata.so.58.2 > -r-xr-xr-x 1 root wheel 1704 Aug 15 22:58 libicudata.so.58.2 > -rw-r--r-- 1 root wheel 5528934 Aug 15 22:58 libicui18n.a > lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicui18n.so -> > libicui18n.so.58.2 > lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicui18n.so.58 -> > libicui18n.so.58.2 > -r-xr-xr-x 1 root wheel 2735560 Aug 15 22:58 libicui18n.so.58.2 > -rw-r--r-- 1 root wheel 85818 Aug 15 22:58 libicuio.a > lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuio.so -> > libicuio.so.58.2 > lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuio.so.58 -> > libicuio.so.58.2 > -r-xr-xr-x 1 root wheel 54544 Aug 15 22:58 libicuio.so.58.2 > -rw-r--r-- 1 root wheel 100550 Aug 15 22:58 libicutest.a > lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicutest.so -> > libicutest.so.58.2 > lrwxr-xr-x 1 root wheel 18 Aug 15 22:58 libicutest.so.58 -> > libicutest.so.58.2 > -r-xr-xr-x 1 root wheel 65376 Aug 15 22:58 libicutest.so.58.2 > -rw-r--r-- 1 root wheel 334014 Aug 15 22:58 libicutu.a > lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicutu.so -> > libicutu.so.58.2 > lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicutu.so.58 -> > libicutu.so.58.2 > -r-xr-xr-x 1 root wheel 189424 Aug 15 22:58 libicutu.so.58.2 > -rw-r--r-- 1 root wheel 3009664 Aug 15 22:58 libicuuc.a > lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuuc.so -> > libicuuc.so.58.2 > lrwxr-xr-x 1 root wheel 16 Aug 15 22:58 libicuuc.so.58 -> > libicuuc.so.58.2 > -r-xr-xr-x 1 root wheel 1776608 Aug 15 22:58 libicuuc.so.58.2 > > From owner-freebsd-questions@freebsd.org Tue Sep 12 22:00: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 AA574E20CD8 for ; Tue, 12 Sep 2017 22:00:54 +0000 (UTC) (envelope-from eancaer@gmail.com) Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::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 2F67964E19; Tue, 12 Sep 2017 22:00:54 +0000 (UTC) (envelope-from eancaer@gmail.com) Received: by mail-lf0-x233.google.com with SMTP id l196so29764595lfl.1; Tue, 12 Sep 2017 15:00:54 -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=MQ1k7jBBPHbPL1raShUqMj1MSGEx7NE5XGZauiGRtMw=; b=ieiM1U2NbupJwWLAQXe3PfegQ5eAihzBv8FQVt3HjB9Q2qlwz3r/SiFCLfha+G5Aa4 blstOBMSvAHncZ3zKxEyBP4PK/E52188LIHHcxeGEaBxPBXanX5rfSZZUMX81uT8MEi1 BDDfDEHO1lyMZ7bIlOJ7ulltBCcq1zem64GpXAU7jbTz9f3klkpL9ZzEvFtim5d7xW3y gqbIqm77+xLKyEzUOd2W8lo/qrMkWXoPjepp5qwCzHaytm5NjUMksF0YdVtekk1nYy0d kr9Z1JwLzLRrgbr9c5auFQ0hUFIsRJD8yHATW4i/ZdOCRnD91rn1Tc2h6G4KBg1bTD43 dAWw== 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=MQ1k7jBBPHbPL1raShUqMj1MSGEx7NE5XGZauiGRtMw=; b=P/+dMrwHUxt6KiR7AZQEgw+fkMzEtQYPAku22PmGDgC8ALPIuCom90f6Xd7t6jN0R2 kTruqyyJkqpjZpvgl4h46z4UYZfV3RJolaBensyN2DBTCQTK0KzJX0VmUnybGNSb/qli B4gA2CqKeTl1CtXHFboiUo9dlYmcWmbBWRrRsiGVVyJUiFdGjyGjnqoQk5gKG2Afwinu VAahgeZ7uo9AEEf1xMPrePEjdXc5aCh9Rqf1aN9vCG7cBxaR/q6Mi2lsq0nvwVtwr6T0 J8mk7xP73G+4smTqCU669s7KV+3VqfgwVU8FFeYk0Gz4h3uRVWTbMwcb5KvOtDMtRC+c MFLA== X-Gm-Message-State: AHPjjUjq/KSBqskR5ZdTZfpmRjTxpF7PJcCpAL9WrnNHsxzigmjMhnCf 0EVgXZvAuPC7UuLsCclOF5VarMZUhWwXoWuS9cGT2w== X-Google-Smtp-Source: AOwi7QD+WI8icjRJ2giKB/UwiIf+qBzTPHls5IwIrN2ST4HoCGAgpZaNTVQED1cjbbT/IhnzZMx8myzYtqs0KS+x1a0= X-Received: by 10.25.0.143 with SMTP id 137mr4912300lfa.242.1505253652158; Tue, 12 Sep 2017 15:00:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.5.198 with HTTP; Tue, 12 Sep 2017 15:00:51 -0700 (PDT) In-Reply-To: References: From: Edwin Ancaer Date: Wed, 13 Sep 2017 00:00:51 +0200 Message-ID: Subject: Re: Installing ICU ports on freebsd 11.0 To: Jan Beich Cc: 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: Tue, 12 Sep 2017 22:00:54 -0000 Jan, thanks for looking into this. I also found 25M for icudt58l.dat [edwin@ottopedi ~]$ pkg info -l icu | fgrep icudt | xargs du -Ah 25M /usr/local/share/icu/58.2/icudt58l.dat. Before coming to the FreeBSD list, someone on the GNUstep-list checked my code, and it worked out OK for him. The difference we saw was that he had a libicudata.so.55.1 of 25M, so we supposed there was some ICU-issue. Now maybe his version (55 I presume) was working differently than mine (59), or generated without the --with-data-packaging=archive, and it is that that causes the problems for GNUstep. Is it worth trying to build devel/icu without this option, or would that be a bad id? Kind regards, and thanks for looking into this? Edwin 2017-09-12 18:59 GMT+02:00 Jan Beich : > Edwin Ancaer writes: > > > I installed GNUstep on Freebsd 11.0, and I seem to be having a problem > > with the localization methods for Dates and Times in GNUstep. While > > everything seems to be OK when calling these methods, the results are > > wrong. > > Do you have a sample code or steps to reproduce? Maybe file a bug, so > maintainer can help filter out GNUstep-specific issues. > > > Apparently, the library /usr/local/lib/libicudata.so.58.2 should be > > several megabytes, while I find it is only 1.1K. > > devel/icu is built --with-data-packaging=archive which means the data > ends up in icudt* file e.g., > > $ pkg info -l icu | fgrep icudt | xargs du -Ah > 25M /usr/local/share/icu/59.1/icudt59l.dat > From owner-freebsd-questions@freebsd.org Tue Sep 12 23:34: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 63BA8E24CDF for ; Tue, 12 Sep 2017 23:34:28 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-yw0-f170.google.com (mail-yw0-f170.google.com [209.85.161.170]) (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 2965F685A4 for ; Tue, 12 Sep 2017 23:34:27 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-yw0-f170.google.com with SMTP id v72so29419255ywa.3 for ; Tue, 12 Sep 2017 16:34:27 -0700 (PDT) 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:cc; bh=sRe0IfqZV0J1IbcY4NAhrRNuUBAQUCOsjTfpUjz3ISM=; b=mDuKWVVobzMOKgTT8x0PWPLo2zGmucP4AUEhEQvBfKIjDY33AdRWoeZPB02EJQ+4Uk WPpgXds7YcXzAAKRB2PErsFisq3O50Y6wtagB9373W4W5lS2bt70a/4hya36cavyVrxZ V+20UXTyXw+X//Je4kJMYQoqX0472pBZxRhnNxDPPLZoq0Kg4HM2kdnVKnEhp7opglb3 fu0WB9wWgEj3hphwSg7BC8h/oRQZGDU58pUC6OVcwGjE669FO+d5TwWjbpGNtyCmwpIS oK+DZMmyDSPl/HxAyFBPfG1ADInrkHohhP20TXXtGnqzY1Z5QfPJXbUFi1nHsbIn7imm dxPQ== X-Gm-Message-State: AHPjjUhhA7u8bZpUgffGrnY/C6QfAKUKZVqtFlEK3nTDtNRJbkX0qQJP uv2sY6ZwsxI83I4Grcg= X-Received: by 10.37.176.153 with SMTP id f25mr13752365ybj.299.1505259260902; Tue, 12 Sep 2017 16:34:20 -0700 (PDT) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com. [209.85.218.45]) by smtp.gmail.com with ESMTPSA id d127sm4379523ywe.13.2017.09.12.16.34.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 16:34:20 -0700 (PDT) Received: by mail-oi0-f45.google.com with SMTP id z73so33721949oia.2 for ; Tue, 12 Sep 2017 16:34:20 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBO2zrdFZ9HXXsQfbKazmOAYuJlx2NxgA1ezi8+l1eE3YwqovAp+bSe5lrB7cMkyQ5A6jzhtkJNpVHV314sD3k= X-Received: by 10.202.186.70 with SMTP id k67mr10798812oif.303.1505259259657; Tue, 12 Sep 2017 16:34:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Eric Joyner Date: Tue, 12 Sep 2017 23:34:09 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Need help To: "Igor V. Ruzanov" Cc: 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: Tue, 12 Sep 2017 23:34:28 -0000 Igor, A red flag is that it doesn't have an entry in the pci ids database, even though I350's are very common and normal devices. It also doesn't appear in the Linux igb driver. I think something is wrong with your card. - Eric On Tue, Sep 12, 2017 at 12:42 AM Igor V. Ruzanov wrote: > Hello, FreeBSD colleagues! > > I have modern network card Intel i350T2V2 (peripheral dual gigabit port > NIC). And as far as i know all Intel cards should be normally detected by > the system. But with this NIC i have some troubles: > - the system sees the card as some ethernet device but cannot find > proper (igb) driver: > pcib6: irq 47 at device 3.2 on pci0 > pci6: on pcib6 > pci6: at device 0.0 (no driver attached) > pci6: at device 0.1 (no driver attached) > - its from dmesg log. > > Fnd `pciconf -lcvb' says: > none75@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x151f8086 > rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > class = network > subclass = ethernet > bar [10] = type Memory, range 32, base 0x91920000, size 131072, > enabled > bar [18] = type I/O Port, range 32, base 0x2020, size 32, enabled > bar [1c] = type Memory, range 32, base 0x919c4000, size 16384, > enabled > cap 01[40] = powerspec 3 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message, 64 bit, vector masks > cap 11[70] = MSI-X supports 10 messages > Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] > cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link > x4(x4) > speed 5.0(5.0) ASPM disabled(L0s/L1) > ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected > ecap 000e[150] = ARI 1 > ecap 0010[160] = SRIOV 1 > ecap 0017[1a0] = TPH Requester 1 > ecap 0018[1c0] = LTR 1 > ecap 000d[1d0] = ACS 1 > none76@pci0:6:0:1: class=0x020000 card=0x00008086 chip=0x151f8086 > rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > class = network > subclass = ethernet > bar [10] = type Memory, range 32, base 0x91900000, size 131072, > enabled > bar [18] = type I/O Port, range 32, base 0x2000, size 32, enabled > bar [1c] = type Memory, range 32, base 0x919c0000, size 16384, > enabled > cap 01[40] = powerspec 3 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message, 64 bit, vector masks > cap 11[70] = MSI-X supports 10 messages > Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] > cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link > x4(x4) > speed 5.0(5.0) ASPM disabled(L0s/L1) > ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected > ecap 000e[150] = ARI 1 > ecap 0010[160] = SRIOV 1 > ecap 0017[1a0] = TPH Requester 1 > ecap 000d[1d0] = ACS 1 > > My server is: > - system is FreeBSD-10.3-RELEASE-p20 > - motherboard: Intel S2600WT (dual CPU socket board) > - one CPU installed > > Maybe someone has experience with this inetl NIC? As seen from pciconf > output the NIC has a set of VFs (Virtual Functions) needed in > virtualization environments. And chip id is 0x151F8086 - the id that > igb-driver does not know about. Maybe i need some preconfiguration of this > card? Or this device is not compatible with non-virtualization systems > like usual physical server? > > Big thanks in advance! > _______________________________________________ > 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 Wed Sep 13 07:03: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 DD4A8E10AC0 for ; Wed, 13 Sep 2017 07:03:00 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 84209763BE for ; Wed, 13 Sep 2017 07:03:00 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: by mail-wm0-x231.google.com with SMTP id g206so5705110wme.0 for ; Wed, 13 Sep 2017 00:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phpandmore-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=5kE4mydPN3kTw7QtZvvZJwzot8WLSnHL9jGvzTet2CM=; b=QXV+sKap3dLj5wDJk5bUFjxbW0gyHGOzh7zjjUlYHwqoM1FheSMmszddIjupyw7fYS NrHV76Sei1eKRChTkH8agXHi65fEcPAcAdmJR0O35MxdZpNJvNwknKBVMWqkOsiukyIJ kn8DpbMLx8MJYF5DDzMn7AtX3wV086cFylTzOrREBZX9+X2YiV3rGQLQMRBEhza0lufX t5fXhFq7zW/BxQAEulzLtpfMN1nxAkzUkYQPBihYW1hF//2b7rS3UZLl0fz87eosF01I aV2wkvkPm14vrJeWtHVlZ/2Gz8A0ZeJ7zxhtP74wXLUP0/euM7vAXxii5unBZCs1AM02 8uGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=5kE4mydPN3kTw7QtZvvZJwzot8WLSnHL9jGvzTet2CM=; b=YOGs25j09O9Cr+MbTbrLOrLxTmEiVoeAPHf1izs+5AJFE4sn37GpMxkZm9ny8s9QO/ bfoB9BsSjefc4cBTKVpK05xMr+btFq7hb7ux+VVIm5RV8LFACOZzBT52q6QB+0Koc2Yb eS1x5nVgA3kGJiQ3HKT8O96+g+IP//uxmUee3b5NWn9qjpSXEu6/uLi+tn7jOZH8ekLv A9BKqN3+k3htbBJPpJL7VZgTYtkxobOX/nGJ1eeI/cOWgnN3bcOlc3Hbx9RB/2TDe6Dk Gc0TA119IyDy8poRWRfj+/0DB10wUSDtuQvWc3jfhIIfLPqfvIjt2ewxCQBziUPoDsGN geCQ== X-Gm-Message-State: AHPjjUhPiPXEkW2EwxS+iOIdkb2yiA1eyX3BAZyRT8girHQ6umYuO078 1564qkArLGoESx8uAUNx48f6+OvgY7M= X-Google-Smtp-Source: AOwi7QB0X3x/jIkhlBTmRz1v4oL1NbYT8BnIPODBlq9f3XUC6iXdE2CebxAERmqnZlZ4ydH15X3xTA== X-Received: by 10.28.102.213 with SMTP id a204mr1360505wmc.151.1505286178335; Wed, 13 Sep 2017 00:02:58 -0700 (PDT) Received: from [10.0.0.1] ([141.226.174.158]) by smtp.gmail.com with ESMTPSA id 55sm18579754wrw.60.2017.09.13.00.02.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 00:02:57 -0700 (PDT) To: freebsd-questions@freebsd.org From: Amit Yaron Subject: Using PlustekMobileOffice with Wine Message-ID: Date: Wed, 13 Sep 2017 10:02:55 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 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, 13 Sep 2017 07:03:01 -0000 Hi, I have that USB portable scanner. Installed the driver with wine, but it does not scan. Is there anything I can do, or just revive my Windows 7? Thanks, Amit From owner-freebsd-questions@freebsd.org Wed Sep 13 07:54: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 18540E12931 for ; Wed, 13 Sep 2017 07:54:23 +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 7FBD577BC8 for ; Wed, 13 Sep 2017 07:54:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Wed, 13 Sep 2017 09:54:12 +0200 Received: from r56.edvax.de (port-92-195-6-118.dynamic.qsc.de [92.195.6.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2F3B13CC3F; Wed, 13 Sep 2017 09:54:11 +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 v8D7sB9G001999; Wed, 13 Sep 2017 09:54:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 13 Sep 2017 09:54:11 +0200 From: Polytropon To: Amit Yaron Cc: freebsd-questions@freebsd.org Subject: Re: Using PlustekMobileOffice with Wine Message-Id: <20170913095411.25a5910f.freebsd@edvax.de> In-Reply-To: References: 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 7A9BA723934 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1248 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, 13 Sep 2017 07:54:23 -0000 On Wed, 13 Sep 2017 10:02:55 +0300, Amit Yaron wrote: > I have that USB portable scanner. Installed the driver with wine, but it > does not scan. > Is there anything I can do, or just revive my Windows 7? Did you verify the OS detecting the device? Check the last lines in "dmesg" output. But as far as I know, wine does not support USB (at least it didn't for many years)... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 13 12:16: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 33FEDE1E382 for ; Wed, 13 Sep 2017 12:16:51 +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 C10D520D3 for ; Wed, 13 Sep 2017 12:16:50 +0000 (UTC) (envelope-from g8kbvdave@googlemail.com) Received: by mail-wr0-x22b.google.com with SMTP id a43so88498wrc.0 for ; Wed, 13 Sep 2017 05:16:50 -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=RvuexekS3MvkyG2ILwuPqUP0fQYCOMR5SJV6Tr2o5K8=; b=fwrXuzj9nBpZ26LkecpcwnrhPbmIF+0eqYIsWUOZQXBG6hUYYRLP7zZYPuNSb2ATuB Dm9iY5ro3GwopYlY3ymWiOqXMDL4oa7vSWcT6tIu/2NMSkcJEU7UJfCKZicUXlzVW8nS ZZJ51jPCLZ2gNv7+9ptUZtlwVtirZhD3BMQNcpjxqc1LGiN7wLMFqgmXY8WTcbRvwNab T0nJuPSAKHVVCm6Dto3IC5Wbdr6zb2fnfC1072VStebmSypYBwLWNxA85dShREVb/WCu yKgUHVjb9cxGkSKO9c8ATgVrIvv3xKWCgb+8Nbt8j7XIoM6/54+x8M0wLAEjDgEZdnQd rivA== X-Gm-Message-State: AHPjjUjmG2Na0H6i9C+QUblb6OvLgGFR3wMM5B3X6Px4HoXSvuX0NopL p1GTSFivGWP/lxbaKcE= X-Google-Smtp-Source: ADKCNb6A4fanfkY4SdrPUtcHyyhZ6O35yxKgBum/q+oC6zWKSuaePU8srOk5cO8necT1JpEPth2IAg== X-Received: by 10.223.175.116 with SMTP id z107mr14984723wrc.210.1505305008980; Wed, 13 Sep 2017 05:16:48 -0700 (PDT) Received: from [192.168.2.55] ([217.41.35.220]) by smtp.gmail.com with ESMTPSA id w73sm822991wmw.31.2017.09.13.05.16.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 05:16:48 -0700 (PDT) Subject: Re: freebsd-questions Digest, Vol 693, Issue 3 To: freebsd-questions@freebsd.org References: From: Dave B Message-ID: <8413d9f7-1d43-b4df-e6d6-22f3d12a2c1a@googlemail.com> Date: Wed, 13 Sep 2017 13:16:47 +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, 13 Sep 2017 12:16:51 -0000 On 13/09/17 13:00, freebsd-questions-request@freebsd.org wrote: > On Wed, 13 Sep 2017 10:02:55 +0300, Amit Yaron wrote: >> I have that USB portable scanner. Installed the driver with wine, but it >> does not scan. >> Is there anything I can do, or just revive my Windows 7? You may find that a graphic/photo/image editing application running under FreeBSD will support the scanner itself, with the addition of a plug-in, or external driver tool. That is certainly the case with that "other" popular Unix clone OS. (I only use F'BSD from the command line, but have scanner support in Gimp under Linux on other machines.) Most of the low cost scanner hardware seems to use a chip-set from a small selection of makers, so the chances are you may have support for the scanner outside WINE. Regards. Dave B. From owner-freebsd-questions@freebsd.org Wed Sep 13 12:35: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 6A13BE1F012 for ; Wed, 13 Sep 2017 12:35:29 +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 4260A2B3B for ; Wed, 13 Sep 2017 12:35:28 +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=1505306128; x=1507898128; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=NMix7wZkzWYdvT+YOi3FfXa7kR08wODsTkpHaXRvbC0=; b=C1n7nD00MPTRVSF3jsiSP6YQcTl9DaeA26bSe1RNoMCmBQo4OE5okhiiV15T2lgRwi0PqJUvXBgEMUQVbRTgxVMQQ0SbR77DNwHqrHLhZFNTnLBvHAzWx8qOOzD0/RK3o1i63YRHKjpLYEnXnKUH9BqVo1C+CNYRlbEbHAh+G6o= X-Thread-Info: NDI1MC4xMi5kZDAwMDAwMGIzM2M4OS5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r4.us-west-2a.aws.in.socketlabs.com (r4.us-west-2a.aws.in.socketlabs.com [54.149.236.199]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 13 Sep 2017 08:35:15 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r4.us-west-2a.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 13 Sep 2017 08:35:15 -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 1ds6sq-00040w-FW; Wed, 13 Sep 2017 12:35:12 +0000 Date: Wed, 13 Sep 2017 13:35:12 +0100 From: Steve O'Hara-Smith To: Amit Yaron Cc: freebsd-questions@freebsd.org Subject: Re: Using PlustekMobileOffice with Wine Message-Id: <20170913133512.b65daa42ef3cf63560faa7e9@sohara.org> In-Reply-To: References: 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: Wed, 13 Sep 2017 12:35:29 -0000 On Wed, 13 Sep 2017 10:02:55 +0300 Amit Yaron wrote: > Hi, > > I have that USB portable scanner. Installed the driver with wine, but it > does not scan. > Is there anything I can do, or just revive my Windows 7? SANE supports some plustek models, it's probably worth installing the packages (sane-backends and sane-frontends) and seeing if it detects your scanner, unless for some reason you really want to use the Windows software. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Sep 13 13:09: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 DCF71E201E9 for ; Wed, 13 Sep 2017 13:09:18 +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 7FD633C57 for ; Wed, 13 Sep 2017 13:09:17 +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 v8DD99u4063232; Wed, 13 Sep 2017 14:09:09 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: Using PlustekMobileOffice with Wine To: "Steve O'Hara-Smith" , Amit Yaron Cc: freebsd-questions@freebsd.org References: <20170913133512.b65daa42ef3cf63560faa7e9@sohara.org> From: Arthur Chance Message-ID: <117df391-fd96-f3c1-3a8a-5edf43ed8412@qeng-ho.org> Date: Wed, 13 Sep 2017 14:09:09 +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: <20170913133512.b65daa42ef3cf63560faa7e9@sohara.org> 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: Wed, 13 Sep 2017 13:09:19 -0000 On 13/09/2017 13:35, Steve O'Hara-Smith wrote: > On Wed, 13 Sep 2017 10:02:55 +0300 > Amit Yaron wrote: > >> Hi, >> >> I have that USB portable scanner. Installed the driver with wine, but it >> does not scan. >> Is there anything I can do, or just revive my Windows 7? > > SANE supports some plustek models, it's probably worth installing > the packages (sane-backends and sane-frontends) and seeing if it detects > your scanner, unless for some reason you really want to use the Windows > software. > The SANE list of supported Plustek scanners does not mention MobileOffice by name. It might be worth comparing USB ids. http://www.sane-project.org/sane-mfgs.html#Z-PLUSTEK -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Wed Sep 13 13:13: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 022A0E207A8 for ; Wed, 13 Sep 2017 13:13:32 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::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 8B5D1634C3 for ; Wed, 13 Sep 2017 13:13:31 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: by mail-wr0-x22e.google.com with SMTP id k20so383923wre.4 for ; Wed, 13 Sep 2017 06:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phpandmore-net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=CgDaDiUbMC0CxoZ6xU2Ee5tIF5izYcGYdCTFTaPL29A=; b=pgsGe47hkr1uGZ24GvAKkzDMHXKL9ROBH72QVOR8MxJbP09quhmemYAMMS2echGtUk KYe0UIRXOSkO7vim/488wHgAuYCoqUqwu/rqYFWAe57ZnKm+3Tw33Td0pEexjbWXYtqb YMi6ic+M7ZXcnJna5cxChvND2HYKQYEzYOxQngJMXYX9/meSh1wIvPlATYJ9LFvwa4kG 1NmJ1Fn0wOANEBw3kCtW5hVsobaU5TB7WVRSBTM9UnlBVblGh2kKCbb6VfURLGZVfnFO eAwgCjCzld9LCmUpqLGqzACJLL3apoMiGyGpjjxqU+vdlbFpIiLjKHsdFKi/DessZXmA K5Lw== 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 :content-transfer-encoding; bh=CgDaDiUbMC0CxoZ6xU2Ee5tIF5izYcGYdCTFTaPL29A=; b=U99Agk8+A2r6gyBJPLS6g0b8Eino8SWv7xbgmkufw91eJzvEVJ02Bp0NxrmRADWPUz qtIB5+nQ0NoABzCkF9WfDVnSz4ibQamKLvB9qOAJ7oG9DVupZy+CrhcG8S6c5RO44qRD OLSCIhpPGf3NBg8w6WIVtSn1RxoujMKuhw0LHTgVHt+r6P7yO+NDo5t9LKfnweTd8hfA 5qRS5tFTlrWPnFOjU2r/1dl1H0TdKe9ikl+PYLBJV3WZ0q/6Ylt4JizSmMbL+M0y7QZH usEwfwqJYPlnWQPPwjc1zPk9ud+RZL+Jp3Fqd8vxtZndkjC2CAzSJBwSXMesNbWuXmaJ 0HUw== X-Gm-Message-State: AHPjjUhRtOI/AQW1Uw8uqHkQjsIBAZiy6TyxiCZJ69U+yOxUq3iVXjke kvitdq4WEtWWNcgO8p09yg== X-Google-Smtp-Source: ADKCNb7I6cyfFUmNiyRDk3JM6z4/WsWSdXrVYYKvnYGpFnjhRFufmFmH1No78e/qrVZOT/pR6pcbnA== X-Received: by 10.223.164.206 with SMTP id h14mr14704162wrb.221.1505308409648; Wed, 13 Sep 2017 06:13:29 -0700 (PDT) Received: from [10.0.0.1] ([141.226.174.158]) by smtp.gmail.com with ESMTPSA id v78sm1117521wmv.48.2017.09.13.06.13.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 06:13:28 -0700 (PDT) Subject: Re: Using PlustekMobileOffice with Wine To: freebsd-questions@freebsd.org References: <20170913095411.25a5910f.freebsd@edvax.de> From: Amit Yaron Message-ID: Date: Wed, 13 Sep 2017 16:13:27 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <20170913095411.25a5910f.freebsd@edvax.de> 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, 13 Sep 2017 13:13:32 -0000 I know that Wine for Linux can support USB if you create links to /dev/ttyUSB*, which do not exist in FreeBSD. On 13.09.2017 10:54, Polytropon wrote: > On Wed, 13 Sep 2017 10:02:55 +0300, Amit Yaron wrote: >> I have that USB portable scanner. Installed the driver with wine, but it >> does not scan. >> Is there anything I can do, or just revive my Windows 7? > > Did you verify the OS detecting the device? Check the last > lines in "dmesg" output. But as far as I know, wine does > not support USB (at least it didn't for many years)... > > From owner-freebsd-questions@freebsd.org Wed Sep 13 13:14:55 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 EF295E208D5 for ; Wed, 13 Sep 2017 13:14:55 +0000 (UTC) (envelope-from luzar722@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 B5048635BE for ; Wed, 13 Sep 2017 13:14:55 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x231.google.com with SMTP id o200so2447828itg.0 for ; Wed, 13 Sep 2017 06:14:55 -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=5yu2U/mNJwZrgXl5eQ2tGcjjPGmeHGGu7wqFM7R+eMM=; b=asnrbcZN0ORBnwaUy5U0CkdjxQIAsYvJoKB+7n63HwXDWrvZk9zJuMEnww2fYnPvB2 O+WrLj6f4aII3ujQqZw9giIBWf1rlUvKhBQ/tvFYAmZ+m3hTTZ3EYD9t4qeH9LjbwVeg 7z1GGXIdHD2FVMhbA/kjwPQwuYXk6QGI6DjPx3zvm4JGPZ8LUzaE+GbnOWv9ALxpOGi/ AHONV0+3iysOdc4NkMMpIAK1T961PrxI51UAcuY8cI/vH3Ze2nA2FaaFVp/l2kHyT+SV ON1fF5VRXsN8R3Bujz1yo8sC4ZmPS/JyNJFfHaZmunwJAB2hYTcVyJDWphqVJ7+hDlej luwg== 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=5yu2U/mNJwZrgXl5eQ2tGcjjPGmeHGGu7wqFM7R+eMM=; b=JyVkh6K5mQ32c7FkF+5kMNzrEnuSvjGdHcNVlCLHYtla3521EQCrT7KnNrSVAXm1bd K+V1wr/UEEGA8cfhH35Itt/GVHYspcwILjVq1JJZIWW/T1l1kYjdvU6hUSM5ZMXPOI4K 3G+ujkZ7G7BYNR8XWqnIInKxWPLhvAq3oy6yjefmedol9I8HxCij8OkabQyQF51Eywp+ h08wN5XjaUCsUniPbVRSCxHChYRRDfb1pwxFsa3bYODtzuqHjO20WbqlPiTev/Bp0Qnh Ho6VCbVm5QK/lB/PKgGDpFrNIA/Skhj4yttJ9dzGSVrEB2QqElIg8UiDGmRNVBQFpMOi VixA== X-Gm-Message-State: AHPjjUiZk8tyk3l81xrQPNCpeDHcIeODC2W4MRABadDDiJHtGfQHGXKi A6Kc0sinddKWlbZoXN5eB8UBHA== X-Google-Smtp-Source: AOwi7QB39cbKbsMDTwYW9atE00rIN7fsFY5W/xQj9qGJnMMDe6bowEyXOZ1UnZJWyJrq/zsLAy9yxg== X-Received: by 10.36.254.72 with SMTP id w69mr4119688ith.130.1505308495007; Wed, 13 Sep 2017 06:14:55 -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 y198sm809464itc.30.2017.09.13.06.14.54 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Sep 2017 06:14:54 -0700 (PDT) Message-ID: <59B92F4B.8020400@gmail.com> Date: Wed, 13 Sep 2017 09:14:51 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: what is max size of unbound local-zone domain name 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: Wed, 13 Sep 2017 13:14:56 -0000 Hello list; unbound has option to read in a file containing local-zone: records of this format. local-zone: domain-name static What is the max domain-name size? Is 130 positions to large? From owner-freebsd-questions@freebsd.org Wed Sep 13 13:20: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 32695E20C73 for ; Wed, 13 Sep 2017 13:20:34 +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 CC1AA63865 for ; Wed, 13 Sep 2017 13:20:32 +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 v8DDKUwl063276; Wed, 13 Sep 2017 14:20:30 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: what is max size of unbound local-zone domain name To: Ernie Luzar , "freebsd-questions@freebsd.org" References: <59B92F4B.8020400@gmail.com> From: Arthur Chance Message-ID: <2de990e0-78a1-a05f-8d28-42fd1aef5744@qeng-ho.org> Date: Wed, 13 Sep 2017 14:20:30 +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: <59B92F4B.8020400@gmail.com> 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: Wed, 13 Sep 2017 13:20:34 -0000 On 13/09/2017 14:14, Ernie Luzar wrote: > Hello list; > > unbound has option to read in a file containing local-zone: records of > this format. > > local-zone: domain-name static > > What is the max domain-name size? > > Is 130 positions to large? >From RFC 1035 2.3.4. Size limits Various objects and parameters in the DNS have size limits. They are listed below. Some could be easily changed, others are more fundamental. labels 63 octets or less names 255 octets or less I.e. each part of a domain name (label) must be <= 63 bytes, the overall domain length must be <= 254 bytes. There are also character set restrictions for domain name components. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Wed Sep 13 13:37: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 0BE3EE2177F for ; Wed, 13 Sep 2017 13:37:07 +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 6FFD9645EE for ; Wed, 13 Sep 2017 13:37:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Wed, 13 Sep 2017 15:35:58 +0200 Received: from r56.edvax.de (port-92-195-6-118.dynamic.qsc.de [92.195.6.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 188E23CD3E; Wed, 13 Sep 2017 15:35:54 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v8DDZsbR004054; Wed, 13 Sep 2017 15:35:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 13 Sep 2017 15:35:54 +0200 From: Polytropon To: Amit Yaron Cc: freebsd-questions@freebsd.org Subject: Re: Using PlustekMobileOffice with Wine Message-Id: <20170913153554.f71f2b50.freebsd@edvax.de> In-Reply-To: References: <20170913095411.25a5910f.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 mailrelay11.qsc.de with A64EB6A3591 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.3999 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, 13 Sep 2017 13:37:07 -0000 On Wed, 13 Sep 2017 16:13:27 +0300, Amit Yaron wrote: > I know that Wine for Linux can support USB if you create links to > /dev/ttyUSB*, which do not exist in FreeBSD. Depending on the scanner, two things are possible: a) finally /dev/uscanner0 appears, which means that SANE has a 90%+ chance to get the scanner working b) only /dev/ugenX.Y (generic USB device) appears, but SANE can often work with that, too At least a new USB device should be recognized by the system. With the usbconfig utility, vendor and device ID can be obtained for further investigations about hardware support. Scanner interaction tools are provided with xsane, xscanimage, a GIMP plugin, or a LibreOffice function. It's worth checking which native solutions are possible before trying more complex things like WINE or even a full "Windows" virtualization. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 13 13:37: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 1C45AE2182A for ; Wed, 13 Sep 2017 13:37:30 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::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 9F705646B2 for ; Wed, 13 Sep 2017 13:37:29 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: by mail-wr0-x236.google.com with SMTP id k20so542409wre.4 for ; Wed, 13 Sep 2017 06:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phpandmore-net.20150623.gappssmtp.com; s=20150623; h=subject:to:newsgroups:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3OX9GOF9cqzyuEa+mRfJNAuohT0ZglnFl/L/lKubpYc=; b=pem3w2VfWFHBFtut6IipEzHGfxzc1oC1WRODkbiHWdlh1RC134ZlB0tMvZZYkATnxj Q/UKPFkpKUzWk3OaPmx1o8Nh2uglK/8B8hmCEnzWHhGwKxQ7EGOtKy8S6ukKaV4ULQU7 4TEytzT+jM/NljycDHiHbYTBlhtaa6BgJhTjnBPnQpJQHaN8JvPASzfRDxbqa8BLVFn/ wI06Dq6DU2KDU7aLDq3MRQm3E+puo95ujwkZpSBDvkEa8RmDZp8r0ZVYkAADBYU8m2v5 J466E7j+4W9nH5DyxHhBuhHqM+CH4kX2i5PHg9hF2EGI+lZP6Ru+Q4d94Ca8OPH79KRy BkyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:newsgroups:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3OX9GOF9cqzyuEa+mRfJNAuohT0ZglnFl/L/lKubpYc=; b=CAuM6jwAuIkTGY11KMiNeYb7B2LnNnft/ASmo6g06hXp1f/93s5LxYIvgDsgDACHuQ fI0MdYa3lvjoZvEHzdgOaAZ+e1bYvHthj7FW6EKhiTJY5mm97ywrnDSuOY37XbfNnflR ufRwvQAhwF5E3nD5rEcn3jpgqpQ9MeoXEtba3MdP7ZMjqTNQf3+EbXLNIElJR1IsE7Wx QSw776LvqQjPFw78tS75iktUmdYKjRjnYyMzF8Y2iTTSjIOA9AjvYXtmrm9qmXFdIeHP q7aXVViWCgs4WD7wPv0N55uXlaffkbiPC1+LC4QaZltGbij0h5Q8sia53LOYmSywtV+/ 3RzA== X-Gm-Message-State: AHPjjUh8jyzUBGEjZlnUa4yxDruBFIQmrRBjQmVqovFCJ7azKWquP+7k U1/5RiC8C4EUhtrLEgW9zg== X-Google-Smtp-Source: ADKCNb7nuJKW/E+CVoZfAuTSGo6O3kvECzZcJ+ZhFaBKGnjmptlyTn3bZppM39TA/N+uDhvUsrl4Hw== X-Received: by 10.223.131.99 with SMTP id 90mr15790790wrd.198.1505309847660; Wed, 13 Sep 2017 06:37:27 -0700 (PDT) Received: from [10.0.0.1] ([141.226.174.158]) by smtp.gmail.com with ESMTPSA id z51sm25600492wrb.22.2017.09.13.06.37.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 06:37:26 -0700 (PDT) Subject: Re: freebsd-questions Digest, Vol 693, Issue 3 To: freebsd-questions@freebsd.org Newsgroups: gmane.os.freebsd.questions References: <8413d9f7-1d43-b4df-e6d6-22f3d12a2c1a@googlemail.com> From: Amit Yaron Message-ID: <73224e88-cee9-4cc8-c683-a328e8d49b82@phpandmore.net> Date: Wed, 13 Sep 2017 16:37:24 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <8413d9f7-1d43-b4df-e6d6-22f3d12a2c1a@googlemail.com> 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, 13 Sep 2017 13:37:30 -0000 Hi, I have GIMP and Inkscape, do you know which plugin I can install? Thanks, Amit On 13.09.2017 15:16, Dave B via freebsd-questions wrote: > On 13/09/17 13:00, freebsd-questions-request@freebsd.org wrote: >> On Wed, 13 Sep 2017 10:02:55 +0300, Amit Yaron wrote: >>> I have that USB portable scanner. Installed the driver with wine, but it >>> does not scan. >>> Is there anything I can do, or just revive my Windows 7? > > You may find that a graphic/photo/image editing application running > under FreeBSD will support the scanner itself, with the addition of a > plug-in, or external driver tool. That is certainly the case with > that "other" popular Unix clone OS. (I only use F'BSD from the command > line, but have scanner support in Gimp under Linux on other machines.) > > Most of the low cost scanner hardware seems to use a chip-set from a > small selection of makers, so the chances are you may have support for > the scanner outside WINE. > > Regards. > > Dave B. > > _______________________________________________ > 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 Wed Sep 13 13:40:43 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 73A3FE21B2E for ; Wed, 13 Sep 2017 13:40:43 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 EBD02648BA; Wed, 13 Sep 2017 13:40:42 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 8273B2DBB757; Wed, 13 Sep 2017 16:40:26 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Wed, 13 Sep 2017 16:40:26 +0300 (MSK) Date: Wed, 13 Sep 2017 16:40:26 +0300 (MSK) From: "Igor V. Ruzanov" To: Eric Joyner cc: freebsd-questions@freebsd.org Subject: Re: Need help In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 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: Wed, 13 Sep 2017 13:40:43 -0000 You are right, Eric! I've recompiled igb driver to see driver load progress with faulty chip id: pcib5: irq 47 at device 3.0 on pci0 pci5: on pcib5 igb0: port 0x2020-0x203f mem 0x91920000-0x9193ffff,0x919c4000-0x919c7fff irq 40 at device 0.0 on pci5 igb0: Using MSIX interrupts with 9 vectors igb0: The EEPROM Checksum Is Not Valid So the reason is broken card's EEPROM. But i don't know how it might be happend. Thanks for your assumption. |Igor, | |A red flag is that it doesn't have an entry in the pci ids database, even |though I350's are very common and normal devices. It also doesn't appear in |the Linux igb driver. | |I think something is wrong with your card. | |- Eric | |On Tue, Sep 12, 2017 at 12:42 AM Igor V. Ruzanov |wrote: | |> Hello, FreeBSD colleagues! |> |> I have modern network card Intel i350T2V2 (peripheral dual gigabit port |> NIC). And as far as i know all Intel cards should be normally detected by |> the system. But with this NIC i have some troubles: |> - the system sees the card as some ethernet device but cannot find |> proper (igb) driver: |> pcib6: irq 47 at device 3.2 on pci0 |> pci6: on pcib6 |> pci6: at device 0.0 (no driver attached) |> pci6: at device 0.1 (no driver attached) |> - its from dmesg log. |> |> Fnd `pciconf -lcvb' says: |> none75@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x151f8086 |> rev=0x01 hdr=0x00 |> vendor = 'Intel Corporation' |> class = network |> subclass = ethernet |> bar [10] = type Memory, range 32, base 0x91920000, size 131072, |> enabled |> bar [18] = type I/O Port, range 32, base 0x2020, size 32, enabled |> bar [1c] = type Memory, range 32, base 0x919c4000, size 16384, |> enabled |> cap 01[40] = powerspec 3 supports D0 D3 current D0 |> cap 05[50] = MSI supports 1 message, 64 bit, vector masks |> cap 11[70] = MSI-X supports 10 messages |> Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] |> cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link |> x4(x4) |> speed 5.0(5.0) ASPM disabled(L0s/L1) |> ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected |> ecap 000e[150] = ARI 1 |> ecap 0010[160] = SRIOV 1 |> ecap 0017[1a0] = TPH Requester 1 |> ecap 0018[1c0] = LTR 1 |> ecap 000d[1d0] = ACS 1 |> none76@pci0:6:0:1: class=0x020000 card=0x00008086 chip=0x151f8086 |> rev=0x01 hdr=0x00 |> vendor = 'Intel Corporation' |> class = network |> subclass = ethernet |> bar [10] = type Memory, range 32, base 0x91900000, size 131072, |> enabled |> bar [18] = type I/O Port, range 32, base 0x2000, size 32, enabled |> bar [1c] = type Memory, range 32, base 0x919c0000, size 16384, |> enabled |> cap 01[40] = powerspec 3 supports D0 D3 current D0 |> cap 05[50] = MSI supports 1 message, 64 bit, vector masks |> cap 11[70] = MSI-X supports 10 messages |> Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] |> cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link |> x4(x4) |> speed 5.0(5.0) ASPM disabled(L0s/L1) |> ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected |> ecap 000e[150] = ARI 1 |> ecap 0010[160] = SRIOV 1 |> ecap 0017[1a0] = TPH Requester 1 |> ecap 000d[1d0] = ACS 1 |> |> My server is: |> - system is FreeBSD-10.3-RELEASE-p20 |> - motherboard: Intel S2600WT (dual CPU socket board) |> - one CPU installed |> |> Maybe someone has experience with this inetl NIC? As seen from pciconf |> output the NIC has a set of VFs (Virtual Functions) needed in |> virtualization environments. And chip id is 0x151F8086 - the id that |> igb-driver does not know about. Maybe i need some preconfiguration of this |> card? Or this device is not compatible with non-virtualization systems |> like usual physical server? |> |> Big thanks in advance! |> _______________________________________________ |> 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 Wed Sep 13 13:58:43 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 072C4E226F8; Wed, 13 Sep 2017 13:58:43 +0000 (UTC) (envelope-from 0110001101100100b@gmail.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::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 BFE9065697; Wed, 13 Sep 2017 13:58:42 +0000 (UTC) (envelope-from 0110001101100100b@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id q29so397963uaf.3; Wed, 13 Sep 2017 06:58:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PUD3YbT9UI2VFK5JIKj5qaZFNorKG1Ffd2+eq4zOrgc=; b=O047JRqJ3VZxLLLN3ZE/2/sXxI7g36VGO9GPtQMcujfgcfhRotKK42tuCoJM2PVJe/ xdedB2Atgx/au+dxaIhI8nbgIOkMFAXluKHAHNdXBtjz7LGqe95dsoFjPAvfBjGNSMaE Q3DmXchzhy/XQc9EMDkscXBDdQrSGy8PK/K669g/jc4uRuNyv19GZx7ST7+DucVycJp5 NqyEjA7kFBPlZl7uPnEEu3SsNaqlIHpUwSNLKl8pkIP027/krZjqKp4lxQWiaKhMsOqq MLS/oYN/uApnuGC5NxYrsMhZtq/QuOLq5UFf6Rbn8Jji4iEBwFutGJ7zb729542JXISt 1S7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PUD3YbT9UI2VFK5JIKj5qaZFNorKG1Ffd2+eq4zOrgc=; b=UQe97RefJaO4EfVT1BbnY5qsrdQpmxL8iFkdS6FN5hXaY6IFEu2wQRN3b6intAcLce XT+kHZYnFfBHR+XPZHid212kzfpsyVfHVkjOTaSsPB+EX2Ov3VK8i3Osm9BaA2E0yj6v cJLkt3asJd9DB1JVjM/xzzh2Cy+RFtiZTsqIhDe0+20EH3Hc5R/ybatZerdDEPLdTz88 DmmAvMpr45LdQNuqLkaqV1RiULRGC72CGUnKfhrVAjeYRD8K7PMIGqPNkmi0SQ/BWsz5 9EL+MirVGja68XAZxrrZ+apmkgoAQvyX1wDGkcLcGdwH6WKEyPgFrsqHF4c7XiIGuxJg YPIA== X-Gm-Message-State: AHPjjUjCI1P8WSy6zNe4I1pswLRagh0Kafk0WFhuVBq4ZVnYMafnZSLQ GeqDEw3fkRYSFPaxjpko7twUNBvTYPdgMIX+xVkgVteA X-Google-Smtp-Source: AOwi7QBuTv8RtaHzw5DoxdOkSf6x6ns1b8RQqQ9vqcwQ6dfQMAkTUkxgZ7Rb1LEOMfInOLXmvm/tNy0Hld/i6jtTVtU= X-Received: by 10.176.9.206 with SMTP id e14mr13179978uah.126.1505311121321; Wed, 13 Sep 2017 06:58:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.82.220 with HTTP; Wed, 13 Sep 2017 06:58:40 -0700 (PDT) From: "Mr. Binary" <0110001101100100b@gmail.com> Date: Wed, 13 Sep 2017 15:58:40 +0200 Message-ID: Subject: crashes after upgrade to 11.1-RELEASE AMD64 / libgcc5 To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org 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, 13 Sep 2017 13:58:43 -0000 Hey! I have upgraded from 11.0 to 11.1-RELEASE, I get constantly crashing applications, is web browser.. this may be related to libgcc5.. any hints how to prevent? Firefox / Chrome / Iridium GTK, Otter QT5.. Program received signal SIGSEGV, Segmentation fault. 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 (gdb) bt #0 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 #1 0x0000000000000000 in ?? () Program received signal SIGSEGV, Segmentation fault. 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 ... -- 0110001101100100 From owner-freebsd-questions@freebsd.org Wed Sep 13 14:18: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 3D296E233C6 for ; Wed, 13 Sep 2017 14:18:42 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic303-20.consmr.mail.ir2.yahoo.com (sonic303-20.consmr.mail.ir2.yahoo.com [77.238.178.201]) (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 C64D466460 for ; Wed, 13 Sep 2017 14:18:41 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: rrpP76UVM1k3vjt.K9yvHOSWHOKAN8d0aosqeY6nNa2g8ZgDyT1BRbE2KBtO3Cr wWJ9rj_y7FnGjlcXp_tAyZf0YOkhJqk5T61V0DW_amUfnS70XM0DXnUuEzCqEOk_wfGsiBJ9XeJ9 DfYdJcZkUfffZOudAjE.qMP3fkDQWQT51IfbF.mcGtW3HhShetww8AzhR1w6ofAgsaYR6B8B7_kV WQaioo7P6lSXrahhQ9A6RE3c90nYIunnQGCHMMCgpO1ZgGHht56DLyYxbSk22lxeWlNN84mwjc4H qb1R.KeU9PP2JAyXl0MQx_ae3yQW3GiZlog7EnXQaWOd3LKywLQ2vN5dzqSF5Fq_ogQITFYFmF9B 9M.PgPFsxS5ZjqgnetPwSaMYwo.fWQHL5t0P82tjWlbBc8BMCDCG4wIhocRhjKNpBwF8fbBIZvlX 9j4gUc.cz3XrBk4XdE8T.XVbyD7rPmDmhZYwo7NQt5ydi1NFWgoE2_0caQGNrtUNIe3_1BmVQLNp TwOI32DlPq4w8gC6B4Yp3gF3xkxzPgG6wniNO_eA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ir2.yahoo.com with HTTP; Wed, 13 Sep 2017 14:18:37 +0000 Received: from [127.0.0.1] by smtp124.mail.ir2.yahoo.com with NNFMP; 13 Sep 2017 07:17:02 -0000 X-Yahoo-Newman-Id: 175232.95836.bm@smtp124.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: rrpP76UVM1k3vjt.K9yvHOSWHOKAN8d0aosqeY6nNa2g8Zg DyT1BRbE2KBtO3CrwWJ9rj_y7FnGjlcXp_tAyZf0YOkhJqk5T61V0DW_amUf nS70XM0DXnUuEzCqEOk_wfGsiBJ9XeJ9DfYdJcZkUfffZOudAjE.qMP3fkDQ WQT51IfbF.mcGtW3HhShetww8AzhR1w6ofAgsaYR6B8B7_kVWQaioo7P6lSX rahhQ9A6RE3c90nYIunnQGCHMMCgpO1ZgGHht56DLyYxbSk22lxeWlNN84mw jc4Hqb1R.KeU9PP2JAyXl0MQx_ae3yQW3GiZlog7EnXQaWOd3LKywLQ2vN5d zqSF5Fq_ogQITFYFmF9B9M.PgPFsxS5ZjqgnetPwSaMYwo.fWQHL5t0P82tj WlbBc8BMCDCG4wIhocRhjKNpBwF8fbBIZvlX9j4gUc.cz3XrBk4XdE8T.XVb yD7rPmDmhZYwo7NQt5ydi1NFWgoE2_0caQGNrtUNIe3_1BmVQLNpTwOI32Dl Pq4w8gC6B4Yp3gF3xkxzPgG6wniNO_eA- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Wed, 13 Sep 2017 09:17:01 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Using PlustekMobileOffice with Wine Message-ID: <20170913091701.6153752f@archlinux.localdomain> In-Reply-To: References: X-Mailer: Claws Mail 3.15.0git132 (GTK+ 2.24.31; x86_64-arch-linux-gnu) 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: Wed, 13 Sep 2017 14:18:42 -0000 On Wed, 13 Sep 2017 10:02:55 +0300, Amit Yaron wrote: >I have that USB portable scanner. Installed the driver with wine, but >it does not scan. >Is there anything I can do, or just revive my Windows 7? Hi, a real "driver" or some driver "alike" software? Does this "driver" work when using a VM? If a real "driver" is required, then it can't work, neither when using wine, nor when using Windows 7 in a VM. Real "drivers" for FreeBSD as well as for Linux are kernel modules for FreeBSD (or Linux), installing a Windows thingy can't work. If it should be some driver "alike" software you perhaps need to install some missing dll, let alone that some software doesn't run properly under wine, if at all. perhaps you have better luck when using a VM. If you really need a driver that isn't available for FreeBSD, then you indeed need a dual/multi boot with a real Windows install. Regards, Ralf . From owner-freebsd-questions@freebsd.org Wed Sep 13 14:32: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 D035FE23F0F for ; Wed, 13 Sep 2017 14:32:30 +0000 (UTC) (envelope-from amvandemore@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 96BE5671FF for ; Wed, 13 Sep 2017 14:32:30 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x234.google.com with SMTP id k101so2484840iod.0 for ; Wed, 13 Sep 2017 07:32:30 -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=R98rOqhcibishH3CWOWLG8Dxes/UqShLVrZKKj6lT6I=; b=pQP/5gx7FQ+hZe/U2ZpSAKAeqAfnjmZ0+kpHKHfRXXb0qnh6Ry+D0DCzeDzhpoLNoG wMYXuvG4e1ug5BLUxcUF/fhCsT54UWrb8TleDNLyxSOggMKLJdWoiVqyI83kvVFoNzqs nOANJ1x6Q9rOyk3InvpP6+PBhekfHpw4+NReSAsnY11EJEMFIJroUBnln/lGWmXzbBAu 0s5tYeJl2prCfwxYsHxxJ2e/fRJ3l4E888Bhj680NzOFoRII1zHHk5DLN+oGpkJyv8Jq v823WOtNruVWnXpuYHNtH2bq1uwnbHlam5S82UR8+l5zs7nC+thlb2SE3/f9fXf690Vb ilkg== 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=R98rOqhcibishH3CWOWLG8Dxes/UqShLVrZKKj6lT6I=; b=LvZ5yyUyuKEDfajKQ9xZpji5FZjmrgQ1Ovwgxig9Jm6Y30o2mJNxNi1eYxySXsxPTe P5gtmldGNflfsTE+5l4/eq3zijGzE/l02ieODQYMMjMOFzPUI3mlast9lQNFSPZfeKZ5 TUXrVl9peWtPW8UeyCI2EJzl/Fja/kQ3pkIMPWWKBcxIkHo7yKGfDiDTgpP2yJBV2fw2 cPhDmEhe6wqalk3569OH/RwOwCrO0H8NOQN2P2C6z8iQwmPsYUnhNUtQgergjgaZ88b6 oNFR1UyMjx0fjDLKOi0yWUjm8ExzXmzG03p4ORp4D42XJK3BeGkm65QOaFIoQhb2U3iZ tzYA== X-Gm-Message-State: AHPjjUhtY/FzfQaeCJPYvDhQjfk311RHK5FRxtyUD4VHkE2xeUXg/7Y6 xol0IUOSRWrc7vaRrevzQSLlPzHNCMj5rQ9t0kk= X-Google-Smtp-Source: AOwi7QDyRLuWrwuCsxZ4QbK0M+T0gKyY7NiSkD5R4Dm1tWNM4zTGoJQtBPPc5Uax+qWbnVfZvBSrQ4arI8EzVI4VK74= X-Received: by 10.107.16.157 with SMTP id 29mr26372982ioq.196.1505313149799; Wed, 13 Sep 2017 07:32:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Wed, 13 Sep 2017 07:32:29 -0700 (PDT) In-Reply-To: References: <20170913095411.25a5910f.freebsd@edvax.de> From: Adam Vande More Date: Wed, 13 Sep 2017 09:32:29 -0500 Message-ID: Subject: Re: Using PlustekMobileOffice with Wine To: Amit Yaron 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, 13 Sep 2017 14:32:30 -0000 On Wed, Sep 13, 2017 at 8:13 AM, Amit Yaron wrote: > I know that Wine for Linux can support USB if you create links to > /dev/ttyUSB*, which do not exist in FreeBSD. > Where is the documentation for this support? -- Adam From owner-freebsd-questions@freebsd.org Wed Sep 13 14:54: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 2BDCAE24C7E for ; Wed, 13 Sep 2017 14:54:47 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 BE0BE68064 for ; Wed, 13 Sep 2017 14:54:46 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: by mail-wm0-x235.google.com with SMTP id g206so8975942wme.0 for ; Wed, 13 Sep 2017 07:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phpandmore-net.20150623.gappssmtp.com; s=20150623; h=subject:to:newsgroups:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mEY3jXTqzCaRs7hB/JQSKdMCs6URCV9hu13PkY+Q3uI=; b=WxBnE+2iLnkV4lUFk3Q+z2bP12zdC/TRx4ZEdhr9fEpSeBrIsc117kYSibTewqkkka GPtu0NaAMuS0wK4zA8LzuNNV/r8m6oShQ0P27AHCYOtGlgNGJqkIwUh4rvqgWpTadH/y gU2ZyeRqjZbqb6AIKFimCh6xTLUwHNh0nDXNleiNSquofWL62JJarEAQ2Tk1nUzBZ/Y8 R+ItKoFSyb1G9Lj0wMwpWIkVK79/HzbIUw76wSA1I3Q9XKBiDPMIMRA01TAHAWrxBWp3 sJMP+RFs3kgo+aT/lJvCmTLgbJtZ1VYoPCckWrzQdesetuzUbsjIh1RVQDFLlH1QhjRl y4+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:newsgroups:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mEY3jXTqzCaRs7hB/JQSKdMCs6URCV9hu13PkY+Q3uI=; b=p9pvEAbItC6IC5a0PqGOZeKlM59sIZ6LlHWywEjANwsheHnw1iNPoloiqYUS0oc6LX Vq1cs0/Au15r3gW26YhR8lkMUpuFLZ+Gkxycrg7ZOb9LwB3kTgqAtfE8xL3ZgmixY12T VH7XFflUh5rcTLeP+3GxyNOo4KasdpjrJGZdzsYZcxSjXjG+rpAHtSsQXVSKw8vt+hDU vOa61itGkiCmme1SELQtiFkPqMkscwcp/+TrF7uIqqQyTvdobcmgfEO7XrbefTjiPO0k BuFiyLSSoNYeUqfcKTl8BvG9i5ie0J7qVihspBou0vIHO8kd5Fn8xxFMLPm/WU3KkTq3 VKYA== X-Gm-Message-State: AHPjjUhP3TbODlC3saEjZqW2kSXPsxRuN/MXrZiTMQOYutmYB2X+GJZ2 9k3abZnR9X2YVa3bR1XojgMbxfrIRwM= X-Google-Smtp-Source: AOwi7QCKXCGcocaH7imkMVO8CqC4xAyoHc5wuPNZ8u3n1pGDK6Y+LwVukrc06ORYBngNpkS9paGMYQ== X-Received: by 10.28.26.15 with SMTP id a15mr3098356wma.16.1505314484472; Wed, 13 Sep 2017 07:54:44 -0700 (PDT) Received: from [10.0.0.1] ([141.226.174.158]) by smtp.gmail.com with ESMTPSA id m19sm1175507wmd.16.2017.09.13.07.54.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 07:54:43 -0700 (PDT) Subject: Re: Using PlustekMobileOffice with Wine To: freebsd-questions@freebsd.org Newsgroups: gmane.os.freebsd.questions References: <20170913095411.25a5910f.freebsd@edvax.de> From: Amit Yaron Message-ID: Date: Wed, 13 Sep 2017 17:54:41 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.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: Wed, 13 Sep 2017 14:54:47 -0000 Here's the link: http://g8ogj.org/files/Using%20USB%20serial%20ports%20under%20wine%20howwto%20ipb.pdf On 13.09.2017 17:32, Adam Vande More wrote: > On Wed, Sep 13, 2017 at 8:13 AM, Amit Yaron wrote: > >> I know that Wine for Linux can support USB if you create links to >> /dev/ttyUSB*, which do not exist in FreeBSD. >> > > Where is the documentation for this support? > From owner-freebsd-questions@freebsd.org Wed Sep 13 15:11: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 DC965E007CC for ; Wed, 13 Sep 2017 15:11:06 +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 AF93568B48 for ; Wed, 13 Sep 2017 15:11:06 +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 3E731622C9 for ; Wed, 13 Sep 2017 11:10:59 -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 mO01XpzhXQRK for ; Wed, 13 Sep 2017 11:10:57 -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 85CEA622AB for ; Wed, 13 Sep 2017 11:10:57 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 13 Sep 2017 11:10:57 -0400 Message-ID: <227c2bf9a16ebc0291bb4c226132c330.squirrel@webmail.harte-lyne.ca> Date: Wed, 13 Sep 2017 11:10:57 -0400 Subject: freebsd-update fetch problem 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, 13 Sep 2017 15:11:07 -0000 I have a FreeBSD-11 BHyve guest runnin on a FreeBSD-11 host. The host can run freebsd-update fetch without error. The guest cannot. On the host the debug trace looks like this: # freebsd-update -v debug fetch src component not installed, skipped Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 11.0-RELEASE from update6.freebsd.org... latest.ssl 100% of 512 B 7825 kBps 00m00s done. Fetching metadata index... On the guest I get this instead: # freebsd-update -v debug fetch src component not installed, skipped Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 11.0-RELEASE from update4.freebsd.org... fetch: http://update4.freebsd.org/11.0-RELEASE/amd64/latest.ssl: Operation not permitted failed. Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org... fetch: http://update5.freebsd.org/11.0-RELEASE/amd64/latest.ssl: No route to host failed. Fetching metadata signature for 11.0-RELEASE from update6.freebsd.org... fetch: http://update6.freebsd.org/11.0-RELEASE/amd64/latest.ssl: No route to host failed. Fetching metadata signature for 11.0-RELEASE from update3.freebsd.org... fetch: http://update3.freebsd.org/11.0-RELEASE/amd64/latest.ssl: Operation not permitted failed. No mirrors remaining, giving up. What is happening? -- *** 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 13 15:23:27 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 2F4E0E0120F for ; Wed, 13 Sep 2017 15:23:27 +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 00E7969D5C for ; Wed, 13 Sep 2017 15:23:26 +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 91CCD62301 for ; Wed, 13 Sep 2017 11:23:25 -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 vqJkw78co9CT for ; Wed, 13 Sep 2017 11:23:24 -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 A4F65621D6 for ; Wed, 13 Sep 2017 11:23:23 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 13 Sep 2017 11:23:24 -0400 Message-ID: <87a02e5551674647cc52da887b9f9d9b.squirrel@webmail.harte-lyne.ca> In-Reply-To: <227c2bf9a16ebc0291bb4c226132c330.squirrel@webmail.harte-lyne.ca> References: <227c2bf9a16ebc0291bb4c226132c330.squirrel@webmail.harte-lyne.ca> Date: Wed, 13 Sep 2017 11:23:24 -0400 Subject: [SOLVED]: freebsd-update fetch problem 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, 13 Sep 2017 15:23:27 -0000 PF was running on the guest and blocking outgoing traffic. On Wed, September 13, 2017 11:10, James B. Byrne wrote: > I have a FreeBSD-11 BHyve guest runnin on a FreeBSD-11 host. The host > can run freebsd-update fetch without error. The guest cannot. -- *** 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 13 16:16: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 8B962E03A7F for ; Wed, 13 Sep 2017 16:16:39 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::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 59F646C17D for ; Wed, 13 Sep 2017 16:16:39 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id 6so3715083itl.1 for ; Wed, 13 Sep 2017 09:16:39 -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=8gMXjQ6kOHjQXgagyyzzxZtbmzbjglh4UiJGPvIKMKs=; b=G8Dm8qorGyMnqd7aw2e2JN1QIAwZx3+FpHUoJ9AZxMeVV5YLIN5QvVt+RdZRdD2wrj +KPp0gUU0rpYsr+j3JRoYVIZwmiQ2JEhDuErjBOso+1qxBsyN8HGLsyu7yoDd1Dy7T17 wCAUYrXdjUwc0T0APf/fgPncv9nTbOYfBQ06LeRUhpf0QlwEmT9vb+yTSXWltKw32DFg VgUfd1VvCBOuuIGAbdyhppvkMqdN9jAl+X+P9OI679qtMfU8/E9FmsFQu1/khWluFgYb FbR5JC2xA+UNm/F6d1hlAd7b6En5M/FSdd6e2WPVWEQXPXnDpQRzO+E/x0liDb/zufWj m4Nw== 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=8gMXjQ6kOHjQXgagyyzzxZtbmzbjglh4UiJGPvIKMKs=; b=Gpai4HLV7r8KKxbf7MoFmsTpv1r2wF67Emf1b4h/cWKx3q42AaJGQfm8bAVRMVNHbB dwumG0ck25RKz6xK2pRT0NRhHB7PGQgAXEc+6eEH7sqS0AzRXjR3KqQqVROt/8uxTI7g Dwyn6oTT41k0MnWaNhmv7y//UGTd4IQuluRXHw5JxDY+rh1iPtSjTyrajAJlB4pdJVmF DnQDOaMzqnwbDF244exHMrosgqI/fQtBzwk2xf1GOIpXZyNHk/uSh6qU9KkVoLbmAqt5 8ZViWkYzP0WnXEOK/JUOes97oTXSAC7Fqf0A+nkkY456iDhSZDzmIrjOCWDpQHsZ7IqM iqKA== X-Gm-Message-State: AHPjjUjp8jIX1MngiOkkqf5QiaYUfGvUbmf7sZJMjRwP+nZCAFGwmwGw WJajmcjzxxCpJ20lKDPkhaXteM4xwRS9rBzX6KY= X-Google-Smtp-Source: AOwi7QBEqBel87LqbUCjL1hmVjMDobZi3QkdjxAyNf1KbSapY6/oYHlPvUOzoj+RvQyv1YVLHAAG7Ah7nDbq0iz25XM= X-Received: by 10.36.3.145 with SMTP id e139mr5552156ite.18.1505319398533; Wed, 13 Sep 2017 09:16:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Wed, 13 Sep 2017 09:16:37 -0700 (PDT) In-Reply-To: References: <20170913095411.25a5910f.freebsd@edvax.de> From: Adam Vande More Date: Wed, 13 Sep 2017 11:16:37 -0500 Message-ID: Subject: Re: Using PlustekMobileOffice with Wine To: Amit Yaron 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, 13 Sep 2017 16:16:39 -0000 On Wed, Sep 13, 2017 at 9:54 AM, Amit Yaron wrote: > Here's the link: > http://g8ogj.org/files/Using%20USB%20serial%20ports%20under% > 20wine%20howwto%20ipb.pdf > That's not USB support. It's serial port support for a device that happens to be plugged into a USB port. I imagine wine would work in a similar fashion under FreeBSD if you were trying to connect to a USB-to-Serial adapter. USB support is something completely different, and as already indicated to you it likely doesn't work. Regardless, you should ask the wine folks if you wish to pursue this. If you want a scanner to work with a *nix system, the easiest path is to chose one from the SANE compatibility list. My HP's work well. -- Adam From owner-freebsd-questions@freebsd.org Wed Sep 13 20:06: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 52186E0D375 for ; Wed, 13 Sep 2017 20:06:20 +0000 (UTC) (envelope-from matt@bubblegen.co.uk) Received: from avasout06.plus.net (avasout06.plus.net [212.159.14.18]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CEFD574C2B for ; Wed, 13 Sep 2017 20:06:19 +0000 (UTC) (envelope-from matt@bubblegen.co.uk) Received: from mail.bubblegen.co.uk ([80.229.236.194]) by avasout06 with smtp id 98371w0014CLJ5401838gP; Wed, 13 Sep 2017 21:03:08 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=GetnpUfL c=1 sm=1 tr=0 a=G4bc5lkgapKKm1P+Twxy3Q==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17 a=2JCJgTwv5E4A:10 a=x_r6mTsO0M-w0Wy6CZgA:9 a=QEXdDO2ut3YA:10 a=oqgrfY10Tm37WcaBNroA:9 a=_ZfdCTBDWT0ijPj4:21 Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: matt) by mail.bubblegen.co.uk (Postfix) with ESMTPSA id 8846B4622014 for ; Wed, 13 Sep 2017 21:03:06 +0100 (IST) Received: by mail-lf0-f52.google.com with SMTP id d17so3406145lfe.2 for ; Wed, 13 Sep 2017 13:03:06 -0700 (PDT) X-Gm-Message-State: AHPjjUj3ELET+5XwrsEj+TqAMG7us8vyegzcH6CugPKXvDHcm5TXN6QJ b4b+0Sh7+4FjxjblPw+gGExQ14/e/oxOfiQmKBo= X-Google-Smtp-Source: AOwi7QA/BmIfPXQGFxHuLeFW8dXSiqKw632c8gOm2tWWjn6+wVaiv7yk09apMXVG87JbJR97uZ5Lqcr2sMse/4Xod7g= X-Received: by 10.25.207.6 with SMTP id f6mr7293650lfg.14.1505332984899; Wed, 13 Sep 2017 13:03:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.171.26 with HTTP; Wed, 13 Sep 2017 13:03:04 -0700 (PDT) From: Matthew Lear Date: Wed, 13 Sep 2017 13:03:04 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: apcupsd comms issues with APC UPS Back-UPS XS 950U and NUT server To: 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: Wed, 13 Sep 2017 20:06:20 -0000 Hi. I have 10.3-RELEASE running on an HP Proliant Micro Server Gen8. I've had the machine a few years, but not as long as my trusty APC UPC Back RS 800 which recently packed in. I bought an APC Back-UPS XS 950U to replace it. I run apcupsd on the Proliant and also NUT in server mode. Connection to the UPS is via USB. NUT is used so other machines on my LAN, such as my Synology Diskstation, can be be 'power aware'. This setup has served me very well for years and I'm happy. A day after installing the new XS 950U UPS I started to wonder why FreeBSD was constantly notifying me by email that 'Communications with UPS restored'. I've read some posts in the last year or so about some issues with apcupsd and how some people wondered if the communications protocol had changed subtly. Those posts involved apcupsd running on the OS notifying users that power had failed when power had not failed at all. On the surface it seemed like I was suffering a similar problem with my new UPS... apcupsd invokes various scripts in ${prefix}/etc/apcupsd/ (eg commfailure) when it detects various conditions. For example, loss of power, power returned, comms fail etc. Those scripts send an email to notify syadmin of the condition. Here's tail of /var/log/apcupsd.events with a few lines: 2017-09-12 20:30:11 +0100 Communications with UPS restored. 2017-09-12 21:41:47 +0100 Communications with UPS restored. 2017-09-12 22:00:16 +0100 Communications with UPS restored. 2017-09-12 22:20:10 +0100 Communications with UPS restored. 2017-09-12 22:44:39 +0100 Communications with UPS restored. 2017-09-12 23:05:14 +0100 Communications with UPS restored. 2017-09-12 23:15:45 +0100 Communications with UPS restored. 2017-09-12 23:27:36 +0100 Communications with UPS restored. 2017-09-13 00:21:21 +0100 Communications with UPS restored. 2017-09-13 00:58:53 +0100 Communications with UPS restored. 2017-09-13 01:36:16 +0100 Communications with UPS restored. 2017-09-13 02:02:05 +0100 Communications with UPS restored. My Diskstation emailed me at 0207 telling me it had lost connection to the UPS. >From 02:02:05 to now (~ 2030) I have not seen any more 'restored events'. >From what I can tell, there is actually nothing wrong. There is no notification of communications being lost - only comms being restored. And the frequency of these seems irregular, too. Restarting apcupsd doesn't change the behaviour. If I look in syslog something strange is going on: Sep 12 20:30:10 neon devd: Executing 'kldload -n uhid' Sep 12 20:30:11 neon apcupsd[8770]: Communications with UPS restored. Sep 12 21:41:46 neon devd: Executing 'kldload -n uhid' Sep 12 21:41:47 neon apcupsd[8770]: Communications with UPS restored. Sep 12 22:00:15 neon devd: Executing 'kldload -n uhid' Sep 12 22:00:16 neon apcupsd[8770]: Communications with UPS restored. Sep 12 22:20:09 neon devd: Executing 'kldload -n uhid' Sep 12 22:20:10 neon apcupsd[8770]: Communications with UPS restored. Sep 12 22:44:37 neon devd: Executing 'kldload -n uhid' Sep 12 22:44:39 neon apcupsd[8770]: Communications with UPS restored. Sep 12 23:05:13 neon devd: Executing 'kldload -n uhid' Sep 12 23:05:14 neon apcupsd[8770]: Communications with UPS restored. Sep 12 23:15:44 neon devd: Executing 'kldload -n uhid' Sep 12 23:15:45 neon apcupsd[8770]: Communications with UPS restored. Sep 12 23:27:35 neon devd: Executing 'kldload -n uhid' Sep 12 23:27:36 neon apcupsd[8770]: Communications with UPS restored. Sep 13 00:21:20 neon devd: Executing 'kldload -n uhid' Sep 13 00:21:21 neon apcupsd[8770]: Communications with UPS restored. Sep 13 00:58:52 neon devd: Executing 'kldload -n uhid' Sep 13 00:58:53 neon apcupsd[8770]: Communications with UPS restored. Sep 13 01:36:15 neon devd: Executing 'kldload -n uhid' Sep 13 01:36:16 neon apcupsd[8770]: Communications with UPS restored. Sep 13 02:02:04 neon devd: Executing 'kldload -n uhid' Sep 13 02:02:05 neon apcupsd[8770]: Communications with UPS restored. Sep 13 02:02:07 neon upsd[767]: Data for UPS [ups] is stale - check driver devd is trying to (re)load uhid every so often and this is triggering the comms restored event in apcupsd. The message from upsd likely explains why the Synology box is no longer able to communicate with the NUT server instance. I can only assume that the 'stale data' message is because of the repeated communications messages and somehow this causing confusion so upsd has decided it has had enough. After upsd flagged it was unhappy at 0202 I've not see any more comms restored messages and apcupsd seems happy. I'm running apcupsd-3.14.14_2 and nut-2.7.4 Does anybody have any idea why this could be happening? It appears like the cause of the problem is related to NUT somehow but I'm really not sure why. Some config file snippets: apcupsd.conf: UPSCABLE usb UPSTYPE usb DEVICE LOCKFILE /var/spool/lock SCRIPTDIR /usr/local/etc/apcupsd PWRFAILDIR /var/run NOLOGINDIR /var/run ONBATTERYDELAY 6 BATTERYLEVEL 5 MINUTES 3 TIMEOUT 0 ANNOY 300 ANNOYDELAY 60 NOLOGON disable KILLDELAY 0 NETSERVER on NISIP 0.0.0.0 NISPORT 3551 EVENTSFILE /var/log/apcupsd.events EVENTSFILEMAX 10 UPSCLASS standalone UPSMODE disable STATTIME 0 STATFILE /var/log/apcupsd.status LOGSTATS off DATATIME 0 nut.conf: MODE=netserver ups.conf: [ups] driver = usbhid-ups port = /dev/ugen0.3 desc = "APC Back-UPS XS 950U" dmesg.boot: ugen0.3: at usbus0 Cheers, -- Matt (happy FreeBSD user since 6.2) From owner-freebsd-questions@freebsd.org Thu Sep 14 02:41:33 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 83B2AE1F30F for ; Thu, 14 Sep 2017 02:41:33 +0000 (UTC) (envelope-from amutu@amutu.com) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::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 322A69FA for ; Thu, 14 Sep 2017 02:41:33 +0000 (UTC) (envelope-from amutu@amutu.com) Received: by mail-qk0-x230.google.com with SMTP id b23so4743126qkg.1 for ; Wed, 13 Sep 2017 19:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amutu-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TvmqYPpkLPsh9EiL/ZQ4S+/Xiij+QsxkIjiYOAciJZQ=; b=ouH+TOWrobE9sJs/OvuwTQE7HvdQ94q7Q+FwRyxKOMR3/ZIpISyJxImVXRc7LRem0n XbnRa3VMSU+5wn3BcWjfwWuvfBDHdx0cRchzzwDtwfCjcjDXUIazGlnj+7rmRICSZrNQ 4O33vT1c5WaxIwseBC27CFMP2k/CXkfvSEKqkQXUrEIvc7LA7CTfFkjeF9HSm6p4x3oZ B4mh4GU4L+wlik5+MxtYC9/8HeqSW5zcBnb3Q5F2K9fnDRYMOCm0mz64mBwge+FbrRiK 0UzfweuLkLMFmJWP7mTqUBm5qGogRfgDkCC2wS4CkheuBIJ5hyZtn61Hmt/4SqWv3SOH SW5Q== 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=TvmqYPpkLPsh9EiL/ZQ4S+/Xiij+QsxkIjiYOAciJZQ=; b=rHHKnHW5zu9vkuNQn3/pDp+VPhxmIMwprAgBZDKGDTb6MTNcsFG6pPZcPpV2f94R5c 2Rs6/8K04Sy3S5vIGxXhvFr+ER9NvP++vcIBerB7xZy18aPG3nUpRS5oK2XHMVYjtEll hyN+aWGkn5SIlIeaV/s/WuIBgQRxOJCFXzo8X3dv9dNwMHrycQbHvIVH6kV4SMB5vGFT PS30s3O5EGl1MPBSO6ak2BSHlVPdlTAgVXv+S9Z4sN2Odow812mM17cypAgPGKtEa9rs QGHQxhjEF3/+n0QqqO7yVKX/pa/XwGun7ELeezEO1NTvC/tY/AGkM72G9IiDy5mTe+Ov 0PxQ== X-Gm-Message-State: AHPjjUiGlwAsCt43zE5xYMo5yDSG8rP8MilEsJV5iobFHA8JAllfnFI7 IDv887i9vjieswBXG1wDHCwN X-Received: by 10.55.10.76 with SMTP id 73mr674667qkk.205.1505356891723; Wed, 13 Sep 2017 19:41:31 -0700 (PDT) Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com. [209.85.220.172]) by smtp.gmail.com with ESMTPSA id s90sm10464739qkl.81.2017.09.13.19.41.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 19:41:30 -0700 (PDT) Received: by mail-qk0-f172.google.com with SMTP id b23so4743050qkg.1; Wed, 13 Sep 2017 19:41:30 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDomLa/8yF5hMDXk58sPDG8WosZbIggD+Bl5ejzc9VZvKaW+3gxx+kYnhpkGc3+PZZqleciwrAViZbbLcidTKI= X-Received: by 10.233.221.3 with SMTP id r3mr695177qkf.219.1505356890164; Wed, 13 Sep 2017 19:41:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.43.74 with HTTP; Wed, 13 Sep 2017 19:41:09 -0700 (PDT) In-Reply-To: References: From: Jov Date: Thu, 14 Sep 2017 10:41:09 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: crashes after upgrade to 11.1-RELEASE AMD64 / libgcc5 To: "Mr. Binary" <0110001101100100b@gmail.com> Cc: freebsd-stable@freebsd.org, FreeBSD Mailing List 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: Thu, 14 Sep 2017 02:41:33 -0000 There is a similar PR for libgcc[1]. It's crash TensorFlow on 11.1-Release. I make the tensorflow port on 11.0-R and test it on 11.0R,10.3R, all work well. But now it is not working on 11.1R, even 11.0R jail on 11.1R get the same crash. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221880 2017-09-13 21:58 GMT+08:00 Mr. Binary <0110001101100100b@gmail.com>: > Hey! > > I have upgraded from 11.0 to 11.1-RELEASE, I get constantly crashing > applications, is web browser.. this may be related to libgcc5.. any > hints how to prevent? > > Firefox / Chrome / Iridium GTK, Otter QT5.. > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 > (gdb) bt > #0 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 > #1 0x0000000000000000 in ?? () > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 > > ... > > -- > 0110001101100100 > _______________________________________________ > 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 Thu Sep 14 06:19: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 CE784E02647; Thu, 14 Sep 2017 06:19:12 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::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 8DD6C66668; Thu, 14 Sep 2017 06:19:12 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x230.google.com with SMTP id l24so2929279uaa.5; Wed, 13 Sep 2017 23:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2BNn7CnpHYcWxyvpuDU/BWgXeQUpzClU7NgG4Mvt6L8=; b=cNQGk+xh7wAgdbqYOS30y48LA/PUeZrRu25wizhVKOthgQyl+p4EQX5dOI6EAmpBRq Hvgvx1nGE8x1qIivessboEJXjPUYyD1c9V5WkbyuspRV8f7LtaK4XQDR7Hmq6wiZP8Nr 6QeJnjBIoERnuZEVWyD+GRX/Wq/AbXyD4QZxw+pvpwqK7fR2cgWTeXa8rykLz/6KmVit ZbMH1hzPGDJwE3nNCIaqTxRxJ2GsUna4sAImAFJYn7u9Uz6b1F99pE3VtUe4sSGwcuYU AKikWKoOzDVrHLjcwg8hATRdYTKiU6e86x/ZhwFNNanrgMArBE+oZgfYcTodSiz0nSRP K4Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2BNn7CnpHYcWxyvpuDU/BWgXeQUpzClU7NgG4Mvt6L8=; b=AS6az9rbHUP4tyxcBrEHOZwiSJX1gloWvVOqJiLz6Mru3FFDbPUHK8Y0UB2iKatvxu BH2Te3ZXIdDLS5LZni0Pp9WreNLUZBBpNe+vfFqD+TOlSpbKoVGAlESmFgT5x6VZha5G OesL1ZZ4pdB8S+NCQD9vUUKROrjbU7wJEtlskW3z+6CQynwu1/eFjg7LjNXAg7UuYZn2 qCt+3w87SJ/IXAcqjJffCdKOZIXHwHySdU/DjUik9Kb/UTdRk5V63KiHGEDkLbNyHF1h 8Z14yzbDtDL9TDHnYFRRYVFUz9kj3o1OHgcNU27eak3BRFmG8j95hGeJZYQ32NsW7JOD Tkew== X-Gm-Message-State: AHPjjUhKZACKGIaukDIwAWnymhSxV4R7Z9H73ixzDyIM1f6jEhHe0Ni6 hxJb6a340spQXBAK6w9nVdGPwOdHuPMrEvYZrDg= X-Google-Smtp-Source: ADKCNb7dl1J9EbEgxf+h5wW684ptllZqOsZeoGcgRzuvN0uEkz5jx65pCkfbwNGFT3lLeludFy0DWZSdScHBF4fY8f8= X-Received: by 10.176.70.75 with SMTP id z11mr16747908uab.43.1505369951006; Wed, 13 Sep 2017 23:19:11 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.176.20.35 with HTTP; Wed, 13 Sep 2017 23:19:09 -0700 (PDT) Received: by 10.176.20.35 with HTTP; Wed, 13 Sep 2017 23:19:09 -0700 (PDT) In-Reply-To: References: From: Tomasz CEDRO Date: Thu, 14 Sep 2017 08:19:09 +0200 X-Google-Sender-Auth: 03geFbsKNfvpUAlflbKcarvFBcw Message-ID: Subject: Re: crashes after upgrade to 11.1-RELEASE AMD64 / libgcc5 To: 0110001101100100b <0110001101100100b@gmail.com> Cc: FreeBSD Questions Mailing List , FreeBSD Stable 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: Thu, 14 Sep 2017 06:19:12 -0000 Here too! I did a fresh install on a second partition the same machine, no problem observed.. for some reason freebsd-upgrade -r fails to create a stable system or there is some sort of base/pkg mismatch after... -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Sep 13, 2017 15:58, "Mr. Binary" <0110001101100100b@gmail.com> wrote: Hey! I have upgraded from 11.0 to 11.1-RELEASE, I get constantly crashing applications, is web browser.. this may be related to libgcc5.. any hints how to prevent? Firefox / Chrome / Iridium GTK, Otter QT5.. Program received signal SIGSEGV, Segmentation fault. 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 (gdb) bt #0 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 #1 0x0000000000000000 in ?? () Program received signal SIGSEGV, Segmentation fault. 0x0000000806bdec19 in ?? () from /usr/local/lib/gcc5/libgcc_s.so.1 ... -- 0110001101100100 _______________________________________________ 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 Thu Sep 14 13:41: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 24ED6E18F55 for ; Thu, 14 Sep 2017 13:41:22 +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 EAE277463E for ; Thu, 14 Sep 2017 13:41:21 +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 v8EDfJCB059440 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Sep 2017 07:41:19 -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 v8EDfJaY059437; Thu, 14 Sep 2017 07:41:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 14 Sep 2017 07:41:19 -0600 (MDT) From: Warren Block To: "Steve O'Hara-Smith" cc: freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt In-Reply-To: <20170909163607.60ac4fe70da8475a1cc1f640@sohara.org> 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> <20170909163607.60ac4fe70da8475a1cc1f640@sohara.org> 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]); Thu, 14 Sep 2017 07:41:20 -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: Thu, 14 Sep 2017 13:41:22 -0000 On Sat, 9 Sep 2017, Steve O'Hara-Smith wrote: > 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. It's a loader command. From owner-freebsd-questions@freebsd.org Thu Sep 14 14:01: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 5FC94E19CC2 for ; Thu, 14 Sep 2017 14:01:12 +0000 (UTC) (envelope-from luzar722@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 25E6875089 for ; Thu, 14 Sep 2017 14:01:12 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x235.google.com with SMTP id 6so231273itl.1 for ; Thu, 14 Sep 2017 07:01:12 -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=TtOZtsG9ZGNvnERdtaghSWIEMKP6H1o4Pt9Er2gLR7E=; b=ghJHzd8KXq1nvqYfSUBvdiBVkJy/pTtaX5mCu5/QOARx+5VYPm8EkYSMdeqrzKyNQe JBGs9+ybkiZbesJNqDPIW8qKS+QXAoH18jmG/+j0elYCyQuv70gwgPLEu124IYAsqpUj XuNtqIFNa+f4m/Wp08pxaL+KoWplktC/+QHYm9GMK9z2cIwcmntqtYv/8WITwVPvvK2c t6B/PtXQiKWw6UqgNQsk1v2gD6fTLAD8B+CGagAbY/FXcOg6j/raLT1d6SgWv0b1HsWk 34jePIex1ffcHhbMDxI5LL4pi3ZLqSKeE1rBRkELRiIf1ny9qKJ7d9W0M4Sde31K//+D YL7g== 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=TtOZtsG9ZGNvnERdtaghSWIEMKP6H1o4Pt9Er2gLR7E=; b=BIMjcSEibTKAbu05zE//4AIm/095NxeAueJ6fXgQnaMG8wZQj2k3TiY0Mgmpk2MJxD f/6jUoPgQImk7eav4tl6sqW9dMcFucl2VQvCvvJogIjwoUyfA0USqEknaYb69z0zw5Kv wttszz1TlX+FfhwNpDPGvXSTQIKkN53duF53D75mdX5UJr0Xgc0mReUwsaSQwU+26CKI KFkJL0Afr2O3DmJWWQumflDxcCFawEYS1Jgxy2mrH/iy5J6NphM8myTK9/o97CEoTVun 8rcIa9GNSDbB3DxWjN0dWHhl/lwNj/kl6lQrNtPehAuvLeQIsUpIk4uKKKPc8xoH1Ei0 TKtw== X-Gm-Message-State: AHPjjUhiGgqNRc+NStIVddodH9TZMXMJlNOxe+BsrJ3fyh7QhlUxhKC7 G86/W4HErqjlocZS X-Google-Smtp-Source: AOwi7QDMgDNoscLTyyUHJlpOaSe8VBkL+lvnyARFgO7r+jwS/MTgZT4ssxVz79YbC8xxHhq1/Javdw== X-Received: by 10.36.50.150 with SMTP id j144mr232439ita.52.1505397671370; Thu, 14 Sep 2017 07:01:11 -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 m20sm41327itm.19.2017.09.14.07.01.10 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Sep 2017 07:01:10 -0700 (PDT) Message-ID: <59BA8BA5.3050204@gmail.com> Date: Thu, 14 Sep 2017 10:01:09 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: unbound with local-zones: loaded 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, 14 Sep 2017 14:01:12 -0000 Does unbound have any commands to list the local-zones that have been loaded or statics on their use? From owner-freebsd-questions@freebsd.org Thu Sep 14 14:08: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 7EE71E1A417 for ; Thu, 14 Sep 2017 14:08:18 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 3D70375506 for ; Thu, 14 Sep 2017 14:08:16 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 789532DBB757; Thu, 14 Sep 2017 17:08:01 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Thu, 14 Sep 2017 17:08:01 +0300 (MSK) Date: Thu, 14 Sep 2017 17:08:01 +0300 (MSK) From: "Igor V. Ruzanov" To: Ernie Luzar cc: "freebsd-questions@freebsd.org" Subject: Re: unbound with local-zones: loaded In-Reply-To: <59BA8BA5.3050204@gmail.com> Message-ID: References: <59BA8BA5.3050204@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 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, 14 Sep 2017 14:08:18 -0000 Use `unbound-control' comand to get data from Unbound processe(s). For example unbound-control list_local_zones |Does unbound have any commands to list the local-zones that have been loaded or |statics on their use? |_______________________________________________ |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 Thu Sep 14 15:07:46 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 B85ADE1E2C8 for ; Thu, 14 Sep 2017 15:07:46 +0000 (UTC) (envelope-from luzar722@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 7F2D77C14E for ; Thu, 14 Sep 2017 15:07:46 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id n69so1213848ioi.5 for ; Thu, 14 Sep 2017 08:07:46 -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=s/9KHm5Rm9nCohoqpglbEI6exNLdJc6rIyHuzfE9dOo=; b=fVgukBT8DZzvayWhGnoC/8bh+RxSa60u+FPwYcMP91DcggMYI32TE28QWWpMX5oad8 +PPf8TNvDLpX70UfBW8F743wg+nSLoutd3aFp3AK2Su6c2aysF8OgUslOVK7puqU75OA uFxEM2ULLFvGRDGnLYN5J2hSYTQw6ZgWiEoPOwp34qkqaT3s0lcdbXDWLkJ6cihQzvQv he0rjAY4olmNHnNhTQGxgT62BF8ua5iaCRvOrrkRmyfYDTJmT2ZZySR/nR7dLgfcRV+x crSbaX/ILYLmSM8f+tecv0w3/kM9LyLy6fMzLzOh8bhuCqnXk9fMtF2g1i/rl5olu28X CGuA== 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=s/9KHm5Rm9nCohoqpglbEI6exNLdJc6rIyHuzfE9dOo=; b=H3jv2p5JzvTrWHn4Do5GYXXksk8KUfK3uBU16qoOKBQE8CKNIu2sV0q9rXEwRGAufE VuppAKNaiN3UPervzwbpyVKFxsUhJyjmQfpzNIEAOIb/B+MT45x8+rtZM8BpvSYSezMH yfV7D2pvYwdaDGtkjWTENAATyrH5cPchC4l9tpThAkU4SdE46kN4vLg19BQhxfnNxv2M 8cPFpk6sXtd0CIbEm/0c7P1Lbv7kqn6feJtvJeMmmgNg3/4X6j/McWx1+wrCWn2Ci5Vf HApTe0NW21hjLOCCO1ueJ8N+7kkmoZfvHVpk3M/25rb9Nra1pR8pBlwCAw8M31yvpN12 DFRA== X-Gm-Message-State: AHPjjUjWQGd26mUAfiyegdLHhU1QVtUrDYF3OlodF1uCVR6PeOd6TLV4 mtt3mgTl6mZQwdHj X-Google-Smtp-Source: AOwi7QDE8NdXUWsRZHqtoCNpr5m7bkNylYTeTskMZlN482sVgasLlcXmX2pBqVTD0Hp301ZFkBpv8A== X-Received: by 10.107.201.84 with SMTP id z81mr3401011iof.96.1505401665125; Thu, 14 Sep 2017 08:07:45 -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 l195sm217083itl.2.2017.09.14.08.07.44 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Sep 2017 08:07:44 -0700 (PDT) Message-ID: <59BA9B3C.5010106@gmail.com> Date: Thu, 14 Sep 2017 11:07:40 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Is it possible to sort a key field right to left 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, 14 Sep 2017 15:07:46 -0000 I have a file containing a list of host domain names known to contain viruses. I want to sort the host names from right to left so they are grouped together by like host name suffixes. Is this possible? From owner-freebsd-questions@freebsd.org Thu Sep 14 15:09: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 31C71E1E53C for ; Thu, 14 Sep 2017 15:09:49 +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 B2F627C89A for ; Thu, 14 Sep 2017 15:09:47 +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 v8EF9c6m069960; Thu, 14 Sep 2017 16:09:39 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: Is it possible to sort a key field right to left To: Ernie Luzar , "freebsd-questions@freebsd.org" References: <59BA9B3C.5010106@gmail.com> From: Arthur Chance Message-ID: <575efb73-35e2-bd8c-4c9b-54c30e419686@qeng-ho.org> Date: Thu, 14 Sep 2017 16:09:38 +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: <59BA9B3C.5010106@gmail.com> 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: Thu, 14 Sep 2017 15:09:49 -0000 On 14/09/2017 16:07, Ernie Luzar wrote: > I have a file containing a list of host domain names known to contain > viruses. > > I want to sort the host names from right to left so they are grouped > together by like host name suffixes. > > Is this possible? Try this to see if it does what you want. outfile -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Thu Sep 14 15:20: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 B8DB7E1EF5A for ; Thu, 14 Sep 2017 15:20:25 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DE447EF63 for ; Thu, 14 Sep 2017 15:20:24 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.43.6] (mobile-166-175-189-45.mycingular.net [166.175.189.45]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id v8EFKDGQ072266 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 14 Sep 2017 10:20:15 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: Is it possible to sort a key field right to left To: FreeBSD Mailing List References: <59BA9B3C.5010106@gmail.com> From: Tim Daneliuk Message-ID: Date: Thu, 14 Sep 2017 10:20:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <59BA9B3C.5010106@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Thu, 14 Sep 2017 10:20:15 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: v8EFKDGQ072266 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-0.961, required 1, autolearn=not spam, ALL_TRUSTED -1.00, AWL 0.04) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: 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: Thu, 14 Sep 2017 15:20:25 -0000 On 09/14/2017 10:07 AM, Ernie Luzar wrote: > I have a file containing a list of host domain names known to contain > viruses. > > I want to sort the host names from right to left so they are grouped > together by like host name suffixes. > > Is this possible? https://serverfault.com/questions/364330/sort-a-list-of-domain-names-fqdns-starting-from-tld-and-working-left ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Thu Sep 14 15:24: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 F042EE1F38E for ; Thu, 14 Sep 2017 15:24:08 +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 C2B2A7F583 for ; Thu, 14 Sep 2017 15:24:08 +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 9438D622FA for ; Thu, 14 Sep 2017 11:24:01 -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 Oa3bxkAif0GN for ; Thu, 14 Sep 2017 11:24:00 -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 EBD1B622CA for ; Thu, 14 Sep 2017 11:23:59 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 14 Sep 2017 11:23:59 -0400 Message-ID: <9172c06a79667cf19cb8df58baafb2f3.squirrel@webmail.harte-lyne.ca> Date: Thu, 14 Sep 2017 11:23:59 -0400 Subject: Perl5.24.2? 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: Thu, 14 Sep 2017 15:24:09 -0000 I am trying to build a perl module (p5-DBD-Pg) which has the following setting in its Makefile: USE_PERL5=configure However, this gives the error that perl5.24.2 cannot be found. Perl5.24.1 is the version available through the package manager. I am not comfortable with replacing the current version of Perl system-wide so I would like to simply have the module build with installed version. If I set USE_PERL5=5.24+ then the make file fails. If I set USE_PERL5=5.24+ configure then it goes back to asking for and failing to find perl5.24.2. How do I tell the module to use perl5.24.1 AND get it to configure? -- *** 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 14 15:31: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 21CC6E1FA6F for ; Thu, 14 Sep 2017 15:31:23 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 D608A80023 for ; Thu, 14 Sep 2017 15:31:22 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id ABA742DBB757; Thu, 14 Sep 2017 18:31:14 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Thu, 14 Sep 2017 18:31:14 +0300 (MSK) Date: Thu, 14 Sep 2017 18:31:14 +0300 (MSK) From: "Igor V. Ruzanov" To: byrnejb@harte-lyne.ca cc: freebsd-questions@freebsd.org Subject: Re: Perl5.24.2? In-Reply-To: <9172c06a79667cf19cb8df58baafb2f3.squirrel@webmail.harte-lyne.ca> Message-ID: References: <9172c06a79667cf19cb8df58baafb2f3.squirrel@webmail.harte-lyne.ca> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 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, 14 Sep 2017 15:31:23 -0000 I suggest you to install perl modules by native perl tools. Try the following: - perl -MCPAN -e shell And in the perl's shell install needed module: - install DBD::Pg |I am trying to build a perl module (p5-DBD-Pg) which has the following |setting in its Makefile: | |USE_PERL5=configure | |However, this gives the error that perl5.24.2 cannot be found. |Perl5.24.1 is the version available through the package manager. I am |not comfortable with replacing the current version of Perl system-wide |so I would like to simply have the module build with installed |version. | |If I set USE_PERL5=5.24+ then the make file fails. If I set |USE_PERL5=5.24+ configure then it goes back to asking for and failing |to find perl5.24.2. How do I tell the module to use perl5.24.1 AND |get it to configure? | | |-- |*** 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 | |_______________________________________________ |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 Thu Sep 14 15:49: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 079BCE20CD8 for ; Thu, 14 Sep 2017 15:49:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BF6D381756 for ; Thu, 14 Sep 2017 15:49:46 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [192.168.24.29] (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 856DE1481 for ; Thu, 14 Sep 2017 15:49:38 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Subject: Re: Perl5.24.2? To: freebsd-questions@freebsd.org References: <9172c06a79667cf19cb8df58baafb2f3.squirrel@webmail.harte-lyne.ca> From: Matthew Seaman Message-ID: <527a4d83-443a-2843-9f27-842002710166@freebsd.org> Date: Thu, 14 Sep 2017 16:49:36 +0100 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: <9172c06a79667cf19cb8df58baafb2f3.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8 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, 14 Sep 2017 15:49:47 -0000 On 14/09/17 16:23, James B. Byrne via freebsd-questions wrote: > I am trying to build a perl module (p5-DBD-Pg) which has the following > setting in its Makefile: > > USE_PERL5=configure > > However, this gives the error that perl5.24.2 cannot be found. > Perl5.24.1 is the version available through the package manager. I am > not comfortable with replacing the current version of Perl system-wide > so I would like to simply have the module build with installed > version. > > If I set USE_PERL5=5.24+ then the make file fails. If I set > USE_PERL5=5.24+ configure then it goes back to asking for and failing > to find perl5.24.2. How do I tell the module to use perl5.24.1 AND > get it to configure? Going from perl-5.24.1 to perl-5.24.2 is not a particularly risky operation, although it might result in some churn with packages being re-installed. You may well find that biting the bullet and upgrading generally is your fastest route to a solution and a quiet life... I take it you're building this from source rather than using the pre-compiled packages? In which case, you'ld need to check out a copy of the ports tree prior to the update of perl5.24.1 to 5.24.2. Looks like you want r446021. p5-DBD-Pg hasn't been updated in months, so this will not be affected by reverting to a slightly older version of the ports. Note the pkg repository for the /quarterly/ packages (which is what you get by default) will have perl-5.24.1 since that's what was current at the end of June when the 2017Q3 branch was created. For pkgs that match what is currently in the ports tree, use the /latest/ packages. Cheers, Matthew From owner-freebsd-questions@freebsd.org Thu Sep 14 18:34: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 679AFE038AE for ; Thu, 14 Sep 2017 18:34:40 +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 D01BC64124 for ; Thu, 14 Sep 2017 18:34:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Thu, 14 Sep 2017 20:34:30 +0200 Received: from r56.edvax.de (port-92-195-6-118.dynamic.qsc.de [92.195.6.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id EF6CF3CC42; Thu, 14 Sep 2017 20:34:29 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v8EIYS2F002538; Thu, 14 Sep 2017 20:34:28 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 14 Sep 2017 20:34:28 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: Is it possible to sort a key field right to left Message-Id: <20170914203428.6aef9627.freebsd@edvax.de> In-Reply-To: <59BA9B3C.5010106@gmail.com> References: <59BA9B3C.5010106@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 mailrelay14.qsc.de with 367EC6838F0 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1272 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, 14 Sep 2017 18:34:40 -0000 On Thu, 14 Sep 2017 11:07:40 -0400, Ernie Luzar wrote: > I have a file containing a list of host domain names known to contain > viruses. > > I want to sort the host names from right to left so they are grouped > together by like host name suffixes. > > Is this possible? Yes, easily, and provided by the OS. The "sort" command can do it. Example: ... | sort -t '.' +2 | ... Use the -t parameter to define the field separator, and +N to set the sorting field (+2 means to sort according to the 3rd field, i. e., +N means "go to the right N fields"). See "man sort" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Sep 15 00:55: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 6BA2BE18C94 for ; Fri, 15 Sep 2017 00:55:04 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (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 3218E71459 for ; Fri, 15 Sep 2017 00:55:04 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x232.google.com with SMTP id z8so1639343itc.2 for ; Thu, 14 Sep 2017 17:55: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=DY9c8U8F1w9pEJOG2PY/SF2efwKf2LPg1j09KlEIZi4=; b=jCiBB8xVWlFvV1KQ2c1rt8pm7lSZ7xoFYRl/Zwu76DFOtic9kHulLJkzhQiR4K6Wmf wD6yy9HLIupCOUgdAQw48GC+job10DUFAcvv3cdWbvd1FiWVR/099rSRnv28gkV3GojY V0snWQ4M0wetdcEXD+QVzrWMJj/gEM1d9M6FgdNzb9KKXbxWRANhIspRHREYA96gw3A7 uPzsiSGjbUwpaq3Bk/TrxY22pTQIDIQV0KGadySxt2jM2f4FdXFXtqqgSUBZpV1rKnka Ff9eZCm8GsKmyOsA5XxrWoUlvzwhiAjwhA2q8/v6ElmYo5SNZHAmEHQZ/0aCFpOKIbXp tUOg== 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=DY9c8U8F1w9pEJOG2PY/SF2efwKf2LPg1j09KlEIZi4=; b=jiH97c6tAOI2Too1j3DWFV9Lft1eYQEWBHBvX3+sNzw+kcmWZDK86925VusGSU4H4X qESgFWh+qq+4xGCW3J+wUr174Mwy/GHdJuqp/xJv4sGiNyfyokYVC39wzDo2NX3AJe+j 7PPaU2Ed0vcdv8PE29QSv0VYYj8VO8Kj3qBSmuGUj4PkgXD8RpamSNfdzqMQDgVETduC ACxLgG6NQuiFZLWLM87JXeVbSBDBOyiGPA9ULltwxnP/llh+GMThYhnx4sCESK03pmP6 hKCYQdKhT8VxTR1ot8q6UagxamVlFxfLbkXB4d4WgaXt4slKl5yW3btb8FBc6mXi0CcI FJAw== X-Gm-Message-State: AHPjjUjNFip/XjSxo3kYN4GBTKBN+YwAynFq2MZn4udDgdYNA4Pth4Kd Pz6UFwYRM3QxJUt/ X-Google-Smtp-Source: AOwi7QC7u1vGU9sDcW9jmyfSTUw6lXiOTMu5WUaI2fpQ0SqEPv6G19Lzpoolhy1lgWSe+U8bsN6gng== X-Received: by 10.36.238.6 with SMTP id b6mr3036252iti.113.1505436903195; Thu, 14 Sep 2017 17:55: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 k18sm731108itb.2.2017.09.14.17.55.02 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Sep 2017 17:55:02 -0700 (PDT) Message-ID: <59BB24E4.6060908@gmail.com> Date: Thu, 14 Sep 2017 20:55:00 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Help scripting dns lookup using awk 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: Fri, 15 Sep 2017 00:55:04 -0000 The following sh script works, but runs very slow. host_in="$1" host_out="$2" host_error="$3" truncate -s 0 $host_out truncate -s 0 $host_error # Make the input file read a line at a time, not a field at a time. IFS=$'\n' set -f for line in `cat $host_in`; do domain_name=`echo -n $line | cut -w -f 1` host $domain_name > /dev/null if [ $? -ne 0 ]; then echo "$domain_name" >> $host_error else echo "$domain_name" >> $host_out fi done The follow script uses awk trying to do the same thing. host_in="$1" host_out="$2" host_error="$3" truncate -s 0 $host_out truncate -s 0 $host_error cat $host_in | awk ' { system(host $1) rc_status = system($0) if (rc_status != 0) print $1 > $host_error else print $1 > $host_out }' # command line exec command. >hosts2void-dns_lookup.awk /tmp/aw.hosts \ /root/good.dns /root/bad.dns # This is the output. sh: medrx.sensis.com.au: not found sh: medrx.sensis.com.au: not found awk: illegal field $(), name "host_error" input record number 1, file source line number 5 I see 2 problems with my awk code. 1. The text output of the host command results is going the console screen. In the sh version I kill the output using > /dev/null How would I to do something like that in awk. 2. I get that doing print $1 > $host_error is not allowed. What is the correct way to pass script variables to awk? Now I am wondering if there is a simpler way to do dns lookup in awk? From owner-freebsd-questions@freebsd.org Fri Sep 15 01:58:46 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 0FB55E1C2D2 for ; Fri, 15 Sep 2017 01:58:46 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C4ADE72F04 for ; Fri, 15 Sep 2017 01:58:45 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id v8F1wfuU082864 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 14 Sep 2017 20:58:42 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: Help scripting dns lookup using awk To: FreeBSD Mailing List References: <59BB24E4.6060908@gmail.com> From: Tim Daneliuk Message-ID: <37196f51-3e6f-78fb-74fb-d69b0c555904@tundraware.com> Date: Thu, 14 Sep 2017 20:58:35 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <59BB24E4.6060908@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Thu, 14 Sep 2017 20:58:42 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: v8F1wfuU082864 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-0.919, required 1, autolearn=not spam, ALL_TRUSTED -1.00, AWL 0.08, RP_MATCHES_RCVD -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: 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: Fri, 15 Sep 2017 01:58:46 -0000 On 09/14/2017 07:55 PM, Ernie Luzar wrote: > The following sh script works, but runs very slow. Rudiments of the same thing in Python (spacing and indents matter): #!/usr/bin/env python # Return IP Of Hostnames Specified On Commandline from socket import gethostbyname from sys import argv for host in argv[1:]: try: print gethostbyname(host), " " * 8, host except: print "Invalid Hostname: %s" % host ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Fri Sep 15 08:11: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 6E168E064BF for ; Fri, 15 Sep 2017 08:11:12 +0000 (UTC) (envelope-from ktasoula@cogentco.com) Received: from server1.mail.cogentco.com (server1.mail.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 4300381318 for ; Fri, 15 Sep 2017 08:11:12 +0000 (UTC) (envelope-from ktasoula@cogentco.com) Received: from hhcp-mbx01.ms.cogentco.com ([10.33.1.100]:35290 helo=email.cogentco.com) by server1.mail.cogentco.com with esmtp (Exim 4.84_2) (envelope-from ) id 1dsliK-0002NQ-Tt for freebsd-questions@FreeBSD.org; Fri, 15 Sep 2017 04:11:04 -0400 Received: from HHCP-MBX02.ms.cogentco.com (10.33.1.101) by HHCP-MBX01.ms.cogentco.com (10.33.1.100) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 15 Sep 2017 04:11:03 -0400 Received: from HHCP-MBX02.ms.cogentco.com ([fe80::78d3:8024:be94:8ad7]) by HHCP-MBX02.ms.cogentco.com ([fe80::78d3:8024:be94:8ad7%13]) with mapi id 15.00.1293.002; Fri, 15 Sep 2017 04:11:02 -0400 From: "Tasoula, Katerina" To: "freebsd-questions@FreeBSD.org" Subject: RE: Cogent Communications ISP Thread-Topic: Cogent Communications ISP Thread-Index: AdLLCgltIyZFOXJdSuO3RSJbTD+pPgD3+exgAAAsumABX8GY4AKMu3jgEh1G3UAAKODWoAA2gVrQAVqdPIA= Date: Fri, 15 Sep 2017 08:11:02 +0000 Message-ID: <3fc14de5ca7045a2a35ef6142256ff68@HHCP-MBX02.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.144] MIME-Version: 1.0 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, 15 Sep 2017 08:11:12 -0000 Hello, Would the below be of any interest? Do you have any IP Transit needs? Are you present in any data centers in Ho= ng Kong? Could you please tell me who is the best person to talk about your network = infrastructure 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: Tasoula, Katerina Sent: Friday, September 08, 2017 11:44 AM To: 'freebsd-questions@FreeBSD.org' Subject: Cogent Communications ISP 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 15 12:48: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 51DB5E14116 for ; Fri, 15 Sep 2017 12:48:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (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 B981F65EEA for ; Fri, 15 Sep 2017 12:48:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Fri, 15 Sep 2017 14:47:49 +0200 Received: from r56.edvax.de (port-92-195-6-118.dynamic.qsc.de [92.195.6.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id C2DB63CC3F; Fri, 15 Sep 2017 14:47: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 v8FCllUr002167; Fri, 15 Sep 2017 14:47:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 15 Sep 2017 14:47:47 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: Help scripting dns lookup using awk Message-Id: <20170915144747.5dc31f69.freebsd@edvax.de> In-Reply-To: <59BB24E4.6060908@gmail.com> References: <59BB24E4.6060908@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 mailrelay13.qsc.de with 0CB0B683547 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1341 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, 15 Sep 2017 12:48:05 -0000 On Thu, 14 Sep 2017 20:55:00 -0400, Ernie Luzar wrote: > host_in="$1" > host_out="$2" > host_error="$3" > truncate -s 0 $host_out > truncate -s 0 $host_error > > cat $host_in | awk ' > { system(host $1) > rc_status = system($0) > if (rc_status != 0) > print $1 > $host_error > else > print $1 > $host_out > }' > > > # command line exec command. > >hosts2void-dns_lookup.awk /tmp/aw.hosts \ > /root/good.dns /root/bad.dns > > # This is the output. > sh: medrx.sensis.com.au: not found > sh: medrx.sensis.com.au: not found You're not providing the whole command as needed; system($0) will only try to execute the hostname, not a "host " command. > awk: illegal field $(), name "host_error" > input record number 1, file > source line number 5 The $ is a reserved character in awk to indicate the fields; $0 is the whole record, $1 the first field, and so on. > I see 2 problems with my awk code. > > 1. The text output of the host command results is going > the console screen. In the sh version I kill the output > using > /dev/null How would I to do something like that in awk. Combine the command string before executing, for example like this: cmd = sprintf("/usr/bin/host %s > /dev/null 2>&1", $1) rc = system(cmd) This should suppress all messages, and you can still evaluate the return code of the external program call. > 2. I get that doing print $1 > $host_error is not allowed. > What is the correct way to pass script variables to awk? Look closely: Your awk script is in ' ... ' (single quotes). According to standard sh behavior, this means that $ is not expanded (unlike " ... $ ..."). If you want to transfer parameters into an awk script from a sh "enclosure", use awk's -v parameter. For example: ... | awk -v host_out=${host_out} -v host_error=${host_error} ' # your awk code here ' > Now I am wondering if there is a simpler way to do dns lookup > in awk? Just tidy up your code a little bit, the basic parts are already there. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Sep 15 13:30: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 7E826E16749 for ; Fri, 15 Sep 2017 13:30:26 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 11CC0676EA for ; Fri, 15 Sep 2017 13:30:26 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x235.google.com with SMTP id r68so8359598wmg.3 for ; Fri, 15 Sep 2017 06:30:25 -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=8QmIRi4YMudqMjG8RBFR/3rHrula+eiqE/8CdUFhqfA=; b=KwoVQo+zlq4NE/YGneKfP6G0K5OxrDgjGh5aUUTXcDZGmW6vMexeZ1DDxy5NJb53I5 ERxEh2u9vCyiiF7mvi5qxKnw75xB0oZhekJrTB2/sAxUgCU1u6ioeFLq0IimRf71U3pO GISqlY1ej0hxArBOyQEyBp6ui3qjwob8YkA0vJPukqBjIyfKIhWCBZt0JiongMeifp1A V1Ega8FYOvOyyFO3P/BBVrPE9opNAYjXYk+PRKsq0htUq/cm/ezWAw/2Wu6pICWc5dTN cOgT7DbpHhxL/XUMTnTNw3zYWpGuNSKqUfo/GbXIXaY5QubybTAYigo/nSGXSnGYqgil We+g== X-Gm-Message-State: AHPjjUj9ZVGLgpVoBIeXXdR5rf/jiTY4S687SjYK0tQtfAYZLBru5TW6 kh8R9K8VRZP2jZ2J X-Google-Smtp-Source: AOwi7QA6xiHGmx1j3vcTNaXSG9dcwT6Z9WPmBE1/9Iu6j0t3X7fUoB/N/rw2Vblq1/yOtfMhPt+XxQ== X-Received: by 10.28.104.67 with SMTP id d64mr3042229wmc.15.1505482223970; Fri, 15 Sep 2017 06:30:23 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id l73sm2240432wma.24.2017.09.15.06.30.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Sep 2017 06:30:23 -0700 (PDT) Date: Fri, 15 Sep 2017 14:30:19 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Help scripting dns lookup using awk Message-ID: <20170915143019.2e02d386@gumby.homeunix.com> In-Reply-To: <59BB24E4.6060908@gmail.com> References: <59BB24E4.6060908@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: Fri, 15 Sep 2017 13:30:26 -0000 On Thu, 14 Sep 2017 20:55:00 -0400 Ernie Luzar wrote: > The following sh script works, but runs very slow. Almost certainly the reason it's slow is that you are doing sequential synchronous lookups. Switching to another language isn't going help much. To speed it up you either need to switch to a language with a DNS library that supports asynchronous lookups or fire-off parallel child processes. The latter is easier. From owner-freebsd-questions@freebsd.org Fri Sep 15 13:44: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 5AFFEE17618 for ; Fri, 15 Sep 2017 13:44:34 +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 C33A768411 for ; Fri, 15 Sep 2017 13:44:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Fri, 15 Sep 2017 15:44:24 +0200 Received: from r56.edvax.de (port-92-195-1-252.dynamic.qsc.de [92.195.1.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 069283CC42; Fri, 15 Sep 2017 15:44:23 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v8FDiMdJ002841; Fri, 15 Sep 2017 15:44:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 15 Sep 2017 15:44:22 +0200 From: Polytropon To: RW Cc: RW via freebsd-questions Subject: Re: Help scripting dns lookup using awk Message-Id: <20170915154422.98d639bd.freebsd@edvax.de> In-Reply-To: <20170915143019.2e02d386@gumby.homeunix.com> References: <59BB24E4.6060908@gmail.com> <20170915143019.2e02d386@gumby.homeunix.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 412ED68343B X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1288 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, 15 Sep 2017 13:44:34 -0000 On Fri, 15 Sep 2017 14:30:19 +0100, RW via freebsd-questions wrote: > On Thu, 14 Sep 2017 20:55:00 -0400 > Ernie Luzar wrote: > > > The following sh script works, but runs very slow. > > Almost certainly the reason it's slow is that you are doing sequential > synchronous lookups. Switching to another language isn't going help > much. To speed it up you either need to switch to a language with a > DNS library that supports asynchronous lookups or fire-off parallel > child processes. The latter is easier. Correct. The bottleneck is is sequential calls to "host ". Separating the input, for example per TLD, and then executing the queries in parallel could help. It's also possible to use IP ranges for separation. However, only actual testing will reveal which approach works best. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Sep 15 16:02: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 AB863E1F5C9 for ; Fri, 15 Sep 2017 16:02:24 +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 7757D6D7A3 for ; Fri, 15 Sep 2017 16:02:23 +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 136BF622C9 for ; Fri, 15 Sep 2017 12:02:16 -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 epO0JD4CER2C for ; Fri, 15 Sep 2017 12:02:14 -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 14FC16124C for ; Fri, 15 Sep 2017 12:02:14 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 15 Sep 2017 12:02:14 -0400 Message-ID: Date: Fri, 15 Sep 2017 12:02:14 -0400 Subject: Future of SAMBA on FreeBSD 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: Fri, 15 Sep 2017 16:02:24 -0000 Will SAMBA 4.6+ ever be able to provision a DC on FreeBSD? The last bit of information I am aware of on this issue is that there is some problem with name-spacing that impacts the special attributes used by Windows User Profiles. It is described as a 'difficult' problem to solve on FreeBSD. https://bugzilla.samba.org/show_bug.cgi?id=12912 There is a patch provided at https://attachments.samba.org/attachment.cgi?id=13391 which short-circuits the difficulty but apparently has possible security issues. Has anyone here applied this patch, built and successfully provisioned a DC using Samba-4.6+ on FreeBSD-11? -- *** 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 Fri Sep 15 16:37: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 3F88CE21617 for ; Fri, 15 Sep 2017 16:37:40 +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 B3A066E989 for ; Fri, 15 Sep 2017 16:37:38 +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 v8FGbF6u095773; Sat, 16 Sep 2017 02:37:15 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 16 Sep 2017 02:37:15 +1000 (EST) From: Ian Smith To: Warren Block cc: "Steve O'Hara-Smith" , Polytropon , freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt In-Reply-To: Message-ID: <20170916020243.B81507@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: Fri, 15 Sep 2017 16:37:40 -0000 In freebsd-questions Digest, Vol 693, Issue 5, Message: 1 On Thu, 14 Sep 2017 07:41:19 -0600 (MDT) Warren Block wrote: > On Sat, 9 Sep 2017, Steve O'Hara-Smith wrote: > > > 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. > > It's a loader command. And as far as I can tell, entirely undocumented - though looking at the commit messages for the file mentioned below might be helpful; I gave up before trying. As mentioned, I'd grep'd source of mans for loader.conf and pretty much everything else to do with booting and loader; not to say I didn't miss something obvious to someone who actually knows this. Sorry about breaking threading by (albeit carefully) replying to the digests, but to not waste the quite some time put into hunting this: https://lists.freebsd.org/pipermail/freebsd-questions/2017-September/278783.html That is, check /usr/src/sys/boot/efi/loader/arch/amd64/framebuffer.c So if this file appears in 11.1 - or 10.3? - then maybe somebody can figure out what parameters might be fed to gop(0) and to what effect; reading the whole code sort-of seems to offer some sort-of clues .. Happy hunting, cheers, Ian PS Warren: I appreciate the efforts you've already put into this. From owner-freebsd-questions@freebsd.org Fri Sep 15 16:59: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 09248E22A8D for ; Fri, 15 Sep 2017 16:59:54 +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 E338A6F456 for ; Fri, 15 Sep 2017 16:59:53 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 679CCCB8CFA; Fri, 15 Sep 2017 11:30:34 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 15 Sep 2017 11:30:34 -0500 (CDT) Message-ID: <21181.128.135.52.6.1505493034.squirrel@cosmo.uchicago.edu> In-Reply-To: References: Date: Fri, 15 Sep 2017 11:30:34 -0500 (CDT) Subject: Re: Future of SAMBA on FreeBSD From: "Valeri Galtsev" To: byrnejb@harte-lyne.ca Cc: freebsd-questions@freebsd.org 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: Fri, 15 Sep 2017 16:59:54 -0000 On Fri, September 15, 2017 11:02 am, James B. Byrne via freebsd-questions wrote: > Will SAMBA 4.6+ ever be able to provision a DC on FreeBSD? The last > bit of information I am aware of on this issue is that there is some > problem with name-spacing that impacts the special attributes used by > Windows User Profiles. It is described as a 'difficult' problem to > solve on FreeBSD. https://bugzilla.samba.org/show_bug.cgi?id=12912 > > There is a patch provided at > https://attachments.samba.org/attachment.cgi?id=13391 which > short-circuits the difficulty but apparently has possible security > issues. Has anyone here applied this patch, built and successfully > provisioned a DC using Samba-4.6+ on FreeBSD-11? > I would ask these questions port maintainer directly. To find out how to contact port maintainer: cd /usr/ports/net/samba46 make maintainer Good luck! Valeri > > -- > *** 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 > > _______________________________________________ > 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 Fri Sep 15 17:32: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 A3328E243E8 for ; Fri, 15 Sep 2017 17:32:04 +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 2429570708 for ; Fri, 15 Sep 2017 17:32:03 +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 v8FHVpKr097956; Sat, 16 Sep 2017 03:31:51 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 16 Sep 2017 03:31:51 +1000 (EST) From: Ian Smith To: Warren Block cc: "Steve O'Hara-Smith" , Polytropon , freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt In-Reply-To: <20170916020243.B81507@sola.nimnet.asn.au> Message-ID: <20170916030208.U81507@sola.nimnet.asn.au> References: <20170916020243.B81507@sola.nimnet.asn.au> 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: Fri, 15 Sep 2017 17:32:04 -0000 On Sat, 16 Sep 2017 02:37:15 +1000, Ian Smith wrote: Ok, I was just being lazy. Hunting these commit messages earlier - once I was on a roll finding 'gop' in framebuffer.c - would have furthered. State of play on HEAD: https://svnweb.freebsd.org/base/head/sys/boot/efi/loader/arch/amd64/framebuffer.c?view=log And on 10.3.0 (RELEASE), just prior to release, looks like. https://svnweb.freebsd.org/base/release/10.3.0/sys/boot/efi/loader/arch/amd64/framebuffer.c?view=log where r287299 from above, plus 6 others, was MFC'd to 10.3 as r295872: ======= Revision 295872 - (view) (download) (annotate) - [select for diffs] Modified Mon Feb 22 00:49:35 2016 UTC (18 months, 3 weeks ago) by marius Original Path: stable/10/sys/boot/efi/loader/arch/amd64/framebuffer.c File length: 15247 byte(s) Diff to previous 294981 MFC: r287299 [1] Add a gop command to help diagnose VT efifb problems. The gop command has the following sub-commands: list - list all possible modes (paged) get - return the current mode set - set the current mode to MFC: r287317, r287422, r287475, r287489, r287538 [2] Add support for the UGA draw protocol. This includes adding a command called 'uga' to show whether UGA is implemented by the firmware and what the settings are. It also includes filling the efi_fb structure from the UGA information when GOP isn't implemented by the firmware. PR: 207313 [1], 202730 [2] Approved by: re (gjb) ======= Still it's a bit sad that these commands haven't made it into loader(8). cheers, Ian From owner-freebsd-questions@freebsd.org Fri Sep 15 18:03: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 6B2F4E25D61 for ; Fri, 15 Sep 2017 18:03:23 +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 D18C871A02 for ; Fri, 15 Sep 2017 18:03:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Fri, 15 Sep 2017 20:03:18 +0200 Received: from r56.edvax.de (port-92-195-1-252.dynamic.qsc.de [92.195.1.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id A8A933CBF9; Fri, 15 Sep 2017 20:03:16 +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 v8FI3FtN002745; Fri, 15 Sep 2017 20:03:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 15 Sep 2017 20:03:15 +0200 From: Polytropon To: Ian Smith Cc: Warren Block , "Steve O'Hara-Smith" , freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170915200315.289b3fdf.freebsd@edvax.de> In-Reply-To: <20170916020243.B81507@sola.nimnet.asn.au> References: <20170916020243.B81507@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 mailrelay10.qsc.de with 2D9956834FF X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1357 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, 15 Sep 2017 18:03:23 -0000 On Sat, 16 Sep 2017 02:37:15 +1000 (EST), Ian Smith wrote: > In freebsd-questions Digest, Vol 693, Issue 5, Message: 1 > On Thu, 14 Sep 2017 07:41:19 -0600 (MDT) > Warren Block wrote: > > On Sat, 9 Sep 2017, Steve O'Hara-Smith wrote: > > > > > 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. > > > > It's a loader command. > > And as far as I can tell, entirely undocumented - though looking at the > commit messages for the file mentioned below might be helpful; I gave up > before trying. As mentioned, I'd grep'd source of mans for loader.conf > and pretty much everything else to do with booting and loader; not to > say I didn't miss something obvious to someone who actually knows this. > > Sorry about breaking threading by (albeit carefully) replying to the > digests, but to not waste the quite some time put into hunting this: > > https://lists.freebsd.org/pipermail/freebsd-questions/2017-September/278783.html > > That is, check /usr/src/sys/boot/efi/loader/arch/amd64/framebuffer.c > > So if this file appears in 11.1 - or 10.3? - then maybe somebody can > figure out what parameters might be fed to gop(0) and to what effect; > reading the whole code sort-of seems to offer some sort-of clues .. So it's not a surprise that my particular testing installation does not have a "gop" command in the loader. I'm using FreeBSD 10.3 (patched) i386 on a machine with BIOS (not UEFI). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Sep 15 23:20: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 E6A2DE10D79 for ; Fri, 15 Sep 2017 23:20:24 +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 AC4988183F for ; Fri, 15 Sep 2017 23:20:24 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id l15so11674765iol.8 for ; Fri, 15 Sep 2017 16:20:24 -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=9R5IbqxNxlVFk8b2amx/C1m052rX3mxE9RB7utMvsbY=; b=JJ2azskqaaaW4IzbB5qxI6UDj3uClZqbF/Mi7n1wr81488PALZRX6+byLrhCajX03i utWAKSM+mpo0TZD0fMaeW3bIvYJtoK58Q7zs9aQW+g48ePoJOUFW+2KufneD24e8/7J2 9vZShax7y035QWD9REQAcglc77q+3SAK9qhX1L1wZA2pK1+22+3bs5lccU5dS9Y3COzA E2eQhaVdy79/DHMbepRvVZohwd20h4cqfbh684U+41gQhCMwEcO8JG7G2yt5GC0qCLr9 03SSymlpSGYTeOKUM6+//s0Nh+2ss1e7Z7uREQIzcRndwAQwYXeD9MxD4qREYvBcPeqK Jwew== 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=9R5IbqxNxlVFk8b2amx/C1m052rX3mxE9RB7utMvsbY=; b=Nnvmc8GQbNxLVzEgP32Op92F0tvsMbULkWfGTuCNzpa25n0HglJIg8m7RJN+LabwyQ Fei1J6VkyAWQ5H/Hdoy6X3dazIh1uKoCHhtgJgR7FozMjbqvVtmMEDgLv88f0Oq4M0W1 snoBaLLjFcBFEloTXdLINAvC9vOYQl0OUvUs8k2wncWnX0k5W0QI9gZFVRh4VMGxCoK5 60RQbW/SpyqH507MkUH92XfiOiA/aglyDleoLcvKfLQsCnl/DsDbrnlaRSViuCWFEI2C lWI+YPxChrOv++Tbe1aiOsqtteLp6G97xXKBoTWrXswlc1zOEB40MIilHGcAES9BXV7q SqZQ== X-Gm-Message-State: AHPjjUi4MIo5VAe09qoilKHQCV9EgHWsnOps7t1GuyQdIMY/CyPRhjhX fDuANosJNnR/GQ== X-Google-Smtp-Source: AOwi7QAp8S/22Yp8O0Ub2dhUzM+1fccl5snAnE/OIZnzvpUbABmZIQHNkSi5YHnzdlHMzRL8mgt4/g== X-Received: by 10.107.21.133 with SMTP id 127mr9477781iov.209.1505517624085; Fri, 15 Sep 2017 16:20:24 -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 o184sm1039840ioo.48.2017.09.15.16.20.23 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Sep 2017 16:20:23 -0700 (PDT) Message-ID: <59BC6036.8040709@gmail.com> Date: Fri, 15 Sep 2017 19:20:22 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: RW CC: freebsd-questions@freebsd.org Subject: Re: Help scripting dns lookup using awk References: <59BB24E4.6060908@gmail.com> <20170915143019.2e02d386@gumby.homeunix.com> In-Reply-To: <20170915143019.2e02d386@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 23:20:25 -0000 RW via freebsd-questions wrote: > On Thu, 14 Sep 2017 20:55:00 -0400 > Ernie Luzar wrote: > >> The following sh script works, but runs very slow. > > Almost certainly the reason it's slow is that you are doing sequential > synchronous lookups. Switching to another language isn't going help > much. To speed it up you either need to switch to a language with a > DNS library that supports asynchronous lookups or fire-off parallel > child processes. The latter is easier. > How would I go about coding a sh script to fire-off parallel child processes? From owner-freebsd-questions@freebsd.org Fri Sep 15 23:43: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 BF3B8E121BD for ; Fri, 15 Sep 2017 23:43:28 +0000 (UTC) (envelope-from jonathan@scatterlings.org) Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::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 584338252A for ; Fri, 15 Sep 2017 23:43:28 +0000 (UTC) (envelope-from jonathan@scatterlings.org) Received: by mail-wr0-x235.google.com with SMTP id l22so2852291wrc.10 for ; Fri, 15 Sep 2017 16:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scatterlings-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FlnnTSY62cOlWgpugmCM99HRIR+hnsRWt2bVNFSiXV8=; b=IkH9M6BCbSChEWuns+CAVvUw/9DzcmLKVajsvMVTdvuhyKm2eez2hlsbT4lr1VGZ+c 01DyO9kJR2KtEd0JpDS/D47lQe14XT5zSKHPN9Uy+A/gE/cvUeyNUsagGy4B70yS0+CW i1yzBOLJMWxPnkstqNi5XumvR3oUO6kBMNQ0Ce55ZOHYWPglqoc2vYSDPRVjSiylXKix Ch6jbGuYaB0t/M6Ex72Yk0FIn9LD9wpUzLuaPApiRxNwV/VF3iJp+he8FniDiB+N78k3 ldHWqpPeIs5mgGfa3srBuqEm4PyShL/a2Jy0VpRgnkurLJ1Hzuzo036jglD/NnbaGOHQ UBhQ== 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=FlnnTSY62cOlWgpugmCM99HRIR+hnsRWt2bVNFSiXV8=; b=VvFND7rLk4nCr9rGCzm6UJFs3xEMAxIy0owkYwe2mfc1QpBpLSFW92K12d8LOqF14k XSe7kFdw1OM7heWDtzoKoaeIt6Ys5G3xCmcNt7uETt+/Nzgbct+PizXbbSK5i3onCOnH 3BkYwyqbJ14nC2WoBGkN52xkyzdxpwASm8AJ7vtwTsKOlH0+daayg/y7uGPrf1nnm+zt RElCBExmMTi6bceexYKGMSIzWETnfuX+8mnPKGghM2t8pAQsXRCy1RI5j/GOPJc7e+6+ JRHoabPtwC8IRwd4e2TGzY+Z8w98CTFqMqc5Td1WoP8eQIoiPFGFVJfchj9bJzx8waeq gYzw== X-Gm-Message-State: AHPjjUhZFP+mU9ewrQ0Qleq3H8KC7OpMk2GPZ1IquwV/NlNZ/hruUdax 7zJ9wt8AZ35gW2zUNy7IENi47vVSSoOo0NPwt63v X-Google-Smtp-Source: ADKCNb4cOLsgvWDtiSDZySQPQoPurCf/qqZZCxNyg93Vi5sMr/lNZlThdaUJug274cLSIGknVaK6dPWU81lzgWROsuc= X-Received: by 10.223.144.71 with SMTP id h65mr23268519wrh.41.1505519006331; Fri, 15 Sep 2017 16:43:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.2.2 with HTTP; Fri, 15 Sep 2017 16:43:25 -0700 (PDT) Received: by 10.28.2.2 with HTTP; Fri, 15 Sep 2017 16:43:25 -0700 (PDT) In-Reply-To: <59BC6036.8040709@gmail.com> References: <59BB24E4.6060908@gmail.com> <20170915143019.2e02d386@gumby.homeunix.com> <59BC6036.8040709@gmail.com> From: Jonathan McKeown Date: Sat, 16 Sep 2017 01:43:25 +0200 Message-ID: Subject: Re: Help scripting dns lookup using awk To: Ernie Luzar Cc: 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: Fri, 15 Sep 2017 23:43:28 -0000 Ernie, I've been following your questions over the last month or so. I think I can guess your problem domain, and I suspect if you told the list what you're trying to achieve you'd get much better suggested solutions. As it is I think you have one approach in mind, and all your questions relate to implementing parts of your idea. My humble apologies if I'm wrong; but please consider explaining what the overall problem is. (Someone mentioned x-y problems - I think you have one here.) From owner-freebsd-questions@freebsd.org Sat Sep 16 09:41: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 9092AE0B2CF for ; Sat, 16 Sep 2017 09:41:40 +0000 (UTC) (envelope-from soyeomul@doraji.xyz) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::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 4C0916FEF2 for ; Sat, 16 Sep 2017 09:41:40 +0000 (UTC) (envelope-from soyeomul@doraji.xyz) Received: by mail-pf0-x22f.google.com with SMTP id x78so2602622pff.10 for ; Sat, 16 Sep 2017 02:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=doraji.xyz; s=google-2048-bit; h=from:to:subject:organization:references:face:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=oB3n4kdhwxI4mRqTakKS9NSrp42Z1KVGf5dPbXcag1c=; b=lMfUA1YC58txDiTSbdcfTBdERNBr+EaDB5Z5QiW4MRAr9052n+YpyssfVRwqx94L0T gleWkV+8zGt8Zea5klmjsg6BRrEisVIKm2mwcuz3F9w3xW/mpo3uYVyJExQ0T21PGuNS xC+rB4rrJgZruZT3UQr3Z2fniq/PFfESeOgRHS/pj5ltMOh0orvGHQxz+OLHdC7cVeUv gOhUCKifZ34LJO33IGljxORHt1x3ridUmun3K6nviUxhxGevV89Amkw6lptSFoAz7Ufd abwxBuypQrg2mUYphOOOOw0yjCmd5VC40dv1Utu1uOdnFbN3fRcFmX5C0lNAjUu2OZhd Su6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:references:face :date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=oB3n4kdhwxI4mRqTakKS9NSrp42Z1KVGf5dPbXcag1c=; b=llXc47A5QOy2jhU1JHqCtV2KVKl5GHB1qRxBY2KV1uNXKTwVEeHf9oAY5FHBmGRrIV 8ayaKZqtin5SGrnZfSPDmq26Fd6YxaFE+l6JdfMxAUbgEq/XBT65j28NTaVufZTd+6vY yS2J0JFgKoLRmZNGMPi3z6ls8LuRrcR/+EnWKS8KfAv1U8PnX9SiUi5w1XocYWMQMqmy YHv0JBUF2SdPEC6L1u8GbrV/rwu0APwTgh96gNsCWK890wNzy0L0YcKdVVC0kA59MS1l bPOXOq00tiN5SB0VgikvDSFgJLv0PuIN7kPJT+jDARZKNTkqB0R4dch+yFCyTDEoEDhx wyfQ== X-Gm-Message-State: AHPjjUhaI6z2mFC7/JcFOoYmu7QL4cDJ8BbY/RPEnSUIEljGEG0RTw6B GEDm+pmXfpQ0tc20M3U= X-Google-Smtp-Source: AOwi7QDpxMhbBRus4tNBwrmRMGYcgiqFyy9hGDXQ4kNyaMWv13j4RSos/IkcRdwwPrFmVHwdByhRJw== X-Received: by 10.84.209.238 with SMTP id y101mr1032672plh.211.1505554899188; Sat, 16 Sep 2017 02:41:39 -0700 (PDT) Received: from lambda.alex.chromebook ([223.39.141.206]) by smtp.gmail.com with ESMTPSA id m24sm7785465pfj.28.2017.09.16.02.41.36 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 16 Sep 2017 02:41:38 -0700 (PDT) From: "Byung-Hee HWANG =?utf-8?B?KO2Zqeuzke2drCwg?= =?utf-8?B?6buD54Kz54aZKQ==?=" X-Google-Original-From: soyeomul@yw.doraji.xyz (Byung-Hee HWANG =?utf-8?B?KO2Zqeuzke2drCwg?= =?utf-8?B?6buD54Kz54aZKQ==?=) Received: by lambda.alex.chromebook (sSMTP sendmail emulation); Sat, 16 Sep 2017 18:41:32 +0900 To: freebsd-questions@freebsd.org Subject: Re: modifying the BIOS of an Acer C720 from within FreeBSD CURRENT Organization: =?utf-8?B?6YeR6Zm1ICjmt7XmupDsnZgg66eI7J2MKQ==?= References: <20170912105538.GA52179@c720-r314251> Face: iVBORw0KGgoAAAANSUhEUgAAACYAAAAmBAMAAABaE/SdAAAAAXNSR0IArs4c6QAAACRQTFRF AAAAISMhMjQxREZEWVtYbnBthYeEmpyZsLKvxsjF3uDd9Pbzh9xQKwAAAAF0Uk5TAEDm2GYAAAAB YktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AgVCRAKKOGdjgAAAhxJREFU KM810j1P20AcBvCT+gZ06yeoqnbq0gG1UViQKEKFBRFAAS9tCokhCxLNC/GCeGly8VK1JLbPC6IQ 23dbceL4ni/XS865zT/5/3KPTUg7GAxk56y8u3NYM3mZFx1C+nbRGK32+teFdx9fVWjqjghZqDz4 v01hyUHLOrXeGFGREHJzaR+IxAdsa/j+Kn94omx+jecQA1LY6AbeGpmcU2YgAVLYuO9dT4k8W4SQ UGzJpPJV29wiugLW2PCjxyOSnRUhbmpLMidk/GVmWzZwBFwA8YeZPUXqJ5YvTdxn7cjCPATUejSq /ptRy41UsWQC4ySzF8mI+sGZSMHkKLOX7aNOxWOUN9neKNBWHTUjzgVnXuRxeqJtQEM1IxWQlHJP m81c5mKMsUs9n07tuRRV9SzCLnhI9Xtkd6OK6YaTuE6yyUYL+nhIf81MJQpDJS2S89l9KQzg0FKp 3urw6rfkCQZQc1XOupuQy2TOZ8eYhJ/quor9l5C9JG00mj4ibfUddzNYO5hMDWWWHlA/z4UFRY/N SrYIZP9z/nhFWf2H+VrbGLxYL39Ho7TffshqVcJX1OkAQ/bzgsz6HQ95uF1l5T9vrwub2iJz6LZp o1NrmszZmt4N+37c6CIMqRM5bTr95li345rp9YOkVTqg4k5bGvOoud29K+c665GzPLENxC71Rf/b p2J+lfYmK2IJcZFzt9Pl/KrExuqH+Q/CVTDob/22AwAAAABJRU5ErkJggg== X-Thanks-XYZ: =?utf-8?B?6KqgwrfmlazCt+S/oQ==?= X-Thanks-HS: =?utf-8?B?XuyynO2VmOywveyDneydhCDri6Qg7IK066as7Iuc66Ck64qU?= =?utf-8?B?IOuniOydjF9eKSkvLw==?= X-Thanks-BS: =?utf-8?B?Xl7sppDqsbDsmrTluIPlvrflpKnkuIte67O0656M7LCs5Zyw?= =?utf-8?B?5LiK5aSp5ZyL5bu66KitX14pKS8v?= X-Thanks-Absolete-Coding-System: UTF-8 X-Operating-System: =?utf-8?B?4omqZGluZ+KJqw==?= -- The Gnus X-Gnus-Lucky-Characters: U+03BB =?utf-8?Q?=28=CE=BB=29?= X-Gnus-Location: Republic of Korea =?utf-8?B?KOuMgO2VnOuvvOq1rSwg5aSn6Z+T?= =?utf-8?B?5rCR5ZyLKQ==?= X-Gnus-Flower: Rhododendron indicum =?utf-8?B?KOyXsOyCsO2ZjQ==?= --- =?utf-8?Q?yw=E2=84=A2=29?= X-Chromebook-Gnus-Window-System-Distributor: `The X.Org Foundation', version 11.0.11501000 X-Chromebook-Gnus-Distro: Ubuntu 12.04.5 LTS (via Crouton) Date: Sat, 16 Sep 2017 18:41:32 +0900 In-Reply-To: <20170912105538.GA52179@c720-r314251> (Matthias Apitz's message of "Tue, 12 Sep 2017 12:55:38 +0200") Message-ID: User-Agent: Gnus/5.130015 (Ma Gnus v0.15) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, 16 Sep 2017 09:41:40 -0000 Matthias Apitz =EA=BB=98=EC=84=9C =EC=93=B0=EC=8B=9C=EA= =B8=B8, =E3=80=8A=E8=A8=98=E4=BA=8B =E5=85=A8=E6=96=87 <20170912105538.GA52179@c72= 0-r314251> =EC=97=90=EC=84=9C=E3=80=8B: > Hello, > > The background: To be able to install and boot FreeBSD on an Acer C720 > Chromebook, one must tweak some bits in the BIOS and enable a so called > LEGACY BIOS mode (after removing the hardware write protection of the > BIOS). To do so, there are some tools within ChromeOS which allow this > procedure, but after this you can not boot ChromeOS anymore (from the > saved SSD) and so you can't use these tools within ChromeOS to switch > the bits back. I have one chromebook (Codename: Alex). Someday i will try, thanks for good information, Matthias!!!=20 Sincerely, --=20 ^=EA=B3=A0=EB=A7=99=EC=8A=B5=EB=8B=88=EB=8B=A4 _=E5=9C=B0=E5=B9=B3=E5=A4=A9= =E6=88=90_ =EA=B0=90=EC=82=AC=ED=95=A9=EB=8B=88=EB=8B=A4_^))// From owner-freebsd-questions@freebsd.org Sat Sep 16 09:42: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 27386E0B636 for ; Sat, 16 Sep 2017 09:42:51 +0000 (UTC) (envelope-from sales22@cnn-email.com) Received: from mail.cnn-email.com (unknown [IPv6:2604:c00:88:1:1:0:5482:84d2]) (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 019617022B for ; Sat, 16 Sep 2017 09:42:50 +0000 (UTC) (envelope-from sales22@cnn-email.com) Received: from mail.cnn-email.com (localhost.localdomain [127.0.0.1]) by mail.cnn-email.com (Postfix) with ESMTP id 4CB8E197160 for ; Sat, 16 Sep 2017 07:37:26 +0000 (UTC) Authentication-Results: mail.cnn-email.com (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=cnn-email.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cnn-email.com; h= message-id:to:from:from:date:date:content-type:content-type :mime-version:x-mailer:reply-to:subject:subject :content-transfer-encoding; s=dkim; t=1505547446; x=1506411447; bh=coDFn8CjO3VUEB3hlMbp/JUzYDaSQ5MDDONj1XZnv6k=; b=jXwvwq7XqPNV V/qo3ffLYlb16qYm8oBkjcwC0hecCF7XDAnvjMB+sgGccygaA90jK+Nt929ug7pf C5syor9JHrjv1C9z5KZtANJmG/e4PkCg9ChzQ3Sl0I+nv7NxMsHGCgvyWN34RfJh hFceS9Odw4TvKmiTt2aF4PBQMZxS5PM= X-Virus-Scanned: Debian amavisd-new at mail.cnn-email.com Received: from mail.cnn-email.com ([127.0.0.1]) by mail.cnn-email.com (mail.cnn-email.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tcXNQ8duqf1H for ; Sat, 16 Sep 2017 07:37:26 +0000 (UTC) Received: from mail.cnn-email.com (localhost.localdomain [127.0.0.1]) by mail.cnn-email.com (Postfix) with ESMTPSA id 065F5197035 for ; Sat, 16 Sep 2017 07:37:26 +0000 (UTC) Subject: (Skype:mst1680)Promotion now: International version unlocked brand mobile phone with other related electronic products Reply-To: mail@elecxsye.com X-Mailer: Microsoft Outlook 14.0 Date: Sat, 16 Sep 2017 14:46:49 +0800 From: sales22@cnn-email.com To: FreeBSD-questions@FreeBSD.org Message-Id: <20170916073726.065F5197035@mail.cnn-email.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" 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, 16 Sep 2017 09:42:51 -0000 From owner-freebsd-questions@freebsd.org Sat Sep 16 12:24: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 35992E139F5 for ; Sat, 16 Sep 2017 12:24:38 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mail.ssr.com (mail.ssr.com [199.4.235.6]) by mx1.freebsd.org (Postfix) with SMTP id 0670774A14 for ; Sat, 16 Sep 2017 12:24:37 +0000 (UTC) (envelope-from sdb@ssr.com) Received: (qmail 36824 invoked from network); 16 Sep 2017 12:17:55 -0000 Received: from unknown (HELO irelay.ssr.com) (sdb@74.73.182.128) by 199.4.235.6 with SMTP; 16 Sep 2017 12:17:55 -0000 Received: (qmail 1298 invoked by uid 103); 16 Sep 2017 12:17:55 -0000 Date: 16 Sep 2017 12:17:55 -0000 Message-ID: <20170916121755.1297.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org Subject: Curious pkg upgrade behavior 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, 16 Sep 2017 12:24:38 -0000 On a 10.3-RELEASE-p11 system here. I have been moving to pkg for upgrades, and today tried a pkg upgrade, which upgraded several of the ports. After this, Samba failed with an internal error. I'm running Samba4, but this specific error seems to have been reported only with versions of Samba36. After much head scratching, I noticed that pkg had actually not upgraded Samba. So I tried running pkg upgrade again, which now dutifully upgraded Samba and solved my problem. I was surprised by this. Not sure if this was my problem, a bug in pkg, or just some mysterious phase of the moon situation. I would have thought pkg could have issued a message if it needed to be run again? Any insight? Thanks, Scott -- sdb@ssr.com From owner-freebsd-questions@freebsd.org Sat Sep 16 13:03: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 9DF45E155CB for ; Sat, 16 Sep 2017 13:03:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::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 65B66758A0 for ; Sat, 16 Sep 2017 13:03:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x236.google.com with SMTP id e134so5782753ite.3 for ; Sat, 16 Sep 2017 06:03:45 -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=emKF3dK5QwleBnlmEtcsRy0kqKxdx6q42W6ZOVOtupc=; b=F8z0rCIFtj+VmepmrZNq0twTPu3aMYEkhLrpNXVYIOvsGETV/fID61MK8m20VvHk8H 3qAQH4+VlXbNbj+XXKkjiM8HBteXF72XgCmjFS4loPZjYvFWeBy+pp3MZcm8ZuZo8meG gloPFmXRl7OtL6MgGexnMkjdvtDyukTR7JNnl169DSxjj48xLO0wJjj/sa4QBijTCuCE ThfemSVpTOX+SIYNyl3V9yV+v0UuT4WRL85ulvCiS+fhxhawrw6cIFh1zh7XqQJZwJx7 0NjsqIeCcw1KoeQDX8IIAl+g+HShBWt/jRueeyC2Aiu5MoWv+dOd7vUMAQ0ZaiVpzE2r Y/mA== 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=emKF3dK5QwleBnlmEtcsRy0kqKxdx6q42W6ZOVOtupc=; b=oBFTHuNUTOSy6jVn4KmkSEJ40zPWIMnUdGgUHTXBbTyjQDtz+Yw9NiIa1jl4RPHV/B ddIaNSOgEvHJil+xCeMqCa7/YNhf1Bp0H0DF2JqvZ4NYvxibqZyapqRv/mnLRBS/jUc6 efHy0w3/A+w1ZoJyCzYMVwnu+jLigfseo6k0CR5RnAke5xbamtDry9BmTqYBi3zzTn3Z ewe5JIOA/ZFkocACxI9okHWCZ/epOFjaAaPE7RL9rbZow7WZuKwQ6uL3KUaErSH1x/cz J4DvMdFKsdSkDa4FLdopPZIDx42EsybvRdqj8xQUm4d9X4fIXpSSuxTYhicbd1KdSTN8 EO2w== X-Gm-Message-State: AHPjjUg6NhZI1vugqS3UkQcTkzC7xd+t/GrDguluW5i5aTSW6iFA7jSl B5N26gZ+V5/GGC2jeeZpdtS1cqefPampKiFyVpU= X-Google-Smtp-Source: AOwi7QAtjpv5BcTVDWANXVPWVxW5OeHG/5vlTGVSPfkQP0Lklbo5t+2oJ79f4aYEiNK4ovb3N1mC5lku4iQXLZdCS7k= X-Received: by 10.36.10.142 with SMTP id 136mr8990867itw.92.1505567024532; Sat, 16 Sep 2017 06:03:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Sat, 16 Sep 2017 06:03:43 -0700 (PDT) In-Reply-To: <20170916121755.1297.qmail@irelay.ssr.com> References: <20170916121755.1297.qmail@irelay.ssr.com> From: Adam Vande More Date: Sat, 16 Sep 2017 08:03:43 -0500 Message-ID: Subject: Re: Curious pkg upgrade behavior To: Scott Ballantyne 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: Sat, 16 Sep 2017 13:03:45 -0000 On Sat, Sep 16, 2017 at 7:17 AM, Scott Ballantyne wrote: > On a 10.3-RELEASE-p11 system here. I have been moving to pkg for > upgrades, and today tried a pkg upgrade, which upgraded several of the > ports. After this, Samba failed with an internal error. I'm running > Samba4, but this specific error seems to have been reported only with > versions of Samba36. > > After much head scratching, I noticed that pkg had actually not > upgraded Samba. So I tried running pkg upgrade again, which now > dutifully upgraded Samba and solved my problem. > > I was surprised by this. Not sure if this was my problem, a bug in > pkg, or just some mysterious phase of the moon situation. > > I would have thought pkg could have issued a message if it needed to > be run again? > > Any insight? > /var/log/messages will contain a log of what pkg did, but net/samba4x is not an upgrade to net/samba36 in terms of pkg's. -- Adam From owner-freebsd-questions@freebsd.org Sat Sep 16 14:20: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 DF688E19621 for ; Sat, 16 Sep 2017 14:20:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (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 5185677A0F for ; Sat, 16 Sep 2017 14:20:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Sat, 16 Sep 2017 16:20:03 +0200 Received: from r56.edvax.de (port-92-195-1-252.dynamic.qsc.de [92.195.1.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id C1EF23CC75; Sat, 16 Sep 2017 16:20:02 +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 v8GEK1jq002011; Sat, 16 Sep 2017 16:20:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 16 Sep 2017 16:20:01 +0200 From: Polytropon To: Ernie Luzar Cc: RW , freebsd-questions@freebsd.org Subject: Re: Help scripting dns lookup using awk Message-Id: <20170916162001.4ad176b3.freebsd@edvax.de> In-Reply-To: <59BC6036.8040709@gmail.com> References: <59BB24E4.6060908@gmail.com> <20170915143019.2e02d386@gumby.homeunix.com> <59BC6036.8040709@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 mailrelay13.qsc.de with 08992683517 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1364 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, 16 Sep 2017 14:20:14 -0000 On Fri, 15 Sep 2017 19:20:22 -0400, Ernie Luzar wrote: > RW via freebsd-questions wrote: > > On Thu, 14 Sep 2017 20:55:00 -0400 > > Ernie Luzar wrote: > > > >> The following sh script works, but runs very slow. > > > > Almost certainly the reason it's slow is that you are doing sequential > > synchronous lookups. Switching to another language isn't going help > > much. To speed it up you either need to switch to a language with a > > DNS library that supports asynchronous lookups or fire-off parallel > > child processes. The latter is easier. > > > > How would I go about coding a sh script to fire-off parallel child > processes? There are several methods. One would be to "pre-sort" per TLD or per IP. You can do this with awk or a sort | grep contruct. Then you iterate over the result files and send the batch lookup processes into background with the & appended. When everything is done, re-combine the result files as needed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 16 14:24: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 F0D11E19B25 for ; Sat, 16 Sep 2017 14:24:18 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x243.google.com (mail-it0-x243.google.com [IPv6:2607:f8b0:4001:c0b::243]) (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 B4EB37C026 for ; Sat, 16 Sep 2017 14:24:18 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x243.google.com with SMTP id u2so2941971itb.2 for ; Sat, 16 Sep 2017 07:24:18 -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=YFWhzJIDLqbeM12+5ci7/PfAuOKhHJgIHGStyeq48iQ=; b=Xoi1wgksuJRgjQupAigIRkSxqftHCEXNKgsMJSs+bM/ibeVeP5QnHqwDm/aG610r/i /7PQn4s29AAHl+lDKqxQvbbHTh/xgbNHvM0EZDAtuLUs9ls4atEEoDNMapIkyuy19ie8 wCj1N2cQObeJF6tfVdBJIFbFXSAw0e9SjcdT6q8hrsb7IStQS0N9H3gMN3uflVW6AKMM wXgoDVNf+/Buay4YG+mqOsAP/JVd5a2ZuPTCxCaLSnma+ZdVPvXdv62BHD3VwnNCphQf rOuau4SUboDQpk5wZfj9UTtW7sVG4zZSgxIL9RhzaF3uSa02gyDSEzcJ+MKiHII1GjLv vp0Q== 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=YFWhzJIDLqbeM12+5ci7/PfAuOKhHJgIHGStyeq48iQ=; b=fV8816m9NeyjYdopnmdPi6lBXO2dVx/0dbyjLj8jeCAshyyvcC7h87xwiN7CeYQa4l fkWez/17uAqnP+15wAwRK6uL5k5q5nNdjkjMrQGeRbBiCWnBaLWDcAXfvGt1CV9G14xj 3Bw/roRZiI0g8Pe5SbEqWi3Ep+2PkD5cunz7D0D3g5W2TtxZOeyNu4AoIpnAttbNwSjV T0X6ZInACG6hFfoXOE+YhV24ZfU0CPbaANTVxoEpDrdR1Umj2JEHxqLnjXR0bokRDa6i c617iyj/4vUawfrUrrygG7e4u+UzwJ87k5f6pW2YvVHss9hOU068W150J4FNNH8BfFLg F6iw== X-Gm-Message-State: AHPjjUjXt6klTHFVKnDgeYL9pau4MQ81uw6IIhdejZFKd/DRSWNDtTQ2 ee1dDaKHZL9fu6PM X-Google-Smtp-Source: AOwi7QCX/r8//fEdNYvhUr75b4/W16XgjZVjmx6wO68c9L78AE5iIwPB+YKKGMJ1d3QqQCymI7Vcpw== X-Received: by 10.36.213.193 with SMTP id a184mr9223779itg.121.1505571857970; Sat, 16 Sep 2017 07:24:17 -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 g9sm67051itg.41.2017.09.16.07.24.17 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 Sep 2017 07:24:17 -0700 (PDT) Message-ID: <59BD3410.80708@gmail.com> Date: Sat, 16 Sep 2017 10:24:16 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Jonathan McKeown CC: freebsd-questions@freebsd.org Subject: Re: Help scripting dns lookup using awk References: <59BB24E4.6060908@gmail.com> <20170915143019.2e02d386@gumby.homeunix.com> <59BC6036.8040709@gmail.com> 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, 16 Sep 2017 14:24:19 -0000 Jonathan McKeown wrote: > Ernie, I've been following your questions over the last month or so. I > think I can guess your problem domain, and I suspect if you told the > list what you're trying to achieve you'd get much better suggested > solutions. > > As it is I think you have one approach in mind, and all your questions > relate to implementing parts of your idea. > > My humble apologies if I'm wrong; but please consider explaining what > the overall problem is. (Someone mentioned x-y problems - I think you > have one here.) Yes all my different posts over the last month are related to a solution I am trying to development. It all started with what looked like a very simple request from top management. "Stop employees from using social media from company PCs while at work" The one and only Freebsd system is the front door to the Company LAN and wifi. All LAN devices are WINDOW machines either cabled or wifi including hand held smart phones. So needed a single point solution that would effect the whole digital shop. You ask what about smart phones accessing their wireless service. In the USA a wireless signal jammer is not legal if the people being effected are un-aware of its existence. On being hired all employees sign a legal contract containing security requirements and are made aware that a cell phone wireless signal jammer is employed covering the Company estate and that Company land lines phone service is the only allowed way for phone contact with the public for personal and Company business. As the result of questions posted here, I learned about online providers of "host" lists. These lists contain '127.0.0.1 domain-name" records of known malware sites. These "host" lists can be used on WINDOWS and Unix flavored operating systems by populating those machines host file. This was not a single point solution. Along comes using dns as a single point solution. The 3 main players being bind, unbound, and Dnsmasq which all have the function to be populated with domain-names to be blocked at the local host level as not found. I chose unbound, but am having problems with /etc/resolv.conf and resolvconf not working as documented. Also could not get the built-in local-unbound to work with any local changes. Posted questions here which went un-answered. local-unbound and resolvconf are new and don't have a user base yet to draw answers from. So pretty much a dead end. I finally installed the port version of unbound and got it working. Using the public host files and unbound became a single point solution to provide protection LAN wide that is un-seen by the user base. No more installing browser plug-ins that tries to do the same blocking function. The dns solution provides protection to the LAN users from LAN machines that may become infected. There is no absolute solution just more layers of protection. These public available "host" files contain a lot of un-necessary junk that needed to be cleaned away. I wrote a .sh script to do this, but it was very slow. Got help from this list to convert it to awk. Using the same sample input file .sh took 7+ minutes, the awk version took 4 seconds. No brainier about which version I plan to use. As the last step in massaging the raw "host" file content what'd to do a dns lookup to verify those host domain-names were really good. Feeding unbound bogus domain-names is not going to hurt anything, but just wanted to be thorough. Again I started with a .sh script using the host system command which is very slow, I got help here from the list to convert it to awk and it was only a few seconds faster over all. I changed the .sh script to use the drill system command and it ran in half the time the host command version took. In reply to the subject of this post, I got the following; " Almost certainly the reason it's slow is that you are doing sequential synchronous lookups. Switching to another language isn't going help much. To speed it up you either need to switch to a language with a DNS library that supports asynchronous lookups or fire-off parallel child processes. The latter is easier." So I posted my last reply asking; How would I go about coding a sh script to fire-off parallel child processes? The only "other language" installed on my front door host is perl because its part of the apache pkg. I don't want to install another language just because it has a fast pre-canned dns lookup. So if anyone knows of a perl dns lookup solution I sure would be interested in hearing about it. While waiting for a reply to that last question I have done more testing. Using the drill command version of the .sh script against a "host" file containing 409 records which is the smallest file I have, found that 174 host names return mddomain or serverror. So it's oblivious that all 12 host files need dns verification. Thats 900,000+ records. If I run that .sh script against the same host file I start receiving this console message; Error: error sending query: Could not send or receive, because of network error The results indicate all the hosts were looked up. My isp provides 1gb upload and 3gb download speeds so limited speed is not the cause of the network error. Does anyone have any ideas about what is going here? From owner-freebsd-questions@freebsd.org Sat Sep 16 16: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 D7B3DE1FD4D for ; Sat, 16 Sep 2017 16:22:12 +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 5CED77F447 for ; Sat, 16 Sep 2017 16:22:10 +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 v8GGLp2K044942; Sun, 17 Sep 2017 02:21:51 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 17 Sep 2017 02:21:51 +1000 (EST) From: Ian Smith To: Polytropon cc: Warren Block , "Steve O'Hara-Smith" , freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt In-Reply-To: <20170915200315.289b3fdf.freebsd@edvax.de> Message-ID: <20170917011446.F81507@sola.nimnet.asn.au> References: <20170916020243.B81507@sola.nimnet.asn.au> <20170915200315.289b3fdf.freebsd@edvax.de> 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, 16 Sep 2017 16:22:13 -0000 On Fri, 15 Sep 2017 20:03:15 +0200, Polytropon wrote: > On Sat, 16 Sep 2017 02:37:15 +1000 (EST), Ian Smith wrote: [..] > > That is, check /usr/src/sys/boot/efi/loader/arch/amd64/framebuffer.c > So it's not a surprise that my particular testing installation > does not have a "gop" command in the loader. I'm using FreeBSD > 10.3 (patched) i386 on a machine with BIOS (not UEFI). Yeah, sorry. I see now that your first message in this thread said: > Experimental system is FreeBSD/i386 10.3-p22 (held current with > freebsd-update). but not again till now, so it had slipped my mind (easily done :) I've since checked that 11.1 won't help you in this respect either. Are you sure there's no way to use sc(4) with X on 10.3? We saw lots about getting proper console switching going (again) using vt and X on the stable@ list on earlier 10.x, but I can't recall any details, since sc still works fine on my 9.3 (amd64) system, where vt(4) first became available, including proper suspend/resume support from ttyvN or from X. But that's using a much older X (and everything else), so I wouldn't want to lend you any false hope at this stage .. cheers, Ian From owner-freebsd-questions@freebsd.org Sat Sep 16 16:58: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 6BBBEE21F72 for ; Sat, 16 Sep 2017 16:58:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (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 D1DD98133A for ; Sat, 16 Sep 2017 16:58:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Sat, 16 Sep 2017 18:58:14 +0200 Received: from r56.edvax.de (port-92-195-1-252.dynamic.qsc.de [92.195.1.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 46A003CBF9; Sat, 16 Sep 2017 18:58:13 +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 v8GGwCEi002968; Sat, 16 Sep 2017 18:58:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 16 Sep 2017 18:58:12 +0200 From: Polytropon To: Ian Smith Cc: Warren Block , "Steve O'Hara-Smith" , freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt Message-Id: <20170916185812.0ccc21a1.freebsd@edvax.de> In-Reply-To: <20170917011446.F81507@sola.nimnet.asn.au> References: <20170916020243.B81507@sola.nimnet.asn.au> <20170915200315.289b3fdf.freebsd@edvax.de> <20170917011446.F81507@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 mailrelay13.qsc.de with 6F94168342F X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1323 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, 16 Sep 2017 16:58:18 -0000 On Sun, 17 Sep 2017 02:21:51 +1000 (EST), Ian Smith wrote: > Are you sure there's no way to use sc(4) with X on 10.3? The reason why I switched to vt was exactly that reason: with sc in place, X wouldn't start anymore. This happened at some point during the "updating trail" of 10.1 -> 10.3 with ports updated (via pkg). Something that worked for months suddenly stopped working, which always is a terrible experience. When I switched to vt in the loader, X worked again as it did before. > We saw lots > about getting proper console switching going (again) using vt and X on > the stable@ list on earlier 10.x, but I can't recall any details, since > sc still works fine on my 9.3 (amd64) system, where vt(4) first became > available, including proper suspend/resume support from ttyvN or from X. That is a different problem. Until you start X, sc works perfectly fine. Even in a setting where "sc + startx" is working, shutting down the X session or switching using e. g. Ctrl+Alt+F1 leaves you with a console that works, but without visible text ("blind console"). With vt, at least this problem is gone, even though the console now is visible only with the tiniest letters. > But that's using a much older X (and everything else), so I wouldn't > want to lend you any false hope at this stage .. Never touch a running system. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 16 19:07: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 93033E0238E for ; Sat, 16 Sep 2017 19:07:04 +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 6C0691226 for ; Sat, 16 Sep 2017 19:07:03 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-169.dsl.bway.net [216.220.115.169]) (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 1C10E9584F; Sat, 16 Sep 2017 15:06:48 -0400 (EDT) Date: Sat, 16 Sep 2017 15:06:47 -0400 From: mfv To: Polytropon Cc: Ian Smith , Steve O'Hara-Smith , freebsd-questions@freebsd.org Subject: Re: Restoring sc console look and feel with vt Message-ID: <20170916150647.49ec8bc8@gecko4> In-Reply-To: <20170916185812.0ccc21a1.freebsd@edvax.de> References: <20170916020243.B81507@sola.nimnet.asn.au> <20170915200315.289b3fdf.freebsd@edvax.de> <20170917011446.F81507@sola.nimnet.asn.au> <20170916185812.0ccc21a1.freebsd@edvax.de> 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, 16 Sep 2017 19:07:04 -0000 > On Sat, 2017-09-16 at 18:58 Polytropon wrote: > >On Sun, 17 Sep 2017 02:21:51 +1000 (EST), Ian Smith wrote: >> Are you sure there's no way to use sc(4) with X on 10.3? > >The reason why I switched to vt was exactly that reason: with sc >in place, X wouldn't start anymore. This happened at some point >during the "updating trail" of 10.1 -> 10.3 with ports updated >(via pkg). Something that worked for months suddenly stopped >working, which always is a terrible experience. When I switched >to vt in the loader, X worked again as it did before. > > > >> We saw lots >> about getting proper console switching going (again) using vt and X >> on the stable@ list on earlier 10.x, but I can't recall any details, >> since sc still works fine on my 9.3 (amd64) system, where vt(4) >> first became available, including proper suspend/resume support from >> ttyvN or from X. > >That is a different problem. Until you start X, sc works perfectly >fine. Even in a setting where "sc + startx" is working, shutting >down the X session or switching using e. g. Ctrl+Alt+F1 leaves you >with a console that works, but without visible text ("blind console"). >With vt, at least this problem is gone, even though the console now >is visible only with the tiniest letters. > > > >> But that's using a much older X (and everything else), so I wouldn't >> want to lend you any false hope at this stage .. > >Never touch a running system. :-) > > > Hello Polytropon, This may not be relevant, but I have a functioning SC console and X with a system that is similar to yours. X will exit cleanly and can be restarted without issue. The only video task that can not be performed is cleanly switching between X and SC. I can switch from X to SC but the system will freeze when trying to switch back. Consequently when I must work within a console I exit X. This is not much of an issue as I use xfce4 which, as you probably know, is rather light weight. The hardware is a multi-core amd64 CPU with a low-end Nvidia graphics card. FreeBSD is 10.3-RELEASE-p21 with a custom kernel. The graphics driver is nvidia-driver-384.59 installed using the pkg system. The loader settings related to graphics: nvidia-modeset_load="yes" drm_load="yes" loader_logo="none" loader_color="yes" The kernel settings: # atkbdc0 controls both the keyboard and the PS/2 mouse #device atkbdc # AT keyboard controller #device atkbd # AT keyboard #device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA # Add support for VESA BIOS Extensions (VBE) #device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc options SC_PIXEL_MODE # add support for the raster text mode # vt is the new video console driver #device vt #device vt_vga #device vt_efifb #device agp # support several AGP chipsets As the system has a USB mouse and keyboard the AT and PS/2 settings were commented out. Some time ago I experimented with VT and decided it was not ready for prime time; essentially for the same reasons you previously described. Thus vt and agp were also removed. Vga and VESA were kept as I have an LCD monitor and the video mode can be set with vidcontrol during user login. The video mode for root is not changed. The rc.conf settings: ## Console cursor="normal" keyrate="fast" font8x14="NO" font8x8="NO" font8x16="swiss-8x16" saver="NO" blanktime="NO" I prefer Swiss fonts as they have a clean uncluttered appearance. And finally .cshrc in my home directory. vidcontrol -g 100x37 VESA_800x600 X is started with startx. xorg.conf is a fine tuning of the initial settings provided by X -configure. These settings may not be relevant to your situation, but I am passing them on in case something does. If I misunderstood your original posting I apologise for this noise. Cheers ... Marek From owner-freebsd-questions@freebsd.org Sat Sep 16 22:30: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 29357E0CF92 for ; Sat, 16 Sep 2017 22:30:37 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mail.ssr.com (mail.ssr.com [199.4.235.6]) by mx1.freebsd.org (Postfix) with SMTP id D907D66058 for ; Sat, 16 Sep 2017 22:30:36 +0000 (UTC) (envelope-from sdb@ssr.com) Received: (qmail 39200 invoked from network); 16 Sep 2017 15:23:54 -0000 Received: from unknown (HELO irelay.ssr.com) (sdb@74.73.182.128) by 199.4.235.6 with SMTP; 16 Sep 2017 15:23:54 -0000 Received: (qmail 2193 invoked by uid 103); 16 Sep 2017 15:23:54 -0000 Date: 16 Sep 2017 15:23:54 -0000 Message-ID: <20170916152354.2192.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org In-reply-to: (message from Adam Vande More on Sat, 16 Sep 2017 08:03:43 -0500) Subject: Re: Curious pkg upgrade behavior References: <20170916121755.1297.qmail@irelay.ssr.com> 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, 16 Sep 2017 22:30:37 -0000 On Sat, Sep 16, 2017 at 08:03:43 -0500, Adam Vande More wrote: > > On Sat, Sep 16, 2017 at 7:17 AM, Scott Ballantyne wrote: > > On a 10.3-RELEASE-p11 system here. I have been moving to pkg for > upgrades, and today tried a pkg upgrade, which upgraded several of the > ports. After this, Samba failed with an internal error. I'm running > Samba4, but this specific error seems to have been reported only with > versions of Samba36. > > After much head scratching, I noticed that pkg had actually not > upgraded Samba. So I tried running pkg upgrade again, which now > dutifully upgraded Samba and solved my problem. > > I was surprised by this. Not sure if this was my problem, a bug in > pkg, or just some mysterious phase of the moon situation. > > I would have thought pkg could have issued a message if it needed to > be run again? > > Any insight? > > /var/log/messages will contain a log of what pkg did, but net/samba4x is not an upgrade to > net/samba36 in terms of pkg's. Yes, messages is where I first noticed it hadn't upgraded. I was running samba43 prior to this. The second run of pkg uninstaled Samba 43-4.3.11 and installed samba44-4.4.15. It also upgraded gvfs. The reason I mention samba3.6 is because that's the only place that bug seems to have occurred, it never showed up here untiltoday. I'm sure there's a reasonable explanation, I just have no idea what it is. From owner-freebsd-questions@freebsd.org Sat Sep 16 23:49: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 89BD7E11144 for ; Sat, 16 Sep 2017 23:49:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::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 603FC68159 for ; Sat, 16 Sep 2017 23:49:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x229.google.com with SMTP id w204so5381642itc.4 for ; Sat, 16 Sep 2017 16:49:45 -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=OIEx1aYw399sozXrMKlyNZydY3AGkFu8fOaYQw3SKQg=; b=sAuH7vdOGCfA9bKtN1Lge324NjFsiI1xu2qpIMnnxdN/X5XSKy/a/wbj6iJsalXdvK FLlA9PY0u9tUWarWN8eIXYMNaSQQfWqwQhCiPr197m+9RjcWB0P8pA8ylQbftf6tqH8f tMsgAyen1VGASw0veV/e7+bpgcXi0ALSwcsKT4w+/PdDnJB5bklu+FDqzfzeDxJhBlZq FxFNZ/NtQGSbUt2Pwq3TQ3/uvYT2g1GWZRGm0q+43CfRodEqQ6AeU2t82KIw0n0e3+nF wd0l/14dvH2zlea9VsVqBrxcignCc1eBwUevlUeAKn6yzWfaQpiIHpZCDcNbd020Z8Qs 8Ttw== 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=OIEx1aYw399sozXrMKlyNZydY3AGkFu8fOaYQw3SKQg=; b=GGYU4x+2VWXaSfBBpXhRh4az682MfOYTH9NqjlA3MDO/RnZrjc5fz72cyhxd4DYdH7 vbCov4ABHb9qi0Pn+UGx6OzLfmRrZv3EG8FOQvDkGpo4pIg3semKuRuaI2vr4Sd2363J vyQvaFTMI3r0PO1XKLIk0GyTwep6JVVdgCS12/VqCCxee8LAeDNn26k7FZy7wcBs7rLy zc1sHwCBVcCB9zuDInPn/4JH+PQd3w30b07smQQSplFsygdir9DKEoS3JlKuT3lu8S7G IYRp/HGytUfiZ6llToW3W6lF+Vsbyrxu3zmYZrwL/CFretQanR4sN6/Y5EVoIar0KtZb H17A== X-Gm-Message-State: AHPjjUiy22ky7PSkKFljdOBbAfmRYQYIqdx8qFS0JfNLW6KNPQOr2DvM n37XYxm82eGki1xe802vHJ/qtc/FMSZQFT1k/B8= X-Google-Smtp-Source: AOwi7QDms+PkSogtUCK5gQ849ygelLyWEZA/lAQ/LtqeZA4j+PL9pkbqx4f3qN1j4lzsOAOwuQGfxcuwy32MuIlrsXk= X-Received: by 10.36.3.145 with SMTP id e139mr11379821ite.18.1505605784572; Sat, 16 Sep 2017 16:49:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Sat, 16 Sep 2017 16:49:44 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Sat, 16 Sep 2017 18:49:44 -0500 Message-ID: Subject: Re: Future of SAMBA on FreeBSD To: byrnejb@harte-lyne.ca 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: Sat, 16 Sep 2017 23:49:45 -0000 On Fri, Sep 15, 2017 at 11:02 AM, James B. Byrne via freebsd-questions < freebsd-questions@freebsd.org> wrote: > Will SAMBA 4.6+ ever be able to provision a DC on FreeBSD? The last > bit of information I am aware of on this issue is that there is some > problem with name-spacing that impacts the special attributes used by > Windows User Profiles. It is described as a 'difficult' problem to > solve on FreeBSD. https://bugzilla.samba.org/show_bug.cgi?id=12912 > > There is a patch provided at > https://attachments.samba.org/attachment.cgi?id=13391 which > short-circuits the difficulty but apparently has possible security > issues. Has anyone here applied this patch, built and successfully > provisioned a DC using Samba-4.6+ on FreeBSD-11? > Are you trying this in a jail? Did you read the relevant UPDATING entry? -- Adam From owner-freebsd-questions@freebsd.org Sat Sep 16 23:51: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 D3636E11314 for ; Sat, 16 Sep 2017 23:51:11 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::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 9A0A5682CA for ; Sat, 16 Sep 2017 23:51:11 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id v19so5427514ite.0 for ; Sat, 16 Sep 2017 16:51:11 -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=4CQ8t1cOKgMl5qYLEXjQqF3N3E+eWBCUjDhUrDZ5MKg=; b=hlmZAlC2AbSBTNzEw6b0ZW5YRQ4t+eKoAU5JKoEjejQ4AUeqbNNAaJpHRocqXmYf1F WZvG37RKpt3O4ee8TZsnQ1vQ62U75reAvYM4mRjU+w0yXCbNODjv8hTlu5KM8WST+2je DZzstvAZ2SQs9h4larxXEhHYE0iSbDrgKhMVb8Wl9zkT/CJ1CIuqHGCBtta2KEz9rWqE kWWfb7wlnRND0NDZ7e/b17SQFQ4sppLwwN+xj5EAzMJ8sRB8MrOxTkHJU9Hu0Om7A9OL 3dTqwnTZQsfkRlgcnf2dZdDlt8Yzy7Y6eaNYf4N5SLb7+7Pb03FZlHsTj9X0LxfJTMdQ uJAw== 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=4CQ8t1cOKgMl5qYLEXjQqF3N3E+eWBCUjDhUrDZ5MKg=; b=QEi3xwQLprIs3j2MVmPqSJawj42ljWalju+92SHtSZ+St0EiVo0y7Lw/liR4KEC3BQ UwZC2A13N+lt59qy3e4rNlLDVCjsDb6Es5/3/vaqxjGjLgb3d06A04FCPr2n8OJm/Ejx kk/WVwL7Xel5TLEuWOrz3wkP4rT1w1iwsD5vgkA247UJkO8VUQHggXyAK67zUZ805+A2 HoIaRnNiXk3IvT876su5i3P1i+h/kPEBGd72lLPbE4+iLGJDYUk3d/mQMER6U8Sq1Oc0 lMcBpJiVjAm0G+ZdNp8FPzb3LxJf51dluIPiTSdUDUECnbEc2g+TrYk+yR89rGmD8upG +fZQ== X-Gm-Message-State: AHPjjUimS6LyrHy/EAVh/JhScGMutdjHG6lruXgl8pBXJbGHrkH2f60O 2nZXAqYeKS+i9Ss40AasxvlFSvjNhhGsEacdr9s= X-Google-Smtp-Source: AOwi7QCZoVL+dUuOJXk0EQNZqJoktemef8e0sBwFrTKTtNk3cix5rtZrXvwReiiGL0h3ipSarT2S7GAxaQkuV7rGeV4= X-Received: by 10.36.176.70 with SMTP id b6mr12155264itj.26.1505605870972; Sat, 16 Sep 2017 16:51:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Sat, 16 Sep 2017 16:51:10 -0700 (PDT) In-Reply-To: <20170916152354.2192.qmail@irelay.ssr.com> References: <20170916121755.1297.qmail@irelay.ssr.com> <20170916152354.2192.qmail@irelay.ssr.com> From: Adam Vande More Date: Sat, 16 Sep 2017 18:51:10 -0500 Message-ID: Subject: Re: Curious pkg upgrade behavior To: Scott Ballantyne 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: Sat, 16 Sep 2017 23:51:11 -0000 On Sat, Sep 16, 2017 at 10:23 AM, Scott Ballantyne wrote: > Yes, messages is where I first noticed it hadn't upgraded. I was running > samba43 prior to this. The second run of pkg uninstaled Samba > 43-4.3.11 and installed samba44-4.4.15. It also upgraded gvfs. The > reason I mention samba3.6 is because that's the only place that bug > seems to have occurred, it never showed up here untiltoday. > > I'm sure there's a reasonable explanation, I just have no idea what it > is. > Hard telling without you sharing the relevant output from pkg. If you can recreate it in a clean VM you can file a bug on it. -- Adam