From owner-freebsd-questions@freebsd.org Mon Jan 1 18:49:11 2018 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 AD2E7EB706B for ; Mon, 1 Jan 2018 18:49:11 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 57C597774B for ; Mon, 1 Jan 2018 18:49:10 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id w01In2Eu014185 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 1 Jan 2018 18:49:03 GMT (envelope-from list1@gjunka.com) To: freebsd-questions@freebsd.org From: Grzegorz Junka Subject: Combining / and /boot in different ZFS pools Message-ID: <696e5fe0-b0db-71e2-db62-43dad35e1053@gjunka.com> Date: Mon, 1 Jan 2018 18:49:02 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB-large X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2018 18:49:11 -0000 My motherboard doesn't support booting from NVMe and I am trying to install the loader on a USB drive. I have two ZFS pools: Two NVMe drives, each with two partitions, 1: freebsd-swap, 2: freebsd-zfs; ZFS pool tank6 mirror set up on nvd0p2 and nvd1p2 One USB drive with two partitions, 1: freebsd-boot, 2: freebsd-zfs; ZFS pool tank7 using single partition da0p2 The intention is to have the main root '/' on the NVMe drives and only the '/boot' folder on the USB drive (since NVMe is much faster). Some of the datasets I have set up (listing dataset and mountpoint): tank6 none tank6/ROOT none tank6/ROOT/default / ... tank7 none tank7/ROOT none tank7/ROOT/boot /boot ... After creating all the datasets bsdsysinstall installed all the files in all the datasets as expected. When in bsdinstall shell (memstick) with altroot as /mnt, command 'zfs list' correctly lists all filesystems. Also, when executing ls -l, /mnt/boot contains boot files (including the kernel in /mnt/boot/kernel), and /mnt/ contains the rest of the system. I have set up the bootfs as follows: gpart bootcode -b /boot/pmbr nvd0 gpart bootcode -b /boot/pmbr nvd1 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 zpool set bootfs=tank6/ROOT/default tank6 zpool set bootfs=tank7/ROOT/boot tank7 However, when trying to boot from the USB I am getting an error from the system loader: Can't find /boot/zfsloader FreeBSD/x86 boot Default: tank7/ROOT/boot:/boot/kernel/kernel My guess is that when booting up, the filesystems of tank6 and tank7 are not mounted and combined correctly. I tried to set tank6 as the booting drive in tank7: zpool set bootfs=tank6/ROOT/default tank7 but this throws an error. My question is if it's possible to boot the system from '/boot' set up on a different ZFS pool than the ZFS pool containing the root '/' folder? GrzegorzJ From owner-freebsd-questions@freebsd.org Tue Jan 2 07:23:34 2018 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 71277EB833E for ; Tue, 2 Jan 2018 07:23:34 +0000 (UTC) (envelope-from bounce_49254060+a.11a6977c3bcf3c6f_11699e4c07e49a7_v51@zcsend.net) Received: from sendera54.zcsend.net (sendera54.zcsend.net [135.84.81.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBAE734AE for ; Tue, 2 Jan 2018 07:23:33 +0000 (UTC) (envelope-from bounce_49254060+a.11a6977c3bcf3c6f_11699e4c07e49a7_v51@zcsend.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=zcp024; d=zcsend.net; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:List-Unsubscribe; bh=0AwUL9EsdlM8wSGYrco0FO6Ni48=; b=qBAOWLBvaimqxY5vEH/s+cYE+yDNauwlEEGUs0PayU3/uxbtWIbua6xvu3Z6W7s5+aCUKIW+B+q/ No5fa+AkPdJ7hwlwNqOigzWQfTUivTyzLKGeqHtiQ2yZ2d/OA/iNsRPNeSHKrAindqHRDXofUQSA Izx6Aiv+qbAjN7jO3+A= Received: from [172.25.238.197] (172.25.238.197) by sendera54.zcsend.net id h9cpnc28epgr for ; Mon, 1 Jan 2018 23:13:21 -0800 (envelope-from ) Date: Mon, 1 Jan 2018 23:13:21 -0800 (PST) From: "Safety Consultants and Solutions Provider Limited" Reply-To: info@safetysolutionsng.com To: freebsd-questions@freebsd.org Message-ID: Subject: Fire Emergency Preparedness: Five Things to do in a Fire Emergency X-JID: 11287eca5d2294.11a6977c3bcc3780 X-campaignid: zohocampaigns.11287eca5d2294.zcb.11a6977c3bcf3c6f.11699e4c07e49a7 X-Zoho-RID: zohocampaigns.11287eca5d2294.zcb.11a6977c3bcf3c6f.11699e4c07e49a7 X-Mailer: Zoho Campaigns X-Report-Abuse: , MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 07:23:34 -0000 From owner-freebsd-questions@freebsd.org Tue Jan 2 10:55:46 2018 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 5F444E85147 for ; Tue, 2 Jan 2018 10:55:46 +0000 (UTC) (envelope-from louis.parker08@weboptimizes.com) Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com [IPv6:2607:f8b0:4003:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D4347A314 for ; Tue, 2 Jan 2018 10:55:46 +0000 (UTC) (envelope-from louis.parker08@weboptimizes.com) Received: by mail-oi0-x244.google.com with SMTP id r65so3300365oie.5 for ; Tue, 02 Jan 2018 02:55:46 -0800 (PST) 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=VD6ckLFSMXcjFyQedlFdzu9kayTjdKDgqTsmexMhH8Y=; b=EinWpMn2JHaAVCjOHjyCNPGfuT3oiQYPoQCgwK2v2g2drY68rKzoLrhkA5R4ae7cId /n3wyPeZrKUkiyCX2CznukMYbmLbjaezGry21qVV+3MEP4AHnwBhAqrOfKw++gTGdkuS HxCA5HbknT8Hbpl9+bL6yfPddWbn1doI9jXPA= 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=VD6ckLFSMXcjFyQedlFdzu9kayTjdKDgqTsmexMhH8Y=; b=tVddExvOmmGeEvqjOPBaR9MMQMpY6Ha9Hmce2y/I/KiB7CtWYfaupb4SbYc432maok GtX5X1K+Hr64HSX87clYAb9z2OFzYwT+lP9zh4y6dOCU/CQ01b/u1GXBOCBsLVJ5OrT8 XeYO8TjRuZB1XXNOQqsJkREwLJJig3F9BmvBylQwEmZRC7evYASt/LANtNEdOw23RCnv 70WYQ7/cZhzNGwTVGbycU8tS5RdYoDftI4yNSOz/lfAol7CdVve9AAq3h1q/SYDAjFm+ fU8gZuO2cIxLkELOui63cFTqsbXoWZ/tMqYBXqelBSRRQhw1JGgF6s7UfTOU3QFuPWoK Pbkw== X-Gm-Message-State: AKGB3mLdTmS+TDeeL/4avxVUbls2uFcxPIBXKiQf5495hnCd7mRA10lg VmTBDcxObTnuDHNuPj/TuyMSygRLw/2Ll2to0/R8ih2x X-Google-Smtp-Source: ACJfBot3slYNgHG9JZlQ8Z+toCMh68eXqANeb2yFqxeqaWAr0DDByFa9qveTvtSqZfQBNsSxuC2cYUwDhuVmkBG4FK0= X-Received: by 10.202.10.68 with SMTP id 65mr32314085oik.84.1514890545050; Tue, 02 Jan 2018 02:55:45 -0800 (PST) Received: from 52669349336 named unknown by gmailapi.google.com with HTTPREST; Tue, 2 Jan 2018 05:55:44 -0500 MIME-Version: 1.0 Sender: Louis Parker From: Louis Parker Date: Tue, 2 Jan 2018 05:55:44 -0500 X-Google-Sender-Auth: W0wWhthvHPJio6WKrdEGA6DyXOc Message-ID: Subject: What has happened to your freebsd.org? To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 10:55:46 -0000 Hi *freebsd.org * Team Hope you are doing well. I am *Louis Parker *your website might not be getting good online business due to low traffic and Google ranking. I am providing you some of the key factors why your website is not ranking good in the Google search engine. As per analysis your website is having some issues which need to be addressed immediately to get high traffic and generate revenue. I have a solution where your website performance is going to increase and you can see the difference within the first three months. *Mentioning below the reason responsible for low performance of your website:* *1.* *Considering the latest techniques and strategies used by Google algorithm updates, your website may not be promoted properly.* *2.* *There may be very less presence of backlinks to get high traffic.* *3.* *Bad back-links may be more, increasing the bounce rate.* *4.* *Mobile responsive feature may not be present as a result user cannot access your website through mobile/cell phones.* *5.* *Chances of On-Site and On-Page validation errors.* *6.* *Many competitive keywords are not present.* I can assure you that, if you give us an opportunity, then all the above issue can be fixed and your website can experience high traffic inflow and can generate revenue, within the first three months. If you have any queries or questions regarding the proposal and promotion of your website, feel free to email me. I would be more than happy to answer your queries and concern, before we move forward. Looking forward to hear from you *Best Regards,* *Louis Parker* *SEO-Consultant * [image: beacon] From owner-freebsd-questions@freebsd.org Tue Jan 2 18:32:10 2018 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 17AF2EB28CC for ; Tue, 2 Jan 2018 18:32:10 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from outmx-028.london.gridhost.co.uk (outmx-028.london.gridhost.co.uk [95.142.156.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D563E6C909 for ; Tue, 2 Jan 2018 18:32:09 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from curlew.milibyte.co.uk (unknown [82.71.56.121]) (Authenticated sender: mailpool@milibyte.co.uk) by outmx-028.london.gridhost.co.uk (Postfix) with ESMTPA id 0EB2E22A08279 for ; Tue, 2 Jan 2018 18:31:59 +0000 (GMT) Received: from [192.168.1.13] (helo=curlew) by curlew.milibyte.co.uk with esmtp (Exim 4.90) (envelope-from ) id 1eWRM6-0000i1-8G for freebsd-questions@freebsd.org; Tue, 02 Jan 2018 18:32:06 +0000 Date: Tue, 2 Jan 2018 18:32:06 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Message-ID: <20180102183206.25a6dd12@curlew> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Subject: Unable to write from Windows PC to samba shares after upgrading to samba46 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 18:32:10 -0000 After using pkg upgrade samba44 has been upgraded to samba46 with the result that Windows (XP and 7) clients now only have read access to my home directory and cannot write to it. Initially the XP clients couldn't even access any shares after the upgrade because the user name and password were no longer recognised but adding "ntlm auth = Yes" to the [global] section of /usr/local/etc/smb4.conf cleared that problem. Here's the current version of smb4.conf. Apart from adding "ntlm auth = Yes" it's identical to the setup I've been using without problems with samba44. Are there any other parameters which I should add to regain write access to my home directory share? [global] netbios name = CURLEW workgroup = HOME security = User ntlm auth = Yes server string = FreeBSD interfaces = 192.168.1.13/24 hosts allow = 192.168.1.0/255.255.255.0 passdb backend = tdbsam domain logons = Yes printcap name = /dev/null load printers = no printing = bsd # Uncomment the following line, if Windows 10 machines should be able # to log on to your NT4-style domain. server max protocol = NT1 [homes] read only = No browseable = No [photos] path = /home/photos read only = Yes [backup] path = /nobackup read only = Yes [tmp] path = /tmp read only = No -- Mike Clarke From owner-freebsd-questions@freebsd.org Tue Jan 2 18:40:28 2018 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 4F2B9EB2E34 for ; Tue, 2 Jan 2018 18:40:28 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2EFE16CBA8 for ; Tue, 2 Jan 2018 18:40:28 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2DE2FEB2E32; Tue, 2 Jan 2018 18:40:28 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D75AEB2E31 for ; Tue, 2 Jan 2018 18:40:28 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::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 A9B8C6CBA6 for ; Tue, 2 Jan 2018 18:40:27 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mail-lf0-x235.google.com with SMTP id w196so38615886lff.5 for ; Tue, 02 Jan 2018 10:40:27 -0800 (PST) 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=wSHOAs4rmlgSMuVeFx2N+SYqIfjsa3sLVC0qb2Q2HIo=; b=GM3bPTOBamOuYNLLufYdV6Q4q66WDJxHo2oEDdsgCobT7QC7d0h4YYgJYNsixgEyDj BN4jIhFyaz+O8gfSXWK38Apvn0OH0GydbJbiYe4aVOXFDZXJzIPezhGJ+1g4hcLbWxl3 R4ufc2uMsENX3CTA387TUwr0KxVFGH0WR6DcgV/6xaVKNIJJ1RgYaPapAaVcxKgW07ox c/eIxD7ffqOvrsjb2NwTnndGYq0n1GPT9zJbTYb2+84H+rQurWkGRrPVTG8pnCBgB9PB qZDeKBsrE+bib1hC6VwhkQD9l+0qPGoWmpxFUda/9Cq9TPj8TaREPwp4RMCLInMT1Si4 93+A== 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=wSHOAs4rmlgSMuVeFx2N+SYqIfjsa3sLVC0qb2Q2HIo=; b=k0zOI50T2bBOStA7M6yGI3KlgquxCsP7IZE7ezf5ZnMQjfNnmUl22lpVA6T1Wy61zK g8l4/0VxUwp8ngCCUerkv3+RUhKTLcPFmK3yd5fmrEt4JlxeXuoReOXL+ED0p6P7kiDJ JUQwC2/UYGYSQiUU2nKOLuCjj7N1HOMqM/zMacneahaR0jA3UoD+5PVi6lUD5n85/PKF v+FgvsBK4qGtQj9NvI+wmbKLhyPj1xNRQEisprsdoFf3g6X+fm9NKZbTDEcecUncvXBH vn7yVRDyF9l/s0a+1ZvRRi/zR4jMkzgMeNd7il1IashQf8EiOyH/bINnXOE89GrJWHvU 5B1w== X-Gm-Message-State: AKGB3mKg7ni4BiyD6J/OKVhYoxozUVrcU+4mFWhQ4DlB7Ed4JfqS6XF2 x7Bll7LAhELIGB/T7H4toSr0fKHP54tMviHZdqOALp5A X-Google-Smtp-Source: ACJfBouMhruwd2otgqXzW9N3ergCQqLKch/fvYCgx4OJ4DUYeSVMcnewmgE/Y4FL//Cp+4r+aMTllUkAO+QWchU5KLE= X-Received: by 10.25.23.80 with SMTP id n77mr19679986lfi.84.1514918425448; Tue, 02 Jan 2018 10:40:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.228.149 with HTTP; Tue, 2 Jan 2018 10:40:24 -0800 (PST) From: pete wright Date: Tue, 2 Jan 2018 10:40:24 -0800 Message-ID: Subject: zpool fragmentation To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 18:40:28 -0000 Hi there, I was wondering how others here on the list deal with zpool fragmentation. My general purpose laptop uses zroot, and I've noticed over time fragmentation of my pool has grown to %42: $ zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT zroot 230G 87.3G 143G - 42% 37% 1.00x ONLINE - $ I guess I have two questions: 1) is fragmentation generally bad, or just a fact of life for a system with lots of churn? 2) if it is bad, are there any coping mechanisms people use to reduce fragmentation? Cheers! -pete -- pete wright www.nycbug.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Tue Jan 2 19:52:56 2018 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 12698EB603F for ; Tue, 2 Jan 2018 19:52:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E13116FF3D for ; Tue, 2 Jan 2018 19:52:55 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DD8BFEB603E; Tue, 2 Jan 2018 19:52:55 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAE65EB603D for ; Tue, 2 Jan 2018 19:52:55 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9348D6FF3C for ; Tue, 2 Jan 2018 19:52:55 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x231.google.com with SMTP id r6so40527430itr.3 for ; Tue, 02 Jan 2018 11:52:55 -0800 (PST) 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=SsKv1k+z9+gki8EUXdbhS2pSOTKoJrm71b83tpRiT0Q=; b=cOtjZgXJ53Y58yjujk3xceNZ4Qg8SlJrbKPCKUhc7PfHULARx2hgTQ/FBYG8L/QQZi RyGvT0S1RI7b5pfRi6r2KlvRjxvL9di67mlQ+iePaueCwez4EoAmwKN/mf/b8wFYKmqu rmIbbk2vj7fvDX91anhq19hChghV9fWy6FzDCXuWpTeAeLqGsxYqbQr5lsJ+Z1vLxxx6 YGQK4KBFAV9MELSTAbY91tELE8QKu022GbyUjjRvmzvtJxEdznDGtXzXB4wAsh12ty7X YSXYErY5z+KGBpl6mODcO2hQ+lgrOfo7dxtyLKaQKdNDwiOPqPy5ISuXWsOGuINpt3it IMuA== 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=SsKv1k+z9+gki8EUXdbhS2pSOTKoJrm71b83tpRiT0Q=; b=au/alDDkUIT6Wogq92IEPsFBfoL0x2XkYaj7SJv3DObb5Phl4+19HvvWECQnGDuDva LnGMmjN0i9dur5T+S976s6W4QFO7I4xl5wULZ1uuB3B3XcBb7yG5O/jHWdYMum1BY0iR GG0/djEfjdcRla9MVtvjuU45dJAakEZIJuaNFRUxs9MOkaQCdBaP8rOyKwiBfLeDP46j FYnX0q/aFXf+k+eZDiw2lKSKA8KmXMeG6pzynuakJpQJENcTT0w6S5P3y5bCauzRbnvL 0UCnHbENMO74wh8g10uT8ad7/LLHonGW+UzlCy8WXldWplYp5gbePkmAfnxczKSG8KB/ vRkQ== X-Gm-Message-State: AKGB3mJyvgAPp7qOnQ4Iu3tZa5ux8IJKwVSin8l8yQt5PjS+1noZJmXk fo8aPq9rBaI87++RFraHfq9CttahpfZxU0tM2Eg= X-Google-Smtp-Source: ACJfBovKtQvoyWjYNPlZptwi9cY6xqn3h6RzAov78kjD0PxFbhCgvtTrJ01gbCRY1zfV4KPaSRXaH6/P9LiRfvz6530= X-Received: by 10.36.39.8 with SMTP id g8mr24534966ita.42.1514922774827; Tue, 02 Jan 2018 11:52:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.180.34 with HTTP; Tue, 2 Jan 2018 11:52:54 -0800 (PST) In-Reply-To: References: From: Adam Vande More Date: Tue, 2 Jan 2018 13:52:54 -0600 Message-ID: Subject: Re: zpool fragmentation To: pete wright Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 19:52:56 -0000 On Tue, Jan 2, 2018 at 12:40 PM, pete wright wrote: > Hi there, > I was wondering how others here on the list deal with zpool > fragmentation. My general purpose laptop uses zroot, and I've noticed > over time fragmentation of my pool has grown to %42: > > $ zpool list > NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT > zroot 230G 87.3G 143G - 42% 37% 1.00x ONLINE - > $ > > I guess I have two questions: > 1) is fragmentation generally bad, or just a fact of life for a system > with lots of churn? > Yes but impact also depends on pool config. > 2) if it is bad, are there any coping mechanisms people use to reduce > fragmentation? > Keep lots of free space. -- Adam From owner-freebsd-questions@freebsd.org Tue Jan 2 20:17:00 2018 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 6FF3FEB71AA for ; Tue, 2 Jan 2018 20:17:00 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48F9470FD8 for ; Tue, 2 Jan 2018 20:17:00 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 457BBEB71A9; Tue, 2 Jan 2018 20:17:00 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 451A7EB71A8 for ; Tue, 2 Jan 2018 20:17:00 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::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 DE97170FD5 for ; Tue, 2 Jan 2018 20:16:59 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id i11so62609650wmf.4 for ; Tue, 02 Jan 2018 12:16:59 -0800 (PST) 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=/SU5kSWakS45XtlTa0Xsm0cvs6MvgQuq1ctjJQDNZX4=; b=hhkJTLRye/s+wiszsFdWsfCpc8i+b8UZXpNrFk3t1+5kHKGnEGrRN8U96BEnpg12XY GM9nM0cILcR/SZ3uO7sKap1DTCkIM795D0C9/95wsat9cnrysSSE02oQabK6RpsZU81b MdE+iiRIYc5A3IhxV+NGxS/54ZIvkuT1i4OB0V3JFnX+ID/1PkPVBqskXWUXk+LdCCte nNnWyXyy5iHQC1mxdJAjssGkRCdQsZ2CbWJ5/VmCM17qb8JU1w7mxDbbva5B5UcEDj5h 1vW1nW2LrxUzo1inILL3stuBZsv3l51q8wYRPOoXN8X3n5KuLuZG3/zOaR0XRjVPjrhz cVQA== 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=/SU5kSWakS45XtlTa0Xsm0cvs6MvgQuq1ctjJQDNZX4=; b=tN3cxuMHC7hTKxwGaMbjI2xFjKaS3WkllYI6Ku/bQh2sx5kR+81CkIhrpo7EKvgVX8 Et1eWVmi1BnKeLGNtCLfsKCuqNbUlvbJrw2odgT1EG/RSMk0qn13S1HyW4UBDUmbimgY 67acnuAqvzUEGreyrQRMV9NhL5wcDmNqXBU9V3HQOEsgoMrIgX0HxoVCnXy3TCkJF9R1 Jio/M1MXNKfqq+UeRnfu7pLWDYxe0T4W6Pr6SjvCBYUtN6kMnCvY+Nn8g00noHcxVWdo m/OTxh/BNH+KNC2/F7/T/Z3GGwz5uIU2T9FToHfe/CZXB7/ZAEHoUdHQyp9Mfcrq3BUd 1Kgg== X-Gm-Message-State: AKGB3mK5del67GUHqBIcOVvOgFy+RQHkf3LmQhllSxTt5Z6cVrW3N+Hq 3UhXht6TDvmP3EVv2M8KcmvPplR72yw0D40DcQA= X-Google-Smtp-Source: ACJfBos9rZrDyymKXvMJy0c4UoPkw6cQ0sJdmeCEd6qTEwhM5xTF5dRBLa0Oa6qgK3hr2FjJJcXU8fJA+xuBljFi/CI= X-Received: by 10.28.136.15 with SMTP id k15mr35639895wmd.147.1514924217847; Tue, 02 Jan 2018 12:16:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.170.2 with HTTP; Tue, 2 Jan 2018 12:16:57 -0800 (PST) In-Reply-To: References: From: Kent Kuriyama Date: Tue, 2 Jan 2018 10:16:57 -1000 Message-ID: Subject: Re: zpool fragmentation To: Adam Vande More Cc: pete wright , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 20:17:00 -0000 This article explains the meaning of that column. https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSZpoolFragmentationMeaning On Tue, Jan 2, 2018 at 9:52 AM, Adam Vande More wrote: > On Tue, Jan 2, 2018 at 12:40 PM, pete wright wrote: > > > Hi there, > > I was wondering how others here on the list deal with zpool > > fragmentation. My general purpose laptop uses zroot, and I've noticed > > over time fragmentation of my pool has grown to %42: > > > > $ zpool list > > NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH > ALTROOT > > zroot 230G 87.3G 143G - 42% 37% 1.00x ONLINE - > > $ > > > > I guess I have two questions: > > 1) is fragmentation generally bad, or just a fact of life for a system > > with lots of churn? > > > > Yes but impact also depends on pool config. > > > > 2) if it is bad, are there any coping mechanisms people use to reduce > > fragmentation? > > > > Keep lots of free space. > > -- > Adam > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > -- Kent, kent.kuriyama@gmail.com From owner-freebsd-questions@freebsd.org Tue Jan 2 20:18:10 2018 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 5D3ACEB7318 for ; Tue, 2 Jan 2018 20:18:10 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 384C671122 for ; Tue, 2 Jan 2018 20:18:10 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 378FDEB7317; Tue, 2 Jan 2018 20:18:10 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3735CEB7316 for ; Tue, 2 Jan 2018 20:18:10 +0000 (UTC) (envelope-from nomadlogic@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 A7B4071121 for ; Tue, 2 Jan 2018 20:18:09 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id o26so42598216lfc.10 for ; Tue, 02 Jan 2018 12:18:09 -0800 (PST) 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=z15p/xISo7EUQfssfud9bATQr+/YUhQUTRlfC0+G6Lc=; b=Rf5WLNVFj6FI7eaWM8ZXmF7Epl2R2TQs8xIl8g6x7nZCU7UCiXzBn2ZQXw693eK08F Y7EAHmeHSVtSQTAwh9p8cRS/awHapqnCSbvyosFG8Yc8iJc200YX8ZsceEoKJyQkLaTH +S64jxYm243r91Y1i2hZLIO/Q1HLv0ZcKXohGwO6fZjvTtnw/VBNGUfpiYB1J23o3olg m37rP9upjU7jxBP2t6+FCd7a1nGfwWyfPLkCdqnOTm2xzQ0+2+Vmf61AtMIozZfjphEB GPvoedsFfgpNBUEWa9C2whacAexOkZOBifvhF+J9VPJDP1bF0ap32GPevf6mVL4+8FQv sZ7w== 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=z15p/xISo7EUQfssfud9bATQr+/YUhQUTRlfC0+G6Lc=; b=NjQkRbUpdO/7lJRbBLSp3OdXId0oUaaoQiTeXrRtgJPEdwNo4jylqb7xIL3jN7MYD8 Entls3+XxgDxi7mXjI56MqAdZSM76ixQRWMiznHrUcXN0aUq0qAmrEd+upW7xbe9mZyP mI4boPswzXzCSxl7MpyEMwSXtmcy4l+nJxfvRGyG+fRBFyeDyHqU+fnonyoc7Ujz7XL9 TTEqJQEBWyoprS8aFMrfrNe9pbJs1x1iNagwwV9iGmv7VgvTZLVcH/QmxwjUXVd44GU1 g6mzLxuMk3O9RnyNU1THUtR5G/ks0hi78zwKZ4XklXDvDlLyFYJBW4+LB+4N6MpN8rrt 2TUQ== X-Gm-Message-State: AKGB3mKxAb193PQa0QvBT5RmuCsUGR3OwG7Bn9WedPE6ndX+vQFKTDXX +Aecmy8H2DmltKFjn0/jBl5zO3pox7lMYi1hsRA= X-Google-Smtp-Source: ACJfBoudSfXCtAsTdCljGufZ9KD2DUjc4jBHJtJLYOicZWgXeWDloEqJcu391qGiKp15sLuVr8tHIQDW0PcMHV4EOk0= X-Received: by 10.46.69.67 with SMTP id s64mr27850826lja.94.1514924287443; Tue, 02 Jan 2018 12:18:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.228.149 with HTTP; Tue, 2 Jan 2018 12:18:06 -0800 (PST) In-Reply-To: References: From: pete wright Date: Tue, 2 Jan 2018 12:18:06 -0800 Message-ID: Subject: Re: zpool fragmentation To: Kent Kuriyama Cc: Adam Vande More , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 20:18:10 -0000 On Tue, Jan 2, 2018 at 12:16 PM, Kent Kuriyama wrote: > This article explains the meaning of that column. > > https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSZpoolFragmentationMeaning > Oh fantastic - thanks Kent, this looks like exactly what I was looking for. -pete -- pete wright www.nycbug.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Tue Jan 2 20:34:28 2018 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 468F6EB80C8 for ; Tue, 2 Jan 2018 20:34:28 +0000 (UTC) (envelope-from prvs=15339981c8=vogelke@pobox.com) Received: from WPAFB-MAIL6.AFNOC.Af.MIL (wpafb-mail6.afnoc.af.mil [131.27.1.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "WPAFB-Mail6.afnoc.af.mil", Issuer "DOD ID SW CA-38" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CC58071F8E for ; Tue, 2 Jan 2018 20:34:26 +0000 (UTC) (envelope-from prvs=15339981c8=vogelke@pobox.com) Received: from us.af.mil (unknown [131.9.254.142]) by WPAFB-MAIL6.AFNOC.Af.MIL with smtp (TLS: TLSv1/SSLv3,256bits,DHE-RSA-AES256-SHA) id 0832_0a13_c0d27ea1_2d42_47a1_bac8_f379b623441a; Tue, 02 Jan 2018 20:34:12 +0000 Received: from ([131.9.40.227]) by 52vejx-mr-008.us.af.mil with SMTP id 20Z0FN1.326334541; Tue, 02 Jan 2018 14:34:05 -0600 Received: (qmail 17947 invoked by uid 100); 2 Jan 2018 20:34:05 -0000 From: "Karl Vogel" Date: Tue, 2 Jan 2018 15:34:05 -0500 To: freebsd-questions@freebsd.org Subject: Re: zpool fragmentation Message-ID: <20180102203405.GA17447@bsd118.wpafb.af.mil> Reply-To: vogelke@pobox.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 20:34:28 -0000 On Tue, Jan 02, 2018 at 01:52:54PM -0600, Adam Vande More wrote: > On Tue, Jan 2, 2018 at 12:40 PM, pete wright wrote: > >> are there any coping mechanisms people use to reduce fragmentation? > > Keep lots of free space. If you create an unmounted empty filesystem with a reservation to prevent the zpool from filling up, it gives you behavior similar to ufs's reserved blocks. I reserve 5-10% to make sure the system doesn't become completely unusable: root# zfs create -o reservation=50G -o mountpoint=none rpool/reservation -- Karl Vogel I don't speak for the USAF or my company Sheep learn to recognise celebrity faces from different angles --"New Scientist", 8 Nov 2017 From owner-freebsd-questions@freebsd.org Tue Jan 2 22:28:34 2018 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 A1877EBCBD2 for ; Tue, 2 Jan 2018 22:28:34 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 31E8E76447 for ; Tue, 2 Jan 2018 22:28:33 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from [10.70.7.21] (ultrabook.yoonka.com [10.70.7.21]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id w02MSQF5042545 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 2 Jan 2018 22:28:26 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host ultrabook.yoonka.com [10.70.7.21] claimed to be [10.70.7.21] Subject: Booting from two drives in stages, was Combining / and /boot in different ZFS pools To: freebsd-questions@freebsd.org References: <696e5fe0-b0db-71e2-db62-43dad35e1053@gjunka.com> From: Grzegorz Junka Message-ID: <5A4C0785.6070709@gjunka.com> Date: Tue, 2 Jan 2018 22:28:21 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <696e5fe0-b0db-71e2-db62-43dad35e1053@gjunka.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 22:28:34 -0000 Hello All, Trying this question again but rewording it differently. Is it possible to boot the system in such a way that the kernel is loaded from the /boot folder from one ZFS pool, then once the kernel has been loaded it mounts a second ZFS pool and loads the system from it (the reason is that the drive with second pool needs a driver that's only in the kernel)? Thanks GrzegorzJ On 01/01/2018 18:49, Grzegorz Junka wrote: > My motherboard doesn't support booting from NVMe and I am trying to > install the loader on a USB drive. > > I have two ZFS pools: > > Two NVMe drives, each with two partitions, 1: freebsd-swap, 2: > freebsd-zfs; ZFS pool tank6 mirror set up on nvd0p2 and nvd1p2 > One USB drive with two partitions, 1: freebsd-boot, 2: freebsd-zfs; > ZFS pool tank7 using single partition da0p2 > > The intention is to have the main root '/' on the NVMe drives and only > the '/boot' folder on the USB drive (since NVMe is much faster). > > Some of the datasets I have set up (listing dataset and mountpoint): > > tank6 none > tank6/ROOT none > tank6/ROOT/default / > ... > > tank7 none > tank7/ROOT none > tank7/ROOT/boot /boot > ... > > After creating all the datasets bsdsysinstall installed all the files > in all the datasets as expected. When in bsdinstall shell (memstick) > with altroot as /mnt, command 'zfs list' correctly lists all > filesystems. Also, when executing ls -l, /mnt/boot contains boot files > (including the kernel in /mnt/boot/kernel), and /mnt/ contains the > rest of the system. > > I have set up the bootfs as follows: > > gpart bootcode -b /boot/pmbr nvd0 > gpart bootcode -b /boot/pmbr nvd1 > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 > > zpool set bootfs=tank6/ROOT/default tank6 > zpool set bootfs=tank7/ROOT/boot tank7 > > However, when trying to boot from the USB I am getting an error from > the system loader: > > Can't find /boot/zfsloader > > FreeBSD/x86 boot > Default: tank7/ROOT/boot:/boot/kernel/kernel > > My guess is that when booting up, the filesystems of tank6 and tank7 > are not mounted and combined correctly. I tried to set tank6 as the > booting drive in tank7: > > zpool set bootfs=tank6/ROOT/default tank7 > > but this throws an error. > > My question is if it's possible to boot the system from '/boot' set up > on a different ZFS pool than the ZFS pool containing the root '/' folder? > > GrzegorzJ > From owner-freebsd-questions@freebsd.org Wed Jan 3 07:24:13 2018 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 381B8EB1670 for ; Wed, 3 Jan 2018 07:24:13 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (vps.markoturk.info [95.154.208.14]) (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 F2E5167FE5 for ; Wed, 3 Jan 2018 07:24:12 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (localhost [127.0.0.1]) by vps.markoturk.info (Postfix) with ESMTPS id 31D9F2738A; Wed, 3 Jan 2018 08:16:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=markoturk.info; s=s1024; t=1514963818; bh=JR6TgsPbFLrvPViS9Z2E1pjY+dHePSdip82uLHCjp0Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=envcZBrnF5W1Wl9c48SYgtSuWIvlcq4z2daDo+hS8AWLsveW1yk/W6VvbZUtwndC1 S5L/XfbznkAeHR6YcZB8yiZeGslp2Gks7AsI8BgYmkjS7oYN5L3vpdXBLx7BtofSUE tsoKsNwsgRDbISvLaLAWGOVSEVCkst4TRrOXJmrg= Date: Wed, 3 Jan 2018 08:16:49 +0100 From: Marko Turk To: Grzegorz Junka Cc: freebsd-questions@freebsd.org Subject: Re: Booting from two drives in stages, was Combining / and /boot in different ZFS pools Message-ID: <20180103071648.GA29631@vps.markoturk.info> References: <696e5fe0-b0db-71e2-db62-43dad35e1053@gjunka.com> <5A4C0785.6070709@gjunka.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <5A4C0785.6070709@gjunka.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 07:24:13 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 02, 2018 at 10:28:21PM +0000, Grzegorz Junka wrote: > Hello All, > Trying this question again but rewording it differently. >=20 > Is it possible to boot the system in such a way that the kernel is=20 > loaded from the /boot folder from one ZFS pool, then once the kernel has= =20 > been loaded it mounts a second ZFS pool and loads the system from it=20 > (the reason is that the drive with second pool needs a driver that's=20 > only in the kernel)? If you choose ZFS auto installer with MBR (not GPT), I think it will create two pools: one for the kernel, other for the rest. Try installing this to some VM, see how it works and copy/modify to your needs. /Marko --wac7ysb48OaltWcw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhcgjUnLArcQCyVEgeDpsXaaozYgFAlpMg2AACgkQeDpsXaao zYiJCw/7BB9fWCRS/f68JfIvpq1OmnZtj7k7jZZV6A8xqwsuo9Lm0tBSBxKwP0PK Sl0h81T2RyD7SBraCvbdVMdlTbdpscu46IimMuGBjtQIA2//ZThx3AdHxjFIE+iC +PR16Zt5S6CNnRLrEgMCUGRmrPEXwiRQVB1pG0uYNtdQaTKyPOgbavkDHrbOOZ0Z ORzKsUYvRd4MkCfeFfJPBwNv9+J1srBqF0v+yWh5eoyNgIUHr7JC8LukLm1Jc810 IZyZDdjV/pVI6UlwAkqM7wsIXFR9Uji4FTlD1ZmuuZLkVd3xHcc3ryr9osEwpO96 m7Nw4z8H2n/T4C/7/1wub5eB6JNQ0ytt1O1HOTIYjVBlEJ5JWN+/+ZOesRUhNN74 VrcMzUiGLquqSYdBSW5b2A0o2Cyir/y+cQhH6dVKB7sunn1FjidNwyUGgvc77fCI I3IJ7Tqk68i20my9GhqnIEREJ/dO0ATIbw289hhMGsFc+eq6w0fv+olPsm7fIfrn bTZCfIZK50sYuAIebE1RvOJqMI5UAq5gll8gYvwB4NX4DcvK6d4RivtyVhXtoy1a VSGCTgE6O2k40XXiENAqbX//c/bJw83fxEMfKMilbngyFCnZLTzDqYP1xMzZFPwO 7cfbvZ6pmEYpp2BlyFdfiDIXLAOr81HsSu+5Z72g+SOXrQ/ndCc= =b/lL -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- From owner-freebsd-questions@freebsd.org Wed Jan 3 17:39:27 2018 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 C8BE1EA6CA4 for ; Wed, 3 Jan 2018 17:39:27 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::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 84DE37DF78 for ; Wed, 3 Jan 2018 17:39:27 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: by mail-qt0-x22a.google.com with SMTP id i40so3001052qti.8 for ; Wed, 03 Jan 2018 09:39:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=albOY/WVGrQgPyvHaNB87rPb5nx7weP39FKyCqlyrSI=; b=tOMStLhXtPy7rUyiAG0MKFxr0WIzx2VHTymQXB2pv7zYY4wUcffqDpTzWCYCSzqVtc 76cEDHkyKgh/i/2RCnRjjIWQMzz29OOKvrdjp9yCeQoOWhz5IpHSkzGtuGjJVOZRPiU7 k2/e5J+qH9nctkuOpydDcluLTplFIFCJv9tQtrij4Shdb2l42bk6oN6hccsD9p+wTDwf BU0C7dI8qjhBSINrfr3YCy+2rATBscoEaQamK8jn+0/jJXmmkC/5qjkz67d8shE2b7eV G/579foopWRZ07r+AsoGl5Zflnj4IQH3iacmzMqefhhm/LuRIfEWKl3W2YgEaL7bAfPf WpjQ== 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=albOY/WVGrQgPyvHaNB87rPb5nx7weP39FKyCqlyrSI=; b=t/ffbddUv2RgF5tqB0v9ycw6fqAemmbUWFAmkv+LP2zMB+ctYwRESvMCqVLmY6h074 YOU4myr+qJUlDDM/FWHoXLJ2cTLjFJt4kHOrE4MzMrtkEFtuQ9TtMDbvxF5onddrYutK sEP/Ddte3+ZxbpKl2vHOXbOUdPXKYEWMJuTxG9s+88TXv4GKJ9J1n3Zz5rHgXLxFvA2+ r4ZqQ56PNlgKv40VrQt8U5ytfwLICW+RI/foESoDSuxT61UO2yM7KLnmIend8xhIT+lI gi2Fv5tVQRPtS8x7a/FtdEfsT/JvyaL5kAxWwr12MUnkeUL3NV7QDg4WVEKS38xdiTFq wmOg== X-Gm-Message-State: AKGB3mJAnqmoEYS1KC5gcjA+aifqlnun+BGj1yNYO3x+GSYxrmvqbe9y trtd1QjNqWZyW3gLkaSvjdleAR5q8gojWeGEZDgafw== X-Google-Smtp-Source: ACJfBotFP9ExyPKs/Wfj3RZGIV91rKcV1TF8Oldr4YXA8nvgJZFVtMQsDbpEndPozZSQtD8yu25JbZfyujvm5IOrZ2A= X-Received: by 10.200.37.125 with SMTP id 58mr2557840qtn.138.1515001166390; Wed, 03 Jan 2018 09:39:26 -0800 (PST) MIME-Version: 1.0 Sender: christopher.maness@gmail.com Received: by 10.200.46.185 with HTTP; Wed, 3 Jan 2018 09:39:25 -0800 (PST) From: Chris Maness Date: Wed, 3 Jan 2018 09:39:25 -0800 X-Google-Sender-Auth: Nz6oIhctSERREemC5aKRAXhMoQQ Message-ID: Subject: Craigslist emails not coming through on my server To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 17:39:27 -0000 I try to reset my CL password, but I am not receiving emails and I am receiving this message in the maillog: " Jan 3 09:31:54 ns1 sm-mta[81230]: w03HUpaV081230: mxo2a.craigslist.org [208.82.237.97] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 " Not sure if this is a fail or a warning, and it is something I need to fix or they need to fix. Any suggestions? Thanks, Chris From owner-freebsd-questions@freebsd.org Wed Jan 3 18:53:11 2018 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 8DE30EA99E2 for ; Wed, 3 Jan 2018 18:53:11 +0000 (UTC) (envelope-from markmoellering@psyberation.com) Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::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 4FA8C80DB1 for ; Wed, 3 Jan 2018 18:53:11 +0000 (UTC) (envelope-from markmoellering@psyberation.com) Received: by mail-qt0-x235.google.com with SMTP id w10so3260705qtb.10 for ; Wed, 03 Jan 2018 10:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=psyberation-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=4L8qkwJQF5WdVkVO+Q85ZyOBSumf+bpHQoD4g7So3kQ=; b=fOEr7f3jKKpRcUNjZu3res7mE7IoEQQhw9DZA59oC3Mdynn8+HVThnfXnAuMNspCOd xYK6VVID/MynhHQD70T2mIkJUBKhEn/huDBm1k+IOwNKtzZOESmLKnhkG6k+KcvO3496 IqeSFyW9kyriQPwhnYhz+Sn1m6g0jrxa0RfD0OfjwWvs2Uxv6FuL6SMzumm0AOEbXHIl aoAKxqZXJlEFPM0jBJOFe6xaOuXeb12epOzoUQJ249VcLceRgMeJYjfeax483fm8/oTi 2c6jZMiesOTE4W3IpXlLtN/yk6F28FEBL8joLqESWFGVdbX9bEsw1WkOrmhYSg3A96FE eJsA== 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:cc; bh=4L8qkwJQF5WdVkVO+Q85ZyOBSumf+bpHQoD4g7So3kQ=; b=TNX2XPSsrMxnHseQL+ZvBOj/dM/tN8a+jdBTSweyQUOSHpMZfqIhaDzFL0XNcxY6Hy KNvvt8M7347iakPuCvwYID+ybj9qJkNm0UYmk/sw4PWuOf6jlfUtcrksGWoapIuqWxv7 x/1aHC+lhv13n4gz+lt1l6/+bhRCq68Mz3ImYMjBSeQML3bGuFQdIjePMt7cG2TFudPx QtleHzO3uMHODG0n95Mh7kdCYvNIBo1pCAJoj4F03O8y6rW1tpxt1ycf2v9hzllWZUc5 klKcHqlyOylr6lNSaR0Zn0ribi8jWTjdnBzXWBbDvohGeGwsqHX0/sKdPTvpmdx8unPu XnDg== X-Gm-Message-State: AKGB3mLQEuaclmPdCC5H+pYdhGNc6GXmcIo7mUYWmMbRHQp1TOkjGfYn F82XKsbUi8+jgNdG6bdiGGUBXxYz0KRcdgZ8qEIAzQ== X-Google-Smtp-Source: ACJfBovidVZ8zf08yTzw1D9PDSUSCRCHBg+l7oZMlA5ACs1wh93bgr7aB5i1MOTz86/Cyb7c84a2dEAufWBzSXWvF3M= X-Received: by 10.200.36.9 with SMTP id c9mr3286510qtc.182.1515005588872; Wed, 03 Jan 2018 10:53:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.45.121 with HTTP; Wed, 3 Jan 2018 10:53:08 -0800 (PST) In-Reply-To: References: From: Mark Moellering Date: Wed, 3 Jan 2018 13:53:08 -0500 Message-ID: Subject: Re: Craigslist emails not coming through on my server Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 18:53:11 -0000 Chris, What mail program are you using? If I may, there are a few basics you should know before posting to this list. Your type of question happens often, so I want to try and cover these basics. I don't want you to think you shouldn't ask questions but you will get much better and more polite answers if a few basic rules are followed; Step one: go to the specific mailing list or forum for the offending application. I would guess either, sendmail or dovecot. There should be suggestions as to what log-files and config files should be included with errors. Step two: copy and paste the error and include any suggested files. If you can't find that information, try to include all relevant config files, and including a portion of the log files surrounding and including the error can help as well. Send this information in your post to the application forum / list [from Step One]. If you do this, you will get a much better and quicker response. Step three: If someone on the mail-daemon list [from step one] says that everything should work, and it could be something in the OS; Try and get a clear understanding of why they think it is the OS. Post to this list with everything that has transpired on the mail-daemon list. Feel free to copy and paste an email thread. Too much information is rarely a problem. It is best to include an summary of everything you have done so far, and what lead you to post to this list. Then, include config files, email threads, etc. This way, everyone knows what has already been tried. and because I feel for anyone setting up email server software, go through the documentation. It could be that craigslist is not following all of the RFCs regarding email correctly, and you have to allow an incorrectly configured email server to connect to you. When I set up this sort of software on FreeBSD, there were specific controls for allowing certain Microsoft applications to connect, as Microsoft was notorious for not following RFCs. Sincerely Mark Moellering On Wed, Jan 3, 2018 at 12:39 PM, Chris Maness wrote: > I try to reset my CL password, but I am not receiving emails and I am > receiving this message in the maillog: " > > Jan 3 09:31:54 ns1 sm-mta[81230]: w03HUpaV081230: > mxo2a.craigslist.org [208.82.237.97] did not issue MAIL/EXPN/VRFY/ETRN > during connection to IPv4 > > " > > Not sure if this is a fail or a warning, and it is something I need to > fix or they need to fix. > > Any suggestions? > > Thanks, > Chris > _______________________________________________ > 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 Jan 3 19:02:22 2018 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 B77C0EAA07C for ; Wed, 3 Jan 2018 19:02:22 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::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 6F7D71593 for ; Wed, 3 Jan 2018 19:02:22 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-qt0-x22a.google.com with SMTP id f2so3320683qtj.4 for ; Wed, 03 Jan 2018 11:02:22 -0800 (PST) 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=N956CMuWbRNioqW8TjN71UO3fWomWNAe35mJdhHntR4=; b=JP078fsxgMKUYuiHORoCMB2h+39vOvb9TJ323E02O2zAfZR66K+k4d+CcUQfgAYPrc zBKry/enI6KKa16uMZZMZIBPm6UghJAyv+oZdzi3uyX52/cfp5+qFYWchXRKTnp9qfbj DwZP2st3fLndotRHNQtN64kpPrvO0HTTnnhfWEBcBPilu/XKy+kIYwaXCUaLZZXT4K7d XvxvnE9xhwUS/iME4kbz32LKPxJcUtUhNcAfDCjfxFQZvLTY3n8T2VpCjpqoSs2YEyA0 0VqTL6AspjA6RZ2Bouf8ofSKfvzYbeuHCGghd34IHrl1XBp0smEQgUsLSuytxsB4JOMP y8WQ== 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=N956CMuWbRNioqW8TjN71UO3fWomWNAe35mJdhHntR4=; b=dZV+1SeeBEUHx5KDfahujl4nIZjDfLAuw6hPUD1EbrB5jWaUdlJYpIenMsl+YKuSHm NCkEBNZF5Q3tEGj4Sx3H8TRiHCzN1vjiPON/yfqWaYXNfGGPTGVWL5uFiUkujlb/ayi1 eiRtwMLr4K/D3raSMo3tO/tAOlCj6dyd+44XmaeqmYyhJFa3NHLoV2Lk7vFpf2zWIMNm myr8MqdEatagU885r8V4d7k6W4aodtUH6uqDjSmBU1823vJhKan29sxGX+Zr8aBjLln6 gBX9Osu6vsTJYmyajE0aAZBDp4koPQBjjYsGyNdlbt3Kb7ckkaurF4ppDEzL9J1xWP9u HWbw== X-Gm-Message-State: AKGB3mJRckTa79PDBw589huHcWY5RPuMwbs4EBLsGXp6cpmnfHGMXJBw RRbnRSNppr5Wmo2f1gjdETp5FbD2hHfaMmDUhxu5rA== X-Google-Smtp-Source: ACJfBovTmRHM17shWGqDzTpH/gSae3Vw5EaRg89Y348wSi7T1IN8k/iazYUKLtY9bri30RGdyd7MIZ+k73OMbAHoZY4= X-Received: by 10.237.48.47 with SMTP id 44mr3168635qte.283.1515006141329; Wed, 03 Jan 2018 11:02:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.154.10 with HTTP; Wed, 3 Jan 2018 11:02:00 -0800 (PST) In-Reply-To: References: From: Michael Schuster Date: Wed, 3 Jan 2018 20:02:00 +0100 Message-ID: Subject: Re: Craigslist emails not coming through on my server To: Mark Moellering Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 19:02:22 -0000 let me add one thing: On Wed, Jan 3, 2018 at 7:53 PM, Mark Moellering < markmoellering@psyberation.com> wrote: > Chris, > > What mail program are you using? If I may, there are a few basics you > should know before posting to this list. Your type of question happens > often, so I want to try and cover these basics. I don't want you to think > you shouldn't ask questions but you will get much better and more polite > answers if a few basic rules are followed; > I'd strongly recommend Step zero: search for the error string using your favourite search engine. regards Michael > > Step one: go to the specific mailing list or forum for the offending > application. I would guess either, sendmail or dovecot. There should be > suggestions as to what log-files and config files should be included with > errors. > > Step two: copy and paste the error and include any suggested files. If you > can't find that information, try to include all relevant config files, and > including a portion of the log files surrounding and including the error > can help as well. Send this information in your post to the application > forum / list [from Step One]. If you do this, you will get a much better > and quicker response. > > Step three: If someone on the mail-daemon list [from step one] says that > everything should work, and it could be something in the OS; Try and get a > clear understanding of why they think it is the OS. Post to this list with > everything that has transpired on the mail-daemon list. Feel free to copy > and paste an email thread. Too much information is rarely a problem. It > is best to include an summary of everything you have done so far, and what > lead you to post to this list. Then, include config files, email threads, > etc. > This way, everyone knows what has already been tried. > > > and because I feel for anyone setting up email server software, go through > the documentation. It could be that craigslist is not following all of the > RFCs regarding email correctly, and you have to allow an incorrectly > configured email server to connect to you. When I set up this sort of > software on FreeBSD, there were specific controls for allowing certain > Microsoft applications to connect, as Microsoft was notorious for not > following RFCs. > > Sincerely > > Mark Moellering > > > > > > On Wed, Jan 3, 2018 at 12:39 PM, Chris Maness > wrote: > > > I try to reset my CL password, but I am not receiving emails and I am > > receiving this message in the maillog: " > > > > Jan 3 09:31:54 ns1 sm-mta[81230]: w03HUpaV081230: > > mxo2a.craigslist.org [208.82.237.97] did not issue MAIL/EXPN/VRFY/ETRN > > during connection to IPv4 > > > > " > > > > Not sure if this is a fail or a warning, and it is something I need to > > fix or they need to fix. > > > > Any suggestions? > > > > Thanks, > > Chris > > _______________________________________________ > > 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" > -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion' From owner-freebsd-questions@freebsd.org Wed Jan 3 19:10:55 2018 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 206D4EAA679 for ; Wed, 3 Jan 2018 19:10:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8401B1D9A for ; Wed, 3 Jan 2018 19:10:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPA (Nemesis) id 0MgaRP-1eIsVd0td9-00O0cA; Wed, 03 Jan 2018 20:03:34 +0100 Date: Wed, 3 Jan 2018 20:03:32 +0100 From: Polytropon To: Chris Maness Cc: "freebsd-questions@freebsd.org" Subject: Re: Craigslist emails not coming through on my server Message-Id: <20180103200332.ce3a7e55.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-Provags-ID: V03:K0:QzbTkbCOWL2Kwf8fsY5t7U0LcDBgi+IZ9ziO2SUuZog1NtP68Q2 B6Z8DXgpGfnu+MF6IFYiSBQ/k5dkzaNb0cPgcrsKzm0UlmDbUJX0Pmmiubo2IH2dkQGUYUK rkGKxpaAMm9fVwVA9XMPGxdGEXjb/qj1zn4WBAZt6PkIXZd1LeswahmyCLRnipKEverh31u 3z3rO+Rl/W4KpbNFvEHag== X-UI-Out-Filterresults: notjunk:1;V01:K0:Br4ROWr8LVM=:pQx3dQtavouSXkLP57Pu/T sijpLBPiGbhO+rKDoj5YjF/+nMq4HCsAstPXfUBIzSwEfPLQYltRGdrfcldxHwgUgJ/54Mble eKlSK+4vbiV5NCzYxGsynI7wk2d5iCTBYeHexWqjvSsa8b/kKrRm6d0DdJZGHkRXP5ptgQuEC giMoMDibqkYTuJ1u9vdVky6gvCGtCZuymKICJRJAo6AQp8Hy1zolUVdlLj50Z4/0GLUpDoPOo jSZc8XeUIARxioQebE7JOOZcpgr69VU2C+rpPsleAKY4BZ5B8KPs9zGY7a6Fxr30t5tamr09Q /nqZ9lW3wt0XlP2N807QOtoIT2G5Cg66d2Y3kAUfEW0NuAiLpC/eloWGZ01MPtLjzzNyTB+d8 wlqpGRLGEvQdmsv80GvqzTTnpUckpsZ9H8IX71BT4ld5Y2ZsuTCke1iiZNGCO7I0lrmwVXUQb 0yzkEdwKiz9tcPTb61CwYr6fG/7yVLxCOVlqtUQf5CKNv/RK/YkjQS5oXCdLgOUSgRl9RoYlO VA31IFzWkE5N/oLExJx4L/NFhE/FgrEkOiNft48iyjJAbFI3Uc+2NhwJdrPwwnpXxHHWc0Zd7 Sr9rg3I7hG2i12UmDjGUhB7AUzqzwwmdvtm7+EWEa3svsPfm1niIEf9ph0OJaNQgRZOQ2gadb CDyq+lYBaiATdzOBkXyTjT7jZz3/UoH2Vw72DDh/xwGTJ6iZ0RylNhnWhHMiS/NvodyXiZ0ES NHoxB36NZwT9HsMQqxEJ9q0facr5VVoe6LySqKBRzLg7eDJQ6mIHWtV0JZY= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 19:10:55 -0000 On Wed, 3 Jan 2018 09:39:25 -0800, Chris Maness wrote: > I try to reset my CL password, but I am not receiving emails and I am > receiving this message in the maillog: " > > Jan 3 09:31:54 ns1 sm-mta[81230]: w03HUpaV081230: > mxo2a.craigslist.org [208.82.237.97] did not issue MAIL/EXPN/VRFY/ETRN > during connection to IPv4 > > " > > Not sure if this is a fail or a warning, and it is something I need to > fix or they need to fix. Maybe this is helpful to identify if the problem is on your side or on their side? Probably on theirs... ;-) https://forums.freebsd.org/threads/45058/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Jan 4 05:51:04 2018 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 6060CE8BD06 for ; Thu, 4 Jan 2018 05:51:04 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (mail.dpedia.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 219507B114 for ; Thu, 4 Jan 2018 05:51:03 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.117.61] (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 1eWyQe-000763-AK for freebsd-questions@freebsd.org; Thu, 04 Jan 2018 06:51:00 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id w045owJn002683 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 4 Jan 2018 06:50:58 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id w045ovvO002682 for freebsd-questions@freebsd.org; Thu, 4 Jan 2018 06:50:57 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 4 Jan 2018 06:50:57 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: client for matrix.org Message-ID: <20180104055057.GA2656@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline 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: 88.217.117.61 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 05:51:04 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Anybody knows some client for matrix.org which could run on FreeBSD? Thanks matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d= e/ =F0=9F=93=B1 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlpNwL4ACgkQR8z35Hb+ nRGDPg/+OQbJCsMpsFz88NpC5CIHMp1ymfFlhmmJ82Xmyy3qu4cU3c4FlDdVYPMG jLZlRrDNB0nM7J7xtD5F35yIdvc7nzbxD0vGPHeBqQH8tRlUj1UIS7uouYHKZT3d haZGL5AFNwI/IYcjUbBgUe4r497TjlHDd4nC9j8TR/NFTtHtCJZ/OoBdo22f45Kr ZOx4jcZlbjHcOvDdEJRdbqctneikzgqPNqVZOidmpibONxT5ieP2X1GCQx1B4iE0 /je30S1/44/dNrvfUorg0tAJHzEGKekMVmLqbD5mABqIaNFxXfsfM9UBSvzWoUnR k0uFhX5xhnDKOj0U2h3+2FdE/0aYiCxPuIMSMszXzWqPlbirqpx0VxLdtQXUpUiK AFQmAkyU2KKt6KG/9BYo6VBjDU3QJU3nvJlVD8Tbo5I5bnl3dnwJKy3Bo9+RoAKV XWVPZVka8PSHwSn2pZTITHQ1E9knnN5fEGkIi0rGtHblEQFZNyko1mmIvASiQx0j oXcoDCTXY9N2GbRd0NmGyiHeSmUdPnZwbPiYMqaGafBrzrhwywf7SLusGsCssus/ b1VE63ijatoHIvxJJAhictmU8wLcyIsd9j/EDcFCoWBCS5NWwndaWEnLycHYD9O1 nI9KBYbBUC2aQWKDBeNa6ac8MWgQJTbLFbbJxR7V2u5r5qvuLjY= =DI39 -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- From owner-freebsd-questions@freebsd.org Thu Jan 4 12:34:39 2018 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 099CAEB0AEB for ; Thu, 4 Jan 2018 12:34:39 +0000 (UTC) (envelope-from irco46@mail.ru) Received: from fallback.mail.ru (fallback14.m.smailru.net [94.100.179.44]) (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 AB59F67666 for ; Thu, 4 Jan 2018 12:34:37 +0000 (UTC) (envelope-from irco46@mail.ru) Received: from [10.161.64.56] (port=51042 helo=smtp48.i.mail.ru) by fallback14.m.smailru.net with esmtp (envelope-from ) id 1eX4jC-00029j-WB for freebsd-questions@freebsd.org; Thu, 04 Jan 2018 15:34:35 +0300 Received: by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1eX4j4-0004DR-5s; Thu, 04 Jan 2018 15:34:26 +0300 Date: Thu, 4 Jan 2018 13:33:26 +0100 From: irco To: freebsd-questions@freebsd.org Cc: Matthias Apitz Subject: Re: client for matrix.org Message-ID: <20180104123326.GA57197@mail.ru> Mail-Followup-To: freebsd-questions@freebsd.org, Matthias Apitz References: <20180104055057.GA2656@c720-r314251> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180104055057.GA2656@c720-r314251> X-Info: Per pacienco kaj fervoro =?utf-8?Q?sukcesa?= =?utf-8?B?cyDEiWl1?= laboro. X-Operating-System: FreeBSD User-Agent: mutt X-7FA49CB5: 0D63561A33F958A511AB89D59AF2DFAC555936C4268E5202BC82D310B5BA9668725E5C173C3A84C3A4DB66153333B12B124F1E36219F5F9E1F42DF47398C4A6DC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F2AF38021CC9F462D574AF45C6390F7469DAA53EE0834AAEE X-Mailru-Sender: 213ACA09A2CB248DDA8F5F1E6B4AE5B1C9EFD53FCF09E62943A6604CC28C78C4922D3FF83ADAF7550C2EAA48BDBD354738FA998476DAE4F36C0A3A9D181A3DBA964303D4DD99FC51780E28E531126E140C6A34B2A17D7C330D4ABDE8C577C2ED X-Mras: OK X-7FA49CB5: 0D63561A33F958A56ADAFD92E4EE10082809E4F2B74205EDE545C9BE8863E695462275124DF8B9C9DF33B08B2BB81206574AF45C6390F7469DAA53EE0834AAEE X-Mailru-Sender: A5480F10D64C90057D89EA641BAE1DDBD6F4121300787E459625510AA2E75943525D33B0D3204FEC9FF0D70FA88AD21C8B67290C0B8F2C0DEFD52652F427C9CEFE6F7CB4AD2B83C25C7BABE31C8308F3F1A123E9671213B467EA787935ED9F1B X-Mras: OK X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 12:34:39 -0000 On Thu, Jan 04, 2018 at 06:50:57AM +0100, Matthias Apitz wrote: > > Hello, > > Anybody knows some client for matrix.org which could run on FreeBSD? > Thanks > > matthias > -- > Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub mm runs on FreeBSD and works as advertised https://gitlab.com/meutraa/mm weechat runs on FreeBSD and seems to be extensible to the matrix protocol https://matrix.org/docs/projects/client/weechat.html From owner-freebsd-questions@freebsd.org Thu Jan 4 16:34:31 2018 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 6577BE85171 for ; Thu, 4 Jan 2018 16:34:31 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id D08FF7294D for ; Thu, 4 Jan 2018 16:34:30 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39905792 for freebsd-questions@freebsd.org; Thu, 04 Jan 2018 22:29:40 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w04GYPd8015813 for ; Thu, 4 Jan 2018 23:34:27 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w04GYMqR015812 for freebsd-questions@freebsd.org; Thu, 4 Jan 2018 23:34:22 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 4 Jan 2018 23:34:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Convert .flac and .ape to mp3 Message-ID: <20180104163421.GA15692@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 16:34:31 -0000 Dear Colleagues, What do you convert ape and flac audio files to mp3 with? multimedia/ffmpeg does not seem to support encoding to mp3 (only decoding), what else could I try? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Thu Jan 4 16:49:04 2018 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 72B6CEA427B for ; Thu, 4 Jan 2018 16:49:04 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp209.alice.it (smtp209.alice.it [82.57.200.105]) by mx1.freebsd.org (Postfix) with ESMTP id 38CAB73151 for ; Thu, 4 Jan 2018 16:49:03 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (87.18.51.42) by smtp209.alice.it (8.6.060.28) id 5A323EE804B49EC6 for freebsd-questions@freebsd.org; Thu, 4 Jan 2018 17:49:01 +0100 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id w04GmxvG005089 for ; Thu, 4 Jan 2018 17:48:59 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Convert .flac and .ape to mp3 To: freebsd-questions@freebsd.org References: <20180104163421.GA15692@admin.sibptus.transneft.ru> From: Andrea Venturoli Message-ID: Date: Thu, 4 Jan 2018 17:48:54 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180104163421.GA15692@admin.sibptus.transneft.ru> 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.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 16:49:04 -0000 On 01/04/18 17:34, Victor Sudakov wrote: > Dear Colleagues, > > What do you convert ape Never tried this. > and flac audio files to mp3 with? audio/flac + audio/lame: this is a two step conversion flac -> wav -> mp3. HTH. bye av. From owner-freebsd-questions@freebsd.org Thu Jan 4 16:52:01 2018 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 121CCEA48D6 for ; Thu, 4 Jan 2018 16:52:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7349F7351B for ; Thu, 4 Jan 2018 16:51:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.183]) with ESMTPA (Nemesis) id 0M2d6r-1enzAm10WD-00sP3n; Thu, 04 Jan 2018 17:51:57 +0100 Date: Thu, 4 Jan 2018 17:51:56 +0100 From: Polytropon To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180104175156.440fa0c2.freebsd@edvax.de> In-Reply-To: <20180104163421.GA15692@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> 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-Provags-ID: V03:K0:ZBiIf6rw2V1uLDRfK5vYfy45nncHpvQSdtRw3CFUdpflvPCU9q5 mIHXmsKXw3t181+2q4ubK0HO/9tErhqyEQJ/n/44MvlXcCXrt0WWJfFL4MwK5De1bU6rjqX RlVquCIJ2CjwZZhaO2rJ0ID08GXWIf9mlM/ypZt0ifUJn5OOEvJ2igE0Hk4OfE/po3YDZFY prBAbnJxNvGZRK0Ugx8Vg== X-UI-Out-Filterresults: notjunk:1;V01:K0:ytBp6OU22sw=:daKPImu1UjcjlTxCMhSGvv kuDmijucXe3X6TYnT/Ysb/+wqdhn/reofkbkT1TnLr50uUcliuweEJakMkVV2JKbVfEWu26p/ WDrIZSpNpr4HMIZXL4MqJsII36axO5g+1PNoSIc0CjMTmq8NHGj199bY3srHUPnYsYSWKw00k SWDFTmyVUvE/ETv/wjRpomqYbpcCAEtnIvyHPQBxf1hsfvCH9B56R+YGamx8nT/3kO+BNlY5y PwldSodLeYhJAQCcQBGOCcvttz1yPw8uZ02XNMhYH/YnXoZnx19SL3tXA8L4AoIufVhhgrMrG ykCv5rTOdEpp+7ACLs9OXf1OKk/UB7Lzk6VUV5P9sQoPeL0kjluzqp/mOzWH/6Vl4AAIgcxkk QSbXBzH28DOppEIqu74c+TfpZqwV01xOUuR9G43hZX+bDxruJS2AEHEzo8hSxoCqM3RDSrcef HRO7MR1v4LQ85wDKCTlCFCU86wo1cmn517SYAYLg1w1zvr/sJMn6GGhcHdqLbBCM8Uu+vIzCo HB8+3fiR5KKigmw/4dE5SXSaGBbD1GNZRWckoWOfo6GoSoAv/yXGEQ6ZSsL9WzzQ9ca8kS6tN htrY3/ryOuFjtg70iCj/6VvfZv8HzbQaI2U2NIrHBnBI+9V7/bc6kzOwncbngPWj1dLwZg1Gr T5hLNJxRJOozGne2Uesru46BmfKuPDtCRJr5/kV4jIU+WmdwR/tM7rJ6Pp3h1pm2+cOwS2LC4 OtjPy8RLByBCy1iTml8/3dPiJxUeCItZB/Uox2XPKLhOptzm6+Y9+APyjXw= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 16:52:01 -0000 On Thu, 4 Jan 2018 23:34:21 +0700, Victor Sudakov wrote: > What do you convert ape and flac audio files to mp3 with? > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > decoding), what else could I try? Huh? I'm using ffmpeg regularly to convert from mp4 or flv _to_ mp3, this works quite well. Maybe you need to install an additional encoder, plugin, or library if you're lacking mp3 support? % ffmpeg -i example.flv example.mp3 It does what it says on the can. Works for years. :-) With ffmpeg's mp3 support, you should be able to convert from flac or ape in a similar manner. Additionally, mencoder might have the ability to convert from flac or ape to mp3, as it usually can read and write any format. Even though mencoder is primarily intended for multimedia use (video and audio), it can process "just audio" as well. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Jan 4 17:06:44 2018 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 5FAB0EA5E0C for ; Thu, 4 Jan 2018 17:06:44 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id AD59573FD6 for ; Thu, 4 Jan 2018 17:06:42 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39905814; Thu, 04 Jan 2018 23:01:53 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w04H6c6S016193; Fri, 5 Jan 2018 00:06:40 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w04H6Ydt016190; Fri, 5 Jan 2018 00:06:34 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 5 Jan 2018 00:06:34 +0700 From: Victor Sudakov To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180104170633.GA16142@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104165145.57260d5690b958a46390b9d9@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180104165145.57260d5690b958a46390b9d9@sohara.org> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 17:06:44 -0000 Steve O'Hara-Smith wrote: > > > > What do you convert ape and flac audio files to mp3 with? > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > decoding), what else could I try? > > The package doesn't support creating mp3 files for legal reasons, > but if you build the port and enable the LAME option then you can encode > mp3s with ffmpeg. Alternatively you can build the lame port decode to pcm > (or wav) and then encode with lame. > > I'm fairly sure that all the mp3 encoders require building ports > for legal reasons. That was it. I use the default FreeBSD pkg repository with my desktop system, the audio/lame package is totally absent from there and the multimedia/ffmpeg package is missing MP3 encoding capability. I'll have to build them from ports enabling MP3 encoding, which I'm doing now. BTW how do you manage such a situation when all of your packages are from a remote repository and a couple of others you have to build from ports locally (or install from another repository)? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Thu Jan 4 17:30:32 2018 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 2D148EA7BA2 for ; Thu, 4 Jan 2018 17:30:32 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEF0A75184 for ; Thu, 4 Jan 2018 17:30:31 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1515087033; x=1517679033; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=ab0KOiFQ5QZ5x3PkhZ2c2psfhJW2pY1H//rW3TwHXzU=; b=IAwbw+V/CzPLNDP69i/+7N0nEEhVgCrKrPbJQcrlh9+xS06u7okiS1bCUuc3g7QZRjsS9JNt5r/ys8b6sYpCMj4FY5LnLDgqoHFe1cMhmgFG9/mG7wUDziFXrsELt4uNSdFqjWLKnqZd3LGBHwVLmnTlePBDX4B9spx+0ZQ9MLg= X-Thread-Info: NDI1MC4xMi44MTAwMDAwMTQyZGVlNC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r2.sg.in.socketlabs.com (r2.sg.in.socketlabs.com [142.0.179.12]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 12:30:28 -0500 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r2.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 12:30:24 -0500 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 1eX9LS-000An3-Sa; Thu, 04 Jan 2018 17:30:22 +0000 Date: Thu, 4 Jan 2018 17:30:22 +0000 From: Steve O'Hara-Smith To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180104173022.14483fd42a6851ead9955bef@sohara.org> In-Reply-To: <20180104170633.GA16142@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104165145.57260d5690b958a46390b9d9@sohara.org> <20180104170633.GA16142@admin.sibptus.transneft.ru> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) 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.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 17:30:32 -0000 On Fri, 5 Jan 2018 00:06:34 +0700 Victor Sudakov wrote: > BTW how do you manage such a situation when all of your packages are > from a remote repository and a couple of others you have to build from > ports locally (or install from another repository)? Firstly I make sure that I minimise the building by doing this in the port directory before building: pkg install `make missing` Then once the port is built, installed and I'm happy with it I use pkg lock to prevent pkg upgrade from messing with it. From time to time I update my ports tree and rebuild (pkg unlock first). -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/ From owner-freebsd-questions@freebsd.org Thu Jan 4 17:39:09 2018 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 66B7BEA85D2 for ; Thu, 4 Jan 2018 17:39:09 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id D10347578C for ; Thu, 4 Jan 2018 17:39:07 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39905827; Thu, 04 Jan 2018 23:34:18 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w04Hd4RU016452; Fri, 5 Jan 2018 00:39:06 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w04Hd0bK016451; Fri, 5 Jan 2018 00:39:00 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 5 Jan 2018 00:39:00 +0700 From: Victor Sudakov To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180104173900.GA16381@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104165145.57260d5690b958a46390b9d9@sohara.org> <20180104170633.GA16142@admin.sibptus.transneft.ru> <20180104173022.14483fd42a6851ead9955bef@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180104173022.14483fd42a6851ead9955bef@sohara.org> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 17:39:09 -0000 Steve O'Hara-Smith wrote: > > > BTW how do you manage such a situation when all of your packages are > > from a remote repository and a couple of others you have to build from > > ports locally (or install from another repository)? > > Firstly I make sure that I minimise the building by doing this in > the port directory before building: > > pkg install `make missing` > > Then once the port is built, installed and I'm happy with it I use > pkg lock to prevent pkg upgrade from messing with it. From time to time I > update my ports tree and rebuild (pkg unlock first). The "pkg lock" way is kind of ugly. Did you ever try to bind your special package to a special repository (e.g. your very own poudriere), while the rest of the packages should keep affinity to the default repository (the FreeBSD project repository)? Is it at all possible with pkg(8) ? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Thu Jan 4 17:52:04 2018 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 3D555EA9670 for ; Thu, 4 Jan 2018 17:52:04 +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 0B8817635F for ; Thu, 4 Jan 2018 17:52:03 +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=1515088325; x=1517680325; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=J/47T64oL2cyJj/7614Kgspi9jDFD75s6HHDnXzkLjI=; b=U4FEAoVT3Ko4Go9O23iwIIkTp7bzdRNvBi+0DsnFaO6mpUZBrNysToYizK/zloXIIg148YJbtchPfYUUgHmFwCFQPspxgal13huzio22EFrlqipnynXzDU9ENjLSxYzlEexF2dhvsL/RnWwLmXfcBfqTuovf24iFluqkFqIdOHc= X-Thread-Info: NDI1MC4xMi44MTAwMDAwMTQyOTgxMC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r5.us-east.aws.in.socketlabs.com (r5.us-east.aws.in.socketlabs.com [52.204.195.176]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 11:51:51 -0500 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r5.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 11:51:48 -0500 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 1eX8k6-000AVD-4O; Thu, 04 Jan 2018 16:51:46 +0000 Date: Thu, 4 Jan 2018 16:51:45 +0000 From: Steve O'Hara-Smith To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180104165145.57260d5690b958a46390b9d9@sohara.org> In-Reply-To: <20180104163421.GA15692@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> X-Mailer: Sylpheed 3.6.0 (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.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 17:52:04 -0000 On Thu, 4 Jan 2018 23:34:21 +0700 Victor Sudakov wrote: > Dear Colleagues, > > What do you convert ape and flac audio files to mp3 with? > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > decoding), what else could I try? The package doesn't support creating mp3 files for legal reasons, but if you build the port and enable the LAME option then you can encode mp3s with ffmpeg. Alternatively you can build the lame port decode to pcm (or wav) and then encode with lame. I'm fairly sure that all the mp3 encoders require building ports for legal reasons. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Jan 4 18:15:42 2018 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 8134CEAB14B for ; Thu, 4 Jan 2018 18:15:42 +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 4DEBB7728D for ; Thu, 4 Jan 2018 18:15:42 +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=1515089744; x=1517681744; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=ufIE+7mZ2H+FaBK+TfgEHdqWQsF7cTG6Nv0jGXk2ogE=; b=ulj/qN/QdOeBZs7UI7V3R7mw98156Wl6chl1UVU9Fp9U0ni6nxMCbrbMaVNYWp0fXvdLR79yJ55BZR7FVDLWAmtqCLYcEwjdVz6yK03tZYy5kXsvpIUbkps3Xu0O1VkMEJMp9nKBmzWNFhzL/A0cS++/+Wt+ak+sAxomvxCp76c= X-Thread-Info: NDI1MC4xMi44MTAwMDAwMTQzMzAyMy5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r2.sg.in.socketlabs.com (r2.sg.in.socketlabs.com [142.0.179.12]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 13:15:40 -0500 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r2.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 13:15:37 -0500 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 1eXA3C-000B6V-UD; Thu, 04 Jan 2018 18:15:34 +0000 Date: Thu, 4 Jan 2018 18:15:34 +0000 From: Steve O'Hara-Smith To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180104181534.6998c38ce1e38acff9c9c4e3@sohara.org> In-Reply-To: <20180104173900.GA16381@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104165145.57260d5690b958a46390b9d9@sohara.org> <20180104170633.GA16142@admin.sibptus.transneft.ru> <20180104173022.14483fd42a6851ead9955bef@sohara.org> <20180104173900.GA16381@admin.sibptus.transneft.ru> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) 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.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 18:15:42 -0000 On Fri, 5 Jan 2018 00:39:00 +0700 Victor Sudakov wrote: > Steve O'Hara-Smith wrote: > > > > > BTW how do you manage such a situation when all of your packages are > > > from a remote repository and a couple of others you have to build from > > > ports locally (or install from another repository)? > > > > Firstly I make sure that I minimise the building by doing this > > in the port directory before building: > > > > pkg install `make missing` > > > > Then once the port is built, installed and I'm happy with it I > > use pkg lock to prevent pkg upgrade from messing with it. From time to > > time I update my ports tree and rebuild (pkg unlock first). > > The "pkg lock" way is kind of ugly. Did you ever try to bind your It's fine for a small number of packages, when you want to be precise about what comes from local builds. The catch is that if you don't pay attention then sooner or later a pkg upgrade rips a dependency out from under your custom build and you don't find out until you need the tool at which point the need to do a build tends to cause bad language. > special package to a special repository (e.g. your very own > poudriere), while the rest of the packages should keep affinity to the > default repository (the FreeBSD project repository)? Is it at all > possible with pkg(8) ? I did try maintaining my own repository with poudriere for a while, pkg supports multiple repositories with a preference order so it was happy enough to pull from my repository preferentially. The only downside was that I had to build all the dependencies as well as the ports I wanted and I kept getting into trouble trying to keep the versions in sync. Nothing's perfect sadly - both ways are workable and both take work. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/ From owner-freebsd-questions@freebsd.org Thu Jan 4 18:35:29 2018 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 C0CE8EACCC8 for ; Thu, 4 Jan 2018 18:35:29 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: from sonic305-20.consmr.mail.ir2.yahoo.com (sonic305-20.consmr.mail.ir2.yahoo.com [77.238.177.82]) (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 3EE3F78AF7 for ; Thu, 4 Jan 2018 18:35:28 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) X-YMail-OSG: ALV2lz8VM1nDyPGeA8bIbojwCrtAIuAw1Grx7luVrI4pCU82OUhHigi7pXIokOs 7LSLnekNZhvNL29Qd30lbI3n3QNT.2WTJ835jjNNVYSIU0ofyYWhsu6fcpCZqEYmufnjB4j5FkwS z7bBxjmI9Drx0Flwg0GdKGeVjUH2HjMUy2gR5S1TquyI9RCBn_NILCilHiLsNYVNO9Lc_I8Md3PD QJFFkbOtTNbZLLYnWVGHiq80YlO8RlKO2CXz5fwWhFPQ5ZUM5xH4Zn6dlaJDsXQyyEqKfxBHAlU1 64llzfF0bc6Ycrr0OEZUTwmfEEL5M1RtnnYngF.xSS6tgNJz6nSMRTVNGxGI3d.qvRuDUU3ASFro xYayy44VcNlweT3TeMrTeaW2ALHVpiMcqf_XBobDOyTAJdKcrzMby3i6bxx6FzY3OM0r0JIPt.E. YGs9m26SnbtA5z.mrHSL6_lfRYJ4IqxektRGsKRHw0KQCBFtkO_XyZXH2CExk3vx7qkrwmUP2hM_ rj9P6ppHef0efcEIxiC1UsHFaFIdqfxuouwLKWMpDuL_1a.zxiqadlfA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Thu, 4 Jan 2018 18:35:26 +0000 Received: from smtpgate104.mail.ir2.yahoo.com (EHLO [10.0.0.5]) ([217.146.188.5]) by smtp413.mail.ir2.yahoo.com (JAMES SMTP Server ) with ESMTPA ID fefb082c2e62924bdf08cabdcc5374f4 for ; Thu, 04 Jan 2018 18:35:24 +0000 (UTC) From: Per Gunnarsson Subject: Static noise with microphone To: freebsd-questions@freebsd.org Message-ID: Date: Thu, 4 Jan 2018 19:35:23 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------B14E4C00B064B6388549B4A3" Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 18:35:29 -0000 This is a multi-part message in MIME format. --------------B14E4C00B064B6388549B4A3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello! I have attached a microphone (a Mico from Trust) to the mic in on my computer, and it produces some static noise. It's not connected to the USB port. Is this just hardware related or is there anything I can change in the software to get rid of it? You can hear the noise here: http://mustafejen.se:8000/stream.ogg I found this in my dmesg: hdac0: mem 0xfe080000-0xfe083fff at device 0.1 on pci3 hdac1: mem 0xfe500000-0xfe503fff at device 9.2 on pci0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 5 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20,27 and 24,26 on hdaa1 pcm2: at nid 21 and 25 on hdaa1 [per@konjak ~]$ mixer Mixer vol      is currently set to  85:85 Mixer pcm      is currently set to 100:100 Mixer speaker  is currently set to  74:74 Mixer line     is currently set to   1:1 Mixer mic      is currently set to  90:90 Mixer mix      is currently set to  74:74 Mixer rec      is currently set to  85:85 Mixer igain    is currently set to 100:100 Mixer ogain    is currently set to 100:100 Recording source: mic Regards, Per Gunnarsson --------------B14E4C00B064B6388549B4A3 Content-Type: text/plain; charset=UTF-8; name="dmesg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="dmesg" Q29weXJpZ2h0IChjKSAxOTkyLTIwMTcgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0 IChjKSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAx OTkzLCAxOTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlh LiBBbGwgcmlnaHRzIHJlc2VydmVkLgpGcmVlQlNEIGlzIGEgcmVnaXN0ZXJlZCB0cmFkZW1h cmsgb2YgVGhlIEZyZWVCU0QgRm91bmRhdGlvbi4KRnJlZUJTRCAxMS4xLVJFTEVBU0UtcDQg IzA6IFR1ZSBOb3YgMTQgMDY6MTI6NDAgVVRDIDIwMTcKICAgIHJvb3RAYW1kNjQtYnVpbGRl ci5kYWVtb25vbG9neS5uZXQ6L3Vzci9vYmovdXNyL3NyYy9zeXMvR0VORVJJQyBhbWQ2NApG cmVlQlNEIGNsYW5nIHZlcnNpb24gNC4wLjAgKHRhZ3MvUkVMRUFTRV80MDAvZmluYWwgMjk3 MzQ3KSAoYmFzZWQgb24gTExWTSA0LjAuMCkKVlQoZWZpZmIpOiByZXNvbHV0aW9uIDEwMjR4 NzY4CkNQVTogQU1EIEExMC05NzAwIFJBREVPTiBSNywgMTAgQ09NUFVURSBDT1JFUyA0Qys2 RyAgKDM0OTMuNTEtTUh6IEs4LWNsYXNzIENQVSkKICBPcmlnaW49IkF1dGhlbnRpY0FNRCIg IElkPTB4NjYwZjUxICBGYW1pbHk9MHgxNSAgTW9kZWw9MHg2NSAgU3RlcHBpbmc9MQogIEZl YXR1cmVzPTB4MTc4YmZiZmY8RlBVLFZNRSxERSxQU0UsVFNDLE1TUixQQUUsTUNFLENYOCxB UElDLFNFUCxNVFJSLFBHRSxNQ0EsQ01PVixQQVQsUFNFMzYsQ0xGTFVTSCxNTVgsRlhTUixT U0UsU1NFMixIVFQ+CiAgRmVhdHVyZXMyPTB4N2VkODMyMGI8U1NFMyxQQ0xNVUxRRFEsTU9O LFNTU0UzLEZNQSxDWDE2LFNTRTQuMSxTU0U0LjIsTU9WQkUsUE9QQ05ULEFFU05JLFhTQVZF LE9TWFNBVkUsQVZYLEYxNkMsUkRSQU5EPgogIEFNRCBGZWF0dXJlcz0weDJlNTAwODAwPFNZ U0NBTEwsTlgsTU1YKyxGRlhTUixQYWdlMUdCLFJEVFNDUCxMTT4KICBBTUQgRmVhdHVyZXMy PTB4MmZlYmJmZmY8TEFIRixDTVAsU1ZNLEV4dEFQSUMsQ1I4LEFCTSxTU0U0QSxNQVMsUHJl ZmV0Y2gsT1NWVyxJQlMsWE9QLFNLSU5JVCxXRFQsTFdQLEZNQTQsVENFLE5vZGVJZCxUQk0s VG9wb2xvZ3ksUENYQyxQTlhDLDxiMjU+LERCRSxQVFNDLE1XQUlUWD4KICBTdHJ1Y3R1cmVk IEV4dGVuZGVkIEZlYXR1cmVzPTB4MWE5PEZTR1NCQVNFLEJNSTEsQVZYMixTTUVQLEJNSTI+ CiAgWFNBVkUgRmVhdHVyZXM9MHgxPFhTQVZFT1BUPgogIFNWTTogTlAsTlJJUCxWQ2xlYW4s QUZsdXNoLERBc3Npc3QsTkFzaWRzPTMyNzY4CiAgVFNDOiBQLXN0YXRlIGludmFyaWFudCwg cGVyZm9ybWFuY2Ugc3RhdGlzdGljcwpyZWFsIG1lbW9yeSAgPSA4NTg5OTM0NTkyICg4MTky IE1CKQphdmFpbCBtZW1vcnkgPSA4MTkxNDkyMDk2ICg3ODEyIE1CKQpFdmVudCB0aW1lciAi TEFQSUMiIHF1YWxpdHkgMTAwCkFDUEkgQVBJQyBUYWJsZTogPExFTk9WTyBUQy1NMTQgID4K RnJlZUJTRC9TTVA6IE11bHRpcHJvY2Vzc29yIFN5c3RlbSBEZXRlY3RlZDogNCBDUFVzCkZy ZWVCU0QvU01QOiAxIHBhY2thZ2UocykgeCA0IGNvcmUocykKcmFuZG9tOiB1bmJsb2NraW5n IGRldmljZS4KQUNQSSBCSU9TIFdhcm5pbmcgKGJ1Zyk6IE9wdGlvbmFsIEZBRFQgZmllbGQg UG0yQ29udHJvbEJsb2NrIGhhcyB2YWxpZCBMZW5ndGggYnV0IHplcm8gQWRkcmVzczogMHgw MDAwMDAwMDAwMDAwMDAwLzB4MSAoMjAxNzAzMDMvdGJmYWR0LTc5NikKaW9hcGljMCA8VmVy c2lvbiAyLjE+IGlycXMgMC0yMyBvbiBtb3RoZXJib2FyZAppb2FwaWMxIDxWZXJzaW9uIDIu MT4gaXJxcyAyNC01NSBvbiBtb3RoZXJib2FyZApTTVA6IEFQIENQVSAjMyBMYXVuY2hlZCEK U01QOiBBUCBDUFUgIzEgTGF1bmNoZWQhClNNUDogQVAgQ1BVICMyIExhdW5jaGVkIQpUaW1l Y291bnRlciAiVFNDLWxvdyIgZnJlcXVlbmN5IDE3NDY3NTU3NTEgSHogcXVhbGl0eSAxMDAw CnJhbmRvbTogZW50cm9weSBkZXZpY2UgZXh0ZXJuYWwgaW50ZXJmYWNlCmtiZDEgYXQga2Jk bXV4MApuZXRtYXA6IGxvYWRlZCBtb2R1bGUKbW9kdWxlX3JlZ2lzdGVyX2luaXQ6IE1PRF9M T0FEICh2ZXNhLCAweGZmZmZmZmZmODBmNWIyMjAsIDApIGVycm9yIDE5CnJhbmRvbTogcmVn aXN0ZXJpbmcgZmFzdCBzb3VyY2UgSW50ZWwgU2VjdXJlIEtleSBSTkcKcmFuZG9tOiBmYXN0 IHByb3ZpZGVyOiAiSW50ZWwgU2VjdXJlIEtleSBSTkciCm52aWRpYS1tb2Rlc2V0OiBMb2Fk aW5nIE5WSURJQSBLZXJuZWwgTW9kZSBTZXR0aW5nIERyaXZlciBmb3IgVU5JWCBwbGF0Zm9y bXMgIDM4NC41OSAgV2VkIEp1bCAxOSAyMzozMjoyNyBQRFQgMjAxNwpuZXh1czAKY3J5cHRv c29mdDA6IDxzb2Z0d2FyZSBjcnlwdG8+IG9uIG1vdGhlcmJvYXJkCmFjcGkwOiA8TEVOT1ZP IFRDLU0xND4gb24gbW90aGVyYm9hcmQKYWNwaTA6IFBvd2VyIEJ1dHRvbiAoZml4ZWQpCmNw dTA6IDxBQ1BJIENQVT4gb24gYWNwaTAKY3B1MTogPEFDUEkgQ1BVPiBvbiBhY3BpMApjcHUy OiA8QUNQSSBDUFU+IG9uIGFjcGkwCmNwdTM6IDxBQ1BJIENQVT4gb24gYWNwaTAKYXR0aW1l cjA6IDxBVCB0aW1lcj4gcG9ydCAweDQwLTB4NDMgaXJxIDAgb24gYWNwaTAKVGltZWNvdW50 ZXIgImk4MjU0IiBmcmVxdWVuY3kgMTE5MzE4MiBIeiBxdWFsaXR5IDAKRXZlbnQgdGltZXIg Imk4MjU0IiBmcmVxdWVuY3kgMTE5MzE4MiBIeiBxdWFsaXR5IDEwMAphdHJ0YzA6IDxBVCBy ZWFsdGltZSBjbG9jaz4gcG9ydCAweDcwLTB4NzEgb24gYWNwaTAKRXZlbnQgdGltZXIgIlJU QyIgZnJlcXVlbmN5IDMyNzY4IEh6IHF1YWxpdHkgMApocGV0MDogPEhpZ2ggUHJlY2lzaW9u IEV2ZW50IFRpbWVyPiBpb21lbSAweGZlZDAwMDAwLTB4ZmVkMDAzZmYgaXJxIDAsOCBvbiBh Y3BpMApUaW1lY291bnRlciAiSFBFVCIgZnJlcXVlbmN5IDE0MzE4MTgwIEh6IHF1YWxpdHkg OTUwCkV2ZW50IHRpbWVyICJIUEVUIiBmcmVxdWVuY3kgMTQzMTgxODAgSHogcXVhbGl0eSA0 NTAKRXZlbnQgdGltZXIgIkhQRVQxIiBmcmVxdWVuY3kgMTQzMTgxODAgSHogcXVhbGl0eSA0 NTAKRXZlbnQgdGltZXIgIkhQRVQyIiBmcmVxdWVuY3kgMTQzMTgxODAgSHogcXVhbGl0eSA0 NTAKVGltZWNvdW50ZXIgIkFDUEktZmFzdCIgZnJlcXVlbmN5IDM1Nzk1NDUgSHogcXVhbGl0 eSA5MDAKYWNwaV90aW1lcjA6IDwzMi1iaXQgdGltZXIgYXQgMy41Nzk1NDVNSHo+IHBvcnQg MHg4MDgtMHg4MGIgb24gYWNwaTAKcGNpYjA6IDxBQ1BJIEhvc3QtUENJIGJyaWRnZT4gcG9y dCAweGNmOC0weGNmZiBvbiBhY3BpMApwY2liMDogX09TQyByZXR1cm5lZCBlcnJvciAweDEw CnBjaTA6IDxBQ1BJIFBDSSBidXM+IG9uIHBjaWIwCnBjaTA6IDxiYXNlIHBlcmlwaGVyYWws IElPTU1VPiBhdCBkZXZpY2UgMC4yIChubyBkcml2ZXIgYXR0YWNoZWQpCnBjaWIxOiA8QUNQ SSBQQ0ktUENJIGJyaWRnZT4gYXQgZGV2aWNlIDIuMSBvbiBwY2kwCnBjaTE6IDxBQ1BJIFBD SSBidXM+IG9uIHBjaWIxCm52bWUwOiA8R2VuZXJpYyBOVk1lIERldmljZT4gbWVtIDB4ZmU0 MDAwMDAtMHhmZTQwM2ZmZiBhdCBkZXZpY2UgMC4wIG9uIHBjaTEKcGNpYjI6IDxBQ1BJIFBD SS1QQ0kgYnJpZGdlPiBhdCBkZXZpY2UgMi4zIG9uIHBjaTAKcGNpMjogPEFDUEkgUENJIGJ1 cz4gb24gcGNpYjIKcmUwOiA8UmVhbFRlayA4MTY4LzgxMTEgQi9DL0NQL0QvRFAvRS9GL0cg UENJZSBHaWdhYml0IEV0aGVybmV0PiBwb3J0IDB4ZTAwMC0weGUwZmYgbWVtIDB4ZmUzMDAw MDAtMHhmZTMwMGZmZiwweGYyMDAwMDAwLTB4ZjIwMDNmZmYgYXQgZGV2aWNlIDAuMCBvbiBw Y2kyCnJlMDogVXNpbmcgMSBNU0ktWCBtZXNzYWdlCnJlMDogQ2hpcCByZXYuIDB4NGMwMDAw MDAKcmUwOiBNQUMgcmV2LiAweDAwMDAwMDAwCm1paWJ1czA6IDxNSUkgYnVzPiBvbiByZTAK cmdlcGh5MDogPFJUTDgyNTEgMTAwMEJBU0UtVCBtZWRpYSBpbnRlcmZhY2U+IFBIWSAxIG9u IG1paWJ1czAKcmdlcGh5MDogIG5vbmUsIDEwYmFzZVQsIDEwYmFzZVQtRkRYLCAxMGJhc2VU LUZEWC1mbG93LCAxMDBiYXNlVFgsIDEwMGJhc2VUWC1GRFgsIDEwMGJhc2VUWC1GRFgtZmxv dywgMTAwMGJhc2VULUZEWCwgMTAwMGJhc2VULUZEWC1tYXN0ZXIsIDEwMDBiYXNlVC1GRFgt ZmxvdywgMTAwMGJhc2VULUZEWC1mbG93LW1hc3RlciwgYXV0bywgYXV0by1mbG93CnJlMDog VXNpbmcgZGVmYXVsdHMgZm9yIFRTTzogNjU1MTgvMzUvMjA0OApyZTA6IEV0aGVybmV0IGFk ZHJlc3M6IDZjOjRiOjkwOjBmOjhiOjkxCnJlMDogbmV0bWFwIHF1ZXVlcy9zbG90czogVFgg MS8yNTYsIFJYIDEvMjU2CnBjaWIzOiA8QUNQSSBQQ0ktUENJIGJyaWRnZT4gYXQgZGV2aWNl IDMuMSBvbiBwY2kwCnBjaTM6IDxBQ1BJIFBDSSBidXM+IG9uIHBjaWIzCnZnYXBjaTA6IDxW R0EtY29tcGF0aWJsZSBkaXNwbGF5PiBwb3J0IDB4ZDAwMC0weGQwN2YgbWVtIDB4ZmQwMDAw MDAtMHhmZGZmZmZmZiwweGU4MDAwMDAwLTB4ZWZmZmZmZmYsMHhmMDAwMDAwMC0weGYxZmZm ZmZmIGF0IGRldmljZSAwLjAgb24gcGNpMwpudmlkaWEwOiA8R2VGb3JjZSBHVCA3MzA+IG9u IHZnYXBjaTAKdmdhcGNpMDogY2hpbGQgbnZpZGlhMCByZXF1ZXN0ZWQgcGNpX2VuYWJsZV9p bwp2Z2FwY2kwOiBjaGlsZCBudmlkaWEwIHJlcXVlc3RlZCBwY2lfZW5hYmxlX2lvCmhkYWMw OiA8TlZJRElBICgweDBlMGYpIEhEQSBDb250cm9sbGVyPiBtZW0gMHhmZTA4MDAwMC0weGZl MDgzZmZmIGF0IGRldmljZSAwLjEgb24gcGNpMwpwY2kwOiA8ZW5jcnlwdC9kZWNyeXB0PiBh dCBkZXZpY2UgOC4wIChubyBkcml2ZXIgYXR0YWNoZWQpCmhkYWMxOiA8QU1EICgweDE1N2Ep IEhEQSBDb250cm9sbGVyPiBtZW0gMHhmZTUwMDAwMC0weGZlNTAzZmZmIGF0IGRldmljZSA5 LjIgb24gcGNpMAp4aGNpMDogPFhIQ0kgKGdlbmVyaWMpIFVTQiAzLjAgY29udHJvbGxlcj4g bWVtIDB4ZmU1MDQwMDAtMHhmZTUwNWZmZiBhdCBkZXZpY2UgMTYuMCBvbiBwY2kwCnhoY2kw OiAzMiBieXRlcyBjb250ZXh0IHNpemUsIDY0LWJpdCBETUEKeGhjaTA6IFVuYWJsZSB0byBt YXAgTVNJLVggdGFibGUgCnVzYnVzMCBvbiB4aGNpMAp1c2J1czA6IDUuMEdicHMgU3VwZXIg U3BlZWQgVVNCIHYzLjAKYWhjaTA6IDxBSENJIFNBVEEgY29udHJvbGxlcj4gcG9ydCAweGYw NDAtMHhmMDQ3LDB4ZjAzMC0weGYwMzMsMHhmMDIwLTB4ZjAyNywweGYwMTAtMHhmMDEzLDB4 ZjAwMC0weGYwMGYgbWVtIDB4ZmU1MDkwMDAtMHhmZTUwOTNmZiBhdCBkZXZpY2UgMTcuMCBv biBwY2kwCmFoY2kwOiBBSENJIHYxLjMwIHdpdGggMiA2R2JwcyBwb3J0cywgUG9ydCBNdWx0 aXBsaWVyIHN1cHBvcnRlZCB3aXRoIEZCUwphaGNpY2gwOiA8QUhDSSBjaGFubmVsPiBhdCBj aGFubmVsIDAgb24gYWhjaTAKYWhjaWNoMTogPEFIQ0kgY2hhbm5lbD4gYXQgY2hhbm5lbCAx IG9uIGFoY2kwCmlzYWIwOiA8UENJLUlTQSBicmlkZ2U+IGF0IGRldmljZSAyMC4zIG9uIHBj aTAKaXNhMDogPElTQSBidXM+IG9uIGlzYWIwCnNkaGNpX3BjaTA6IDxHZW5lcmljIFNEIEhD ST4gbWVtIDB4ZmU1MDgwMDAtMHhmZTUwODBmZiBhdCBkZXZpY2UgMjAuNyBvbiBwY2kwCnNk aGNpX3BjaTA6IDEgc2xvdChzKSBhbGxvY2F0ZWQKYWNwaV9idXR0b24wOiA8UG93ZXIgQnV0 dG9uPiBvbiBhY3BpMAp1YXJ0MDogPDE2NTUwIG9yIGNvbXBhdGlibGU+IHBvcnQgMHgzZjgt MHgzZmYgaXJxIDQgZmxhZ3MgMHgxMCBvbiBhY3BpMAphdGtiZGMwOiA8S2V5Ym9hcmQgY29u dHJvbGxlciAoaTgwNDIpPiBhdCBwb3J0IDB4NjAsMHg2NCBvbiBpc2EwCmF0a2JkMDogPEFU IEtleWJvYXJkPiBpcnEgMSBvbiBhdGtiZGMwCmtiZDAgYXQgYXRrYmQwCmF0a2JkMDogW0dJ QU5ULUxPQ0tFRF0KcHBjMDogY2Fubm90IHJlc2VydmUgSS9PIHBvcnQgcmFuZ2UKaHdwc3Rh dGUwOiA8Q29vbGBuJ1F1aWV0IDIuMD4gb24gY3B1MApUaW1lY291bnRlcnMgdGljayBldmVy eSAxLjAwMCBtc2VjCm52bWUgY2FtIHByb2JlIGRldmljZSBpbml0CnVnZW4wLjE6IDwweDEw MjIgWEhDSSByb290IEhVQj4gYXQgdXNidXMwCnVodWIwOiA8MHgxMDIyIFhIQ0kgcm9vdCBI VUIsIGNsYXNzIDkvMCwgcmV2IDMuMDAvMS4wMCwgYWRkciAxPiBvbiB1c2J1czAKbnZkMDog PFNBTVNVTkcgTVpWTFcyNTZIRUhQLTAwMEw3PiBOVk1lIG5hbWVzcGFjZQpudmQwOiAyNDQx OThNQiAoNTAwMTE4MTkyIDUxMiBieXRlIHNlY3RvcnMpCmhkYWNjMDogPE5WSURJQSAoMHgw MDUxKSBIREEgQ09ERUM+IGF0IGNhZCAwIG9uIGhkYWMwCmhkYWEwOiA8TlZJRElBICgweDAw NTEpIEF1ZGlvIEZ1bmN0aW9uIEdyb3VwPiBhdCBuaWQgMSBvbiBoZGFjYzAKcGNtMDogPE5W SURJQSAoMHgwMDUxKSAoSERNSS9EUCA4Y2gpPiBhdCBuaWQgNSBvbiBoZGFhMApoZGFjYzE6 IDxSZWFsdGVrIEFMQzY2MiBIREEgQ09ERUM+IGF0IGNhZCAwIG9uIGhkYWMxCmhkYWExOiA8 UmVhbHRlayBBTEM2NjIgQXVkaW8gRnVuY3Rpb24gR3JvdXA+IGF0IG5pZCAxIG9uIGhkYWNj MQpwY20xOiA8UmVhbHRlayBBTEM2NjIgKEFuYWxvZyAyLjArSFAvMi4wKT4gYXQgbmlkIDIw LDI3IGFuZCAyNCwyNiBvbiBoZGFhMQpwY20yOiA8UmVhbHRlayBBTEM2NjIgKEFuYWxvZyk+ IGF0IG5pZCAyMSBhbmQgMjUgb24gaGRhYTEKYWRhMCBhdCBhaGNpY2gwIGJ1cyAwIHNjYnVz MCB0YXJnZXQgMCBsdW4gMAphZGEwOiA8V0RDIFdEMTBFWkVYLTA4V040QTAgMDEuMDFBMDE+ IEFDUy0zIEFUQSBTQVRBIDMueCBkZXZpY2UKYWRhMDogU2VyaWFsIE51bWJlciBXRC1XQ0M2 WTFKTFJKVUUKYWRhMDogNjAwLjAwME1CL3MgdHJhbnNmZXJzIChTQVRBIDMueCwgVURNQTUs IFBJTyA4MTkyYnl0ZXMpCmNkMCBhdCBhaGNpY2gxIGJ1cyAwIHNjYnVzMSB0YXJnZXQgMCBs dW4gMAphZGEwOiBDb21tYW5kIFF1ZXVlaW5nIGVuYWJsZWQKY2QwOiBhZGEwOiA5NTM4NjlN QiAoMTk1MzUyNTE2OCA1MTIgYnl0ZSBzZWN0b3JzKQo8UExEUyBEVkQtUlcgREE4QUVTSCBY TDZNPiBSZW1vdmFibGUgQ0QtUk9NIFNDU0kgZGV2aWNlCmNkMDogU2VyaWFsIE51bWJlciBE WDBLODQxNzBMMUNCNzUwMTUyWgpjZDA6IDE1MC4wMDBNQi9zIHRyYW5zZmVycyAoU0FUQSAx LngsIFVETUE2LCBBVEFQSSAxMmJ5dGVzLCBQSU8gODE5MmJ5dGVzKQpjZDA6IEF0dGVtcHQg dG8gcXVlcnkgZGV2aWNlIHNpemUgZmFpbGVkOiBOT1QgUkVBRFksIE1lZGl1bSBub3QgcHJl c2VudCAtIHRyYXkgY2xvc2VkClRyeWluZyB0byBtb3VudCByb290IGZyb20gdWZzOi9kZXYv YWRhMHAyIFtyd10uLi4KdWh1YjA6IDggcG9ydHMgd2l0aCA4IHJlbW92YWJsZSwgc2VsZiBw b3dlcmVkCnVnZW4wLjI6IDx2ZW5kb3IgMHgwNWUzIFVTQjIuMCBIdWI+IGF0IHVzYnVzMAp1 aHViMSBvbiB1aHViMAp1aHViMTogPHZlbmRvciAweDA1ZTMgVVNCMi4wIEh1YiwgY2xhc3Mg OS8wLCByZXYgMi4wMC82MC41MiwgYWRkciAxPiBvbiB1c2J1czAKdWh1YjE6IE1UVCBlbmFi bGVkCnVodWIxOiAzIHBvcnRzIHdpdGggMyByZW1vdmFibGUsIHNlbGYgcG93ZXJlZAp1Z2Vu MC4zOiA8UGl4QXJ0IFVTQiBPcHRpY2FsIE1vdXNlPiBhdCB1c2J1czAKcmUwOiBsaW5rIHN0 YXRlIGNoYW5nZWQgdG8gRE9XTgp1Z2VuMC40OiA8TWljcm9zb2Z0IENvbWZvcnQgQ3VydmUg S2V5Ym9hcmQgMjAwMD4gYXQgdXNidXMwCnVrYmQwIG9uIHVodWIxCnVrYmQwOiA8TWljcm9z b2Z0IENvbWZvcnQgQ3VydmUgS2V5Ym9hcmQgMjAwMCwgY2xhc3MgMC8wLCByZXYgMi4wMC8x LjczLCBhZGRyIDM+IG9uIHVzYnVzMAprYmQyIGF0IHVrYmQwCnVnZW4wLjU6IDx2ZW5kb3Ig MHgwNWUzIFVTQjIuMCBIdWI+IGF0IHVzYnVzMAp1aHViMiBvbiB1aHViMAp1aHViMjogPHZl bmRvciAweDA1ZTMgVVNCMi4wIEh1YiwgY2xhc3MgOS8wLCByZXYgMi4wMC82MC41MiwgYWRk ciA0PiBvbiB1c2J1czAKdWh1YjI6IE1UVCBlbmFibGVkCnVodWIyOiAzIHBvcnRzIHdpdGgg MyByZW1vdmFibGUsIHNlbGYgcG93ZXJlZAp1Z2VuMC42OiA8R2VuZXJpYyBVU0IyLjAtQ1JX PiBhdCB1c2J1czAKdW1zMCBvbiB1aHViMQp1bXMwOiA8UGl4QXJ0IFVTQiBPcHRpY2FsIE1v dXNlLCBjbGFzcyAwLzAsIHJldiAyLjAwLzEuMDAsIGFkZHIgMj4gb24gdXNidXMwCnVtczA6 IDMgYnV0dG9ucyBhbmQgW1hZWl0gY29vcmRpbmF0ZXMgSUQ9MAp1aGlkMCBvbiB1aHViMQp1 aGlkMDogPE1pY3Jvc29mdCBDb21mb3J0IEN1cnZlIEtleWJvYXJkIDIwMDAsIGNsYXNzIDAv MCwgcmV2IDIuMDAvMS43MywgYWRkciAzPiBvbiB1c2J1czAKcmUwOiBsaW5rIHN0YXRlIGNo YW5nZWQgdG8gVVAKcmUwOiBsaW5rIHN0YXRlIGNoYW5nZWQgdG8gRE9XTgpyZTA6IGxpbmsg c3RhdGUgY2hhbmdlZCB0byBVUApudmlkaWEtbW9kZXNldDogQWxsb2NhdGVkIEdQVTowIChH UFUtMmUwMzc4YzYtMTJlNS04Mzc0LTczMmQtOGY4MDU0N2E3MWFkKSBAIFBDSTowMDAwOjAz OjAwLjAK --------------B14E4C00B064B6388549B4A3-- From owner-freebsd-questions@freebsd.org Thu Jan 4 18:43:23 2018 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 C081EEAD715 for ; Thu, 4 Jan 2018 18:43:23 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 842F77923D for ; Thu, 4 Jan 2018 18:43:23 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id z130so3185908ioe.13 for ; Thu, 04 Jan 2018 10:43:23 -0800 (PST) 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=zEmaNBazw6exzhomeKXInzWqmvuZU/K75srUiE7sc/Q=; b=eXISXgQ53+cOBs7bJb/dNXZ80vmQqR6paobBsVmyXHH9hsly+iyzD2jQIJqSgBjtpc DmJulh+bdDT42xAj2B7pwriVMEhvegC8EZFon3cWAwgihIAU/aIrF6dSd6pGyfBpwl1L tOAO7wo8H1HpTsIUh+aC/B3RYeDDWa/bLzcpEu4o8IPEY7jc3ElBpk/xIUmy2AWqL3zq ZRBLpUEcMwGQVIoBI3NQw3FK2a4dw+A1+3CX/8zlMLybJfq/+ijEwsHukeoP0WUA+NE9 n/uKDFt9KUuPwKo/WXTF1Ip3S9CbJQuu82oZ79D8QP7MNQg7Z0i3kGTT8yFVjLW3vVo3 QjfQ== 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=zEmaNBazw6exzhomeKXInzWqmvuZU/K75srUiE7sc/Q=; b=KSREER/ZQjgCAewhApwp3AzPWJltfvEDbgH680pU/H/Fi9T6xMc2wG1ALkyyb+dTjC oD0YOX2cvSbUjU9NABv+CZR2urkW1mgxUJq3OJy1WSn0WUp78E7j64Ui8oCGGA1Hja6S H5elp1us2g4l7KpqKExcsz1QqRQd8bBfWTV9HMmf2zhKeFkEN2kBVx8TkoRWAhs84bE4 ldcspYdytKpnq8ncdwa6xUHn5L9TLyK9AODSUTRLvKtaK7PTry1BamWtoeL0ljT0tkB3 3f4u2NDbVYIda5R/fEZ6Rl4GrsXxMb1K6SD40Keh+037XdIoHZSCXXlAQh/GJX52RXXf 1ziA== X-Gm-Message-State: AKwxytekxy8vsUfnhC9wqQeU8Ek6+4E242USFbdigjbE63STs7p2lvRm rcbIWHU+AffbgjOJdGqF8Y+VtV5YUBBOvNTII3U= X-Google-Smtp-Source: ACJfBot7euC9PU9KbSwfNH5ujdAqOiv0ZWG3SkkZc92kD84HsNijJYMsRw8BecxzGNXPviUGArKvPPQQ6X/cljUZS28= X-Received: by 10.107.16.79 with SMTP id y76mr563952ioi.213.1515091402800; Thu, 04 Jan 2018 10:43:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Thu, 4 Jan 2018 10:43:22 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Fri, 5 Jan 2018 02:43:22 +0800 Message-ID: Subject: Re: Static noise with microphone To: Per Gunnarsson Cc: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 18:43:23 -0000 On Fri, Jan 5, 2018 at 2:35 AM, Per Gunnarsson via freebsd-questions < freebsd-questions@freebsd.org> wrote: > Hello! > > I have attached a microphone (a Mico from Trust) to the mic in on my > computer, and it produces some static noise. It's not connected to the USB > port. > > Is this just hardware related or is there anything I can change in the > software to get rid of it? > > You can hear the noise here: > > http://mustafejen.se:8000/stream.ogg > > I found this in my dmesg: > > hdac0: mem 0xfe080000-0xfe083fff at > device 0.1 on pci3 > hdac1: mem 0xfe500000-0xfe503fff at device > 9.2 on pci0 > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 5 on hdaa0 > hdacc1: at cad 0 on hdac1 > hdaa1: at nid 1 on hdacc1 > pcm1: at nid 20,27 and 24,26 on hdaa1 > pcm2: at nid 21 and 25 on hdaa1 > > [per@konjak ~]$ mixer > Mixer vol is currently set to 85:85 > Mixer pcm is currently set to 100:100 > Mixer speaker is currently set to 74:74 > Mixer line is currently set to 1:1 > Mixer mic is currently set to 90:90 > Mixer mix is currently set to 74:74 > Mixer rec is currently set to 85:85 > Mixer igain is currently set to 100:100 > Mixer ogain is currently set to 100:100 > Recording source: mic > > Regards, > > Per Gunnarsson > > > > > > _______________________________________________ > 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" > > This could be any number of issues. 1) How's the ambient noise in your recording environment? 2) Could be electronic noise from computer components [Is it a laptop or desktop] 3) The mic could have a very low noise floor, are u doing any filtering? 4) Have you tried any other mic to see if it's the same? another thing, looking at your hdaa settings did you configure ur pin into associations and groups? That pinout looks a bit random. Check [man snd_hda] From owner-freebsd-questions@freebsd.org Thu Jan 4 23:15:31 2018 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 151D5EBF2AA; Thu, 4 Jan 2018 23:15:31 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 79303667FB; Thu, 4 Jan 2018 23:15:29 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from ultrabook.yoonka.com (pD9E429BE.dip0.t-ipconnect.de [217.228.41.190]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id w04NFLgq092989 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 4 Jan 2018 23:15:22 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host pD9E429BE.dip0.t-ipconnect.de [217.228.41.190] claimed to be ultrabook.yoonka.com To: freebsd-drivers@freebsd.org From: Grzegorz Junka Subject: Not working MMC/SD reader Cc: FreeBSD Questions Mailing List Message-ID: <028b4c18-cc9d-83e5-bb94-6329af60b565@gjunka.com> Date: Thu, 4 Jan 2018 23:15:16 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB-large X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 23:15:31 -0000 Hello, I have https://www.asus.com/za/Laptops/ASUS-ZenBook-UX31E/specifications/ The MMC/SDHC reader works fine in Windows. However, FreeBSD doesn't even see it - I see no messages in dmesg, also no messages in the console when inserting/removing a SDHC card. I have the following in /boot/loader.conf umass_load="YES" mmc_load="YES" mmcsd_load="YES" sdhci_load="YES" Which driver should I load to be able to use the reader? I am using FreeBSD 11.0. pciconf shows the following: root@ultrabook:~ # pciconf -lv hostb0@pci0:0:0:0:      class=0x060000 card=0x14271043 chip=0x01048086 rev=0x09 hdr=0x00     vendor     = 'Intel Corporation'     device     = '2nd Generation Core Processor Family DRAM Controller'     class      = bridge     subclass   = HOST-PCI vgapci0@pci0:0:2:0:     class=0x030000 card=0x14271043 chip=0x01168086 rev=0x09 hdr=0x00     vendor     = 'Intel Corporation'     device     = '2nd Generation Core Processor Family Integrated Graphics Controller'     class      = display     subclass   = VGA none0@pci0:0:22:0:      class=0x078000 card=0x14271043 chip=0x1c3a8086 rev=0x04 hdr=0x00     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family MEI Controller'     class      = simple comms hdac0@pci0:0:27:0:      class=0x040300 card=0x14271043 chip=0x1c208086 rev=0x05 hdr=0x00     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family High Definition Audio Controller'     class      = multimedia     subclass   = HDA pcib1@pci0:0:28:0:      class=0x060400 card=0x14271043 chip=0x1c108086 rev=0xb5 hdr=0x01     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 1'     class      = bridge     subclass   = PCI-PCI pcib2@pci0:0:28:1:      class=0x060400 card=0x14271043 chip=0x1c128086 rev=0xb5 hdr=0x01     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 2'     class      = bridge     subclass   = PCI-PCI pcib3@pci0:0:28:3:      class=0x060400 card=0x14271043 chip=0x1c168086 rev=0xb5 hdr=0x01     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 4'     class      = bridge     subclass   = PCI-PCI ehci0@pci0:0:29:0:      class=0x0c0320 card=0x14271043 chip=0x1c268086 rev=0x05 hdr=0x00     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller'     class      = serial bus     subclass   = USB isab0@pci0:0:31:0:      class=0x060100 card=0x14271043 chip=0x1c4d8086 rev=0x05 hdr=0x00     vendor     = 'Intel Corporation'     device     = 'QS67 Express Chipset Family LPC Controller'     class      = bridge     subclass   = PCI-ISA ahci0@pci0:0:31:2:      class=0x010601 card=0x14271043 chip=0x1c038086 rev=0x05 hdr=0x00     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller'     class      = mass storage     subclass   = SATA none1@pci0:0:31:3:      class=0x0c0500 card=0x14271043 chip=0x1c228086 rev=0x05 hdr=0x00     vendor     = 'Intel Corporation'     device     = '6 Series/C200 Series Chipset Family SMBus Controller'     class      = serial bus     subclass   = SMBus ath0@pci0:2:0:0:        class=0x028000 card=0x20861a3b chip=0x0032168c rev=0x01 hdr=0x00     vendor     = 'Qualcomm Atheros'     device     = 'AR9485 Wireless Network Adapter'     class      = network xhci0@pci0:3:0:0:       class=0x0c0330 card=0x14271043 chip=0x10091b73 rev=0x02 hdr=0x00     vendor     = 'Fresco Logic'     device     = 'FL1009 USB 3.0 Host Controller'     class      = serial bus     subclass   = USB Thanks GrzegorzJ From owner-freebsd-questions@freebsd.org Fri Jan 5 01:49:42 2018 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 6AD19EA5413 for ; Fri, 5 Jan 2018 01:49:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E211D6C95A for ; Fri, 5 Jan 2018 01:49:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPA (Nemesis) id 0MAywa-1ef0oN3wDk-009wlf; Fri, 05 Jan 2018 02:44:16 +0100 Date: Fri, 5 Jan 2018 02:44:15 +0100 From: Polytropon To: blubee blubeeme Cc: Per Gunnarsson , FreeBSD Subject: Re: Static noise with microphone Message-Id: <20180105024415.c10765fc.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-Provags-ID: V03:K0:z0qwmthksqnP6ef5evQJW+Bq0D/dq5PI7tvhpkeB/puvKQQh1Gd wtdpt0ZkF2TlZFsNPs+r3knWtQ2no0HetFxXauHJYciBo8/3DQR78a0fEOUVZlu7M/TSzUh ingmuSnYgRxEXTPpHFTo2a1BoWuu8J6UwI2qt6CNc11PLAgjVZslQugBh8fCWWDaX3HaIZQ OOKidnjVG2cpqdntGqmyg== X-UI-Out-Filterresults: notjunk:1;V01:K0:KC/f2xgecdg=:ugTbEbkaMd5ataRriu40ce TWWHKeJbbGz621aBtAbbAe2/yJjIrUBB4bgc3jORSj+48xf/rwG/Jl4vSQwK3zPM47sPtYjQY GdrLUKn6rVSkii1aF0o5dx4MCoB4gbYMo2XbNE/NX/hyg5J/Hh3Z16qUMHOBP3M6QYVL1xuRb PHJ418bGwePCH4Qx7hmmYeBFkvrEKOKHGyD+rInAbMocT2o63z/X4Nr1irZ0ujDogVbalBU2P LXmHnmKNuNEgCu+roSEz8f6bcx5m0WPre5BcEtkBMiqujRjVXZpN3g2ZiYTsdmCe2FiSSCOgj bOS6l4C8miGY6Qk+k4S/YZ8I8nkIP8ThcvVFzy3vuNPrOcEi27Bgjvt7nnmo2XYNnIRfFLvW3 qFwoHFLSJ9rrwCrdlUubiYFA/GQ+ow0Q1igiLa4WDrQX2qqsFiU/XnyH4d0QDiDY/wCa8DU8k kZd6/a5C16WMLJfDNLRY1s3kIaB8kzjUsTmRLlgFyrJIuvGGCaz8c7mY9hSso46ppEYHoV9Un 8b7lzPDdeOhotyo9b3pyW6s/GAK3hmK0Fw1mmJtGlvWZ2sAqyIQx/bsVEoSWXx1qCeMUKGnjR yB+8F4/p4Vxg9daAnXqbgNpghzFCPA7iwEedyErtSVgiOxQWUL9P6bNjJqQ1MYRzJvHaYqE0c 5MwHWzunUrc5tYQ5aaSqEZfmCezvarwrmzH2nCUkuaaJmzmoHOsoSUhtaSP0kE+YL3zBE4Rol o1NTe8lCCj7aRn5FDU8gwd4w2bBC4gQcg2XfDF5gkVJso8u8Q0F0fXoY/eE= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 01:49:42 -0000 On Fri, 5 Jan 2018 02:43:22 +0800, blubee blubeeme wrote: > On Fri, Jan 5, 2018 at 2:35 AM, Per Gunnarsson via freebsd-questions < > freebsd-questions@freebsd.org> wrote: > > > Hello! > > > > I have attached a microphone (a Mico from Trust) to the mic in on my > > computer, and it produces some static noise. It's not connected to the USB > > port. > > > > Is this just hardware related or is there anything I can change in the > > software to get rid of it? > > > > You can hear the noise here: > > > > http://mustafejen.se:8000/stream.ogg > > > > I found this in my dmesg: > > > > hdac0: mem 0xfe080000-0xfe083fff at > > device 0.1 on pci3 > > hdac1: mem 0xfe500000-0xfe503fff at device > > 9.2 on pci0 > > hdacc0: at cad 0 on hdac0 > > hdaa0: at nid 1 on hdacc0 > > pcm0: at nid 5 on hdaa0 > > hdacc1: at cad 0 on hdac1 > > hdaa1: at nid 1 on hdacc1 > > pcm1: at nid 20,27 and 24,26 on hdaa1 > > pcm2: at nid 21 and 25 on hdaa1 > > > > [per@konjak ~]$ mixer > > Mixer vol is currently set to 85:85 > > Mixer pcm is currently set to 100:100 > > Mixer speaker is currently set to 74:74 > > Mixer line is currently set to 1:1 > > Mixer mic is currently set to 90:90 > > Mixer mix is currently set to 74:74 > > Mixer rec is currently set to 85:85 > > Mixer igain is currently set to 100:100 > > Mixer ogain is currently set to 100:100 > > Recording source: mic > > > > Regards, > > > > Per Gunnarsson > > > > > > > > > > > > _______________________________________________ > > 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" > > > > This could be any number of issues. > > 1) How's the ambient noise in your recording environment? > 2) Could be electronic noise from computer components [Is it a laptop or > desktop] > 3) The mic could have a very low noise floor, are u doing any filtering? > 4) Have you tried any other mic to see if it's the same? > > another thing, looking at your hdaa settings did you configure ur pin into > associations and groups? > That pinout looks a bit random. Also check for possible settings in other mixers (you probably have more than one): % mixer -f /dev/mixer0 % mixer -f /dev/mixer1 % mixer -f /dev/mixer2 ... Maybe the noise you're hearing is some amplified "interference" coming through a monitor channel; look for "monitor", "igain", "ogain". With a graphical mixer like xmixer or aumix-gtk, you can easily check the effects of those settings. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jan 5 02:28:41 2018 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 0F832EA7E7A for ; Fri, 5 Jan 2018 02:28:41 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) (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 9FD356E7EE; Fri, 5 Jan 2018 02:28:40 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: by mail-wr0-f196.google.com with SMTP id p6so3186375wrd.0; Thu, 04 Jan 2018 18:28:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JC+Ev0DmTbv6fr+di/8LnctMaziat8zr9f2rXKrKxmU=; b=n5jHrXwdcIGSSVFnu/NyXy+kK1Pte/ZjXl4NN/QLgeqhW/ieGNeefLGZ3OU2KEO5Bl 3ouwhSyszDIbui39e3l9XQ/mV7Ffy7iIgtkIo9f3Jergf0OYal0weya08UZ6TjiGaLei vqNti/tiXwumscSALX4eZ/UBkcm0YZhDhztKw6Hf8UddXwImNqHCdtH3+GCXYhZz5Tj6 VWHgkR6Vcsa/macZYqwpZ/tJR1uU4fpmrJO7DhKbcjDKd6MtlVqiZ3uxrG8FvQMU0/Ro 8F3zBoLX8iNMr4jSxX/hNw4zSV8HFDpcTS3tN1JmKTw4UYRZ4lJ++eO5GkrfwgLF7ht7 STIg== X-Gm-Message-State: AKGB3mIPl/AjQUWhDBJ8lsrS6mVWY+FUjutyZGTVsvmvKRJl22esJD/z cErXxsR0N27KqwQmJzLXovW8sK6G X-Google-Smtp-Source: ACJfBotQ9rTmv/R9c7QujlyRrN6HM90QSF1yo+lcMpt8gSJOQLn8eZ993VDd3aW1l/P5pUmGhVFivg== X-Received: by 10.223.170.11 with SMTP id p11mr1163901wrd.271.1515115491981; Thu, 04 Jan 2018 17:24:51 -0800 (PST) Received: from hub.org (hub.org. [188.227.186.52]) by smtp.gmail.com with ESMTPSA id m70sm3216611wma.36.2018.01.04.17.24.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jan 2018 17:24:50 -0800 (PST) Received: from localhost (unknown [188.227.186.44]) by hub.org (Postfix) with ESMTP id 8457F14329F7; Fri, 5 Jan 2018 01:24:50 +0000 (UTC) Received: from hub.org ([188.227.186.52]) by localhost (maia-lon.uk.hub.org [188.227.186.44]) (maiad, port 10024) with ESMTP id 22776-10; Fri, 5 Jan 2018 01:24:50 +0000 (UTC) Received: from [192.168.0.8] (S0106f0f249687dd3.gv.shawcable.net [24.108.212.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.org (Postfix) with ESMTPSA id D36B014329DF; Fri, 5 Jan 2018 01:24:49 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.6\)) Subject: Re: Running bsdstats through a proxy From: Marc G Fournier In-Reply-To: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org> Date: Thu, 4 Jan 2018 17:24:47 -0800 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8F9BE360-6F16-4CE5-9CD5-20ABF50B8BB6@hub.org> References: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org> To: Matthew Seaman X-Mailer: Apple Mail (2.3445.1.6) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 02:28:41 -0000 You should be able to just add them to /etc/periodic.conf =E2=80=A6 = bsdstats on FreeBSD will read its environment variables from there =E2=80=A6= > On Nov 14, 2017, at 23:45, Matthew Seaman wrote: >=20 > On 15/11/2017 05:19, Olivier wrote: >> Hi, >>=20 >> I would like to enable bsdstats to run, but I need to configure a = proxy. >>=20 >> I see it rely on the environment variable HTTP_PROXY, but where = should I >> define it so that it is used by the monthly periodic script and by >> bsdstats launched at boot? >>=20 >> TIA, >>=20 >> Olivier >>=20 >=20 > /etc/login.conf should work for you. You can add whatever environment > settings you want to the :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK:\ = line. >=20 > Remember to run 'cap_mkdb /etc/login.conf' after editing the file. >=20 > Cheers, >=20 > Matthew >=20 From owner-freebsd-questions@freebsd.org Fri Jan 5 02:57:36 2018 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 8331EEA9F71 for ; Fri, 5 Jan 2018 02:57:36 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (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 1C02D7002F for ; Fri, 5 Jan 2018 02:57:35 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: by mail-wm0-f51.google.com with SMTP id g130so4575373wme.0 for ; Thu, 04 Jan 2018 18:57:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=7a/xfcwOCsbVep3t8yB74mv5AI765ijCv4XhxpwzqPs=; b=edeoWzUqOAKXDMKcfq2c5P0TWbOwekX8tfmMUREGjgcQMDh7SYdHYliZybLDBxgSOm 95k3trDD1mg3tYS2CgK6LsOKqBt6ZbxtpvsQzQreD0bzFvoxZq2I4A548MdVTK3AwrZJ LKcr42E7PkRpXHbdYf3CBEhaxXdJC0am6puX5a/JkxLr6RMdueuenl+s8r2b4pGRDjex z3XgtsLXP2xUTOXrAh2mVkT1pPLoHCVlXxgyU6aalK5fJFo2x8n/qDLrqmlmt19o5qNs XmAJBXqf2ObBVNkiuiTXQEKQqDGGxtxgyCbQqCl49ErEme8j3NPjVuiMEzxU66l0oR8W XNPw== X-Gm-Message-State: AKGB3mJLYaUsaIKaQCU5lS/TGAwhK+hSYxwe8cs+9A51vLUjt4FNCVL9 A4J42MsfiQjjq92AiXWK8DP8n4BW X-Google-Smtp-Source: ACJfBotBHZHVHjMLw/j7yJz+rknZQE7kzVwxkIUKcAv880UgJND9G+GPhA+ZGOc1QeLZR0ivR9AEuA== X-Received: by 10.28.134.143 with SMTP id i137mr1152741wmd.2.1515121053927; Thu, 04 Jan 2018 18:57:33 -0800 (PST) Received: from hub.org (hub.org. [188.227.186.52]) by smtp.gmail.com with ESMTPSA id y53sm5212854wry.19.2018.01.04.18.57.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jan 2018 18:57:32 -0800 (PST) Received: from localhost (unknown [188.227.186.44]) by hub.org (Postfix) with ESMTP id 3922718286F0 for ; Fri, 5 Jan 2018 02:57:32 +0000 (UTC) Received: from hub.org ([188.227.186.52]) by localhost (maia-lon.uk.hub.org [188.227.186.44]) (maiad, port 10024) with ESMTP id 76273-05 for ; Fri, 5 Jan 2018 02:57:32 +0000 (UTC) Received: from [192.168.0.8] (S0106f0f249687dd3.gv.shawcable.net [24.108.212.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.org (Postfix) with ESMTPSA id A661818286E7 for ; Fri, 5 Jan 2018 02:57:31 +0000 (UTC) From: Marc G Fournier Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.6\)) Subject: BSDStats: reporting bug fixed Message-Id: <485C63BB-690C-4FDF-B4AF-70033ACF804C@hub.org> Date: Thu, 4 Jan 2018 18:57:29 -0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.3445.1.6) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 02:57:36 -0000 For those that have been having varying success with installing and = running bsdstats ( sysutils/bsdstats ), we just fixed a bug on the = server side that was causing new servers to fail to be able to report. =20= If you have installed it recently, your server will get reported = properly starting the beginning of Febrary ( if running out of periodic = ), but if you want to test and make sure, please take a moment to run: bsdstats-send As root, from the command line, to make sure that no errors are being = generated. For those unaware of what BSDStats is =E2=80=A6 it is an anonymous data = collection script tthat can be installed on your desk / server to push = out information about your server, including: OS Version Ports installed ( and version ) CPU Devices Country of Origin The submission is totally anonymized, with no information about your = server being stored in the database that can be traced back to you =E2=80=A6= all submissions are based on a token that is generated and stored in = /var/db/bsdstats on your machine. To see the statistics themselves, please go to http://bsdstats.org = =E2=80=A6 its not just FreeBSD, but all known = BSDs ( although the two biggest *are* FreeBSD and TrueOS/PCBSD ). If anyone has any issues with bsdstats-send, or questions, please feel = free to email me directly =E2=80=A6 From owner-freebsd-questions@freebsd.org Fri Jan 5 03:50:28 2018 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 A5F1CEAD6FB for ; Fri, 5 Jan 2018 03:50:28 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2743A72CEB; Fri, 5 Jan 2018 03:50:28 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: by mail-lf0-x244.google.com with SMTP id u84so3859594lff.7; Thu, 04 Jan 2018 19:50:28 -0800 (PST) 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:content-transfer-encoding; bh=JyJP/U/4i7aL6xbcSdkj0+/cd5hwkh8rWe0297IGS+U=; b=rLaFX1G/IziGlkJwjofFl0knOyBaZlfHIhpZ6Ux3L+xLmtc7RKtXgtsyLZP6Epym0f l3ctyoRNUMJAW2wLoZeXSKErCbzvIQl4JJPMddP1cgI94tVepB+b+VdbvCOC7n0ggYP9 xCuSERpCRE/lFFhKcUbhYxJbTUgEcb3siaJlvTkSPO5Ro+puOPZ1g87r5h305zCkPCdO 5Vc5PEVU5dVCVshc3IPUaGivfDL1+LUakrWqPGGeKC1DiEJjELInQwyCQqkyhlBVWjI6 KKZh6VeUCfnrFXh8kXm4VyvDioL6FyrDYLOOZJm32WmgMvXNPiFNesxXcyN+9r+MSXTf 8p1Q== 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:content-transfer-encoding; bh=JyJP/U/4i7aL6xbcSdkj0+/cd5hwkh8rWe0297IGS+U=; b=tkV+njRwXX704qhT3C+WwwKni+LSkki2Me5wjuj4Vyt/HcN0Kw19GHNF0qDUM1CpXI tLQea3UhU4y3p06097TuwEo7gyi/bO2wy8So+oKw+0Bw5imgRQfRc3iy8M93K+6geWyV 4bWxL+ReTeS/4H3H2gV9eMeRPJ6NMrlOZvQWGbKaJ/Ok9U9iBs+6dgzB6ueStJ8KG0vh LbisE/dxUG+2F7YQ+PhKnn7tx62MlNsQQyOOuEmv3za+cuRpCI/ECMBm+p32Uow0xB16 +TJ73c3W02dHSSGg6Bo2rfMNOxSm9rf+SiR5plSha1q9frm4ITVta7SIgKPyTC9+/+pe +ySA== X-Gm-Message-State: AKGB3mKzL7FHg2ESCa7hRHP33ZBK3QlN87PWEC1T3moZE2/wl4+gLHFB XTJe/6PA4JVl2CB8cipPjqbgl9VfcA05bcQ9BZwLJg== X-Google-Smtp-Source: ACJfBotPIXzyw6kY6qEUeUsPbD6HnUzSZhBS802jYgg281fgUsHUyfSZXUzJZ5rXVAd4tHu61tLE52kIrLBimcBS3DM= X-Received: by 10.46.17.130 with SMTP id 2mr994818ljr.44.1515124226262; Thu, 04 Jan 2018 19:50:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.168.8 with HTTP; Thu, 4 Jan 2018 19:50:25 -0800 (PST) In-Reply-To: <8F9BE360-6F16-4CE5-9CD5-20ABF50B8BB6@hub.org> References: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org> <8F9BE360-6F16-4CE5-9CD5-20ABF50B8BB6@hub.org> From: Olivier Nicole Date: Fri, 5 Jan 2018 10:50:25 +0700 Message-ID: Subject: Re: Running bsdstats through a proxy To: Marc G Fournier Cc: Matthew Seaman , freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 03:50:28 -0000 Marc, On a new machine (FreeBSD 11.1-RELEASE-p6) with bsdstats-6.0_2, I see: The machine contacts the proxy with: HEAD.http://rpt.bsdstats.org/. Reply: HTTP/1.0.302Moved.Temporarily Then the machine contacts the proxy with: GET.http://rpt.bsdstats.org/sc Reply: HTTP/1.0.500.Internal.Server Best regards, Olivier On Fri, Jan 5, 2018 at 8:24 AM, Marc G Fournier wrote: > > You should be able to just add them to /etc/periodic.conf =E2=80=A6 bsdst= ats on FreeBSD will read its environment variables from there =E2=80=A6 > > > >> On Nov 14, 2017, at 23:45, Matthew Seaman wrote: >> >> On 15/11/2017 05:19, Olivier wrote: >>> Hi, >>> >>> I would like to enable bsdstats to run, but I need to configure a proxy= . >>> >>> I see it rely on the environment variable HTTP_PROXY, but where should = I >>> define it so that it is used by the monthly periodic script and by >>> bsdstats launched at boot? >>> >>> TIA, >>> >>> Olivier >>> >> >> /etc/login.conf should work for you. You can add whatever environment >> settings you want to the :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK:\ l= ine. >> >> Remember to run 'cap_mkdb /etc/login.conf' after editing the file. >> >> Cheers, >> >> Matthew >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@freebsd.org Fri Jan 5 04:26:28 2018 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 18114EAF913 for ; Fri, 5 Jan 2018 04:26:28 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) (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 74EA8743E7 for ; Fri, 5 Jan 2018 04:26:26 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: by mail-wr0-f196.google.com with SMTP id b76so3337323wrd.3 for ; Thu, 04 Jan 2018 20:26:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=W1LIiWrHRb+aK0GJv7AHorZZ97maolFBpfUdhRdDNLs=; b=qVQouPRnvDzQGsZrsQYARhEh9VOM+vOzBEWLbLfZLHQfBVZUn8VwBuKDAgbiAUdGi8 RTuHDFV16lMvL9tAJpNabzm2CEcOcJiswimTv5CTHK03W8W6RwVSCqetCDoskXzkvYxt S6UUXvxyYQku9mHqG5tsfdpa9YHwOZJppQdi/mEqrJZv6I1pCUoIU+ksUwdYsYfISUul Ak8NhYwJheJXZAQ7kE23bnWXeIIOlNrPyTKFFSwMVi0vR32pj/sDtz2q7MGpFD+Jqsjr a4+suSzPNQaj27CFBr2yB/R+TlfpGokuqtxoFW9m2ctsWWT2AtTvik07Strhk0Fh72Tx p8nw== X-Gm-Message-State: AKGB3mIwFvqa9Wq43zdeav/c/ZDWFCu8I9wsrUi8dQhRvE5Ivpe39l6J xRwmCaf1+4boCZCC5Fj2OtHS3XFx X-Google-Smtp-Source: ACJfBotj5fRBSsxiaUuMHoszRYCQ1zXq8raHqC/AAMGP8aFWCAoobgGpdy04M2IMB02u5gfwk02gLQ== X-Received: by 10.223.164.129 with SMTP id g1mr1632882wrb.60.1515125913411; Thu, 04 Jan 2018 20:18:33 -0800 (PST) Received: from hub.org (hub.org. [188.227.186.52]) by smtp.gmail.com with ESMTPSA id v6sm4825685wrf.42.2018.01.04.20.18.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jan 2018 20:18:32 -0800 (PST) Received: from localhost (unknown [188.227.186.44]) by hub.org (Postfix) with ESMTP id 7A433172ADA9; Fri, 5 Jan 2018 04:18:31 +0000 (UTC) Received: from hub.org ([188.227.186.52]) by localhost (maia-lon.uk.hub.org [188.227.186.44]) (maiad, port 10024) with ESMTP id 93774-07; Fri, 5 Jan 2018 04:18:31 +0000 (UTC) Received: from [192.168.0.8] (S0106f0f249687dd3.gv.shawcable.net [24.108.212.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.org (Postfix) with ESMTPSA id AF7C8172ADA4; Fri, 5 Jan 2018 04:18:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.6\)) Subject: Re: Running bsdstats through a proxy From: Marc G Fournier In-Reply-To: Date: Thu, 4 Jan 2018 20:18:28 -0800 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2FD5135F-097E-4665-A084-7583E3B16163@hub.org> References: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org> <8F9BE360-6F16-4CE5-9CD5-20ABF50B8BB6@hub.org> To: Olivier Nicole X-Mailer: Apple Mail (2.3445.1.6) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 04:26:28 -0000 Hrmmm =E2=80=A6 I didn=E2=80=99t write the PROXY code, so if anyone is = familiar with proxies, please feel free to step up =E2=80=A6 but could = you modify the code ( /usr/local/etc/periodic/monthly/300.statistics ) = and change the first line to state: #!/bin/sh -x ( note, just adding the x to the end of hte line ) then send me the output ( privately, not to the list ) of: /usr/local/etc/periodic/monthly/300.statistics -nodelay that should let me see how its re-writing things =E2=80=A6 for starters, = the truncation at =E2=80=98/sc=E2=80=99 is odd, since it should be = something like: /scripts/enable_token.php=E2=80=A6 > On Jan 4, 2018, at 19:50, Olivier Nicole = wrote: >=20 > Marc, >=20 > On a new machine (FreeBSD 11.1-RELEASE-p6) with bsdstats-6.0_2, I see: >=20 > The machine contacts the proxy with: HEAD.http://rpt.bsdstats.org/. > Reply: HTTP/1.0.302Moved.Temporarily >=20 > Then the machine contacts the proxy with: = GET.http://rpt.bsdstats.org/sc > Reply: HTTP/1.0.500.Internal.Server >=20 > Best regards, >=20 > Olivier >=20 > On Fri, Jan 5, 2018 at 8:24 AM, Marc G Fournier = wrote: >>=20 >> You should be able to just add them to /etc/periodic.conf =E2=80=A6 = bsdstats on FreeBSD will read its environment variables from there =E2=80=A6= >>=20 >>=20 >>=20 >>> On Nov 14, 2017, at 23:45, Matthew Seaman = wrote: >>>=20 >>> On 15/11/2017 05:19, Olivier wrote: >>>> Hi, >>>>=20 >>>> I would like to enable bsdstats to run, but I need to configure a = proxy. >>>>=20 >>>> I see it rely on the environment variable HTTP_PROXY, but where = should I >>>> define it so that it is used by the monthly periodic script and by >>>> bsdstats launched at boot? >>>>=20 >>>> TIA, >>>>=20 >>>> Olivier >>>>=20 >>>=20 >>> /etc/login.conf should work for you. You can add whatever = environment >>> settings you want to the :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK:\= line. >>>=20 >>> Remember to run 'cap_mkdb /etc/login.conf' after editing the file. >>>=20 >>> Cheers, >>>=20 >>> Matthew >>>=20 >>=20 >> _______________________________________________ >> 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 Fri Jan 5 06:05:46 2018 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 C6A0EEB53AC for ; Fri, 5 Jan 2018 06:05:46 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: from sonic304-21.consmr.mail.ir2.yahoo.com (sonic304-21.consmr.mail.ir2.yahoo.com [77.238.179.146]) (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 66E5577BF4 for ; Fri, 5 Jan 2018 06:05:45 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) X-YMail-OSG: 2C.MVyoVM1lUxmzXFRSE7LrcVPDRavpQPTYB9r3AXXpCP8eNixq2YYCIxyyTiw9 DDI5ypLSv_iRa2CF7VpGoApwYI.oHf2aEcwpqNyv0ZTMvGca6UxAwgNp3AFGD4.D6B4rmVYPrlff vIlgigZ7C5MU4EbvyU6EAq3LoCEzcjj.Bv7CcOcYKXP1.Axpl7nj.xxxMh7n_H972BOpQ7ZOA639 5vyMExFq_gZ.Etk67a71HMXvKTez5XLazzLxhVoO7.L3GXQYl.RAC1UVW5.7gKEX.RfCdGEn.FpD iuGNkqPQrrdY6ZWkIqLHxEw1yVo.4f4j0M2gyZIxN9Y9nUgXnFYPoNr6fPJB5jYASHi8ew3MsvfH f8sB_0KyfZHqGTw49A9xrq37hKNPtFGk4oZZjPMkNtDAwFAKGS5uiZk8SGMfzEhPbICpm5YYM.__ nTbJDxmT8KoTVcO0dKL_tfhd.JbkSUNXFlThkOj3THJtnWMSZeDz15iw1UnFgbCA2.LQYn2kf9nC MneZmMoG8hICE Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Fri, 5 Jan 2018 06:05:38 +0000 Received: from smtp159.mail.ir2.yahoo.com (EHLO [10.0.0.5]) ([46.228.39.122]) by smtp411.mail.ir2.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 79005c844fd74f20e7efbd2cb8dd6409; Fri, 05 Jan 2018 06:05:34 +0000 (UTC) Subject: Re: Static noise with microphone To: Polytropon , blubee blubeeme Cc: FreeBSD References: <20180105024415.c10765fc.freebsd@edvax.de> From: Per Gunnarsson Message-ID: <1e7dd86f-f8e0-7611-c187-34fd7374723c@yahoo.com> Date: Fri, 5 Jan 2018 07:05:33 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180105024415.c10765fc.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 06:05:46 -0000 On 01/05/18 02:44, Polytropon wrote: > mixer -f /dev/mixer0 [per@konjak ~]$ mixer -f /dev/mixer0 Mixer vol      is currently set to 100:100 Mixer pcm      is currently set to 100:100 [per@konjak ~]$ mixer -f /dev/mixer1 Mixer vol      is currently set to  85:85 Mixer pcm      is currently set to 100:100 Mixer speaker  is currently set to  74:74 Mixer line     is currently set to   1:1 Mixer mic      is currently set to  90:90 Mixer mix      is currently set to  74:74 Mixer rec      is currently set to  85:85 Mixer igain    is currently set to 100:100 Mixer ogain    is currently set to 100:100 Recording source: mic [per@konjak ~]$ mixer -f /dev/mixer2 Mixer vol      is currently set to  85:85 Mixer pcm      is currently set to 100:100 Mixer rec      is currently set to  37:37 Mixer igain    is currently set to   0:0 Mixer monitor  is currently set to  67:67 Recording source: monitor I will try playing around with the mixers. From owner-freebsd-questions@freebsd.org Fri Jan 5 07:08:02 2018 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 4B93EEB8428 for ; Fri, 5 Jan 2018 07:08:02 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id B625C79CDC for ; Fri, 5 Jan 2018 07:08:00 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39906285 for freebsd-questions@freebsd.org; Fri, 05 Jan 2018 13:03:10 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w0577tdk022211 for ; Fri, 5 Jan 2018 14:07:57 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w0577qix022210 for freebsd-questions@freebsd.org; Fri, 5 Jan 2018 14:07:52 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 5 Jan 2018 14:07:52 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180105070752.GA22162@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180104175156.440fa0c2.freebsd@edvax.de> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 07:08:02 -0000 Polytropon wrote: > On Thu, 4 Jan 2018 23:34:21 +0700, Victor Sudakov wrote: > > What do you convert ape and flac audio files to mp3 with? > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > decoding), what else could I try? > > Huh? I'm using ffmpeg regularly to convert from mp4 or flv _to_ mp3, > this works quite well. Maybe you need to install an additional encoder, > plugin, or library if you're lacking mp3 support? > > % ffmpeg -i example.flv example.mp3 > > It does what it says on the can. Works for years. :-) I have built ffmpeg-3.4.1_1,1 and holy sh*t! That's what it is trying to install on a headless machine: # pkg install ffmpeg Updating sibptus repository catalogue... sibptus repository is up to date. All repositories are up to date. The following 43 package(s) will be affected (of 0 checked): New packages to be INSTALLED: ffmpeg: 3.4.1_1,1 fontconfig: 2.12.1,1 freetype2: 2.8_1 gnutls: 3.5.16 trousers: 0.3.14_1 tpm-emulator: 0.7.4_2 gmp: 6.1.2 p11-kit: 0.23.9 libtasn1: 4.12 nettle: 3.4 xvid: 1.3.4,1 libx264: 0.148.2795 libvpx: 1.6.1_2 libvdpau: 1.1.1 libXext: 1.3.3_1,1 xproto: 7.0.31 xextproto: 7.3.0 libXau: 1.0.8_3 libX11: 1.6.5,1 libxcb: 1.12_2 libXdmcp: 1.1.2 libxml2: 2.9.7 libpthread-stubs: 0.4 kbproto: 1.0.7 libva: 2.0.0_1 libXfixes: 5.0.3 fixesproto: 5.0 v4l_compat: 1.6.3 mesa-libs: 17.3.0 libxshmfence: 1.2_2 libXxf86vm: 1.1.4_1 xf86vidmodeproto: 2.3.1 libXdamage: 1.1.4_3 damageproto: 1.2.1 libdrm: 2.4.88,1 libpciaccess: 0.13.5 pciids: 20171206 libunwind: 20170113_1 libv4l: 1.6.3_2 jpeg-turbo: 1.5.2 libtheora: 1.1.1_7 libvorbis: 1.3.5_1,3 opencv-core: 2.4.13.1_1 I definitely don't want all that X11 stuff there. What have I missed while building it? I most certainly have OPTIONS_UNSET=X11 im make.conf. I feel there are some knobs I need to disable before building. Do you happen to know which ones? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Fri Jan 5 07:17:46 2018 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 1FE66EB8DD6 for ; Fri, 5 Jan 2018 07:17:46 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 814B27A964 for ; Fri, 5 Jan 2018 07:17:44 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39906293; Fri, 05 Jan 2018 13:12:55 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w057Hf3Q022289; Fri, 5 Jan 2018 14:17:43 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w057Hb71022286; Fri, 5 Jan 2018 14:17:37 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 5 Jan 2018 14:17:37 +0700 From: Victor Sudakov To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180105071737.GB22162@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104165145.57260d5690b958a46390b9d9@sohara.org> <20180104170633.GA16142@admin.sibptus.transneft.ru> <20180104173022.14483fd42a6851ead9955bef@sohara.org> <20180104173900.GA16381@admin.sibptus.transneft.ru> <20180104181534.6998c38ce1e38acff9c9c4e3@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180104181534.6998c38ce1e38acff9c9c4e3@sohara.org> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 07:17:46 -0000 Steve O'Hara-Smith wrote: [dd] > > > The "pkg lock" way is kind of ugly. Did you ever try to bind your > > special package to a special repository (e.g. your very own > > poudriere), while the rest of the packages should keep affinity to the > > default repository (the FreeBSD project repository)? Is it at all > > possible with pkg(8) ? > > I did try maintaining my own repository with poudriere for a while, I do have my own repository with poudriere, it is used as the only source of packages for a dozen of my headless machines (I switch off the default FreeBSD repository on them). > pkg supports multiple repositories with a preference order so it was happy That's something new to me about the preference order. How is the order configured and how does it work? What if there is a newer package in the less preferred repositories, and an older one in the more preferred one, how is this situation resolved? > enough to pull from my repository preferentially. The only downside was > that I had to build all the dependencies as well as the ports I wanted That does not seem a big problem to me, I build a lot of packages anyway. > and I kept getting into trouble trying to keep the versions in sync. Could you please elaborate on that? Do you mean there is a problem if the package versions in two repositories are not in sync? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Fri Jan 5 07:23:54 2018 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 7D0E9EB9273 for ; Fri, 5 Jan 2018 07:23:54 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id E77FD7AD75 for ; Fri, 5 Jan 2018 07:23:53 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39906301 for freebsd-questions@freebsd.org; Fri, 05 Jan 2018 13:19:03 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w057Nobs022343 for ; Fri, 5 Jan 2018 14:23:51 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w057NmMK022342 for freebsd-questions@freebsd.org; Fri, 5 Jan 2018 14:23:48 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 5 Jan 2018 14:23:48 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180105072348.GA22296@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180105070752.GA22162@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180105070752.GA22162@admin.sibptus.transneft.ru> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 07:23:54 -0000 Victor Sudakov wrote: > Polytropon wrote: > > On Thu, 4 Jan 2018 23:34:21 +0700, Victor Sudakov wrote: > > > What do you convert ape and flac audio files to mp3 with? > > > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > > decoding), what else could I try? > > > > Huh? I'm using ffmpeg regularly to convert from mp4 or flv _to_ mp3, > > this works quite well. Maybe you need to install an additional encoder, > > plugin, or library if you're lacking mp3 support? > > > > % ffmpeg -i example.flv example.mp3 > > > > It does what it says on the can. Works for years. :-) > > I have built ffmpeg-3.4.1_1,1 and holy sh*t! That's what it is trying > to install on a headless machine: > > # pkg install ffmpeg > Updating sibptus repository catalogue... > sibptus repository is up to date. > All repositories are up to date. > The following 43 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > ffmpeg: 3.4.1_1,1 > fontconfig: 2.12.1,1 [dd] > > I definitely don't want all that X11 stuff there. What have I missed while building it? > I most certainly have OPTIONS_UNSET=X11 im make.conf. > > I feel there are some knobs I need to disable before building. Do you happen to know which ones? Oh no, ffmpeg is a dependency of www/firefox, so I'd probably better not disable anything in it lest FireFox functionality should suffer. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Fri Jan 5 08:04:55 2018 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 23FC2EBB7A7 for ; Fri, 5 Jan 2018 08:04:55 +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 E51247C9C3 for ; Fri, 5 Jan 2018 08:04:54 +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=1515139497; x=1517731497; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=Z0VCIOZii0MgZdhqH+o+bR/zQG0Atr5nitScgGY0eE0=; b=akPV+n6SLmOK3rcQtaipqMLgXfBqun7rhFwEwoYlLLR8+cXTLwvCnpjRzAQbpm5fs40j4AC8GsETfuM8/ROpw4/C+CO+H+cGzo+pZs0Ux0tin2qyxcWwkjAJQ1KC4NVDKMg7VP1k+pdCxKfcKwjf7L/iaqvaDSJaNdnr8LW08NE= X-Thread-Info: NDI1MC4xMi44MTAwMDAwMTQ3ZTY3NS5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r5.us-east.aws.in.socketlabs.com (r5.us-east.aws.in.socketlabs.com [52.204.195.176]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 5 Jan 2018 03:04:48 -0500 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r5.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 5 Jan 2018 03:04:45 -0500 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 1eXMzb-000HIf-De for freebsd-questions@freebsd.org; Fri, 05 Jan 2018 08:04:43 +0000 Date: Fri, 5 Jan 2018 08:04:43 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180105080443.0bc4725dd95987d1f997bb6f@sohara.org> In-Reply-To: <20180105070752.GA22162@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180105070752.GA22162@admin.sibptus.transneft.ru> X-Mailer: Sylpheed 3.6.0 (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.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 08:04:55 -0000 On Fri, 5 Jan 2018 14:07:52 +0700 Victor Sudakov wrote: > I definitely don't want all that X11 stuff there. What have I missed > while building Probably ffplay, also libvdpau is for nVidia based hardware acceleration so you can probably usefully drop that. After that go through and disable any optional codecs you don't want. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Fri Jan 5 09:02:59 2018 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 0EEDDEBE8F7 for ; Fri, 5 Jan 2018 09:02:59 +0000 (UTC) (envelope-from as@it64.ch) Received: from inet.schneider-pc.ch (inet.schneider-pc.ch [176.10.107.100]) by mx1.freebsd.org (Postfix) with ESMTP id 9BEBD7EBDD for ; Fri, 5 Jan 2018 09:02:57 +0000 (UTC) (envelope-from as@it64.ch) Received: from inet.schneider-pc.ch (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by inet.schneider-pc.ch (Postfix) with ESMTPSA id E9C2D2CEDD60 for ; Fri, 5 Jan 2018 09:57:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=inet.schneider-pc.ch; s=201709; t=1515142662; bh=zpZ5YeyKZRXFh1ZdP0JliB7MnLFaPeBDTtOiUAV7hOo=; h=Date:From:To:Subject:Reply-to:From; b=3kwKWs0lyFj/ThNyW5zqmjN+Cn5K0/US2Ebb9NGODa8oLV3dCEwfp2F7fegIhvGoA ee+F9JlyxPXK6t6x18vL02gaKWWAjitJSaZdvG4PaW4VuybCCwp/AxR1BiE3G1Z1QD Vd0JSN0FYh1+aoyGI/aW112QOHeawlcF+nvgkHvnC7S5fXx+bqpqNePFLpzEySKPjp FPNg/CT+Wf1StkWHNhw7jVI2rMUffndB1yFbdhj+i0r6YClykf2JX2LrwraKgBe7sw JI7CGq5m2yJMx88HDtUMRggtMxinwyF9+Ugrt7lqbuAokzY2lJ91WD9/wsU+NNQfG8 av87uqp4n8ogw== Received: from adsl-73-161-fixip.datacomm.ch (adsl-73-161-fixip.datacomm.ch [212.254.73.161]) by sync.jsa.ch (Horde Framework) with HTTPS; Fri, 05 Jan 2018 09:57:41 +0100 Date: Fri, 05 Jan 2018 09:57:41 +0100 Message-ID: <20180105095741.Horde.0RD_XU5kS0EfgsOwQrrpPrS@sync.jsa.ch> From: Andreas Schneider To: freebsd-questions@freebsd.org Subject: Data lost with zfs and bhyve Reply-to: as@it64.ch User-Agent: Horde Application Framework 5 MIME-Version: 1.0 X-MailScanner-Information_it64: Please contact the ISP for more information X-MailScanner-ID: E9C2D2CEDD60.A3911 X-MailScanner_it64: Found to be clean X-MailScanner-SpamCheck_it64: not spam, SpamAssassin (nicht zwischen gespeichert, Wertung=2.203, benoetigt 15, DKIM_SIGNED 0.10, DKIM_VALID -0.10, HELO_DYNAMIC_DHCP 0.84, HTML_MESSAGE 0.00, RCVD_IN_RP_RNBL 1.28, TW_ZF 0.08) X-MailScanner-SpamScore_it64: ss X-MailScanner-Envelope-From: as@it64.ch MailScanner-NULL-Check: 1515747463.87576@brYe53PlnjJArxelU2CiCA Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Description: Textnachricht X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 09:02:59 -0000 yesterday i had a strange data loss here is my configuration Freebsd 11.0p9 bhyve box (i know i should upgrade) 1x Guest with FreeBSD 10.3  file disk image (with ufs inside) 2x Guests with FreeBSD 11.1 zfs filesystems  on the same zpool (mirror) like first Guest 2x Guests with FreeBSD 11.0 zfs filesystems on other zpool other mirror 128 GB RAM ... HDs are SSD Server freezes at 23:00 local time -> no login possible to bhyve box and the first guest... other guests running normal On my fault i had no access to the KVM-Console with ipmi .. so i shtudown per ipmi acpi power key After reboot the data on the first guest was reset to 16:25 local time... (no snapshots after this time) the first guest is a imap server ... i know it was working until 21:30 because a had some mail received between 19:00 to 21:30.. after reboot data is lost up to 16:24 i found the following in messages.log at the bhyve box: Jan  4 16:25:04 hv1 kernel: pid 48842 (zfs), uid 0: exited on signal 6 (core dumped) an now my question ... how can i prevent such a sick behavior? From owner-freebsd-questions@freebsd.org Fri Jan 5 16:18:28 2018 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 5B415EB22B4 for ; Fri, 5 Jan 2018 16:18:28 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (mail.dpedia.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 1B0EC7050D for ; Fri, 5 Jan 2018 16:18:26 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.111.164] (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 1eXTXG-00016C-L6 for freebsd-questions@freebsd.org; Fri, 05 Jan 2018 16:03:54 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id w05F3qdR003037 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 5 Jan 2018 16:03:52 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id w05F3pdd003036 for freebsd-questions@freebsd.org; Fri, 5 Jan 2018 16:03:51 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 5 Jan 2018 16:03:51 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: client for matrix.org Message-ID: <20180105150351.GA2971@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20180104055057.GA2656@c720-r314251> <20180104123326.GA57197@mail.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <20180104123326.GA57197@mail.ru> 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: 88.217.111.164 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 16:18:28 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa jueves, enero 04, 2018 a las 01:33:26p. m. +0100, irco via free= bsd-questions escribi=C3=B3: > mm > runs on FreeBSD and works as advertised > https://gitlab.com/meutraa/mm >=20 > weechat > runs on FreeBSD and seems to be extensible to the matrix protocol > https://matrix.org/docs/projects/client/weechat.html I have installed the latter from git clone https://github.com/torhve/weechat-matrix-protocol-script.git and it works fine in the xterm and uRxvt. It took me some time to understand how to drive weechat in general, though, mostly because I haven't started reading the fine manual :-( matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d= e/ =F0=9F=93=B1 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlpPk9QACgkQR8z35Hb+ nRHb7w/+PIpFQD8l3TK7pBcXWQFEesyN4xrIkb/ehx+rSS7zNUJrAUgivDb34Drx v4hPAEGpuvbVYlasUWyUrbc0vv9xe4PdloUtvnNcLEBJt0nsKkKNJ6IDcDEXbneq qAHTjbbMMmUfSkIKPLrPa9bI4YczVgaLSJoXM3z3Q3BKNFYxlIdS93PITRLBOOPw Dhp/ZTNNsXTD5yHw2yo+aX0FdVjzI80KSbxLEOo80yHuTKx9IiLIEoGJ2e6NNEbN fk2kKx1ufOaaVzpK0VHRzKA9eIqfQll9ZHefR12tnVjiEbTwXYS5Ua4GbKvBLD2W QWmox5OPAzSj2yH2PEXjwIkQyvZvXWBamkZxieVEzuVYi6oj9MtM/h4GP5CNxq5S TiJB7C+lqQPNpVGUXNLNWrfn0BDr+bma+FYmV1dboH9s9JVBEPgGW1RHFT+TfmtS e3Pf+rQumqUe6SNklFN0xSD0k7SVZQDy3+ivEqkf9aIpBV6hdKo3Sm4foM+EccVA 34AzFeRKnGj5TLnkHxBbK6uN0YClQ/9qEl/cRnovDTx2Q3SJeXQvY0Bt2Mq8vjXJ wlISzDEup0vfNBdy6Dp1ER95jvjWG2LGussQah6npP2mKVdgQXp2Ha6WVBM+Ohk/ K/IkAeDVz1mrj79/O57ssyKIWkqiUMDQ8mtfwjgSUO092WDky78= =0XX3 -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-questions@freebsd.org Fri Jan 5 16:34:14 2018 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 F14BDEB2D32 for ; Fri, 5 Jan 2018 16:34:14 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::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 B2DA970E1E for ; Fri, 5 Jan 2018 16:34:14 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: by mail-oi0-x229.google.com with SMTP id 184so3440458oii.2 for ; Fri, 05 Jan 2018 08:34:14 -0800 (PST) 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=ui0Rdj0Gwi+NMddBwCbanyCUal5MBRj7TaCn64bxmBI=; b=gQ2hxEeLz+5b/cmfZwsOrs3NSE91eLO7Xmf7OZwdUnVeVLllcDAggqs5RSPr6KV0sK LC33kzTnGEvVF66Y8SggmCJ27SZteAXKt98gHB7TLWqGMPuCUFJSp2YL0fyaNF84KiQt eaxsSgmZlWT34ojs3wr5jobC4z9ux4U/ZIJHi2JPbqxWcArbEnT8ZrvbrxM9Q8HPN87o F2BL97EQhwc+cpE8pXaBxCMboqHT9Mf5VzbyGKlxn4vMLSO2zGM0UIbQ8sqJpnQDSXCi 3xLR1hBo1SpqPNywbTFRt1ES3v2btfBKmWN1Y/k3cwV/Lb/Gg5ZRl59fKHq9IsPwsYrm +Fpg== 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=ui0Rdj0Gwi+NMddBwCbanyCUal5MBRj7TaCn64bxmBI=; b=OP/wGdtgYjmYelJpxwLvrJ+j/L4CRrMeUbpBWZyAzG3/YPMssJkavb4JDaVK3k2yvH TpZYkdUWYiwKjmda76n1R9EB4zGn2KWT94MyKVoS02PYkr7PDbHQesgvSg4GWx03e1R6 cjJu/D8DAj49jrdvMor4Dhun9E5kNxWXW+G497jOTeWT9OvmOt4xW6e7BB1xHT1jdH6z +fgYF4S/A2eBLZsJM1u9nBEnMIwgxG+Dy6SrHrx3cS5PyhNPPGrmDRB9XJyeJmsFjX5K 9Gq9PzYSu5DKaFmJn1AJfPIRiCq/sIFynNMUqtDO1a1libWHQaX4SgC0zdNN+P9scHAV Vu2A== X-Gm-Message-State: AKGB3mJZQ6/8KTKdEIrlHO/5xJr4V8BUyQX6AY1XeY1jdgY746KTLXdS FCpMhZBVz6UfPUfzlcOOcE2xkE5pl5JvhDC3C50u7O8= X-Google-Smtp-Source: ACJfBov91xPlErgUBWP2dAe4EgMvh92/YPGXwZr/8KtTtpy9xgUYcm78OwswOCFHOVtng1L4Ts9IpwoJrvnfqVUA2sw= X-Received: by 10.202.189.195 with SMTP id n186mr1727161oif.94.1515170053759; Fri, 05 Jan 2018 08:34:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.168.31.15 with HTTP; Fri, 5 Jan 2018 08:34:13 -0800 (PST) From: Rob Belics Date: Fri, 5 Jan 2018 10:34:13 -0600 Message-ID: Subject: py27 ports always show "new version available" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 16:34:15 -0000 I'm sure I caused this problem when FLAVORS came out by trying to set a FLAVOR using "make". Using portmaster as I always have, py27-cffi and py27-setuptools update to the latest version that portsnap downloads but checking for new versions always returns "new version available" even after updating. portmaster -L --index-only | egrep '(ew|ort) version|total install' ===>>> New version available: py27-cffi-1.11.2 ===>>> New version available: py27-setuptools-38.2.5 From owner-freebsd-questions@freebsd.org Fri Jan 5 16:42:20 2018 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 DA214EB3496 for ; Fri, 5 Jan 2018 16:42:20 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::22c]) (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 9A98D713A5 for ; Fri, 5 Jan 2018 16:42:20 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: by mail-oi0-x22c.google.com with SMTP id o64so3440808oia.9 for ; Fri, 05 Jan 2018 08:42:20 -0800 (PST) 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=uOGXZq4cczd8WqQmIrjNsZNu+VquekUoRUYKdjgQYdI=; b=RRxgy1ZaS52/7jPPp8y5KqOABDnnP6Wy2Zc8cBtRiI38yM7SHiYvqPbu0/sbOYonDw 1EyTyC0GtTI2Z6S1/3rRx61LDx8qS+advXmpo3QRh+9XC4QRwq+fXgs3gi/ultZ5h3Sp tbuUtUwKz7dyoNJjStxHbbHsg8u0wg5NJu/QD8I1ZDmKiC2ta7C96gRK1DEiifnqZQ5y Ywdjs6ZBTT7gnVs9btwvyj2fhc749cfcO5bevR2M/A7bdqsh4g5LBdRS0xShGgw1kmRM AEQ04N+yHO5IrRUBZpLBu4l8ANSaiNmKY1G6ZI+OJF50tCwr4hhMdw610rbh6REH6vMs XwTg== 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=uOGXZq4cczd8WqQmIrjNsZNu+VquekUoRUYKdjgQYdI=; b=Buc/KVzMl8IdiU/v5lZldXWnUkQ9FjndBJTsuHHEeDZQYysSSATQKdgZcPfato/ncE qfPOLiG1JTTahfNR9+XP4be9+Ci1DDS8u+6jyFE6gcYLFlO3aYF97GhQDWAZ36YF618/ sqkssSs60Y77BGfTpbe9/wzsN4haWNuScK5PeZkFh1kykZ7Td7+4NnwPfHe2IHKVtSVz W7oR6F5e8bxW+5FJehsYRLjAKMA/aegLVaTQKO72zAlpSiCXL86SctqJgWiO5iOQPF+2 h+6/0Zhl8dccZ2gXr5NaBUHY5kOSh2gTZqVkEmyfuhB9kxN5Rj9ho9THDLIqh/VXJHjr 1sKg== X-Gm-Message-State: AKGB3mJ/0uW/J0m5S9ZLobNOs33c2o7lX7QjNYpI4nE+1NDqzcVhTdLr DzBWFwOhqS/JXD0tX85+3IMxBk6FNij1YC4fuKKR X-Google-Smtp-Source: ACJfBot9M5z4yuNJO80SwEOE8PCJVjtiAxJ0gj72wmy+4wenxat4Db92I8uYr3ayIfQw8hgjVvMGy+wrV8uXgFoFpX0= X-Received: by 10.202.107.140 with SMTP id g134mr1920812oic.208.1515170539760; Fri, 05 Jan 2018 08:42:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.168.31.15 with HTTP; Fri, 5 Jan 2018 08:42:19 -0800 (PST) From: Rob Belics Date: Fri, 5 Jan 2018 10:42:19 -0600 Message-ID: Subject: py27 ports always show "new version available" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 16:42:20 -0000 Sorry. Meant to post this to "ports". I'm asking over there now. From owner-freebsd-questions@freebsd.org Fri Jan 5 18:42:14 2018 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 7EE44EB9347 for ; Fri, 5 Jan 2018 18:42:14 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) (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 0A8C5777F7 for ; Fri, 5 Jan 2018 18:42:13 +0000 (UTC) (envelope-from yscrappy@gmail.com) Received: by mail-wr0-f196.google.com with SMTP id s13so2669054wra.10 for ; Fri, 05 Jan 2018 10:42:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wGxkOqqINVMMO/dmZLTv+2qj46eQ+3EDXfPhvxhlRR0=; b=O84/Ro31OeyzztvK2qGSEecH5rsjAAbYNa51CDCNaZfYONyFxOjltiwD/UfN5JD4pi NZQhait/A7I6X6NQqiv+LqWtHJhlRhyL6IggO8+V+M0UOO1CsewJPqgNyKEEQOTfjDNg VMTTwZnS3JMUycjaq3sxg1puCNs1ZPBx3dC0w2E6SXM4OU1YJysd/A2uEYBz1P0KTEmB Xz5UZ8K/zlTFZAyMBH0ZEZe5w+bi8ps5KhxkhrtfukJjkpQ+WZwl7cTS04BkYELnDU6O zImozDHgk1FAlcQ0hV5Lx1ZLby9g3hophBP8MsrmtDKB5nViPRfGsbYUigBRtZKx1Xj0 mZVg== X-Gm-Message-State: AKGB3mL1JEwkIgl4i/G/61Rf5HTem8+nR39bPrpnPEHXHHa9ESDAqhX8 M6na3TSzH3ymE+tWevRr6/Y++6aO X-Google-Smtp-Source: ACJfBoujf0yAzxo/UlJd3b9fN4SGgbafHbF07AsOCnXL5v70XzMkVGhyr+Qj6Zz4fGiIglWwaUcDFw== X-Received: by 10.223.128.67 with SMTP id 61mr3882565wrk.234.1515176340735; Fri, 05 Jan 2018 10:19:00 -0800 (PST) Received: from hub.org (hub.org. [188.227.186.52]) by smtp.gmail.com with ESMTPSA id i65sm20371065wme.20.2018.01.05.10.18.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 10:18:59 -0800 (PST) Received: from localhost (unknown [188.227.186.44]) by hub.org (Postfix) with ESMTP id 012C218CC789; Fri, 5 Jan 2018 18:18:59 +0000 (UTC) Received: from hub.org ([188.227.186.52]) by localhost (maia-lon.uk.hub.org [188.227.186.44]) (maiad, port 10024) with ESMTP id 31778-08; Fri, 5 Jan 2018 18:18:58 +0000 (UTC) Received: from [192.168.0.8] (S0106f0f249687dd3.gv.shawcable.net [24.108.212.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.org (Postfix) with ESMTPSA id 2F93218CC76F; Fri, 5 Jan 2018 18:18:53 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.6\)) Subject: Re: Running bsdstats through a proxy From: Marc G Fournier In-Reply-To: <2FD5135F-097E-4665-A084-7583E3B16163@hub.org> Date: Fri, 5 Jan 2018 10:18:50 -0800 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2A2754A8-109D-4E77-90BD-3B8560C0B972@hub.org> References: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org> <8F9BE360-6F16-4CE5-9CD5-20ABF50B8BB6@hub.org> <2FD5135F-097E-4665-A084-7583E3B16163@hub.org> To: Olivier Nicole X-Mailer: Apple Mail (2.3445.1.6) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 18:42:14 -0000 Worked with Olivier =E2=80=A6 PROXY issue he was experiencing has been = resolved =E2=80=A6 > On Jan 4, 2018, at 20:18, Marc G Fournier wrote: >=20 >=20 > Hrmmm =E2=80=A6 I didn=E2=80=99t write the PROXY code, so if anyone is = familiar with proxies, please feel free to step up =E2=80=A6 but could = you modify the code ( /usr/local/etc/periodic/monthly/300.statistics ) = and change the first line to state: >=20 > #!/bin/sh -x >=20 > ( note, just adding the x to the end of hte line ) >=20 > then send me the output ( privately, not to the list ) of: >=20 > /usr/local/etc/periodic/monthly/300.statistics -nodelay >=20 > that should let me see how its re-writing things =E2=80=A6 for = starters, the truncation at =E2=80=98/sc=E2=80=99 is odd, since it = should be something like: >=20 > /scripts/enable_token.php=E2=80=A6 >=20 >=20 >=20 >> On Jan 4, 2018, at 19:50, Olivier Nicole = wrote: >>=20 >> Marc, >>=20 >> On a new machine (FreeBSD 11.1-RELEASE-p6) with bsdstats-6.0_2, I = see: >>=20 >> The machine contacts the proxy with: HEAD.http://rpt.bsdstats.org/. >> Reply: HTTP/1.0.302Moved.Temporarily >>=20 >> Then the machine contacts the proxy with: = GET.http://rpt.bsdstats.org/sc >> Reply: HTTP/1.0.500.Internal.Server >>=20 >> Best regards, >>=20 >> Olivier >>=20 >> On Fri, Jan 5, 2018 at 8:24 AM, Marc G Fournier = wrote: >>>=20 >>> You should be able to just add them to /etc/periodic.conf =E2=80=A6 = bsdstats on FreeBSD will read its environment variables from there =E2=80=A6= >>>=20 >>>=20 >>>=20 >>>> On Nov 14, 2017, at 23:45, Matthew Seaman = wrote: >>>>=20 >>>> On 15/11/2017 05:19, Olivier wrote: >>>>> Hi, >>>>>=20 >>>>> I would like to enable bsdstats to run, but I need to configure a = proxy. >>>>>=20 >>>>> I see it rely on the environment variable HTTP_PROXY, but where = should I >>>>> define it so that it is used by the monthly periodic script and by >>>>> bsdstats launched at boot? >>>>>=20 >>>>> TIA, >>>>>=20 >>>>> Olivier >>>>>=20 >>>>=20 >>>> /etc/login.conf should work for you. You can add whatever = environment >>>> settings you want to the :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK:= \ line. >>>>=20 >>>> Remember to run 'cap_mkdb /etc/login.conf' after editing the file. >>>>=20 >>>> Cheers, >>>>=20 >>>> Matthew >>>>=20 >>>=20 >>> _______________________________________________ >>> 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" >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Fri Jan 5 19:49:44 2018 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 97FB2EBCBBF for ; Fri, 5 Jan 2018 19:49:44 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: from sonic305-20.consmr.mail.ir2.yahoo.com (sonic305-20.consmr.mail.ir2.yahoo.com [77.238.177.82]) (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 ED04F7AD58 for ; Fri, 5 Jan 2018 19:49:43 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) X-YMail-OSG: upjo9BcVM1n1RFtS4Qi2EvgPVz_jGTVFnpyJFAuxIUYoYlfRCZvknoRIjVrz1O3 c_D1JlTJCX3HocB4cj.kVyF4yMEGwWUD12NE5cN2cQroizsebiTbiiUQ_SOO4oquJbVpY6dtwJYx a5B20Ax1aGz5BoDVcx074AkrtNWaZdHUW2RxZ1xM3UF6HUvSGuQnTvdcYAkeI3RW9aBxzDiQxfb4 Lku7aANjgd2XwE9vJt_PbyZtt6tBB79WEBc4HhrBeiF7dz11kGqXLkVRbFYNKru8BbdjKUVDgBmq IAA5MAwDHJSA6_ZFe7RVFo7RNaFsLq0cdmpVmzXLxXvgQenIAVbkuN.0oJ.VmXWk8Zzz_Mjr2e4I ddiyQ7QJWr.DmsY_mSC92ISFvkvY1UJJOQO4GnTtPQXJQeKbiU07sEjrZci_i7jkmY93JC6hMVNE JJ9L6VmqvWTvvVsK08cKPFo7Oq_l4rz8DksD9pQqoX12BZGwgvpXkpK9azpY0GDgSPv72ksc9q8u 9KTX2MtfRY91t Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Fri, 5 Jan 2018 19:49:36 +0000 Received: from smtp165.mail.ir2.yahoo.com (EHLO [10.0.0.5]) ([46.228.39.32]) by smtp407.mail.ir2.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 4d1c9cfb5454af4abd5a8a25f5d00e9b for ; Fri, 05 Jan 2018 19:39:23 +0000 (UTC) To: freebsd-questions@freebsd.org From: Per Gunnarsson Subject: mount -a problem with /etc/fstab Message-ID: <35571809-560c-1bbd-376f-45e59789e6cc@yahoo.com> Date: Fri, 5 Jan 2018 20:39:21 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 19:49:44 -0000 When I try mount -a I get: fstab: /etc/fstab:9: Inappropriate file type or format fstab: /etc/fstab:10: Inappropriate file type or format My fstab below: /dev/ada0p2     /               ufs     rw      1       1 /dev/ada0p3     none            swap    sw      0       0 /dev/ada0p4     /tmp            ufs     rw      2       2 /dev/ada0p5     /var            ufs     rw      2       2 /dev/ada0p6     /usr            ufs     rw      2       2 /dev/ada0p7     /home           ufs     rw      2       2 /dev/linux_lvm/konjak-vg-root   /debian/root ext4 mountprog=/usr/local/bin/ext4fuse allow_other,ro 0 0 /dev/linux_lvm/konjak-vg-home   /debian/home ext4 mountprog=/usr/local/bin/ext4fuse allow_other,ro 0 0 [per@konjak ~]$ kldstat Id Refs Address            Size     Name  1   32 0xffffffff80200000 1f67a88  kernel  2    1 0xffffffff82169000 124fb8   nvidia-modeset.ko  3    3 0xffffffff8228e000 abe00    linux.ko  4    2 0xffffffff8233a000 df88     linux_common.ko  5    2 0xffffffff82348000 11e6a00  nvidia.ko  6    1 0xffffffff8352f000 b270     geom_linux_lvm.ko  7    1 0xffffffff8353b000 1a8c8    fuse.ko  8    1 0xffffffff83911000 3650     ums.ko  9    1 0xffffffff83915000 2986     uhid.ko 10    1 0xffffffff83918000 10913    snd_uaudio.ko 11    1 0xffffffff83929000 bb55     tmpfs.ko From owner-freebsd-questions@freebsd.org Sat Jan 6 06:39:46 2018 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 BDA53EC3731 for ; Sat, 6 Jan 2018 06:39:46 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 36EF678624 for ; Sat, 6 Jan 2018 06:39:44 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39906932; Sat, 06 Jan 2018 12:34:53 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w066dddM032307; Sat, 6 Jan 2018 13:39:41 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w066dZna032306; Sat, 6 Jan 2018 13:39:35 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 6 Jan 2018 13:39:34 +0700 From: Victor Sudakov To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180106063934.GA32231@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180104175156.440fa0c2.freebsd@edvax.de> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 06:39:46 -0000 Polytropon wrote: > > What do you convert ape and flac audio files to mp3 with? > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > decoding), what else could I try? > > Huh? I'm using ffmpeg regularly to convert from mp4 or flv _to_ mp3, > this works quite well. Maybe you need to install an additional encoder, > plugin, or library if you're lacking mp3 support? > > % ffmpeg -i example.flv example.mp3 > > It does what it says on the can. Works for years. :-) > > With ffmpeg's mp3 support, you should be able to convert from flac > or ape in a similar manner. I'm somewhat disappointed because ffmpeg does not seem to be able to split flac/ape files according to cue file, or extract track names therefrom and insert them into the mp3 file. So eventually I will need to write a script to process all the *.ape files, probably with bchunk. Which brings the following question. If the file and directory names have spaces in them, a simple loop like this: #!/bin/sh for i in `find . -iname '*.ape'` do do_something $i done breaks on spaces. What is the sh magic to handle such filenames? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Sat Jan 6 08:33:22 2018 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 B4C5FE8542A for ; Sat, 6 Jan 2018 08:33:22 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x22c.google.com (mail-yb0-x22c.google.com [IPv6:2607:f8b0:4002:c09::22c]) (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 79A167C934 for ; Sat, 6 Jan 2018 08:33:22 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x22c.google.com with SMTP id 129so2738866ybe.5 for ; Sat, 06 Jan 2018 00:33:22 -0800 (PST) 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=jqH0q5zQMQoOz0j9XMWlO4KSV4DIDcJc+rEA6MG5dWg=; b=CXzqitkUjidnwj2IDmbjLiLoLpjoA1Qo4gRIBd07oHv6NkeJLHG7368Er/Tz28Q5X+ F8A+8OYsaXkHjXqD/Aaet15d/GkwYpdIipTVgGaUu9aKULE5zCJE+v9HEonbS1cOHVJQ avAjAF2mJVXnE4O1mjJjmawiC6vyZeNYrAa7FX9YZ58x6oMjodWraMudfBGiFPp2EOzk 6EQw3fO6IJw23yJnXxs+8kNhPo6lFgZfmxqK7KrRBnP4q/Dz56geJGgqbCEhO36j7xC0 /bOwARZmfpJWOmRzNKuUVNeOUB+SdYJswemuSNW8N7DNVZSPuxRMdiWNOvYpU/L0zUfy lubg== 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=jqH0q5zQMQoOz0j9XMWlO4KSV4DIDcJc+rEA6MG5dWg=; b=YVrDP8DheY+ksV1bLVBrrXFLU0HASg5y+CwrdWmbVLREu8Ivw0e1TwMaoLwX0FcDf9 vVduacg9PwQ7XaFq4YN9DSK0AM0UaOo8Iz53XzkGzUT6ae8uXhUXrwSHDeXEGhkVJqsL A2C4A0edyEoG/PZYPklmTjh8KmE/HqlgntbjNYyArrFH/V5DfE+0NUYW6wcgYkpOg5dT NblEZ9hawV+XHE5E65shCOx4vKE2GMJw4zHrf4pGdZr5S6P8mgbKpOkv4G2NCSkLni8+ QpyfEMX2x0fGYrz6BPbyd1WW0kbkFrlZVq7sFn+4N8uGLl9aq+Iqs4bawwMCGB8evnS/ 2qYQ== X-Gm-Message-State: AKGB3mK8bWv0QGFnDwhjkh7ekLtqTmmiv7UP2HpGApgQuLrsogDhBr0M Y8ZBMGnbI9yegNwkpTSnLGhERkoUKl6UO36w05A= X-Google-Smtp-Source: ACJfBotlgiTsBPh9Cd9U/NfJkHBQfUBvdhyADRBhEFJA5yydWrCCaewQJ7lQKPCpQ3NdnIJf6a0t1rJPj5eNMp5i8NU= X-Received: by 10.37.129.204 with SMTP id n12mr5235693ybm.217.1515227601347; Sat, 06 Jan 2018 00:33:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.174.3 with HTTP; Sat, 6 Jan 2018 00:33:20 -0800 (PST) In-Reply-To: <20180106063934.GA32231@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> From: Ultima Date: Sat, 6 Jan 2018 00:33:20 -0800 Message-ID: Subject: Re: Convert .flac and .ape to mp3 To: Victor Sudakov Cc: Polytropon , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 08:33:22 -0000 do_something "$i" On Fri, Jan 5, 2018 at 10:39 PM, Victor Sudakov wrote: > Polytropon wrote: > > > What do you convert ape and flac audio files to mp3 with? > > > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > > decoding), what else could I try? > > > > Huh? I'm using ffmpeg regularly to convert from mp4 or flv _to_ mp3, > > this works quite well. Maybe you need to install an additional encoder, > > plugin, or library if you're lacking mp3 support? > > > > % ffmpeg -i example.flv example.mp3 > > > > It does what it says on the can. Works for years. :-) > > > > With ffmpeg's mp3 support, you should be able to convert from flac > > or ape in a similar manner. > > I'm somewhat disappointed because ffmpeg does not seem to be able to > split flac/ape files according to cue file, or extract track names > therefrom and insert them into the mp3 file. > > So eventually I will need to write a script to process all the *.ape > files, probably with bchunk. Which brings the following question. If > the file and directory names have spaces in them, a simple loop like > this: > > #!/bin/sh > for i in `find . -iname '*.ape'` > do > do_something $i > done > > breaks on spaces. > > What is the sh magic to handle such filenames? > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > AS43859 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sat Jan 6 08:55:37 2018 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 2C73FE8C8CA for ; Sat, 6 Jan 2018 08:55:37 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4CE7D46D for ; Sat, 6 Jan 2018 08:55:36 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39906980; Sat, 06 Jan 2018 14:50:46 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w068tWtm033246; Sat, 6 Jan 2018 15:55:34 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w068tSE3033245; Sat, 6 Jan 2018 15:55:28 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 6 Jan 2018 15:55:28 +0700 From: Victor Sudakov To: Ultima Cc: Polytropon , FreeBSD Mailing List Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180106085528.GA33117@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 08:55:37 -0000 Ultima wrote: > > So eventually I will need to write a script to process all the *.ape > > files, probably with bchunk. Which brings the following question. If > > the file and directory names have spaces in them, a simple loop like > > this: > > > > #!/bin/sh > > for i in `find . -iname '*.ape'` > > do > > do_something $i > > done > > > > breaks on spaces. > > > > What is the sh magic to handle such filenames? > do_something "$i" Nope, these quotes make no difference, they are too late. The problem is in the "for " line, it cannot differentiate spaces _in_ filenames and _between_ filenames. Look: $ touch "this is a long file name.ape" $ ~/bin/ape2mp3.sh + find . -iname '*.ape' + echo ./this ./this + echo is is + echo a a + echo long long + echo file file + echo name.ape name.ape $ I'm sure the solution exists, it must be a very common case. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Sat Jan 6 09:34:54 2018 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 89259EA4EF8 for ; Sat, 6 Jan 2018 09:34:54 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::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 48C337EB34 for ; Sat, 6 Jan 2018 09:34:54 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x229.google.com with SMTP id q26so2648965ywa.6 for ; Sat, 06 Jan 2018 01:34:54 -0800 (PST) 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=MPvelf/oki4EvIgggHyXllk1nd0y0YfEJcS5BC3Yn94=; b=GdoEi7SCWEv4WSngv9sb7gPjz9xktYEgCkUI9+X0chBU3oQorfNBDb6haofbfafTBe T/l9DzriDcbPzapbhVQxRv2/HDV+G8JEsB/TL8BTGVW1+iCwWbISWR1mfGf1ZtePJ/fj OEVaAB0WyJ/q9v4uPr/BQVtbaHnhjtdJIUeCN30kvht1E8VpAKIz1OlcbsD/72+E/Ryh /EE8ZVtnWrZnzIe9TgBub5kz+u6oRqfVVoXR8+RYp955t8peZHm8x5zjv1vBYvxlduvN inbtT3Fl3tIWcXTkl3J5uiHp+kXQBu2iTfvU/mhC0aYRap1lIUFOyYnjzgz+1Bkd5uU5 zNNQ== 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=MPvelf/oki4EvIgggHyXllk1nd0y0YfEJcS5BC3Yn94=; b=aVNInX7aSpZ65Iim4gtWZeLi3nUDP+7wo5vbRbR7/x4MuT9x5rCs/ujZtuYO95bvnv HDqeyAmaKXmxpT+/wc0D+j6HS1LhMBetzLy3btg8NT+TS6/jQUQNwcuI9dP9oN923o4H 1Y/O+a8k1zaO4PKBPq8Omm/tKVHo9DgYQvcqzux5YXSEC5aossSuI+guZcaofe8yl9ej a71DuxPW3jWwyW6vd6oLG4Cc7c8XicJplfILf6Yg1hP84ysUxQom+Fo3yMEScKaEo1UD aIekXcUtbTUjSQtVSGjza4HhDuK+nOwqO2x3LLKHhXZGzd51ypw/Vnd19mMcsSmfAPyo QduQ== X-Gm-Message-State: AKGB3mKPRLEB4bPsPA4YBx7MiG2zfCySnk2ARqmQZ1jdmj/O+OhZWI0e Ojq10M0r1n7GY1sBi0gBCnM2I8cob8EEriGqiBA= X-Google-Smtp-Source: ACJfBosisQZxCjagA6WbjttrNtptluSAn0Cp0zz1JcHTXFNacnoxXrwJIAtyi5jZnG229J+gsjlMmDui8ypHV723474= X-Received: by 10.129.122.215 with SMTP id v206mr5411408ywc.115.1515231293150; Sat, 06 Jan 2018 01:34:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.174.3 with HTTP; Sat, 6 Jan 2018 01:34:52 -0800 (PST) In-Reply-To: <20180106085528.GA33117@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106085528.GA33117@admin.sibptus.transneft.ru> From: Ultima Date: Sat, 6 Jan 2018 01:34:52 -0800 Message-ID: Subject: Re: Convert .flac and .ape to mp3 To: Victor Sudakov Cc: Polytropon , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 09:34:54 -0000 ah, yeah sorry I didn't understand the problem. find . -iname "*.ape" -exec echo \"{}\" \; This should be a solution. On Sat, Jan 6, 2018 at 12:55 AM, Victor Sudakov wrote: > Ultima wrote: > > > So eventually I will need to write a script to process all the *.ape > > > files, probably with bchunk. Which brings the following question. If > > > the file and directory names have spaces in them, a simple loop like > > > this: > > > > > > #!/bin/sh > > > for i in `find . -iname '*.ape'` > > > do > > > do_something $i > > > done > > > > > > breaks on spaces. > > > > > > What is the sh magic to handle such filenames? > > > do_something "$i" > > Nope, these quotes make no difference, they are too late. > > The problem is in the "for " line, it cannot differentiate spaces _in_ > filenames and _between_ filenames. Look: > > $ touch "this is a long file name.ape" > $ ~/bin/ape2mp3.sh > + find . -iname '*.ape' > + echo ./this > ./this > + echo is > is > + echo a > a > + echo long > long > + echo file > file > + echo name.ape > name.ape > $ > > I'm sure the solution exists, it must be a very common case. > > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > AS43859 > From owner-freebsd-questions@freebsd.org Sat Jan 6 09:44:09 2018 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 683B0EA5740 for ; Sat, 6 Jan 2018 09:44:09 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x234.google.com (mail-yb0-x234.google.com [IPv6:2607:f8b0:4002:c09::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 2108E7EFEA for ; Sat, 6 Jan 2018 09:44:09 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x234.google.com with SMTP id j7so2772803ybl.3 for ; Sat, 06 Jan 2018 01:44:09 -0800 (PST) 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=yU95AwkglECLcmOJWp4Wv3VO2JhUc0F9Rkwas+j4cBs=; b=qTnNfvJmlholqeMzcikJIkEwFOsrjOZ0LvPXya+Rec32wDpVdOJaPCx5dJQtbID3rM ZffjgxNGYppC/0fb4Jxjv/bIrnh/ywjFUC+II6Isx6w4RIt8qUhzQbYwHyKeIfOLyhVO G8dKjMugzS3UczfyNvVp/cAf0xt+qHJRZa7bIyLAl+upftEzPZC5lMlZo/B9uVG3IGti gum/UDi+Xg1Nd3wckKKkZx9MmakbZr2VsMyoeB43V7tbipw7zZFVuPfrD+7r8spFBpdX 1Y+tsCP5S1WXX86FS3sf925dt4hCSMAT1EpaimgYM1gXns9FJFk/xQD8Bnd1rZaGT99R h0Iw== 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=yU95AwkglECLcmOJWp4Wv3VO2JhUc0F9Rkwas+j4cBs=; b=rs98Y0p8f2SeVTSnzLDPAc49YTzT1pHGLkPJPtEYw/EhH5otz8BLg5fdBhbMi8gRN4 dk3UmhEn1aSYZrFtNH4/iHI9s1bkFQ7bpS2iBGeQfNtzMtOo175GUebK2rL6zdrS+3UF rq6n+oDefXAyF2gNv3BVYQ/+y72hOjIw7lE5gG5tdZlqzAauMDCrnePytXt1zHgg+aD0 ZXqMrwNwN39zrZeL2vSiNcHQkEM2qqO7KMPDMELvpTBSGyezQgNOQFJGqaLRFVHPMpHV txL9UEfcErqCv/8toPdUOmKkV9xIAXsMZOlLPWH22M4t+mLejQHwqvAM2xz083iUtQ+o YEZw== X-Gm-Message-State: AKGB3mI/rZwyRU45Z8KNF/IAILkud/TSrd5RK9g/d7FT6wd1gRDOwQuZ jZdEoNtDSUZeXopfgfhnDSfn1OUzaOkY/ip6rvg= X-Google-Smtp-Source: ACJfBou9hrn4rNCf9NfSiKdHFrcZCmcHe3+wkAaaVLikzqSZtLGNEOTcNOFjXjRToIIvb2/RCk/UfJcOJx6GuS1G7E0= X-Received: by 10.37.129.204 with SMTP id n12mr5356487ybm.217.1515231848155; Sat, 06 Jan 2018 01:44:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.174.3 with HTTP; Sat, 6 Jan 2018 01:44:07 -0800 (PST) In-Reply-To: References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106085528.GA33117@admin.sibptus.transneft.ru> From: Ultima Date: Sat, 6 Jan 2018 01:44:07 -0800 Message-ID: Subject: Re: Convert .flac and .ape to mp3 To: Victor Sudakov Cc: Polytropon , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 09:44:09 -0000 Actually, that wont work either. I decided to go look at some of my scripts where I had to do something similar, the solution was setting IFS. IFS=$'\n' On Sat, Jan 6, 2018 at 1:34 AM, Ultima wrote: > ah, yeah sorry I didn't understand the problem. > > find . -iname "*.ape" -exec echo \"{}\" \; > > This should be a solution. > > On Sat, Jan 6, 2018 at 12:55 AM, Victor Sudakov > wrote: > >> Ultima wrote: >> > > So eventually I will need to write a script to process all the *.ape >> > > files, probably with bchunk. Which brings the following question. If >> > > the file and directory names have spaces in them, a simple loop like >> > > this: >> > > >> > > #!/bin/sh >> > > for i in `find . -iname '*.ape'` >> > > do >> > > do_something $i >> > > done >> > > >> > > breaks on spaces. >> > > >> > > What is the sh magic to handle such filenames? >> >> > do_something "$i" >> >> Nope, these quotes make no difference, they are too late. >> >> The problem is in the "for " line, it cannot differentiate spaces _in_ >> filenames and _between_ filenames. Look: >> >> $ touch "this is a long file name.ape" >> $ ~/bin/ape2mp3.sh >> + find . -iname '*.ape' >> + echo ./this >> ./this >> + echo is >> is >> + echo a >> a >> + echo long >> long >> + echo file >> file >> + echo name.ape >> name.ape >> $ >> >> I'm sure the solution exists, it must be a very common case. >> >> >> -- >> Victor Sudakov, VAS4-RIPE, VAS47-RIPN >> AS43859 >> > > From owner-freebsd-questions@freebsd.org Sat Jan 6 12:12:03 2018 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 1C28EEB676E for ; Sat, 6 Jan 2018 12:12:03 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (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 D89A36B4CF for ; Sat, 6 Jan 2018 12:12:02 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from [90.187.37.173] (helo=workstation) by www81.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-GCM-SHA256:128) (Exim 4.85_2) (envelope-from ) id 1eXmu9-000209-Sw; Sat, 06 Jan 2018 12:44:50 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: Polytropon , "Victor Sudakov" Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> Date: Sat, 06 Jan 2018 12:44:40 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <20180106063934.GA32231@admin.sibptus.transneft.ru> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.99.2/24196/Sat Jan 6 06:13:56 2018) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 12:12:03 -0000 Am .01.2018, 07:39 Uhr, schrieb Victor Sudakov : > So eventually I will need to write a script to process all the *.ape > files, probably with bchunk. Which brings the following question. If > the file and directory names have spaces in them, a simple loop like > this: > > #!/bin/sh > for i in `find . -iname '*.ape'` > do > do_something $i > done > > breaks on spaces. > > What is the sh magic to handle such filenames? > xargs, you may want to run a few conversions in parallel: find . -iname '*.ape' -print0 | xargs -0 -I% -P convert % %.mp3 -- Michael From owner-freebsd-questions@freebsd.org Sat Jan 6 12:40:59 2018 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 9C227EB795A for ; Sat, 6 Jan 2018 12:40:59 +0000 (UTC) (envelope-from jsportaro@outlook.com) Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-oln040092009059.outbound.protection.outlook.com [40.92.9.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BCCC6C271 for ; Sat, 6 Jan 2018 12:40:58 +0000 (UTC) (envelope-from jsportaro@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OXgbfPMabMz6zct4IrKivhPMjvzqoJWoPWVC6vKFEiw=; b=oeGgJDTAjxz3UAuAQrYoe3wGduDIWJvt8xT5NnpATrdq+pY1hGfRZSLz8xJKR1xUhhFCX0Bdu1V74N1NpqQgAntbJDfQ+zr8OcUedZIaSyHKXazMbyXMjnzj2MWpP0DsigAkFZ02yv5ZG+AcGVF607COW34x4UrGeK2eL3JuGGdtcdC9e3wTI4Cuk4jBmC2/M+aba6CrhAXDV4rZvdHZYwudbRrKtXlFVH1dFlWDCmgKb63NoIZwYy7ZLsFzQXt/Yq9IL1klZFg8JPn1U0oZ1Dvvb+Wcvr9L/jIlazEeC5voFG8ghSZAnc5aQH7zniEbtYPulopJNy4I573SafXlmA== Received: from CO1NAM04FT046.eop-NAM04.prod.protection.outlook.com (10.152.90.51) by CO1NAM04HT058.eop-NAM04.prod.protection.outlook.com (10.152.91.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.302.6; Sat, 6 Jan 2018 12:40:55 +0000 Received: from DM5PR1201MB0250.namprd12.prod.outlook.com (10.152.90.57) by CO1NAM04FT046.mail.protection.outlook.com (10.152.91.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.345.12 via Frontend Transport; Sat, 6 Jan 2018 12:40:56 +0000 Received: from DM5PR1201MB0250.namprd12.prod.outlook.com ([10.174.107.137]) by DM5PR1201MB0250.namprd12.prod.outlook.com ([10.174.107.137]) with mapi id 15.20.0386.006; Sat, 6 Jan 2018 12:40:56 +0000 From: Joseph Portaro To: "freebsd-questions@freebsd.org" Subject: LTTng on FreeBSD Thread-Topic: LTTng on FreeBSD Thread-Index: AQHThuku3Mb/y0UuwEOJ2gDrGUrL0w== Date: Sat, 6 Jan 2018 12:40:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:6A7F366972C8563A5D4AB632B7B261657CC425C777C5631B9A6465320AC4D20F; UpperCasedChecksum:4ACD3407078777D0C6EAE7B3A4C32620C078B2D227E8640FF939EA8E3E9193F6; SizeAsReceived:6785; Count:43 x-tmn: [JiUCcnf4BZHF9j51f3btt3spTNjxvrBM] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CO1NAM04HT058; 6:8Z3QWChBVvpGMp3SMY3lywBuuoJ+Lezl3OvFJycZu6wFbLAPnV6sBhRP8ESGNCAhN5IOYuVq/cog9g8vYCoorEXKyt36jJf1oBr5tSX2/qCvsaam967XiHa5hr02pHiFS03kD0f3oRI/pzSOyFYMOIsd6ygqpJ16ehgSPCe4WBM9no4w8YTsmYkPpW9Fl/1VSTeKiUHzAtYgMfA0kzM1u+DPoCOursPprB7h9rvkL9KDloLU2aTVuInU1hx7s/yxaEMdzLDUvaBYlxaU+DR+a6588PKbXguHVhdEPimSsv1740TYy1ZZxtrjCm/yTsEnzfZ9NAvTez9XZ7MjZydFQHVQnRtwLfGMvfv6EcodUXg=; 5:WHvV+j6XT/xIW4TA+YKZJ+UQIcoiCqXLHtSLgYtDGZ38mk4Y5a1cEq3jpxlid65pnDzufLL8bIe+XJGDndntq5+wBP9WoHP0jRS7nh9I4EaGbZDmZhKmMDvp5+oSBlgprnecrHssuqaXKZrXaqSUvW15q3aZcNX1kY5yQkmlH/E=; 24:qIDxIck+gaIv/rgcqKGzp1bjYbIY+BG6Ucflwh+JZAxcwYDosCOLe5um6/eztnvdkP+VulH5loskCP2fPISYC/WILhZfZZieSbxrAICzPkI=; 7:xC1k1V4e50Zt00xQ3wGcvw3wZVc2B8b11qOrcCKPTEe2IHrITQzVTz6EffHJxzmEFKymvei5BEcGetPiukzqhy2b/fthe8BiMTdshQIpBR+JccAhFterCXfnAwQKI2v6NlOyGZjL/XvOKUoqKXofw9VMFtvynoCmbZIgwJFelSTK+hD8YNCFJHW75LpyD1hZBwbb12i/fPA1WpouAGRkAMN1LcFfLmN1RQbpYvlnX7+h2WhLzqI/wFmo5p5yMHfA x-incomingheadercount: 43 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:CO1NAM04HT058; x-ms-traffictypediagnostic: CO1NAM04HT058: x-ms-office365-filtering-correlation-id: baeca393-cb59-4393-041f-08d55502bb22 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:CO1NAM04HT058; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CO1NAM04HT058; x-forefront-prvs: 0544D934E1 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:CO1NAM04HT058; H:DM5PR1201MB0250.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: baeca393-cb59-4393-041f-08d55502bb22 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2018 12:40:55.9719 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT058 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 12:40:59 -0000 Working on some CoreCLR functionality for the FreeBSD port. A recent commi= t has made the assumption that LTTng is supported on BSDs (specifically Fre= eBSD) but that seems incorrect to me. Can anybody weigh in on whether it = is/isn=92t supported? I=92ve seen references to support on the internet (l= ooking at you Wikipedia) but not much in the way of documentation. Thanks, Joe From owner-freebsd-questions@freebsd.org Sat Jan 6 13:01:12 2018 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 9C126EB8702 for ; Sat, 6 Jan 2018 13:01:12 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-queue-adx-1.mail.thdo.gradwell.net (outbound-queue-adx-1.mail.thdo.gradwell.net [212.11.71.246]) by mx1.freebsd.org (Postfix) with ESMTP id 6711F6CC67 for ; Sat, 6 Jan 2018 13:01:11 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-edge-adx-1.mail.thdo.gradwell.net (outbound-edge-adx-1.mail.thdo.gradwell.net [212.11.71.230]) by outbound-queue-adx-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 1177C21E0D for ; Sat, 6 Jan 2018 13:00:20 +0000 (GMT) Received: from cpc138954-jarr14-2-0-cust73.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.236.194.74) (smtp-auth username fbsd%pop3.dgmm.net, mechanism plain) by outbound-edge-adx-1.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Sat, 06 Jan 2018 13:00:20 +0000 From: Dave To: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Date: Sat, 06 Jan 2018 13:00:18 +0000 Message-ID: <1936112.H3c9qehT4n@amd.asgard.uk> User-Agent: KMail/4.14.10 (FreeBSD/10.3-RELEASE-p24; KDE/4.14.30; amd64; ; ) In-Reply-To: <20180104163421.GA15692@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 5a50c864.5f7-288-1 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 13:01:12 -0000 On Thursday 04 January 2018 23:34:21 Victor Sudakov wrote: > Dear Colleagues, > > What do you convert ape and flac audio files to mp3 with? > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > decoding), what else could I try? I prefer audio/sox but, like FFMPeG, you need to compile in mp3 encoding support from port. Sox is the audio equivalent of FFMPeG, ie very, very powerful in it's own are of expertise which can be as simple or as complex to use as you want it to be, eg sox file.flac file.mp3 From owner-freebsd-questions@freebsd.org Sat Jan 6 15:08:04 2018 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 DA0D7EBD61D for ; Sat, 6 Jan 2018 15:08:04 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 532FA72868 for ; Sat, 6 Jan 2018 15:08:03 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39907110; Sat, 06 Jan 2018 21:03:12 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w06F7wnO035700; Sat, 6 Jan 2018 22:08:00 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w06F7sk1035697; Sat, 6 Jan 2018 22:07:54 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 6 Jan 2018 22:07:53 +0700 From: Victor Sudakov To: Ultima Cc: Polytropon , FreeBSD Mailing List Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180106150753.GA35605@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106085528.GA33117@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 15:08:04 -0000 Ultima wrote: > Actually, that wont work either. I decided to go look at some of my scripts > where I had to do something similar, the solution was setting IFS. > > IFS=$'\n' What's the dollar sign here for? Why not IFS='\n'? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Sat Jan 6 15:18:02 2018 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 68401EBDCAE for ; Sat, 6 Jan 2018 15:18:02 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id D2D5972F47 for ; Sat, 6 Jan 2018 15:18:00 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39907113 for freebsd-questions@freebsd.org; Sat, 06 Jan 2018 21:13:11 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w06FHv9r035788 for ; Sat, 6 Jan 2018 22:17:59 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w06FHsjJ035787 for freebsd-questions@freebsd.org; Sat, 6 Jan 2018 22:17:54 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 6 Jan 2018 22:17:54 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180106151754.GA35747@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 15:18:02 -0000 Michael Ross wrote: > > > > So eventually I will need to write a script to process all the *.ape > > files, probably with bchunk. Which brings the following question. If > > the file and directory names have spaces in them, a simple loop like > > this: > > > > #!/bin/sh > > for i in `find . -iname '*.ape'` > > do > > do_something $i > > done > > > > breaks on spaces. > > > > What is the sh magic to handle such filenames? > > > > xargs, you may want to run a few conversions in parallel: > > find . -iname '*.ape' -print0 | xargs -0 -I% -P convert % %.mp3 I'm sure there are many ways to solve the problem, including writing a C program, but a solution in pure sh has its own value and appeal. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Sat Jan 6 15:24:50 2018 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 E0168EBE237 for ; Sat, 6 Jan 2018 15:24:50 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 53FB1733BB for ; Sat, 6 Jan 2018 15:24:49 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39907115; Sat, 06 Jan 2018 21:20:00 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w06FOmVw035839; Sat, 6 Jan 2018 22:24:48 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w06FOiBa035836; Sat, 6 Jan 2018 22:24:44 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 6 Jan 2018 22:24:44 +0700 From: Victor Sudakov To: Dave Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180106152444.GB35747@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <1936112.H3c9qehT4n@amd.asgard.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1936112.H3c9qehT4n@amd.asgard.uk> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 15:24:51 -0000 Dave wrote: > > > > What do you convert ape and flac audio files to mp3 with? > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > decoding), what else could I try? > > I prefer audio/sox but, like FFMPeG, you need to compile in mp3 encoding > support from port. Sox is the audio equivalent of FFMPeG, ie very, very > powerful in it's own are of expertise which can be as simple or as complex > to use as you want it to be, eg sox file.flac file.mp3 It would be interesting to find something which splits large flac/ape files before converting to mp3, and parses .cue files for track names and inserts them as ID tags into mp3 files. I hear sysutils/bchunk can split ape files into separate tracks but how do I feed track names to ffmpeg/sox/whatever to be included as mp3 ID tags? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Sat Jan 6 15:58:07 2018 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 9DB54EBF3D8 for ; Sat, 6 Jan 2018 15:58:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DDD0741C3 for ; Sat, 6 Jan 2018 15:58:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPA (Nemesis) id 0LqpOw-1f32ql1TLG-00eM3X; Sat, 06 Jan 2018 16:52:21 +0100 Date: Sat, 6 Jan 2018 16:52:20 +0100 From: Polytropon To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180106165220.b722e6f0.freebsd@edvax.de> In-Reply-To: <20180106063934.GA32231@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> 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-Provags-ID: V03:K0:1/QogzyB7ZKX1r0t9QbRG7usvKBj00e4Ks/gjhrT8QanfOOG3Hy VpjqQn/WGAYzD2L1n+qkV7P0X7Q/rGqdtC58Wc08sOT+EchR6nwRDgjhFC/WnNU1uIIWbM8 f7rHkUaP1s/+YPtCLXeGqKZbsOCWrIq+2ipNNoAZEMJ049+1mbrIQP0E/do0EOQnfQKugId IdccKlcwpdjZGV5PcfEhA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ixbYyBZ/KUU=:fYUymSUPgmJ9tfyzoPvZhC kvy1QKmL7gY/lI98s/Co+z44sMQwF9bRlbVexfQZHDgk6Se7PhYLKm2hyxooGRFgU00ZGk+h0 5yDpGYhpbwz1kcGSp8sav+Gbsfl8Pbdgo9lzEgnZ3LduXeYYUnXtf6L90ahvCruhEk49EOfA3 U163ReHw9ZuPELWyPym89Yq0YQ12t4YPzhVyZwOfVVRA0Ju3vskDcJiI9Le+uKeqOOoMi00SF 5lmfyqa0Sifi5ZXuKGBtxnOmjinnHxgjmvoeM72udv1G2C36bVM8BIVZKXbQLi8QGK+q/wdPb CUrVGueEOwGeUFkFdr468D1HvGr7NTkY6vNAusQx/e7rh2Nlws69AtDhpD2qWZq1JvgeAH3tk S1qKPU43gEQQwaVLdsJlz/ctJbnHTDsgDViF6zrl9kF0GDt5U1Oa778rxI6XAfbc0cgAOFtOC z/LrVYSZudr8QmcRbCAaHke7lIL/BUCD+MfxcdE1CqtWzBw1peUAq4eX1/C1wGHFB4R0yY7jT AW1VsGyIwjtsuc1b80xLrgbs24lqwafbdF+LDC0eWd7GGECYyzfGJ395hc4svJn581SWXNnPZ +Au4uNEvODp2f6ACR3lA1nAS2eYIbo/dxNygWJuKwY0og11/rRjb/Ce7Twn9xg9B8g69+I5jy AFAJ/DXfjhz3EjOLjEai47BI3RjsvJu+kvKs1BXZxYDAiVMeKF7CFktgN4oe2nQC8kUTKHKHj y1OVDrt0w9WV33mAcdiu9oV+4PH0Mc30Nj3XNU3fe8JWC1TyL/N4iCaR7L0= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 15:58:07 -0000 On Sat, 6 Jan 2018 13:39:34 +0700, Victor Sudakov wrote: > Polytropon wrote: > > > What do you convert ape and flac audio files to mp3 with? > > > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > > decoding), what else could I try? > > > > Huh? I'm using ffmpeg regularly to convert from mp4 or flv _to_ mp3, > > this works quite well. Maybe you need to install an additional encoder, > > plugin, or library if you're lacking mp3 support? > > > > % ffmpeg -i example.flv example.mp3 > > > > It does what it says on the can. Works for years. :-) > > > > With ffmpeg's mp3 support, you should be able to convert from flac > > or ape in a similar manner. > > I'm somewhat disappointed because ffmpeg does not seem to be able to > split flac/ape files according to cue file, or extract track names > therefrom and insert them into the mp3 file. I wish there would be some "magical MP3 split" that acts upon a specified silence (for example, 3 seconds) and splits the file into "tracks" that could then be renamed... > So eventually I will need to write a script to process all the *.ape > files, probably with bchunk. Which brings the following question. If > the file and directory names have spaces in them, a simple loop like > this: > > #!/bin/sh > for i in `find . -iname '*.ape'` > do > do_something $i > done > > breaks on spaces. > > What is the sh magic to handle such filenames? There are two articles which I occassionally refer to, indead of saying "don't use spaces". :-) David A. Wheeler: Filenames and Pathnames in Shell: How to do it correctly http://www.dwheeler.com/essays/filenames-in-shell.html David A. Wheeler: Fixing Unix/Linux/POSIX Filenames: Control Characters (such as Newline), Leading Dashes, and Other Problems http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html Those articles will provide you with the most robust solution - and: no, just adding "quotes" isn't sufficient in most cases. :-) Also note: If you're starting to extract information from an ID3 tag and want to turn that into a directory and filename structure, you might find other characters than just spaces that "misbehave" in shell context. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Jan 6 16:09:19 2018 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 90986EBFA8F for ; Sat, 6 Jan 2018 16:09:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11FBB7466F for ; Sat, 6 Jan 2018 16:09:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPA (Nemesis) id 0MOo90-1eV5LX1COU-0068kw; Sat, 06 Jan 2018 17:09:09 +0100 Date: Sat, 6 Jan 2018 17:09:08 +0100 From: Polytropon To: Victor Sudakov Cc: Dave , freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180106170908.1cfa9894.freebsd@edvax.de> In-Reply-To: <20180106152444.GB35747@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <1936112.H3c9qehT4n@amd.asgard.uk> <20180106152444.GB35747@admin.sibptus.transneft.ru> 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-Provags-ID: V03:K0:cOQg6Q10e2zRxAF9oLUHTjIujug40uLZvlj5d5PdCB+fcvFMc8+ QrwEeferxoVVBsmrLGvr6uQygwP62lGJkwoLDQYBzKMUVN2mnwTVImVE2PzY/n0DtYEfjWk BXF6qrGm7uHciOPKYZ6Xhsg1kjUSD5vVjmog9TVX7o8wiPoFUAhxx/6e639PLOp23MTN2SG DvOJtlWc0rMtxKpi1jjKw== X-UI-Out-Filterresults: notjunk:1;V01:K0:z1VHM8k/rLM=:KCq3oDIlBn3P3R4QOYxbGD Ou8PiJuoQ57HS/kIEoGJHJzGr+mPDVvj1uTweXIxaCMV/jveMMiVbRVRkh0Mz3kBY6Rq0xKuh fRPmQLwIjxDt1PBclrmTTAA1cHXHmEdEcLAyCwwZesAJLwYjqgM34ALVH1UHcfsXOj+DEBogG NLpfM7ro9dFCZHj5CzfMjDG2xZonFx2eMDGmBaCKmF2jhvjjFoHCui35mjxKI9wFtiT0CBkvk XaZiWDgGt4+8lTjbrL/6qm6aY9p6l7KNsGCu5wNgXur5FJ57Kzbo9qgRNw2WHJWHry6lAbWCX TYY3sTQ4xdg3UWJErrq+enGW3uMBGNZvUOCVW/2LtYWR//XLNo23/xyFTsFbmeoeWgktmVRfL X29RxZxeyU+n0Vryrp00QTjdXM5LhFtLKp6ZpD0CTuSmt5KSoHpccG9Ur6nXecN2n2AKkfPXx cBGT/7hHQRzrU5ZX+lsxNDt1ojPsIn62c8HBqmyPpG0nZ+qq7w7jMlQf45yPEM1xBJWnYoby1 1NkyH446qljqoo8aP3MjL2FYW+bXzVG2IX7cb+ysCXh+NtkOc4yx5MmahH1pkG0F2RD+RRvu8 mRLXvtwJ5ozGP2gRhBNY4791GFyqBRvqNuYhEnYSGriO8Hk4yxBfucAiN1HttosQbQbKxanzA LwPwT0K3cs3oqdEyARc6uMNLr1f0vKnC6qsml5xql5qDwV6EUI+Y6YMIt6G9napz1Jz76W3XY qLXL3FCaTeYGkDVkkNquy/Mdg/KZnqlBfqYUpVH8vh/NE+GwurSVvgdTXJo= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 16:09:19 -0000 On Sat, 6 Jan 2018 22:24:44 +0700, Victor Sudakov wrote: > Dave wrote: > > > > > > What do you convert ape and flac audio files to mp3 with? > > > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > > decoding), what else could I try? > > > > I prefer audio/sox but, like FFMPeG, you need to compile in mp3 encoding > > support from port. Sox is the audio equivalent of FFMPeG, ie very, very > > powerful in it's own are of expertise which can be as simple or as complex > > to use as you want it to be, eg sox file.flac file.mp3 > > It would be interesting to find something which splits large flac/ape > files before converting to mp3, and parses .cue files for track names > and inserts them as ID tags into mp3 files. > > I hear sysutils/bchunk can split ape files into separate tracks but > how do I feed track names to ffmpeg/sox/whatever to be included as mp3 > ID tags? There is a dedicated tool for this which you can apply to the resulting MP3 files: install the id3tool package and use the program "id3tool": id3tool [] -t, --set-title=WORD Sets the title to WORD -a, --set-album=WORD Sets the album to WORD -r, --set-artist=WORD Sets the artist to WORD -y, --set-year=YEAR Sets the year to YEAR [4 digits] -n, --set-note=WORD Sets the note to WORD -g, --set-genre=INT Sets the genre code to INT -G, --set-genre-word=WORD Sets the genre to WORD -c, --set-track=INT Sets the track number to INT -l, --genre-list Shows the Genre's and their codes -v, --version Displays the version -h, --help Displays this message With this tool (and the artist / album / track / title information present, you can get "the best of both worlds", i. e., a directory and filesystem structure as well as ID3 tags for the individual MP3 files. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Jan 6 16:09:38 2018 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 BB88EEBFB0F for ; Sat, 6 Jan 2018 16:09:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EF397470A for ; Sat, 6 Jan 2018 16:09:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPA (Nemesis) id 0Lapqe-1fHt444Ahs-00kNle; Sat, 06 Jan 2018 17:03:53 +0100 Date: Sat, 6 Jan 2018 17:03:52 +0100 From: Polytropon To: Victor Sudakov Cc: Ultima , Polytropon , FreeBSD Mailing List Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180106170352.ce49b320.freebsd@edvax.de> In-Reply-To: <20180106150753.GA35605@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106085528.GA33117@admin.sibptus.transneft.ru> <20180106150753.GA35605@admin.sibptus.transneft.ru> 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-Provags-ID: V03:K0:DBtRe4p2Dm/yOPtFH1ec9M9VYxdX6yszvposQELFf7NRqaYZKNY qQVc07CAcdJnzSkWoOLnDrzRuGGIhsXxmFIdIGpcms0vnMbcjKiRGriKgVouPT4PgLojTzm tnts+8Spt3d9a6hoQ1u4aJX9O+VvtpEnrdeNMHapIB5yETX/0keJkcvicrUPamFWfCUsHu3 Z0uTcw0zOjVtHbHXvfYIA== X-UI-Out-Filterresults: notjunk:1;V01:K0:KTEpChUTjkg=:Oz5WAtaav5QatLTG/0v0e3 7DuGe7YHmHLYuyH3FuQ643oenaw5wYNsWO1Yrrl2MnTXKmXA6z3EZeSYbU62Z++MWkZMoDjC1 yV8givCz91cPbOoQD1HZ1J1Us8yIr46lA8q8HA0x0t0E9tCo0aEGcy0yH/tpZtiO/+wmpMrSk LqQtpl8Svpw/+80gSBk8IApYXGRTGE40iy7SMfwLPTkC03hlOwdm7inLPxMFvZ7xC3I/MBAWU Gm07igWZFzaMNetIXrjz5BJjurVBeRWBkltAce5GlRcW4fTgQJC9BPKuatVzoJ//Q55I34jm7 OlkJuP0tKkRNdbnMbt/d6j4O60s7WVi5H+FamNlsbKI9+cxiLd1fdXXdDWR6IK0nZf5/nWreo Itju0DYeIX/g5zCaI1L54qO4b2G1hLyGkxleAL70cpicUzeCmdn97Y0I3Fm76X2Js57Zz31wh LvDF+23r4wVz+fnLv6l0C5HnKuQluilGtRH2tl63/4bx+ZmnorHRUGYG7zDrUX4Nwk6vL/DR8 v42C6lsR1U7UmbjYXyNdDtKQ0T6JoDJzd2vJ3LhtOF4g99AnLh2vuaFg/Sl8FQxYjSM++4cLA LUGFCSEGQ4sVABdJn80vj611FKyJ8K2a3pRZD035i0EpWzliMTnYY8OnS7MQFPt1s3GTJeJbr p/DRevIwmVsCYf2pmIOmNp12j3g8njAzQ52YK2WHJxORpGSRLMT9do3ihja5TPaYei9sPJVhf xBVH9YjtTX0rMecSY14fP/C9g7/GSDS6DHheqsYFHSJ2c5HgT65hEcuA1NU= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 16:09:38 -0000 On Sat, 6 Jan 2018 22:07:53 +0700, Victor Sudakov wrote: > Ultima wrote: > > Actually, that wont work either. I decided to go look at some of my scripts > > where I had to do something similar, the solution was setting IFS. > > > > IFS=$'\n' > > What's the dollar sign here for? Why not IFS='\n'? It can be seen as "evaluation symbol" (as known from $FOO being "FOO evaluated"), or "value of" ($FOO = the value of FOO). Another way (convenient, but doesn't look good" is to do something like this: IFS=" " This is a newline as well. In the case above, you want to set IFS to an _actual_ newline, not to \n. Remember _when_ the shell evaluates something: Variables like $IFS will be evaluated when being accessed, not when they are being declared (even with an initial value). The $'\n' makes sure that IFS will be assigned an actual (non-escaped) newline, so when constructs like for() or while read access $IFS, they find a "real" newline there. With the same idea in mind, you sometimes find things like this: IFS="`printf '\n'`" I think it becomes perfectly clear now: IFS is assigned the _result_ of _printing_ a \n. At least that's how my dusty brain seems to remember... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Jan 6 16:12:42 2018 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 46406EBFFED for ; Sat, 6 Jan 2018 16:12:42 +0000 (UTC) (envelope-from andipersti@gmail.com) Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::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 E04D274CED for ; Sat, 6 Jan 2018 16:12:41 +0000 (UTC) (envelope-from andipersti@gmail.com) Received: by mail-wr0-x22a.google.com with SMTP id o24so1423142wra.5 for ; Sat, 06 Jan 2018 08:12:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Q8YDR0XxUolrJaO38hWp77LmOCtlEpQmQ5zJqScH4NI=; b=Mp7cxy78XRvLol+koQBJxwYbBTsk2yvnycJJspX/FUO5fgBMOZ1xFtJWNGmOl7RhT9 Y6XanSFH8tVbwK/RGMWS2j90+exOlJybY8qdgE6VUH2VlFhnzZyb9IZTA8i0uslALds1 G7dFusdE+jSBPoaWCjdXcZo8MPn1bsVVwQUgzz1O1AwH2dW54Rn0AtCqhDEalSZy5/zF fSwChB2qtOAHm+7LuKg29TwO5P1zwFwr2NwGlAdRuMraaTKHTMVRy/lHiDgNtqpBambC PLwupKR0yJr3yaB6DrSfMCo7XfwgV1ne+4x+zhhRQ7mthe7MjBiVMOxhb/amrGJs4pRJ wVng== 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=Q8YDR0XxUolrJaO38hWp77LmOCtlEpQmQ5zJqScH4NI=; b=VlQt74QR3AzoyAOr43HQET62vWqMNf2s8JNROB0a9tnombYxE+i2PkEYw7vTkWmLqd sheq5PP8N/aKF2r77XhaTYIkcHqRkByGbxV3kXSJW08GeQGbCeyb1/UTPtW+gFDFNiu1 YsWmhxcWaLjeXchiDSwT5r3OnnAHJSWDJkCSRZPSayorTNMqLScPMlbQiJNAL5aLWCYr iD/7O8NUHPBK5VPVp3SlF8TDM1TdEX/5DonUajlKCe8c+fHPsQkoYuQl58Ie+dRZVWgx c73duZMWQAovYxRW45tGLqCD7Jb+HidSCZ1Uju0ZIK1LzCvUBPH49Kw9Pgt6tYbxvmFm x75w== X-Gm-Message-State: AKGB3mIgAF1r+fQNoMZRX5F03tthl/IolAnpHHXlTCNQ6c2cna2EIdmO 808GAHsE2U8+r2cQsnxlIvI3Xw== X-Google-Smtp-Source: ACJfBovZKyjclPIfmBzz3lu7Fq3yQ5YU5Ot87ieHtgl+dv3tc4n0yu29wNjpzWgM+wESDsJB2zA5og== X-Received: by 10.223.159.7 with SMTP id l7mr5502699wrf.257.1515255159149; Sat, 06 Jan 2018 08:12:39 -0800 (PST) Received: from [192.168.178.25] (91-119-93-67.dsl.dynamic.surfer.at. [91.119.93.67]) by smtp.googlemail.com with ESMTPSA id 15sm11087244wrt.18.2018.01.06.08.12.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jan 2018 08:12:38 -0800 (PST) Subject: Re: Convert .flac and .ape to mp3 To: freebsd-questions@freebsd.org References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106151754.GA35747@admin.sibptus.transneft.ru> From: Andreas Perstinger Message-ID: <06f10c10-8e39-ec9b-de84-0c345c8be229@gmail.com> Date: Sat, 6 Jan 2018 17:12:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180106151754.GA35747@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de_AT Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 16:12:42 -0000 On 2018-01-06 16:17, Victor Sudakov wrote: > Michael Ross wrote: >> > #!/bin/sh >> > for i in `find . -iname '*.ape'` >> > do >> > do_something $i >> > done >> > >> > breaks on spaces. >> > >> > What is the sh magic to handle such filenames? >> > >> >> xargs, you may want to run a few conversions in parallel: >> >> find . -iname '*.ape' -print0 | xargs -0 -I% -P convert % %.mp3 > > I'm sure there are many ways to solve the problem, including writing a > C program, but a solution in pure sh has its own value and appeal. Well, you use already the find command, so why don't you use it's full power? https://unix.stackexchange.com/questions/321697 (Why is looping over finds output bad practice?) Bye, Andreas From owner-freebsd-questions@freebsd.org Sat Jan 6 20:31:10 2018 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 2339EDDBB7F for ; Sat, 6 Jan 2018 20:31:10 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D18847E2D9 for ; Sat, 6 Jan 2018 20:31:09 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x22e.google.com with SMTP id y126so718007ywy.2 for ; Sat, 06 Jan 2018 12:31:09 -0800 (PST) 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=EVsbuGTm7fEachhOtkTYvtWVHBTfskKsq0SwSerq8f0=; b=uBmJkfou0ODl5B4G/B5xwjfoBKmWQ723GfT7SyBfEAObBLEYFs1Wsh02cN7DybAGCP 1NGKidcOhbzzi+SQO0nRirUcpT3088p8G6Hi0HtyBCP25q4I7zYF2+asjSvCR4wEyoco gOXL6eE669EgNE+BKqHYxbJgGuv7VDZ0bsDa2aXQvOVblBx8DrjcIVN32JZqUpaHnE9X UWEwT4ape0hDR83el4NrMh3RDzc48yqewTe49rABaFqJcqNBPZh/8C/Jgb75/zr1RJ/X +z77/eiUOHaBkOiMZm9FYfjFJYulDrV0edotCCXu3PrEsxtFEZzghCOLcGEoxHuVbASx VMFQ== 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=EVsbuGTm7fEachhOtkTYvtWVHBTfskKsq0SwSerq8f0=; b=qqRMYDBXu8Det3waUNi7H59TH4xBMEK12eXmCbp22ePye0tkpFCKKtK4okQy6+BL8M 3TO1CZHmtMiZeXACayUYHMni4jbtu6EMkPWOoa6AJezmdYo3kCVMSpSLt0l4RjpZjGGZ 5adfdTPxr8NzohHhKPXZvXLcb+dl1tXAnRYpUG6rH9ZyIQ/JUm+izbYkKuoiLA3DEo9A 9SqCnzN2XVamb+uUX83SWorVwCqAs+QBFznfebZwSooSuWdKg2QgrGLWcYtc9Eegt4Qj 9qTekOXLyKAxIhflu7i/X7uPDoEm7NZkUm61Sh8WkdBDH9hHGVOJUMQwsU7SAUpEgpJ8 VEKw== X-Gm-Message-State: AKGB3mJBzUo7vRLPy37EP6AKXnomiHKl/i+UxZ7IBAymOMMEwkjb461N +RUhCv6BR/bw1rhjiwYMvMPlzSpNTCFcJ5ke0oj5sw== X-Google-Smtp-Source: ACJfBouuRHwbfsGCZb79IpraFXGcVOdRFP8GkA09+cqV0clZNAF9VJDfPDTNViI0zfivlEHGdMcySd6aiutOHbvVrfo= X-Received: by 10.129.91.139 with SMTP id p133mr6482006ywb.280.1515270668849; Sat, 06 Jan 2018 12:31:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.174.3 with HTTP; Sat, 6 Jan 2018 12:31:08 -0800 (PST) In-Reply-To: <06f10c10-8e39-ec9b-de84-0c345c8be229@gmail.com> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106151754.GA35747@admin.sibptus.transneft.ru> <06f10c10-8e39-ec9b-de84-0c345c8be229@gmail.com> From: Ultima Date: Sat, 6 Jan 2018 12:31:08 -0800 Message-ID: Subject: Re: Convert .flac and .ape to mp3 To: Andreas Perstinger Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 20:31:10 -0000 Thanks for the link Andreas, it is a good read. Was very tired when I made the reply yesterday so apologies for not double checking and explaining my minimal responses. I want to also mention if you want to build a more reliable script, you should also check if the file is actually the media format suggested by the extension. My solution to this problem is first checking if an error occurs when ffprobe runs the file with -loglevel -8 options. This will verify that ffmpeg can actually read the file. Next run it a second time to verify the media format. ffprobe is very fast so you don't have to worry about taking a performance hit. These are just some of the checks that I run before processing any media and I recommend it for preventing headaches later. Best regards, Richard Gallamore On Sat, Jan 6, 2018 at 8:12 AM, Andreas Perstinger wrote: > On 2018-01-06 16:17, Victor Sudakov wrote: > >> Michael Ross wrote: >> >>> > #!/bin/sh >>> > for i in `find . -iname '*.ape'` >>> > do >>> > do_something $i >>> > done >>> > >>> > breaks on spaces. >>> > >>> > What is the sh magic to handle such filenames? >>> > >>> >>> xargs, you may want to run a few conversions in parallel: >>> >>> find . -iname '*.ape' -print0 | xargs -0 -I% -P convert >>> % %.mp3 >>> >> >> I'm sure there are many ways to solve the problem, including writing a >> C program, but a solution in pure sh has its own value and appeal. >> > > Well, you use already the find command, so why don't you use it's full > power? > > https://unix.stackexchange.com/questions/321697 > (Why is looping over finds output bad practice?) > > Bye, Andreas > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" > From owner-freebsd-questions@freebsd.org Sat Jan 6 20:53:02 2018 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 E94BBDEF0FC for ; Sat, 6 Jan 2018 20:53:02 +0000 (UTC) (envelope-from jd1008@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 B42147F28F for ; Sat, 6 Jan 2018 20:53:02 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x229.google.com with SMTP id p139so5206281itb.1 for ; Sat, 06 Jan 2018 12:53:02 -0800 (PST) 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=sLoCSxC9yQZLrNzWU2FjO9Qkmccd5FEBdssS26Xaaec=; b=nbVMVQCS08c8FK5rmA2jYpx/ikHGdDeiqrpNw1OjrzWZz0z1cSwnJx0Z4VmdHlwMze MXiUcLqNsoktxyn/ElHezezWxdhI58aUaBBUwRhrRans2oE+yDErtZ0QZb20qjQFrrmi oYyHszpHpHUYcIso6sxgjCWbpE3tq2Z+AdC/9vQHvzVOJZ0VVE7vid/hti4n5HGyg3Np 3qZ82YFYvqRM1QNSYIPp5Fq26VYmbaS53KnnM9blTZUcIk5KGiMe/U8afvLyDZlUIT7K kU58ym7cEtPq9StTFf7URJWvJ0RqDJVo24SgibVzdvn3AjoUFNZtS2VMsIkofhdeAdYX SMig== 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=sLoCSxC9yQZLrNzWU2FjO9Qkmccd5FEBdssS26Xaaec=; b=MJBXh1MHecW/75zd4CnSDXeItLGVpD4t6Qd26TvsgegJ+V0IoVdp6+gMnG34fC/yya NjJ62rSf5Ai56GZRLvzz/1FU4SxYZSvqsw5guS5dc3UYKmbhubhXNdUv8DgHD5I4gRjf TTbzbtjnQ+EfGO5ezbF3WzbZThv8ZlVnr/cgAmQafVfV60YMUDBkAlbS/W6/MhyZc0sW pQtC3CJSNftKRMhO/ovzZGakKPWVLUF8izc1VC0bhWhS1L4uzg08zVG+r9JZgsgMB+Eq KQFFrqRFvXQRZ4WPivP/uOLI2usfwsD0l+M1IAvYEuq5Nucb72vxClHBbdqfowXCVjPP gwCA== X-Gm-Message-State: AKGB3mJngrYW/W+zdrTBRpY4ANEiMi764zdvguUkaBP0YN85ebP0D4g1 cJBMHZMOYb7DYoaXl9DLkjMpdg== X-Google-Smtp-Source: ACJfBouhAEZPXHDVOV4VZeuJsBfG0I8WARP1e5rI6IL53256/azOn+tv73NsyVGsC7k0BJuEJ0wwXA== X-Received: by 10.36.166.13 with SMTP id q13mr6771060ite.37.1515271981683; Sat, 06 Jan 2018 12:53:01 -0800 (PST) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id m184sm5018230itg.8.2018.01.06.12.52.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jan 2018 12:53:00 -0800 (PST) Message-ID: <5A51372B.2050904@gmail.com> Date: Sat, 06 Jan 2018 13:52:59 -0700 From: JD User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106151754.GA35747@admin.sibptus.transneft.ru> <06f10c10-8e39-ec9b-de84-0c345c8be229@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 20:53:03 -0000 Hi all, I too have .ape files which I would like to convert to mp3. However, the .ape files have a bitrate of 504K bits; to wit: $ ffprobe '01-O_Vis_Aeternitatis_(Responsorium).ape' ffprobe version 3.2.2 Copyright (c) 2007-2016 the FFmpeg developers built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-7) configuration: --prefix=/usr libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 Input #0, ape, from '01-O_Vis_Aeternitatis_(Responsorium).ape': Duration: 00:08:05.36, start: 0.000000, bitrate: 504 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16p So, how can I convert them to mp3 and keep the same rate of 504K ? If this is dependent on the mp3 encoder library, how do I specify that library on the command line? Thanx!!! On 01/06/2018 01:31 PM, Ultima wrote: > Thanks for the link Andreas, it is a good read. > > Was very tired when I made the reply yesterday so > apologies for not double checking and explaining my > minimal responses. > > I want to also mention if you want to build a more > reliable script, you should also check if the file is > actually the media format suggested by the extension. > > My solution to this problem is first checking if an error > occurs when ffprobe runs the file with -loglevel -8 options. > This will verify that ffmpeg can actually read the file. Next > run it a second time to verify the media format. > > ffprobe is very fast so you don't have to worry about taking > a performance hit. > > These are just some of the checks that I run before > processing any media and I recommend it for preventing > headaches later. > > Best regards, > Richard Gallamore > > On Sat, Jan 6, 2018 at 8:12 AM, Andreas Perstinger > wrote: > >> On 2018-01-06 16:17, Victor Sudakov wrote: >> >>> Michael Ross wrote: >>> >>>>> #!/bin/sh >>>>> for i in `find . -iname '*.ape'` >>>>> do >>>>> do_something $i >>>>> done >>>>> >>>>> breaks on spaces. >>>>> >>>>> What is the sh magic to handle such filenames? >>>>> >>>> xargs, you may want to run a few conversions in parallel: >>>> >>>> find . -iname '*.ape' -print0 | xargs -0 -I% -P convert >>>> % %.mp3 >>>> >>> I'm sure there are many ways to solve the problem, including writing a >>> C program, but a solution in pure sh has its own value and appeal. >>> >> Well, you use already the find command, so why don't you use it's full >> power? >> >> https://unix.stackexchange.com/questions/321697 >> (Why is looping over finds output bad practice?) >> >> Bye, Andreas >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >> @freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sat Jan 6 21:18:37 2018 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 783DCDF03C2 for ; Sat, 6 Jan 2018 21:18:37 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from mail1.g16.pair.com (unknown [IPv6:2607:f440::4227:4116]) (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 5669A7FDF8 for ; Sat, 6 Jan 2018 21:18:37 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from mail1.g16.pair.com (localhost [127.0.0.1]) by mail1.g16.pair.com (Postfix) with ESMTP id 5D60D5D70; Sat, 6 Jan 2018 16:18:29 -0500 (EST) Received: from headache.fios-router.home (pool-74-111-167-196.pitbpa.fios.verizon.net [74.111.167.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail1.g16.pair.com (Postfix) with ESMTPSA id 3AAFF5D63; Sat, 6 Jan 2018 16:18:29 -0500 (EST) Date: Sat, 6 Jan 2018 16:18:28 -0500 From: Rod Person To: JD Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180106161828.6cd9a7ea@headache.fios-router.home> In-Reply-To: <5A51372B.2050904@gmail.com> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> <20180106063934.GA32231@admin.sibptus.transneft.ru> <20180106151754.GA35747@admin.sibptus.transneft.ru> <06f10c10-8e39-ec9b-de84-0c345c8be229@gmail.com> <5A51372B.2050904@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 21:18:37 -0000 On Sat, 06 Jan 2018 13:52:59 -0700 JD wrote: > Hi all, > I too have .ape files which I would like to convert to mp3. > However, the .ape files have a bitrate of 504K bits; to wit: > > $ ffprobe '01-O_Vis_Aeternitatis_(Responsorium).ape' > ffprobe version 3.2.2 Copyright (c) 2007-2016 the FFmpeg developers > built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-7) > configuration: --prefix=/usr > libavutil 55. 34.100 / 55. 34.100 > libavcodec 57. 64.101 / 57. 64.101 > libavformat 57. 56.100 / 57. 56.100 > libavdevice 57. 1.100 / 57. 1.100 > libavfilter 6. 65.100 / 6. 65.100 > libswscale 4. 2.100 / 4. 2.100 > libswresample 2. 3.100 / 2. 3.100 > Input #0, ape, from '01-O_Vis_Aeternitatis_(Responsorium).ape': > Duration: 00:08:05.36, start: 0.000000, bitrate: 504 kb/s > Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, > s16p > > So, how can I convert them to mp3 and keep the same rate of 504K ? > > If this is dependent on the mp3 encoder library, how do I specify > that library on the command line? > > Thanx!!! MP3 max bitrate is 320k. -- Rod http://www.rodperson.com For we are both ready to believe the thing we want to believe, and also hope other people feel what we feel ourselves. Julius Caesar The Civil War, book II, 27 Expedition of Curio to Africa