From owner-freebsd-stable@freebsd.org Sun Feb 19 12:39:36 2017 Return-Path: Delivered-To: freebsd-stable@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 90882CE5FFF; Sun, 19 Feb 2017 12:39:36 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from mailhost.dlr.de (mailhost.dlr.de [129.247.252.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mailhost.dlr.de", Issuer "DLR CA - G02" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 031C0FF3; Sun, 19 Feb 2017 12:39:35 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from DLREXHUB02.intra.dlr.de (172.21.152.140) by mailhost.dlr.de (172.21.163.100) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Feb 2017 13:38:20 +0100 Received: from DLREXMBX01.intra.dlr.de ([fe80::d198:77e5:d411:fccd]) by dlrexhub02.intra.dlr.de ([::1]) with mapi id 14.03.0319.002; Sun, 19 Feb 2017 13:38:22 +0100 From: To: , , Subject: RE: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Thread-Topic: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Thread-Index: AQHSiYcEUGL/599z6UuN7jV0xZLm0KFwRbuQ Date: Sun, 19 Feb 2017 12:38:21 +0000 Message-ID: <611243783F62AF48AFB07BC25FA4B1061CEEA14D@DLREXMBX01.intra.dlr.de> References: <20170218013250.GA72688@spindle.one-eyed-alien.net> In-Reply-To: <20170218013250.GA72688@spindle.one-eyed-alien.net> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.100.1062-22894.006 X-TM-AS-Result: No--12.364100-5.000000-31 X-TM-AS-MatchedID: 150567-150675-709584-708497-701249-707800-702920-701618-7 00726-106420-700075-701588-708597-707163-702192-703747-186035-703010-139006 -704287-700486-704746-106660-700752-701594-863148-704156-703997-704416-8639 16-703267-700755-703352-700604-706117-701757-106230-187088-708212-139704-70 8196-701100-862222-148004-148050-42000-42003-52000 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 12:39:36 -0000 Hi, there is a freebsd-atm mailing list (at least there used to be). Should hav= e been sent there too. On the topic: I'd say: remove it. As the one who wrote/refactored much of t= hat stuff I get approximately one support request per year. The problem is,= that I can't really help, since while I have all of that equipment still a= vailable, I don't have any time to do anything with it. So the entire ATM s= tack is basically unsupported. harti@ -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] = On Behalf Of Brooks Davis Sent: Saturday, February 18, 2017 2:33 AM To: freebsd-stable@freebsd.org; freebsd-net@freebsd.org Subject: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Our current ATM stack supports a small number of NICs that were current in = the late 90s[0]. None of them have been manufactured in a long time and wh= ile you can buy hatm(4) devices on e-bay, it's increasingly difficult to fi= nd a motherboard that will accept them. I'd like to propose removing support for these NICs along with the remainin= g ATM stack in FreeBSD 12. This will give any existing users a supported O= S until at least September 30, 2021 per our published EOL date for FreeBSD = 11. Would removal on this schedule cause you realistic hardship? If so, please= let us know. -- Brooks [0] 1997 press release for the most advanced ATM NIC we support http://www.= prnewswire.com/news-releases/fore-systems-introduces-industrys-most-advance= d-atm-adapter-for-enterprise-networking-77407267.html From owner-freebsd-stable@freebsd.org Mon Feb 20 10:28:33 2017 Return-Path: Delivered-To: freebsd-stable@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 D9BECCE55A9; Mon, 20 Feb 2017 10:28:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C52691951; Mon, 20 Feb 2017 10:28:32 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA19514; Mon, 20 Feb 2017 12:28:24 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1cflCi-000L58-E8; Mon, 20 Feb 2017 12:28:24 +0200 Subject: Re: major code change for .zfs To: FreeBSD Current , freebsd-fs , freebsd-stable List References: <34c1e635-4f38-d483-bcf9-768311d7c726@FreeBSD.org> From: Andriy Gapon Message-ID: Date: Mon, 20 Feb 2017 12:27:27 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <34c1e635-4f38-d483-bcf9-768311d7c726@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 10:28:34 -0000 On 23/08/2016 11:43, Andriy Gapon wrote: > > Please review and test a change to .zfs code that is intended to make the code > aligned with FreeBSD VFS and, as such, more stable: > https://reviews.freebsd.org/D7421 > > The change removes two features. > .zfs/shares is gone because it was unused on FreeBSD anyway. We can restore > that when we need it. > An ability to take a snapshot by creating a directory under .zfs/snapshot is > removed. I hope that you didn't use it. Please do not start using it now :-) > Again, this feature can be restored with some work. > The reason I removed it is that its companion features of destroying and > renaming snapshots were already missing on FreeBSD, and properly implementing > the feature required some more work. This is a heads-up that I am going to commit the change. If you have objections or concerns please speak up. Thanks! -- Andriy Gapon From owner-freebsd-stable@freebsd.org Mon Feb 20 12:13:10 2017 Return-Path: Delivered-To: freebsd-stable@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 BD771CE6DB5 for ; Mon, 20 Feb 2017 12:13:10 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id A3585135C for ; Mon, 20 Feb 2017 12:13:09 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 55D7D3D1DAC2 for ; Mon, 20 Feb 2017 03:51:46 -0800 (PST) Date: Mon, 20 Feb 2017 05:13:09 -0700 (MST) From: Jakub Lach To: freebsd-stable@freebsd.org Message-ID: <1487592789033-6169001.post@n6.nabble.com> In-Reply-To: <0E4EBB09-750E-4194-9D6B-DA50D14C64A6@vaul-tec.net> References: <0E4EBB09-750E-4194-9D6B-DA50D14C64A6@vaul-tec.net> Subject: Re: SVN_UPDATE not respected by /usr/ports/Makefile? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 12:13:10 -0000 Don't know about manfile of make.conf (since SVN client IS included in base now) system, but maybe https://www.freebsd.org/doc/handbook/svn.html will help you. I don't use svn for ports, but you should probably start with an empty directory. -- View this message in context: http://freebsd.1045724.x6.nabble.com/SVN-UPDATE-not-respected-by-usr-ports-Makefile-tp6164511p6169001.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@freebsd.org Mon Feb 20 12:16:00 2017 Return-Path: Delivered-To: freebsd-stable@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 D1351CE6F5A for ; Mon, 20 Feb 2017 12:16:00 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id C18D61532 for ; Mon, 20 Feb 2017 12:15:59 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id AFDD63D1DB59 for ; Mon, 20 Feb 2017 03:54:36 -0800 (PST) Date: Mon, 20 Feb 2017 05:15:59 -0700 (MST) From: Jakub Lach To: freebsd-stable@freebsd.org Message-ID: <1487592959422-6169002.post@n6.nabble.com> In-Reply-To: <1487592789033-6169001.post@n6.nabble.com> References: <0E4EBB09-750E-4194-9D6B-DA50D14C64A6@vaul-tec.net> <1487592789033-6169001.post@n6.nabble.com> Subject: Re: SVN_UPDATE not respected by /usr/ports/Makefile? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 12:16:00 -0000 Oh, and WITH_SVN= in src.conf installs svnlite as svn. -- View this message in context: http://freebsd.1045724.x6.nabble.com/SVN-UPDATE-not-respected-by-usr-ports-Makefile-tp6164511p6169002.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@freebsd.org Tue Feb 21 07:46:03 2017 Return-Path: Delivered-To: freebsd-stable@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 4F540CE74BF for ; Tue, 21 Feb 2017 07:46:03 +0000 (UTC) (envelope-from sciencebgnews@gmail.com) Received: from events-science.info (events-science.info [46.10.218.247]) (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 A47351E97 for ; Tue, 21 Feb 2017 07:46:02 +0000 (UTC) (envelope-from sciencebgnews@gmail.com) Received: from events-science.info (events-science.info [46.10.218.247]) by events-science.info with ESMTPA ; Tue, 21 Feb 2017 07:49:49 +0200 MIME-Version: 1.0 From: "International Scientific Events" Reply-To: sciencebg@gmail.com To: freebsd-stable@freebsd.org Subject: Conference Invitation, Bulgaria 2017 Date: Tue, 21 Feb 2017 07:49:49 +0200 Message-ID: <22844278716801245420667@DESKTOP-57VP31H> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 07:46:03 -0000 Conference Invitation, Bulgaria 2017 We have the pleasure of inviting you to participate in conferences, part of= International Scientific Events 2017, to be held in Hotel "Royal Castle", = Elenite on the Bulgarian Black Sea Coast (EU). Conferences in June Agriculture & Food, 5th International Conference (20-24 Jun) https://www.sciencebg.net/en/conferences/agriculture-and-food/ Ecology & Safety, 26th International Conference (23-27 Jun) https://www.sciencebg.net/en/conferences/ecology-and-safety/ Materials, Methods & Technologies, 19th International Conference (26-30 Jun) https://www.sciencebg.net/en/conferences/materials-methods-and-technologies/ Conferences in September Economy & Business, 16th International Conference (1-5 Sep) https://www.sciencebg.net/en/conferences/economy-and-business/ Education, Research & Development, 8th International Conference (4-8 Sep) https://www.sciencebg.net/en/conferences/education-research-and-development/ Language, Individual & Society, 11th International Conference (7-11 Sep) https://www.sciencebg.net/en/conferences/language-individual-and-society/ Annually our events connect scientists and researchers from over 40 countri= es. The papers presented will be published in open-access journals, part of Int= ernational Scientific Publications. Certificate of publication and presentation will be provided. Organized by Bulgarian Academy of Sciences, Union of Scientists in Bulgaria= , Science & Education Foundation and partners. Best regards, International Scientific Events, Bulgaria www.sciencebg.net -- Not interested=3F Visit https://unsubscribe.sciencebg.net/ to unsubscribe. This message is unsolicited commercial communication. From owner-freebsd-stable@freebsd.org Tue Feb 21 09:39:16 2017 Return-Path: Delivered-To: freebsd-stable@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 E1A80CE6A6E for ; Tue, 21 Feb 2017 09:39:16 +0000 (UTC) (envelope-from prvs=12259d2bb0=ingeborg.hellemo@uit.no) Received: from pat.uit.no (mix4.uit.no [129.242.4.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "pat.uit.no", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75368125F for ; Tue, 21 Feb 2017 09:39:15 +0000 (UTC) (envelope-from prvs=12259d2bb0=ingeborg.hellemo@uit.no) Received: from halvsju.cc.uit.no (halvsju.cc.uit.no [129.242.6.230]) by pat.uit.no with ESMTP id v1L9d7dO018095-v1L9d7dQ018095 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=CAFAIL) for ; Tue, 21 Feb 2017 10:39:07 +0100 Received: from halvsju.cc.uit.no (localhost [127.0.0.1]) by halvsju.cc.uit.no (8.15.2/8.15.2) with ESMTP id v1L9d7AJ002739 for ; Tue, 21 Feb 2017 10:39:07 +0100 (CET) (envelope-from ingeborg.hellemo@uit.no) Message-Id: <201702210939.v1L9d7AJ002739@halvsju.cc.uit.no> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 To: freebsd-stable@freebsd.org Subject: FreeBSD 11.0, bxe and lagg From: Ingeborg Hellemo Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 21 Feb 2017 10:39:07 +0100 X-FEAS-SYSTEM-SAFE-LIST: 129.242.6.230 / 129.242.* X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 09:39:17 -0000 I'm in the process of upgrading my 10.3 servers to 11.0. I have stumbled upon problems with lagg on two boxes. They both have QLogic NetXtreme II BCM57800 10GbE network card using the bxe driver. My lagg configuration is unchanged in the process but after upgradring to 11.0 lagg is no longer working. /etc/rc.conf: ifconfig_bxe2="up" ifconfig_bxe3="up" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto lacp laggport bxe2 laggport bxe3 129.242.3.9 netmask 255.255.255.192" ifconfig lagg0 lagg0: flags=8843 metric 0 mtu 1500 ether ..... inet 129.242.3.9 netmask 0xffffffc0 broadcast 129.242.3.63 nd options=29 media: Ethernet autoselect status: active groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: bge2 flags=0<> laggport: bge3 flags=0<> As you can see the laggport flags are empty where I would expect flags=1c No error messages. The interfaces work ok if I drop using lagg. The same configuration has survived the upgrade on boxes using bge Any ideas? --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg.hellemo@uit.no Dep. of Information Technology --- Univ. of Tromsø From owner-freebsd-stable@freebsd.org Tue Feb 21 10:04:29 2017 Return-Path: Delivered-To: freebsd-stable@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 2F1E1CE04EA for ; Tue, 21 Feb 2017 10:04:29 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B4001101 for ; Tue, 21 Feb 2017 10:04:28 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v1LA4KOf016393 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Feb 2017 11:04:20 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v1LA4KNU016390; Tue, 21 Feb 2017 11:04:20 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 21 Feb 2017 11:04:20 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Ingeborg Hellemo cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 11.0, bxe and lagg In-Reply-To: <201702210939.v1L9d7AJ002739@halvsju.cc.uit.no> Message-ID: References: <201702210939.v1L9d7AJ002739@halvsju.cc.uit.no> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 10:04:29 -0000 On Tue, 21 Feb 2017 10:39+0100, Ingeborg Hellemo wrote: > > I'm in the process of upgrading my 10.3 servers to 11.0. I have stumbled upon > problems with lagg on two boxes. > > They both have QLogic NetXtreme II BCM57800 10GbE network card using the bxe > driver. > > My lagg configuration is unchanged in the process but after upgradring to 11.0 > lagg is no longer working. > > /etc/rc.conf: > ifconfig_bxe2="up" > ifconfig_bxe3="up" > cloned_interfaces="lagg0" > ifconfig_lagg0="laggproto lacp laggport bxe2 laggport bxe3 129.242.3.9 netmask > 255.255.255.192" > > > ifconfig lagg0 > lagg0: flags=8843 metric 0 mtu 1500 > ether ..... > inet 129.242.3.9 netmask 0xffffffc0 broadcast 129.242.3.63 > nd options=29 > media: Ethernet autoselect > status: active > groups: lagg > laggproto lacp lagghash l2,l3,l4 > laggport: bge2 flags=0<> > laggport: bge3 flags=0<> > > > As you can see the laggport flags are empty where I would expect > flags=1c > No error messages. The interfaces work ok if I drop using lagg. > > The same configuration has survived the upgrade on boxes using bge > > > Any ideas? Why does lagg0 refer to bge2 and bge3 in the ifconfig output, and not to bxe2 and bxe3? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-stable@freebsd.org Tue Feb 21 10:33:46 2017 Return-Path: Delivered-To: freebsd-stable@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 1F856CE0D90 for ; Tue, 21 Feb 2017 10:33:46 +0000 (UTC) (envelope-from prvs=12259d2bb0=ingeborg.hellemo@uit.no) Received: from mat.uit.no (mix5.uit.no [129.242.4.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "pat.uit.no", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2B591048 for ; Tue, 21 Feb 2017 10:33:44 +0000 (UTC) (envelope-from prvs=12259d2bb0=ingeborg.hellemo@uit.no) Received: from halvsju.cc.uit.no (halvsju.cc.uit.no [129.242.6.230]) by mat.uit.no with ESMTP id v1LANQB2011922-v1LANQB4011922 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=CAFAIL); Tue, 21 Feb 2017 11:23:26 +0100 Received: from halvsju.cc.uit.no (localhost [127.0.0.1]) by halvsju.cc.uit.no (8.15.2/8.15.2) with ESMTP id v1LANQSL003773; Tue, 21 Feb 2017 11:23:26 +0100 (CET) (envelope-from ingeborg.hellemo@uit.no) Message-Id: <201702211023.v1LANQSL003773@halvsju.cc.uit.no> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= cc: freebsd-stable@freebsd.org From: Ingeborg Hellemo Subject: Re: FreeBSD 11.0, bxe and lagg In-reply-to: Your message of "Tue, 21 Feb 2017 11:04:20 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 21 Feb 2017 11:23:26 +0100 X-FEAS-SYSTEM-SAFE-LIST: 129.242.6.230 / 129.242.* X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 10:33:46 -0000 Trond.Endrestol@fagskolen.gjovik.no said: > Why does lagg0 refer to bge2 and bge3 in the ifconfig output, and not to > bxe2 and bxe3? My bad! No cut and paste from the console of the host without net. Wrote most of it by hand but ended up using cut and paste from another host and forgot to edit. Correct lines: laggproto lacp lagghash l2,l3,l4 laggport: bxe2 flags=0<> laggport: bxe3 flags=0<> --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg.hellemo@uit.no Dep. of Information Technology --- Univ. of Tromsø From owner-freebsd-stable@freebsd.org Tue Feb 21 19:53:31 2017 Return-Path: Delivered-To: freebsd-stable@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 25DDCCE87C4; Tue, 21 Feb 2017 19:53:31 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 04AA5E44; Tue, 21 Feb 2017 19:53:30 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id D944E5A9F12; Tue, 21 Feb 2017 19:53:29 +0000 (UTC) Date: Tue, 21 Feb 2017 19:53:29 +0000 From: Brooks Davis To: Hartmut.Brandt@dlr.de Cc: freebsd-stable@freebsd.org, freebsd-net@freebsd.org Subject: Re: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Message-ID: <20170221195329.GB35893@spindle.one-eyed-alien.net> References: <20170218013250.GA72688@spindle.one-eyed-alien.net> <611243783F62AF48AFB07BC25FA4B1061CEEA14D@DLREXMBX01.intra.dlr.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <611243783F62AF48AFB07BC25FA4B1061CEEA14D@DLREXMBX01.intra.dlr.de> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 19:53:31 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks, I've forwarded a copy to the list, but given that there were zero non-spam messages in 2016, only three legitimate messages (that no one answered) in 2015, and zero in 2014, 2013, and 2012, I think it's safe to say there are no users. -- Brooks On Sun, Feb 19, 2017 at 12:38:21PM +0000, Hartmut.Brandt@dlr.de wrote: > Hi, >=20 > there is a freebsd-atm mailing list (at least there used to be). Should h= ave been sent there too. >=20 > On the topic: I'd say: remove it. As the one who wrote/refactored much of= that stuff I get approximately one support request per year. The problem i= s, that I can't really help, since while I have all of that equipment still= available, I don't have any time to do anything with it. So the entire ATM= stack is basically unsupported. >=20 > harti@ >=20 > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org= ] On Behalf Of Brooks Davis > Sent: Saturday, February 18, 2017 2:33 AM > To: freebsd-stable@freebsd.org; freebsd-net@freebsd.org > Subject: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) >=20 > Our current ATM stack supports a small number of NICs that were current i= n the late 90s[0]. None of them have been manufactured in a long time and = while you can buy hatm(4) devices on e-bay, it's increasingly difficult to = find a motherboard that will accept them. >=20 > I'd like to propose removing support for these NICs along with the remain= ing ATM stack in FreeBSD 12. This will give any existing users a supported= OS until at least September 30, 2021 per our published EOL date for FreeBS= D 11. >=20 > Would removal on this schedule cause you realistic hardship? If so, plea= se let us know. >=20 > -- Brooks >=20 > [0] 1997 press release for the most advanced ATM NIC we support http://ww= w.prnewswire.com/news-releases/fore-systems-introduces-industrys-most-advan= ced-atm-adapter-for-enterprise-networking-77407267.html >=20 --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJYrJq4AAoJEKzQXbSebgfA+jkH/1vAvw3MqKO3xD0Yb63d8a92 omFLC76k6TPheMpAvTna9FUKUg4XcGbX/vzJetsS9vMOC534Xp4iR5lg9gWvVwJ+ 9srytGXdKdm/dX0QLxP+bjGU6p+/aGfo7VHB/k92tCu5lSxSkkYxhRgfYNK43+wt BfJ2SBevfgpva4KH5XMlqEXUksrlxJksx3L0ULsKwfmEYzHdpV4GI1kNZzcwh54h yEMSgTCa4DwUb+ya225PKwqxZyW0m0LN50pi0sPU1Oq4ekxXYJF7HUCuBfp93ySB aL8ZU78MA4dMROZAcBzy6MFp0fjecSiL8WdZ+8Ic/obuNd4tQCIPQxa84gLaF0s= =Hp/n -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- From owner-freebsd-stable@freebsd.org Wed Feb 22 10:02:04 2017 Return-Path: Delivered-To: freebsd-stable@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 12415CE839B for ; Wed, 22 Feb 2017 10:02:04 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A468011EA for ; Wed, 22 Feb 2017 10:02:03 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v1MA1xH2018095; Wed, 22 Feb 2017 11:01:59 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 71432693; Wed, 22 Feb 2017 11:01:59 +0100 (CET) Message-ID: <58AD6196.8030908@omnilan.de> Date: Wed, 22 Feb 2017 11:01:58 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Ingeborg Hellemo CC: freebsd-stable@freebsd.org Subject: Re: FreeBSD 11.0, bxe and lagg References: <201702211023.v1LANQSL003773@halvsju.cc.uit.no> In-Reply-To: <201702211023.v1LANQSL003773@halvsju.cc.uit.no> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Wed, 22 Feb 2017 11:01:59 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 10:02:04 -0000 Bezüglich Ingeborg Hellemo's Nachricht vom 21.02.2017 11:23 (localtime): > Trond.Endrestol@fagskolen.gjovik.no said: >> Why does lagg0 refer to bge2 and bge3 in the ifconfig output, and not to >> bxe2 and bxe3? > My bad! No cut and paste from the console of the host without net. Wrote most > of it by hand but ended up using cut and paste from another host and forgot to > edit. > > Correct lines: > laggproto lacp lagghash l2,l3,l4 > laggport: bxe2 flags=0<> > laggport: bxe3 flags=0<> > There are known problems with laggproto lacp and if_bxe(4) due to full-duplex detection I guess. Workarround seems to be putting if_bxe(4) into promisc mode. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213606 Especially comment #8 and #13! Mabye you can add your report to that bug, to raise it's priority. Using if_lagg(4) with laggproto lacp and if_igb(4) doesn't show any problems here on 11(-stable). I also think there were LACPDU changes forcing the switch to be set to active mode, but a very quick look didn't reveal a matching commit, so maybe I'm wrong. Anyway, in your case it seems if_bxe(4) is the root cause, not a configuration mismatch. -harry From owner-freebsd-stable@freebsd.org Wed Feb 22 20:47:57 2017 Return-Path: Delivered-To: freebsd-stable@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 5EC76CE9A4A; Wed, 22 Feb 2017 20:47:57 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2F041D4; Wed, 22 Feb 2017 20:47:57 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:e0f4:994:662:862]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 5217D339; Wed, 22 Feb 2017 23:47:55 +0300 (MSK) Date: Wed, 22 Feb 2017 23:47:42 +0300 From: Lev Serebryakov Reply-To: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <492944119.20170222234742@serebryakov.spb.ru> To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: Is it known problem, that zfs.ko could not be built with system compiler (clang 3.9.1) without optimization? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 20:47:57 -0000 Hello Freebsd-stable, Now if you build zfs.ko with -O0 it panics on boot. If you use default optimization level, a lot of fbt DTreace probes are missing. -- Best regards, Lev mailto:lev@FreeBSD.org From owner-freebsd-stable@freebsd.org Wed Feb 22 20:51:41 2017 Return-Path: Delivered-To: freebsd-stable@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 B7AC3CE9DF2 for ; Wed, 22 Feb 2017 20:51:41 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ACD0819 for ; Wed, 22 Feb 2017 20:51:41 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x234.google.com with SMTP id v186so152140271wmd.0 for ; Wed, 22 Feb 2017 12:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=xzBSf/TbxlNjiE38vCqZY7Dyut+QuGUqqq1K2y0T6bo=; b=Y0OWZu3O3puC4lQ0L6WbBa6YdcDMJ22DRHcprQsyxSy75JP2JVLZ6SUgn/Pg1tHGN9 pLytPIpdPA/jdp82fN1RVESc5VTf7wRfcPBnz4xMUJ9yWRxQQV9FMvgyhnkRfAMhoO7L PjblIW7Uuq+ELtf9hD0qXuoDWsanW0HGc0wbY7h0KPOJh9Kfdpk3GTxngzFkvXivBGKC zKP2UIyrhNoPqpYC1ozOUtwcbQ0RhRcv68P8WWVzDXdItQbxQUmIw0gO/NcYnWP00L8b erkegaekRmltvbKfUdv3MqiMMZAZU9GZjH/aQSf/OhvYx58D0SsO2VwnkXHJsEUsEC0G GBaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=xzBSf/TbxlNjiE38vCqZY7Dyut+QuGUqqq1K2y0T6bo=; b=ch9ktdkNeKyxowuHfu2CTWISIPiKZ3lP7bc06+w7qMLRTMg5dxxh7DGnpNx9GpLAn3 KItdi8l17i2T3+dgqBdU526LiwwtRG83vttkPmeWqCxchnW1okc03XxuUswCqI4yA0G7 8j1IZXQUKE2mAo/he2kryt6NtMs5wRXyJ21MoY/M/VMxhJvtgp9gXjEDbZMpgLWaa8Wv yFLCS5X2bYD8NzccLvDcQsr2bLvH6heQVQGC++1TCrRvUulafH7+8W7WmbNA7fpfDJIE RuskUUKfsnH0MegNUTy85y08b402kwROpaplyMAzH2/DIDl96AGHBIX9HaHDvh75fQ3R /Seg== X-Gm-Message-State: AMke39mltm4OnI/b5Mon1HuxpNaZ15TZ0T/pEFlwdgg9YeU8eKbwNJiK1TOwMuh7NDOokwIQ X-Received: by 10.28.189.135 with SMTP id n129mr149950wmf.92.1487796698452; Wed, 22 Feb 2017 12:51:38 -0800 (PST) Received: from [10.10.1.58] ([185.97.61.4]) by smtp.gmail.com with ESMTPSA id b17sm3456752wma.33.2017.02.22.12.51.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2017 12:51:37 -0800 (PST) Subject: Re: Is it known problem, that zfs.ko could not be built with system compiler (clang 3.9.1) without optimization? To: freebsd-stable@freebsd.org References: <492944119.20170222234742@serebryakov.spb.ru> From: Steven Hartland Message-ID: Date: Wed, 22 Feb 2017 20:51:37 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <492944119.20170222234742@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 20:51:41 -0000 I seem to remember this happening when I tried it too, likely it blows the stack, what's your panic? When doing similar tracing before I've flagged the relevant methods with __noinline. On 22/02/2017 20:47, Lev Serebryakov wrote: > Hello Freebsd-stable, > > Now if you build zfs.ko with -O0 it panics on boot. > > If you use default optimization level, a lot of fbt DTreace probes are > missing. > From owner-freebsd-stable@freebsd.org Wed Feb 22 20:52:15 2017 Return-Path: Delivered-To: freebsd-stable@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 C33D1CE9EAB; Wed, 22 Feb 2017 20:52:15 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::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 8298B995; Wed, 22 Feb 2017 20:52:15 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id p77so7573825ywg.1; Wed, 22 Feb 2017 12:52:15 -0800 (PST) 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=cPktHW3sIWytEwQbcd5QsAeR8dJQlSWi99ee3bFg/lk=; b=lqn1Azs3Gj3LCU5DTi4vb7AzTgV/azU+p02lFUe2oSZyH4MFZrhFcmyx61p6pN7DOH 4pYCcWNZjP7M73BeZCESaq9bUqRREscwxJMK6nYcNPD2J4bSFg3k0quOKiPLqMX8JKdc 8hrDl0xITmAnxukzXV0Tk673euRKxiOh2EP16pRvm05EvI8nbb/9hOoMzJiTZy8VJkVR 2hAQaAFHhAM/AnDAXC7VOf1GuP7xrmn62H3PrS9gOS8ylQvKAOhNZSRjpnDhwHDBs1Nr XIk7lv/2L7cg6xQZ8Y2ovr0CmyHGwJOHXtkZ1XLFOA9D7b003nnGEVhucF7zUzoxRj9t YSng== 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=cPktHW3sIWytEwQbcd5QsAeR8dJQlSWi99ee3bFg/lk=; b=KibRTXzryc+Pn71ZfQmn3tNstLuPZwtBvhAtpmfEHUNrCs8D4wbWcr7PtuBmyhWApF AX2aMVJy2vs4T39ouqtW6COBIrgDmIX5tdpUgNLMFlykmX8CNFj7Y1y7OtgWOMAJzVYo aZKYj/ClfldaZrKHLBfIExacq6lXEkIELn0doMRlzMSyudWD1g6rUbFxm/ycme3qZdSK QKRYFG07It/qThtTjPLXUlzc0ykdmTDGymWKBB+HfwUmD+HlduMYo7jQHntNw0vip9UD NCbahOVJS4w7IxckMWnwb6jVwbVw6PevPFmhFS5+tLkxFQelpcEp+xNh11JaV+We6uQe vdKg== X-Gm-Message-State: AMke39mAwaKmUKj91+8c468RBrC5pEMC1TkygBab3+rRrChfcXxmorTvD+Ajn9EVUs/n4UWYbkVDh/u5O8KSWQ== X-Received: by 10.129.68.31 with SMTP id r31mr56684ywa.307.1487796734453; Wed, 22 Feb 2017 12:52:14 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.129.38.133 with HTTP; Wed, 22 Feb 2017 12:52:14 -0800 (PST) In-Reply-To: <492944119.20170222234742@serebryakov.spb.ru> References: <492944119.20170222234742@serebryakov.spb.ru> From: Alan Somers Date: Wed, 22 Feb 2017 13:52:14 -0700 X-Google-Sender-Auth: r8JtiaJY8EEMpz9eiBG9Ei-2eNU Message-ID: Subject: Re: Is it known problem, that zfs.ko could not be built with system compiler (clang 3.9.1) without optimization? To: Lev Serebryakov Cc: FreeBSD , freebsd-fs Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 20:52:15 -0000 The panic is definitely a bug. You should create a bug on bugzilla for that one, if it isn't there already. It's to be expected that a lot of FBT probes won't be present in the default build. But there are two ways to ameliorate that: 1) Add a "__noinline" attribute to any function you want to trace 2) Add "#pragma clang optimize off" and "#pragma clang optimize on" around the code you want to debug. Note that even with optimization disabled, clang may still choose to inline static functions. But it does make stack traces easier to debug. -Alan On Wed, Feb 22, 2017 at 1:47 PM, Lev Serebryakov wrote: > Hello Freebsd-stable, > > Now if you build zfs.ko with -O0 it panics on boot. > > If you use default optimization level, a lot of fbt DTreace probes are > missing. > > -- > Best regards, > Lev mailto:lev@FreeBSD.org > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@freebsd.org Wed Feb 22 21:06:35 2017 Return-Path: Delivered-To: freebsd-stable@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 3F9C6CE9527; Wed, 22 Feb 2017 21:06:35 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 025D01214; Wed, 22 Feb 2017 21:06:35 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1cge7L-000O9x-Cb; Thu, 23 Feb 2017 00:06:31 +0300 Date: Thu, 23 Feb 2017 00:06:31 +0300 From: Slawa Olhovchenkov To: Lev Serebryakov Cc: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: Re: Is it known problem, that zfs.ko could not be built with system compiler (clang 3.9.1) without optimization? Message-ID: <20170222210631.GH15630@zxy.spb.ru> References: <492944119.20170222234742@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <492944119.20170222234742@serebryakov.spb.ru> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 21:06:35 -0000 On Wed, Feb 22, 2017 at 11:47:42PM +0300, Lev Serebryakov wrote: > Hello Freebsd-stable, > > Now if you build zfs.ko with -O0 it panics on boot. > > If you use default optimization level, a lot of fbt DTreace probes are > missing. Is this related to http://llvm.org/bugs/show_bug.cgi?id=18420 ? From owner-freebsd-stable@freebsd.org Wed Feb 22 21:13:38 2017 Return-Path: Delivered-To: freebsd-stable@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 04A2CCE99A9; Wed, 22 Feb 2017 21:13:38 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 96ABC1AB4; Wed, 22 Feb 2017 21:13:36 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v1ML5jP3012590 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2017 22:05:46 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: lev@FreeBSD.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v1ML5g01037465 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 23 Feb 2017 04:05:42 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Is it known problem, that zfs.ko could not be built with system compiler (clang 3.9.1) without optimization? To: Lev Serebryakov , freebsd-stable@freebsd.org, freebsd-fs@freebsd.org References: <492944119.20170222234742@serebryakov.spb.ru> From: Eugene Grosbein Message-ID: <58ADFD21.1010208@grosbein.net> Date: Thu, 23 Feb 2017 04:05:37 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <492944119.20170222234742@serebryakov.spb.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 21:13:38 -0000 23.02.2017 3:47, Lev Serebryakov пишет: > Hello Freebsd-stable, > > Now if you build zfs.ko with -O0 it panics on boot. > > If you use default optimization level, a lot of fbt DTreace probes are > missing. If you use it with i386 (32 bits), you must use loader.conf tunnable: kern.kstack_pages=4 or corresponding kernel options KSTACK_PAGES=4, do you? From owner-freebsd-stable@freebsd.org Wed Feb 22 21:58:35 2017 Return-Path: Delivered-To: freebsd-stable@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 69A2FCEA73F; Wed, 22 Feb 2017 21:58:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 52F2214A8; Wed, 22 Feb 2017 21:58:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA28153; Wed, 22 Feb 2017 23:58:31 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1cgevf-000OBM-Na; Wed, 22 Feb 2017 23:58:31 +0200 Subject: Re: Is it known problem, that zfs.ko could not be built with system compiler (clang 3.9.1) without optimization? To: Lev Serebryakov , freebsd-stable@FreeBSD.org, freebsd-fs@FreeBSD.org References: <492944119.20170222234742@serebryakov.spb.ru> From: Andriy Gapon Message-ID: <85ad9000-b585-35e7-ccf1-6601ac4c062c@FreeBSD.org> Date: Wed, 22 Feb 2017 23:57:35 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <492944119.20170222234742@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 21:58:35 -0000 On 22/02/2017 22:47, Lev Serebryakov wrote: > Hello Freebsd-stable, > > Now if you build zfs.ko with -O0 it panics on boot. I have seen a problem that matches your description, but not necessarily the same one: https://lists.freebsd.org/pipermail/freebsd-hackers/2016-July/049768.html > If you use default optimization level, a lot of fbt DTreace probes are > missing. You can try several different (orthogonal, even) approaches: - compile ZFS into the kernel - use higher optimization level, but add -fno-optimize-sibling-calls to CLFAGS - pkg install amd64-xtoolchain-gcc and then use CROSS_TOOLCHAIN=amd64-gcc command line argument for buildkernel -- Andriy Gapon From owner-freebsd-stable@freebsd.org Sat Feb 25 13:35:33 2017 Return-Path: Delivered-To: freebsd-stable@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 08DBDCEC413 for ; Sat, 25 Feb 2017 13:35:33 +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 03559162 for ; Sat, 25 Feb 2017 13:35:30 +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 v1PDANkq008658 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL) for ; Sat, 25 Feb 2017 14:10:25 +0100 (CET) (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 v1PDANsR094738 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 25 Feb 2017 14:10:23 +0100 (CET) (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 v1PDANKh094737 for freebsd-stable@freebsd.org; Sat, 25 Feb 2017 14:10:23 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Sat, 25 Feb 2017 14:10:23 +0100 From: Wolfgang Zenker To: freebsd-stable@freebsd.org Subject: cyapa(4) and isl(4) no longer working on Acer C720 Message-ID: <20170225131023.GA94128@lyxys.ka.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: private site User-Agent: Mutt/1.7.2 (2016-11-26) 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]); Sat, 25 Feb 2017 14:10:25 +0100 (CET) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 13:35:33 -0000 Hi, I'm using FreeBSD 11 on a chromebook Acer C720. Because I normally use a mouse I didn't catch the exact time when cyapa and isl stopped working, but my guess is it was when chromebook_framework was introduced and cyapa and isl were moved to using iic. A manual page chromebook_platform(4) does not exist. Maybe the Acer is sufficiently different from other chromebooks that chromebook_platform does not work here. In that case I'm supposed to set device hints for the isl and cyapa drivers where to find their iic resources, according to https://github.com/freebsd/freebsd-base-graphics/commit/e2eab8e254154d36ebd6fde573f86e6472b75572 Unfortunately I have no idea where to find the information that would be needed for this. I have this in /boot/loader.conf: ------------------------------------- kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" zfs_load="YES" coretemp_load="YES" chromebook_platform_load="YES" ig4_load="YES" cyapa_load="YES" isl_load="YES" ------------------------------------- And this in /etc/rc.conf: ------------------------------------- hostname="faunus" keymap="de" kld_list="i915kms.ko" sshd_enable="YES" dumpdev="AUTO" zfs_enable="YES" wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP country de" ifconfig_wlan0_ipv6="inet6 accept_rtadv" rtsold_enable="YES" moused_enable="YES" moused_port="/dev/cyapa0" ntpd_enable="YES" ntpd_sync_on_start="YES" ------------------------------------- Kernel config is GENERIC with added options DDB, GDB, WITNESS and WITNESS_SKIPSPIN. This shows up in /var/run/dmesg.boot: ------------------------------------- Copyright (c) 1992-2017 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-STABLE #1 r313673: Sun Feb 12 04:22:32 CET 2017 wolfgang@faunus:/usr/obj/usr/src/sys/WITNESS amd64 FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on LLVM 3.9.1) WARNING: WITNESS option enabled, expect reduced performance. VT(vga): resolution 640x480 CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz (1396.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x40651 Family=0x6 Model=0x45 Stepping=1 Features=0xbfebfbff Features2=0x4ddaebbf AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x2603 XSAVE Features=0x1 VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 4301258752 (4102 MB) avail memory = 1914736640 (1826 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) random: unblocking device. ioapic0 irqs 0-39 on motherboard random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff80e9cbe0, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 vtvga0: on motherboard cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 Event timer "HPET5" frequency 14318180 Hz quality 440 Event timer "HPET6" frequency 14318180 Hz quality 440 cpu0: on acpi0 cpu1: on acpi0 atrtc0: port 0x70-0x77 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: irq 37 on acpi0 acpi_button2: irq 38 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x1800-0x183f mem 0xe0000000-0xe03fffff,0xd0000000-0xdfffffff at device 2.0 on pci0 vgapci0: Boot video device hdac0: mem 0xe0510000-0xe0513fff at device 3.0 on pci0 xhci0: mem 0xe0500000-0xe050ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 pci0: at device 21.0 (no driver attached) ig4iic_pci0: mem 0xe051a000-0xe051afff,0xe051b000-0xe051bfff at device 21.1 on pci0 ig4iic_pci0: Using MSI ig4iic_pci1: mem 0xe051c000-0xe051cfff,0xe051d000-0xe051dfff at device 21.2 on pci0 ig4iic_pci1: Using MSI hdac1: mem 0xe0514000-0xe0517fff at device 27.0 on pci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 ath0: mem 0xe0400000-0xe047ffff at device 0.0 on pci1 ar9300_attach: calling ar9300_hw_attach ar9300_hw_attach: calling ar9300_eeprom_attach ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM Restoring Cal data from Flash Restoring Cal data from Flash Restoring Cal data from OTP ar9300_hw_attach: ar9300_eeprom_attach returned 0 ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] LDPC transmit/receive enabled ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9460 mac 640.2 RF5110 phy 0.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 ehci0: mem 0xe051f800-0xe051fbff at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x1860-0x1867,0x1870-0x1873,0x1868-0x186f,0x1874-0x1877,0x1840-0x185f mem 0xe051f000-0xe051f7ff irq 22 at device 31.2 on pci0 ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range coretemp0: on cpu0 est0: on cpu0 coretemp1: on cpu1 est1: on cpu1 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec nvme cam probe device init hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 iicbus0: on ig4iic_pci0 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: <0x8086 XHCI root HUB> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-3 ATA SATA 3.x device ada0: Serial Number 50026B72420290AC ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 15272MB (31277232 512 byte sectors) iicbus1: on ig4iic_pci1 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 hdaa1: hdaa_audio_as_parse: Pin 26 has wrong direction for association 1! Disabling association. hdaa1: hdaa_audio_as_parse: Pin 33 has wrong direction for association 2! Disabling association. SMP: AP CPU #1 Launched! Timecounter "TSC" frequency 1396800100 Hz quality 1000 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from zfs:zroot/ROOT/default []... Root mount waiting for: usbus1 usbus0 uhub0: 13 ports with 13 removable, self powered uhub1: 2 ports with 2 removable, self powered Root mount waiting for: usbus1 usbus0 ugen0.2: at usbus0 ugen1.2: at usbus1 uhub2 on uhub1 uhub2: on usbus1 ugen0.3: at usbus0 uhub2: 8 ports with 8 removable, self powered info: [drm] Initialized drm 1.1.0 20060810 iic0: on iicbus0 iic1: on iicbus1 drmn0: on vgapci0 info: [drm] Memory usable by graphics device = 2048M intel_iicbb0 on drmn0 iicbus2: error: [drm:pid147:i915_write32] *ERROR* Unknown unclaimed register before writing to c5100 on iicbb0 addr 0xff iic2: on iicbus2 iicbus3: on intel_gmbus0 iic3: on iicbus3 intel_iicbb1 on drmn0 iicbus4: on iicbb1 addr 0x0 iic4: on iicbus4 iicbus5: on intel_gmbus1 iic5: on iicbus5 intel_iicbb2 on drmn0 iicbus6: on iicbb2 addr 0x0 iic6: on iicbus6 iicbus7: on intel_gmbus2 iic7: on iicbus7 intel_iicbb3 on drmn0 iicbus8: on iicbb3 addr 0x0 iic8: on iicbus8 iicbus9: on intel_gmbus3 iic9: on iicbus9 intel_iicbb4 on drmn0 iicbus10: on iicbb4 addr 0x0 iic10: on iicbus10 iicbus11: on intel_gmbus4 iic11: on iicbus11 intel_iicbb5 on drmn0 iicbus12: on iicbb5 addr 0x0 iic12: on iicbus12 iicbus13: on intel_gmbus5 iic13: on iicbus13 info: [drm] MSI enabled 1 message(s) info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. drm_iic_dp_aux0 on drmn0 drm_iic_dp_aux1 on drmn0 drmn0: taking over the fictitious range 0xd0000000-0xe0000000 info: [drm] Connector eDP-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.eDP-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector HDMI-A-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.HDMI-A-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector DP-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.DP-1 info: [drm] - kern.vt.fb.default_mode fbd0 on drmn0 VT: Replacing driver "vga" with new "fb". info: [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0 wlan0: Ethernet address: 9c:d2:1e:9b:e6:41 info: [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off wlan0: link state changed to UP ------------------------------------- Output of kldstat: ------------------------------------- Id Refs Address Size Name 1 55 0xffffffff80200000 1f5ab88 kernel 2 1 0xffffffff8215c000 313dd8 zfs.ko 3 2 0xffffffff82470000 cb08 opensolaris.ko 4 1 0xffffffff8247d000 4c20 coretemp.ko 5 1 0xffffffff82482000 1e20 chromebook_platform.ko 6 1 0xffffffff82484000 8848 ig4.ko 7 9 0xffffffff8248d000 6fd0 iicbus.ko 8 1 0xffffffff82494000 96b8 cyapa.ko 9 1 0xffffffff8249e000 3180 isl.ko 10 1 0xffffffff82621000 96a0a i915kms.ko 11 1 0xffffffff826b8000 5446f drm2.ko 12 1 0xffffffff8270d000 1c62 iic.ko 13 1 0xffffffff8270f000 1e6e iicbb.ko 14 1 0xffffffff82711000 4f48 ng_ubt.ko 15 2 0xffffffff82716000 c1bf netgraph.ko 16 1 0xffffffff82723000 a62d ng_hci.ko 17 1 0xffffffff8272e000 1087 ng_bluetooth.ko ------------------------------------- Wolfgang From owner-freebsd-stable@freebsd.org Sat Feb 25 14:47:32 2017 Return-Path: Delivered-To: freebsd-stable@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 771DECEDD31 for ; Sat, 25 Feb 2017 14:47:32 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A32143DF for ; Sat, 25 Feb 2017 14:47:31 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA08035; Sat, 25 Feb 2017 16:47:29 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1chddA-0002P7-SY; Sat, 25 Feb 2017 16:47:28 +0200 Subject: Re: cyapa(4) and isl(4) no longer working on Acer C720 To: Wolfgang Zenker , freebsd-stable@FreeBSD.org References: <20170225131023.GA94128@lyxys.ka.sub.org> From: Andriy Gapon Message-ID: <2763492b-6c8c-08c1-17ca-13e1d94f5543@FreeBSD.org> Date: Sat, 25 Feb 2017 16:46:32 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170225131023.GA94128@lyxys.ka.sub.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 14:47:32 -0000 On 25/02/2017 15:10, Wolfgang Zenker wrote: > Hi, > > I'm using FreeBSD 11 on a chromebook Acer C720. Because I normally > use a mouse I didn't catch the exact time when cyapa and isl stopped > working, but my guess is it was when chromebook_framework was introduced > and cyapa and isl were moved to using iic. > > A manual page chromebook_platform(4) does not exist. Maybe the Acer is > sufficiently different from other chromebooks that chromebook_platform > does not work here. In that case I'm supposed to set device hints for > the isl and cyapa drivers where to find their iic resources, according > to https://github.com/freebsd/freebsd-base-graphics/commit/e2eab8e254154d36ebd6fde573f86e6472b75572 > Unfortunately I have no idea where to find the information that would > be needed for this. The manual page actually exists... but only in the source code :-( share/man/man4/chromebook_platform.4 Mea culpa. You can look through this Linux source file to check for information that's relevant to your laptop: http://lxr.free-electrons.com/source/drivers/platform/chrome/chromeos_laptop.c Also, could you please provide pciconf -lv output? Thanks! > I have this in /boot/loader.conf: > ------------------------------------- > kern.geom.label.disk_ident.enable="0" > kern.geom.label.gptid.enable="0" > zfs_load="YES" > coretemp_load="YES" > chromebook_platform_load="YES" > ig4_load="YES" > cyapa_load="YES" > isl_load="YES" > ------------------------------------- > > And this in /etc/rc.conf: > ------------------------------------- > hostname="faunus" > keymap="de" > kld_list="i915kms.ko" > sshd_enable="YES" > dumpdev="AUTO" > zfs_enable="YES" > wlans_ath0="wlan0" > ifconfig_wlan0="WPA DHCP country de" > ifconfig_wlan0_ipv6="inet6 accept_rtadv" > rtsold_enable="YES" > moused_enable="YES" > moused_port="/dev/cyapa0" > ntpd_enable="YES" > ntpd_sync_on_start="YES" > ------------------------------------- > > Kernel config is GENERIC with added options DDB, GDB, WITNESS > and WITNESS_SKIPSPIN. > > This shows up in /var/run/dmesg.boot: > ------------------------------------- > Copyright (c) 1992-2017 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 11.0-STABLE #1 r313673: Sun Feb 12 04:22:32 CET 2017 > wolfgang@faunus:/usr/obj/usr/src/sys/WITNESS amd64 > FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on LLVM 3.9.1) > WARNING: WITNESS option enabled, expect reduced performance. > VT(vga): resolution 640x480 > CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz (1396.80-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x40651 Family=0x6 Model=0x45 Stepping=1 > Features=0xbfebfbff > Features2=0x4ddaebbf > AMD Features=0x2c100800 > AMD Features2=0x21 > Structured Extended Features=0x2603 > XSAVE Features=0x1 > VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 4301258752 (4102 MB) > avail memory = 1914736640 (1826 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > random: unblocking device. > ioapic0 irqs 0-39 on motherboard > random: entropy device external interface > kbd1 at kbdmux0 > netmap: loaded module > module_register_init: MOD_LOAD (vesa, 0xffffffff80e9cbe0, 0) error 19 > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > nexus0 > vtvga0: on motherboard > cryptosoft0: on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 550 > Event timer "HPET1" frequency 14318180 Hz quality 440 > Event timer "HPET2" frequency 14318180 Hz quality 440 > Event timer "HPET3" frequency 14318180 Hz quality 440 > Event timer "HPET4" frequency 14318180 Hz quality 440 > Event timer "HPET5" frequency 14318180 Hz quality 440 > Event timer "HPET6" frequency 14318180 Hz quality 440 > cpu0: on acpi0 > cpu1: on acpi0 > atrtc0: port 0x70-0x77 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_ec0: port 0x62,0x66 on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > acpi_button1: irq 37 on acpi0 > acpi_button2: irq 38 on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > vgapci0: port 0x1800-0x183f mem 0xe0000000-0xe03fffff,0xd0000000-0xdfffffff at device 2.0 on pci0 > vgapci0: Boot video device > hdac0: mem 0xe0510000-0xe0513fff at device 3.0 on pci0 > xhci0: mem 0xe0500000-0xe050ffff at device 20.0 on pci0 > xhci0: 32 bytes context size, 64-bit DMA > xhci0: Port routing mask set to 0xffffffff > usbus0 on xhci0 > pci0: at device 21.0 (no driver attached) > ig4iic_pci0: mem 0xe051a000-0xe051afff,0xe051b000-0xe051bfff at device 21.1 on pci0 > ig4iic_pci0: Using MSI > ig4iic_pci1: mem 0xe051c000-0xe051cfff,0xe051d000-0xe051dfff at device 21.2 on pci0 > ig4iic_pci1: Using MSI > hdac1: mem 0xe0514000-0xe0517fff at device 27.0 on pci0 > pcib1: at device 28.0 on pci0 > pci1: on pcib1 > ath0: mem 0xe0400000-0xe047ffff at device 0.0 on pci1 > ar9300_attach: calling ar9300_hw_attach > ar9300_hw_attach: calling ar9300_eeprom_attach > ar9300_flash_map: unimplemented for now > Restoring Cal data from DRAM > Restoring Cal data from EEPROM > Restoring Cal data from Flash > Restoring Cal data from Flash > Restoring Cal data from OTP > ar9300_hw_attach: ar9300_eeprom_attach returned 0 > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] LDPC transmit/receive enabled > ath0: [HT] 2 RX streams; 2 TX streams > ath0: AR9460 mac 640.2 RF5110 phy 0.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 > ehci0: mem 0xe051f800-0xe051fbff at device 29.0 on pci0 > usbus1: EHCI version 1.0 > usbus1 on ehci0 > isab0: at device 31.0 on pci0 > isa0: on isab0 > ahci0: port 0x1860-0x1867,0x1870-0x1873,0x1868-0x186f,0x1874-0x1877,0x1840-0x185f mem 0xe051f000-0xe051f7ff irq 22 at device 31.2 on pci0 > ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier not supported > ahcich0: at channel 0 on ahci0 > acpi_tz0: on acpi0 > acpi_acad0: on acpi0 > battery0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > ppc0: cannot reserve I/O port range > coretemp0: on cpu0 > est0: on cpu0 > coretemp1: on cpu1 > est1: on cpu1 > ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; > to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > Timecounters tick every 1.000 msec > nvme cam probe device init > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 3 on hdaa0 > iicbus0: on ig4iic_pci0 > usbus0: 5.0Gbps Super Speed USB v3.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen0.1: <0x8086 XHCI root HUB> at usbus0 > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ACS-3 ATA SATA 3.x device > ada0: Serial Number 50026B72420290AC > ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 15272MB (31277232 512 byte sectors) > iicbus1: on ig4iic_pci1 > hdacc1: at cad 0 on hdac1 > hdaa1: at nid 1 on hdacc1 > hdaa1: hdaa_audio_as_parse: Pin 26 has wrong direction for association 1! Disabling association. > hdaa1: hdaa_audio_as_parse: Pin 33 has wrong direction for association 2! Disabling association. > SMP: AP CPU #1 Launched! > Timecounter "TSC" frequency 1396800100 Hz quality 1000 > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from zfs:zroot/ROOT/default []... > Root mount waiting for: usbus1 usbus0 > uhub0: 13 ports with 13 removable, self powered > uhub1: 2 ports with 2 removable, self powered > Root mount waiting for: usbus1 usbus0 > ugen0.2: at usbus0 > ugen1.2: at usbus1 > uhub2 on uhub1 > uhub2: on usbus1 > ugen0.3: at usbus0 > uhub2: 8 ports with 8 removable, self powered > info: [drm] Initialized drm 1.1.0 20060810 > iic0: on iicbus0 > iic1: on iicbus1 > drmn0: on vgapci0 > info: [drm] Memory usable by graphics device = 2048M > intel_iicbb0 on drmn0 > iicbus2: error: [drm:pid147:i915_write32] *ERROR* Unknown unclaimed register before writing to c5100 > on iicbb0 addr 0xff > iic2: on iicbus2 > iicbus3: on intel_gmbus0 > iic3: on iicbus3 > intel_iicbb1 on drmn0 > iicbus4: on iicbb1 addr 0x0 > iic4: on iicbus4 > iicbus5: on intel_gmbus1 > iic5: on iicbus5 > intel_iicbb2 on drmn0 > iicbus6: on iicbb2 addr 0x0 > iic6: on iicbus6 > iicbus7: on intel_gmbus2 > iic7: on iicbus7 > intel_iicbb3 on drmn0 > iicbus8: on iicbb3 addr 0x0 > iic8: on iicbus8 > iicbus9: on intel_gmbus3 > iic9: on iicbus9 > intel_iicbb4 on drmn0 > iicbus10: on iicbb4 addr 0x0 > iic10: on iicbus10 > iicbus11: on intel_gmbus4 > iic11: on iicbus11 > intel_iicbb5 on drmn0 > iicbus12: on iicbb5 addr 0x0 > iic12: on iicbus12 > iicbus13: on intel_gmbus5 > iic13: on iicbus13 > info: [drm] MSI enabled 1 message(s) > info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). > info: [drm] Driver supports precise vblank timestamp query. > drm_iic_dp_aux0 on drmn0 > drm_iic_dp_aux1 on drmn0 > drmn0: taking over the fictitious range 0xd0000000-0xe0000000 > info: [drm] Connector eDP-1: get mode from tunables: > info: [drm] - kern.vt.fb.modes.eDP-1 > info: [drm] - kern.vt.fb.default_mode > info: [drm] Connector HDMI-A-1: get mode from tunables: > info: [drm] - kern.vt.fb.modes.HDMI-A-1 > info: [drm] - kern.vt.fb.default_mode > info: [drm] Connector DP-1: get mode from tunables: > info: [drm] - kern.vt.fb.modes.DP-1 > info: [drm] - kern.vt.fb.default_mode > fbd0 on drmn0 > VT: Replacing driver "vga" with new "fb". > info: [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0 > wlan0: Ethernet address: 9c:d2:1e:9b:e6:41 > info: [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off > wlan0: link state changed to UP > ------------------------------------- > > Output of kldstat: > ------------------------------------- > Id Refs Address Size Name > 1 55 0xffffffff80200000 1f5ab88 kernel > 2 1 0xffffffff8215c000 313dd8 zfs.ko > 3 2 0xffffffff82470000 cb08 opensolaris.ko > 4 1 0xffffffff8247d000 4c20 coretemp.ko > 5 1 0xffffffff82482000 1e20 chromebook_platform.ko > 6 1 0xffffffff82484000 8848 ig4.ko > 7 9 0xffffffff8248d000 6fd0 iicbus.ko > 8 1 0xffffffff82494000 96b8 cyapa.ko > 9 1 0xffffffff8249e000 3180 isl.ko > 10 1 0xffffffff82621000 96a0a i915kms.ko > 11 1 0xffffffff826b8000 5446f drm2.ko > 12 1 0xffffffff8270d000 1c62 iic.ko > 13 1 0xffffffff8270f000 1e6e iicbb.ko > 14 1 0xffffffff82711000 4f48 ng_ubt.ko > 15 2 0xffffffff82716000 c1bf netgraph.ko > 16 1 0xffffffff82723000 a62d ng_hci.ko > 17 1 0xffffffff8272e000 1087 ng_bluetooth.ko > ------------------------------------- -- Andriy Gapon From owner-freebsd-stable@freebsd.org Sat Feb 25 15:00:36 2017 Return-Path: Delivered-To: freebsd-stable@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 D7CA3CEC2C8 for ; Sat, 25 Feb 2017 15:00:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 321DB1A1 for ; Sat, 25 Feb 2017 15:00:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA08059; Sat, 25 Feb 2017 17:00:34 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1chdpq-0002Pf-4d; Sat, 25 Feb 2017 17:00:34 +0200 Subject: Re: cyapa(4) and isl(4) no longer working on Acer C720 To: Wolfgang Zenker , freebsd-stable@FreeBSD.org References: <20170225131023.GA94128@lyxys.ka.sub.org> <2763492b-6c8c-08c1-17ca-13e1d94f5543@FreeBSD.org> From: Andriy Gapon Message-ID: <357d6dda-6137-7246-bd33-b7e5d8f20667@FreeBSD.org> Date: Sat, 25 Feb 2017 16:59:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <2763492b-6c8c-08c1-17ca-13e1d94f5543@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 15:00:36 -0000 On 25/02/2017 16:46, Andriy Gapon wrote: > On 25/02/2017 15:10, Wolfgang Zenker wrote: >> Hi, >> >> I'm using FreeBSD 11 on a chromebook Acer C720. Because I normally >> use a mouse I didn't catch the exact time when cyapa and isl stopped >> working, but my guess is it was when chromebook_framework was introduced >> and cyapa and isl were moved to using iic. >> >> A manual page chromebook_platform(4) does not exist. Maybe the Acer is >> sufficiently different from other chromebooks that chromebook_platform >> does not work here. In that case I'm supposed to set device hints for >> the isl and cyapa drivers where to find their iic resources, according >> to https://github.com/freebsd/freebsd-base-graphics/commit/e2eab8e254154d36ebd6fde573f86e6472b75572 >> Unfortunately I have no idea where to find the information that would >> be needed for this. > The manual page actually exists... but only in the source code :-( > share/man/man4/chromebook_platform.4 > Mea culpa. > > You can look through this Linux source file to check for information that's > relevant to your laptop: > http://lxr.free-electrons.com/source/drivers/platform/chrome/chromeos_laptop.c In fact, could you please try this trivial patch? Index: sys/dev/chromebook_platform/chromebook_platform.c =================================================================== --- sys/dev/chromebook_platform/chromebook_platform.c (revision 314268) +++ sys/dev/chromebook_platform/chromebook_platform.c (working copy) @@ -69,7 +69,7 @@ * See http://lxr.free-electrons.com/source/drivers/platform/chrome/chromeos_laptop.c */ controller = device_get_parent(bus); - if (strcmp(device_get_name(controller), "ig4iic") != 0) + if (strcmp(device_get_name(controller), "ig4iic_pci") != 0) return; for (i = 0; i < nitems(slaves); i++) { Seems like I overlooked this when reviewing https://svnweb.freebsd.org/base?view=revision&revision=310621 -- Andriy Gapon From owner-freebsd-stable@freebsd.org Sat Feb 25 15:52:32 2017 Return-Path: Delivered-To: freebsd-stable@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 9C81DCED6E1 for ; Sat, 25 Feb 2017 15:52:32 +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 16F39937; Sat, 25 Feb 2017 15:52:31 +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 v1PFqEIC009088 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Sat, 25 Feb 2017 16:52:15 +0100 (CET) (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 v1PFqEbS050371 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 25 Feb 2017 16:52:14 +0100 (CET) (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 v1PFqD8h050370; Sat, 25 Feb 2017 16:52:13 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Sat, 25 Feb 2017 16:52:13 +0100 From: Wolfgang Zenker To: Andriy Gapon Cc: freebsd-stable@FreeBSD.org Subject: Re: cyapa(4) and isl(4) no longer working on Acer C720 Message-ID: <20170225155213.GA50354@lyxys.ka.sub.org> References: <20170225131023.GA94128@lyxys.ka.sub.org> <2763492b-6c8c-08c1-17ca-13e1d94f5543@FreeBSD.org> <357d6dda-6137-7246-bd33-b7e5d8f20667@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <357d6dda-6137-7246-bd33-b7e5d8f20667@FreeBSD.org> Organization: private site User-Agent: Mutt/1.7.2 (2016-11-26) 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]); Sat, 25 Feb 2017 16:52:16 +0100 (CET) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 15:52:32 -0000 * Andriy Gapon [170225 15:59]: > On 25/02/2017 16:46, Andriy Gapon wrote: >> On 25/02/2017 15:10, Wolfgang Zenker wrote: >>> I'm using FreeBSD 11 on a chromebook Acer C720. Because I normally >>> use a mouse I didn't catch the exact time when cyapa and isl stopped >>> working, but my guess is it was when chromebook_framework was introduced >>> and cyapa and isl were moved to using iic. >>> A manual page chromebook_platform(4) does not exist. Maybe the Acer is >>> sufficiently different from other chromebooks that chromebook_platform >>> does not work here. In that case I'm supposed to set device hints for >>> the isl and cyapa drivers where to find their iic resources, according >>> to https://github.com/freebsd/freebsd-base-graphics/commit/e2eab8e254154d36ebd6fde573f86e6472b75572 >>> Unfortunately I have no idea where to find the information that would >>> be needed for this. >> The manual page actually exists... but only in the source code :-( >> share/man/man4/chromebook_platform.4 >> Mea culpa. >> You can look through this Linux source file to check for information that's >> relevant to your laptop: >> http://lxr.free-electrons.com/source/drivers/platform/chrome/chromeos_laptop.c Thanks, the C720 is mentioned in that file. > In fact, could you please try this trivial patch? > Index: sys/dev/chromebook_platform/chromebook_platform.c > =================================================================== > --- sys/dev/chromebook_platform/chromebook_platform.c (revision 314268) > +++ sys/dev/chromebook_platform/chromebook_platform.c (working copy) > @@ -69,7 +69,7 @@ > * See > http://lxr.free-electrons.com/source/drivers/platform/chrome/chromeos_laptop.c > */ > controller = device_get_parent(bus); > - if (strcmp(device_get_name(controller), "ig4iic") != 0) > + if (strcmp(device_get_name(controller), "ig4iic_pci") != 0) > return; > for (i = 0; i < nitems(slaves); i++) { I did and it fixes the problem. Thank you! Wolfgang