From owner-freebsd-hackers@freebsd.org Sun Sep 30 10:01:58 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A556810BA670; Sun, 30 Sep 2018 10:01:58 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1337A7BD64; Sun, 30 Sep 2018 10:01:58 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lj1-x231.google.com with SMTP id u21-v6so2423256lja.8; Sun, 30 Sep 2018 03:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mime-version :content-transfer-encoding; bh=7Rw35KPz6G+tl+6izSleVLSL+v6W9t5yNBi+m0IzUxE=; b=d0Eo6Hl3zL+9NkK2gzbKzYseGa0xB3lmGBNou9ha02PjlbjUCnwRP5AufiY9R4I6LQ Ers52R4E1aluLWpV21TP40W1JcIUtckDvS2FO1t8U83XgCxQxy1QggNylOuMQqO+QlCB eB6NIEAs/xHo320BGAKlv+g0R2pCuichJVsMmYm6ZzfdQuKvhfXAeCe9AhwDN15t1tfn 3yVVP7e0/MawE5PaLdKyNMPBpa6BE8lawZQcnZzA9O8ac72DrMvLqOkz9/BGW/tuhkJe B4+1wjQYhqx9PFfU1tTtSFxP09btDjc5ods2rEilSiTjUOayQlO3ntp/LFyoeirMD6gh x8tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-transfer-encoding; bh=7Rw35KPz6G+tl+6izSleVLSL+v6W9t5yNBi+m0IzUxE=; b=cEZ4zxodsNRKujXtaajNXAxXCOALoVLOGX0zY/NXAJcynl+oGJRKZ1qLkncxvabvVX MVIEGa02D4hXjTrOgP55pG/r6g5ydRjzlc1nfISASTY949/lI+QNmAYYPp9qOvpewS7V agsUWIpbltILSxMBmZFqNQuh+9jih5zBiq1pXpRClS/hrCFOnCmBqtGyV2Da0gp3umtw VgFwkBeuLxAXqPbwyoZrcAt0RPttxSbF8x8m43Vh447iuvmbmu62lBodYp+NIitKs0JX WmaclsCyjRa7dTbJn79ug/kirCintA8iOOx3j07Q7DBWn8O7cNffa85xam+eEMZePGwo hMSA== X-Gm-Message-State: ABuFfojXUBdoOlzLy0G4u9uf4v7brswDiXmpR7FcpM/4RYw/zs85b2s5 8THnLqmbcVSLTP5ijzHWn5S85Uej X-Google-Smtp-Source: ACcGV621geLD9v7ywOdK6awGJriwrtGIDiuI3l6YMMMMHvTM/xYU6ifl9WyuC5RV2tk2oNszVL2u3Q== X-Received: by 2002:a2e:c3:: with SMTP id e64-v6mr3473867lji.103.1538301715909; Sun, 30 Sep 2018 03:01:55 -0700 (PDT) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id e21-v6sm1542453lfb.52.2018.09.30.03.01.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Sep 2018 03:01:55 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Sun, 30 Sep 2018 13:01:49 +0300 To: freebsd-hackers , FreeBSD Current , FreeBSD Stable Subject: APU Bristol Ridge graphics support Message-ID: <20180930130149.1adddede@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 10:01:58 -0000 Hello! Is this graphics supported? A10-9700 Bristol Ridge Radeon R7 vgapci0@pci0:0:1:0: class=0x030000 card=0x1e201002 chip=0x98741002 rev=0xe2 hdr=0x00 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Wani [Radeon R5/R6/R7 Graphics]' class = display subclass = VGA From owner-freebsd-hackers@freebsd.org Sun Sep 30 10:10:12 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7000F10BACF7 for ; Sun, 30 Sep 2018 10:10:12 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6AD27C466 for ; Sun, 30 Sep 2018 10:10:11 +0000 (UTC) (envelope-from timp87@gmail.com) Received: by mail-wr1-x431.google.com with SMTP id 63-v6so3367059wra.11 for ; Sun, 30 Sep 2018 03:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GPKfiAKB2fRVKw2sLZT65+H0lbezydKqFM04yZ0Z2AI=; b=Ol5P+jAfKTOq4JWlDgdRc9RC7IO4JIwOdQiGAiCBThzcK+8MV4cJ+aChHnQOp4pVpD +XSDE0LoYXvvFA9WZZYU/Q2b4xqYUz5lszEVCY3OhONP3B1qEZ6CUR/uN6qRA0TzyDFF nWK1cRCOTXQtVvB5y37EcZKcoide5p67LGb1Gl5XZ1+btDAUXvEZyJm+jk3i7s8V4DEe 2d0evO/1ui++vES4cgSeG5YaxKT3XIPUO5NaYmVCZQ5mijhHR4xqc+jhOm2FdWRB2Cn1 DDaWljamC4dwooy6SBI16LxCGuF0uFc+PrUUxtAXL0Gr1JkKJBbliuaTYcVneRQbCQOj u5pQ== 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=GPKfiAKB2fRVKw2sLZT65+H0lbezydKqFM04yZ0Z2AI=; b=tp1eRVrhUw5Bw/j9l61Q1HpYtjSWaDIk3aE/dpZD/5JgFOOGre+0YQeesq4rYTL7I9 VfrUstFzAvm9Uhqen03p21aR8i3luO5I7ZQtbr/EiauS+a9233gXdYb4EhbTzUhL++gq hVdvKPetcEBgHFX7FS74NHO1Za4fmgsA0wmLElLKsR7FJYcb+cvOsHEJIhTTpexWY96N 9pIWT1LYTEtBNjN0j5SafPB+apQ9U47VnNdjxSWFbqG7D+AvOEiJFCjLm5gXBbf0jVEQ gOqsK+O9Uiv/dQmpuPuuqSP2DxsfA6HTByB1msHwd2DSG4L32/IW04+iDgyrWkz3ZSgf QoMQ== X-Gm-Message-State: ABuFfohrty8EuNS74FfjWyjJolsD8VIazYTtPaqUHE5FsNSgmBEq4IGG KK8se04Gi9VB7w3EEGCpmU+QXMymct7IPd3ndOvBAmg2 X-Google-Smtp-Source: ACcGV615K4slDfZYRAV2UPfkmgUbzJ3tixfHwC4Dw4Cy/A2N/ONkW0CJEeYXTKQOp2lmtRKfDDMiyc4FNMrDycWLr3c= X-Received: by 2002:adf:b7c9:: with SMTP id t9-v6mr3957627wre.274.1538302210375; Sun, 30 Sep 2018 03:10:10 -0700 (PDT) MIME-Version: 1.0 From: Pavel Timofeev Date: Sun, 30 Sep 2018 13:09:59 +0300 Message-ID: Subject: Syslogd less verbose logging with rfc5424 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 10:10:12 -0000 Hello, dear community! There was a great work to bring rfc5424 date format to syslogd(8). See https://svnweb.freebsd.org/base?view=revision&revision=332510 I've been using it on CURRENT since it was imported. I'm happy I can finally get syslog messages with high time precision w/o installing rsyslog or another syslog implementation. The thing I really don't like is that syslogd puts severity and priority to log files next to timestamp. In my opinion severity and priority is not needed in 99% of cases, only in debugging corner cases. While high precision timestamp is the main thing what people like rfc 5424 for. This is just my opinion. So for "-O rfc5424" I'd like to have the same behavior as for rfc 3164, i. e. do not log severity and priority by default and if needed use '-v' option to enable those. But it was decided and documented that '-v' won't have any effect for rfc 5425 https://svnweb.freebsd.org/base?view=revision&revision=335862 The first thing I'd like to suggest is to make rfc 5424 logging the same way as for rfc 3164, i. e. make '-v' option work the same. If community is not agree with me, I'd like to suggest another thing: have another option/flag for syslogd(8) to disable severity and priority logging if one use rfc 5424. From owner-freebsd-hackers@freebsd.org Sun Sep 30 10:17:06 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C26510BB38C for ; Sun, 30 Sep 2018 10:17:06 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BE4A7CBF0 for ; Sun, 30 Sep 2018 10:17:05 +0000 (UTC) (envelope-from timp87@gmail.com) Received: by mail-wm1-x32f.google.com with SMTP id o18-v6so5922044wmc.0 for ; Sun, 30 Sep 2018 03:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=wIf5HJMGnBBFp/6vv4Yo7cE7SjGz9jbwzmOWeVZYpHo=; b=XNie4TvmmUwt+KipYRwMFRFgILQ1jwHUOX9R0gwZiMuQod5LUTIzPdE4QMNpaQJtq8 LzUoTud8dsvXgcGckea4/vZk6EY0X+OsYH+dWut+ihWPf3r7qobkH1u3KrStKXm1jHx5 xDdItMIi02rDXQ6yOj0HlV5wc+//9Xs813fFb585nTMbFIJLu4z9B/bOkbbB+X26hiuD rwPUAaU05HRU6/nMttqiX9vqOxbOaP4+EkbBSuYp++EmUSH4P5p0gj6+cvafu9Wm1xA/ McKFU9CQL6pSCGur5Qn5tY7PZMHsvy7b3rMp3CSSI1XwuV8sE3MJQRTPyyJT/HnRKsUf xmBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wIf5HJMGnBBFp/6vv4Yo7cE7SjGz9jbwzmOWeVZYpHo=; b=b6NyYqkqaoa71vqeBS0bmO+v/mY5kkQekUJhMEjRshJiGymAhamJ22F05jJtpkWiyk G9pywxVDFxbORvHbCgmDfKS1OUYhsmuNZmgyDwvrQ9W/r+ZPTWHUnLzJSmcK0RLsGIAt NAqoBPwY8ud1JVt0l2RnswHv4Sfwt/wuYibIJQ+zFt0jTBwYAFL6qzQ+XfkCcbIQ08Hz GwN25+D5cQ+pSHqtWNBniImHzDjO9Z2FZ+AB8Jle943QsHpCRYFMEDHv/jcjkzD1H8o/ XyYAk/AHaMQD2drTHZ9tWqAQZXrrRD7mwru1W0yzZxPmkNmGAOk41VWbhchGWGBcDngL K3mg== X-Gm-Message-State: ABuFfogLT4iO+s8pBxBevNxmK9wmkLvkFStLAeOWv7udTHFcG+xamlHA Z+Cz8SFLkkBAyMbRS1SA1v7fgMD9lpO9sjtimCel9tTg X-Google-Smtp-Source: ACcGV6276zOPBxDwFQ1WZDOFIidJWzadUzkpcvigaH7ctO4AvLphnBsKE5gjxjSkBtdguHLc9CkpR3bACUpFLPT2yRY= X-Received: by 2002:a1c:96c7:: with SMTP id y190-v6mr933336wmd.36.1538302624210; Sun, 30 Sep 2018 03:17:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pavel Timofeev Date: Sun, 30 Sep 2018 13:16:52 +0300 Message-ID: Subject: Re: Syslogd less verbose logging with rfc5424 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 10:17:06 -0000 > Hello, dear community! > > There was a great work to bring rfc5424 date format to syslogd(8). See > https://svnweb.freebsd.org/base?view=revision&revision=332510 > > I've been using it on CURRENT since it was imported. > I'm happy I can finally get syslog messages with high time precision > w/o installing rsyslog or another syslog implementation. > The thing I really don't like is that syslogd puts severity and > priority to log files next to timestamp. > In my opinion severity and priority is not needed in 99% of cases, > only in debugging corner cases. While high precision timestamp is the > main thing what people like rfc 5424 for. This is just my opinion. > So for "-O rfc5424" I'd like to have the same behavior as for rfc > 3164, i. e. do not log severity and priority by default and if needed > use '-v' option to enable those. But it was decided and documented > that '-v' won't have any effect for rfc 5425 > https://svnweb.freebsd.org/base?view=revision&revision=335862 > > The first thing I'd like to suggest is to make rfc 5424 logging the > same way as for rfc 3164, i. e. make '-v' option work the same. > If community is not agree with me, I'd like to suggest another thing: > have another option/flag for syslogd(8) to disable severity and > priority logging if one use rfc 5424. Just for visibility this is how /var/log/message log looks like now if I enable rfc 5424 logging: <2>1 2018-09-30T13:13:14.105894+03:00 nostromo kernel - - - #8 0xffffffff8105f82c at amd64_syscall+0x28c <2>1 2018-09-30T13:13:14.105901+03:00 nostromo kernel - - - #9 0xffffffff8103c14d at fast_syscall_common+0x101 <2>1 2018-09-30T13:13:14.105912+03:00 nostromo kernel - - - Security policy loaded: MAC/ntpd (mac_ntpd) <101>1 2018-09-30T13:13:14.124700+03:00 nostromo ntpd 937 - - ntpd 4.2.8p12-a (1): Starting <101>1 2018-09-30T13:13:14.224314+03:00 nostromo ntpd 938 - - leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature <101>1 2018-09-30T13:13:14.224570+03:00 nostromo ntpd 938 - - leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=2018-12-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37 <13>1 2018-09-30T13:13:14.391787+03:00 nostromo root 990 - - /etc/rc: WARNING: $dbus_enable is not set properly - see rc.conf(5). <28>1 2018-09-30T13:13:14.640885+03:00 nostromo avahi-daemon 1038 - - WARNING: No NSS support for mDNS detected, consider installing nss-mdns! From owner-freebsd-hackers@freebsd.org Sun Sep 30 10:26:16 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B701C10BB95C for ; Sun, 30 Sep 2018 10:26:16 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 536A17D2E0 for ; Sun, 30 Sep 2018 10:26:16 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BF70521607 for ; Sun, 30 Sep 2018 06:26:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 30 Sep 2018 06:26:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=J8Px75/fvpc6c9gC9wn+RA1+tVYQmmFAGr1PC0rH+TU=; b=GhoBItX2 mJ+3/hTh8RWXbTrbxawpFgs5tPoMVfMNF/SYesFtC8uDxTy5DI7iNniMydGiymiZ MSJ29j2bIfCJWqfXY/yzliS2yiOs3uOKavcAT9+qGhUR40kAFbSqNOUNPbphdPbR O8k6xilApcYzfT1Ma4oqW3sKFEAkh1iu1NRBXUXMKvDb5adXmHwAHdxV5E6r7OIW /DwBu6pfHdWk9ZBT9mFAvFtGMo+rkRTmU6Nryks0jOTy4+vOCHyyWXyLEDO1o/qF 6BS1FTJGsqrxZhuSHOF+jKhKzHMbWUcHTkVlLSm613WeUN52DYitEPuG4knwBGsF xMBHptoMcPOV/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=J8Px75/fvpc6c9gC9wn+RA1+tVYQm mFAGr1PC0rH+TU=; b=HocJVlMzlmLAdvi/neW2HsLhhDN33d+8dthcLltEVim9d XAhHA1ZdmyrJniJeVsvX/bXzvaL9rsehPuJRGjTLjeoeMub8GeE7Za4ZkiFofRN/ rJd3zCtaTrbxbuJ6M4fBkh3BXtWESz9cmb0wIBJkgKFh/j18wApx4Jk9wgysCMcZ tw26bcrvhfAHqyzMQ/OOvoicbyf9eW1TpITFbOIxpIYKej6CvE2ieBY2icRxpe4L YLirJyoOV1m9HvnXLPKMeSCDItRKZ6ydqbsktxqybEkYx0zRn+ilqwlm1umw30DY 30l5yGUCUC2u4L+CaH/JD1d4kKAMe7KCLAljf1V4Q== X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.2] (unknown [85.175.16.0]) by mail.messagingengine.com (Postfix) with ESMTPA id EFC11102D7 for ; Sun, 30 Sep 2018 06:26:14 -0400 (EDT) To: freebsd-hackers@freebsd.org From: Yuri Pankov Subject: pw(8): review for PR 231649, 231653 Message-ID: <34d9e3cc-1b85-aca6-1dce-d75100e4f0fd@yuripv.net> Date: Sun, 30 Sep 2018 13:26:13 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 10:26:16 -0000 Hi, I have put the changes to fix the problem described in PR231649 (`pw useradd -D -w` not modifying the pw.conf) out for review: https://reviews.freebsd.org/D17299 It also contains the fix for PR231653 (pw not respecting the path specified via -V when writing pw.conf) in there to make the added test case actually work. TIA From owner-freebsd-hackers@freebsd.org Sun Sep 30 17:04:31 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B6911097DF8; Sun, 30 Sep 2018 17:04:31 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAE748A817; Sun, 30 Sep 2018 17:04:30 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: by mail-ot1-x335.google.com with SMTP id q4-v6so10660507otf.13; Sun, 30 Sep 2018 10:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:in-reply-to:references:content-transfer-encoding :date:message-id:mime-version; bh=zv627FI2QdFamUb6mLx2THDpr6URpP8D8CYaRJlrW98=; b=NqwCJ1bm/S5etzRLdfrN3a7d52/kaasTAmHLe5kWOd7MMyON4vCBMECWK+cg+9Xoih 1nzo5BPGQj7NiTFBDqIzdg0zcggi2/96gQLlBWa0Oc/n3Ku6NESMbpiUWQDRgSB0+Uhn j9sC4iOPHHAyseh2xEBAnrh5AveMnMhS11m7uMoLWG9E6BGXPFRjUCitjvSIhKUBzGvs UjbStuBfkVBZSGLoVNAGevo/d6Z4Q8Tr6/OpcUHToL3d4gF2sV831JzNA02LQEu5oPdy W2FW8KZbdRrUr07OIGrOiPfHpAYcUbA5ktei6+r90NNJ3HmnK1XL3iCuaut2SpYAI+5l m2VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:in-reply-to:references :content-transfer-encoding:date:message-id:mime-version; bh=zv627FI2QdFamUb6mLx2THDpr6URpP8D8CYaRJlrW98=; b=glmBIaZ93elOE4mOv82etQ5JYg1RH8Fn7RHpSI3t4a+VzJdbrmUmQqLAgzwbyQmAdE +jtTbbX7tSJZGbNsM9sWloHhWvGhmlunaGDXgz7z7YNoAqLn3tYnsfYqV5v8XbMLPJd+ J1Iw/s6FEf4PHAMRCGtCj6HGaPDAtGWjV5AB80V514wbCHHSQBpAVUg/LS351JVqgwN2 rWlBk8dfCGbS7sj1LpSExN4xFpknIYG0+LMT8m90XDGqETkYhUkk2A4XSynDGO2GshEZ feo0L/ygwK16gkJMqKTk8kQnc06n5Ew+aLmK1Vrehy4oDlLR7pR8lL2rh/5jEJl7u/7v iLng== X-Gm-Message-State: ABuFfohd6sbu69kBJLVPnfaDWbqXRQI2rtwoYwbL7fbZnkpTjkis20m2 bOo1ZeFL0dRojlQLl1mVY1w= X-Google-Smtp-Source: ACcGV60kQfh2Y3xy8yK9mcSxrKBPr3sBWr4tyYxgYxZuovXP81Y2n2HG6EmZQXNpIDM95nkUp3Skkg== X-Received: by 2002:a9d:2ff0:: with SMTP id b45-v6mr4022990otd.63.1538327069977; Sun, 30 Sep 2018 10:04:29 -0700 (PDT) Received: from [127.0.0.1] ([2607:fb90:2027:e53b:a015:cc57:9d7:267c]) by smtp.gmail.com with ESMTPSA id y63-v6sm4038061oia.39.2018.09.30.10.04.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 10:04:29 -0700 (PDT) X-Priority: 3 To: rozhuk.im@gmail.com Cc: freebsd-current@freebsd.org,freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org From: Johannes Dieterich Subject: Re: APU Bristol Ridge graphics support In-Reply-To: <20180930130149.1adddede@gmail.com> References: <20180930130149.1adddede@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Date: Sun, 30 Sep 2018 17:04:26 +0000 Message-ID: <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> MIME-Version: 1.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 17:04:31 -0000 DQoNCk9uIFN1bmRheSwgU2VwdGVtYmVyIDMwLCAyMDE4LCBSb3podWsgSXZhbiB3cm90ZToNCj4g SGVsbG8hDQo+IA0KPiBJcyB0aGlzIGdyYXBoaWNzIHN1cHBvcnRlZD8NCj4gDQo+IEExMC05NzAw DQo+IEJyaXN0b2wgUmlkZ2UgUmFkZW9uIFI3DQo+IA0KPiB2Z2FwY2kwQHBjaTA6MDoxOjA6CWNs YXNzPTB4MDMwMDAwIGNhcmQ9MHgxZTIwMTAwMiBjaGlwPTB4OTg3NDEwMDIgcmV2PTB4ZTIgaGRy PTB4MDANCj4gICAgIHZlbmRvciAgICAgPSAnQWR2YW5jZWQgTWljcm8gRGV2aWNlcywgSW5jLiBb QU1EL0FUSV0nDQo+ICAgICBkZXZpY2UgICAgID0gJ1dhbmkgW1JhZGVvbiBSNS9SNi9SNyBHcmFw aGljc10nDQo+ICAgICBjbGFzcyAgICAgID0gZGlzcGxheQ0KPiAgICAgc3ViY2xhc3MgICA9IFZH QQ0KWWVzLCBJJ3ZlIGhhZCBhIEJyaXN0b2wgUmlkZ2UgYXMgYSBkYWlseSBkcml2ZXIgdW50aWwg YSBmZXcgZGF5cyBhZ28uIFVzZSB0aGUgTGludXhLUEkgYmFzZWQgRFJNIGZyb20gcG9ydHMsIGlm IHlvdSBhcmUgb24gQ1VSUkVOVCBncmFwaGljcy9kcm0tZGV2ZWwta21vZCwgYW5kIGxvYWQgYW1k Z3B1LmtvLg0KDQpUaGFua3MsDQoNCkpvaGFubmVzDQoNCiBfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBmcmVlYnNkLXN0YWJsZUBmcmVlYnNkLm9yZyBt YWlsaW5nIGxpc3QNCj4gaHR0cHM6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZv L2ZyZWVic2Qtc3RhYmxlDQo+IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGFueSBtYWlsIHRvICJmcmVl YnNkLXN0YWJsZS11bnN1YnNjcmliZUBmcmVlYnNkLm9yZyINCj4= From owner-freebsd-hackers@freebsd.org Sun Sep 30 17:46:11 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7344109E482; Sun, 30 Sep 2018 17:46:11 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCC28C171; Sun, 30 Sep 2018 17:46:11 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lf1-x142.google.com with SMTP id w21-v6so8194935lff.6; Sun, 30 Sep 2018 10:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GrYtg4oJeBmLTNpiX2llhqYfCN+QKpxJ3vHzmA3Nx+c=; b=nSHmCS8dFrdggWr0/ZpEGJcN7bekMfpTbwuCUEF970VbtzcFXax4pMMuccPWdJeJka /AIW6u24GTGctZMepcjT/UxTfRytjG50WZqYNQXdrxLTuRYHO8mws6PbcU0aoyGpEMh1 IsOLqO9cTjbgRQmXd3eifvUJCkaJvtVyMcLjhS9GDOsEp1ptyYPavjAsBGVpbpCBuO1Q lnTmm+IXf5aszhg3Phj/5ehLPzLhd0Bc0nFPQE/bxeKFNd/xzZeOqeNS0i6LPJ1PwlRX 9QsDTihVVFZucOWmYggkX7l91BFjxtVG/VzB9SzDrW6Lmjlqp1iRcAiY8VJJo+1ydAKr wMVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GrYtg4oJeBmLTNpiX2llhqYfCN+QKpxJ3vHzmA3Nx+c=; b=ue3tzYqPt8ULAc6aSYlUntaHlK4OefC/dueNV+IsXrNPeMDTxsdRwY5oPYiVvmF7TU hLtf6P2vJv2ruY6kVnZDQ8FHN6f6AUDV9yka7edkafASD7RdLV3gnXDLrO/mEA0cGu6H 1FeENr2K+F56FVxjQOW16WU/71YvClJ0moc38N2i3oAUW1cTWg4MgPZYm1p8hacNf5nn IB0VeFEqFoQPGbuKaKD8pKf33kWkuC53NBabeNVpdWYmrABmyEeEvpf+IHNAO9eefi2L C7xNCHU6n5YGq7HxsvyjJApcMgnupW4kAtHFzL8Xws+htY47PrRoBnJfII8r9gBP8kjj XLig== X-Gm-Message-State: ABuFfoiPfF9ZR+3tIE+Ff6G8onXygQ/e6S52F9mRgdkI1mwLv6suAF7+ ama04SipD3u2vLiEZ6I3inH+warYJQE= X-Google-Smtp-Source: ACcGV61Ugwcm2fPJWtjR1tb+AlY7+FIh11U6Yy7OmeJZ2V9+XTVUSoXynQuD7iqXtpriaCz/ZuQeCg== X-Received: by 2002:a19:541d:: with SMTP id i29-v6mr3896336lfb.30.1538329568889; Sun, 30 Sep 2018 10:46:08 -0700 (PDT) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id w1-v6sm2131605lfe.93.2018.09.30.10.46.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Sep 2018 10:46:08 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Sun, 30 Sep 2018 20:46:06 +0300 To: Johannes Dieterich Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: APU Bristol Ridge graphics support Message-ID: <20180930204606.51500919@gmail.com> In-Reply-To: <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 17:46:12 -0000 On Sun, 30 Sep 2018 17:04:26 +0000 Johannes Dieterich wrote: > > A10-9700 > > Bristol Ridge Radeon R7 > > > > vgapci0@pci0:0:1:0: class=0x030000 card=0x1e201002 > > chip=0x98741002 rev=0xe2 hdr=0x00 vendor = 'Advanced Micro > > Devices, Inc. [AMD/ATI]' device = 'Wani [Radeon R5/R6/R7 > > Graphics]' class = display > > subclass = VGA > Yes, I've had a Bristol Ridge as a daily driver until a few days ago. > Use the LinuxKPI based DRM from ports, if you are on CURRENT > graphics/drm-devel-kmod, and load amdgpu.ko. > I am on 11.2. I try drm-stable-kmod-g20180822 but it fail to load, as I understand. Is xf86-video-amdgpu must be used with drm-*-kmod* ? From owner-freebsd-hackers@freebsd.org Sun Sep 30 18:12:06 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21C0710A305E; Sun, 30 Sep 2018 18:12:06 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A83C78CE5B; Sun, 30 Sep 2018 18:12:05 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: by mail-oi1-x233.google.com with SMTP id k64-v6so9358881oia.13; Sun, 30 Sep 2018 11:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:in-reply-to:references:content-transfer-encoding :date:message-id:mime-version; bh=O+r7ImUMw5VORsK2Hh7Cy2S1+6qX9fIzt55nGKBEnB0=; b=iuW2+8dAl8aRtzL4j8wwRaxEmFPYRzwArJ9qLXmvzF+nRkRtygcHT3rKjLWoxKGvDC BH7Oww+rngearyLMJLjbNCHZGLy1QWH9hZmFIbHzDCTab2NbRLcpETzeeahb6WtFCTBa UNn77FxLRM0yWhITw0a8j/s1qoUV8sqHdRqD7fPQWrobl1IQJW04R7Zcsx0YeSIEuSIO HvHNheR6QjTMgQ1O3at7wGRJrK32P2L0zvsJM4jezldF4GKYSHssq+apvypBvalay7ud qpgCIInBGc0UMykG66VlrO23Fw51stwDx3Rc3p4IG/nyVrCQxwGdDsX1YqwZqHAjU4TS 7gkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:in-reply-to:references :content-transfer-encoding:date:message-id:mime-version; bh=O+r7ImUMw5VORsK2Hh7Cy2S1+6qX9fIzt55nGKBEnB0=; b=N1mZJhWfVC4VVokx4ZHF+i4lSpq4unTvYGYl7QOQL+GYh15iwj2uNMVCmyl6yVZ0Fq lPVdCVc2rKshdXTe/m5Pia9o7Fv+V3EmSqJ5DlVw/UgA8vgw6nURighFEKU3LIHlceX0 Ogi7eqgwQ5TOqHeqmRU4lD8AqxyY+sd7f2CE8IOSUJ/pr04RyC1UQdIicZ/sddDkzsAD 8qd5mKdQWr2v6HpWxcRKguRWYubnFle/BX6ACnvHXeV4I1yTDPhQ0080bfafpFVSOhae UfPnrYa81YnfaT9KG3Xel8Cye6HN0XTvzW4BcdYBayefwBfx6/4OtoMFeaeHWtxZYd8f HeLw== X-Gm-Message-State: ABuFfoj/Uv6hm89ohmnsYTIby4y0dHRmGV16aOeAHkSsRkZ2+tun+OCg g6E9BpzwnAiyt0yBA202cO8= X-Google-Smtp-Source: ACcGV60dSn9+m7uFnSVcVKG4NMQ5SvD8fOhqwbp2wsbodwIMZhNVjZ/aSiNdg+hrYswDTfl3goOZ/Q== X-Received: by 2002:aca:d05c:: with SMTP id h89-v6mr3323129oig.199.1538331124828; Sun, 30 Sep 2018 11:12:04 -0700 (PDT) Received: from [127.0.0.1] (072-179-013-114.res.spectrum.com. [72.179.13.114]) by smtp.gmail.com with ESMTPSA id 4-v6sm3880559ott.42.2018.09.30.11.12.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 11:12:04 -0700 (PDT) X-Priority: 3 To: rozhuk.im@gmail.com Cc: freebsd-stable@freebsd.org,freebsd-hackers@freebsd.org, freebsd-current@freebsd.org From: Johannes Dieterich Subject: Re: APU Bristol Ridge graphics support In-Reply-To: <20180930204606.51500919@gmail.com> References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Date: Sun, 30 Sep 2018 18:12:01 +0000 Message-ID: MIME-Version: 1.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 18:12:06 -0000 DQoNCk9uIFN1bmRheSwgU2VwdGVtYmVyIDMwLCAyMDE4LCBSb3podWsgSXZhbiB3cm90ZToNCj4g T24gU3VuLCAzMCBTZXAgMjAxOCAxNzowNDoyNiArMDAwMA0KPiBKb2hhbm5lcyBEaWV0ZXJpY2gg PGRpZXRlcmljaC5qb2hAZ21haWwuY29tPiB3cm90ZToNCj4gDQo+ID4gPiBBMTAtOTcwMA0KPiA+ ID4gQnJpc3RvbCBSaWRnZSBSYWRlb24gUjcNCj4gPiA+IA0KPiA+ID4gdmdhcGNpMEBwY2kwO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B3ZWxs IGJ1dCB5b3UgbWF5IGFsc28gYmUgYWJsZSB0byB1c2UgdGhlIG1vZGVzZXR0aW5nIEREWCwgSSBo YXZlbid0IHRyaWVkIHRoYXQuDQoNCkpvaGFubmVzDQo= From owner-freebsd-hackers@freebsd.org Sun Sep 30 18:37:38 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C66C910A3A5E; Sun, 30 Sep 2018 18:37:38 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 378D68D973; Sun, 30 Sep 2018 18:37:38 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-ed1-x529.google.com with SMTP id f38-v6so12221678edd.8; Sun, 30 Sep 2018 11:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LFZCm7XVsZWCrK5L6heTDCcwUbsoklvLrxKblUhmwBM=; b=PHFXMYaMR2vpheFKpvZkwkz0Pb3CzRcSo27sWTvfEDaZknVc8pX1TA4ao55QV/kr5g 49aMDCBgMaacoPhzXuaNxLXjH5KACX9RbpMrOg2gvsTab3fSLhFxDkuv0Kx8eRfGVz0I ImXADvY3gmxz01tKXki2acanNLrrqQofNqJDsAWJfxIdle09DvENKw0Jofm4etl6z7KG d/DRljfFHOnMNNV2PEd9c2y4deXJj85Pt3C64lJdmddLb8oNrwb53ZXuWUQAQjaB6nft gaCrLomK9UQ+VQ1FfIhd4FUswIqw4Vl3RQvuK1KvF0YHWG2qtzTf8pbt4Y7dIDN0OFLB WuSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LFZCm7XVsZWCrK5L6heTDCcwUbsoklvLrxKblUhmwBM=; b=kO4RPj9wp+5rg0lfwU86Ew66i2rSFS6vlRIbmtAxvuky7WKY92sfQGfFEEZtRZacg8 KyJ0a3ZQfVQ0p+kOSchiRjPJew0Qhz1GD3yquNAViL2DRUC5NNdpVcDNXCgDK16ZJgV6 wkksagmgHVFJTXhB4Nf0nOsED1tJA7gVGL987fB1yCEf3pInxyqhwk17oPf9lIkeIJo+ gtzaYc5eWACxSfFZLJiqpaTXHdVy8i8LTgAVvrzdMnkRknLI2PWI+AwtafCSWXgU9pYn 2tZTQEy0bAxzEFxzZkfH6EEx0Hz8zMnLEJPHZZ3G1l9X435knPNudRYxqriOvsIgpAFY dffw== X-Gm-Message-State: ABuFfoh0oO7DXnl3Frt3BCzbPpy1isMDaWy21JfzDGtLMHLVBsupNDJx PY9J4ka7/jmcYUAy7lbm35A= X-Google-Smtp-Source: ACcGV61JLya3kg5onFccBcuf1giFgkulH8WKy4ilfsm7CfMHgzQrVwSHsa4wy6bQmwLXhhZynhshkg== X-Received: by 2002:a50:b266:: with SMTP id o93-v6mr13885259edd.173.1538332656905; Sun, 30 Sep 2018 11:37:36 -0700 (PDT) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id fx18-v6sm290605ejb.43.2018.09.30.11.37.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Sep 2018 11:37:35 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Sun, 30 Sep 2018 21:37:34 +0300 To: Johannes Dieterich Cc: freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: APU Bristol Ridge graphics support Message-ID: <20180930213734.74d68ddc@gmail.com> In-Reply-To: References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 18:37:39 -0000 On Sun, 30 Sep 2018 18:12:01 +0000 Johannes Dieterich wrote: > > I try drm-stable-kmod-g20180822 but it fail to load, as I > > understand. > That should work, could you post the error messages? I assume you > followed the instructions in the port? # kldload /boot/modules/amdgpu.ko [drm] Initialized [drm] amdgpu kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] initializing kernel modesetting (CARRIZO 0x1002:0x9874 0x1002:0x1E20 0xE2). [drm] register mmio base: 0xFE900000 [drm] register mmio size: 262144 [drm] doorbell mmio base: 0xF0000000 [drm] doorbell mmio size: 8388608 [drm:amdgpu_device_init] Unable to find PCI I/O BAR [drm] probing mlw for device 1002:9874 = 0 [drm] UVD is enabled in physical mode [drm] VCE enabled in physical mode [drm:amdgpu_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATOM IIO ATOM BIOS: BRISTOL [drm] GPU post is not needed Zone kernel: Available graphics memory: 3104154 kiB Zone dma32: Available graphics memory: 2097152 kiB [TTM] Initializing pool allocator drmn0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used) drmn0: GTT: 3031M 0x0000000080000000 - 0x000000013D7667FF [drm] Detected VRAM RAM=2048M, BAR=256M [drm] RAM width 64bits UNKNOWN [drm] amdgpu: 2048M of VRAM memory ready [drm] amdgpu: 3031M of GTT memory ready. [drm] GART: num cpu pages 776038, num gpu pages 776038 [drm] PCIE GART of 3031M enabled (table at 0x0000000000040000). [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] amdgpu: irq initialized. amdgpu: powerplay initialized [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-2: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-2 [drm] - kern.vt.fb.default_mode [drm] AMDGPU Display Connectors [drm] Connector 0: [drm] DP-1 [drm] HPD1 [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b [drm] Encoders: [drm] DFP1: INTERNAL_UNIPHY [drm] Connector 1: [drm] HDMI-A-1 [drm] HPD2 [drm] DDC: 0x486c 0x486c 0x486d 0x486d 0x486e 0x486e 0x486f 0x486f [drm] Encoders: [drm] DFP2: INTERNAL_UNIPHY [drm] Connector 2: [drm] HDMI-A-2 [drm] HPD3 [drm] DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873 [drm] Encoders: [drm] DFP3: INTERNAL_UNIPHY1 amdgpu/carrizo_pfp.bin: could not load firmware image, error 2 amdgpu/carrizo_pfp.bin: could not load firmware image, error 2 amdgpu/carrizo_me.bin: could not load firmware image, error 2 amdgpu/carrizo_me.bin: could not load firmware image, error 2 amdgpu/carrizo_ce.bin: could not load firmware image, error 2 amdgpu/carrizo_ce.bin: could not load firmware image, error 2 amdgpu/carrizo_rlc.bin: could not load firmware image, error 2 amdgpu/carrizo_rlc.bin: could not load firmware image, error 2 amdgpu/carrizo_mec.bin: could not load firmware image, error 2 amdgpu/carrizo_mec.bin: could not load firmware image, error 2 amdgpu/carrizo_mec2.bin: could not load firmware image, error 2 amdgpu/carrizo_mec2.bin: could not load firmware image, error 2 drmn0: fence driver on ring 0 use gpu addr 0x0000000080000010, cpu addr 0x0xfffff800444aa010 drmn0: fence driver on ring 1 use gpu addr 0x0000000080000020, cpu addr 0x0xfffff800444aa020 drmn0: fence driver on ring 2 use gpu addr 0x0000000080000030, cpu addr 0x0xfffff800444aa030 drmn0: fence driver on ring 3 use gpu addr 0x0000000080000040, cpu addr 0x0xfffff800444aa040 drmn0: fence driver on ring 4 use gpu addr 0x0000000080000050, cpu addr 0x0xfffff800444aa050 drmn0: fence driver on ring 5 use gpu addr 0x0000000080000060, cpu addr 0x0xfffff800444aa060 drmn0: fence driver on ring 6 use gpu addr 0x0000000080000070, cpu addr 0x0xfffff800444aa070 drmn0: fence driver on ring 7 use gpu addr 0x0000000080000080, cpu addr 0x0xfffff800444aa080 drmn0: fence driver on ring 8 use gpu addr 0x0000000080000090, cpu addr 0x0xfffff800444aa090 amdgpu/carrizo_sdma.bin: could not load firmware image, error 2 amdgpu/carrizo_sdma.bin: could not load firmware image, error 2 amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2 amdgpu/carrizo_sdma1.bin: could not load firmware image, error 2 drmn0: fence driver on ring 9 use gpu addr 0x00000000800000a0, cpu addr 0x0xfffff800444aa0a0 drmn0: fence driver on ring 10 use gpu addr 0x00000000800000b0, cpu addr 0x0xfffff800444aa0b0 amdgpu/carrizo_uvd.bin: could not load firmware image, error 2 amdgpu/carrizo_uvd.bin: could not load firmware image, error 2 [drm] Found UVD firmware Version: 1.91 Family ID: 11 drmn0: fence driver on ring 11 use gpu addr 0x0000000000681560, cpu addr 0x0xfffff800e0681560 amdgpu/carrizo_vce.bin: could not load firmware image, error 2 amdgpu/carrizo_vce.bin: could not load firmware image, error 2 [drm] Found VCE firmware Version: 52.4 Binary ID: 3 drmn0: fence driver on ring 12 use gpu addr 0x00000000800000d0, cpu addr 0x0xfffff800444aa0d0 drmn0: fence driver on ring 13 use gpu addr 0x00000000800000e0, cpu addr 0x0xfffff800444aa0e0 [drm:gfx_v8_0_ring_test_ring] amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD) [drm:amdgpu_init] hw_init of IP block failed -22 drmn0: amdgpu_init failed [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 3 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 4 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [drm:dce_v11_0_set_pageflip_irq_state] invalid pageflip crtc 5 [drm:amdgpu_irq_disable_all] error disabling interrupt (-22) [TTM] Finalizing pool allocator Zone kernel: Used memory at exit: 0 kiB Zone dma32: Used memory at exit: 0 kiB [drm] amdgpu: ttm finalized drmn0: Fatal error during GPU init [drm] amdgpu: finishing device. [TTM] Memory type 2 has not been initialized device_attach: drmn0 attach returned 22 From owner-freebsd-hackers@freebsd.org Sun Sep 30 20:37:18 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 263BC10A664B; Sun, 30 Sep 2018 20:37:18 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9212B71622; Sun, 30 Sep 2018 20:37:17 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: by mail-ot1-x334.google.com with SMTP id u22so489104ota.12; Sun, 30 Sep 2018 13:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:in-reply-to:references:content-transfer-encoding :date:message-id:mime-version; bh=hOrYwak3S+MkGf04+cmG0VMhxo7Wp/RNsW8Li1XEMfo=; b=qM3J46NCHJw8/C5u26VlCbUi1HZbAURKUCtAoh/13nUbx0z4dP6scKpn4AmWt61H3t CfPv1oJsEJaWXMAj0wDcQcU0ZBeYQDhQyi8eWf7Izz0Wc1vOJ/NF4UHh5gyKSRs7Bpzt jhUEnfRylY0HA519n8hzL7xGE29E+aZ0miyF5M3U+0/RxmlX+ysohEfp2peNzwHPlFyn Aa1pxunKsREe6CE9RSGLcC9KpgeK4SZZ6expT2aG8DRzkKKo28NQK/rjhJJMv87cfzKU ekLpnza7lXlVGHjEYUs7Izgy8ZYnwB1nVJM6nCf+RPHP1aD9FhsXQO2RuYh/73joWR97 Z9Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:in-reply-to:references :content-transfer-encoding:date:message-id:mime-version; bh=hOrYwak3S+MkGf04+cmG0VMhxo7Wp/RNsW8Li1XEMfo=; b=f3YdZ/RqHsWN0278Aqlp7jhtoCqZReCwWCC3plnX+8VKdTR/RbwpUmHMSdVCk46lwp scg1/iS1zKsGlpwebHW6sgt6EQLyyc9WYjH99lNBLPInqz+LdpxTLO8FttX80Fmd08dY STn3nblAI1/YoJQ9n/vnUEzo2YiC1YxZkhaJB6YQvXR2avY09NIDyT3dTVnBC9axFsiF jxy1Hec0STVnec8GEfi2tXDDOdZlu3Chpr5NoC0xZMu4T2KjrI41wVrnelAh/T6HoNE4 PKE+SLodHIGoOK66DU7dvER7OMsArc2qIL/ne+Qwoh6JqF9SO4VE3Ot7Qpql7/tbZJk1 5CVA== X-Gm-Message-State: ABuFfoiSTZHd1FI1LsWAbbMUbCt58V1TaiSV4bKQLE0Bu9vf2X5Y3otC JQfUKQgPZg+iFIPqUcBF/0E= X-Google-Smtp-Source: ACcGV62cSijVQdHNjko8SG3UePQy3UiAbkP8/o2uHToAPE8LcmQzLeTLJVmLKJZkPRxXGf8lZ+0oTA== X-Received: by 2002:a9d:41fc:: with SMTP id v57-v6mr4462220oti.241.1538339836597; Sun, 30 Sep 2018 13:37:16 -0700 (PDT) Received: from [127.0.0.1] (072-179-013-114.res.spectrum.com. [72.179.13.114]) by smtp.gmail.com with ESMTPSA id 33-v6sm4146634otw.29.2018.09.30.13.37.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 13:37:15 -0700 (PDT) X-Priority: 3 To: rozhuk.im@gmail.com Cc: freebsd-hackers@freebsd.org,freebsd-current@freebsd.org, freebsd-stable@freebsd.org From: Johannes Dieterich Subject: Re: APU Bristol Ridge graphics support In-Reply-To: <20180930213734.74d68ddc@gmail.com> References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Date: Sun, 30 Sep 2018 20:37:07 +0000 Message-ID: MIME-Version: 1.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 20:37:18 -0000 DQoNCk9uIFN1bmRheSwgU2VwdGVtYmVyIDMwLCAyMDE4LCBSb3podWsgSXZhbiB3cm90ZToNCj4g T24gU3VuLCAzMCBTZXAgMjAxOCAxODoxMjowMSArMDAwMA0KPiBKb2hhbm5lcyBEaWV0ZXJpY2gg PGRpZXRlcmljaC5qb2hAZ21haWwuY29tPiB3cm90ZToNCj4gDQo+ID4gPiBJIHRyeSBkcm0tc3Rh YmxlLWttb2QtZzIwMTgwODIyIGJ1dCBpdCBmYWlsIHRvIGxvYWQsIGFzIEkNCj4gPiA+IHVuZGVy c3RhbmQuICANCj4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KC0yMikNCj4gW1RUTV0gRmluYWxpemluZyBwb29s IGFsbG9jYXRvcg0KPiBab25lICBrZXJuZWw6IFVzZWQgbWVtb3J5IGF0IGV4aXQ6IDAga2lCDQo+ IFpvbmUgICBkbWEzMjogVXNlZCBtZW1vcnkgYXQgZXhpdDogMCBraUINCj4gW2RybV0gYW1kZ3B1 OiB0dG0gZmluYWxpemVkDQo+IGRybW4wOiBGYXRhbCBlcnJvciBkdXJpbmcgR1BVIGluaXQNCj4g W2RybV0gYW1kZ3B1OiBmaW5pc2hpbmcgZGV2aWNlLg0KPiBbVFRNXSBNZW1vcnkgdHlwZSAyIGhh cyBub3QgYmVlbiBpbml0aWFsaXplZA0KPiBkZXZpY2VfYXR0YWNoOiBkcm1uMCBhdHRhY2ggcmV0 dXJuZWQgMjINCkp1c3QgdG8gbWFrZSBzdXJlLCB0aGUgZ3B1LWZpcm13YXJlIHBvcnQgaXMgaW5z dGFsbGVkIGFuZCAvYm9vdC9tb2R1bGVzIGNvbnRhaW5zIHRoZXNlIGZpbGVzIHRoZSBsb2FkIGlz IGxvb2tpbmcgZm9yPyBXaGljaCBkcm0gcG9ydCBnZXRzIGluc3RhbGxlZCBpZiB5b3UgdXNlIHRo ZSBuZXcgZ3JhcGhpY3MvZHJtLWttb2QgbWV0YXBvcnQ/IElmIGl0IGlzIG5leHQsIGNvdWxkIHlv dSB0cnkgd2l0aCB0aGF0Pw0KDQpUaGFua3Mh From owner-freebsd-hackers@freebsd.org Sun Sep 30 21:15:56 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A686B10A8458; Sun, 30 Sep 2018 21:15:56 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0723473313; Sun, 30 Sep 2018 21:15:55 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lj1-x22d.google.com with SMTP id p89-v6so10293645ljb.3; Sun, 30 Sep 2018 14:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tjwYaFkKzw7nzMtds4/2xeysy8imBkzbRdDIMBW+Jeg=; b=a40fLyywUVOJRqLeqpLWnhH3UyKlphSjDoIpwWB433+lzslMKnnMAjf94zizurrXtt lNch90XgQzhc2Az0rCKSwni5OPWJXaAm/sj6KVzWkbVMZ2rkHDxh/KVlfZBH1BoS/LwC 02U3QqhAYc9VHdy/WTWng8voS6u4XnSHCUPKs/OdLuIKXm93bJwiREVmcgG1KRRXhA6c Wf3HhpB24VYuwGTkAdO9BXH+dHxz4VMxLU5ReLaoFqNGfgntD/Z6osjnUSSm2NwpioqA RCiJZKFlJ+s5hjdIhRvlNNWjQszdvt9yMqyOmCRi0aBY6YxMs4jtiWaogaA0E2SJ8raf GzDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tjwYaFkKzw7nzMtds4/2xeysy8imBkzbRdDIMBW+Jeg=; b=dnRdXcMCpngaGnHsCRooz/IaTasYSWsSAzdfLFfxBtYjTTYMpGd+iKsaYA2uV8MlRG x7zXkYzrkesqomLAAg9IKGdw8Nk9m+6R4WHzJAbRd22eQe8+jpdxApQDUEskp8Xx3153 oKjFv+wlIWT9nkxgZt5x/ytE5FyUTvYVdjYHLag1vF3d6ujy8rhtnNz8EminoLPd4fOa bKYIwLe+CLqZ2+dDITMom4/NAyJhch0tcGW4eeOd0ke0K/FuZWAVH+kxahyzk4EAFaJm DjruzM86Na955Ws5FUdWk6TG9zNrQF6CpeYQDguVKQIHWEBzlz6GbOavJYllY9kvOrDY 2Gew== X-Gm-Message-State: ABuFfohT01tUYhizlrXq6wujkiTS9Suy9QOKagSKEjCwP0CgkDsRL3rj vR5fU8uGXPMH9ZXutGwspBw= X-Google-Smtp-Source: ACcGV60BrChcZRcZbUIGtWJyyXGEdEBElDShE8G9VyIlSRYENVgSuzqJF7E2/hRS7svbhbHuvaesIA== X-Received: by 2002:a2e:360c:: with SMTP id d12-v6mr4362318lja.92.1538342154505; Sun, 30 Sep 2018 14:15:54 -0700 (PDT) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id 24-v6sm2356110ljb.76.2018.09.30.14.15.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Sep 2018 14:15:53 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Mon, 1 Oct 2018 00:15:51 +0300 To: Johannes Dieterich Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: APU Bristol Ridge graphics support Message-ID: <20181001001551.103bfd4a@gmail.com> In-Reply-To: References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 21:15:56 -0000 On Sun, 30 Sep 2018 20:37:07 +0000 Johannes Dieterich wrote: > > finishing device. [TTM] Memory type 2 has not been initialized > > device_attach: drmn0 attach returned 22 > Just to make sure, the gpu-firmware port is installed > and /boot/modules contains these files the load is looking for? Which > drm port gets installed if you use the new graphics/drm-kmod > metaport? If it is next, could you try with that? # pkg version -v | grep gpu gpu-firmware-kmod-g20180825 = up-to-date with index xf86-video-amdgpu-1.3.0_3 = up-to-date with index # pkg version -v | grep kmod drm-stable-kmod-g20180822 = up-to-date with index gpu-firmware-kmod-g20180825 = up-to-date with index # ls /boot/modules/ | grep carrizo -r-xr-xr-x 1 root wheel 13K Aug 26 21:20:06 2018 amdgpu_carrizo_ce_bin.ko* -r-xr-xr-x 1 root wheel 21K Aug 26 21:20:06 2018 amdgpu_carrizo_me_bin.ko* -r-xr-xr-x 1 root wheel 261K Aug 26 21:20:06 2018 amdgpu_carrizo_mec_bin.ko* -r-xr-xr-x 1 root wheel 261K Aug 26 21:20:06 2018 amdgpu_carrizo_mec2_bin.ko* -r-xr-xr-x 1 root wheel 21K Aug 26 21:20:06 2018 amdgpu_carrizo_pfp_bin.ko* -r-xr-xr-x 1 root wheel 23K Aug 26 21:20:06 2018 amdgpu_carrizo_rlc_bin.ko* -r-xr-xr-x 1 root wheel 15K Aug 26 21:20:06 2018 amdgpu_carrizo_sdma_bin.ko* -r-xr-xr-x 1 root wheel 15K Aug 26 21:20:06 2018 amdgpu_carrizo_sdma1_bin.ko* -r-xr-xr-x 1 root wheel 270K Aug 26 21:20:06 2018 amdgpu_carrizo_uvd_bin.ko* -r-xr-xr-x 1 root wheel 176K Aug 26 21:20:06 2018 amdgpu_carrizo_vce_bin.ko* drm-next requires FreeBSD 12, I do not try it yet. From owner-freebsd-hackers@freebsd.org Sun Sep 30 23:21:40 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DBD710AB1A9; Sun, 30 Sep 2018 23:21:40 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0099076DA6; Sun, 30 Sep 2018 23:21:40 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: by mail-oi1-x22d.google.com with SMTP id e17-v6so8836298oib.4; Sun, 30 Sep 2018 16:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:in-reply-to:references:content-transfer-encoding :date:message-id:mime-version; bh=ws5s6XlpOH4QBWZEtvjId/3RvHyiHmkJNt++BnCNj4M=; b=i0AYtwSwT0zrFg2Jweq94nc/+LgocXBXlFX7kkU7Gc+EOmLBn3ZWGQpvNugLavFYuJ U9JxacVnb+GvzjddPBRqqeobM7XTsN/3oemo1e9fEfkakypP11wadHQDZQ3avNmPhf5O 91ia/DgYexZXEVdt+tuv7biSaWBBbk4x5Poft2fz5B/RBFhFw5hiGPYeBzJOpnaGis12 kqzuK+NYoEWV17YlbZDmMbduCZ8pZh161ZnjGgi25QgohDyHsgjDJt6Bjm+CC8i8zTpZ fJJLcx4pULWk1e9SV++ZiadFOcYkA0NauCBYC78udXl6gH+uQxSpVn7JvjlbcKsD/Ign y5Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:in-reply-to:references :content-transfer-encoding:date:message-id:mime-version; bh=ws5s6XlpOH4QBWZEtvjId/3RvHyiHmkJNt++BnCNj4M=; b=fbFtW7nYYo3+g3LRdBcW2tv+6HMGuJZt+A8Bw4uE34077QXniwMn/cL7nJkmtvpgY7 4wT2cPQ46O7J/VMM8WazV11Xe/PIGnFJzeaumrHnFsgUqm0bu9uVLp94sMqj6bwVraI6 Gih3xZb5Au3fg+tKEvj7AI2qHzhUu9S2Z43E+XFMuzgrnY+KEBPAuwwcIAsS2ihBpShP P0LIL77sG0z2l1rE3tR+NEqrDsTfWTbKOtNwuhs09CwP5phKuv+YNVbgGdkJStVI1bxJ wLUXSR3gixbcr1bfmFC9nqwrc9Y1wbGhDsWTdBr/TQ0hOqp1mnNyCGIcbdcHTQZT1WCA eunA== X-Gm-Message-State: ABuFfoicPrOHb3GDg3057afTc0DomGQQT09fG2I12ukcc2e/YmpumUkd Xy4BPuxaaEytr4eTqT+m/oY= X-Google-Smtp-Source: ACcGV61q2+u9wVFswmOilg6OiKgK7mZju1AiBAWNk3STWQiIqIbisBYYzT3WG29PIr3DpmmfIB/xdw== X-Received: by 2002:aca:69cf:: with SMTP id e198-v6mr3727228oic.78.1538349699298; Sun, 30 Sep 2018 16:21:39 -0700 (PDT) Received: from [127.0.0.1] ([2607:fb90:b0c:bc22:dff8:96ea:408f:e157]) by smtp.gmail.com with ESMTPSA id g36-v6sm2213998otb.66.2018.09.30.16.21.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 16:21:38 -0700 (PDT) X-Priority: 3 To: rozhuk.im@gmail.com Cc: freebsd-current@freebsd.org,freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org From: Johannes Dieterich Subject: Re: APU Bristol Ridge graphics support In-Reply-To: <20181001001551.103bfd4a@gmail.com> References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> <20181001001551.103bfd4a@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Date: Sun, 30 Sep 2018 23:21:36 +0000 Message-ID: MIME-Version: 1.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 23:21:40 -0000 DQoNCk9uIFN1bmRheSwgU2VwdGVtYmVyIDMwLCAyMDE4LCBSb3podWsgSXZhbiB3cm90ZToNCj4g T24gU3VuLCAzMCBTZXAgMjAxOCAyMDozNzowNyArMDAwMA0KPiBKb2hhbm5lcyBEaWV0ZXJpY2gg PGRpZXRlcmljaC5qb2hAZ21haWwuY29tPiB3cm90ZToNCj4gDQo+ID4gPiBmaW5pc2hpbmcgZGV2 aWNlLiBbVFRNXSBNZW1vcnkgdHlwZSAyIGhhcyBub3QgYmVlbiBpbml0aWFsaXplZA0KPiA+ID4g ZGV2aWNlX2F0dGFjaDogZHJtbjAgYXR0YWNoIHJldHVybmVkIDIyICANCj4gPiBKdXN0IHRvIG1h a2Ugc3VyZSwgdGhlIGdwdS1maXJtd2FyZSBwb3J0IGlzIGluc3RhbGxlZA0KPiA+IGFuZCAvYm9v dC9tb2R1bGVzIGNvbnRhaW5zIHRoZXNlIGZpbGVzIHRoZSBsb2FkIGlzIGxvb2tpbmcgZm9yPyBX aGljaA0KPiA+IGRybSBwb3J0IGdldHMgaW5zdGFsbGVkIGlmIHlvdSB1c2UgdGhlIG5ldyBncmFw aGljcy9kcm0ta21vZA0KPiA+IG1ldGFwb3J0PyBJZiBpdCBpcyBuZXh0LCBjb3VsZCB5b3UgdHJ5 IHdpdGggdGhhdD8NCj4gDQo+IA0KPiAjIHBrZyB2ZXJzaW9uIC12IHwgZ3JlcCBncHUNCj4gZ3B1 LWZpcm13YXJlLWttb2QtZzIwMTgwODI1ICAgICAgICA9ICAgdXAtdG8tZGF0ZSB3aXRoIGluZGV4 DQo+IHhmODYtdmlkZW8tYW1kZ3B1LTEuMy4wXzMgICAgICAgICAgPSAgIHVwLXRvLWRhdGUgd2l0 aCBpbmRleA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MSByb290ICB3aGVlbCAgICAxNUsgQXVnIDI2IDIx OjIwOjA2IDIwMTggYW1kZ3B1X2NhcnJpem9fc2RtYTFfYmluLmtvKg0KPiAtci14ci14ci14ICAg MSByb290ICB3aGVlbCAgIDI3MEsgQXVnIDI2IDIxOjIwOjA2IDIwMTggYW1kZ3B1X2NhcnJpem9f dXZkX2Jpbi5rbyoNCj4gLXIteHIteHIteCAgIDEgcm9vdCAgd2hlZWwgICAxNzZLIEF1ZyAyNiAy MToyMDowNiAyMDE4IGFtZGdwdV9jYXJyaXpvX3ZjZV9iaW4ua28qDQpPaywgdGhpcyBsb29rcyBn b29kLiBJdCBtYXkgYmUgdGhhdCBCcmlzdG9sIGlzIG5vdCB3ZWxsIHN1cHBvcnRlZCBvbiBEUk0g NC45IHlldCwgSSBuZWVkIHRvIGNoZWNrIHRoYXQuDQogDQo+IA0KPiBkcm0tbmV4dCByZXF1aXJl cyBGcmVlQlNEIDEyLCBJIGRvIG5vdCB0cnkgaXQgeWV0Lg0KSXQgcmVxdWlyZXMgYSBGcmVlQlNE IHZlcnNpb24gZXF1YWwgb3IgaGlnaGVyIHRoYW4gMTEwMTUxMSwgY291bGQgeW91IHByb3ZpZGUg c3lzY3RsIGtlcm4ub3NyZWxlYXNlPw0KDQpKb2hhbm5lcw== From owner-freebsd-hackers@freebsd.org Sun Sep 30 23:28:29 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AD6D10AB5DB; Sun, 30 Sep 2018 23:28:29 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B60E277312; Sun, 30 Sep 2018 23:28:28 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-ed1-x532.google.com with SMTP id h4-v6so12545693edi.6; Sun, 30 Sep 2018 16:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LRl+ACrFtLuz2zcKgNrYmFRCAQY+oPU4jN3GjL8KreQ=; b=cCgtI8zSk33Cpa0omkYHkzPuUSKoV64RMhKg3Hg6n90am4NpPn7BLZ2FsyUs1/lhCX 4+/SfOSmdRr79q4d3drb6KWvtrJfQoL5bS0aHAObNFc87c9q86FNO4gfgTpmS7gf8YxY LpIdaJjy3Qpx3pcjVwUAdMq0d819g9fwtuzs4MmsbyYxt+DtK4qngEdHneE1GteVFfW1 b1NiH/RAA3YNZeF80jKabgQdcD5gPCo9Mjehi+mfdFtvcVV1Y9iJik/7xY310S6UAbye FycW9uhCvF2pVYWGOnGARyfeg2yd3MdhAUZ3vfE/vzE3SH4KQuilUPJKR9HDNfm6iuwK W1Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LRl+ACrFtLuz2zcKgNrYmFRCAQY+oPU4jN3GjL8KreQ=; b=UYBLlnPubOz6hlJYvmQYHUaen5LInHRKDi7BtbEVqvQl+yDDpoKUPUJ3CCWQz+WaHI Tyw5yoMN8aqbAONGthqHOHXX0AUTNO1uaAf6+j5mot21mbnqJS8HmxyA13h4+n2rl266 kdH3o+1JSsTefeZg8sO1YQ7u0L2oV1dV45HCiN6Ure9y08lLkAAazT8ODAdrpZ9k0L1W y5IucjaPqtNczzkZyOn4hInivfus47Ff+HwZmwrlWdhYMwWCz+GGkZy5znwNZ2TwJIpa zHS+5bjYj4y2HV4f8sO/kMGkvdi5dK7HPxz9bGG2JknkmIxtguyfW8TLaHVcGaPYyglx h8JA== X-Gm-Message-State: ABuFfohkn9DpDXONT4awDdnOBsIIyvFVJ3lPo9zXAMpbQh20DwAsMMRE QWEgHRLfhPXra4iePuUPv3w= X-Google-Smtp-Source: ACcGV608bL23kctTx6ym1XKOq2fzdfTof3zk9KcmStbjWuqIr8+/UpZuOwhxh1jhirs5pCpQHyLkNQ== X-Received: by 2002:a17:906:560a:: with SMTP id f10-v6mr11975477ejq.107.1538350107606; Sun, 30 Sep 2018 16:28:27 -0700 (PDT) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id b36-v6sm298635ede.11.2018.09.30.16.28.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Sep 2018 16:28:27 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Mon, 1 Oct 2018 02:28:25 +0300 To: Johannes Dieterich Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: APU Bristol Ridge graphics support Message-ID: <20181001022825.03660c3c@gmail.com> In-Reply-To: References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> <20181001001551.103bfd4a@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 23:28:29 -0000 On Sun, 30 Sep 2018 23:21:36 +0000 Johannes Dieterich wrote: > > drm-next requires FreeBSD 12, I do not try it yet. > It requires a FreeBSD version equal or higher than 1101511, could you > provide sysctl kern.osrelease? kern.osrelease: 11.2-STABLE /usr/ports/graphics/drm-kmod /usr/ports/graphics/drm-stable-kmod /usr/ports/graphics/drm-legacy-kmod /usr/ports/graphics/drm-next-kmod /usr/ports/graphics/drm-devel-kmod Too many drm... From owner-freebsd-hackers@freebsd.org Sun Sep 30 23:38:05 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CA5410ABDB5; Sun, 30 Sep 2018 23:38:05 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A193677ABD; Sun, 30 Sep 2018 23:38:04 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: by mail-oi1-x230.google.com with SMTP id m11-v6so9744793oic.2; Sun, 30 Sep 2018 16:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:in-reply-to:references:content-transfer-encoding :date:message-id:mime-version; bh=SYgiesU6M4Cs7Ai+YYrJ1roS1tMSwBcwMvKcWQo47vc=; b=h49Q7dbBzn97LR2Au0j/5ksyhqMsWDhANqAEpfa5tv8gnH66abhTkD4HX7LuoyT2vf BFob6PEjQ8OPOwZRPe/Uxy374SquXohidzdLw3V9/AFFHve5CtsRPk4YHV0t4sR5e+a8 QfBzHKTZvGJqeyVOCRf+Sb97JAvTvhubJThzwhRkDkO1JslENUpwpnI3hXntDAz38iN6 iQgFR0WV7sfzA/1mKP4gZKl3gCrfbVYWtEJ9EJvcX2aM/eSGnupK0KBohGCbVFISOzzO sxHTdILGmOcmPaDk/F/hAN+Ls4XXqhiNQ8S/UisiLhSoOKScvcQz4bbZxHbR+R6g2a/p 1I5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:in-reply-to:references :content-transfer-encoding:date:message-id:mime-version; bh=SYgiesU6M4Cs7Ai+YYrJ1roS1tMSwBcwMvKcWQo47vc=; b=nnD4UlbMaq8WsllhxuIrIgwiPUhWnJji+QMjfkNY4Kf+YKbKLagwfsGLNWSuIwKVDn vVRTGAhxC9VYgMxA5aUAZmFPakDyUBAmTdSR/x8tRBoSeDzLEOVS1rhP/VLD4KZovwiL j+3LD1B1XAyqFQ8+xoZrniabH3blyanFEDXjgQUtXjBCXZ0Mm+5jYI/a6zccNH5Quem5 LQPSDaT0+GqTYTpJqt84kgRrnM2XFS66rAsqe1rTRfxuNU4+C+E4uq3/zI1gLmnRQG2t 0ruu0s+6S5H82uxBqxhqZe+R3Bguo5aPKOI/yJ7u6h1AN0iQ4EPTqBFzyLCt6iMSn+R0 6oKA== X-Gm-Message-State: ABuFfohHLOw/0TzhsGA5nlWC5LBaQsnN1aN3BzkkK7qHsKCht3zLHDOq 1Rdql9/1CSTQealpOM/TIY8= X-Google-Smtp-Source: ACcGV63e2KCjs/fEO4r5W4QhxEjQWm0eeKMZ8sHpzUfoWSk6NyjRS5HnUzh+8sTZjydSo3MZpkLyXw== X-Received: by 2002:aca:b945:: with SMTP id j66-v6mr4025282oif.89.1538350683861; Sun, 30 Sep 2018 16:38:03 -0700 (PDT) Received: from [127.0.0.1] ([2607:fb90:b0c:bc22:dff8:96ea:408f:e157]) by smtp.gmail.com with ESMTPSA id y15-v6sm2906306oty.41.2018.09.30.16.38.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 16:38:03 -0700 (PDT) X-Priority: 3 To: rozhuk.im@gmail.com Cc: freebsd-stable@freebsd.org,freebsd-hackers@freebsd.org, freebsd-current@freebsd.org From: Johannes Dieterich Subject: Re: APU Bristol Ridge graphics support In-Reply-To: <20181001022825.03660c3c@gmail.com> References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> <20181001001551.103bfd4a@gmail.com> <20181001022825.03660c3c@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Date: Sun, 30 Sep 2018 23:38:02 +0000 Message-ID: MIME-Version: 1.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 23:38:05 -0000 DQoNCk9uIFN1bmRheSwgU2VwdGVtYmVyIDMwLCAyMDE4LCBSb3podWsgSXZhbiB3cm90ZToNCj4g T24gU3VuLCAzMCBTZXAgMjAxOCAyMzoyMTozNiArMDAwMA0KPiBKb2hhbm5lcyBEaWV0ZXJpY2gg PGRpZXRlcmljaC5qb2hAZ21haWwuY29tPiB3cm90ZToNCj4gDQo+ICANCj4gPiA+IGRybS1uZXh0 IHJlcXVpcmVzIEZyZWVCU0QgMTIsIEkgZG8gbm90IHRyeSBpdCB5ZXQuICANCj4gPiBJdCByZXF1 aXJlcyBhIEZyZWVCU0QgdmVyc2lvbiBlcXVhbCBvciBoaWdoZXIgdGhhbiAxMTAxNTExLCBjb3Vs ZCB5b3UNCj4gPiBwcm92aWRlIHN5c2N0bCBrZXJuLm9zcmVsZWFzZT8NCj4gDQo+IGtlcm4ub3Ny ZWxlYXNlOiAxMS4yLVNUQUJMRQ0KPiANCj4gL3Vzci9wb3J0cy9ncmFwaGljcy9kcm0ta21vZA0K PiAvdXNyL3BvcnRzL2dyYXBoaWNzL2RybS1zdGFibGUta21vZA0KPiAvdXNyL3BvcnRzL2dyYXBo aWNzL2RybS1sZWdhY3kta21vZA0KPiAvdXNyL3BvcnRzL2dyYXBoaWNzL2RybS1uZXh0LWttb2QN Cj4gL3Vzci9wb3J0cy9ncmFwaGljcy9kcm0tZGV2ZWwta21vZA0KPiANCj4gVG9vIG1hbnkgZHJt Li4uDQpXaGljaCBpcyB3aHkgdGhlcmUgaXMgZ3JhcGhpY3MvZHJtLWttb2Qgd2hpY2ggd2lsbCBp bnN0YWxsIHRoZSBtb3N0IHJlY2VudCByZWNvbW1lbmRlZCBEUk0gZm9yIHlvdXIgT1MgdmVyc2lv bi4gQ291bGQgeW91IHRyeSB0aGF0Pw0KDQo= From owner-freebsd-hackers@freebsd.org Sun Sep 30 23:39:44 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FFD510ABF50; Sun, 30 Sep 2018 23:39:44 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EFC777D04; Sun, 30 Sep 2018 23:39:43 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id p34-v6so1177432lfg.10; Sun, 30 Sep 2018 16:39:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6IsaHZN9MY/sfHo1k8H6cClHrzsejjCH7wcoD6DMCxk=; b=mFOarlQ2ApZs96IAsnb1beX1WMYkFAVeFCcNGlRji8dTyi/KBqRyr30i9QnCH/h9V1 dteIlDJeXraqhVkbApGSy73iE7/d4hl+ZOkDJ8mY/MKhqKWtzzhJNydGIlkqz1NYvENO Wm/TQUyVlOo+IIp7zC27B49pI8GCEv23EgjFhUYCBXdPme+igD0SRFJIVJ9RpRzl75cn IZs2P+SFapel9WF7HHCxPqZcMiyPOrflgtxVtj+/7h+K9e8prngzScGIkK0lGiC8+Kmz Jp3wjGz5QiAXW2Zw+huSDfatPz0atx1Vtcr/7byKhIDD1fArVUL2hFF7SZk4r/uu/67T Jg4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6IsaHZN9MY/sfHo1k8H6cClHrzsejjCH7wcoD6DMCxk=; b=DtVeG0Dzjx9jMdgvBO8SBe8J+b51PLpeYaWIzv8mMnAtu7bpUv1OdK3EcDCBI5TczF prou7RE6kXdKEuB16tmB5QeBjOj0OTkX5MpDd0fB3zZVGUqvG/+SktkbN5PQO8mecisA nKyCBiUdAM6WNeBCLYsze2C+E9iQaXJaPdOGlRhkfFmqS7SV7PK4p9lyta5pk7oHlccq FPnvWn03JRxtlFK8dnYymiGNQ606nszy2CvG9Gr5vp4ktXS/peA1KyrXHZRZ4SnS6i5C kbqOv+Zo+2Kd2RkXDZHsycbSmO6RU0uHZF2Yf4JTKh3b2+QhIKK0zVS0QijpRrhOFlr3 V4nQ== X-Gm-Message-State: ABuFfogP2ICosQfJ4pR291fnL749J/arEJms8nJ7xg++ODXlyV6pPyRy jUyRga51apZOka+84zyro24= X-Google-Smtp-Source: ACcGV60mqvtI8uGaCYTQbw5wyoRAUScA1GWQVe7R+N4MvCVjTKNq82JYMb3ByCmxI1nxS364X4GSHg== X-Received: by 2002:a19:2a12:: with SMTP id f18-v6mr4160763lfl.28.1538350781950; Sun, 30 Sep 2018 16:39:41 -0700 (PDT) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id x64-v6sm878118lfa.34.2018.09.30.16.39.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Sep 2018 16:39:41 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Mon, 1 Oct 2018 02:39:39 +0300 To: Wolfgang Zenker Cc: Johannes Dieterich , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: APU Bristol Ridge graphics support Message-ID: <20181001023939.5d47c920@gmail.com> In-Reply-To: <20180930230420.GA24408@lyxys.ka.sub.org> References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> <20181001001551.103bfd4a@gmail.com> <20180930230420.GA24408@lyxys.ka.sub.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 23:39:44 -0000 On Mon, 1 Oct 2018 01:04:20 +0200 Wolfgang Zenker wrote: > > drm-next requires FreeBSD 12, I do not try it yet. > > that is no longer true; drm-next requires at least FreeBSD 11.2 now Got kernel panic on amdgpu load. From owner-freebsd-hackers@freebsd.org Sun Sep 30 23:43:36 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A357110AC4E9; Sun, 30 Sep 2018 23:43:36 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D20A78397; Sun, 30 Sep 2018 23:43:36 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lf1-x12c.google.com with SMTP id a82-v6so8526941lfa.4; Sun, 30 Sep 2018 16:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TTs7qXcKm9eC4cchrxv6UvXqclZw9OjfTEM9J8XLqMU=; b=CQ/Qe47X270iVls9Mv7JGMGaeRMwwTinmxXlI2Gpv0NB/MpAue+mErpkcHqjwVgoFx KJVPo2p3/BCNuk+PQrIJhXsrust/VUehB4g7oOULPiDGlx0GFrS42bahTw5bFm0ExjH4 FWP9Mddo4KH4NwRmmtwjrPCwOoWNk0ekrQBnCZ8GVqxVYGXcfFUtQq8SGIomjUeO1iZs GuKdisQdGferjRjjcZ4ALqxP3nWSjJ8ru6+GcjVthXUX3l2BwVlhiZVFNRalhqgmZ0H2 Yec+0Z9Sx8fv/m+lGFsukXViPkd9Y4QZkb/9thVnro3DpjDo/2OQKHCHvrndhcD84w2g mcbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TTs7qXcKm9eC4cchrxv6UvXqclZw9OjfTEM9J8XLqMU=; b=M6RiWz0jz4EGAEJOZzNHZJVb6KjRQM5tAo2Biwjh0LYgU9XnkXY2DrEVPBwReGDEMA kOscwygQyb0VP7fV3TzgHp9by8XyZaFZJZXM1WgyDadOBjS74E35y1lNiqVsCZhe3V1U +Zs5DGi2qiAv3saf6ReihcOSoLLZ4341abhwZDTaRX9DN+a6gPTG2kZUJVxVwwprD7ix wybWk03Kaj62KW0Ebp06V3AyYlnCTmUQRHx1edTI+0gaFy32ymbWCweBklW2WjLPFoiy sNgOVOJk0D5x6HMzz2CFdWdJhCCZlfwb8x9jF1CqFQXhNNE/rWOd8H8IbYR8rYhBPAKI u+cw== X-Gm-Message-State: ABuFfohMfqlSySe1cI67kGZ6wLJ+ys0J3ErO6SnWrDsBTEUkkzPLuc6J xIe+VPLZ/tiWrXZ5a9V/cic= X-Google-Smtp-Source: ACcGV63+PQevjDOeS2sLkehlBcizvNua2lNoAsoLbstkJhFH9qjQDO/YFlVinoH5aw5P+LktWFVKHA== X-Received: by 2002:a19:6381:: with SMTP id v1-v6mr3901152lfi.136.1538351014587; Sun, 30 Sep 2018 16:43:34 -0700 (PDT) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id x6-v6sm2416101lji.36.2018.09.30.16.43.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Sep 2018 16:43:34 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Mon, 1 Oct 2018 02:43:32 +0300 To: Johannes Dieterich Cc: freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: APU Bristol Ridge graphics support Message-ID: <20181001024332.5200ea2c@gmail.com> In-Reply-To: References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> <20181001001551.103bfd4a@gmail.com> <20181001022825.03660c3c@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 23:43:36 -0000 On Sun, 30 Sep 2018 23:38:02 +0000 Johannes Dieterich wrote: > > /usr/ports/graphics/drm-kmod > > /usr/ports/graphics/drm-stable-kmod > > /usr/ports/graphics/drm-legacy-kmod > > /usr/ports/graphics/drm-next-kmod > > /usr/ports/graphics/drm-devel-kmod > > > > Too many drm... > Which is why there is graphics/drm-kmod which will install the most > recent recommended DRM for your OS version. Could you try that? It install graphics/drm-stable-kmod. From owner-freebsd-hackers@freebsd.org Sun Sep 30 23:38:04 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94BA310ABDAD; Sun, 30 Sep 2018 23:38:04 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from saturn.lyxys.ka.sub.org (saturn.lyxys.ka.sub.org [217.29.35.151]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D209077ABC; Sun, 30 Sep 2018 23:38:03 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (juno.lyx [IPv6:fd2a:89ca:7d54:0:240:caff:fe92:4f47]) by saturn.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id w8UN4K55018747 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Mon, 1 Oct 2018 01:04:22 +0200 (CEST) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (localhost [127.0.0.1]) by juno.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id w8UN4KlG024469 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 1 Oct 2018 01:04:20 +0200 (CEST) (envelope-from wolfgang@lyxys.ka.sub.org) Received: (from wolfgang@localhost) by juno.lyxys.ka.sub.org (8.15.2/8.15.2/Submit) id w8UN4K5W024468; Mon, 1 Oct 2018 01:04:20 +0200 (CEST) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Mon, 1 Oct 2018 01:04:20 +0200 From: Wolfgang Zenker To: Rozhuk Ivan Cc: Johannes Dieterich , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: APU Bristol Ridge graphics support Message-ID: <20180930230420.GA24408@lyxys.ka.sub.org> References: <20180930130149.1adddede@gmail.com> <3cmm8o.pfvorh.0-qmf@smtp.gmail.com> <20180930204606.51500919@gmail.com> <20180930213734.74d68ddc@gmail.com> <20181001001551.103bfd4a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181001001551.103bfd4a@gmail.com> Organization: private site User-Agent: Mutt/1.10.1 (2018-07-13) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (saturn.lyxys.ka.sub.org [IPv6:fd2a:89ca:7d54:1:200:24ff:feca:b4cc]); Mon, 01 Oct 2018 01:04:22 +0200 (CEST) X-Mailman-Approved-At: Mon, 01 Oct 2018 02:33:18 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 23:38:04 -0000 * Rozhuk Ivan [180930 23:15]: > On Sun, 30 Sep 2018 20:37:07 +0000 > Johannes Dieterich wrote: > [..] >> Just to make sure, the gpu-firmware port is installed >> and /boot/modules contains these files the load is looking for? Which >> drm port gets installed if you use the new graphics/drm-kmod >> metaport? If it is next, could you try with that? > [..] > drm-next requires FreeBSD 12, I do not try it yet. that is no longer true; drm-next requires at least FreeBSD 11.2 now Wolfgang From owner-freebsd-hackers@freebsd.org Mon Oct 1 08:25:31 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A919410A3E60 for ; Mon, 1 Oct 2018 08:25:31 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AD7E945DF for ; Mon, 1 Oct 2018 08:25:30 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-ed1-x52c.google.com with SMTP id f38-v6so13349426edd.8 for ; Mon, 01 Oct 2018 01:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ydb91vgq7iKhWLTpCiZfIpgKP4Bns1thdXlsz5er2p0=; b=AXBTxpW3wlBHDQ+L1RzUKNMMMRZ8/tnd/B5z5C8cqWrxvkJokVOHF7jDsjXEqXqHbn 3u3u5y7yiumWH6AxH30okmDmT866eEkUorSlirW23IJNyPZNDMkYukoM4oiXoJFlf5Fh Z1zLqwvxiUaMW2HDXtjr/54xVyqlo+/z4NyJaojx1p0sy1I0Kz9kbGaj3vMgCqTtEzMm wub8MDT4/Bzet3z3CN3rfwlzFlZDGUhNAAVzHVc3zISDjZJFbCajDuZVsybYHTe2jZmt LH5KgNN3rN2Bq2BMT3Ush+9RXLDN6Ds9SfO3FfpEa1RxEB0BXJONd6DfbVFWCYgyirFd 44Ow== 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=ydb91vgq7iKhWLTpCiZfIpgKP4Bns1thdXlsz5er2p0=; b=SiFJpUXNxK+Rw55Z0vn2NckqPFjw/wfPAapc4pUHHnScMN/wNXCK7cVQLD20D8+n9s jP++qoDm8y42cXoTi0t2dr2LJxhskgQ7Jg8qo88baM9fhpKhecIrugst3CJjwquxBzLG IgE0ogmy05rBrf/7u/KsYDLwG+jVc0MQyeaQ+dGexwUV2AUUYRLal5gjFMxAXpTG96XB sVkZ/wpoJtdrTNsJEdPR/bETcBc8FZr+NrdG0kEkreE9vWQsz+uzQoVhzT1TKpO7qyAi PSdSgqW6gbauRoq/7mgRE/3uoeHMluXFNK/p2q/MsehyEf9Jq+03ml34pEH+IJwTX1oi TJ4g== X-Gm-Message-State: ABuFfogkwTiQCP1UMN59Ufe7RKQ86B+7Ttt7bt88/jUWJkpfXpR8qH7d QUmWtJFqzpAYXBltA2O8JFngRuGsjPdmrW4uUYmS3Los X-Google-Smtp-Source: ACcGV618gEqw/sY+QcWuJqc5KR+QuE8AH618EmO54NSTdsuVvHxo1j+6+YIXz3wBLc/mbMLNTecnYEiPC8keTK6xgHw= X-Received: by 2002:a50:a825:: with SMTP id j34-v6mr14239740edc.258.1538382329205; Mon, 01 Oct 2018 01:25:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Schouten Date: Mon, 1 Oct 2018 10:25:03 +0200 Message-ID: Subject: Re: Syslogd less verbose logging with rfc5424 To: timp87@gmail.com Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 08:25:32 -0000 Hi Pavel, Op zo 30 sep. 2018 om 12:13 schreef Pavel Timofeev : > There was a great work to bring rfc5424 date format to syslogd(8). See > https://svnweb.freebsd.org/base?view=revision&revision=332510 > > I've been using it on CURRENT since it was imported. > I'm happy I can finally get syslog messages with high time precision > w/o installing rsyslog or another syslog implementation. Great to hear you like it! > The thing I really don't like is that syslogd puts severity and > priority to log files next to timestamp. > In my opinion severity and priority is not needed in 99% of cases, > only in debugging corner cases. While high precision timestamp is the > main thing what people like rfc 5424 for. This is just my opinion. > So for "-O rfc5424" I'd like to have the same behavior as for rfc > 3164, i. e. do not log severity and priority by default and if needed > use '-v' option to enable those. But it was decided and documented > that '-v' won't have any effect for rfc 5425 > https://svnweb.freebsd.org/base?view=revision&revision=335862 > > The first thing I'd like to suggest is to make rfc 5424 logging the > same way as for rfc 3164, i. e. make '-v' option work the same. > If community is not agree with me, I'd like to suggest another thing: > have another option/flag for syslogd(8) to disable severity and > priority logging if one use rfc 5424. I'm on the fence what the right approach is here. The problem is that newsyslog's RFC5424 support also writes the priority/facility number and has no way to suppress it. This means that if we were to remove it from syslogd, we should also add a corresponding switch to syslogd. That said, my biggest annoyance with the priority/facility number at the start is not that it takes up space. It's that it's not always the same width (1-3 columns for the number). This causes log entries to be aligned inconsistently. This could easily be solved by adding some leading zeroes, if it weren't for the fact that RFC 5424 explicitly disallows it. That said, I'd be amazed if that would cause problems in practice. A middle ground would be to add leading zeroes when we don't write messages across the network. That way we improve readability, while still allowing log entries to be ingested by other systems that use RFC 5424. -- Ed Schouten From owner-freebsd-hackers@freebsd.org Mon Oct 1 15:22:39 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06FE810C15C6; Mon, 1 Oct 2018 15:22:39 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AD8C7BA9B; Mon, 1 Oct 2018 15:22:38 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-lj1-x234.google.com with SMTP id y71-v6so12521444lje.9; Mon, 01 Oct 2018 08:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yjm44pn4tIhQuWlnTEQ4en7s9eFddYY2TdMn2VoVC3g=; b=TmBcZEREVPax8RVrhymQQ5M7BwagSnZHRr1einR5D0PTgLw+KTsjBxsZDCklO+KHO2 nHEsPXG9IHzVTxWszT24/UiVcXM5o8AyBuw6uc2QbS8TEVSMB61Rwx5e4RhNDMHRoLum vx94thfIOP5VIjPR1rGmcel4M3LRDimBLYqvoApbz1MZWKNufw0kJ3Ix4N97gyXWkmEp OeueYROYmT0t+fY7uSwzFPhEdCB46ZIXdPSKUiw2f0w4el/ntaZ81miAbiVZIrlnlkWT vw4Hy2NMLwAHLM3Ci4DZMPO9b6VlrZ0aRUFgKDWdQpynNFY8aO9IXxc1umQWVUqfZJkT np1Q== 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=yjm44pn4tIhQuWlnTEQ4en7s9eFddYY2TdMn2VoVC3g=; b=txYBNWoBVqDO4ahB4sCxXuQpIRYsmmtEgLTgHV2NnTCFs8GZIWr2Bi89j/5aJAm+Gv /dXSbYp7xfHcvM8D0YPGMEZGupZNKSpueR1gb11lShv/RmghruoOvegS8mEOrfAhIgwb xo3OGyZT+W/0gOKRkQZpLDiZEFcaCAf0HviIyyTjGkNJOr8DKCt7nsOXNpE31e6jfGBi EvhJksflIEXAgaMgjSnvuPH0GO2LYnnT+6ARsOyxX6V7sOzjqedQtIMCIq4HkA6kSIXs yQvf2zgh8Quua43eO61AQmupAGK4BhsAk4sc3BcqLfJDDDfdOzSwhdNWqbJ4yaHtqREE 28Qw== X-Gm-Message-State: ABuFfoju8RwrjihiSI/GOo78aLpql8ffHs6ftlW4KJwU5QZgzwhMTSFw 5La61yQsoUf8BPXDaA1udGJ3Q7OaUGNuVU6Xd4xWSGAs X-Google-Smtp-Source: ACcGV62hPDSDBNTTy9G/gPn9Q4db9pIgLAwLjNXrKBE9h4t3xiLLdcII3nK0JnP0MVYwE4Y3ZdqFbfX/+Gh19mH6ZuE= X-Received: by 2002:a2e:501c:: with SMTP id e28-v6mr6072544ljb.45.1538407356394; Mon, 01 Oct 2018 08:22:36 -0700 (PDT) MIME-Version: 1.0 From: Aryeh Friedman Date: Mon, 1 Oct 2018 11:22:24 -0400 Message-ID: Subject: Port collection (incorrectly) marked as not supporting 11.1 To: FreeBSD Ports ML , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 15:22:39 -0000 On: FreeBSD lilith 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321664: Fri Jul 28 23:35:18 EDT 2017 root@lilith:/usr/obj/usr/src/sys/GENERIC amd64 Attempting to run make on any port produces: /!\ ERROR: /!\ Ports Collection support for your FreeBSD version has ended, and no ports are guaranteed to build on this system. Please upgrade to a supported release. No support will be provided if you silence this message by defining How is this possibly correct when 11.1 is still listed as a production release!?!?!?!? -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-hackers@freebsd.org Mon Oct 1 16:03:18 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A7F610C2552; Mon, 1 Oct 2018 16:03:18 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAF9B7D80F; Mon, 1 Oct 2018 16:03:17 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 38FB921FE1; Mon, 1 Oct 2018 12:03:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 01 Oct 2018 12:03:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=7W3HOn6I9KGJ5SytgdibW3ZHxrNNu ZkMeT6Chf0WgQ0=; b=C0BRCpvQN3rngkmJqkGCswYy0pXs7ASuXVG4bR3bjpgRO 5pIBSgiEr+ttWYUDqFkyGshnpTSqxy5GvctBGinK7a8NsKPy9IpBx/xDCoHQScJs ATf0L7hp9bmbtLXA5/lwC1cYnksMsFt+lMGKjU1+2K+jZCssindydUmcshm/AzvD w9aFPZQLEgQmTj7TOzSYC+pZaltjdoeIg3n8rV8qU3OfEJz9jGx5fto1R3bRVVLK 3RFBcbdsCYADZvXJNBoZGF7HWA6KvATstUcUmGf9PEPETynY9wMBzvKuW32XqnVA c9kUTdTyv1JcSbFpiZb33nYbw6vQ6CpwdkQ8x6ZAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=7W3HOn 6I9KGJ5SytgdibW3ZHxrNNuZkMeT6Chf0WgQ0=; b=jVqugVS7oRP56CH5o4kU3+ Ah/oy21IS7TvpSK0Wlm/xxb/aE/Ci8LKDGpfl1PKV5F4wSB3PDdrJwVCN6KLzEp1 0QX7Ikn2S3IqpdOExYaJ+5cgBc4gsUaDyFdEkw0alH4FoOYeNmfI7/L6L5yndXio exyzP+/vmYx6t3RtXvGmLfRSSyCGiIimrThiMPXqxpdQOHanHdMa7h5NSqaL+9Fg xcd+k69QwyZRqXUg4vyVs+YA2DepwgBD9GynKo50E/ssPAfJ9cF2vsWb51vz9eVf dtdCkdhri93F6m9idd19LVScqGUM43DEwnjBETZAxj5tnniKhQqx9gOVQ+lCWA5w == X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.2] (unknown [85.175.16.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 6DC05E49DE; Mon, 1 Oct 2018 12:03:15 -0400 (EDT) Subject: Re: Port collection (incorrectly) marked as not supporting 11.1 To: Aryeh Friedman , FreeBSD Ports ML , FreeBSD Mailing List References: From: Yuri Pankov Message-ID: Date: Mon, 1 Oct 2018 19:03:14 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 16:03:18 -0000 Aryeh Friedman wrote: > On: > > FreeBSD lilith 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321664: Fri Jul 28 > 23:35:18 EDT 2017 root@lilith:/usr/obj/usr/src/sys/GENERIC amd64 > > Attempting to run make on any port produces: > > /!\ ERROR: /!\ > > Ports Collection support for your FreeBSD version has ended, and no ports > are > guaranteed to build on this system. Please upgrade to a supported release. > > No support will be provided if you silence this message by defining > > How is this possibly correct when 11.1 is still listed as a production > release!?!?!?!? https://lists.freebsd.org/pipermail/freebsd-announce/2018-September/001842.html From owner-freebsd-hackers@freebsd.org Mon Oct 1 16:06:43 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0245E10C272A; Mon, 1 Oct 2018 16:06:43 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63D7B7DA70; Mon, 1 Oct 2018 16:06:42 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-lj1-x22a.google.com with SMTP id f8-v6so12731716ljk.1; Mon, 01 Oct 2018 09:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6xRu4DimrzPROae6+LyQOg/XqvdK33lhy89wsND6wfw=; b=BJB34ziylXvo5tG7ZCFN6nLJzbzB39i180RCJPC8JKDv8uFC4iphL2mJ5E73qcoon8 UkDPfzRCHTZkVkV/7xFoQU2hcbqLWpJqhOGS1+bRknGCtOQNzrnoqbMVkzqiaw//EzHG onIYl7NInkH9aLt6LbiPeRM9vVe6AbBbP3rMgI3j+UjUFoPE5HNx5//OA1IIRlKgbJM4 spQzUaFEtl7Eq/+BbYyZ6NYdhGo7Ku6Pf1W1fajX37XwTdDmLLkl1q43GFnzHtegrNKA BI9SLHniEQ17WciGEDK7xNIXBFmW/kvXcBh4x4P1gvLqsdsevq2rOC4VfuiM4GWUypUu fRIQ== 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=6xRu4DimrzPROae6+LyQOg/XqvdK33lhy89wsND6wfw=; b=fUKsjgO+tNZvjhyaQFK8hNjhuD585KinITJValwAjP61zNu/daP6tHr9iIYkN42NEL SWyGMOtnE2XxzuIEYLr+OYXVxjAk+Wts3HX3OnuBk3sl4pTlICF94KdlPGdZ28tOftQk /XIH+Lyxn+Ni5xZJfcGZO7wr/Amp40w+12xfjF9lJJTBSHtuR3DI0wwLmCIv98iLDvAj rgD1+MJ9u9kyz47zcwIPSYbSVjQppeV6A/nvqmcviE+9vXS/YM6wsAAP7rdrfvScGbH3 IXDXoF92E04LqXcChdcWx7j49SoDMaMF14MfSBWmK/7n13MC/CLzWr7AWwDsH6Z/7PtE 7R0g== X-Gm-Message-State: ABuFfoiqIRpBBfDsOsCoRWmcS2mBCOm5LtFIWvwVOx/pOy/hq8eNGeST YdIyf+8DOFhhBHhjmBNVwD6Yx2CAWgWuv8Tm7ikRog== X-Google-Smtp-Source: ACcGV60A8lPQZPFmS7IjRujte6BHXfrruiUP7G2oWYRGTqAYy0n6ghr4yKxrUydPfmASmv3sPBS3phN2jEVjMHuNilM= X-Received: by 2002:a2e:8981:: with SMTP id c1-v6mr1521957lji.124.1538410000814; Mon, 01 Oct 2018 09:06:40 -0700 (PDT) MIME-Version: 1.0 References: <20181001155553.aj5gdkxnofzrc4ba@ivaldir.net> In-Reply-To: <20181001155553.aj5gdkxnofzrc4ba@ivaldir.net> From: Aryeh Friedman Date: Mon, 1 Oct 2018 12:06:24 -0400 Message-ID: Subject: Re: Port collection (incorrectly) marked as not supporting 11.1 To: Baptiste Daroussin Cc: FreeBSD Ports ML , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 16:06:43 -0000 On Mon, Oct 1, 2018 at 11:55 AM Baptiste Daroussin wrote: > > > How is this possibly correct when 11.1 is still listed as a production > > release!?!?!?!? > > https://www.freebsd.org/security/ the EOL date is set to September 30, > 2018. > > As of 30 seconds ago the web site's front page lists 11.1 as being "production" which is clearly not correct given the EOL status -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-hackers@freebsd.org Mon Oct 1 16:09:45 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2E6A10C2A34 for ; Mon, 1 Oct 2018 16:09:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-3.consmr.mail.bf2.yahoo.com (sonic305-3.consmr.mail.bf2.yahoo.com [74.6.133.42]) (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 6A07E7DFDB for ; Mon, 1 Oct 2018 16:09:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: csKUvM0VM1mBd_D9GoieCP6Iu4UeQClcMfK4Kc2np5rHgAuTgr6rU.bKAw8WHM. dm6tdPaGnGzdJAx091ogstgehMJemiUOeBqd.axSbhC6PVnTmObqsGBxAYXpfM_AItGNkwjjAjy. YjbbBW0hJMO6LRQIrzi_aeemhmSw7YD4iBNVKAZFGdH1MpIGYPatae_41ez7k3rfEjiyisaXE5jt S2u1vMsbmrqA_hfK9PizAM6lCXA2mWxah8Q7dVrwo3KSTw9S_dH.b.mtvfTSFrgUSqUmiMy8bWmb uWXYqJqOA6GnjTrbuGovRK30Xat38GNENAftRNGGqSXgcixBFiunDMl7ZkKmaUky1iwFS4ks4zT0 62dGKHwGUA7Ej6VJDzF7e7Pi15byjnlYKG6cvqLJOf1Tg4aT4il7TDq3QO99wdEThICtPCwaIqBO FcYIMRu8_3rlaGvMKmWEwkG1a9k2Mh_YDzWOZC3Xi7NZH.i0hYQHUwG89a3Ii50RPe_lfWL3M6dc dPNUhqZf2vQxh9kKL4c6o0hg.1.M6DQ62zPbj8FFFyOWmC7KhfsoYlp.NvtQEJ0uNmSAMpCQhhcs t1TDg_UAdRr8FqfbR8oeD5NRevge61iCMdXkVcaluFYpiAW8rZ9mXSlUK3KE1gXXh_V8z3a5UR0F ObgYyAnWIuqznwUM38GcF2EdzgpbrPF4Cq49.iRlys6b5gbUBcDURPNQeieven1Wa.22vLmRmd1z L_uqIBlwrV8bvX44cPFbUAnCyenC4pPdJ585ikwJ3Dn2Q3wLnY8SStWpWzO73.unYrA_d4FrVmoI ThicaVjOiirCWUeVoGixV_NFzuB36.fc6j5YWf.a2.8RQuWNGVpCN6HhaJ.p_m7zqOebiQ07sOwC aI5xSxWBaB3urIYgFHgqzWfZWAeei.eQU1jCEr6nNMW1gi8y60PDj4GuuDCg8SWMulXOXW1CMTgQ ON4ERBEGR35Y2sgRemmOTHZKfZQaZ5SF.1eHM6CB8FPj_9rYvQecG3fqn6qTr7ktUVkweyC.5nLU 5POnc7r7ddxsScgUNLQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Mon, 1 Oct 2018 16:09:37 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.101]) ([76.115.7.162]) by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ffb7641950c1f305aa9269a4919a45ed; Mon, 01 Oct 2018 16:09:35 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Port collection (incorrectly) marked as not supporting 11.1 From: Mark Millard In-Reply-To: Date: Mon, 1 Oct 2018 09:09:32 -0700 Cc: FreeBSD Ports ML , FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Aryeh Friedman X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 16:09:45 -0000 On 2018-Oct-1, at 8:22 AM, Aryeh Friedman = wrote: > On: >=20 > FreeBSD lilith 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321664: Fri Jul = 28 > 23:35:18 EDT 2017 root@lilith:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > Attempting to run make on any port produces: >=20 > /!\ ERROR: /!\ >=20 > Ports Collection support for your FreeBSD version has ended, and no = ports > are > guaranteed to build on this system. Please upgrade to a supported = release. >=20 > No support will be provided if you silence this message by defining >=20 > How is this possibly correct when 11.1 is still listed as a production > release!?!?!?!? https://www.freebsd.org/security/index.html#sup says otherwise. Note the "September 30, 2018" below for 11.1 (copied from that page's content). (I'm unsure if alignment will be preserved.) Branch Release Type Release Date Expected EoL stable/10 n/a n/a n/a October 31, 2018 releng/10.4 10.4-RELEASE Normal October 3, 2017 October 31, 2018 stable/11 n/a n/a n/a September 30, 2021 releng/11.1 11.1-RELEASE n/a July 26, 2017 September 30, 2018 releng/11.2 11.2-RELEASE n/a June 28, 2018 11.3-RELEASE + 3 = months Near the time of such transitions, some references may not have been updated yet. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-hackers@freebsd.org Mon Oct 1 15:55:55 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 119CC10C213F; Mon, 1 Oct 2018 15:55:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC8EF7CEFC; Mon, 1 Oct 2018 15:55:54 +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 9ED2F1A692; Mon, 1 Oct 2018 15:55:54 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 962FF86F43; Mon, 1 Oct 2018 17:55:53 +0200 (CEST) Date: Mon, 1 Oct 2018 17:55:53 +0200 From: Baptiste Daroussin To: Aryeh Friedman Cc: FreeBSD Ports ML , FreeBSD Mailing List Subject: Re: Port collection (incorrectly) marked as not supporting 11.1 Message-ID: <20181001155553.aj5gdkxnofzrc4ba@ivaldir.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l4mlmwxtui5e2pju" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 15:55:55 -0000 --l4mlmwxtui5e2pju Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 01, 2018 at 11:22:24AM -0400, Aryeh Friedman wrote: > On: >=20 > FreeBSD lilith 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321664: Fri Jul 28 > 23:35:18 EDT 2017 root@lilith:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > Attempting to run make on any port produces: >=20 > /!\ ERROR: /!\ >=20 > Ports Collection support for your FreeBSD version has ended, and no ports > are > guaranteed to build on this system. Please upgrade to a supported release. >=20 > No support will be provided if you silence this message by defining >=20 > How is this possibly correct when 11.1 is still listed as a production > release!?!?!?!? https://www.freebsd.org/security/ the EOL date is set to September 30, 2018. Best regards, Bapt --l4mlmwxtui5e2pju Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAluyQ1kACgkQY4mL3PG3 Plp2UA/+NK2lLb2ZmQ+UcfUXtCtEi4ibdBB5Vb4oJE8MC4ny0srYv2zUP/C0V6ui 97+LGlfgD1jyTOWmtDK5frbzifaFrcp0/gUT5AN07L26KPZJD9qH+yVhUs7D7nXd AAVrbrq70zKPet8WlQTA6gdyyBOyuYxEIPK8o8SlxQjsckZDNJGgMm2RgP2WpZlt e5NJmZ6cJ5+1Kn9kiqA7rm4osEEGwnU0xo8wkpsT7CCfRWkg1oyYJ5jFYSNDxuzK Y3Jg8QaTkmCF+KW+zSlscpPbXr7mU2eqXw3XA9EItvq2OHEaC7jRMzONECL2a2qk u/UBOEXCH0ytrp8H92IAim72zFDpX0LLCP+ywG2WuOikzgOYf8CRxZocSQ4at2Wa R2JljgW+6pdiKo0otKyXWGy/kdaeCQ6koDJiSLF9uUyfl/eHDSOP4qzo994jJnBP WhQkaP5DRBUxq50CdK1GpDCvCDJRvCFDBD9UxCxP+xqg45v1TmSegQutP/wh+meR 3ZvRdM056JhKycc5CqbNf8bs0A/ddwE9Q1XR47xtdu/dZBNt54PjfRQbZ2QCwZiV vccmtA+h6xQ87V0tPz8EwBwPyf0F/F97FytEU4HHasKzEntMCfId1h9nrYW/Pi5U WL4rNHhIXSKe2+eUyeC9yn+TQqYdePWuP0MHbqkO4tBUCPBuNpY= =nrR6 -----END PGP SIGNATURE----- --l4mlmwxtui5e2pju-- From owner-freebsd-hackers@freebsd.org Mon Oct 1 16:21:46 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B857310979E2 for ; Mon, 1 Oct 2018 16:21:46 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-it1-x132.google.com (mail-it1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4750A7F727 for ; Mon, 1 Oct 2018 16:21:46 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-it1-x132.google.com with SMTP id c85-v6so12300133itd.1 for ; Mon, 01 Oct 2018 09:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BnsqlpN+kiZiZAzlxeqoVyWMrM7vbR8bFihe5ly5Irg=; b=t80ELLTcoBds0b7huZMk57QX9CrQZQGGx5z4C0UL2hek68wdo8/0Mtqe0eUxxU9dvS YX0W4+lFb5u/itg6944/CGbkjG0i3HKWRc6n9f1gbAbB7inUMJYaUd3In66SshkaQRvu O8G85BsVTczz4Q8/I2Y7hDVPiGWXorHDBdqxaoQsT8b98jbOTW91RuWucWvJmLzQIaHK s7rUq1p/ov0n3GEUbSfWbIKXBQABorgGRf8OepHxFZsrWwicmEymNozg8yKs6c1yO+So IlhHToyQITATnLXRUOf6tosC/yJzw6l75gGfwIYMZb+rg3f/9az2hy8XbQoMmhzylw2Z JhqA== 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=BnsqlpN+kiZiZAzlxeqoVyWMrM7vbR8bFihe5ly5Irg=; b=tVObs2s04Fg3oCwWhulG8lzJGAzPyaqw28uvA6ser6fTQQaimCmYh3rvvh9NPBx9Yw iTueTzuOmQU9spVH4TS7mjFmXQh55q+TnrnMwiUqgRumH7Ia7/opbXRZErvfHOKbJFfh qgUoeHU92HEJUDU3RqDo6cixH5WuzoIC7i03rWENiqcVPvqlOoQcYEPdwr3zCfk0QRUG FmpWd0QhfO0kP2L9ZPlmTBTAbuA2RCh+DyVcRXg5Uafccn/ApHveriY5Olfv9Zp43Jrp xyX1t3gXE/IQPEAkSkOh3OwdHPTcc7KFKmEUjwTK4IUWaQ67oWSSgMF/7kEFINO/1tIM Ixvw== X-Gm-Message-State: ABuFfoioaxwVVehcE0j5PyMSuuTG7lsYIzdBkhMzVF/01jPCQj2zlLb1 YDEk6A4uwOSWyCJjtwUl2gHVnZtlGaS9olIyFEzKOfrL X-Google-Smtp-Source: ACcGV60Z73MjEGaz5vJbPK+G64TgoLz+Pwh6N4j3i3i85Rd9yspJuxsRalRAc/KShYFFR/7XoAljuNBo5kk/gFL15h4= X-Received: by 2002:a24:d147:: with SMTP id w68-v6mr10413085itg.149.1538410905383; Mon, 01 Oct 2018 09:21:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Lee Brown Date: Mon, 1 Oct 2018 09:21:30 -0700 Message-ID: Subject: Re: Port collection (incorrectly) marked as not supporting 11.1 To: Aryeh Friedman Cc: freebsd-ports@freebsd.org, FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 16:21:47 -0000 On Mon, Oct 1, 2018, 8:52 AM Aryeh Friedman wrote: > On: > > FreeBSD lilith 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321664: Fri Jul 28 > 23:35:18 EDT 2017 root@lilith:/usr/obj/usr/src/sys/GENERIC amd64 > > Attempting to run make on any port produces: > > /!\ ERROR: /!\ > > Ports Collection support for your FreeBSD version has ended, and no ports > are > guaranteed to build on this system. Please upgrade to a supported release. > > No support will be provided if you silence this message by defining > > How is this possibly correct when 11.1 is still listed as a production > release!?!?!?!? > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > Because it went EOL yesterday. https://www.freebsd.org/security/security.html#sup From owner-freebsd-hackers@freebsd.org Mon Oct 1 16:25:03 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7E7010981C1; Mon, 1 Oct 2018 16:25:03 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2157C7FDBC; Mon, 1 Oct 2018 16:25:03 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f51.google.com with SMTP id y10-v6so10355518lfj.1; Mon, 01 Oct 2018 09:25:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7kyVTYm7A56YiYhfZp6cX0U7EqpLvBuJ5SZNQsvWy8A=; b=ZAoKZtHBo5IonX4IUuxmeNE8bWCcQRoj4dRB28ApS7X3dGMLf9yeA95AkiGapsjyG/ fOgtIN3nfilMzQMx9NSvZcEXEigapoiXNO9ZBVqcDzDzSNunD88lc4Fw+X3KjfbqFScl Jghdxssso7SOOcfhxiLGxliHvFQmWbIpDp1QmpafIKZjbsDlFLCKPZPqs+YgUVzym6ow SB3TFTSEy5Is8qTwwIy4dSbg3iJQ1cp0bGdGzLfqppa5dlwmVI7Cx4lFaxwJZtqsZHbz iIuONv5gCJZ661YoeNMIEMECi/sKyFMzDeOtijSPxEvE31I08AwBCM/pW3+1BRApUQ5T NuOA== X-Gm-Message-State: ABuFfoiS9yUSRe8tjIxvVo/IMssYTCT3peRazAc475nTeHTn/j3QaTpr NrFNGSrmOT+MHSm8z3Mj3njepIMn2FGZL4CXq1Q= X-Google-Smtp-Source: ACcGV60gtp8C79o4D/I67p5wgBepC5z7YDcRAdlM04xTlr27Gl+Xm0q2JzUUwAiRl/evgfieKU2/vKklLsy1DrwJDDw= X-Received: by 2002:a19:d408:: with SMTP id l8-v6mr6247728lfg.25.1538410764958; Mon, 01 Oct 2018 09:19:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Mon, 1 Oct 2018 10:19:13 -0600 Message-ID: Subject: Re: Port collection (incorrectly) marked as not supporting 11.1 To: Aryeh Friedman Cc: freebsd-ports@freebsd.org, "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 16:25:04 -0000 On Mon, Oct 1, 2018 at 9:53 AM Aryeh Friedman wrote: > On: > > FreeBSD lilith 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321664: Fri Jul 28 > 23:35:18 EDT 2017 root@lilith:/usr/obj/usr/src/sys/GENERIC amd64 > > Attempting to run make on any port produces: > > /!\ ERROR: /!\ > > Ports Collection support for your FreeBSD version has ended, and no ports > are > guaranteed to build on this system. Please upgrade to a supported release. > > No support will be provided if you silence this message by defining > > How is this possibly correct when 11.1 is still listed as a production > release!?!?!?!? > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > Because FreeBSD 11.1 went EoL yesterday. You need to upgrade to 11.2. Here's the announcement. https://lists.freebsd.org/pipermail/freebsd-announce/2018-September/001842.html You're right, however, that the website isn't up-to-date. It was updated in one place but not another. I'll bug somebody to fix it. https://www.freebsd.org/releases/ (incorrect) https://www.freebsd.org/security/security.html#sup (correct) -Alan From owner-freebsd-hackers@freebsd.org Mon Oct 1 20:36:39 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAAA610A9C25; Mon, 1 Oct 2018 20:36:38 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 811DE8BBF7; Mon, 1 Oct 2018 20:36:38 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-vs1-f41.google.com with SMTP id z19-v6so8387036vso.3; Mon, 01 Oct 2018 13:36:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=cKyCxCFi7aVzBIsO2E6Wzkz6FM4KDUy1wdI5E1MKHF8=; b=icTBmVvGUF/VWL66LgWp6Q/TZaD2UItWtBGTddWwHVn7wWzl+4iSjt1mxFdGLoDo/+ kPxmrxw/tGHtI8KPziqJKrTTFsX+0TidPQvBbRg0n2cenllEdW4Zlf5mUyXEnMSUtCqD 3fkyISvzMtkb3qAi/avbSgGKLqPP82d590CCyRtx7smCRrizy3K29oZs1j+4TBJUKT1T gGm1dWb6CCzFaZCdazTtHqCy4CfbjbFJwAvOPv/GrNExZ1z0k+oC5lTG5fWcpZM6a8rP tMQWruZV+yiX1G9dUKDII+hnsRgxe12f5HINUzmp9plCW6buK8lgYFGXpjHY4KmbajLC 0+wA== X-Gm-Message-State: ABuFfoiqxQKQL6/wWolKsHoWw+ItSx0wCEuP7j5hYWzgfFaQ+Nddt3/x RE+EsOWhSx2GCEH82o+o6mX7P1dLk4Y8QmAx37E3uuWh X-Google-Smtp-Source: ACcGV63pvkpquvjwLARd992q3jb26PDGjzCeembiWPaf5Dk+NqkxDgeqBhJ0C8RfVmA1qxt+VeCbbCdHRbiRIpzMHX0= X-Received: by 2002:a67:cb90:: with SMTP id h16mr1773910vsl.82.1538419662050; Mon, 01 Oct 2018 11:47:42 -0700 (PDT) MIME-Version: 1.0 From: Edward Napierala Date: Mon, 1 Oct 2018 19:47:30 +0100 Message-ID: Subject: Call for 2018Q3 quarterly status reports To: freebsd-hackers Hackers Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 20:36:39 -0000 Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is October 31, 2018, for work done since the last round of Quarterly Reports: October, 2017 =E2=80=93 September, 2018. Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and provide a great way to inform FreeBSD users and developers about work that is underway and completed. Submission of reports is not restricted to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The preferred method is to follow the guidelines at the Quarterly GitHub repository: https://github.com/freebsd/freebsd-quarterly Alternatively you can fetch the Markdown template, fill it in, and email it to quarterly@FreeBSD.org. The template can be found at: https://raw.githubusercontent.com/freebsd/freebsd-quarterly/master/report-s= ample.md The old XML generator and templates are no longer used. We look forward to seeing your 2018Q3 reports! Thanks, Edward (on behalf of monthly@) From owner-freebsd-hackers@freebsd.org Tue Oct 2 02:24:37 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04D8710B1782 for ; Tue, 2 Oct 2018 02:24:37 +0000 (UTC) (envelope-from munro@penski.net) Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E9FC76AB4 for ; Tue, 2 Oct 2018 02:24:36 +0000 (UTC) (envelope-from munro@penski.net) Received: by mail-ed1-x542.google.com with SMTP id f38-v6so663273edd.8 for ; Mon, 01 Oct 2018 19:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ip9-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=YjWh9ntZTj8QCVuNOjFlC1gZMu/2FGYMZl4NxzM9YMI=; b=Xe1dmZz19hrSl0hoUavs7QauZCfg+dvNUJZOpSp5j6WKWSSBhKVV0ZAALUzZnp4a0G XGayJB0hE9wd1HbJsiiDzOYWLTqu9mrmdPTbEuDtgfsbooUl14fTLCOnx+LFiUDlmf+Y nj4X9uWrzG5L6YBxi0ondLZWNyrn/KbzF1hZQ9epeyVUW8ki8GFTP4XzEYG36tUNViuN nvQGHZxxLsEDqORKQYICUzIVoQgxmo+66+/5CIoGZwilVVdg2+VknjsAm1vJk/Kz/ScR eSBKTyFXf2Mv7AOmWVlbeZ179JV8vUPjBVKUJhxm7VRjnyy1XoC2b6VnwQ4xoRGwHjfj oqhA== 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:cc; bh=YjWh9ntZTj8QCVuNOjFlC1gZMu/2FGYMZl4NxzM9YMI=; b=G9o4jAnzy13mcul05dhMGAJ6sP8sZ6lB5/1FvEYkN77Hf8XzJWLNAP4JbugFJpVy3Z X+pnzGLTKRiuFjtWOVWNm+g1linx2XDEqdSIPxGwkgLSfN5Sap9/aGDOiExobJ4wFyAK GKpiuERaz+kfsNpfO7ByjLGhX+UbOqHjGi6ebS+b3YHaCOhnFAZr0P3ghc24WeIA8VGd gmds3ZLVDQe1//F9cW8T1BLi87Yuy/qSVIVV5ih/nbIsh2PEEURrGBwWxbIXcPwSHOBY t+HxU0psnRedjjHfSGShAE06BlgH4BphoSZFrvWZvWuEFLkvII4pNDiDh0qouSXmQ+xm Fm4Q== X-Gm-Message-State: ABuFfoiFNjat/ETNTt1k9Qy8joc6zHyVTvw6h3JcM1eWEtEvngATmpjY p9Wd/AlKApceAa8WVDyh75wWVzNW+1rOijb0KyfjF2YCUb98fw== X-Google-Smtp-Source: ACcGV60BgJ3LuALJjOlUAO+bT3CwhUuRYLyNvkJkLcGpJb41aewSifdy83Kjxw+zfll5z+AUlSpoWezW4qmJ6CXrqBw= X-Received: by 2002:a50:86ba:: with SMTP id r55-v6mr21086599eda.87.1538447075072; Mon, 01 Oct 2018 19:24:35 -0700 (PDT) MIME-Version: 1.0 From: Thomas Munro Date: Tue, 2 Oct 2018 15:24:23 +1300 Message-ID: Subject: Regression when trying to replace poll() with kqueue() To: freebsd-hackers@freebsd.org Cc: mjg@freebsd.org, alc@freebsd.org, markj@freebsd.org, Konstantin Belousov Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 02:24:37 -0000 Hello FreeBSD hackers, (CCing mjg and a list of others FreeBSD hackers he suggested) In a fit of enthusiasm for FreeBSD, a couple of years ago I wrote a patch to teach PostgreSQL to use kqueue(2). That was after we switched over to epoll(2) on Linux for performance reasons. Our default is to use poll(2) unless we have something better. The most common usage pattern is simply waiting for read/write readiness on the socket that is connected to the client + a pipe connected to the parent supervisor process ("postmaster"), but we have plans for more interesting kinds of multiplexing involving many more descriptors, and in general this sits behind our very thin abstraction called WaitEventSet (see latch.c in the PostgreSQL source tree) that can be used for many things. We did some testing using "pgbench" (instructions below) on various platforms that have kqueue(2), and we got some conflicting results from FreeBSD. When the system is heavily overloaded (a scenario we want to work well, or at least not get worse under kqueue, even if it's not the ideal way to run your database server), mjg reported that with the kqueue patch performance was way better than unpatched when the pgbench test client was running on a different host. Huzzah! Unfortunately, another tester reported the performance was worse when running pgbench from the same host (originally he complained about NetBSD performance and then we realised FreeBSD was the same under those conditions), and I confirmed that was the case for both Unix sockets and TCP sockets. In one 96 (!) thread test, the TPS reported by pgbench dropped from 70k to 50k queries per second on an 8 CPU system. As crazy as those test conditions may seem, that is not a good result. Curiously, when truss'd, in the overloaded scenario that performs worse, we very rarely seem to actually reach kevent(2). It seems like there is some kind of scheduling difference producing the change. Each PostgreSQL server process looks like this over ~10 seconds: syscall seconds calls errors sendto 0.396840146 3452 0 recvfrom 0.415802029 3443 6 kevent 0.000626393 6 0 gettimeofday 2.723923249 24053 0 ------------- ------- ------- 3.537191817 30954 6 (That was captured on a virtualised system which had gettimeofday as a syscall, but the effect has been reported on bare metal too and there no gettimeofday calls show up; I don't believe that is a factor). The pgbench client looks like this: syscall seconds calls errors ppoll 0.002773195 1 0 sendto 16.597880468 7217 0 recvfrom 25.646406008 7238 0 ------------- ------- ------- 42.247059671 14456 0 (For whatever reason pgbench uses ppoll() instead, but I assume that's irrelevant here; it's also multi-threaded, unlike the server.) The truss -c results for the server are not much different when using poll(2) instead of kevent(2), although recvfrom in the pgbench client seems to show a few seconds less total time, which is curious. You can see that we're mostly able to do sendto() and recvfrom() without seeing EWOULDBLOCK. So it's not direct access to the kqueue that is affecting performance. It's something else, something caused by the mere existence of the kqueue object holding the descriptor. That led several people to speculate that there may be a difference in the wakeup logic, when one end of a descriptor is in a kqueue (mjg speculated wake-up-one vs broadcast could be a factor), and that may be leading to worse scheduling behaviour. To be clear, nobody thinks that 96 client threads talking to 96 processes on a single 8 CPU box is a great way to run a system in real life! But it's still surprising that we lose performance whe using kqueue, and it'd be great to understand why, and hopefully improve it. The complete discussion on pgsql-hackers is here: https://www.postgresql.org/message-id/flat/CAEepm%3D37oF84-iXDTQ9MrGjENwVGds%2B5zTr38ca73kWR7ez_tA%40mail.gmail.com Any ideas would be most welcome. Thanks for reading! ==== Reproduction steps (assuming you have git, gmake, flex, bison, readline, curl, ccache): # grab postgres git clone https://github.com/postgres/postgres.git cd postgres # grab kqueue patch curl -O https://www.postgresql.org/message-id/attachment/65098/0001-Add-kqueue-2-support-for-WaitEventSet-v11.patch git checkout -b kqueue git am 0001-Add-kqueue-2-support-for-WaitEventSet-v11.patch # build ./configure --prefix=$HOME/install --with-includes=/usr/local/include --with-libs=/usr/local/lib CC="ccache cc" gmake -s -j8 gmake -s install gmake -C contrib/pg_prewarm install # create a db cluster and set it to use 2GB of shmem so we can hold whole dataset ~/install/bin/initdb -D ~/pgdata echo "shared_buffers = '2GB'" >> ~/pgdata/postgresql.conf # you can either start (and later stop) postgres in the background with pg_ctl: ~/install/bin/pg_ctl start -D ~/pgdata # ... or just run it in the foreground and hit ^C to stop it: # ~/install/bin/postgres -D ~/pgdata # this should produce about 1.1GB of data under ~/pgdata ~/install/bin/pgbench -s 10 -i postgres # install the prewarm extension, so we can run the test without doing any file IO ~/install/bin/psql postgres -c "create extension pg_prewarm" # after that, after any server restart, prewarm like so: ~/install/bin/psql postgres -c "select pg_prewarm(c.oid::regclass) from pg_class c where relkind in ('r', 'i')" | cat # then 60 second pgbench runs are simply: ~/install/bin/pgbench -c 96 -j 96 -M prepared -S -T 60 postgres # to make pgbench use TCP instead of Unix sockets, add -h localhost; # to allow connection from another host, update ~/pgdata/postgresql.conf's # listen_addresses From owner-freebsd-hackers@freebsd.org Tue Oct 2 02:26:38 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B007B10B188E for ; Tue, 2 Oct 2018 02:26:38 +0000 (UTC) (envelope-from munro@penski.net) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3268276BC2 for ; Tue, 2 Oct 2018 02:26:38 +0000 (UTC) (envelope-from munro@penski.net) Received: by mail-ed1-x534.google.com with SMTP id n2-v6so658640edo.9 for ; Mon, 01 Oct 2018 19:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ip9-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n/m9cj5H1bdZEI0DM+HzYIdm1ebbG2NUJq6rKlQeUmE=; b=GKYQGy5g+mGVycGFSHHyFdSs7hsye9aMpIAFpefT7PCWTgh5sev2lCqvgVzKrUAFkd x+qjAfm3T/fM2RNgHbU+11FMHrmKPZMI0fAPGfdMyST5NsXWiYWVkoLEjbvHl99+zRwk mOfnQMAz23EWZjnhgRVcujiks/GxgAtotMLOZGujH8AnvHceuPqww/b/qXErMdCUlVEu hI7OGU6ZdbC/GBvMIOZzNGKbcnlPHyl/F8xCK9UnA8L1VZ44kOjfhfnv2/48qwsj9uln pwg6r800jJoaTXyl+5XHWOaGfSwNPQudAOLFLQ093tuzbTFlMcJksFZro+1TUXqX8Ib4 B54w== 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=n/m9cj5H1bdZEI0DM+HzYIdm1ebbG2NUJq6rKlQeUmE=; b=h74kUFCTHevwLDjlLzpv0A9a6zBAskz2rKkulbcTL+3b8Mhofa3tki7NAZ5VJcUWW3 n2bKXRCYwlNYPMst7PJ1IEflqkRX2AKusvt8bck9wPKKAOD9muz/pcQI8iuySVJIGPFT esfA34ZA56IMHsTuKf/tDRzg1DS3a23pOvkw+YYTNV/RsX7cr+1s4nc6oussB3dnuoFZ Ek+3OvVO16/Q60JSPRicx5XpLsvsd59pAFIxtzyvmQ6Y6olu0KrBEhTtDdQAGSsyWuE9 PJZR5ssP8D7nUk2NgDRTLJTBa8b2b59RypAzx1OrEMlKGJR60FKPAvAU6YszVDZTrkRr FDkA== X-Gm-Message-State: ABuFfoglNn5mCKz5f+x/mp3D5EUqeYKCrWl2RTAHjWLtHMJsd5Pk97X1 cihN12hfpFziWkuUp74ofyGPaAwVvwqqygodRJ2y5wz6mQ8= X-Google-Smtp-Source: ACcGV61tW7p78lgQckdxUyA6oWXC3VDPVALMMqawhiJkqHojA5Xatna6H2Zcr5GD0yn0ueHo/CvKzsHfY1xrdgHUbWU= X-Received: by 2002:a50:9873:: with SMTP id h48-v6mr20770325edb.247.1538447197121; Mon, 01 Oct 2018 19:26:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Thomas Munro Date: Tue, 2 Oct 2018 15:26:25 +1300 Message-ID: Subject: Re: Regression when trying to replace poll() with kqueue() To: freebsd-hackers@freebsd.org Cc: mjg@freebsd.org, alc@freebsd.org, markj@freebsd.org, Konstantin Belousov Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 02:26:38 -0000 On Tue, 2 Oct 2018 at 15:24, Thomas Munro wrote: > ... The most > common usage pattern is simply waiting for read/write readiness on the > socket that is connected to the client + a pipe connected to the > parent supervisor process ("postmaster"), ... + a self pipe. From owner-freebsd-hackers@freebsd.org Tue Oct 2 11:51:21 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F1D310C0DEF for ; Tue, 2 Oct 2018 11:51:21 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from dedi548.your-server.de (dedi548.your-server.de [IPv6:2a01:4f8:d0a:2645::2]) (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 26D5288C57 for ; Tue, 2 Oct 2018 11:51:20 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from [78.46.172.2] (helo=sslproxy05.your-server.de) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1g7JCq-0003hy-H3 for freebsd-hackers@freebsd.org; Tue, 02 Oct 2018 13:51:12 +0200 Received: from [82.135.62.35] (helo=mail.embedded-brains.de) by sslproxy05.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1g7JCq-000EQm-BM for freebsd-hackers@freebsd.org; Tue, 02 Oct 2018 13:51:12 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 2A9E12A165C for ; Tue, 2 Oct 2018 13:51:58 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id nMHjkqFjHJma for ; Tue, 2 Oct 2018 13:51:57 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id D7AEB2A167E for ; Tue, 2 Oct 2018 13:51:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id i7o5rmstuFqg for ; Tue, 2 Oct 2018 13:51:57 +0200 (CEST) Received: from huber-nb-linux.suse (unknown [192.168.96.161]) by mail.embedded-brains.de (Postfix) with ESMTPSA id BCCFB2A165C for ; Tue, 2 Oct 2018 13:51:57 +0200 (CEST) To: FreeBSD From: Sebastian Huber Subject: m_copydata() with overlapping data? Message-ID: <6c801b04-6e07-3122-868c-20810e795aa7@embedded-brains.de> Date: Tue, 2 Oct 2018 13:51:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.100.1/24999/Tue Oct 2 06:46:11 2018) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 11:51:21 -0000 Hello, I investigate currently a performance issue on a Microchip ATSAME70Q21=20 (ARM Cortex-M7). The Newlib C-library has specialized routines for=20 memcpy(), but not for memmove(). I noticed that m_copydata() uses=20 bcopy() internally. According to the man page bcopy() is capable to deal=20 with overlapping memory regions. Is this also a requirement for=20 m_copydata() or could we use memcpy() here? For example: diff --git a/freebsd/sys/kern/uipc_mbuf.c b/freebsd/sys/kern/uipc_mbuf.c index 185d14a0..00dcd975 100644 --- a/freebsd/sys/kern/uipc_mbuf.c +++ b/freebsd/sys/kern/uipc_mbuf.c @@ -593,7 +593,7 @@ m_copydata(const struct mbuf *m, int off, int len,=20 caddr_t cp) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 while (len > 0) { =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 KASSERT(m !=3D NULL, ("m_copydata, length > size of mb= uf=20 chain")); =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 count =3D min(m->m_len - off, len); -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 bcopy(mtod(m, caddr_t) + off, cp, count); +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 cp =3D memcpy(cp, mtod(m, caddr_t) + off, count); =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 len -=3D count; =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 cp +=3D count; =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 off =3D 0; Maybe this should be mentioned in the man page: https://www.freebsd.org/cgi/man.cgi?query=3Dm_copydata --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG= . From owner-freebsd-hackers@freebsd.org Wed Oct 3 05:01:04 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E47C10B7EBE for ; Wed, 3 Oct 2018 05:01:04 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 EC5E28BF15 for ; Wed, 3 Oct 2018 05:01:03 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id E3FAC1C83D; Wed, 3 Oct 2018 05:01:02 +0000 (UTC) To: freebsd-hackers@freebsd.org, Thomas Munro References: From: Allan Jude Openpgp: preference=signencrypt Autocrypt: addr=allanjude@freebsd.org; prefer-encrypt=mutual; keydata= xsFNBFVwZcYBEADwrZDH0xe0ZVjc9ORCc6PcBLwS/RTXA6NkvpD6ea02pZ8lPOVgteuuugFc D34LdDbiWr+479vfrKBh+Y38GL0oZ0/13j10tIlDMHSa5BU0y6ACtnhupFvVlQ57+XaJAb/q 7qkfSiuxVwQ3FY3PL3cl1RrIP5eGHLA9hu4eVbu+FOX/q/XVKz49HaeIaxzo2Q54572VzIo6 C28McX9m65UL5fXMUGJDDLCItLmehZlHsQQ+uBxvODLFpVV2lUgDR/0rDa0B9zHZX8jY8qQ7 ZdCSy7CwClXI054CkXZCaBzgxYh/CotdI8ezmaw7NLs5vWNTxaDEFXaFMQtMVhvqQBpHkfOD 7rjjOmFw00nJL4FuPE5Yut0CPyx8vLjVmNJSt/Y8WxxmhutsqJYFgYfWl/vaWkrFLur/Zcmz IklwLw35HLsCZytCN5A3rGKdRbQjD6QPXOTJu0JPrJF6t2xFkWAT7oxnSV0ELhl2g+JfMMz2 Z1PDmS3NRnyEdqEm7NoRGXJJ7bgxDbN+9SXTyOletqGNXj/bSrBvhvZ0RQrzdHAPwQUfVSU2 qBhQEi2apSZstgVNMan0GUPqCdbE2zpysg+zT7Yhvf9EUQbzPL4LpdK1llT9fZbrdMzEXvEF oSvwJFdV3sqKmZc7b+E3PuxK6GTsKqaukd/3Cj8aLHG1T1im1QARAQABzSJBbGxhbiBKdWRl IDxhbGxhbmp1ZGVAZnJlZWJzZC5vcmc+wsF/BBMBAgApBQJVcGXGAhsjBQkSzAMABwsJCAcD AgEGFQgCCQoLBBYCAwECHgECF4AACgkQGZU1PhKYC34Muw/+J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: Regression when trying to replace poll() with kqueue() Message-ID: <09f0dce2-7899-b839-e70e-79be43a0fa6b@freebsd.org> Date: Wed, 3 Oct 2018 01:01:03 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2018 05:01:04 -0000 On 2018-10-01 22:24, Thomas Munro wrote: > Hello FreeBSD hackers, > > (CCing mjg and a list of others FreeBSD hackers he suggested) > > In a fit of enthusiasm for FreeBSD, a couple of years ago I wrote a > patch to teach PostgreSQL to use kqueue(2). That was after we > switched over to epoll(2) on Linux for performance reasons. Our > default is to use poll(2) unless we have something better. The most > common usage pattern is simply waiting for read/write readiness on the > socket that is connected to the client + a pipe connected to the > parent supervisor process ("postmaster"), but we have plans for more > interesting kinds of multiplexing involving many more descriptors, and > in general this sits behind our very thin abstraction called > WaitEventSet (see latch.c in the PostgreSQL source tree) that can be > used for many things. > > We did some testing using "pgbench" (instructions below) on various > platforms that have kqueue(2), and we got some conflicting results > from FreeBSD. When the system is heavily overloaded (a scenario we > want to work well, or at least not get worse under kqueue, even if > it's not the ideal way to run your database server), mjg reported that > with the kqueue patch performance was way better than unpatched when > the pgbench test client was running on a different host. Huzzah! > > Unfortunately, another tester reported the performance was worse when > running pgbench from the same host (originally he complained about > NetBSD performance and then we realised FreeBSD was the same under > those conditions), and I confirmed that was the case for both Unix > sockets and TCP sockets. In one 96 (!) thread test, the TPS reported > by pgbench dropped from 70k to 50k queries per second on an 8 CPU > system. As crazy as those test conditions may seem, that is not a > good result. > > Curiously, when truss'd, in the overloaded scenario that performs > worse, we very rarely seem to actually reach kevent(2). It seems like > there is some kind of scheduling difference producing the change. > Each PostgreSQL server process looks like this over ~10 seconds: > > syscall seconds calls errors > sendto 0.396840146 3452 0 > recvfrom 0.415802029 3443 6 > kevent 0.000626393 6 0 > gettimeofday 2.723923249 24053 0 > ------------- ------- ------- > 3.537191817 30954 6 > > (That was captured on a virtualised system which had gettimeofday as a > syscall, but the effect has been reported on bare metal too and there > no gettimeofday calls show up; I don't believe that is a factor). > > The pgbench client looks like this: > > syscall seconds calls errors > ppoll 0.002773195 1 0 > sendto 16.597880468 7217 0 > recvfrom 25.646406008 7238 0 > ------------- ------- ------- > 42.247059671 14456 0 > > (For whatever reason pgbench uses ppoll() instead, but I assume that's > irrelevant here; it's also multi-threaded, unlike the server.) The > truss -c results for the server are not much different when using > poll(2) instead of kevent(2), although recvfrom in the pgbench client > seems to show a few seconds less total time, which is curious. You > can see that we're mostly able to do sendto() and recvfrom() without > seeing EWOULDBLOCK. So it's not direct access to the kqueue that is > affecting performance. It's something else, something caused by the > mere existence of the kqueue object holding the descriptor. > > That led several people to speculate that there may be a difference in > the wakeup logic, when one end of a descriptor is in a kqueue (mjg > speculated wake-up-one vs broadcast could be a factor), and that may > be leading to worse scheduling behaviour. > > To be clear, nobody thinks that 96 client threads talking to 96 > processes on a single 8 CPU box is a great way to run a system in real > life! But it's still surprising that we lose performance whe using > kqueue, and it'd be great to understand why, and hopefully improve it. > > The complete discussion on pgsql-hackers is here: > > https://www.postgresql.org/message-id/flat/CAEepm%3D37oF84-iXDTQ9MrGjENwVGds%2B5zTr38ca73kWR7ez_tA%40mail.gmail.com > > Any ideas would be most welcome. > > Thanks for reading! > > ==== > > Reproduction steps (assuming you have git, gmake, flex, bison, > readline, curl, ccache): > > # grab postgres > git clone https://github.com/postgres/postgres.git > cd postgres > > # grab kqueue patch > curl -O https://www.postgresql.org/message-id/attachment/65098/0001-Add-kqueue-2-support-for-WaitEventSet-v11.patch > git checkout -b kqueue > git am 0001-Add-kqueue-2-support-for-WaitEventSet-v11.patch > > # build > ./configure --prefix=$HOME/install --with-includes=/usr/local/include > --with-libs=/usr/local/lib CC="ccache cc" > gmake -s -j8 > gmake -s install > gmake -C contrib/pg_prewarm install > > # create a db cluster and set it to use 2GB of shmem so we can hold > whole dataset > ~/install/bin/initdb -D ~/pgdata > echo "shared_buffers = '2GB'" >> ~/pgdata/postgresql.conf > > # you can either start (and later stop) postgres in the background with pg_ctl: > ~/install/bin/pg_ctl start -D ~/pgdata > # ... or just run it in the foreground and hit ^C to stop it: > # ~/install/bin/postgres -D ~/pgdata > > # this should produce about 1.1GB of data under ~/pgdata > ~/install/bin/pgbench -s 10 -i postgres > > # install the prewarm extension, so we can run the test without doing > any file IO > ~/install/bin/psql postgres -c "create extension pg_prewarm" > > # after that, after any server restart, prewarm like so: > ~/install/bin/psql postgres -c "select pg_prewarm(c.oid::regclass) > from pg_class c where relkind in ('r', 'i')" | cat > > # then 60 second pgbench runs are simply: > ~/install/bin/pgbench -c 96 -j 96 -M prepared -S -T 60 postgres > > # to make pgbench use TCP instead of Unix sockets, add -h localhost; > # to allow connection from another host, update ~/pgdata/postgresql.conf's > # listen_addresses > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > I have started to look into this a bit. I have not really gotten anywhere yet, but I have produced a graph comparing the performance of vanilla postgres vs your patch. https://imgur.com/a/gKycGxW They scale identically up to the 20 threads of hardware on my test machine, and then kqueue falls off much more quickly. Hopefully I'll have more useful findings tomorrow. -- Allan Jude From owner-freebsd-hackers@freebsd.org Wed Oct 3 05:16:25 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01C9410B85F8 for ; Wed, 3 Oct 2018 05:16:25 +0000 (UTC) (envelope-from munro@penski.net) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75D718C6CD for ; Wed, 3 Oct 2018 05:16:24 +0000 (UTC) (envelope-from munro@penski.net) Received: by mail-ed1-x52f.google.com with SMTP id v18-v6so3056797edq.12 for ; Tue, 02 Oct 2018 22:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ip9-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C2Sd1qRCbE8MLz4tSfQWekazz8uzQqNXSMOQdsDeeA8=; b=yhRDXHmuPbHJ3gHODewV1INWfoFDLQ1NYB9Nwa/oe1sOu7/GsX994X7W767e3Tdl09 Ig49mMwcBpPChBKpJfYOxKJNswh5YUpel2ag43bThuHh+yAtfU+DZgXPtKSxtyW1QY0g HEU9hWsxVRQiQDd9G5nJopC53K3it7SaDheN8OVxF1TOykoZDwWFut3jQKgBQoNXKf+3 ycxnpcUix6yyx/vtT1IVUjYlgX/M8JgJlUZFcbA4gM2ZUTXtffNwkMolO8WGbQ8VlQz/ Aa+9YyhN+oiY+XFMlqLKcooL4MS0Z6Eg9ITyTiMekQ2/8axjf5NCkDhAQjBGHp6IBsuQ fUZg== 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=C2Sd1qRCbE8MLz4tSfQWekazz8uzQqNXSMOQdsDeeA8=; b=qQqWTrM2kN6DQmWQQxFQyP8X3D1nJQ0zxjtYSST6sKdMubLGYuUVdcp/4DvUfbRn3z Ym85VpSaFxGMCm835ht4rVyEN43rRsgecsKf9x3voxboWd2QdPEB/1jgJ2lgbAVJEc+q dagxWV83x+J5xc4o0kebMKDXn6hbYRB1ZPOPJQwNPnIvbC3xWZyHBt6lNg1gRsId9Xvt yaUsDyIKKHwJjG0sXGGnaofbmCZTR5eP8gVvbFziotuOlz85W+vEJPiwTM/txI5VhVmO dOkpLLLF7A/BE9pL4/TPZbigr1I/VvbZ1rZ34sMEm7S3yjujh5EOSaTGiEextM5WIeD/ FnpA== X-Gm-Message-State: ABuFfohSF4VqtBJRqPFNiDNQc9lPz6Oj+ExPAbSbEHlBVCGbvAhhf5h8 iqIcR1HL0mk30psiaKu+6NDDpSd1qE0hX1V5nJMmlg== X-Google-Smtp-Source: ACcGV63AajG9eFTLQGTnml1L7q0aBvdS6Cpbsmx1jzvzBpFsLinllZH9Myd4SCjyNuEJT0YfW0Th1CDcsPYijy1FBtE= X-Received: by 2002:a50:9873:: with SMTP id h48-v6mr263666edb.247.1538543783028; Tue, 02 Oct 2018 22:16:23 -0700 (PDT) MIME-Version: 1.0 References: <09f0dce2-7899-b839-e70e-79be43a0fa6b@freebsd.org> In-Reply-To: <09f0dce2-7899-b839-e70e-79be43a0fa6b@freebsd.org> From: Thomas Munro Date: Wed, 3 Oct 2018 18:16:11 +1300 Message-ID: Subject: Re: Regression when trying to replace poll() with kqueue() To: allanjude@freebsd.org Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2018 05:16:25 -0000 On Wed, 3 Oct 2018 at 18:01, Allan Jude wrote: > I have started to look into this a bit. I have not really gotten > anywhere yet, but I have produced a graph comparing the performance of > vanilla postgres vs your patch. > > https://imgur.com/a/gKycGxW > > They scale identically up to the 20 threads of hardware on my test > machine, and then kqueue falls off much more quickly. Great news, thanks for looking at this. From owner-freebsd-hackers@freebsd.org Wed Oct 3 12:18:42 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A78C10C18C6 for ; Wed, 3 Oct 2018 12:18:42 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01FC1781E1 for ; Wed, 3 Oct 2018 12:18:42 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pl1-x62a.google.com with SMTP id az3-v6so3400696plb.4 for ; Wed, 03 Oct 2018 05:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d4Sl23mBs/4E8+qewSxRVhYT+Do/UOZgJeyMMKn1XH4=; b=t2dm6BslVz3Zb1Pf2n3ezDoQJsXJppXUhAjxBIM7psUlxz0a+gQT5wADsGXEsa7o4u xW5PC+iydPqfCV1XeMMIh5tkhCmEGWiq7xrB4kaZaIvTNG5SY/1XK2BCgj0H5DnsY73u lDILScJBkKbUwUQSefTbyGheIhWyNCosn/WPwCgEd+pO50RtUM4Vt3D6WKz+y6QStiif laiIXz99wutCL/s2NQKTE0SVk5u+QktWhdyShPTCtcRxF3SwNKI9y4ASbe5wJV8TetwR hvX1pOLeL+CdpaXfWk6HKIiEDzY9K67mPP2KdyYpy+4mIiv6hiT6Bdf5IEFFiAbMAvtO GQBw== 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=d4Sl23mBs/4E8+qewSxRVhYT+Do/UOZgJeyMMKn1XH4=; b=sWkgtbuEVajb2MRBjEtkmRlj9S0IETi2Jg63ob1L4rfVi1NFLzXVaw+3xd4q5ufwJ4 RzkQHviFJBKHlUL/r9saGJ3BUhITbJ1iILlZL9F2LZUwHXgkujWXInuzmcrM+M+V1DrF gUE6jV4dMbZcaFf+tmMZTsl4UuVXspvtZW7WyP1JJhBpklf2o3uDM9ZUEPnKAIEneZuw uoIPkayAdmbJs6+HRAFecsUH/jihkvE+i9EOOZkfPx5SoZ0OTlWGt3WyZXRC2GQXUvUX J1vmoGaGmX5pOLeFGcgivLiiI58R/DceZNHveQk8giXkLBrx/yAJ3dbEuKHhEdxcwTek BM2g== X-Gm-Message-State: ABuFfoi8/F0NZg8yVWHQAHANZVnDC1O+Zd0YPT1ktwaec901LcD5rIE8 sSxq/aLe/Ok7dpoQSc4X6I56UHKrS1Jc491DXb94oQ== X-Google-Smtp-Source: ACcGV60mLacuu4D5RGZ/YBHtN6oAqle+r8d1lgjQnIthottlvZSCOr7R1hza/pcF5O3V/VIaCOGY6Y1NVjR4RiH0diI= X-Received: by 2002:a17:902:694a:: with SMTP id k10-v6mr1370655plt.166.1538569120784; Wed, 03 Oct 2018 05:18:40 -0700 (PDT) MIME-Version: 1.0 References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> In-Reply-To: <20180824192315.GF2340@kib.kiev.ua> From: Gleb Popov <6yearold@gmail.com> Date: Wed, 3 Oct 2018 15:18:12 +0300 Message-ID: Subject: Re: Strange hang when calling signal() To: kostikbel@gmail.com Cc: freebsd-hackers X-Mailman-Approved-At: Wed, 03 Oct 2018 13:45:53 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2018 12:18:42 -0000 I failed to extract a reproducing testcase from that test. The extracted code works fine, so either I missed something, or some hidden conditions must be fulfilled for the bug to appear. Maybe I can try to dive into libc myself? Can you give me some guidance? Or maybe you just build kdevelop yourself? It is a matter of handful of commands. From owner-freebsd-hackers@freebsd.org Wed Oct 3 21:34:20 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 030F710AE7F7 for ; Wed, 3 Oct 2018 21:34:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 75E2A7093B for ; Wed, 3 Oct 2018 21:34:19 +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 w93LY8am033579 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 4 Oct 2018 00:34:11 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w93LY8am033579 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w93LY8WA033578; Thu, 4 Oct 2018 00:34:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 4 Oct 2018 00:34:08 +0300 From: Konstantin Belousov To: Gleb Popov <6yearold@gmail.com> Cc: freebsd-hackers Subject: Re: Strange hang when calling signal() Message-ID: <20181003213408.GV5335@kib.kiev.ua> References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2018 21:34:20 -0000 On Wed, Oct 03, 2018 at 03:18:12PM +0300, Gleb Popov wrote: > I failed to extract a reproducing testcase from that test. The extracted > code works fine, so either I missed something, or some hidden conditions > must be fulfilled for the bug to appear. > > Maybe I can try to dive into libc myself? Can you give me some guidance? Or > maybe you just build kdevelop yourself? It is a matter of handful of > commands. Can you provide me the minimal self-contained set of binaries and shared libraries and the instruction to reproduce the issue ? From owner-freebsd-hackers@freebsd.org Thu Oct 4 03:58:38 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E15510BE343 for ; Thu, 4 Oct 2018 03:58:38 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: from mail-it1-x12d.google.com (mail-it1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 081F78155E for ; Thu, 4 Oct 2018 03:58:38 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: by mail-it1-x12d.google.com with SMTP id j81-v6so11356945ite.0 for ; Wed, 03 Oct 2018 20:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=k9bPql1rMP8+h0xKMgEMhTBjuAkTCTDxMSGzqUvG0hs=; b=aWEfyuh7NFChSzb5onDoD/Sp9XPlg7LS3eYNWtUEZ/n3FI+2EjQY+LSsKzvze8eI/Z SIClsHxCQU3Bx9v9mP9C3n00fc0hkkIJX4QpgScDbMESQzwrQ/msM91Wo0DeUQl/e+z1 3OWupwlVUazlexr/tXl1nsaDQsTu3rf0qsWBgOKiz47ObgeQzyaeHTC3wn3GhMLeltVN mecLNdq3QAktWSppA2tdjhQbhxgA708wUPPOPu+h/ux6CARdPWmb4VRYR4zE0Zmf7qZj 4MjwtOte6HwoKD7DHfa9j9rg+AzMFDIpgniv2CXL4EWtk6WLOhXk3Vs6CnXrDO1zY7Mq kA4w== 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=k9bPql1rMP8+h0xKMgEMhTBjuAkTCTDxMSGzqUvG0hs=; b=jxHoA7Ljp01lvjmczJo846CCH9Nx/LekThoONMxFJltK8fk5vV7rYyouKJcvyVt/12 J740iYxBc+sNhZ59wNUfYpSirUASe9Vi6O6h3ns1ny4ijQTH4pinOsBA4+H3aiTveje3 9wyMi3iPkKUSTmx62Qe9j7hwImgCFOLgKH+dy+aOHRV7n3nsTLUSQS3J4I1SpFij8g+y BubPReQXwFIckwR9jplmZLB3L/Q8mrKInN/Oo1syswE1sT8LlxrfG4qX4lJJUJXVzNHT u2m2nOYaY4Cd2LESvtco1aAMkQNhxsIr+k9qaxmA6qzdQORgxFwwq/KWsAIPMoRfuLXD b9ZA== X-Gm-Message-State: ABuFfoii7aZDXyfsgEjZOYmxXKxrSDMQFjIYkqBmsRduBuODsTYNLYLf 8qgvsDBmhqZvq4G+BTD3iUjulRVtR5292GorRRHs7sTZ X-Google-Smtp-Source: ACcGV61mXqobX8PjVK3+cZAw0pPOtJ6grBLn5DZDk6Ry4ZagrHWBtxukDc7inhm5lS5PBMm3v9UAfaSWkGKiWUIKaAg= X-Received: by 2002:a02:aa99:: with SMTP id u25-v6mr3729336jai.73.1538625517195; Wed, 03 Oct 2018 20:58:37 -0700 (PDT) MIME-Version: 1.0 From: Farhan Khan Date: Wed, 3 Oct 2018 23:58:25 -0400 Message-ID: Subject: Problem with zlib deflation header To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 03:58:38 -0000 Hi all, I am trying to use zlib to deflate (compress?) data from a textfile.. It seems to work when I compress a file, but I am trying to prepend the zlib compressed file with custom header. Both the file and header should be compressed. However, when I add the header, the length of the compressed (deflated) file is much shorter than expected and comes out as an invalid zlib compressed object. The code works great, until I add the header block of code between the XXX comments below. The "FILE *source" variable is a sample file, I typically use /etc/passwd and the "char *header" is "blob 2172\0". Without the header block, the output is 904 bytes and deflatable (decompressable), but with the header it comes out to only 30 bytes. It also comes out as an invalid zlib object with the header block of code. Any ideas where I am making a mistake, specifically why the output is invalid and shorter *with* the header? Thanks Code below: ---------------------------- int zcompress_and_header(FILE *source, char *header) { int ret, flush; z_stream strm; unsigned int have; unsigned char in[Z_CHUNK]; unsigned char out[Z_CHUNK]; FILE *dest = stdout; // This is a temporary test strm.zalloc = Z_NULL; strm.zfree = Z_NULL; strm.opaque = Z_NULL; ret = deflateInit(&strm, Z_BEST_SPEED); //ret = deflateInit2(&strm, Z_BEST_SPEED, Z_DEFLATED, 15 | 16, 8, Z_DEFAULT_STRATEGY); if (ret != Z_OK) return ret; /* XXX Beginning of writing the header */ strm.next_in = (unsigned char *) header; strm.avail_in = strlen(header) + 1; do { strm.avail_out = Z_CHUNK; strm.next_out = out; if (deflate (& strm, Z_FINISH) < 0) { fprintf(stderr, "returned a bad status of.\n"); exit(0); } have = Z_CHUNK - strm.avail_out; fwrite(out, 1, have, stdout); } while(strm.avail_out == 0); /* XXX End of writing the header */ do { strm.avail_in = fread(in, 1, Z_CHUNK, source); if (ferror(source)) { (void)deflateEnd(&strm); return Z_ERRNO; } flush = feof(source) ? Z_FINISH : Z_NO_FLUSH; strm.next_in = in; do { strm.avail_out = Z_CHUNK; strm.next_out = out; ret = deflate(&strm, flush); have = Z_CHUNK - strm.avail_out; if (fwrite(out, 1, have, dest) != have || ferror(dest)) { (void)deflateEnd(&strm); return Z_ERRNO; } } while(strm.avail_out == 0); } while (flush != Z_FINISH); } // End of function ---------------------------- -- Farhan Khan PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE From owner-freebsd-hackers@freebsd.org Thu Oct 4 08:21:48 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C39110C4222 for ; Thu, 4 Oct 2018 08:21:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 D81B589CAD for ; Thu, 4 Oct 2018 08:21: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 w948Lbim010526 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 4 Oct 2018 11:21:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w948Lbim010526 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w948LbrT010525; Thu, 4 Oct 2018 11:21:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 4 Oct 2018 11:21:37 +0300 From: Konstantin Belousov To: Gleb Popov <6yearold@gmail.com> Cc: freebsd-hackers Subject: Re: Strange hang when calling signal() Message-ID: <20181004082137.GC5335@kib.kiev.ua> References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> <20181003213408.GV5335@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 08:21:48 -0000 On Thu, Oct 04, 2018 at 10:56:41AM +0300, Gleb Popov wrote: > On Thu, Oct 4, 2018 at 12:34 AM Konstantin Belousov > wrote: > > > On Wed, Oct 03, 2018 at 03:18:12PM +0300, Gleb Popov wrote: > > > I failed to extract a reproducing testcase from that test. The extracted > > > code works fine, so either I missed something, or some hidden conditions > > > must be fulfilled for the bug to appear. > > > > > > Maybe I can try to dive into libc myself? Can you give me some guidance? > > Or > > > maybe you just build kdevelop yourself? It is a matter of handful of > > > commands. > > > > Can you provide me the minimal self-contained set of binaries and shared > > libraries and the instruction to reproduce the issue ? > > > > Pull in all needed depndencies > # pkg install kdevelop gmake cmake git > > Get KDevelop sources > # git clone git://anongit.kde.org/kdevelop.git > > # Build the test executable > # mkdir kdevelop/build > # cd kdevelop/build > # cmake .. > # gmake -j4 test_qthelpplugin > > Run the test executable and see that it hangs > # ./plugins/qthelp/tests/test_qthelpplugin testDefaultValue This is exactly the opposite of 'minimal'. Provide me the tarball which have just the binary and non-base shared libs needed to reproduce. I am not going to install kde on my crash boxes. From owner-freebsd-hackers@freebsd.org Thu Oct 4 09:26:43 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0701A10C5BBB for ; Thu, 4 Oct 2018 09:26:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 885538BF15 for ; Thu, 4 Oct 2018 09:26:42 +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 w949QV2L025255 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 4 Oct 2018 12:26:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w949QV2L025255 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w949QVAP025254; Thu, 4 Oct 2018 12:26:31 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 4 Oct 2018 12:26:31 +0300 From: Konstantin Belousov To: Gleb Popov <6yearold@gmail.com> Cc: freebsd-hackers Subject: Re: Strange hang when calling signal() Message-ID: <20181004092631.GD5335@kib.kiev.ua> References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> <20181003213408.GV5335@kib.kiev.ua> <20181004082137.GC5335@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 09:26:43 -0000 On Thu, Oct 04, 2018 at 11:39:21AM +0300, Gleb Popov wrote: > On Thu, Oct 4, 2018 at 11:21 AM Konstantin Belousov > wrote: > > > On Thu, Oct 04, 2018 at 10:56:41AM +0300, Gleb Popov wrote: > > > On Thu, Oct 4, 2018 at 12:34 AM Konstantin Belousov > > > > > wrote: > > > > > > > On Wed, Oct 03, 2018 at 03:18:12PM +0300, Gleb Popov wrote: > > > > > I failed to extract a reproducing testcase from that test. The > > extracted > > > > > code works fine, so either I missed something, or some hidden > > conditions > > > > > must be fulfilled for the bug to appear. > > > > > > > > > > Maybe I can try to dive into libc myself? Can you give me some > > guidance? > > > > Or > > > > > maybe you just build kdevelop yourself? It is a matter of handful of > > > > > commands. > > > > > > > > Can you provide me the minimal self-contained set of binaries and > > shared > > > > libraries and the instruction to reproduce the issue ? > > > > > > > > > > Pull in all needed depndencies > > > # pkg install kdevelop gmake cmake git > > > > > > Get KDevelop sources > > > # git clone git://anongit.kde.org/kdevelop.git > > > > > > # Build the test executable > > > # mkdir kdevelop/build > > > # cd kdevelop/build > > > # cmake .. > > > # gmake -j4 test_qthelpplugin > > > > > > Run the test executable and see that it hangs > > > # ./plugins/qthelp/tests/test_qthelpplugin testDefaultValue > > This is exactly the opposite of 'minimal'. Provide me the tarball which > > have just the binary and non-base shared libs needed to reproduce. > > > > I am not going to install kde on my crash boxes. > > > > Ok, can do that, but > > # ldd ./plugins/qthelp/tests/test_qthelpplugin | wc -l > > gives 286. Would that suit you? As far as all the mess is extracted into a single directory and can be removed with rm -rf, I am fine. From owner-freebsd-hackers@freebsd.org Thu Oct 4 09:51:10 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 676B310C686C for ; Thu, 4 Oct 2018 09:51:10 +0000 (UTC) (envelope-from steevanxperia@gmail.com) Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D580E8D0F9 for ; Thu, 4 Oct 2018 09:51:09 +0000 (UTC) (envelope-from steevanxperia@gmail.com) Received: by mail-ot1-x330.google.com with SMTP id e18-v6so8544909oti.8 for ; Thu, 04 Oct 2018 02:51:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=rxKJL8Lb/cngJHapEbLnRKNNIWW1AeKt/+zIgsp0wyI=; b=G+MLCGLKVjEkgohMDoJnCcmcbK51n2s7f4LXkxG//qcYNWuWDDvpv8qiKgN6/VK+it DdClcB1+uErN0yAANvKKQj9Yf7IzMZb7hfGhgr0n4+EwcCIJx5gN0cnx+cPtwSnrYZrR bTlJUEul3SjTa0qgsJmzJzHOb4NfLBq+G+QRN774HIO4RHS+6iDPLRTytt1lcV+wmnWK s7YqvHyasfxsJoBQCqo9IIYD+rfo+BJQEgN4385H6iiyrCNv0aUgzIkSfJb0bgonmRVM Q0JCl0gW9RNUl1QVoUCYqMr7tWrI3ZYXMvmIOKpnmG6L6NGwws0UQW0iZWkRTAlnX06L gbgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=rxKJL8Lb/cngJHapEbLnRKNNIWW1AeKt/+zIgsp0wyI=; b=OmgwACCVZ3nmEQ3rK9uplYWryivEG0El/IjbZ42W6ZuaRrBaygvZs5ahZ7PO9k/XgN YyZ6Td31AThrHZBC+LoXaxBBOBaw6t5BxUp6eyUWpN3GQOVQ8S/B833hK/lZZT2JrvgI wVrN097RRzFcsu0wSmHqWZG4s1jbzoDbt9iuFcIsF/Aa9MV92jjV6HD42OldCAX1U0qV W1XT745ATH4KN5DkEyaVHkD6mAcHgSzJ5402JbgJ53WM/CSyJtAp5Z6rIqXFV6eK3jtM hXCl36o0zJ5YdURuwNj/qtnzMJJR206P5w6DvZWN0aQ9H1MdMr6nCrCJj6yWUdjZ/om5 3TZA== X-Gm-Message-State: ABuFfoil+PDIAmdL5TfKJH/N+UBW+adgZNr0WS6apNMcg9hlFq2UCriJ rANL34BVywjK8zMG6r5BseztcXoIQouuXMOTM8ZRoF+th2g= X-Google-Smtp-Source: ACcGV60zg9DgoTSSqd+wvWmCFo4jgIQZduk7T5d3LH4CRzwRUwg8uXjBVKMRArQepgqmHPOkAYDtMT0QXA7pD/RK8Cg= X-Received: by 2002:a9d:216e:: with SMTP id l43mr3314009otd.29.1538646668746; Thu, 04 Oct 2018 02:51:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Steevan Rodrigues Date: Thu, 4 Oct 2018 15:20:21 +0530 Message-ID: Subject: Re: Contigfree takes too much time that cuases PCIe driver unload to take up to 30 minutes To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 09:51:10 -0000 Hi , After some investigation I came across following email thread: http://freebsd.1045724.x6.nabble.com/FreeBSD-11-1-contigfree-performance-issue-td6247284.html Now I see that the issue seen by me is same as the one described in the above email thread. We found that our driver too takes too much time during configfree and contigmalloc calls. This happens only in server with xeon dual CPU with 10 core each ( total 20 cores / 40 threads). This issue is not seen in server with Xeon Dual CPU with 6 core each ( total 12 cores / 24 threads) Any suggestions about how to overcome this problem with contigmalloc and configfree ? Thanks Steevan On Fri, Sep 21, 2018 at 9:32 AM Steevan Rodrigues wrote: > Hello Folks, > > We have a PCI express card for data processing to achieve 25 to 30 Gbps . > Recently we have been facing a issue in one of the server at customer > site. > > System information: > Supermicro motherboard-X11DPH-TQ motherboard > hw.model: Intel(R) Xeon(R) Gold 5115 CPU @ 2.40GHz ( Dual CPU with total > 20 cores) > 16 GB RAM > > In this system the same PCIe card works fine in RHEL 7.5 and the driver > load and unload also works fine. Our driver usually takes about 20 seconds > to load and approx 20 seconds to unload. > > However, on this particular system when FreeBSD ( tried with 11.1 and > 11.2 Release) is used it takes about 2 to 4 minutes to load and about 8 to > 30 minutes to unload. > During unload it looks like the system freezes completely and I can not > run any commands to find out what is happening . > > The same driver works fine in our lab servers Dell T620 ( Xeon 12 core > CPUs) and desktops with FreeBSD 11.1 and 11.2 and 10.4 . > > Also I ran couple of Phoronix tests on this SuperMicro server. In one > particular test I see that the time taken is too much. > The test suite is OsBench. In this, the thread creation test shows average > time taken to create threads is 9000 usec . On the other hand we have > servers and desktops in our lab and in that this same thread creation takes > only 20 to 30 usec . > > Any pointers about what could be wrong with the system or our PCIe card > driver ? > > Thanks > Steevan > > > > From owner-freebsd-hackers@freebsd.org Thu Oct 4 07:57:10 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2879510C34F4 for ; Thu, 4 Oct 2018 07:57:10 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9927988FB1 for ; Thu, 4 Oct 2018 07:57:09 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pf1-x434.google.com with SMTP id p24-v6so2966601pff.10 for ; Thu, 04 Oct 2018 00:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cuE9SkfKcEOybpjr6MFTkavADDwHZDHgmFK6rVPKmX0=; b=e7oy4wmkGySTA0Ks+qm5wS0qim0Se9j1itICfLwtoIgfzRRxqNH1DxpPEnHbDzFTVv y3Jls+1TGzLPAnZqFyHnDQ/TfBJHh3e32MW8QZULIXt/QHKb/SE4ng5BYmQHFpSXF3IT qJI7qijkCpgcQo89e/2B0RcbwqYBe3JigUSGfisGvafwCp4zO36yDs7aj/PrSApz2GEy kmow1U3kP7RRn3QG2BJunxR6MW6VNmZlBcUtgjGzdYM+HW2b7+R9qR49RRMrE0DnYB34 BbC/PfvkFduCyp5Va4/7um4M+FUle+8Fx7UoBcN+aPPMPjX1HX4F67O8N92m8Za0jGxn arKw== 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=cuE9SkfKcEOybpjr6MFTkavADDwHZDHgmFK6rVPKmX0=; b=k3NTjoflwXXdv9fDUWp0L1osvTpxvt1BSYM/MC6xNJ1Zg6FVX1qxEH5aPOjp7Gba/q oIQqF17IgHO9GgkFANxOnji7eeXbrc+ze6cMVoPLPtb9CTAzKmKYNfIUK9vfPqaQ18sE GHXSEZyjFEvSC2vzkwesBZph/w6XGO5C/srB2a42cYlREIEA+w/vIAUzgbNsNtm2xSYr fdDKNR8+YU2StMuadMIotFGX4dQKN6H6FXL1XENrAWIcmkmzviZVsRMSLeNXxlFesrg1 3lhKnYn6k/sKsM/6H28ct8Edgsouncx7luhXrFMsNAHbVy93GlIgzErnCx2UBd9w5kCC AGCg== X-Gm-Message-State: ABuFfojNKVaFcNfsgVMppfdV7paKhjmjHUzfBuxFWc3d4zHKuNnLj657 5s5dSVrwOcapUVy/orDVRxaH0TSQDQQufo+VTEBSNUV9 X-Google-Smtp-Source: ACcGV61Z3lJEjLJE1zTGsBU1Y6Eh7KpqOKcsE2R3XZNLE4kjumWRMhd45B2zrXpu8NX55MJ55gDBK/Sqz0roLyUom/A= X-Received: by 2002:a62:438c:: with SMTP id l12-v6mr5499987pfi.175.1538639828512; Thu, 04 Oct 2018 00:57:08 -0700 (PDT) MIME-Version: 1.0 References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> <20181003213408.GV5335@kib.kiev.ua> In-Reply-To: <20181003213408.GV5335@kib.kiev.ua> From: Gleb Popov <6yearold@gmail.com> Date: Thu, 4 Oct 2018 10:56:41 +0300 Message-ID: Subject: Re: Strange hang when calling signal() To: Konstantin Belousov Cc: freebsd-hackers X-Mailman-Approved-At: Thu, 04 Oct 2018 10:48:53 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 07:57:10 -0000 On Thu, Oct 4, 2018 at 12:34 AM Konstantin Belousov wrote: > On Wed, Oct 03, 2018 at 03:18:12PM +0300, Gleb Popov wrote: > > I failed to extract a reproducing testcase from that test. The extracted > > code works fine, so either I missed something, or some hidden conditions > > must be fulfilled for the bug to appear. > > > > Maybe I can try to dive into libc myself? Can you give me some guidance? > Or > > maybe you just build kdevelop yourself? It is a matter of handful of > > commands. > > Can you provide me the minimal self-contained set of binaries and shared > libraries and the instruction to reproduce the issue ? > Pull in all needed depndencies # pkg install kdevelop gmake cmake git Get KDevelop sources # git clone git://anongit.kde.org/kdevelop.git # Build the test executable # mkdir kdevelop/build # cd kdevelop/build # cmake .. # gmake -j4 test_qthelpplugin Run the test executable and see that it hangs # ./plugins/qthelp/tests/test_qthelpplugin testDefaultValue From owner-freebsd-hackers@freebsd.org Thu Oct 4 08:39:50 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FB6310C48F9 for ; Thu, 4 Oct 2018 08:39:50 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 876D98A5B1 for ; Thu, 4 Oct 2018 08:39:49 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pg1-x52e.google.com with SMTP id 23-v6so2819082pgc.8 for ; Thu, 04 Oct 2018 01:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rN7yE8hcQhNBj81VtZWe9EkCg7BXaApX0ywtJostMao=; b=aMqH/6vW2hwdBIiG4YamQcRHUH0wRq4LufepZ75go5iUW/uBZbthgBJRfqcHknjthE mnAZkWO3W83oCHjeXBqCJc9aEzg7FBeHtImEq1kLB7OYmhVH2gRPhBlYfP8n9lpGm+6R MRpsrEUuFhVmgqtxWX4h4lte+5FVf6j6/nP4wSDwLgkvE++hul5RIDAo2eOICV8gsVoa 0qT1J8Zg9rC22OLvEnJ6n+ExrVSF3EohogR8N/7AF4YmE8M60uJOnrHlKw6s//9UUDfW g7Ms1RbRSVNy/kOvVSOFUfQHnlWDrU7xrUIwuZB6Ur90FcCsRqRIEKCB9O4VRPh5YPsI GwOg== 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=rN7yE8hcQhNBj81VtZWe9EkCg7BXaApX0ywtJostMao=; b=VRM/ceolRmf4omUNXI4DcY+pnyDQ0k5wmubJ4ux0sxvsPSt+lsVSvq4w8v+IZQxlZs Nrp+dCWSvjYGcANUvJjVB45+nxWIc8E7FFB2yh2Qqp9jiDdR/RgtszuAwQwQ85sJ/M1L iqC/Af45l0kEMZxa8XDCQ8BqWor4dFFF6wWSOjuZYPLzNMIaqa1rDCzkR13hXx4kcFyX HRGfmWLKRr7U9h9F6nq0jELkJdPndYv9wnu5uXlV3cZcqee4IPZSCyF1u61OxKXTfFX+ QsHoMqy1fResWUIhapALAFA4pGvYtAP/i4eCzml2OAhMeH+fp8RJRiaYm9dBJ83sJCfp hRCA== X-Gm-Message-State: ABuFfog0zsXjmymMV16m/4DJey204Q/vUK2OOcj/hzuPkCKu09NQB7Zu 5gq8jDDdkGX2+ozA/+QQEYpiaeLWzb79F1q8jG0oc0Dy X-Google-Smtp-Source: ACcGV62+iNDqg9JT/bIrWASezYfcNlQO7CZcH5i4YLwufMPhw7Xf930Ws4rI4jVB+f65FOsk6EqecVRdz7mccmEfd2M= X-Received: by 2002:a62:38d0:: with SMTP id f199-v6mr5705656pfa.48.1538642388267; Thu, 04 Oct 2018 01:39:48 -0700 (PDT) MIME-Version: 1.0 References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> <20181003213408.GV5335@kib.kiev.ua> <20181004082137.GC5335@kib.kiev.ua> In-Reply-To: <20181004082137.GC5335@kib.kiev.ua> From: Gleb Popov <6yearold@gmail.com> Date: Thu, 4 Oct 2018 11:39:21 +0300 Message-ID: Subject: Re: Strange hang when calling signal() To: Konstantin Belousov Cc: freebsd-hackers X-Mailman-Approved-At: Thu, 04 Oct 2018 10:49:19 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 08:39:50 -0000 On Thu, Oct 4, 2018 at 11:21 AM Konstantin Belousov wrote: > On Thu, Oct 04, 2018 at 10:56:41AM +0300, Gleb Popov wrote: > > On Thu, Oct 4, 2018 at 12:34 AM Konstantin Belousov > > > wrote: > > > > > On Wed, Oct 03, 2018 at 03:18:12PM +0300, Gleb Popov wrote: > > > > I failed to extract a reproducing testcase from that test. The > extracted > > > > code works fine, so either I missed something, or some hidden > conditions > > > > must be fulfilled for the bug to appear. > > > > > > > > Maybe I can try to dive into libc myself? Can you give me some > guidance? > > > Or > > > > maybe you just build kdevelop yourself? It is a matter of handful of > > > > commands. > > > > > > Can you provide me the minimal self-contained set of binaries and > shared > > > libraries and the instruction to reproduce the issue ? > > > > > > > Pull in all needed depndencies > > # pkg install kdevelop gmake cmake git > > > > Get KDevelop sources > > # git clone git://anongit.kde.org/kdevelop.git > > > > # Build the test executable > > # mkdir kdevelop/build > > # cd kdevelop/build > > # cmake .. > > # gmake -j4 test_qthelpplugin > > > > Run the test executable and see that it hangs > > # ./plugins/qthelp/tests/test_qthelpplugin testDefaultValue > This is exactly the opposite of 'minimal'. Provide me the tarball which > have just the binary and non-base shared libs needed to reproduce. > > I am not going to install kde on my crash boxes. > Ok, can do that, but # ldd ./plugins/qthelp/tests/test_qthelpplugin | wc -l gives 286. Would that suit you? From owner-freebsd-hackers@freebsd.org Thu Oct 4 11:08:53 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E63810C8D41; Thu, 4 Oct 2018 11:08:53 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D01FC8FFF0; Thu, 4 Oct 2018 11:08:52 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id b19-v6so8637544wme.3; Thu, 04 Oct 2018 04:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DrG8/5Qg3VLHQ4rBl3VkxtRmL0sG7ggltEP5Oel7Qyk=; b=Dpsof8Fzf1wp/mrQpZupO1wM/otppCiYUjwuihRprOyPcnuvbYoUlTgIRJSuBHwyZw wtcbxJIr1CxFhda3B1s9yd17FhAPx0QBfEVi9ZHmAb3d51Qm6kA3Wznr/okZJH+N5m8a dlvhXYn1nT1meTvJCyn+D0I5owet1p8S+nn0c64XrsYgd/DYFa1izE+muYODrCWaQX5Q dSr95zYh1pbBDZRzeIhOxG9XITmGQNHBf71G95ct9juxT0WZZ1uzXAai/fxMFg+XJYMp rvN6gs5zAUvvyMIOWkJGBkAHl0Re99NlvHxsKS/fUKpCRCRaUUL+8+MufhzM3ZxJyKgM R6YA== 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=DrG8/5Qg3VLHQ4rBl3VkxtRmL0sG7ggltEP5Oel7Qyk=; b=W0genxRenkMZCPYzM+IsLMKjjgv9hwVgiORfaKEewOdfZG92uVmHZVSjJenlKpi4mK RTA8dEmFoC4+2D4YvOgz8xRUqtN7mCzmkIkmEoVzwmZ0Fy8qs4uxia8nlG4dEcC6PnK7 8vzoONuaEiUGmqGFTyl4dwwd6b/ZKJV3KHmvE4et2673pErFZmaExGzl9k7ozNczuIZn Ryq+nJlkyl/WcC305ies5lK3n7x/s1W56UbdK5YTt08Woj0AuDzXDBZ6YbB9Dhp6oDd6 uaaylHNkwTE+OKgf4kWtobN/NS9B2wiyCBeNgi9eUW5tFSBMWH7zKFJuk2pbYqD7fojU zXpg== X-Gm-Message-State: ABuFfoihfULOq0B7rHuawisD4i8gu5Kk2TSIRbDpHDy18dJYH0RhbSd9 TF6Hgngs0AF6+uqjUzjHfMvU4WkyiwGk6fFxhFxTWA== X-Google-Smtp-Source: ACcGV60zLWljZCR3sxTW/zasjR1yrGdjGb9XV5VPOooJRSdHmbgvkbnS7wZjRjIPkGCzxRJGlah5h0WWeH5SwScjsHY= X-Received: by 2002:a1c:4b15:: with SMTP id y21-v6mr4257427wma.122.1538651331585; Thu, 04 Oct 2018 04:08:51 -0700 (PDT) MIME-Version: 1.0 From: Rajesh Kumar Date: Thu, 4 Oct 2018 16:38:40 +0530 Message-ID: Subject: Is there a standard way to check patch before submitting for review or upstreaming? To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 11:08:53 -0000 Hi, Do we have any standard tools/process in FreeBSD to check/validate the patch for basic issues before we submit them for review or upstreaming? Basically, something like checkpatch.pl in Linux. Thanks, Rajesh. From owner-freebsd-hackers@freebsd.org Thu Oct 4 11:16:35 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9CEA10A33DB; Thu, 4 Oct 2018 11:16:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 5C743905D5; Thu, 4 Oct 2018 11:16:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id DC94E2600F1; Thu, 4 Oct 2018 13:16:32 +0200 (CEST) Subject: Re: Is there a standard way to check patch before submitting for review or upstreaming? To: Rajesh Kumar , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org References: From: Hans Petter Selasky Message-ID: <66407016-2998-060c-83c7-b5e771872b4f@selasky.org> Date: Thu, 4 Oct 2018 13:16:03 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 11:16:35 -0000 On 10/4/18 1:08 PM, Rajesh Kumar wrote: > Hi, > > Do we have any standard tools/process in FreeBSD to check/validate the > patch for basic issues before we submit them for review or upstreaming? > Basically, something like checkpatch.pl in Linux. > > Thanks, > Rajesh. Hi, There is something in /usr/src/tools/tools/indent_wrapper . --HPS From owner-freebsd-hackers@freebsd.org Thu Oct 4 14:03:36 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77C9F10AB9E6 for ; Thu, 4 Oct 2018 14:03:36 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F1C0D70136 for ; Thu, 4 Oct 2018 14:03:35 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id w94DwVlL094306 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 4 Oct 2018 15:58:31 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id w94DwQE1094303 for ; Thu, 4 Oct 2018 15:58:26 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 4 Oct 2018 15:58:26 +0200 (CEST) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: ntpd strange problem Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 14:03:36 -0000 what does message mean and how to fix it? ----- Oct 4 15:56:46 <12.5> puchar ntpd[93928]: ntpd 4.2.8p12-a (1): Starting Oct 4 15:56:46 <12.6> puchar ntpd[93928]: Command line: /usr/sbin/ntpd -g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift [root@puchar ~]# Oct 4 15:56:46 <12.6> puchar ntpd[93929]: proto: precision = 0.078 usec (-24) Oct 4 15:56:46 <12.3> puchar ntpd[93929]: restrict: ignoring line 6, mask '::' unusable. Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listen and drop on 0 v4wildcard 0.0.0.0:123 Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listen normally on 1 lo0 127.0.0.1:123 Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listen normally on 2 bridge0 10.0.1.1:123 Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listen normally on 3 bridge1 194.1.144.90:123 Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listen normally on 4 bridge1 194.1.144.91:123 Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listen normally on 5 tun4 10.0.230.1:123 Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listen normally on 6 tun0 10.0.224.1:123 Oct 4 15:56:46 <12.6> puchar ntpd[93929]: Listening on routing socket on fd #27 for interface updates Oct 4 15:56:46 <12.6> puchar ntpd[93929]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ From owner-freebsd-hackers@freebsd.org Thu Oct 4 18:33:10 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC9A510B69D2 for ; Thu, 4 Oct 2018 18:33:10 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50BEC7E8AE for ; Thu, 4 Oct 2018 18:33:10 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pg1-x535.google.com with SMTP id c10-v6so3548564pgq.4 for ; Thu, 04 Oct 2018 11:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0v9XG6CzrCkkpnUqZXwgamDT8gg1gdFnYPsNseIVij8=; b=Qi8x1jAhXLK2++KmIYPRjAk5rQ8hlIcVm3E0040uPTYznBjJbGkDySE061kusjmDTe pvTPb3PEn5jJRb+BS23Q6w0udNJJBKNEwWGfjq+Dwk7Alv+y8IeC5gDa7nQ54+BfWCQr BpGKKff3w6U6d5HMI/Mf90MYdN1id/92MkncAzh96MezQvhE9zLbIsiO3TlgNDSqz4T0 vioSUefvUC6LyeXo2WDoWrEWv78Ekzt/Gzid8zNuhf+UVwiGlUf7ehAbfSTcfzrTZDuG sB/k2ElIg7eCwvw8jjfdoT0fENi/XMqXch7S+mHhCT4iDgdEqfKDBJXiXY0kYJSTQmgm XNbg== 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=0v9XG6CzrCkkpnUqZXwgamDT8gg1gdFnYPsNseIVij8=; b=Z04rPjY0Z13he/Cd4NMTAjX2uCIKKoUGe8jD/yfWpI8Iu9ar/eGIAOZvdXr17JduVI Q81BXiP4jJtpppcM7wtgrIGTjJmkCRbLfkybeKWvcedQvlvCBfAGoybGZmft3l1VewSJ Z7e1sOtUuYdybFVosBRA3ELtvCnKfXuuzWTjDz8YGeWJeJSsqjhe+32HLPZLVeu5f0s0 e3w4ncq2DkNcLEDrlmJ19ANSbW7de4dgn4Zhg2/D2TpAb5SLflt7C9a5IZjbh3iNsZDF m9EAEMdkHbJK1tOl3oN3pSXX7Tb2BpypUEViA0vXKjtjXTT2DTvIdy4aUvvWMCdJmyLc B+xw== X-Gm-Message-State: ABuFfogt5E1G+gNRp8EUDaN4fJ8CPNUE2QmEAB3V0WNJOkTLmtUpt2JE pS9dawyHdOXUiYuXOkweuJRff772IpnR+Qe+5+c= X-Google-Smtp-Source: ACcGV6036lq1T9hRWq2b76HIu8975vU1hutxL4Dvxf1vFtZZs6OUoB/4cAD+XMb7ZgbCEpeur0tMTuE5SZOMGihaGSo= X-Received: by 2002:a63:5021:: with SMTP id e33-v6mr6877907pgb.306.1538677989155; Thu, 04 Oct 2018 11:33:09 -0700 (PDT) MIME-Version: 1.0 References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> <20181003213408.GV5335@kib.kiev.ua> <20181004082137.GC5335@kib.kiev.ua> <20181004092631.GD5335@kib.kiev.ua> In-Reply-To: <20181004092631.GD5335@kib.kiev.ua> From: Gleb Popov <6yearold@gmail.com> Date: Thu, 4 Oct 2018 21:32:41 +0300 Message-ID: Subject: Re: Strange hang when calling signal() To: Konstantin Belousov Cc: freebsd-hackers X-Mailman-Approved-At: Thu, 04 Oct 2018 18:40:46 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 18:33:11 -0000 On Thu, Oct 4, 2018 at 12:26 PM Konstantin Belousov wrote: > On Thu, Oct 04, 2018 at 11:39:21AM +0300, Gleb Popov wrote: > > On Thu, Oct 4, 2018 at 11:21 AM Konstantin Belousov > > > wrote: > > > > > On Thu, Oct 04, 2018 at 10:56:41AM +0300, Gleb Popov wrote: > > > > On Thu, Oct 4, 2018 at 12:34 AM Konstantin Belousov < > kostikbel@gmail.com > > > > > > > > wrote: > > > > > > > > > On Wed, Oct 03, 2018 at 03:18:12PM +0300, Gleb Popov wrote: > > > > > > I failed to extract a reproducing testcase from that test. The > > > extracted > > > > > > code works fine, so either I missed something, or some hidden > > > conditions > > > > > > must be fulfilled for the bug to appear. > > > > > > > > > > > > Maybe I can try to dive into libc myself? Can you give me some > > > guidance? > > > > > Or > > > > > > maybe you just build kdevelop yourself? It is a matter of > handful of > > > > > > commands. > > > > > > > > > > Can you provide me the minimal self-contained set of binaries and > > > shared > > > > > libraries and the instruction to reproduce the issue ? > > > > > > > > > > > > > Pull in all needed depndencies > > > > # pkg install kdevelop gmake cmake git > > > > > > > > Get KDevelop sources > > > > # git clone git://anongit.kde.org/kdevelop.git > > > > > > > > # Build the test executable > > > > # mkdir kdevelop/build > > > > # cd kdevelop/build > > > > # cmake .. > > > > # gmake -j4 test_qthelpplugin > > > > > > > > Run the test executable and see that it hangs > > > > # ./plugins/qthelp/tests/test_qthelpplugin testDefaultValue > > > This is exactly the opposite of 'minimal'. Provide me the tarball > which > > > have just the binary and non-base shared libs needed to reproduce. > > > > > > I am not going to install kde on my crash boxes. > > > > > > > Ok, can do that, but > > > > # ldd ./plugins/qthelp/tests/test_qthelpplugin | wc -l > > > > gives 286. Would that suit you? > As far as all the mess is extracted into a single directory and can be > removed with rm -rf, I am fine. > I understand that you are reluctant to install KDE, but this "mess" can also be removed with just # pkg delete kdevelop # pkg autoremove # rm -rf ~/kdevelop Anyway, I've copied all libraries from ldd output except base ones into a separate dir, copied the test executable, set LD_LIBRARY_PATH to "." aaaaaand the hang doesn't happen. Maybe I did something wrong? From owner-freebsd-hackers@freebsd.org Fri Oct 5 06:18:49 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C844610C37F1 for ; Fri, 5 Oct 2018 06:18:49 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2ED7731B5 for ; Fri, 5 Oct 2018 06:18:48 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id w956IZue018156 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Oct 2018 16:18:42 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id w956IT0u099627 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 5 Oct 2018 16:18:29 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id w956ITxX099626; Fri, 5 Oct 2018 16:18:29 +1000 (AEST) (envelope-from peter) Date: Fri, 5 Oct 2018 16:18:29 +1000 From: Peter Jeremy To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org Subject: Re: ntpd strange problem Message-ID: <20181005061829.GG21091@server.rulingia.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4ZLFUWh1odzi/v6L" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 06:18:50 -0000 --4ZLFUWh1odzi/v6L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-Oct-04 15:58:26 +0200, Wojciech Puchar wrote: >what does message mean and how to fix it? >----- >Oct 4 15:56:46 <12.5> puchar ntpd[93928]: ntpd 4.2.8p12-a (1): Starting =2E.. >Oct 4 15:56:46 <12.6> puchar ntpd[93929]: kernel reports TIME_ERROR:=20 >0x2041: Clock Unsynchronized >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It will take 5-10 minutes for ntpd to synchronise to its upstream servers. Until then, the clock will report that it's unsynchronised. If "ntptime" is still reporting that it's unsynchronised after a long period, you will need to do more troubleshooting. --=20 Peter Jeremy --4ZLFUWh1odzi/v6L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAlu3AjVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzTDgw/+OPwUjNT/cCXw8Jc0FKsYlg88ZZLAl1QZxXdL0CWrfpXdeuwbWKwcwiO9 RQTDU04nlC/y3ryiUZKJXB5etzdPLnzzICupyCTzImb9fJ46b9DyHxgwgeBpOxAW JpufIjpND2eYS9WM78rTUC/HNJt7PSwwkwHtodZMo6c2GGzpc5n+35/6uWNaWVDP zIzvfuW36Y0q2zl/A7npHnbKBwTFsWcJ/urCEA1ojbmZUPj18O3XQSVLhb/iQ3H4 DFT8uPpvwshjsTTZ0uP5x1MIT+ivKw5wpO2Y7+xOKn3pZ2lYCVzRVMwf9jIXR5/P 5sGDsaUI4bAx29DZL0oCycllfrbpkvn/FwvujD+215zH4sTvtR/w5ztCVk49RKm4 pHMGJac6QwwL0Y8ww6Rs7PZy9KLnIWI5hGiX+IK1mQXXn7VB0lqgWIyYp7RTO1RX XseLsXmQP9NNt4vGcsp6bMN53GvW+/IiN8hr1/qFSkjy/NfiFONvwgrH0HPdV+cn mfLGhmfRQoIEUt1+s7F3a5c9L8BAlGH8m6ZYkkGBQKteSWB/luEscAcdc6QK8p3n RBsXIRb8aRXOblkfQ2TQ3B64WWwq3Y02//9gOuIosvJGhPhD95t5Jj1z3rw3cbkW 8/vjnE+x1+zogi/tp8jtQJR7mBrS/INObqBmlGS99Wf4HuyTmUw= =bkvk -----END PGP SIGNATURE----- --4ZLFUWh1odzi/v6L-- From owner-freebsd-hackers@freebsd.org Fri Oct 5 09:24:52 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D91010C7959 for ; Fri, 5 Oct 2018 09:24:52 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F446791DB for ; Fri, 5 Oct 2018 09:24:51 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id w959Omne009746 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 5 Oct 2018 11:24:48 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id w959OhqA009743; Fri, 5 Oct 2018 11:24:43 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Date: Fri, 5 Oct 2018 11:24:42 +0200 (CEST) From: Wojciech Puchar To: Peter Jeremy cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: ntpd strange problem In-Reply-To: <20181005061829.GG21091@server.rulingia.com> Message-ID: References: <20181005061829.GG21091@server.rulingia.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 09:24:52 -0000 >> 0x2041: Clock Unsynchronized >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > It will take 5-10 minutes for ntpd to synchronise to its upstream servers. > Until then, the clock will report that it's unsynchronised. If "ntptime" > is still reporting that it's unsynchronised after a long period, you will > need to do more troubleshooting. yes the problem is that: after starting ntpd time is exactly fine ntpd_sync_on_start=YES ntpd_enable=YES but then while ntpd works, time seems to get out of sync to the extent of normal RTC imprecission - in order of few seconds per day. ntpd seems like not to update time properly. restarting ntpd fixes time again. what should i look at to find a source of problem From owner-freebsd-hackers@freebsd.org Fri Oct 5 12:08:28 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 405FE10A9B57 for ; Fri, 5 Oct 2018 12:08:28 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD1947DB54 for ; Fri, 5 Oct 2018 12:08:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 1947991A8 for ; Fri, 5 Oct 2018 12:08:19 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/1947991A8; dkim=none; dkim-atps=neutral Subject: Re: ntpd strange problem To: freebsd-hackers@freebsd.org References: <20181005061829.GG21091@server.rulingia.com> From: Matthew Seaman Message-ID: Date: Fri, 5 Oct 2018 13:08:10 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 12:08:28 -0000 On 05/10/2018 10:24, Wojciech Puchar wrote: >>> 0x2041: Clock Unsynchronized >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> It will take 5-10 minutes for ntpd to synchronise to its upstream >> servers. >> Until then, the clock will report that it's unsynchronised.  If "ntptime" >> is still reporting that it's unsynchronised after a long period, you will >> need to do more troubleshooting. > > yes the problem is that: > > after starting ntpd time is exactly fine > > ntpd_sync_on_start=YES > ntpd_enable=YES > > > but then while ntpd works, time seems to get out of sync to the extent > of normal RTC imprecission - in order of few seconds per day. > > ntpd seems like not to update time properly. > > restarting ntpd fixes time again. > > what should i look at to find a source of problem Is this a virtual machine or bare metal? VMs tend to have a lot more problems with clock drift -- they lose time when the hypervisor switches them off the CPU. Then if the clock gets more than a certain amount out of sync, ntpd just gives up. You can add: tinker panic 0 to ntpd.conf to make that less likely to happen. If it's bare metal then it sounds like your system clock is running much faster or slower than ntpd can manage to correct. That's a hardware problem, but there are some tunings that may allow ntpd to cope. If you enable a drift file (which I think is enabled by default): driftfile /var/db/ntpd.drift then ntpd will record how fast or slow the clock tends to run so it can immediately account for that across restarts, rather than having to work it out de-novo everytime ntpd gets restarted. Cheers, Matthew From owner-freebsd-hackers@freebsd.org Fri Oct 5 18:01:13 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 842A610B2929 for ; Fri, 5 Oct 2018 18:01:13 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AB628AB4A for ; Fri, 5 Oct 2018 18:01:12 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-lf1-x12b.google.com with SMTP id t22-v6so9953082lfb.7 for ; Fri, 05 Oct 2018 11:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HZzqfZilUEzMcehoBN14mzKLLNWvAbyriHw2SQxEwZs=; b=ql8X5nEU4XvZRuxEIR2vjBO/j+5tK0WzS1envpxDffHD/fiGEuD7juJIdwPSJnC+kI G9Sx+Bl5JPVW9wWO1UvCeAqj9j/okGRK79GwlfSBE2B0ZUCOhCIsvvFgAiP6u6GHlyJ+ 0WB5DAm5m8nPc0k11uQWPevmAgwYeqX+ZU93+AOhJ/ToxlSFH8VvT50tI6cW4G4bBqK3 AXNMd3UQaon50z854xWTkydI9/YXF3U1fqmr6UzOMtdiT7EscLPP/BvWRyBF7L6GZrQ7 9pVS87F+A2bCoT/Xz4hfFSBoD0G1ARyhFZxxRrylGCGlb3iuvPfrDmmuyIGD8CyYqz/r UjoQ== 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=HZzqfZilUEzMcehoBN14mzKLLNWvAbyriHw2SQxEwZs=; b=JYnggRIkeSC4RSFuc+JhUrWUG53HK8+FiF8goBM4VCUFGxhgOkv/P4InGiI64musKR gJU3R1bEY5FDmZdcnekAzB+U8HPH+51pixRLJzqcKoZqVZWEW7XWMObCs8iE+UGk7LQ9 rVk7YGBVdXK6LCdS1JxItLtWW55FrxyEo6qG7tn9JurnD0ZeKOkC/gUH5BeaQjh0dhZj zxMP37C25kRbyjcIkPOkxSfr+k1gMYvS++SF1LwxygsZOs6oUIqM8ztZIIowDhk6+wRH TBDvfcOsR6qi4uJJObTmPF2HGC2ulckLsOeArxgJ2IR9vCoRpv43K+dlDO+CxmzeZWNG UKOQ== X-Gm-Message-State: ABuFfohBlywlFPn/l690XjwPOvRrD2T1gjU7YLqL1h0jIM7m5b6ijVnv SWGUJJKrdEXCiCpMSMRWrMnntnGctTl6m5gkBhYuGASS X-Google-Smtp-Source: ACcGV60DSrs+CJewMAT9tGuBA0yJZ2P0DWv+nmAnrxxD45Ye9SK7Ji7aZUyQBqXFZ2pRaW1iwaqaIsjWqZPF93jXnO0= X-Received: by 2002:a19:cc97:: with SMTP id c145-v6mr7198306lfg.145.1538762471369; Fri, 05 Oct 2018 11:01:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ryan Stone Date: Fri, 5 Oct 2018 14:00:59 -0400 Message-ID: Subject: Re: Contigfree takes too much time that cuases PCIe driver unload to take up to 30 minutes To: steevanxperia@gmail.com Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 18:01:13 -0000 I'm not sure why configfree() would be taking a long time, but configmalloc() can be extraordinarily expensive when it needs to defragment memory to meet the request. Does your application really require a lot of physically contiguous memory? if you can restructure to not require contigmalloc() all -- maybe by using S/G DMA -- you may find your life significantly easier. From owner-freebsd-hackers@freebsd.org Sat Oct 6 18:43:16 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CDD010C2BE1 for ; Sat, 6 Oct 2018 18:43:16 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 057057E990; Sat, 6 Oct 2018 18:43:15 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id w96Ih8ee007662 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 6 Oct 2018 20:43:08 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id w96Ih3id007659; Sat, 6 Oct 2018 20:43:03 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Date: Sat, 6 Oct 2018 20:43:03 +0200 (CEST) From: Wojciech Puchar To: Matthew Seaman cc: freebsd-hackers@freebsd.org Subject: Re: ntpd strange problem In-Reply-To: Message-ID: References: <20181005061829.GG21091@server.rulingia.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 18:43:16 -0000 >> what should i look at to find a source of problem > > Is this a virtual machine or bare metal? VMs tend to have a lot more bare metal. > > driftfile /var/db/ntpd.drift > > then ntpd will record how fast or slow the clock tends to run so it can > immediately account for that across restarts, rather than having to work it > out de-novo everytime ntpd gets restarted. > # cat /var/db/ntpd.drift 35.586 what else can i do? From owner-freebsd-hackers@freebsd.org Sat Oct 6 19:36:20 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46B9610C4524 for ; Sat, 6 Oct 2018 19:36:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x129.google.com (mail-it1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D47C680989 for ; Sat, 6 Oct 2018 19:36:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x129.google.com with SMTP id l127-v6so7190105ith.1 for ; Sat, 06 Oct 2018 12:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=nlu6ZnKQMxcb1/rwe0B8NgmVbWCewRnU3agVc2p8HE0=; b=gV04V/nMNpitSmA3OFMXlYlHe6CZgRvlvv8ii27T+opabHOAGsVLEScR7ZER/v1wq0 WBxI2d85IaDByJSa5HxfyuhlCQpl7mHha+f3ru9LNRKt+bABYO+Afr2ugAceLlFFD5jf lWUCTE7msB0WOqi5a9C0+dV6KeBkB5gJnu0m74KUQYzppu4PTCbYXBwI3vyiBLa9vFvn Ts1yS+BC/nLtiZNQMSSO2/dlDlySdDN/LnKATDWorNlJ8M9jVOfUJEX5Q6OwdEBI2m/t fGyVT9vIDV6UMkoOI7V5GN3RLV6LvmggJfIoe9Mu78I/PWqkg/l20EzShD0hkLUtYAYP /oqQ== 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=nlu6ZnKQMxcb1/rwe0B8NgmVbWCewRnU3agVc2p8HE0=; b=ct9viJv6hOSUbD7s0iHuZYu4dSsx6aArR3xKJT3Kb1j6I20BcKVpHXgMW/xPk48D86 fUntKrrGUKraQ9s5P8yv9jmRU3glel/74KYYTilFvZ7mkMjZ9i47yPP9yUT8Iv7q+/Wt lOeY9uxRLtfJmoeQOA/u18NwYqlDc9vRFZp4E/J37wLQy0BHNgJrVV2WVohbacWpLeSB iqUacKMVx6Fh+35iWkhO/TVd9RpA8K9rt0a2ynZJq6zJKwNm2DOA/WEvgyeAmO7Z5iFS lyw8EUaxsf/OzGEmzJRmEl5jPcJb1A4Sh7brq24FOsypgr1+YgHRjnFTBl2224fWJh30 i+Fg== X-Gm-Message-State: ABuFfogNbPKBhO/iVh7uv2gGC7odjTzPym3CxRuaxe4ZIYMbexfMUOOF iW9bKUC2jlQFP1pT2BPhrBI9fujzHLoRm/4xgeTp/6Z/ X-Google-Smtp-Source: ACcGV61YFRLS0UFNtPffm2+NzNJGJ8CznPT3ALSU+dNStMjrljKf72dZdDW6peTyVyXZCKP4TqkcmhkoNqTmIGTUdeI= X-Received: by 2002:a02:31d:: with SMTP id y29-v6mr13524950jad.98.1538854578803; Sat, 06 Oct 2018 12:36:18 -0700 (PDT) MIME-Version: 1.0 From: Warner Losh Date: Sat, 6 Oct 2018 13:36:07 -0600 Message-ID: Subject: Looking for a python hacker to help me parse dmesg To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 19:36:20 -0000 Greetings, I'm looking for a python hacker to help parse a series dmesg files and produce summary results. Things like counts of different versions, summary of which architectures used, summary of memory on the machines, summary of drivers used. In addition to the one dimensional results, I'd be interested in the cross product of these as well. Please contact me off list if you can be of help. Warner From owner-freebsd-hackers@freebsd.org Sat Oct 6 19:46:01 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BB4010C4910 for ; Sat, 6 Oct 2018 19:46:01 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 123E08117D for ; Sat, 6 Oct 2018 19:46:00 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: 6e6c220d-c9a0-11e8-aed8-99744f00ac98 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 6e6c220d-c9a0-11e8-aed8-99744f00ac98; Sat, 06 Oct 2018 19:45:53 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w96JjptT006341; Sat, 6 Oct 2018 13:45:51 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1538855151.14264.54.camel@freebsd.org> Subject: Re: ntpd strange problem From: Ian Lepore To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org Date: Sat, 06 Oct 2018 13:45:51 -0600 In-Reply-To: References: <20181005061829.GG21091@server.rulingia.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 19:46:01 -0000 On Sat, 2018-10-06 at 20:43 +0200, Wojciech Puchar wrote: > > > > > > > > what should i look at to find a source of problem > > Is this a virtual machine or bare metal?   VMs tend to have a lot > > more  > bare metal. > > > > > > > driftfile /var/db/ntpd.drift > > > > then ntpd will record how fast or slow the clock tends to run so it > > can  > > immediately account for that across restarts, rather than having to > > work it  > > out de-novo everytime ntpd gets restarted. > > > # cat /var/db/ntpd.drift > 35.586 > > what else can i do? The original output you posted showed the time as unsynchronized when ntpd started up. That seems normal to me, it can't be synchronized until ntpd has been running for a while. In a followup message you seemed to say that it doesn't stay synchronized, but you haven't provided much info about that. What's in the logs when it become unsynchronized or when you notice the time is several seconds off? What does the output of ntptime show when the time is drifted off? How about the output of "ntpq -p" and "ntpq -c rv"? What's in your ntp.conf? If you set sysctl kern.timecounter.stepwarnings=1, do you see any warnings about the clock stepping as time drifts out of sync? -- Ian