From owner-freebsd-hackers@freebsd.org Mon Feb 10 19:30:33 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0ECDB241F0F for ; Mon, 10 Feb 2020 19:30:33 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48GbbW6Mhtz3wkX for ; Mon, 10 Feb 2020 19:30:31 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-qk1-x730.google.com with SMTP id v2so2788302qkj.2 for ; Mon, 10 Feb 2020 11:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=NusLHuTfJN4ccogl8LclAOoig7/uwUbIzM/Ix3V29vI=; b=zQUZZFi+IW+oIjwWK9f3mGezhQ7IPRGcPyxiI6AWWXRGeOIHC9rwesnaeu3oQESNTF ZYBOBv1SOw+XZ/fPKezYMYhwbwtw11BkghlhM8G5H/VxcHbgi+tJm8NeurwSU3yU0lov kisPHTEGzoZEuemqhP5IoI2eHYoQ9uOUgQAORVNxKWKUgZ+4yG/ed+fpQwj2DDwi/YJs EnXNubw1i9X1HcBLgrwhTLjNXG4Dw96BYhzPzyi9AiL0Ypb3YCIdnkOGUin3d8IKdvO/ PRCKcRMN+dhijoFR7ptIWlaOQr4fPmPzTsHr7Bky13je+2pJZ+EcFWNR1Vf9L8U28gkL eBdg== 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=NusLHuTfJN4ccogl8LclAOoig7/uwUbIzM/Ix3V29vI=; b=NeZ+iG9Ps2S8qoLpiEayCK5VrrtQZxsfVtszkOcBkR4sbTbtCb7uQ7Gcg3A9AkYpIP 8izEWJIWk4jQhIo4LSYOWcrHyYjY9i4V+fagYlyWMrqB5X8dwkHBFFAovWXJd6VAPbIm 8Rf3iBPWJHD2jiyyL8aGQNJTVFVRRCoI6817zNH0qqB7IuZY4fvk4OfANwKXA1HfHQdA dBVOKsjuJwkqldweeD+8dAbN+jeekauUquUe1IeLngPv8wM2Q/0HtKkGV1kVp/6ew1oj C7ZTLhzuxaBYuflRtDeqt8IEmEC1vnKiDlA8Kg9J4IWGsjZGYUUnuTqebVZ5661jFAum 5FLw== X-Gm-Message-State: APjAAAW/GRAf81UkXT+oruWNL4qc0e+USTS2HJfrW8kNyLWaOa0UFYlR B4CwUNpAusmVx9RKAHxlRC6uy0iI7ejlerlZ0VGaM91zSD4= X-Google-Smtp-Source: APXvYqzHh7L9LXlPmIFSL2SMIRE7aYFQ4ufuv5Zpzgvc1V2oZ5VriXWx6vXbfrPr5kjrKclQ1H3gy4ZAvmnVNNZrM1o= X-Received: by 2002:a37:a389:: with SMTP id m131mr2873173qke.251.1581363030700; Mon, 10 Feb 2020 11:30:30 -0800 (PST) MIME-Version: 1.0 From: Mark Saad Date: Mon, 10 Feb 2020 14:30:20 -0500 Message-ID: Subject: LACP / Slow-protocol issue To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48GbbW6Mhtz3wkX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=longcount-org.20150623.gappssmtp.com header.s=20150623 header.b=zQUZZFi+; dmarc=none; spf=none (mx1.freebsd.org: domain of nonesuch@longcount.org has no SPF policy when checking 2607:f8b0:4864:20::730) smtp.mailfrom=nonesuch@longcount.org X-Spamd-Result: default: False [-4.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[longcount-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[longcount.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[longcount-org.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[0.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.59)[ip: (-9.23), ipnet: 2607:f8b0::/32(-1.96), asn: 15169(-1.73), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2020 19:30:33 -0000 Hello FreeBSD Hackers I was wondering if there is anyone on-list who has hands on knowledge of the "slow-protocols" and in particular lacp . I am running a fairly new 12.1-STABLE amd64 r354698 , for reasons I can't yet identify a two port lacp lagg has a short <1sec blip where switches and lagg members believe each side has stopped distributing lacp slow-protocol frames. I am not super knowledgeable about how to diagnose the slow-protocol frames to see who is at fault . Any insight here would help. -- mark saad | nonesuch@longcount.org From owner-freebsd-hackers@freebsd.org Tue Feb 11 06:43:02 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D983A228A32 for ; Tue, 11 Feb 2020 06:43:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48GtWT5Bgkz4bJP for ; Tue, 11 Feb 2020 06:43:01 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 01B6ghRZ082078 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Feb 2020 06:42:45 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: nonesuch@longcount.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id 01B6gaMu091096 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 11 Feb 2020 13:42:36 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: LACP / Slow-protocol issue To: Mark Saad , FreeBSD Hackers References: From: Eugene Grosbein Message-ID: Date: Tue, 11 Feb 2020 13:42:29 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 48GtWT5Bgkz4bJP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.92 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-1.82)[ip: (-5.02), ipnet: 2a01:4f8::/29(-2.52), asn: 24940(-1.56), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 06:43:02 -0000 11.02.2020 2:30, Mark Saad wrote: > Hello FreeBSD Hackers > I was wondering if there is anyone on-list who has hands on > knowledge of the "slow-protocols" and in particular lacp . > > I am running a fairly new 12.1-STABLE amd64 r354698 , for reasons I > can't yet identify a two port lacp lagg has a short <1sec blip where > switches and lagg members believe each side has stopped distributing > lacp slow-protocol frames. I am not super knowledgeable about how to > diagnose the slow-protocol frames to see who is at fault . Any insight > here would help. Just use: tcpdump -s0 -np -i parent0 not ip Replace "parent0" with name of your real (physical) interface name (one of), like igb0. You may be facing one of iflib's problems, so try booting FreeBSD 11.3-RELEASE (pre-iflib) to compare behaviour and see if it runs better or not. From owner-freebsd-hackers@freebsd.org Tue Feb 11 15:36:56 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F14F2238F9F for ; Tue, 11 Feb 2020 15:36:56 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48H6MX1fKkz49H7 for ; Tue, 11 Feb 2020 15:36:56 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-qk1-x72f.google.com with SMTP id g195so10432994qke.13 for ; Tue, 11 Feb 2020 07:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lMiq23OldTiCG4hWFSZkvbCIocqdNQW5kmvD4AFi+s0=; b=XRxcziMmfC1lxR4m0cQ60DjKREtf2JU7NLDdhkOSH9zQKhUAAadE6qDaiH2FZZ44Wy hh2HoMVL46ADvikBjsmlBFu/pqR4n7sE7CTjbuJ5Hvr0bpUfe5hFym1HLJUBsGlZYfL0 8dcbw4PzckEoiGW8zJDx/1hCYfjqkzJMtzItm8V6fxBG6TOJDSFnVtFxbctIp4gPfey+ cm0iYDn1dmVl/ELKmprAZfJWcUZZ8dV6okzbs4LmPdLEqd8BI7o+M7IkhYYCclUqTTL+ 2ECA/Aud8tcuevFnxqrhe3ygYDIpsykn9TCssTUZQF2503bQY3bUQNn2sc2DJUwc0oA/ VCzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lMiq23OldTiCG4hWFSZkvbCIocqdNQW5kmvD4AFi+s0=; b=Tiskf8CC7eCG6eF8Ll/hRCiNEPChpbCjer/5TDgAK9nuXlffbw3Zjp5URtMn2UQoa8 RxeYzGLU2Q83jEP/vvAroHVIl3PH3DzYVE0YCNeceIP+et5iDkU/nNxKiUjTFk1l1LzT aM3cHf9ypP9fZRHuEwrq8RBbi+oO73u7Kud/bVWMjhEHtxNj6FDSFs/qgMUZFIZQ7hDA H9ObUtef633VDTTp6p5wFdxKmOsr/QVmbBvv4UgSfhTgIQPAgaJtyPig+kEfvZIO37Gi 3B1csgDytVJ59tN/7zycLTQoZCRdNhroxRLb8etQOjWxcpCV9jbP3pl0/+vQ8me474Hr ntaQ== X-Gm-Message-State: APjAAAV+lyLkbcINrqlbdi2epGhwIp1RVPtfbJBVIK1uIhhQv8AknpMT S5SKZbXBzJoTlLGsQMibSUwos8tTBTxRk9wyJi5+AL75lxs= X-Google-Smtp-Source: APXvYqx/IfjaZ1FCzZI9U/QLPSJSf+fK7CNRw0ywf8zERFnZ53vj4QgB9sI4bhKsxZvSWulOfsvZChvQJZlgZSM/Ano= X-Received: by 2002:a37:9d95:: with SMTP id g143mr6498207qke.256.1581435414844; Tue, 11 Feb 2020 07:36:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mark Saad Date: Tue, 11 Feb 2020 10:36:43 -0500 Message-ID: Subject: Re: LACP / Slow-protocol issue To: Eugene Grosbein Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48H6MX1fKkz49H7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=longcount-org.20150623.gappssmtp.com header.s=20150623 header.b=XRxcziMm; dmarc=none; spf=none (mx1.freebsd.org: domain of nonesuch@longcount.org has no SPF policy when checking 2607:f8b0:4864:20::72f) smtp.mailfrom=nonesuch@longcount.org X-Spamd-Result: default: False [-4.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[longcount-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[longcount.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[longcount-org.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[f.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.61)[ip: (-9.35), ipnet: 2607:f8b0::/32(-1.94), asn: 15169(-1.71), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 15:36:57 -0000 Eugene On the upstream switches; I have span of the interfaces going into a packet capture device . I can pull pcaps going back a few weeks, however what I see for ethertype 0x8809 is not all that interesting; and I am not exactly sure of the intended interaction of switch to lagg with lacp. Also, I seriously doubt this is related to iflib. The only reason I say this is, some of my devices with the same-ish* setup do not exhibit the issue. *some of the switches are running on newer vendor hardware. On Tue, Feb 11, 2020 at 1:43 AM Eugene Grosbein wrote: > > 11.02.2020 2:30, Mark Saad wrote: > > > Hello FreeBSD Hackers > > I was wondering if there is anyone on-list who has hands on > > knowledge of the "slow-protocols" and in particular lacp . > > > > I am running a fairly new 12.1-STABLE amd64 r354698 , for reasons I > > can't yet identify a two port lacp lagg has a short <1sec blip where > > switches and lagg members believe each side has stopped distributing > > lacp slow-protocol frames. I am not super knowledgeable about how to > > diagnose the slow-protocol frames to see who is at fault . Any insight > > here would help. > > Just use: tcpdump -s0 -np -i parent0 not ip > Replace "parent0" with name of your real (physical) interface name (one of), like igb0. > > You may be facing one of iflib's problems, so try booting FreeBSD 11.3-RELEASE (pre-iflib) > to compare behaviour and see if it runs better or not. > > -- mark saad | nonesuch@longcount.org From owner-freebsd-hackers@freebsd.org Tue Feb 11 17:31:24 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E28B23C413 for ; Tue, 11 Feb 2020 17:31:24 +0000 (UTC) (envelope-from krbvivek2000@gmail.com) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48H8vb1n81z4JNQ for ; Tue, 11 Feb 2020 17:31:23 +0000 (UTC) (envelope-from krbvivek2000@gmail.com) Received: by mail-pj1-x102c.google.com with SMTP id dw13so1608767pjb.4 for ; Tue, 11 Feb 2020 09:31:23 -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=EkAu9alw7vbIBI6FQUA3fl5SXLo1SKoI1R+LjLH2AVw=; b=OHv2qG+a9bPY9YhabP29AUWIRxnbfbpu+V5YfQPL5gjHPz/Wsr9F/lnMhxf+novsh9 vHe9DmX4fbX29S1e7b7DCYE6uvFBXWx0YnEVNRjlKiWtyY/EXvizCtYLTKn5Mruo13R3 SkR4Ip+GcID9RMl7c7cJpLJiMKifYWA7TUjfldh6qmGzmV0CuDM5sPXS3Mp8fgPMjton 1bcNVB/GuebHGWIUPT9eeSFKilbg/11lKUCiWbNILyT1EufqOfChgpZkKySOGlf2aPal t5+GdziR1YaboAn3fzJxNIpzmDzgEEvquuo1T/eWoSEyQbkmctmV1B7o6e+P9w8cCOeF C8oQ== 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=EkAu9alw7vbIBI6FQUA3fl5SXLo1SKoI1R+LjLH2AVw=; b=UZZYvC8xYmmmnXeqO24gPdwAOO9iOi9f+khiyHbRNYe3imwHzCzWsykX60H3QVD6pJ 1otUjiXTm1NnvjlGqEaEErrLJTm2fJdJTfqUdA21kGGJ/MECiivQI35+sseSG5JikzPl ZGc4ibA6XjbBLHHgqRIZC8z+U9WwQMK+gVNt4AgBrC67DJnFp7dr7q1j79cXinrqmsN/ PMQW33qZBS9a7u0PzsS0OTtgmmgtovSp6axbFeKRfkU+Avs/zmcxS2oo9n1UXWf9C6yE gGNgfDFVLrGNzWbDaIzQ9DVb9mzNY0pskbt18PmTy9Fs3bgUUQCFMY1AyDcQ/fIvQNR2 AOMA== X-Gm-Message-State: APjAAAWCvDNka0UfIcTUfG59agNGQEci8V0nD2nfXSZIv/JRhWfOldP7 Eog8MxmxtzjLCXtfsAnN6PkwNSzefNRX5z4eqI322NqW X-Google-Smtp-Source: APXvYqz+LLOnWVXbs1RmGYJ+v2ao+P8f3ETqvfOMBDWwaYBb+iFq3zd+PViCex72Xh23HSaXVC9LfMuMkH+jYi8rS5A= X-Received: by 2002:a17:90a:f84:: with SMTP id 4mr4971063pjz.74.1581442281178; Tue, 11 Feb 2020 09:31:21 -0800 (PST) MIME-Version: 1.0 From: Vivek Kamisetty Date: Tue, 11 Feb 2020 23:01:10 +0530 Message-ID: Subject: Contribution to freebsd To: freebsd-hackers@freebsd.org X-Rspamd-Queue-Id: 48H8vb1n81z4JNQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=OHv2qG+a; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of krbvivek2000@gmail.com designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=krbvivek2000@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-7.69), ipnet: 2607:f8b0::/32(-1.94), asn: 15169(-1.71), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 17:31:24 -0000 Hello, How to contribute to freebsd ?, I mean bug finding and other basic stuff. -- Regards, Vivek Kamisetty. From owner-freebsd-hackers@freebsd.org Tue Feb 11 19:05:42 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BAC3523FDDA for ; Tue, 11 Feb 2020 19:05:42 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HC0P7324z4Vlp for ; Tue, 11 Feb 2020 19:05:41 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id r11so10592151wrq.10 for ; Tue, 11 Feb 2020 11:05:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FnXEZs/rlL1hgnhZrVZ7WysnQ+I7yxTWjyafWL5ej1k=; b=CAHbwn/IaNtOK2NdAn2yNIx9gG7pYJiEByt3NYujN+A5BOGx3OuiZs8AB28Xic+VN5 KHY5E2u1NADS0zi0xiR11QGDchey7IpyNafQGrpCNeNWhTS6ybBA53aM7OKxl8s2o42E GIg2rdkx1clpH/YIUGR2u2YnWRoy5FGpaMlzBZGDn/Stl4Z0A0aO5W1T6sMNipIaN9zb fv2b6p7ks2Yz6II90ZkyYQfk/O36I4/+nzj1aUdb3yTUi2lXUTiwkMlaY7YkIcXRq/nS XcnZK7739iD6YqoQuXCwNG4dHzMt2B7xYS1NJK3Tb1k8Pi+ckCGT3l3MhgE7XRa0acG/ 2zDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FnXEZs/rlL1hgnhZrVZ7WysnQ+I7yxTWjyafWL5ej1k=; b=MINqs5QuuvPps/0UVfUZXRh9sY3+GV4n5PYZUCIMT9SMXHN3ca4RUA8qK9RFofnmpo 4I5LhBydbdTcWqlp8x9nUOr2sqmcSU5MmRZUX97N+aXBze64yRwBNb4wPIVbXW0o3ISW n7pHxPJfoD23PnATcAPy6el+XzMl4NEkTTYbPRkRhBBkRChuZyGlaIHjfJJHZ+168esA VKnh621MjFysjogiUF/KXY5hMbUoRDCj0ttl+UvCeMJX3Jnsd+3umCCxAkyTckSGO9G+ kcXq0Pa1lTnRw9iUPJIrOUtUPF1BcGpHf3KMgRn1NKs7DwlSyWGq2BOqSOpvgQLkXNIL fLEw== X-Gm-Message-State: APjAAAU3m/WFg2UaOB30JiYE0Sls6+mPwtGWC3E0fwholXFhix/Mr5nj ttBmiuW3seGb2ppvKxnoS3+Az/vLJ9nfMMI67S8= X-Google-Smtp-Source: APXvYqzz5Qr6bgh0Yqxb/1NY0ImVTDTQ6woXEHc4+yzM5IVYpX8bjTMiWNZUUJLiu2Htyhl0LEniltiQsZhw/6fJ1HQ= X-Received: by 2002:a5d:510f:: with SMTP id s15mr9882027wrt.408.1581447940007; Tue, 11 Feb 2020 11:05:40 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andrey Fesenko Date: Tue, 11 Feb 2020 22:05:28 +0300 Message-ID: Subject: Re: Contribution to freebsd To: Vivek Kamisetty Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48HC0P7324z4Vlp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CAHbwn/I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of f0andrey@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=f0andrey@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[d.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-8.72), ipnet: 2a00:1450::/32(-2.46), asn: 15169(-1.71), country: US(-0.05)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 19:05:42 -0000 On Tue, Feb 11, 2020 at 8:31 PM Vivek Kamisetty wrote: > > Hello, > How to contribute to freebsd ?, I mean bug finding and other basic stuff. > https://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html https://wiki.freebsd.org https://bugs.freebsd.org From owner-freebsd-hackers@freebsd.org Tue Feb 11 21:51:53 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 15F4024495B for ; Tue, 11 Feb 2020 21:51:53 +0000 (UTC) (envelope-from neel@neelc.org) Received: from rainpuddle.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48HGh827BRz4jJ3 for ; Tue, 11 Feb 2020 21:51:51 +0000 (UTC) (envelope-from neel@neelc.org) Received: from mail.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id 2687EB116C for ; Tue, 11 Feb 2020 13:51:42 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 11 Feb 2020 13:51:41 -0800 From: Neel Chauhan To: freebsd-hackers@freebsd.org Subject: Committing a few "Accepted" patches (categories: ipfw/netgraph) User-Agent: Roundcube Webmail/1.4.1 Message-ID: <34a9dc7b529b738ef2cce40b5321daca@neelc.org> X-Sender: neel@neelc.org X-Rspamd-Queue-Id: 48HGh827BRz4jJ3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=neelc.org; spf=pass (mx1.freebsd.org: domain of neel@neelc.org designates 2001:19f0:8001:fed:5400:2ff:fe73:c622 as permitted sender) smtp.mailfrom=neel@neelc.org X-Spamd-Result: default: False [-3.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.36)[asn: 20473(-1.73), country: US(-0.05)]; DMARC_POLICY_ALLOW(-0.50)[neelc.org,none]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:2001:19f0:8000::/38, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 21:51:53 -0000 Hi freebsd-hackers@, I have two patches on Phabricator that are in an "Accepted" state: * https://reviews.freebsd.org/D23477 (netgraph: If queue is full, don't enqueue in ng_source_rcvdata()) * https://reviews.freebsd.org/D23448 (ipfw: Add missing mention of RFC 6598/Carrier Grade NAT in ipfw_config_nat()) Would someone please be able to commit these? -Neel === https://www.neelc.org/ From owner-freebsd-hackers@freebsd.org Wed Feb 12 10:42:09 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B48F4233DD4 for ; Wed, 12 Feb 2020 10:42:09 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Hbmx0Cllz4CLW for ; Wed, 12 Feb 2020 10:42:08 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id p9so1572620wmc.2 for ; Wed, 12 Feb 2020 02:42:08 -0800 (PST) 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-transfer-encoding :content-language; bh=YGbh9j7W7Ka4GqlqLc0wrccY5CyVS/jJOoolexWNRwo=; b=DzEVNMQAbDEAC6lYaAtvwdDoJldg0YeUpG+174A5Eg2CHEuqjkCKicavQCCsPyHDNR hgjbvieyoXID5JqIBgJYWhNyDklqQ5Afwdma+uALCr2EubQLOXeSfVAxI+Yhy1Fjq/k1 d2ApkM23erDYMdBLSRFmTKZpeXkJS72LCvRC0z4Skas4V66sqqyLfRgWpU3Av7FTJFEY s/mS/H0bymRPXShhFQzDXz2sK+hL/b3DJYZpHJ0lZOqd0zV1hEWh/g9lGok5sm62Youl CxnP7TqDN7UQco0j7xuHZXy620+xM0mHyEVzPDKGSh4Z4M8yC2szFfrQoXrOzHUNxyiH RxkQ== X-Gm-Message-State: APjAAAU141dsw9nmb7wOUEE0i26u/HA4K2uoBd7yiCEeZQ2nh9MOyIsU 6L0iJiQfmj8dQ/BB+8i+19+dXR1r+/I= X-Google-Smtp-Source: APXvYqwnICRzuhqQ2fS2530+u8LqLaAVNer+IznbPAvYUsfteafwEJshQT1xQRpfGcWt7aXDH+MoCA== X-Received: by 2002:a05:600c:2552:: with SMTP id e18mr5759765wma.103.1581504127008; Wed, 12 Feb 2020 02:42:07 -0800 (PST) Received: from [141.23.135.120] (client-141-23-135-120.wlan.tu-berlin.de. [141.23.135.120]) by smtp.gmail.com with ESMTPSA id u8sm204816wmm.15.2020.02.12.02.42.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Feb 2020 02:42:06 -0800 (PST) Subject: Re: Contribution to freebsd To: Vivek Kamisetty , freebsd-hackers@freebsd.org References: From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Wed, 12 Feb 2020 11:42:20 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48Hbmx0Cllz4CLW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.128.50 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[50.128.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.03)[ip: (-0.40), ipnet: 209.85.128.0/17(-3.01), asn: 15169(-1.70), country: US(-0.05)]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[50.128.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2020 10:42:09 -0000 On 2/11/20 6:31 PM, Vivek Kamisetty wrote: > Hello, > How to contribute to freebsd ?, I mean bug finding and other basic stuff. > If you are interested in helping out with ports then you may take a look at portscout[1] and try to update some outdated ports. Cheers, Mateusz [1]: https://portscout.freebsd.org/ From owner-freebsd-hackers@freebsd.org Fri Feb 14 14:32:15 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E45E236BA8 for ; Fri, 14 Feb 2020 14:32:15 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 48JwnV0QPhz4gBc for ; Fri, 14 Feb 2020 14:32:13 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1j2c0j-000BdT-0M for freebsd-hackers@freebsd.org; Fri, 14 Feb 2020 17:32:05 +0300 Date: Fri, 14 Feb 2020 17:32:04 +0300 From: Slawa Olhovchenkov To: freebsd-hackers@freebsd.org Subject: vtophys() for userland Message-ID: <20200214143204.GI8028@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 48JwnV0QPhz4gBc X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of slw@zxy.spb.ru has no SPF policy when checking 195.70.199.98) smtp.mailfrom=slw@zxy.spb.ru X-Spamd-Result: default: False [0.17 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.04)[-0.043,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.77)[-0.771,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[zxy.spb.ru]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5495, ipnet:195.70.192.0/19, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.08)[asn: 5495(0.39), country: RU(0.01)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2020 14:32:15 -0000 Is any way to get virtual to phys map for current process? Is any way to get SMAP after boot? I am need to get route virtual address to memory controller/channel/DRAM DIMM. This is need for benchmark/memory timing discovery. From owner-freebsd-hackers@freebsd.org Sat Feb 15 05:38:17 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 915B124EDB7 for ; Sat, 15 Feb 2020 05:38:17 +0000 (UTC) (envelope-from fnoyanisi@yahoo.com) Received: from sonic302-1.consmr.mail.bf2.yahoo.com (sonic302-1.consmr.mail.bf2.yahoo.com [74.6.135.40]) (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 48KJtw6301z3Jmd for ; Sat, 15 Feb 2020 05:38:16 +0000 (UTC) (envelope-from fnoyanisi@yahoo.com) X-YMail-OSG: h45LMB8VM1mEbO6f4OTjBZ_U5vZcHObBZxr_3p798g_gvcJinASrq.GPcYWkmHX 0sXzJfj1LL66G5C_4.1gaO2fVlSe20LGOX9umDQmqpP0CSkAjbgd0bOPcns3D6E2MGi1Tu24yKhy RnAS12KPR1cwhHjdK4wLE8Vtwr.bKPVrv7YImVP.GUya50V7P_yfBjgWVnKPb4Z8g8dVrg3Lrm_o .DAii18tCwd7JNNxypkjKzEaVMuvAOIQ3IWwc_.mfkE_i7UYh.wtURg2fSm7oylZSQF5gPls2GE0 _cITFnTNc_wK6WtB9l5MRCauZpxQ1OBGmIqn2c3AYuNNJdBAANdQdJ3V5_3XbV5awjlL0TK8LTAd O2UMu_fkiMNew8MfLfOrs2jfMdSfLEE2WJTJYRqdkCWZqwxHnNw2XISZGmK0O868uiu4dNRdWrh0 nQakR.dUwqkgM59mKOoIrPlqD0MAo.aLKHhQjDyAr5iimQVII7a2a1KmZ0N4Ebg7yNzaahVaXj1V ibrFpXyEZOfrYzCkiq20QBE2fVFCDnbAN..udKQZh.WZu5jkfvop.ANb97OrCTjGM5YZQlNSqdaZ YTvQ2XoYgn__gkvBQ.GDEBWGPeS_PdalPK8sYXIC3odTimVA2mEgyjTKrRDHOjsIeQ15H79UzQ0u WTuooYUK8UUUq90iRP36ee7r8j1O_twPGuNMh2fWpjGTFvu.heudY2FsJTQaSciYeF.NwHca8jFP kJ8m8O0B15kjqsK.aSWrnZ2yzqcO5H2VC1uwblCPFd18P.bHkonJrNqEh8cT5Z7bsxGwbi_V4rFW PNGQZKfdItRprVccMpjIyO._odnhVSv4B5CGAweYw3C4v._krNLleIeIgr5HMqmhgk3NSDpiChCX 69_j6Vu.FcWfNCvrg_Elk5CKISeHwezRvQNqAdBrIqzn9dPgwyw0nkT_MrPxJCNJXRNnAtXDTtbQ zhGuL0HjdQ4VCTYIaC6wvEvEUi70lnoYl2VXSpYgfcGvEtYloeXoqTknGcvby1s6whqa37uQBsn6 qRNXV6EXJHGEFEd8dLhYfHlgMzRQqTnnnCHvW4aevL1GucZVXYIT6i4n59..2Odf.sBGS3rd23qY _PcV53XoAqWSHpUM2Am3zT25j7osIRMS2C4nH8upsSKh7Jh_u1t9wsigH8JQMaA8VuY97k69bHcP v1td4PLLyzjDlQFQ2rMg0SuqkHo5KZvJ_YYnuPjp6bLMW1Gmrumal91KjzLudnwZ8rGz4nDVzZoJ QJOhqsrQGsWVkoI6KfHvZWoqgu4lq.CQfrHqE14FcMljcEitJtFb.mb7M_4l_8KQkHJrvN_NT3mB rZMpBKCDCLuAlLLOT6GJafoDS6TPWMVabmsTJIZ_hKNE.u_424RKN_57vGtLk_8f_uThBG65t7C_ V Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Sat, 15 Feb 2020 05:38:15 +0000 Received: by smtp417.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID acb71599ffef527a9ad7b5e46e8d9986; Sat, 15 Feb 2020 05:38:10 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Fehmi Noyan ISI Mime-Version: 1.0 (1.0) Date: Sat, 15 Feb 2020 18:38:03 +1300 Subject: diff(1) -c and -u options Message-Id: <83CB71EA-714E-4C91-9E2B-143A0E222D37@yahoo.com> To: freebsd-hackers@freebsd.org X-Mailer: iPhone Mail (17D50) References: <83CB71EA-714E-4C91-9E2B-143A0E222D37.ref@yahoo.com> X-Rspamd-Queue-Id: 48KJtw6301z3Jmd X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.37 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.881,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[40.135.6.74.list.dnswl.org : 127.0.5.0]; MV_CASE(0.50)[]; IP_SCORE(0.00)[ip: (2.24), ipnet: 74.6.128.0/21(1.27), asn: 26101(1.02), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 05:38:17 -0000 Hi, I am working on same changes to diff(1) (bug 243975) and noticed that one of= the atf tests does this (in /usr/src/usr.bin/diff/tests/diff_test.sh unifie= d_body()) atf_check -o file:$(atf_get_srcdir)/unified_c9999.out -s eq:1 \ diff -u -c9999 -L input_c1.in -L input_c2.in "$(atf_get_srcdir)/input= _c1.in" "$(atf_get_srcdir)/input_c2.in=E2=80=9D when I try it out myself, -u -cNUM and -cNUM give the same output, making -u= redundant here. GNU diff complains about incompatible output styling when -u -c are passed a= s arguments at the same time. I would assume -u -cNUM was used to limit the number of output lines but the= same can be achieved by -uNUM anyway. I thought about removing this test case since it does not test anyting relat= ed to unified output (-u) (? here) but did not feel comfortable about it and= though it would be worthwhile to send an email to freebsd-hackers first. Any thoughts? Ta Fehmi= From owner-freebsd-hackers@freebsd.org Sat Feb 15 16:03:04 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1040223F60F for ; Sat, 15 Feb 2020 16:03:04 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48KZlq6mqrz4Php; Sat, 15 Feb 2020 16:03:03 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id D15CF189AC; Sat, 15 Feb 2020 16:03:03 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id DC113E384A; Sat, 15 Feb 2020 17:03:01 +0100 (CET) Date: Sat, 15 Feb 2020 17:03:01 +0100 From: Baptiste Daroussin To: Fehmi Noyan ISI Cc: freebsd-hackers@freebsd.org Subject: Re: diff(1) -c and -u options Message-ID: <20200215160301.ebcr5allppzgbgri@ivaldir.net> References: <83CB71EA-714E-4C91-9E2B-143A0E222D37.ref@yahoo.com> <83CB71EA-714E-4C91-9E2B-143A0E222D37@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="quupu7i3q4pq2nt2" Content-Disposition: inline In-Reply-To: <83CB71EA-714E-4C91-9E2B-143A0E222D37@yahoo.com> X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 16:03:04 -0000 --quupu7i3q4pq2nt2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 15, 2020 at 06:38:03PM +1300, Fehmi Noyan ISI via freebsd-hacke= rs wrote: > Hi, >=20 > I am working on same changes to diff(1) (bug 243975) and noticed that one= of the atf tests does this (in /usr/src/usr.bin/diff/tests/diff_test.sh un= ified_body()) >=20 > atf_check -o file:$(atf_get_srcdir)/unified_c9999.out -s eq:1 \ > diff -u -c9999 -L input_c1.in -L input_c2.in "$(atf_get_srcdir)/in= put_c1.in" "$(atf_get_srcdir)/input_c2.in=E2=80=9D >=20 >=20 > when I try it out myself, -u -cNUM and -cNUM give the same output, making= -u redundant here. > GNU diff complains about incompatible output styling when -u -c are passe= d as arguments at the same time. >=20 > I would assume -u -cNUM was used to limit the number of output lines but = the same can be achieved by -uNUM anyway. >=20 > I thought about removing this test case since it does not test anyting re= lated to unified output (-u) (? here) but did not feel comfortable about it= and though it would be worthwhile to send an email to freebsd-hackers firs= t. >=20 > Any thoughts? Sure go ahead, I am the author of the test suite there. Feel free to ping me if you need. Best regards, Bapt --quupu7i3q4pq2nt2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl5IFjMACgkQY4mL3PG3 Plq6+RAAwt+azMaoW/4qV/uXl4D36wvw9VUHlmrLjxuj8mUsD2tbYyX1pedeRgAN 5KXmPoknj+Ag8oQm6Apfsawmhcd7heAc7ZFoxUEpYKVdw88QkEgopiC/13usHMN5 DRprXyDKU2YJ4a2NW4aGIqyWDA5eE7MUNQs5amodJS3Q5IzZ3nDVcAuVIU1V76da H3zy5wpitRDnbnR/5kLD6B4l3H2JbNSO0cepKg5sdutfA/47cDvMjpIcg25WjIeY WTHHqZyDBPZgS/nLznbTgRpoiWRbA9bZQdWIhvoG7Mo/u9+PyEvyM2OmiNtJUqxB PSeTjxjTcqA3aeRFdl5lE9srAJGBCYYfQjquO/Ye5xhNV1DhD8Bd6Q41Tmg531U3 hywCMnOy03k46PubnI0rHllyj8A3sm47iglEMEaYom9OU+EIHLYY3CGNdjbDSCXO fD/wWuUHolD5m09V8leQzqZV0OaOpSgwRO6eQ88T7/PCLwtkRA7wBFWBRzA4giNa 2WOAStYy+N74bEw2Ov8J7JCiYxXAPprUO8ivlbQ2Xde+xWIil8fmN6BjemkWONYf VQNMAaac08g3eBLENrftIPmYZnaXrRighUWNk5CoGcDliuYyxph1ffwZUNFW4gk7 2aPg0x1LfgJuN8f2bAwhpvr2bhBq4pJt/LLf++TudnrzwZeRyUA= =iblR -----END PGP SIGNATURE----- --quupu7i3q4pq2nt2-- From owner-freebsd-hackers@freebsd.org Sat Feb 15 18:35:31 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B34B52436C5 for ; Sat, 15 Feb 2020 18:35:31 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mail.pingpong.net (mail.pingpong.net [109.228.164.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Kf7l4N7sz4YhP for ; Sat, 15 Feb 2020 18:35:31 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from [10.0.1.11] (c188-149-188-210.bredband.comhem.se [188.149.188.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id 307454B186; Sat, 15 Feb 2020 19:35:30 +0100 (CET) From: Palle Girgensohn Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Why is not llvm-config executable included? Message-Id: Date: Sat, 15 Feb 2020 19:35:29 +0100 Cc: Kirill Ponomarev To: freebsd-hackers@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48Kf7l4N7sz4YhP X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.91 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.91)[-0.913,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; ASN(0.00)[asn:8473, ipnet:109.228.128.0/18, country:SE] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 18:35:31 -0000 Hi! I try to build postgresql with llvm from base in 13.0-CURRENT, but = although it seems to me that llvm is indeed included in base, the = executable `llvm-config` is not. PostgreSQL's build process expects to = be able to use this to configure itself when building with llvm. Any ideas how to deal with this, apart from installing devel/llbm90 = which seems a bit bonkers? Palle From owner-freebsd-hackers@freebsd.org Sat Feb 15 18:58:29 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2995024479E for ; Sat, 15 Feb 2020 18:58:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48KffD6W7rz4c0B; Sat, 15 Feb 2020 18:58:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id 01FIwLMU052404 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 15 Feb 2020 20:58:24 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 01FIwLMU052404 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id 01FIwLOW052403; Sat, 15 Feb 2020 20:58:21 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 15 Feb 2020 20:58:21 +0200 From: Konstantin Belousov To: Palle Girgensohn Cc: freebsd-hackers@freebsd.org, Kirill Ponomarev Subject: Re: Why is not llvm-config executable included? Message-ID: <20200215185821.GV4808@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 48KffD6W7rz4c0B X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 18:58:29 -0000 On Sat, Feb 15, 2020 at 07:35:29PM +0100, Palle Girgensohn wrote: > Hi! > > I try to build postgresql with llvm from base in 13.0-CURRENT, but although it seems to me that llvm is indeed included in base, the executable `llvm-config` is not. PostgreSQL's build process expects to be able to use this to configure itself when building with llvm. > > Any ideas how to deal with this, apart from installing devel/llbm90 which seems a bit bonkers? If you need llvm you must install it from ports. The fact that /usr/bin/cc is clang with llvm behind it is somewhat accidental. One of the reason why llvm in base should not be used as llvm infrastructure is because llvm API and ABI is not stable across llvm releases, and exposing that would make compiler updates in stable impossible due to the stable branches guarantee of ABI stability. Another reason is that we generally do not want to make base depended on specific on llvm or any other compiler' internals. It should stay as (reasonably portable) C+gnu ext project. From owner-freebsd-hackers@freebsd.org Sat Feb 15 22:10:47 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0B2F324A634 for ; Sat, 15 Feb 2020 22:10:47 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mail.pingpong.net (mail.pingpong.net [109.228.164.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Kkw657hqz4fyk for ; Sat, 15 Feb 2020 22:10:46 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from [10.0.1.11] (c188-149-188-210.bredband.comhem.se [188.149.188.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id C161042613; Sat, 15 Feb 2020 23:10:44 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Why is not llvm-config executable included? From: Palle Girgensohn In-Reply-To: <20200215185821.GV4808@kib.kiev.ua> Date: Sat, 15 Feb 2020 23:10:44 +0100 Cc: freebsd-hackers@freebsd.org, Kirill Ponomarev Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200215185821.GV4808@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48Kkw657hqz4fyk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.91 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.91)[-0.912,0]; ASN(0.00)[asn:8473, ipnet:109.228.128.0/18, country:SE]; NEURAL_HAM_LONG(-1.00)[-0.997,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 22:10:47 -0000 > 15 feb. 2020 kl. 19:58 skrev Konstantin Belousov = : >=20 > On Sat, Feb 15, 2020 at 07:35:29PM +0100, Palle Girgensohn wrote: >> Hi! >>=20 >> I try to build postgresql with llvm from base in 13.0-CURRENT, but = although it seems to me that llvm is indeed included in base, the = executable `llvm-config` is not. PostgreSQL's build process expects to = be able to use this to configure itself when building with llvm. >>=20 >> Any ideas how to deal with this, apart from installing devel/llbm90 = which seems a bit bonkers? >=20 > If you need llvm you must install it from ports. The fact that = /usr/bin/cc > is clang with llvm behind it is somewhat accidental. >=20 > One of the reason why llvm in base should not be used as llvm = infrastructure > is because llvm API and ABI is not stable across llvm releases, and = exposing > that would make compiler updates in stable impossible due to the = stable > branches guarantee of ABI stability. >=20 > Another reason is that we generally do not want to make base depended = on > specific on llvm or any other compiler' internals. It should stay as > (reasonably portable) C+gnu ext project. Ah, OK, makes sense. So if postgresql depends on llvm, it simply has to = depend on the port, right? Palle From owner-freebsd-hackers@freebsd.org Sat Feb 15 22:27:48 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 79DD524ADCB for ; Sat, 15 Feb 2020 22:27:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48KlHm11Xdz3NJc; Sat, 15 Feb 2020 22:27:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id 01FMReWs000254 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 16 Feb 2020 00:27:43 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 01FMReWs000254 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id 01FMRe6J000253; Sun, 16 Feb 2020 00:27:40 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 16 Feb 2020 00:27:40 +0200 From: Konstantin Belousov To: Palle Girgensohn Cc: freebsd-hackers@freebsd.org, Kirill Ponomarev Subject: Re: Why is not llvm-config executable included? Message-ID: <20200215222740.GW4808@kib.kiev.ua> References: <20200215185821.GV4808@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 48KlHm11Xdz3NJc X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 22:27:48 -0000 On Sat, Feb 15, 2020 at 11:10:44PM +0100, Palle Girgensohn wrote: > > > > 15 feb. 2020 kl. 19:58 skrev Konstantin Belousov : > > > > On Sat, Feb 15, 2020 at 07:35:29PM +0100, Palle Girgensohn wrote: > >> Hi! > >> > >> I try to build postgresql with llvm from base in 13.0-CURRENT, but although it seems to me that llvm is indeed included in base, the executable `llvm-config` is not. PostgreSQL's build process expects to be able to use this to configure itself when building with llvm. > >> > >> Any ideas how to deal with this, apart from installing devel/llbm90 which seems a bit bonkers? > > > > If you need llvm you must install it from ports. The fact that /usr/bin/cc > > is clang with llvm behind it is somewhat accidental. > > > > One of the reason why llvm in base should not be used as llvm infrastructure > > is because llvm API and ABI is not stable across llvm releases, and exposing > > that would make compiler updates in stable impossible due to the stable > > branches guarantee of ABI stability. > > > > Another reason is that we generally do not want to make base depended on > > specific on llvm or any other compiler' internals. It should stay as > > (reasonably portable) C+gnu ext project. > > Ah, OK, makes sense. So if postgresql depends on llvm, it simply has to depend on the port, right? Same as any other consumer of llvm, for instance mesa-drm.