From owner-freebsd-hackers@freebsd.org Sun Jul 9 19:47:03 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4DFAD93B40; Sun, 9 Jul 2017 19:47:03 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from mail.metricspace.net (mail.metricspace.net [IPv6:2001:470:1f11:617::107]) by mx1.freebsd.org (Postfix) with ESMTP id 94D736AC31; Sun, 9 Jul 2017 19:47:02 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from [IPv6:2001:470:1f11:617:3210:b3ff:fe77:becd] (unknown [IPv6:2001:470:1f11:617:3210:b3ff:fe77:becd]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: eric) by mail.metricspace.net (Postfix) with ESMTPSA id 4030E1924; Sun, 9 Jul 2017 19:46:52 +0000 (UTC) To: x11@FreeBSD.org, freebsd-drivers@freebsd.org Cc: freebsd-mobile@freebsd.org, "freebsd-hackers@freebsd.org" From: Eric McCorkle Subject: Non-synaptics (IntelliMouse) touchpads Message-ID: Date: Sun, 9 Jul 2017 15:46:48 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="w8nLMJpTExfP7s9lpq4TCxBf8kRD3mtbi" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 19:47:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --w8nLMJpTExfP7s9lpq4TCxBf8kRD3mtbi Content-Type: multipart/mixed; boundary="HbUdAnDHRQDqAVhoCo6ppGrJglK6jreIp"; protected-headers="v1" From: Eric McCorkle To: x11@FreeBSD.org, freebsd-drivers@freebsd.org Cc: freebsd-mobile@freebsd.org, "freebsd-hackers@freebsd.org" Message-ID: Subject: Non-synaptics (IntelliMouse) touchpads --HbUdAnDHRQDqAVhoCo6ppGrJglK6jreIp Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable I am trying to figure out whether I need to modify the psm device driver in order to support the touchpad on my laptop (it's one of Purism's Librems, in case anyone is wondering). Specifically, I'm trying to get the two-finger scrolling to work. The touchpad is fully supported on Linux. Based on output from the Linux driver (with extra debugging messages I added in), the touchpad seems to be treated as an IntelliMouse and handled as if it were a wheel-mouse, not a synaptics touchpad. This leads me to believe that the two-finger scrolling must be handled either in the hardware, or in the Linux driver, and appears to X11 as wheel events (rather than a synaptics multitouch event). Are there any existing supported touchpads that work this way, and if so, where can I find the configurations for them? --HbUdAnDHRQDqAVhoCo6ppGrJglK6jreIp-- --w8nLMJpTExfP7s9lpq4TCxBf8kRD3mtbi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQTp6hWnRH4nHb9/QN/kI/o6qzq6mAUCWWKIKxUcZXJpY0BtZXRy aWNzcGFjZS5uZXQACgkQ5CP6Oqs6upiZAgEA9z8svGJHhl9Ai2tLyddSyVJ+9NDQ oNItCV0BTSuat+EA/2znn6kzlNO6oVRZEkPqTgaGQDdipkRCOp4mYqRDi4AO =DCI9 -----END PGP SIGNATURE----- --w8nLMJpTExfP7s9lpq4TCxBf8kRD3mtbi-- From owner-freebsd-hackers@freebsd.org Sun Jul 9 21:04:34 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACC6FD95D87 for ; Sun, 9 Jul 2017 21:04:34 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 83CC370954 for ; Sun, 9 Jul 2017 21:04:34 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id v69L4RP5024091 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 9 Jul 2017 14:04:28 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56] claimed to be yv.noip.me To: Freebsd hackers list From: Yuri Subject: How to see the uncommitted memory size for the process? Message-ID: Date: Sun, 9 Jul 2017 14:04:26 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 21:04:34 -0000 When malloc libraries release memory, they sometimes don't unmap it, but instead call madvise(MADV_DONTNEED). Such memory normally first stays resident, but is later discarded, instead of swapped, when some other process needs more memory. Is there a way to see the amount of committed (vs. uncommitted) memory for the process? Yuri From owner-freebsd-hackers@freebsd.org Sun Jul 9 20:50:42 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCA46D94F9B; Sun, 9 Jul 2017 20:50:42 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp.infotel.ru (corp.infotel.ru [195.170.219.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5A41A6F8E4; Sun, 9 Jul 2017 20:50:42 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp (corp.infotel.ru [195.170.219.3]) by corp.infotel.ru (Postfix) with ESMTP id ACE6A13FB3; Sun, 9 Jul 2017 23:43:28 +0300 (MSK) X-Virus-Scanned: amavisd-new at corp.infotel.ru Received: from corp.infotel.ru ([195.170.219.3]) by corp (corp.infotel.ru [195.170.219.3]) (amavisd-new, port 10024) with ESMTP id dQ9MxA8o_BT5; Sun, 9 Jul 2017 23:43:27 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id 3EA8313F97; Sun, 9 Jul 2017 23:43:27 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id 2D83F60BE82; Sun, 9 Jul 2017 23:43:25 +0300 (MSK) X-Virus-Scanned: amavisd-new at cicgroup.ru Received: from mail.cicgroup.ru ([127.0.0.1]) by mail.cicgroup.ru (mail.cicgroup.ru [127.0.0.1]) (amavisd-new, port 10024) with SMTP id mbzC1rNkLgQ1; Sun, 9 Jul 2017 23:43:23 +0300 (MSK) Received: from [192.168.0.30] (gateway [10.0.2.2]) by mail.cicgroup.ru (Postfix) with ESMTPA id F40F360BE80; Sun, 9 Jul 2017 23:43:22 +0300 (MSK) Subject: Re: Non-synaptics (IntelliMouse) touchpads To: Eric McCorkle , x11@FreeBSD.org, freebsd-drivers@freebsd.org Cc: "freebsd-hackers@freebsd.org" , freebsd-mobile@freebsd.org References: From: Vladimir Kondratyev Message-ID: <0a28d828-d1d6-de7f-0396-68e5938bd351@kondratyev.su> Date: Sun, 9 Jul 2017 23:40:42 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ka7Ih1I5mgLdu4HfORqPskWc1jrcGeJUU" X-Mailman-Approved-At: Mon, 10 Jul 2017 02:45:52 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 20:50:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ka7Ih1I5mgLdu4HfORqPskWc1jrcGeJUU Content-Type: multipart/mixed; boundary="pJGb2IISfILb6IoAjOdf1CnkA7XsK48mp"; protected-headers="v1" From: Vladimir Kondratyev To: Eric McCorkle , x11@FreeBSD.org, freebsd-drivers@freebsd.org Cc: "freebsd-hackers@freebsd.org" , freebsd-mobile@freebsd.org Message-ID: <0a28d828-d1d6-de7f-0396-68e5938bd351@kondratyev.su> Subject: Re: Non-synaptics (IntelliMouse) touchpads References: In-Reply-To: --pJGb2IISfILb6IoAjOdf1CnkA7XsK48mp Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US On 09.07.2017 22:46, Eric McCorkle wrote: > I am trying to figure out whether I need to modify the psm device drive= r > in order to support the touchpad on my laptop (it's one of Purism's > Librems, in case anyone is wondering). Specifically, I'm trying to get= > the two-finger scrolling to work. > > The touchpad is fully supported on Linux. Based on output from the > Linux driver (with extra debugging messages I added in), the touchpad > seems to be treated as an IntelliMouse and handled as if it were a > wheel-mouse, not a synaptics touchpad. This leads me to believe that > the two-finger scrolling must be handled either in the hardware, or in > the Linux driver,=20 Could you attach evemu-record to touchpad`s device file (/dev/input/eventXXX on Linux) to examine type of input events? receiving of REL_* events means hardware processing of "two-finger scrolling" receiving of ABS_* events means software processing of "two-finger scrolling" That can be used as starting point for further investigation. --pJGb2IISfILb6IoAjOdf1CnkA7XsK48mp-- --Ka7Ih1I5mgLdu4HfORqPskWc1jrcGeJUU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEkwnJqomIwH/siVElg2u+IHApX3UFAllilNVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkz MDlDOUFBODk4OEMwN0ZFQzg5NTEyNTgzNkJCRTIwNzAyOTVGNzUACgkQg2u+IHAp X3Ub/ggAlSfFIMI4vnMT+GGvF4QR1dW7zd0tbc/gUHqXco0Jb36sJfwtCrzVlNSv ctrt50xh//CYnEH6yE8EkbHN/fsSyB8AXZumEHWDiRb2EV49Hnl0h+3I+eeJMqie 4N1MM20cK5Jh8Jgj+o45e/g1pvFikwfOT1kfk84x2TRnP7nfHfQtsBt+pyKbBA7Z N2kdIR0NxUgugtlNtAGr1dj2AnxOovU8DRwpOzHoevPOQ37Td9CI/jNFvpuAd0xw i6CD1K3OANPab2bq2X5Vgx2Ywlw0bTAjeds1BEbiu1NHXxe9KO9giAex/2Y4Jm0H hOb3ZomBgauzM+vXvQYDrVe6crnlSA== =kAY9 -----END PGP SIGNATURE----- --Ka7Ih1I5mgLdu4HfORqPskWc1jrcGeJUU-- From owner-freebsd-hackers@freebsd.org Tue Jul 11 08:19:08 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 434E7D98C9E for ; Tue, 11 Jul 2017 08:19:08 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 039B16625F; Tue, 11 Jul 2017 08:19:07 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from [88.198.220.130] (helo=sslproxy01.your-server.de) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1dUqNn-0007Id-6G; Tue, 11 Jul 2017 10:18:59 +0200 Received: from [82.135.62.35] (helo=mail.embedded-brains.de) by sslproxy01.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dUqNm-0003q2-S5; Tue, 11 Jul 2017 10:18:58 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id EBBCC2A004F; Tue, 11 Jul 2017 10:19:13 +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 prqLA_sXUKiY; Tue, 11 Jul 2017 10:19:13 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id AF3C12A1677; Tue, 11 Jul 2017 10:19:13 +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 3yyoCnq11kAr; Tue, 11 Jul 2017 10:19:13 +0200 (CEST) Received: from linux-diu0.suse (unknown [192.168.96.129]) by mail.embedded-brains.de (Postfix) with ESMTP id 8FE6E2A004F; Tue, 11 Jul 2017 10:19:13 +0200 (CEST) From: Sebastian Huber To: freebsd-hackers@freebsd.org Cc: kib@freebsd.org Subject: [PATCH] bitset(9): Fix BIT_FLS() Date: Tue, 11 Jul 2017 10:18:57 +0200 Message-Id: <20170711081857.8059-1-sebastian.huber@embedded-brains.de> X-Mailer: git-send-email 2.12.3 X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.99.2/23551/Mon Jul 10 14:11:07 2017) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 08:19:08 -0000 Its embarrassing, but I got the loop wrong. The iteration index is unsigned, so testing for larger than or equal to zero makes little sense. --- sys/sys/bitset.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/sys/bitset.h b/sys/sys/bitset.h index 1ed19531b3b..566d9448420 100644 --- a/sys/sys/bitset.h +++ b/sys/sys/bitset.h @@ -218,10 +218,10 @@ int __bit; \ \ __bit = 0; \ - for (__i = __bitset_words((_s)) - 1; __i >= 0; __i--) { \ - if ((p)->__bits[__i] != 0) { \ - __bit = flsl((p)->__bits[__i]); \ - __bit += __i * _BITSET_BITS; \ + for (__i = __bitset_words((_s)); __i > 0; __i--) { \ + if ((p)->__bits[__i - 1] != 0) { \ + __bit = flsl((p)->__bits[__i - 1]); \ + __bit += (__i - 1) * _BITSET_BITS; \ break; \ } \ } \ -- 2.12.3 From owner-freebsd-hackers@freebsd.org Tue Jul 11 17:39:05 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4919DA7E5F; Tue, 11 Jul 2017 17:39:05 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from forward12m.cmail.yandex.net (forward12m.cmail.yandex.net [IPv6:2a02:6b8:b030::99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1DBE7EEA0; Tue, 11 Jul 2017 17:39:05 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [77.88.29.84]) by forward12m.cmail.yandex.net (Yandex) with ESMTP id 54C8121BC9; Tue, 11 Jul 2017 20:38:53 +0300 (MSK) Received: from smtp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1p.mail.yandex.net (Yandex) with ESMTP id 0959A1780965; Tue, 11 Jul 2017 20:38:51 +0300 (MSK) Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id p50qcDTnEt-comqbXuF; Tue, 11 Jul 2017 20:38:50 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1499794730; bh=175rnZwAKAYSdJrABSYxJQylFAxB+hgoRgx5P061eMU=; h=From:Subject:To:Cc:Message-ID:Date; b=cdGCCKLPRnFH0I7lCXdWlge0WUHwR2lS1AlMAaNCI0TOZKgLxLmlG2Hs7rblPcm6w ftAbB7ak/4TPbjpjcVvPcT9TVabNKFoepxvRwpK2p0kW85daYEQ67My6ZJuKu609Bm iS2N8oQtTi+qBTjgJMKB6RjKa4PPIeT4b+eYkfpY= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 1022867361,1 0,1 0,1 0 From: Panagiotes Mousikides Subject: Run binary from test suite To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Cc: Kristof Provost Message-ID: <5a7ed4ea-de4c-4f6a-e528-9e3c70722d0c@yandex.com> Date: Tue, 11 Jul 2017 17:38:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 17:39:06 -0000 (Resending due to moderation.) Hello! I'm a Google Summer of Code student, writing some tests for the FreeBSD test suite, and putting them under src/tests. I need to run some binaries, specifically pfctl. How should I call pfctl from my test scripts? Should I call it directly and let the shell find the binary in the path? Or should I find where the build version got created (somewhere under /usr/obj) and call that? How do I find where the binary ended up getting created in that case? Best regards, Panagiotes From owner-freebsd-hackers@freebsd.org Tue Jul 11 17:13:58 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6915DA7176; Tue, 11 Jul 2017 17:13:58 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from forward11p.cmail.yandex.net (forward11p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::bb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1E977DF5E; Tue, 11 Jul 2017 17:13:58 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [IPv6:2a02:6b8:0:801::ab]) by forward11p.cmail.yandex.net (Yandex) with ESMTP id ED222213C4; Tue, 11 Jul 2017 20:13:54 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id E21A33C8109F; Tue, 11 Jul 2017 20:13:51 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4ojvg8lGAh-DpB0P1Qj; Tue, 11 Jul 2017 20:13:51 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1499793231; bh=oDg7eKXtRtHk199Bx/VgMGQVIk9JCwNMHclx0xvKypQ=; h=To:From:Subject:Cc:Message-ID:Date; b=aA6SixtvBhIfsCocjlXKhB4EIYaEU8kcBiB5tBlgXWFiXLcxk8Gff8G8XdwKf8uAb Uvw/gkzV5D8AxKAZg6IIRFl2E9nXE86xlLR8oH5RCYxXzlxqzp93+YoNcVyhu69aqy icHGZYclJC85bJMnjunQ8a0kj/OI5Jf0aHL7v2Ek= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 1022867361,1 0,1 0,1 0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org From: Panagiotes Mousikides Subject: Run binary from test suite Cc: Kristof Provost Message-ID: Date: Tue, 11 Jul 2017 17:13:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Mailman-Approved-At: Tue, 11 Jul 2017 17:52:36 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 17:13:59 -0000 Hello! I'm a Google Summer of Code student, writing some tests for the FreeBSD test suite, and putting them under src/tests. I need to run some binaries, specifically pfctl. How should I call pfctl from my test scripts? Should I call it directly and let the shell find the binary in the path? Or should I find where the build version got created (somewhere under /usr/obj) and call that? How do I find where the binary ended up getting created in that case? Best regards, Panagiotes From owner-freebsd-hackers@freebsd.org Tue Jul 11 18:51:04 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A817FDA9EFA; Tue, 11 Jul 2017 18:51:04 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yb0-x243.google.com (mail-yb0-x243.google.com [IPv6:2607:f8b0:4002:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6615B820E9; Tue, 11 Jul 2017 18:51:04 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yb0-x243.google.com with SMTP id n205so47400yba.1; Tue, 11 Jul 2017 11:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=eJuAQlIcl8eru/MHSqFooVhEGf5g7sGWiCPr09mytBA=; b=qIUdfRglr5w8a7xBOxV12ppVSiVErJRfPI171WrUpkMD/YPKQXAG/FNbpzM8yNYmXx y4Bzz8CTgV4Fh7R8HEGhaVxxfj4EYUvrtGDvVb3nAnaO5O8c3JBGY9mEq2DCqtnbJJzj doSazkIZITjkBbjvxzuGXzo37MPPr03AtfzX9ecXQIauY1XF6KNCxDrQOTyiFu7B89/H hk3Dq8g7rMRnVaG7oghgVBd7cZg1FaaD9N1z9OOi5gHVff22FQuQY3l7T0hF/ljrR2hs 4kyuYy7CkWKxJbB2eE7vTtruM68pSdyikn363fVhx/XRKldpNiF60i5HJGtVo4AE5YtN MjfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=eJuAQlIcl8eru/MHSqFooVhEGf5g7sGWiCPr09mytBA=; b=Qe6bWAFfL+GBHlmFXD2a9Jk9lMReEpk0ibx7u60FNWOL4jrMwzKealxO98hlKaE/u5 EPG4JDYnJTY0huefbPuE8m/fja5yls8C8/LdjO6BbXT02PF/XfAXOdTaQ4krAHhGdUL7 aPmhIpMo7VMVWzO/IK+solEjJtZ5cxJKRBNtWRAxpLNyY9wO4QBOhgi914TPVgKUz0j9 /KKznoNiP/zCkxweLdaCWqDONPsDXhWAoolXgdJJ1jF2+psbMPkgqAr0UED8ph/BgrHA Yxn3OhRjKtSsmE52dVI47pghQ1nOtyzfVhE290xamRHapU+WKk8aYthWl+6DvZU7UMzG dK8w== X-Gm-Message-State: AIVw111E4N6f8ET90sdMTx4w8X5fFLGaJKriarbw4fKFmNsjI8gu7g++ clcIHZwEGCq1o/uFmyPHlKXjJzex0g== X-Received: by 10.37.219.208 with SMTP id g199mr37985ybf.195.1499799063562; Tue, 11 Jul 2017 11:51:03 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.13.243.135 with HTTP; Tue, 11 Jul 2017 11:51:03 -0700 (PDT) In-Reply-To: References: From: Alan Somers Date: Tue, 11 Jul 2017 12:51:03 -0600 X-Google-Sender-Auth: UleoGt4k4oZ4Y-Dq742qiiiol3o Message-ID: Subject: Re: Run binary from test suite To: Panagiotes Mousikides Cc: "freebsd-hackers@freebsd.org" , FreeBSD CURRENT , Kristof Provost Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 18:51:04 -0000 Are you using pfctl at build time or does your ATF test script need it? I'm assuming the latter. In that case, it's fine to call it directly. Your PATH will be correctly configured. Don't use /usr/obj, because that may no longer exist by the time somebody is running the ATF test. -Alan On Tue, Jul 11, 2017 at 11:13 AM, Panagiotes Mousikides wrote: > Hello! > > I'm a Google Summer of Code student, writing some tests for the FreeBSD test > suite, and putting them under src/tests. I need to run some binaries, > specifically pfctl. > > How should I call pfctl from my test scripts? Should I call it directly and > let the shell find the binary in the path? Or should I find where the build > version got created (somewhere under /usr/obj) and call that? How do I find > where the binary ended up getting created in that case? > > Best regards, > Panagiotes > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Tue Jul 11 20:05:44 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81E6FDAB416; Tue, 11 Jul 2017 20:05:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DAA46511E; Tue, 11 Jul 2017 20:05:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-qk0-x232.google.com with SMTP id p21so2444506qke.3; Tue, 11 Jul 2017 13:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ODgtcEI4h7Nqg3RhE7UzTxkmTdT5+lW+gS08gndSpWE=; b=TYt19qpyE5mT6EwpLaD2bBX07834uKrCEJbO1uVPOm6y3dc8hkbRUyA0d/wIhknkls uCg09+3XAa42PHcMhv2R1vDZ6zqDq0mM80ug6Fw5GA5ndLwYaoxYGXDGr/WvWF6ZiUVp wVnBWPOnPj/g1X8g+ovknsybR0569OS91EpGKzKBOL6L498rlldc4sB4bR22NZKX6kXp C3/YBEsS4sfOXVyC2bosj9DpNjqgNoClJYdbnU4grrEV2roQzpmQT1AEYS4aqPlWZoTO DK3UacCr7E11E+JQXI2iKZqJ4chdpTusuyb+xk3DhXMKVhqcigHvXy37SrJHashd3APY YY1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ODgtcEI4h7Nqg3RhE7UzTxkmTdT5+lW+gS08gndSpWE=; b=ss6AureIFn+SalXKQEIUc75C++N3X8s8sBKXIpMW+tvpv9n5JmsH4p6rgIsn3gSsd4 7ff5GSUy0NCM/gorkaxBsJxcbOttM750Vz9oTt3dGYiXm3pG/4zqDnvyxNDsnWCdIR9j /hELTexKjzSLYCzKLoIHDUnr1RsGUZLhwRIEvwXtMWdDnop1RBs6Kk658IiWgoDbe+n2 ncnnIDdLU7glyCipnUCoyWpmfmbRj8Bj4CPoUmI4NsKoyhDRkd7fya4db4qWGmzkoCuS ewM/PdniDsdVrFbt3V4XPf4zvZHXdJk+SDdN/NmAAptE/Xz9QCGvdH8BvHn6mqt3WPRm crrg== X-Gm-Message-State: AIVw1139c46ezN317aEKoizDv40bY9eOcL27y6o++NUAKUCNSSIJ/c/+ wdXe9d1M/wtvzBKEyE/JWiiKWw6TAQ== X-Received: by 10.55.21.223 with SMTP id 92mr2091978qkv.199.1499803543368; Tue, 11 Jul 2017 13:05:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.92.142 with HTTP; Tue, 11 Jul 2017 13:05:42 -0700 (PDT) In-Reply-To: <5a7ed4ea-de4c-4f6a-e528-9e3c70722d0c@yandex.com> References: <5a7ed4ea-de4c-4f6a-e528-9e3c70722d0c@yandex.com> From: Ngie Cooper Date: Tue, 11 Jul 2017 13:05:42 -0700 Message-ID: Subject: Re: Run binary from test suite To: Panagiotes Mousikides Cc: "freebsd-hackers@freebsd.org" , FreeBSD Current , Kristof Provost Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Tue, 11 Jul 2017 20:31:24 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 20:05:44 -0000 On Tue, Jul 11, 2017 at 10:38 AM, Panagiotes Mousikides wrote: > (Resending due to moderation.) > > Hello! > > I'm a Google Summer of Code student, writing some tests for the FreeBSD test > suite, and putting them under src/tests. I need to run some binaries, > specifically pfctl. > > How should I call pfctl from my test scripts? Should I call it directly and > let the shell find the binary in the path? Or should I find where the build > version got created (somewhere under /usr/obj) and call that? How do I find > where the binary ended up getting created in that case? > > Best regards, > Panagiotes Hello Panagiotes, Please call pfctl from $PATH -- don't hardcode the path, ever. I'll be looking at making "make check" more developer friendly in the next 3-6 months, so running "make check" from usr.sbin/pf/... will automatically add a set path/environment which hooks in to *.test.mk. The goal of this is to simplify developer use for "make check". Also, if the tests (for whatever reason) aren't going to be installed alongside pfctl, e.g., tests/sys/pf/... please add 'atf_set "require.progs" "pfctl"' to the header to ensure that the test is skipped if/when pfctl isn't installed on the system. Cheers, -Ngie From owner-freebsd-hackers@freebsd.org Wed Jul 12 14:16:28 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5005CD987EE for ; Wed, 12 Jul 2017 14:16:28 +0000 (UTC) (envelope-from sam.houston.peterson@gmail.com) Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AAAD6408F for ; Wed, 12 Jul 2017 14:16:28 +0000 (UTC) (envelope-from sam.houston.peterson@gmail.com) Received: by mail-vk0-x22e.google.com with SMTP id f68so9940809vkg.2 for ; Wed, 12 Jul 2017 07:16:28 -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=kWhVg21OrsmF8aWebFISiAEX4oE1UTc2OGU72kP4B2s=; b=jwzDlE3PRv6OPKeL/awSOE6mILCGm2AZpWyAfEp5vzkVVDgbwuvor1EqZONUJuvNAx tPC9N46rED8FK8cY7tRd6WcrU9yWLAaplTZRzm72q4rHPiR+jSxhHyqvoZc9VCYct9LN 29PjrAqAyAJ199slutpnrqaEzW/fEBZ99t/aWxnWw26+8vNaoHx2TQzVQqmzdxKdBnki kInK8HkSEjMCU2hN33WHbTnes8RMvkSALzeUmdZ5e+WcwHrzZSIR0XsoVsf8lNCkrlqK +kUCMvG9lPxkMxyOFOj4ioWBNYguwUDrg3zTqey9yD4mnHw3Qce/MRL7jOX42UCFl6fl l5gw== 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=kWhVg21OrsmF8aWebFISiAEX4oE1UTc2OGU72kP4B2s=; b=mUjIf9sjmS3E6Wwny/uAvZmA8lz5R+XasX7qI7H3LQzYGQfzNcU0qKG0a/lWKJDw3L hBAroo/ML4fXVFZmDozRoI+rGqy1PJj0WSc60uspYJQUBSZtMT1CRo3VOviZzezqiYs2 i71hpX/+O81FQsuBCSnk36OXsyBm5x1+dae+mHeXVZLo4bCENmHkMcnSNjy3HH67phjf 5dy4n8e+fdp5DC/p4+9yzfjXyrylxnQQA5NmW9wMHmBbw9sEgTrJaKh7+K+QJVcDK6is V73URVNCWzAXWR+ui/b1DeHmB+AtyoT6ctqf+pruzPJI6R/yLLXuSS0zgjmMJldjuTeT ohlg== X-Gm-Message-State: AIVw110oLJl9+wT1u3I6eJqCr0eAoOglgtc3xTOfMzUcN0BYmp83kBBs oiRxjxm0PSoKo2QLRDpGpwgCE/hTbd/x X-Received: by 10.31.86.70 with SMTP id k67mr1510194vkb.112.1499868987022; Wed, 12 Jul 2017 07:16:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.39.72 with HTTP; Wed, 12 Jul 2017 07:16:26 -0700 (PDT) From: Samuel Peterson Date: Wed, 12 Jul 2017 16:16:26 +0200 Message-ID: Subject: Status of Junior Jobs Wiki To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 14:16:28 -0000 Hello, About a month ago I finished and submitted a patch to a project described in the wiki: https://wiki.freebsd.org/JuniorJobs (it is the kernel project about file descriptor tables). After submission to the listed contact, and a follow up email a week later I have yet to receive a reply or a confirmation of the patch being received. My question is the following: does anybody know the status of the wiki, or the people in the technical contact lists? It's fine if it is just taking a while for my submission to be handled, but if there is somebody else in freebsd team to whom I should submit my patch I would like to know.. Thanks, Samuel Peterson From owner-freebsd-hackers@freebsd.org Wed Jul 12 15:50:32 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99F93D9B921 for ; Wed, 12 Jul 2017 15:50:32 +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 7602467DBF for ; Wed, 12 Jul 2017 15:50:32 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 36AF413E3F for ; Wed, 12 Jul 2017 15:50:25 +0000 (UTC) Subject: Re: Status of Junior Jobs Wiki To: freebsd-hackers@freebsd.org References: From: Allan Jude Message-ID: Date: Wed, 12 Jul 2017 11:50:21 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BiDJFsUoMeLLiUCf2lRpvmOqGL9o0LOPE" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 15:50:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BiDJFsUoMeLLiUCf2lRpvmOqGL9o0LOPE Content-Type: multipart/mixed; boundary="fsdEtpaMJmC3CwDuANblHj7526urb7I7c"; protected-headers="v1" From: Allan Jude To: freebsd-hackers@freebsd.org Message-ID: Subject: Re: Status of Junior Jobs Wiki References: In-Reply-To: --fsdEtpaMJmC3CwDuANblHj7526urb7I7c Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2017-07-12 10:16, Samuel Peterson wrote: > Hello, >=20 > About a month ago I finished and submitted a patch to a project describ= ed > in the wiki: https://wiki.freebsd.org/JuniorJobs (it is the kernel proj= ect > about file descriptor tables). After submission to the listed contact,= and > a follow up email a week later I have yet to receive a reply or a > confirmation of the patch being received. >=20 > My question is the following: does anybody know the status of the wiki,= or > the people in the technical contact lists? It's fine if it is just tak= ing > a while for my submission to be handled, but if there is somebody else = in > freebsd team to whom I should submit my patch I would like to know.. >=20 > Thanks, > Samuel Peterson > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" >=20 mjg@ is active, but I am not sure much time he has at the moment. Can you post the patch to https://reviews.freebsd.org/ or https://bugs.freebsd.org/ and reply here with the link, and I'll make sure it gets in front of the right people. --=20 Allan Jude --fsdEtpaMJmC3CwDuANblHj7526urb7I7c-- --BiDJFsUoMeLLiUCf2lRpvmOqGL9o0LOPE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJZZkVAAAoJEBmVNT4SmAt+dAEP/ia9VMQSjyZ3/0WgKOIHkvAj tCD2q4lzV1sGq3hiXBAH4dziVlHA3MWEnB1pfmikPzswTfycI69p6IEMgwP0QPKe cX5A9mLZ6akmFap987HpVRMn/3QC82ypfUKNR7AU88yS8dWcsHxnlCT7/B8o/Lpy YaeousHNMOOG5MYTUoJiP9jq/hs/QpY7oZfoz+DTaqqz+Qbi0d1mF/nQ4ySNwIm8 LVJRlYztsnUyJNEklvAFIsQ+mDrtEz0kbU0KxqxZTp+YvvlGlwqHTU68Q9N60hET Um8qPcXIW1+c3ew8/dLC0hjaP/mZYbOON6qx3UNPiUn5sgvv2w4FlPyhcrvp7T3x rQSRD7Y1cCv3zaBWQV5Rwav249FtsJ6TGvwXqcakAARsqk3ifa4krYFMtrMA8xm6 vwm1mUtx+EvliR/c/0XRAAMDMpwvdaQ36vBHXagV2Zomz+0wLAKv+ijfGShk/b4r 9A6HEgKuZSSroE+3rX1DpNJrLjGnbVbQTeAK9Ul+8VZucTdQWX4E0pHzVfuaQePW y1zgz1A24b5WUmc2b6dkXjtCXqUX5lb6Tn3cDTCn05VbmpeRmNB2HjV03Rabgkri yntFrxdRJG+CY0M6SaMxX6MaW3LfMMSHRU+M6/8g/gfkBnyi3SL37UB7jJDdjCxy UAcXr+BolnpW/NdY4mSb =Dw+q -----END PGP SIGNATURE----- --BiDJFsUoMeLLiUCf2lRpvmOqGL9o0LOPE-- From owner-freebsd-hackers@freebsd.org Wed Jul 12 17:01:49 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E96CD9D7F8; Wed, 12 Jul 2017 17:01:49 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from forward12p.cmail.yandex.net (forward12p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::ba]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48FFB6E7EE; Wed, 12 Jul 2017 17:01:48 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from smtp1m.mail.yandex.net (smtp1m.mail.yandex.net [77.88.61.132]) by forward12p.cmail.yandex.net (Yandex) with ESMTP id E086122E3E; Wed, 12 Jul 2017 20:01:45 +0300 (MSK) Received: from smtp1m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1m.mail.yandex.net (Yandex) with ESMTP id 2551663C0E22; Wed, 12 Jul 2017 20:01:43 +0300 (MSK) Received: by smtp1m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id nPLxJsHdzM-1JTiVlKc; Wed, 12 Jul 2017 20:01:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1499878879; bh=6yePZuLwbuPkurQCMzubbLBYDcZzXKWlStZxag1sqNs=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=p82s7jlcUUUd3TwPu0jSdd/kvxhOr2rZKRxsls3GhDib2z7mmwddSFqkWIK19aFwN mWtZ6LS1tHQ0WH1df0jh9W4e/VBh8S5yE3h4DBGJ/baGwN9g0yQrlRAqSixMH0/rRb RM8x9jVDJfVCxHxjLWClUy6we2hMImuRkuq11Bhk= Authentication-Results: smtp1m.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 1022867361,1 0,1 0,1 0,1 0 Subject: Re: Run binary from test suite To: Ngie Cooper Cc: "freebsd-hackers@freebsd.org" , FreeBSD Current , Kristof Provost References: <5a7ed4ea-de4c-4f6a-e528-9e3c70722d0c@yandex.com> From: Panagiotes Mousikides Message-ID: <536264c1-9caa-48dd-7fb2-dfede17f5e3c@yandex.com> Date: Wed, 12 Jul 2017 17:01:19 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 17:01:49 -0000 Den 2017-07-11 kl. 20:05, skrev Ngie Cooper: > On Tue, Jul 11, 2017 at 10:38 AM, Panagiotes Mousikides > wrote: >> (Resending due to moderation.) >> >> Hello! >> >> I'm a Google Summer of Code student, writing some tests for the FreeBSD test >> suite, and putting them under src/tests. I need to run some binaries, >> specifically pfctl. >> >> How should I call pfctl from my test scripts? Should I call it directly and >> let the shell find the binary in the path? Or should I find where the build >> version got created (somewhere under /usr/obj) and call that? How do I find >> where the binary ended up getting created in that case? >> >> Best regards, >> Panagiotes > Hello Panagiotes, > Please call pfctl from $PATH -- don't hardcode the path, ever. > I'll be looking at making "make check" more developer friendly in the > next 3-6 months, so running "make check" from usr.sbin/pf/... will > automatically add a set path/environment which hooks in to *.test.mk. > The goal of this is to simplify developer use for "make check". > Also, if the tests (for whatever reason) aren't going to be > installed alongside pfctl, e.g., tests/sys/pf/... please add 'atf_set > "require.progs" "pfctl"' to the header to ensure that the test is > skipped if/when pfctl isn't installed on the system. > Cheers, > -Ngie > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Hi Ngie! Thanks a lot for your reply! I will change the tests to call pfctl from PATH. The tests in question are for the pfctl binary, so I'm going to move them from src/tests/sbin/pfctl to src/sbin/pfctl/tests. Also, how should I utilize 'make check'? What I currently do is 'make' and 'make install' from src/sbin/pfctl/tests, and then 'kyua test' from either the same directory or from /usr/tests/sbin/pfctl. Best regards, Panagiotes From owner-freebsd-hackers@freebsd.org Wed Jul 12 17:02:18 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 575C3D9D8D1; Wed, 12 Jul 2017 17:02:18 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from forward19p.cmail.yandex.net (forward19p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::aa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FDAE6EA50; Wed, 12 Jul 2017 17:02:18 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward19p.cmail.yandex.net (Yandex) with ESMTP id 553C7216C2; Wed, 12 Jul 2017 20:02:15 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id B7BC51300996; Wed, 12 Jul 2017 20:02:11 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id BY5aiKunQl-2A90tKHd; Wed, 12 Jul 2017 20:02:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1499878930; bh=J4Detb1G1GpRZwjo/KNiwsfN944xqr1BtHh7nC/Wy8Y=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=u4RIjkq1BOXfqZ4K3qSuDQROJiLdQYcZbvh3UT+p1L5FZFm65sGSOc9hh59aoTDhL +i5Cx89coiLgpHpuFwhwEUx4tz09oFeMFfhjS23Ifz8HE2iEh5sP6z9+F1JaaYAhqT cE1vGFqJkzTD8o+8ahHcPbJ611ncgTqnllw1eOWw= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 1022867361,1 0,1 0,1 0,1 0 Subject: Re: Run binary from test suite To: Alan Somers Cc: "freebsd-hackers@freebsd.org" , FreeBSD CURRENT , Kristof Provost References: From: Panagiotes Mousikides Message-ID: <8d53af55-1e24-fc2b-fabe-f5e32b8b3255@yandex.com> Date: Wed, 12 Jul 2017 17:02:09 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 17:02:18 -0000 Den 2017-07-11 kl. 18:51, skrev Alan Somers: > Are you using pfctl at build time or does your ATF test script need > it? I'm assuming the latter. In that case, it's fine to call it > directly. Your PATH will be correctly configured. Don't use > /usr/obj, because that may no longer exist by the time somebody is > running the ATF test. > -Alan I see, thanks a lot for the input! I will change my tests to call pfctl from PATH. Best regards, Panagiotes > > On Tue, Jul 11, 2017 at 11:13 AM, Panagiotes Mousikides > wrote: >> Hello! >> >> I'm a Google Summer of Code student, writing some tests for the FreeBSD test >> suite, and putting them under src/tests. I need to run some binaries, >> specifically pfctl. >> >> How should I call pfctl from my test scripts? Should I call it directly and >> let the shell find the binary in the path? Or should I find where the build >> version got created (somewhere under /usr/obj) and call that? How do I find >> where the binary ended up getting created in that case? >> >> Best regards, >> Panagiotes >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Wed Jul 12 18:00:43 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E45CD9F4E5 for ; Wed, 12 Jul 2017 18:00:43 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EA03A70D5B for ; Wed, 12 Jul 2017 18:00:42 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: by mailman.ysv.freebsd.org (Postfix) id E9039D9F4E4; Wed, 12 Jul 2017 18:00:42 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8A8ED9F4E1 for ; Wed, 12 Jul 2017 18:00:42 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mail.michaelwlucas.com (mail.michaelwlucas.com [104.236.197.233]) (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 AF25470D59 for ; Wed, 12 Jul 2017 18:00:42 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mail.michaelwlucas.com (localhost [127.0.0.1]) by mail.michaelwlucas.com (8.15.2/8.15.2) with ESMTP id v6CI0XOV062075 for ; Wed, 12 Jul 2017 14:00:34 -0400 (EDT) (envelope-from mwlucas@mail.michaelwlucas.com) Received: (from mwlucas@localhost) by mail.michaelwlucas.com (8.15.2/8.15.2/Submit) id v6CI0XZk062074 for hackers@freebsd.org; Wed, 12 Jul 2017 14:00:33 -0400 (EDT) (envelope-from mwlucas) Date: Wed, 12 Jul 2017 14:00:33 -0400 From: "Michael W. Lucas" To: hackers@freebsd.org Subject: gjournal(8) vs /dev/gpt Message-ID: <20170712180033.GA62032@mail.michaelwlucas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.michaelwlucas.com X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mail.michaelwlucas.com [127.0.0.1]); Wed, 12 Jul 2017 14:00:34 -0400 (EDT) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 18:00:43 -0000 Hi, Running FreeBSD storm 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r320894: Tue Jul 11 14:24:19 EDT 2017 root@storm:/usr/obj/usr/src/sys/GENERIC amd64 Setting up a gjournal partition. I run # gjournal label -f /dev/gpt/var According to the docs, I expect to get /dev/gpt/var.journal. Instead, /dev/gpt/var vanishes. I do find the missing device, though... attached to a /dev/diskid node. # gjournal list Geom name: gjournal 2129627395 ID: 2129627395 Providers: 1. Name: diskid/DISK-WD-WCAW36477062p5.journal Mediasize: 52613348864 (49G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: diskid/DISK-WD-WCAW36477062p5 Mediasize: 53687091200 (50G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2148532224 Mode: r1w1e1 Jend: 53687090688 Jstart: 52613348864 Role: Data,Journal I would *expect* the device to appear as part of the device node I created. There's no warning in the man page that it'll get moved over to /dev/diskid. If I disable diskid and gptid, the journal appears on da3p5.journal. Should I be able to gjournal GPT devices? Is this a software bug or doc bug? Or am I reading the wrong doc? Thanks, ==ml -- Michael W. Lucas Twitter @mwlauthor nonfiction: https://www.michaelwlucas.com/ fiction: https://www.michaelwarrenlucas.com/ blog: http://blather.michaelwlucas.com/ From owner-freebsd-hackers@freebsd.org Wed Jul 12 19:05:25 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10F47DA0D7D for ; Wed, 12 Jul 2017 19:05:25 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:375::1:5]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB0EB736A2 for ; Wed, 12 Jul 2017 19:05:24 +0000 (UTC) (envelope-from Alexander@leidinger.net) Date: Wed, 12 Jul 2017 21:05:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1499886323; bh=KJyT9/hVxDHgG+J9wvCMdG+SKEDe2sD9VWgAteuXcys=; h=Date:From:To:Subject:In-Reply-To; b=Sk+9pralMnj/Ex4Y1oNdzRKrtNV4M4ejmTK1R2ZkNNc6fGWNFIQ2cNzvs+hvPE/M6 PESUHk3r1bJy1ilHzMrv09TbpDyhWOXpJoRily+Xo2XC0/as9vMcOIOH3SiuLivjHb 0Rltc1zGQlnTk7Z5w4/p7OtLSgPvq6gs3WLlkGlornikaKqSSCUG0+as0vX6iTsooM DfA8YCW5qldySer9o3gkBa30BEq6kv+GWE93g/+ko99OTA5Hil56/avxG44CUKvGy8 dmTkK1tBOB4liDUUzfCtwIdwBbxUe/dt93lC3rvG8TWzSBfIk7KpieSzw4wjb8fN9H MUo7rLTxgNmuQ== Message-ID: <20170712210512.Horde.AZxlJX-IkN7SIDxizq_Sr9E@webmail.leidinger.net> From: Alexander Leidinger To: freebsd-hackers@freebsd.org Subject: Re: gjournal(8) vs /dev/gpt In-Reply-To: <20170712180033.GA62032@mail.michaelwlucas.com> User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_MwQxdaZFk-R4-nY7y-kLEsV"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 12 Jul 2017 20:41:28 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 19:05:25 -0000 This message is in MIME format and has been PGP signed. --=_MwQxdaZFk-R4-nY7y-kLEsV Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting "Michael W. Lucas" (from Wed, 12=20=20 Jul=202017 14:00:33 -0400): > Hi, > > Running > > FreeBSD storm 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r320894: Tue Jul=20=20 >=2011 14:24:19 EDT 2017 root@storm:/usr/obj/usr/src/sys/GENERIC=20=20= =20 >=20amd64 > > Setting up a gjournal partition. I run > > # gjournal label -f /dev/gpt/var > > According to the docs, I expect to get /dev/gpt/var.journal. Instead, > /dev/gpt/var vanishes. I do find the missing device, > though... attached to a /dev/diskid node. [...] > I would *expect* the device to appear as part of the device node I > created. There's no warning in the man page that it'll get moved over > to /dev/diskid. > > If I disable diskid and gptid, the journal appears on da3p5.journal. > > Should I be able to gjournal GPT devices? Is this a software bug or > doc bug? Or am I reading the wrong doc? Don't we have a generic non-deterministic issue in the way geom=20=20 providers=20are probed/detected/presented, e.g. if no *id provider is=20=20 disabled,=20a ZFS array may present parts with gptid, some with diskid=20= =20 and=20so on? This would then be just another instance of this issue=20=20 showing=20up. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_MwQxdaZFk-R4-nY7y-kLEsV Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJZZnLoAAoJEKrxQhqFIICEjoQP/iP5D6/CeOnjPowlOtGx75Ue 6iYw8QX5AOpkZu2oj019kG2DUIYbe6GNmLqpEC2FEfBwom6q0GK/Fmw1UcOheWGB uEjhxul7Xz6ZGXtTRhVdRuuWaUg0z8MGJdePKlIAz5hZkr75uq7sfECTpCnC2527 Nh/2FU37kHfCR0s3B5iRpFIvi44ZNQdJQjIyK/49UUU5rwCBVa5pHeaWFgL9yJsu HjiQsJOM22vF3SlBU0eIaoX3Yjv7We+c3EoQMdDTQQPF87Y1RDr8m04cJFalhFqt spaSlH7YSP+P45ennEz1Yvsa9mx6MEk5dJAibRrrXHtxjoIffWXHrCwUZvTQQWeb aLhbHr4ckvR30qa2ENuS++ptZJ4czhKKysLEKlhro+D1Z7kKF4yMy/e619piP0IA imxbs18gE99EiQG8deGpos1h4MC1FhYU6s3ztug8CsnVvRhbxdfkP60GVfYeoFMK KfpH7AnSjplHa4fla09w8eMvmo43HC0cOeMuUDefrJwvxqvBJbyU5clR5GF9u+7z k/IyWQa2NzTQp4+uQ9hmRzsN2xHonadOYJwTds2gEtYi0EIg4vGg3jH0Yb9AJ3Xc FFEqRaMqphyNAHAexlD5zlY5QOzqnzGpSxytyGl2EfrrYr1CPxlATCH3fsJG2j3m NKKp/KuAbG9y83a5db40 =x5dS -----END PGP SIGNATURE----- --=_MwQxdaZFk-R4-nY7y-kLEsV-- From owner-freebsd-hackers@freebsd.org Thu Jul 13 21:01:58 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1ADB1DADC5B for ; Thu, 13 Jul 2017 21:01:58 +0000 (UTC) (envelope-from sam.houston.peterson@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A623D3E1C for ; Thu, 13 Jul 2017 21:01:57 +0000 (UTC) (envelope-from sam.houston.peterson@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id f67so4440943wmh.1 for ; Thu, 13 Jul 2017 14:01:57 -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=uGKO/36R+r60i1MwIqJ3Oc9IOv/PUNNWfApUtM9SCZI=; b=DWjbYKY042nayrg5EnY/RqEQahRAjDZMwngDGWb7WZXZARWp2tlb/J1zy/74xI/9Hw atJEwcKPG1raeDNUsokQw0h4AU37aQKlJWWhjnLuKwCHbobn6Qf+QgnixzbAdHzVhfMA Qi96m+LHP/u5/3RzKLfD0NQ8lnPM5+Boe9Rm94s+VSKJuLW1b9kLT+Rn4Vg4iZFwEEac t2xJvio3gpndrnaDZ1ZiM3anaxEQVDFg/MsdUIVQghsyuA2/fush2X3e4+WPbw3myuh9 pbpVpRoHMx/ohToPcGb7R2P/fT2AsT7BKnP1R8xJN/Tx7m8xXTtmQRYgkFnpRUPnrQJc aAEw== 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=uGKO/36R+r60i1MwIqJ3Oc9IOv/PUNNWfApUtM9SCZI=; b=FKsn/3jwGE1EJt6RS9uVoAOuU94vXGddp80DxpUo+ymQFMEEGrBwPQeRKhUXDzDKpx GQeC8e74bsAiyyX1xTOHWrPYbS6Surz4d5Qllt+4YsJ0LJaNLDsCg98a+Hz5mr1CX0sI QXRnqdxbocO0Zv2m8PWEcq8scygWS6QZ/XW0qDB16MnwE0Qp40mV1E0juKugwr6u7zdW 1XxWeyevNjJv1LcQVuu9KUHxrOtWrQvh/PKcTP712KrcFGdFMF3K3QSHaxozIaJE42TT lll8J5O0WqFYYcRP9v547PnsLOP7AllqV8e49TEXl1SB9OdQ3GTw/gJb72DtYjlOGyNj nJBw== X-Gm-Message-State: AIVw110zMVDNsxejWmP2fnIM0ULRfj4sR6nRksoY00IguLE5j5kjQcPL TmxTx0O3nC6f5JglwU9o4ZTtaIGfUb2t X-Received: by 10.80.172.197 with SMTP id x63mr4311512edc.4.1499979716009; Thu, 13 Jul 2017 14:01:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.240.30 with HTTP; Thu, 13 Jul 2017 14:01:55 -0700 (PDT) From: Samuel Peterson Date: Thu, 13 Jul 2017 23:01:55 +0200 Message-ID: Subject: Re: Status of Junior Jobs Wiki To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 21:01:58 -0000 > mjg@ is active, but I am not sure much time he has at the moment. > > Can you post the patch to https://reviews.freebsd.org/ or > https://bugs.freebsd.org/ and reply here with the link, and I'll make > sure it gets in front of the right people. > > -- > Allan Jude Hi Alan, Here is the link: https://reviews.freebsd.org/D11585 Thanks! Samuel Peterson From owner-freebsd-hackers@freebsd.org Sat Jul 15 12:56:28 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AAC5AF9CB2 for ; Sat, 15 Jul 2017 12:56:28 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 024226F88A for ; Sat, 15 Jul 2017 12:56:28 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: by mailman.ysv.freebsd.org (Postfix) id F28D6AF9CB1; Sat, 15 Jul 2017 12:56:27 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F036DAF9CB0 for ; Sat, 15 Jul 2017 12:56:27 +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 815D46F889 for ; Sat, 15 Jul 2017 12:56:26 +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.14.9) with ESMTPS id v6FClDs4049023 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 15 Jul 2017 14:47:14 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: puchar.net: Host puchar-wojtek-router.intra [10.0.224.34] claimed to be wojtek.intra Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.15.2/8.15.2) with ESMTP id v6FCl8FO005258 for ; Sat, 15 Jul 2017 14:47:08 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.15.2/8.15.2/Submit) with ESMTP id v6FCl3Aj005255 for ; Sat, 15 Jul 2017 14:47:03 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Sat, 15 Jul 2017 14:47:03 +0200 (CEST) From: Wojciech Puchar X-X-Sender: wojtek@wojtek.intra To: hackers@freebsd.org Subject: question about bhyve 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.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 12:56:28 -0000 i tried bhyve (FreeBSD 11) with windows 7 guest and it basically works fine. But i have few questions: - why virtio-blk doesn't work. Do i have to install some exact version of virtio drivers? It results in guest crash. - virtio-net is detected, but trying to set anything throught control panel about network connection results in wait...wait... until i reboot windows. e1000 emulation works fine. And finally - can bhyve run existing image (now running under virtualbox, but raw images) that does have MBR layout not GPT? From owner-freebsd-hackers@freebsd.org Sat Jul 15 18:52:33 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5402CAFFF50 for ; Sat, 15 Jul 2017 18:52:33 +0000 (UTC) (envelope-from nbari@codigo.io) Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F2377F258 for ; Sat, 15 Jul 2017 18:52:32 +0000 (UTC) (envelope-from nbari@codigo.io) Received: by mail-wr0-x22c.google.com with SMTP id w4so5570073wrb.2 for ; Sat, 15 Jul 2017 11:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codigo.io; s=google; h=mime-version:sender:from:date:message-id:subject:to; bh=5Ix9XIujUwjMy43sNVbKwbXdUks4SxMEinEp9RM7Psw=; b=AJ/M+OvnSpoptgvllzTOA8jPjTFF59MmjPLBtVSGmaQZTj+2LAwX8BJ05jZhlD63/o OddQNkICeD5ga8bsokkEE8pZ0bSPCkievma0Ppw/IseINhd91UDoL7FlDPPKkG9nmf55 SfFcXLlOilGGckZHQSUVllF7et2iVO4uwlZtK3kfEmNh9StJpp308dNsO6ww/aVADAnO gNESp9gTjBXtzBhVefI/4Tcg4kuEqwcLzNL7TI972cQ/2kEohJ3xTCDb7LosbgjNPMes giPIkNYK4uo3MUsPwYlOF/1X/eVRnmrnUUZw5oJdMLInigl9TDltTBrC0az4IWBP4uEd g4Jg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tequila.io; s=google; h=mime-version:sender:from:date:message-id:subject:to; bh=5Ix9XIujUwjMy43sNVbKwbXdUks4SxMEinEp9RM7Psw=; b=RIdRJicSioV9plJwFFua6e5FhyBSIRfMgQXpgiOwN6Ck3VaRWH90QHYwzePUR/efdO IDYV1Ox+HGAXgCnvVFk1/f57HGldJ+xE4+GU8OIurzMeyc7rHO5o59w8K/1Bc+DwZBaB 0EGRL0RvLwNGcoe8GQnimqL5dyaC7W9LFyO1x7RIAd9JTJNLSDL0du2JenSlxj435/YQ 8O+9rP0XtZxbj0DrdJUctHuJGgqEd6XTlPZeLpn/bbnrVg6NEu/vXbgK3Vrn9DLNz1q7 sGoSkZeCLn2EacC+jAwFzhvi931rVnibAUTSzh5jZ1oLVq2LJ5kpx/mHJC7QjaFYCkTr 0/yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=5Ix9XIujUwjMy43sNVbKwbXdUks4SxMEinEp9RM7Psw=; b=Nn/GpoRYy++ztHQS0G4Mr+MOFI9qj/4Mze4gnZ0qlZxTOJCiH/MTeWkDt54RXTc6Zx 7KYbBx3alI28YQwy4h6mpDTThuaF/S+SgUVLSgqKO5z5DakYwi2vvK4GzkJTTXr4BBeb rJu8Wepbs2EQWCs49LxlLH8jKsQOaW0ZFtrreUcxNNgXomUvB/VIIn0dtD0ajZHDbmow EMxdJ4p387pkxdMK0EYUnntGIiyU9FUE2+kRh2SmB5aUvblxbNtcZrAbxXbpfB1PsPZp T0PbmWUZq5tC2wUeSXEeMy0TRE2/zwjpjPYVclLzXPEoaeh96aNwmIOYOdFqFFNOdZGv aQgQ== X-Gm-Message-State: AIVw113P3KfZX+ztPmwVgWq2UiJzvhd6afGLfvVIIXXsOl1lViBQXvkp O8L60nMNE+Jrkt6zz88QhjFv0u77dex3mGsVcQ== X-Received: by 10.223.135.154 with SMTP id b26mr7672487wrb.48.1500144749976; Sat, 15 Jul 2017 11:52:29 -0700 (PDT) MIME-Version: 1.0 Sender: nbari@codigo.io Received: by 10.223.146.162 with HTTP; Sat, 15 Jul 2017 11:52:29 -0700 (PDT) X-Originating-IP: [91.64.160.139] From: Nicolas Embriz Date: Sat, 15 Jul 2017 20:52:29 +0200 X-Google-Sender-Auth: EEZBo3RWtCizcTkOBLMfrsTv9IQ Message-ID: Subject: GEOM: ada0: the secondary GPT header is not in the last LBA or random: unblocking device. when using more than 2 cores To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 18:52:33 -0000 Hello, I have been creating FreeBSD images to use within AWS with ZFS on root, using this scripts: https://fabrik.red (https://github.com/fabrik-red/images/blob/master/fabrik.sh) Recently I created a new image but start to notice that when using t2.medium or instances with more than 1 core, they are not booting and in many cases, I get this message: GEOM: ada0: the secondary GPT header is not in the last LBA. of random: unblocking device This seems to be happening only with FreeBSD 11.1 prerelease, with 11.0 is working fine working image can be found here: https://github.com/fabrik-red/images/releases either with 1 core or more than 2 cores. This is the kernel I am using: https://github.com/fabrik-red/images/blob/master/fabrik.kernel Any idea of what could be causing this issue? The pattern I have found is that this only happens with instances with 2 or more cores. Regards. From owner-freebsd-hackers@freebsd.org Sat Jul 15 23:15:48 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16C20B7DA9C for ; Sat, 15 Jul 2017 23:15:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCBB73274 for ; Sat, 15 Jul 2017 23:15:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ua0-x22b.google.com with SMTP id 35so21582842uax.3 for ; Sat, 15 Jul 2017 16:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=xQzjuWLj1NT8BHEiQOgnxhorEX5k0cQTVVvSaWN0YuM=; b=jZOAlC/s2qJu8sypDHwsYL4QkZzWqUL3wW7zDmqcMCms2Ldin15RU65dx9JSpRkDL8 FnhCdp1OaezDYUMxQaMces3lt7ZywvukGMs6uwDBt9YwxisDc0jhmnOe4x2LAE/pbS9M a6I0zePoEZ2unOD/KmFP8D7e6+3RG7U/rpnkqc+rRmUkvptGN6NmnopS1UExx6ojO9qv SBoENViL6xDbB+W1CjsNuvhcyK7p6Zr52ltNgdydPp+HDVFQu4O9pJO5azB8+6wky3BO iD/ITa9NadevLZLJkATnhJxsxDnFci/fNiWAfUvRTr4uSeeQQaeBIQBD3nHOhEpfcP/4 iIag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=xQzjuWLj1NT8BHEiQOgnxhorEX5k0cQTVVvSaWN0YuM=; b=YrL7zqIenbRAUKhMQWhkSdYHEVGd5aWR+FsTft2QrjlOjq4EKUjGMacVdeGUqmD9i2 r/K+HRo0uJwyx3kL+44v37T3YG1B22h9nV7VBUAFpzbdPV7qEoWs30+siBlSOvYhrFTI mMu2A151AQTUTeDdkzcXOctqIP4XhRKJQhJTokgVvFcAqN7ejUWvE8O2N4uNXoH/Lce1 irAJ0GQqeNXupCKOhV3+9jO5w9ALjELeg+hcKelx97iQ1WOH7ecdxVJt1ns9Qz0A0yfo SoUMUyNq8dBni8fR4O64s6ouYxvA0jzhw+EVgMMdAt0b3IXMyCAnNymI8UvOh+DJnMhc +hJw== X-Gm-Message-State: AIVw111gFOPdURAdSVrW5ZoKBVxmDKMaVc2mj/OcAafClw8PCIdCMbc2 0tisNZ/yl9NSUkKXpB8Cl1XinbQ0rw07 X-Received: by 10.159.35.136 with SMTP id 8mr9252320uao.1.1500160546583; Sat, 15 Jul 2017 16:15:46 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.103.36.1 with HTTP; Sat, 15 Jul 2017 16:15:46 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: References: From: Warner Losh Date: Sat, 15 Jul 2017 17:15:46 -0600 X-Google-Sender-Auth: miMdfUPPvAV24-KvFnrKO7leTqI Message-ID: Subject: Re: GEOM: ada0: the secondary GPT header is not in the last LBA or random: unblocking device. when using more than 2 cores To: Nicolas Embriz Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 23:15:48 -0000 On Sat, Jul 15, 2017 at 12:52 PM, Nicolas Embriz wrote: > Hello, I have been creating FreeBSD images to use within AWS with ZFS > on root, using this scripts: https://fabrik.red > (https://github.com/fabrik-red/images/blob/master/fabrik.sh) > > Recently I created a new image but start to notice that when using > t2.medium or instances with more than 1 core, they are not booting and > in many cases, I get this message: > > GEOM: ada0: the secondary GPT header is not in the last LBA. > This message is fine. It means that you DD'd an image into disk whose size wasn't the same as the image. This is typically normal, but you should double check to make sure that the image is smaller than the disk you've done this to. > of > random: unblocking device > This is normal. > This seems to be happening only with FreeBSD 11.1 prerelease, with > 11.0 is working fine working image can be found here: > https://github.com/fabrik-red/images/releases either with 1 core or > more than 2 cores. > > This is the kernel I am using: > https://github.com/fabrik-red/images/blob/master/fabrik.kernel > > Any idea of what could be causing this issue? > > The pattern I have found is that this only happens with instances with > 2 or more cores. > You'll need to provide more information if you want our help to make progress. I'd start with a full dmesg of a boot -v on the machine affected, if at all possible. Warner