From owner-freebsd-current@freebsd.org Sun Jul 28 13:57:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EFC54ABDA8; Sun, 28 Jul 2019 13:57:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A61C95F80; Sun, 28 Jul 2019 13:57:19 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E11B4260134; Sun, 28 Jul 2019 15:57:10 +0200 (CEST) Subject: Re: follow up: strange problem with external USB disks To: gljennjohn@gmail.com Cc: freebsd-usb@freebsd.org, freebsd-current@freebsd.org References: <20190726112533.522a15e2@ernst.home> <20190726115636.6bfa9837@ernst.home> <2bda24e2-8a42-e854-2aa9-b1c146d45db8@selasky.org> <20190727135151.1ecb179b@ernst.home> From: Hans Petter Selasky Message-ID: Date: Sun, 28 Jul 2019 15:56:33 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190727135151.1ecb179b@ernst.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 0A61C95F80 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.33 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.turbocat.net]; NEURAL_HAM_SHORT(-0.83)[-0.834,0]; IP_SCORE(-3.19)[ip: (-9.39), ipnet: 88.99.0.0/16(-4.75), asn: 24940(-1.82), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2019 13:57:21 -0000 On 2019-07-27 13:51, Gary Jennejohn wrote: > On Sat, 27 Jul 2019 13:05:01 +0200 > Hans Petter Selasky wrote: > >> On 2019-07-26 11:56, Gary Jennejohn wrote: >>> On Fri, 26 Jul 2019 11:25:33 +0200 >>> Gary Jennejohn wrote: >>> >>>> I'm having a very strange problem with external USB disks in >>>> HEAD. I see the problem with a kernel from July 12th and also >>>> with one from today. >>>> >>> [snip] >>>> Since I'm running a custom kernel I'll try running GENERIC to >>>> see what happens and report back. >>>> >>> >>> OK, so with GENERIC the error doesn't occur. Guess I'm missing >>> something in my custom kernel configuration. >>> >> >> Does it work with GENERIC nodebug ? >> > > Do you mean without "makeoptions DEBUG=-g" or without "options > USB_DEBUG"? Or something else? > I mean: sys/amd64/conf/GENERIC-NODEBUG --HPS From owner-freebsd-current@freebsd.org Sun Jul 28 15:09:10 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 882BBAD483; Sun, 28 Jul 2019 15:09:10 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B21E6684E9; Sun, 28 Jul 2019 15:09:09 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm1-x342.google.com with SMTP id f17so51309173wme.2; Sun, 28 Jul 2019 08:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=xbQ3fkv7CqhfnesxOFoernzVwBdltC1/nEgzNo28crM=; b=jZwOKWZDDjRrEMuvXY7XA4fxmjbVU4pN32OfwDQ7Iyn64ar3IB7HrorteVtbbM0PSw BcW4nm3EwmUfosH8HY/I1HOkXlFUAXbE5BL0OiTfOz/ggJwtSjQSdjMjfRCeTuRCeLLV 1E0rsiIV+WjjpTwFE+l2ZUWJuzPKNDosGJZQ4Jm43HVSIlTSgIJc831AqJXta6lIbIuP OXzBFBtu9GMtuikQpZZFBtkDaL105Yg3zM0YOpbz9W7yl3TKPA9oE33ZxV7+zy1Pd29B OjBO9Ewmce/g6YNqMUP/uepKzzwwVZRDzJTYspWdnrtnfH8NkLjf0HEnqAdjhVZVLVUA b/FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=xbQ3fkv7CqhfnesxOFoernzVwBdltC1/nEgzNo28crM=; b=suID0g656lrsqWGGtJ6ug2Y0/T8d2b106cy/noez3AXk0HWGl8ZEW+3Fjnx5xgzALB JbdW0J5oJiUYzsNGTXT8O+83bWmxsv6odpxWZuOyP6ByVSLFTotzlCfBfYpii28iPAAN e0nQ+EhIQAME+9+8v3RusP9wKG6faFCxwM9kAdfDqI1YX8hIhcsmqWk1K/zePbwQzyw8 EL9cUiu2OCkr+rcv8bWpLL6pFM8fjNTRLzAeqZpodC5kfb7/5f+L0RvcyybALVuC/0wg p5v8DhuEhIaoV13t2Iqs6r9wl7TC5pvS3dGzUw3reVnSkU2e2fSGWm4WoGIz5lquECni YnLg== X-Gm-Message-State: APjAAAV38f0fe2GkQTBoD53vWlleeXBvtqSL6gO4dzEWc6oeffyjEGJJ z7NxBqsPouSStJldJLEJ4pfcEFRM X-Google-Smtp-Source: APXvYqyScuPOWDwVIuMpu09kAjg7cKr3e83UHEtGhvhLecJo5EDefLwmY6tvs+xJAHGHcAbdn7J0gg== X-Received: by 2002:a7b:c106:: with SMTP id w6mr100092507wmi.80.1564326547192; Sun, 28 Jul 2019 08:09:07 -0700 (PDT) Received: from ernst.home (p5B023EA5.dip0.t-ipconnect.de. [91.2.62.165]) by smtp.gmail.com with ESMTPSA id u186sm104688714wmu.26.2019.07.28.08.09.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 28 Jul 2019 08:09:06 -0700 (PDT) Date: Sun, 28 Jul 2019 17:09:04 +0200 From: Gary Jennejohn To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: follow up: strange problem with external USB disks Message-ID: <20190728170904.47724d79@ernst.home> In-Reply-To: References: <20190726112533.522a15e2@ernst.home> <20190726115636.6bfa9837@ernst.home> <2bda24e2-8a42-e854-2aa9-b1c146d45db8@selasky.org> <20190727135151.1ecb179b@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: B21E6684E9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jZwOKWZD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::342 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-3.22 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.61)[ip: (2.49), ipnet: 2a00:1450::/32(-3.03), asn: 15169(-2.44), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.906,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.31)[0.306,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2019 15:09:10 -0000 On Sun, 28 Jul 2019 15:56:33 +0200 Hans Petter Selasky wrote: > On 2019-07-27 13:51, Gary Jennejohn wrote: > > On Sat, 27 Jul 2019 13:05:01 +0200 > > Hans Petter Selasky wrote: > > > >> On 2019-07-26 11:56, Gary Jennejohn wrote: > >>> On Fri, 26 Jul 2019 11:25:33 +0200 > >>> Gary Jennejohn wrote: > >>> >>>> I'm having a very strange problem with external USB disks in > >>>> HEAD. I see the problem with a kernel from July 12th and also > >>>> with one from today. > >>>> >>> [snip] > >>>> Since I'm running a custom kernel I'll try running GENERIC to > >>>> see what happens and report back. > >>>> >>> > >>> OK, so with GENERIC the error doesn't occur. Guess I'm missing > >>> something in my custom kernel configuration. > >>> >> > >> Does it work with GENERIC nodebug ? > >> > > > > Do you mean without "makeoptions DEBUG=-g" or without "options > > USB_DEBUG"? Or something else? > > > > I mean: > sys/amd64/conf/GENERIC-NODEBUG > I haven't tested GENERIC-NODEBUG. My custom configuration has INVARIANTS, COVERAGE, KCOV and WITNESS similarly disabled. I'll give it a try. -- Gary Jennejohn From owner-freebsd-current@freebsd.org Sun Jul 28 15:34:29 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B5A8FADE5E; Sun, 28 Jul 2019 15:34:29 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E80E26AD0E; Sun, 28 Jul 2019 15:34:28 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x442.google.com with SMTP id c2so55943961wrm.8; Sun, 28 Jul 2019 08:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=zl8MbzZ2RZLsAduQWga3DFSsKimfSQDqaVcAUuck0Jk=; b=UvL7JFze8akCxUYe57OttrT1ZIpnqcCQ4sw/6b/xsLslVY5Abq4zCJA/Gk8TsJnIvK LlybiMV/SwamHoYahHyH7m1Pu9DSXaeaxDfvcq9M+YeChYmMTZ9Ol2ONEmw0NO2O/2ay C3lNTX2YklJpejP/LYSwgk+Fjh002TWen0i3U7J2m5PpmAGy7mxjQwEC4WNwAO2RtztU 2bxDnaWyXM5I+p+zUdNGF/F1lUAGGBk2rkBcdNPKlIetq0+Wx89VPxDC8klFqDjsQ2qp sLRD85hev3+XHYP6qxxeqKyYc9eMWkmgRMq9GUY4yZnpmAxgRLkzbKxWQfjmRA+mrSGt 7ZoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=zl8MbzZ2RZLsAduQWga3DFSsKimfSQDqaVcAUuck0Jk=; b=XXMq48Bl9lyicQny/9KrBgMI7eZmPvfBtCNzC5i+S7k+JSN16zI7CLQ+1BpBfYnukM wYSwD70ESDdew8aTTLJpRePDbCNmxX0FXSuCxYTHLrUYaloxG6eqYwLSshwShOd6o1P4 WVLdhZcEDILz4SKrAd2VKuCOk5zpmW994hi3+IIlsdCTy1gohne3R6/SWLPu97W9lZvl Pal3FLdNxY3PyfIkkvZ7RrEGVUY5KWm8DIUW/oEf2d5aXyTEz3EodSdL+7kSMslT8oWb 2B2q3NJW1fFEuUta7RogHiL30YGmsluhUFVW9OjflAZFdizcqHCDbadivPerw8thh5xl mL5g== X-Gm-Message-State: APjAAAV8BoRhyx89YmQCay3Wuf5MLcO5bmTdPKyQhJcNI0RadVIBAX5o 9qZA+0Nc12l7CR/R4po1sICQWy3f X-Google-Smtp-Source: APXvYqxIA1JfaRwfmv6hOAKHeoYsDpkZnLhhf2xwVUDCjHOfol5FvEuWidI6ydPNG27Az9LoKRd1vA== X-Received: by 2002:adf:e708:: with SMTP id c8mr13216932wrm.25.1564328067774; Sun, 28 Jul 2019 08:34:27 -0700 (PDT) Received: from ernst.home (p5B023EA5.dip0.t-ipconnect.de. [91.2.62.165]) by smtp.gmail.com with ESMTPSA id t15sm51246770wrx.84.2019.07.28.08.34.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 28 Jul 2019 08:34:27 -0700 (PDT) Date: Sun, 28 Jul 2019 17:34:26 +0200 From: Gary Jennejohn To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: follow up: strange problem with external USB disks Message-ID: <20190728173426.431b56af@ernst.home> In-Reply-To: <20190728170904.47724d79@ernst.home> References: <20190726112533.522a15e2@ernst.home> <20190726115636.6bfa9837@ernst.home> <2bda24e2-8a42-e854-2aa9-b1c146d45db8@selasky.org> <20190727135151.1ecb179b@ernst.home> <20190728170904.47724d79@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: E80E26AD0E X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UvL7JFze; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::442 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-4.47 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.82)[-0.820,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.68)[ip: (2.12), ipnet: 2a00:1450::/32(-3.03), asn: 15169(-2.44), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.958,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2019 15:34:29 -0000 On Sun, 28 Jul 2019 17:09:04 +0200 Gary Jennejohn wrote: > On Sun, 28 Jul 2019 15:56:33 +0200 > Hans Petter Selasky wrote: > > > On 2019-07-27 13:51, Gary Jennejohn wrote: > > > On Sat, 27 Jul 2019 13:05:01 +0200 > > > Hans Petter Selasky wrote: > > > > > >> On 2019-07-26 11:56, Gary Jennejohn wrote: > > >>> On Fri, 26 Jul 2019 11:25:33 +0200 > > >>> Gary Jennejohn wrote: > > >>> >>>> I'm having a very strange problem with external USB disks in > > >>>> HEAD. I see the problem with a kernel from July 12th and also > > >>>> with one from today. > > >>>> >>> [snip] > > >>>> Since I'm running a custom kernel I'll try running GENERIC to > > >>>> see what happens and report back. > > >>>> >>> > > >>> OK, so with GENERIC the error doesn't occur. Guess I'm missing > > >>> something in my custom kernel configuration. > > >>> >> > > >> Does it work with GENERIC nodebug ? > > >> > > > > > > Do you mean without "makeoptions DEBUG=-g" or without "options > > > USB_DEBUG"? Or something else? > > > > > > > I mean: > > sys/amd64/conf/GENERIC-NODEBUG > > > > I haven't tested GENERIC-NODEBUG. My custom configuration has > INVARIANTS, COVERAGE, KCOV and WITNESS similarly disabled. I'll > give it a try. > Yes, GENERIC-NODEBUG also works. -- Gary Jennejohn From owner-freebsd-current@freebsd.org Mon Jul 29 09:41:44 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62846A4681 for ; Mon, 29 Jul 2019 09:41:44 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25910750EB for ; Mon, 29 Jul 2019 09:41:43 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-ed1-x52c.google.com with SMTP id i11so58735684edq.0 for ; Mon, 29 Jul 2019 02:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oUF3K172DiD3tDhfWxxgvcd0EHYGP/+qA4YXvS9ZPF0=; b=rCbDL9r5PrRr/rkvy/v1sRbfME46Oyf75rkJCio53Iy8RMnNWcRe/+DlhPWVBwSI1R 9bEuacjYWUyyrnEw6IsTz9t1bgG0o3oU1gvi6PgyKR+QACce1wXLefOkUbXMu8WoPjuw dNvSKL+PRdObuMpwzLnHKvod4r4IUrSWpPgOmYs1np98avneYn0L/rCls3U+4ZKe7RDw wlxzcvgErMKxHnOAOhpAHpcb/TAJ7RjBcWf9EsM4g/h8HbhKeHlIp+J0J9AwwZhz+44V WeydW6NLTVxIUd1wGcn8f4f3bIvbgoTP7ngNM0vTgxuIZNsq73yOSObQU5rUzardRKb3 S0cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oUF3K172DiD3tDhfWxxgvcd0EHYGP/+qA4YXvS9ZPF0=; b=IQujaSGblTUpsiJ/6xbfdqzyAfgImydjNrlXsi12G7RYHYKlT4zMJkId7QZZo2Mhvl HILQuUYKlHu4U7IYUNyr/dPb3uVIe1/geDZ19khSK7zlrAPZHzKqTU5UGMgO28Vvm9FU htwaecA3hWfhkFvCi/Wb1Fpon4ZkVOEPxWhJgAl1O0KrZFuOC59Uwhs/ZGIc2L8sqfVm 4u6HGvxwJbtS8H5pTF7VXINlIs+DAETR//mulO32uNvN0h5qZHIDvJg9x2kpqi6QWmMV d3daucxN56i8IMfPggKlHYno8aVllv1p97IZiBfpjuROfb36urZr68DXg9w2LJs8XX8U RJNw== X-Gm-Message-State: APjAAAXMfqrZZopR02f7f8/+HrMuiyV2xMRbt1xtE84V+PxUdrww0Fn+ /j4EDbgKu4iAEyhwhoDUrvk= X-Google-Smtp-Source: APXvYqySa7++MDSmBqk3c3EeKJYp16nxQC95DtpkPz/VUko4Ygw9n+RHlpc54EY5G8Nt91wLxyVi1g== X-Received: by 2002:a17:906:1108:: with SMTP id h8mr80310191eja.229.1564393302048; Mon, 29 Jul 2019 02:41:42 -0700 (PDT) Received: from rimwks ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id x10sm15883227edd.73.2019.07.29.02.41.40 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 02:41:41 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Mon, 29 Jul 2019 12:41:36 +0300 To: Evilham Cc: freebsd-current@freebsd.org Subject: Re: acpi issues on FreeBSD-current_r350103 on Thinkpad A485 Message-ID: <20190729124136.7868f0a3@rimwks> In-Reply-To: <3b186187-c9f6-46d2-939a-eceb6fa0359c@yggdrasil.evilham.com> References: <3b186187-c9f6-46d2-939a-eceb6fa0359c@yggdrasil.evilham.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 25910750EB X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rCbDL9r5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rozhukim@gmail.com designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=rozhukim@gmail.com X-Spamd-Result: default: False [-6.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[c.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.01)[ip: (-9.52), ipnet: 2a00:1450::/32(-3.03), asn: 15169(-2.44), country: US(-0.05)]; MID_RHS_NOT_FQDN(0.50)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 09:41:44 -0000 On Sat, 20 Jul 2019 00:54:47 +0200 Evilham wrote: > Minor glitches: > - xbacklight doesn't work, neither does intel-backlight because > it's AMD > - Speakers don't appear to work, audio input/output on 3.5 jack > does. > - SD card reader doesn't work (Bounty for 125 USD: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521) I have Asus 505 and backlight not work too (try via xfce4-power-manager). I dig into it and found that problem somewhere in ACPI code. 1. It does not proper export some functions and FreeBSD ACPI + xfce4-power-manager cant detect support this feature. I hack kernel: Index: /usr/src/sys/dev/acpica/acpi_video.c =================================================================== --- /usr/src/sys/dev/acpica/acpi_video.c (revision 350398) +++ /usr/src/sys/dev/acpica/acpi_video.c (working copy) @@ -1053,8 +1053,12 @@ dcs = 0; status = acpi_GetInteger(handle, "_DCS", &dcs); if (ACPI_FAILURE(status)) - printf("can't evaluate %s._DCS - %s\n", - acpi_name(handle), AcpiFormatException(status)); + status = acpi_GetInteger(handle, "_STA", &dcs); + if (ACPI_FAILURE(status)) { + /* Assume that device OK by default. */ + dcs = (DCS_EXISTS | DCS_ACTIVE | DCS_READY | + DCS_FUNCTIONAL | DCS_ATTACHED); + } return (dcs); } and now acpi/xfce4-power-manager show that feature supported but it does not work. (later I can move this hack into ACPI ASL code that load into bios, but it harder to maintain) 2. I dig more depper and decompile acpi code via isl. There is a mess. I found that function that set backlight level check some mem/register value before write new backlight value. I fail to found place where this value changed. I try rewrite code to remove this check and recompile ACPI and load new version witout this check on FreeBSD boot, it loaded but backlight still not work. Also I set in loader.conf: hw.acpi.osname="Windows 2015" # Some systems' ASL may have problems because they look for names of Microsoft operating systems. because there is at least 4 different places in decompiled ACPI where OS version and name checked - not help with blackligth, but as I see this unblock some features/devices. Also i2c touchpad dont work. https://reviews.freebsd.org/D16698 not help. For speakers probably wrong snddev set. Try change hw.snd.default_unit. > WARNING !drm_modeset_is_locked(&plane->mutex) failed at > /wrkdirs/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-6365030/drivers/gpu/drm/drm_atomic_helper.c:821 > [Multiple times...] > kernel trap 22 with interrupts disabled > kernel trap 22 with interrupts > disabled > kernel trap 22 with interrupts disabled > kernel trap 22 with interrupts disabled > panic: spin lock held too long I have another issue with amdgpu: after lid closed and open again video freezes to few seconds every 10 seconds. Switch to scfb xorg driver to fix it, but get small tearing on video playback. From owner-freebsd-current@freebsd.org Mon Jul 29 03:16:46 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F757BBA01 for ; Mon, 29 Jul 2019 03:16:46 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from mx0b-00154904.pphosted.com (mx0b-00154904.pphosted.com [148.163.137.20]) (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 6B4358B06F for ; Mon, 29 Jul 2019 03:16:45 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from pps.filterd (m0170398.ppops.net [127.0.0.1]) by mx0b-00154904.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6T34hR6011308 for ; Sun, 28 Jul 2019 23:16:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=smtpout1; bh=zHJbtQSzSaGtCi0B+hNbBI1Vio9/hjFwGeY6j3U1ZC8=; b=TgczrONy/7nw4WjWLsItwlf73fhXgNVwKLPm5r5CILEc42hP243r6EtlftraatN596Lo r6DYTbkROe/blqt8sZhF5rvMlHvkr+cLzZgay75PrNQrrnroofgYjQhFAp5xCP6fHa2D dha5vbugF4GYdC7rvGhObs1RwN/ab+w0nHMje6TalBowcH9lM58HFhjxMvWchE8r1E/B mEDW5xKtcSJPDX8En1JEGtn79XNS6ts9mTF/aoNgmurl62Xxd7sa2LgHrxZEciyPIkrb lzoAJ2HBGAonxA/GMFzh4LIo5FGgBb1eLHNWGkqOSex84AEMcW6DuQMai1O3JBTYhZ9v Jg== Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0b-00154904.pphosted.com with ESMTP id 2u0hu9dmes-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 28 Jul 2019 23:16:42 -0400 Received: from pps.filterd (m0142699.ppops.net [127.0.0.1]) by mx0a-00154901.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6T381FJ111412 for ; Sun, 28 Jul 2019 23:16:41 -0400 Received: from ausxipps310.us.dell.com (AUSXIPPS310.us.dell.com [143.166.148.211]) by mx0a-00154901.pphosted.com with ESMTP id 2u1qdn8w1b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 28 Jul 2019 23:16:41 -0400 X-LoopCount0: from 10.166.136.215 X-PREM-Routing: D-Outbound X-IronPort-AV: E=Sophos;i="5.60,349,1549951200"; d="scan'208";a="401637016" From: To: Subject: kgdb assert while loading a kernel core Thread-Topic: kgdb assert while loading a kernel core Thread-Index: AdVFu+VmgDj/vu64QE+OkOn4Z5gzaA== Date: Mon, 29 Jul 2019 03:16:37 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Enabled=True; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Owner=Weike_Chen@Dell.com; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SetDate=2019-07-29T03:16:14.6643276Z; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Name=External Public; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Application=Microsoft Azure Information Protection; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Extended_MSFT_Method=Manual; aiplabel=External Public x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.93.131.111] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-29_01:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=525 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907290038 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=615 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907290038 X-Rspamd-Queue-Id: 6B4358B06F X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dell.com header.s=smtpout1 header.b=TgczrONy; dmarc=pass (policy=none) header.from=Dell.com; spf=pass (mx1.freebsd.org: domain of Weike.Chen@Dell.com designates 148.163.137.20 as permitted sender) smtp.mailfrom=Weike.Chen@Dell.com X-Spamd-Result: default: False [-5.48 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.833,0]; R_DKIM_ALLOW(-0.20)[dell.com:s=smtpout1]; HAS_XOIP(0.00)[]; IP_SCORE(-0.10)[ip: (-0.01), ipnet: 148.163.137.0/24(0.01), asn: 22843(-0.42), country: US(-0.05)]; RCVD_COUNT_FIVE(0.00)[5]; R_SPF_ALLOW(-0.20)[+ip4:148.163.137.20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_SPAM_SHORT(0.56)[0.555,0]; DKIM_TRACE(0.00)[dell.com:+]; DMARC_POLICY_ALLOW(-0.50)[Dell.com,none]; FROM_NO_DN(0.00)[]; MX_GOOD(-0.01)[mxb-00154901.gslb.pphosted.com,mxa-00154901.gslb.pphosted.com]; RCVD_IN_DNSWL_LOW(-0.10)[20.137.163.148.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22843, ipnet:148.163.137.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; WHITELIST_SPF_DKIM(-3.00)[dell.com:d:+,Dell.com:s:+] X-Mailman-Approved-At: Mon, 29 Jul 2019 10:20:33 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 03:16:46 -0000 Hi all, I try to do some debugging for the FreeBSD kernel crash. My system is FreeBSD 12. And I have a kernel core file, and while I load i= t by kgdb. It reports the following error: Inferior.c: 287: internal-error: struct inferior *find_inferior_pid(int): = Assertion 'pid !=3D 0' failed. And I also try the gdb in ports/devel, and got the same error. Any workaround for the error? Thanks! From owner-freebsd-current@freebsd.org Mon Jul 29 19:49:22 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E1AA3B3C90 for ; Mon, 29 Jul 2019 19:49:22 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D55A269C33 for ; Mon, 29 Jul 2019 19:49:21 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id sBduhjvlcSrVcsBdwhKW3u; Mon, 29 Jul 2019 13:49:13 -0600 X-Authority-Analysis: v=2.3 cv=L5ZjvNb8 c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=0o9FgrsRnhwA:10 a=iLNU1ar6AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=Zq6zrc9a7xsqEpHZgRYA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id DB885633; Mon, 29 Jul 2019 12:49:09 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id x6TJmo6a053847; Mon, 29 Jul 2019 12:48:50 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id x6TJmoGi053840; Mon, 29 Jul 2019 12:48:50 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201907291948.x6TJmoGi053840@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Weike.Chen@Dell.com cc: freebsd-current@freebsd.org Subject: Re: kgdb assert while loading a kernel core In-reply-to: References: Comments: In-reply-to message dated "Mon, 29 Jul 2019 03:16:37 -0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 29 Jul 2019 12:48:50 -0700 X-CMAE-Envelope: MS4wfAUL+fZECvomZIHNGwYprSNo0hF9NsfILjQbUaZjnefnVal/zuhK/jE9rtVlj6K51uWXfTo0b9ixp9vBjq/l8+Y+yScJeO911jJqptQO8lSFlCHo93Yu sjtgfuztXnOuoQN9rZjRO0j8/8AYjQBQ+N2UYNFYZM0EIIvU4PkegMXTl6F6Sk2ZAsy9FiUbmFtlHcnl4eX0fJqHRoHS9nJfjfMmffV+/Z3Acy4021711OoD X-Rspamd-Queue-Id: D55A269C33 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.91 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: spqr.komquats.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[139.136.59.64.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.33)[ip: (-5.85), ipnet: 64.59.128.0/20(-3.21), asn: 6327(-2.50), country: CA(-0.09)]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 19:49:22 -0000 In message , Weike .Chen@Dell.com writes: > Hi all, > > I try to do some debugging for the FreeBSD kernel crash. > My system is FreeBSD 12. And I have a kernel core file, and while I load it > by kgdb. It reports the following error: > > Inferior.c: 287: internal-error: struct inferior *find_inferior_pid(int): As > sertion 'pid != 0' failed. > > And I also try the gdb in ports/devel, and got the same error. > > Any workaround for the error? Which kgdb are you using? The /usr/libexec one or the port? -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-current@freebsd.org Mon Jul 29 21:03:15 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 54D00B5E91 for ; Mon, 29 Jul 2019 21:03:15 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C8236D1DE for ; Mon, 29 Jul 2019 21:03:14 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: by mail-ot1-x330.google.com with SMTP id o101so64013275ota.8 for ; Mon, 29 Jul 2019 14:03:14 -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:cc; bh=5ct+KS+I2cSg7LnL5XWjOotNiaraNdNvgLS7oIoCkSk=; b=OtJLi6j0fqAjIaizQtc8I442uMILnqB2Q9balN0eVq3TBY+jQbAOt37aipqnnmgolW 7s3LEw99hICTkt4/e5ozJJNS3GNOfYMcr1Xt7JlhRgRlifxjzJwReWyd3aBj37DttTJk cnzqwFKVbF4YxswExmZmWvDPo1ArrtOc/3Cxjju/FcnGFLQVurm0CrMQb3VkHSom5ZCD GsJoi32rMNjo+45e690+STh8bxqk9glIXF7Qi3mO3tAAu4lwjE+XDwgujLyKIMn96zhc 69tykz4j33RFqM0gZ4E6mFRFg8GN/gHgPrll+deO7CQUcXgEANzPsR1DsKWGJ+5o8MpL loiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=5ct+KS+I2cSg7LnL5XWjOotNiaraNdNvgLS7oIoCkSk=; b=fMqegM5UEQ5k1T++VRZzWQkD+1Tlbyd30yXXEiURTx4RrzvgOP2noioJEJK56dxO/o Q9hiX+/ep3VN7GTBFXQgWf1G5WDfwpyTYpT31uWuAAG3AP7vT4sQzCFnk/rgt7AkUUkV C/rolL/PzUHXCUi3SBGpMWHnbCeK5wPn155ASZm1sLh6fMtfbULoX8Fpqa4eQGnIBlLv YPvnPre+9GUWjaicBOgs0/rIQ67xAOt0yhxW1hK5AUPTqM2zXqtu0b2eowBfxGaXX+qP uQMATNEFteGS+qc6svpxsIVqL0uSw7QVs9xddmvg6aufPqYnY0YFEwUfOuV2AlDYbviK YNNQ== X-Gm-Message-State: APjAAAUhn9LeotgfUFd3HjFQYm/mQ29MwGEn2pPGdQensqYtFkpFzKKP Q3KMvezB0AsHXVbjc0fTpQFcFD6y5UOSoPNKdpSOG4rr X-Google-Smtp-Source: APXvYqzxDz6APYOwhB/ppiQWnWKCmmouVgvxxGWBEvvOYNmt4Dvp04ZhgLsh055ZIf2XCwNEPtQr2sT/KHCDmFIirh8= X-Received: by 2002:a9d:729a:: with SMTP id t26mr2837351otj.13.1564434193188; Mon, 29 Jul 2019 14:03:13 -0700 (PDT) MIME-Version: 1.0 From: Nick Wolff Date: Mon, 29 Jul 2019 17:03:32 -0400 Message-ID: Subject: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133) To: Hans Petter Selasky Cc: lausts@acm.org, freebsd-current@freebsd.org X-Rspamd-Queue-Id: 6C8236D1DE X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=OtJLi6j0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of darkfiberiru@gmail.com designates 2607:f8b0:4864:20::330 as permitted sender) smtp.mailfrom=darkfiberiru@gmail.com X-Spamd-Result: default: False [-6.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[0.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.93)[ip: (-9.04), ipnet: 2607:f8b0::/32(-3.10), asn: 15169(-2.45), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 21:03:15 -0000 I just tested the snapshot from 20190725 and still am getting the root mount rating for "boot on boot. I think something deeper broke between r349133 and r349160 because even when I turn off wait for Root Mount on usb root via a loader variable boot just get's stuck later on in the process. This is all happening on an x11-dpi-nt board. http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20190725-r350322-disc1.iso On Mon, Jul 22, 2019 at 12:57 PM Nick Wolff wrote: > Hans, > > I'm building r350003 at the moment which is after the acpi change was > moved into an unloaded module. > > > > On Mon, Jul 22, 2019 at 12:13 PM Hans Petter Selasky > wrote: > >> On 2019-07-22 17:23, Nick Wolff wrote: >> > Sorry for email spam but I was wrong. Just gets stuck now during >> reproping >> > a pci device after init happens(this is actually a trueos build which is >> > why you see openrc). That device it's getting stuck on is "Sky Lake-E >> CBDMA >> > Registers" which shouldn't have a driver attached. >> > >> https://drive.google.com/file/d/19NFI0Dcupu3ZcVxbcr2vYFZ-iDqiIzkx/view?usp=sharing >> > >> > Though it maybe something else getting stuck at this point and that just >> > happens to be the last thing on the screen. >> > >> >> There was a recent change to add an ACPI wrapper for the USB HUB driver, >> but that was a bit premature and introduced some bugs. For now the ACPI >> USB HUB wrapper is not enabled by default. Do you experience issues with >> the latest -current ? >> >> --HPS >> >> From owner-freebsd-current@freebsd.org Mon Jul 29 23:17:22 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DCA6FB9568 for ; Mon, 29 Jul 2019 23:17:22 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2334281F52 for ; Mon, 29 Jul 2019 23:17:22 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vs1-xe2d.google.com with SMTP id h28so42198298vsl.12 for ; Mon, 29 Jul 2019 16:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9hhJnyo9ieHPg2g1rHVG/hbMgT+cpQDMK6beiOBv7xQ=; b=LVp26rxWfXvhqqOQw18wecNv8KMo9XrAF6nu01mcNoU+gz4mGYsKVtWyxW0h0fbzlD AWLq0GIrLKNxh5ppJNhloaXoHYfwW9j8DG/DSYFU0IfxGrm1MJz/wclzTioDY4ZLl2j+ G3Tz5pa4EoC9ttjExEbzayisW/YOQOtgshCzasgVofhbMdNw+ZfbVNsR+0re2K6FKkqC vZXScRpkfwPVh+whS6sqQbeGYOMf+13YVdOkZJfQ0Gz1SWpV/CEWQoCLx5GP3vhvpSBA 0dVjI3+vP99ZKHzWw7SJuHyy1u7zovwThvIy9U5hPBV1nEtxqk1yUJTHmS7HEUsUc7Ry qWHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9hhJnyo9ieHPg2g1rHVG/hbMgT+cpQDMK6beiOBv7xQ=; b=D69s6o/TvDv50QzVMCECRbeufrZ6gXwvDM1eWPZ+PgZJL3gBfZqzABwzVyJI9Ha0h8 hieK7z0jY/L1R3gbUBxLeaxIQj0NVX9xBEAXSusiNRnxcOaAcqClpniDLgpNmeu3aOmO RIUTjL3JiD0jTxFi4bF/7dIFvH4vBZwllPmYb8z69K8zGywdO3yQPpS9XtRso8HrflDX GivmLLe0nvCRFCCj3c/D7QeleZPM30R6kCx/X5SqDXhZQ9B24YEIaqs+tPhjEuIoIgyj i9NTFXilZe3QkZ+SKzmncV0BUJQQQknwk2StCF2Yogl0EFv3RE/k8u+TtBWNexRQfbsa CNeg== X-Gm-Message-State: APjAAAWzILx5N+mkGJpqLdpxrBFfddaQVtbu3EX13BLjhA80FwPwklPZ wRc4tEs/6C2vgmJAaxUXE506dxjsgVgOymG1+Q== X-Google-Smtp-Source: APXvYqxw45hGY1FzeTLbYF4UjiihgS8UHJBd63TBrlpMY2xCVme8bPbh/gVvXeiR9GMgJeTL1OijNlzpCyhUqEwOgNQ= X-Received: by 2002:a67:e244:: with SMTP id w4mr70603194vse.176.1564442241269; Mon, 29 Jul 2019 16:17:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Clay Daniels Jr." Date: Mon, 29 Jul 2019 18:17:08 -0500 Message-ID: Subject: Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133) To: Nick Wolff Cc: Hans Petter Selasky , lausts@acm.org, freebsd-current@freebsd.org X-Rspamd-Queue-Id: 2334281F52 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LVp26rxW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::e2d as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-7.05 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.07)[ip: (-9.74), ipnet: 2607:f8b0::/32(-3.10), asn: 15169(-2.45), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 23:17:22 -0000 The .iso files are for a dvd install. If you want to use a usb, download the .img files. FreeBSD-13.0-CURRENT-amd64-20190725-r350322-memstick.img ( or get the .xz version and extract it on your machine - it's smaller) This "mount root" problem got me too, so don't feel alone. Clay clay@fbsd13:~ $ uname -a FreeBSD fbsd13 13.0-CURRENT FreeBSD 13.0-CURRENT r350322 GENERIC amd64 On Mon, Jul 29, 2019 at 4:03 PM Nick Wolff wrote: > I just tested the snapshot from 20190725 and still am getting the root > mount rating for "boot on boot. I think something deeper broke between > r349133 and r349160 because even when I turn off wait for Root Mount on usb > root via a loader variable boot just get's stuck later on in the process. > > This is all happening on an x11-dpi-nt board. > > > http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20190725-r350322-disc1.iso > > On Mon, Jul 22, 2019 at 12:57 PM Nick Wolff > wrote: > > > Hans, > > > > I'm building r350003 at the moment which is after the acpi change was > > moved into an unloaded module. > > > > > > > > On Mon, Jul 22, 2019 at 12:13 PM Hans Petter Selasky > > wrote: > > > >> On 2019-07-22 17:23, Nick Wolff wrote: > >> > Sorry for email spam but I was wrong. Just gets stuck now during > >> reproping > >> > a pci device after init happens(this is actually a trueos build which > is > >> > why you see openrc). That device it's getting stuck on is "Sky Lake-E > >> CBDMA > >> > Registers" which shouldn't have a driver attached. > >> > > >> > https://drive.google.com/file/d/19NFI0Dcupu3ZcVxbcr2vYFZ-iDqiIzkx/view?usp=sharing > >> > > >> > Though it maybe something else getting stuck at this point and that > just > >> > happens to be the last thing on the screen. > >> > > >> > >> There was a recent change to add an ACPI wrapper for the USB HUB driver, > >> but that was a bit premature and introduced some bugs. For now the ACPI > >> USB HUB wrapper is not enabled by default. Do you experience issues with > >> the latest -current ? > >> > >> --HPS > >> > >> > _______________________________________________ > 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-current@freebsd.org Tue Jul 30 00:11:42 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 31BEEBB05A for ; Tue, 30 Jul 2019 00:11:42 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 621A28390F for ; Tue, 30 Jul 2019 00:11:41 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x6U0BPJP046637; Mon, 29 Jul 2019 17:11:25 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x6U0BO8w046636; Mon, 29 Jul 2019 17:11:24 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201907300011.x6U0BO8w046636@gndrsh.dnsmgr.net> Subject: Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133) In-Reply-To: To: "Clay Daniels Jr." Date: Mon, 29 Jul 2019 17:11:24 -0700 (PDT) CC: Nick Wolff , Hans Petter Selasky , lausts@acm.org, freebsd-current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 621A28390F X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.49 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.37)[0.369,0]; RCVD_TLS_LAST(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: gndrsh.dnsmgr.net]; NEURAL_SPAM_LONG(0.45)[0.451,0]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.05), country: US(-0.05)]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; NEURAL_SPAM_MEDIUM(0.73)[0.733,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 00:11:42 -0000 > The .iso files are for a dvd install. If you want to use a usb, download > the .img files. > > FreeBSD-13.0-CURRENT-amd64-20190725-r350322-memstick.img > The FreeBSD projects amd64 .iso images are hybrid now, they should work both as a memstick image and as a burned .iso. IFF this is failing it is a bug and should be addressed. file FreeBSD-13.0-CURRENT-amd64-20181213-r342020-disc1.iso FreeBSD-13.0-CURRENT-amd64-20181213-r342020-disc1.iso: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS (0x3ff,255,63), startsector 1, 1758779 sectors file FreeBSD-12.0-CURRENT-amd64-20171206-r326622-disc1.iso FreeBSD-12.0-CURRENT-amd64-20171206-r326622-disc1.iso: ISO 9660 CD-ROM filesystem data '12_0_CURRENT_AMD64_CD' (bootable) > ( or get the .xz version and extract it on your machine - it's smaller) > > This "mount root" problem got me too, so don't feel alone. > > Clay > clay@fbsd13:~ $ uname -a > FreeBSD fbsd13 13.0-CURRENT FreeBSD 13.0-CURRENT r350322 GENERIC amd64 > > > On Mon, Jul 29, 2019 at 4:03 PM Nick Wolff wrote: > > > I just tested the snapshot from 20190725 and still am getting the root > > mount rating for "boot on boot. I think something deeper broke between > > r349133 and r349160 because even when I turn off wait for Root Mount on usb > > root via a loader variable boot just get's stuck later on in the process. > > > > This is all happening on an x11-dpi-nt board. > > > > > > http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20190725-r350322-disc1.iso > > > > On Mon, Jul 22, 2019 at 12:57 PM Nick Wolff > > wrote: > > > > > Hans, > > > > > > I'm building r350003 at the moment which is after the acpi change was > > > moved into an unloaded module. > > > > > > > > > > > > On Mon, Jul 22, 2019 at 12:13 PM Hans Petter Selasky > > > wrote: > > > > > >> On 2019-07-22 17:23, Nick Wolff wrote: > > >> > Sorry for email spam but I was wrong. Just gets stuck now during > > >> reproping > > >> > a pci device after init happens(this is actually a trueos build which > > is > > >> > why you see openrc). That device it's getting stuck on is "Sky Lake-E > > >> CBDMA > > >> > Registers" which shouldn't have a driver attached. > > >> > > > >> > > https://drive.google.com/file/d/19NFI0Dcupu3ZcVxbcr2vYFZ-iDqiIzkx/view?usp=sharing > > >> > > > >> > Though it maybe something else getting stuck at this point and that > > just > > >> > happens to be the last thing on the screen. > > >> > > > >> > > >> There was a recent change to add an ACPI wrapper for the USB HUB driver, > > >> but that was a bit premature and introduced some bugs. For now the ACPI > > >> USB HUB wrapper is not enabled by default. Do you experience issues with > > >> the latest -current ? > > >> > > >> --HPS > > >> > > >> > > _______________________________________________ > > 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" > > > _______________________________________________ > 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" > -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-current@freebsd.org Tue Jul 30 01:45:46 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26A4ABD0A9 for ; Tue, 30 Jul 2019 01:45:46 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 659B4861C3 for ; Tue, 30 Jul 2019 01:45:45 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vs1-xe2f.google.com with SMTP id 2so42354472vso.8 for ; Mon, 29 Jul 2019 18:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q4a/etJNf4kx84aKEcEUuHgCK/LVRmb+LMbXfgiHCFE=; b=Tji9j4wRnD5rD7f2hn2m5C9VLfixzwdmuTQDBL5FlHTRqL0/is4T2S7J2h9OElvucx EmlAYG6OnNeCezInoZbsoZGwM3liCs+HKvzMMpVxGMVW5sF7zFuQW1YxGJz6LFI0X2bV ysLV4ALzvN0jWyHS6QGYuK/mf83GensDRJ30hB7uGcmAG8898KZZAaAEcONSxIOmt1Em Fp1lRHaaAqK6vBNw5j4IcwpH6PJhGylBKgQPJHDEl7MnsVAKb1l/Z9NSRToU97MEOuWf XuGbK4m/wkzAiE8i4Tv7qjzSdgVr1Dwcv+8Uhu1N0nQcViZfrVnDVBb8hYGgU6aablOm iMzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q4a/etJNf4kx84aKEcEUuHgCK/LVRmb+LMbXfgiHCFE=; b=PAHiOPsPx3chHyWf/oZY0uMBAaRa0CD22CzPzasY52JdQHL78wUpysoL5oO8ZVY6ws kdJueFmGqukVO5SWx4wfKxEOecY1GY5mLTusIupwyUctXF7srqbD5h4FDV4zBOyYiL4P Jd8cwv+4na2OTRouC3WQDhEm2qDyfMg9vHEuNoDhaOUMSSv7prMhCg/sYdXPNNkofKUc ODooKPX6cmxruVUgc008K/DrGUt8uI/1c6AXhkZ3wxCKDnWSwr/YrO+YCPUw/osKtP7x uh4+MtYotUyqH5OnFJmmfISUEziiriIdSjM8S5//UsYiyIsmTSCptMgDvaSx9/sqvvjk c/VQ== X-Gm-Message-State: APjAAAU0LSvp94th8GkGOYYRK7+6bIwISdMDZBFW5iDh8Ogs/BwPViEL 3d8Yj7AdbU6baW2xCLnwK/Uwhr7hElEILlsogg== X-Google-Smtp-Source: APXvYqzQAv+HAYFd1P6+eIvmXdwoyj1Y2gJKIEiEYTG67v365dwWhG3W8IVpW3CapAqH7djv2MVcRRzOccfvTy1h/ls= X-Received: by 2002:a67:8c02:: with SMTP id o2mr67140572vsd.167.1564451144564; Mon, 29 Jul 2019 18:45:44 -0700 (PDT) MIME-Version: 1.0 References: <201907300011.x6U0BO8w046636@gndrsh.dnsmgr.net> In-Reply-To: <201907300011.x6U0BO8w046636@gndrsh.dnsmgr.net> From: "Clay Daniels Jr." Date: Mon, 29 Jul 2019 20:45:31 -0500 Message-ID: Subject: Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133) To: "Rodney W. Grimes" Cc: Nick Wolff , Hans Petter Selasky , lausts@acm.org, freebsd-current@freebsd.org X-Rspamd-Queue-Id: 659B4861C3 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Tji9j4wR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::e2f as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-7.07 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[f.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.07)[ip: (-9.73), ipnet: 2607:f8b0::/32(-3.10), asn: 15169(-2.45), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 01:45:46 -0000 Rodney, you are right that the .iso "should work", and a lot of other projects, from Microsoft Windows 10 to Trident BSD only a furnish an iso, and no img file. FreeBSD is one of the few that give you both choices. The problem goes deeper than any one operating system. If you've ever used the Rufus tool to make a bootable usb, which is all Rufus does, you may have come across problems with "mount root". I found this article, answered by a Rufus developer very enlightening. https://superuser.com/questions/1170832/why-are-there-different-options-for-creating-bootable-usb-compared-to-a-cd I have a collection of usb thumbdrives here at my desk, and use them a lot, but I also bought me some blank dvd disks and use them too. But I think you are right, Nick Wolff's problem may be a a bug to be reported. All I know is I took the same file, FreeBSD-13.0-CURRENT-amd64-20190725-r350322-disc1.iso , burned it to a dvd, and I'm now writing this email from the FreeBSD 13.0-CURRENT r350322 partition of my computer. Clay From owner-freebsd-current@freebsd.org Tue Jul 30 02:29:29 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 07EFCBE40C for ; Tue, 30 Jul 2019 02:29:29 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26A0C87564 for ; Tue, 30 Jul 2019 02:29:28 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id r6so64705362oti.3 for ; Mon, 29 Jul 2019 19:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ocOoR6Tot0dZkPhPqQQdsaIcLB33g0m1DJdFIRgoKTY=; b=mbv3E/y5X7v1HdVSijEzKXm4vust+s4qkog+02A+74BC8ZAFjX02xwncMR7t6GRRqG +aQbKu/hllG2S66H9lYgRfVQp1zafa0fx/gHGWbR4Fd1VB3ScejIbFvNAUl3qNcJiWeJ Llz6JvKez+UDTqgywKm3sYVMwbs094OA5oe4jb44eYH1sigxwifQVvZO83pdfknpPJgC cIhU40xJyitle8uRmbiQsQEY78hpu8eedC96kiLMjIs5H/91VW0ITSzHtUGrqURIGsi4 lnewa0U1SGTKhMdxf1MsfV41Ze1bFlf9AUU+vefC71H3rbDqjgys4bUYjIdh+ptUzvcQ TTMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ocOoR6Tot0dZkPhPqQQdsaIcLB33g0m1DJdFIRgoKTY=; b=G9fOFDLcywMQxguf8DlxsxUMmd2wELGorzMaOGMvDcU3/suXBihdidatqWTmwvLSnl LG8B+HHz5gMMBuGCXhR7wRC6VF0QbEiPp0sEN26Q7saH/ehYAavG9C/UjEHfzczPGMsP 1QzdgSYAuxMrG3kIfpMfYfsjIUGPMzhkTC5mI+I/EC61NbpKHlw5Mp+c/wlqckDmN9w2 oT4ntwhgkZ9iZVGVbzwK4xKxV7FEvhPA4igM9AtEkvmCz3MPp6KgrSDh0QcjfSMgALlG idtPHxyP+f78IwpdPlGlqfkTs6AdF5rSYOrCW3xh5Pj5H/E0synfmQyyeHIy2JOWwQ1Q h0mg== X-Gm-Message-State: APjAAAXhAaPxy6cek0hf7wSPyt+lp0k6YB8ca6zCTHYUG490RtWLTudu zo84R7W+Wp0E6d9UbPIRFw5Xqdzj9RlUKKmXpdI= X-Google-Smtp-Source: APXvYqxxkw3iRuL14RHk77JrwBi80GLCzzTIuETl+pZRFnNIWLTvy4aS82TRHgdRoVnNo8tDjOEBKG7nhLlvORTjS64= X-Received: by 2002:a9d:6f9a:: with SMTP id h26mr63257986otq.211.1564453767036; Mon, 29 Jul 2019 19:29:27 -0700 (PDT) MIME-Version: 1.0 References: <201907300011.x6U0BO8w046636@gndrsh.dnsmgr.net> In-Reply-To: From: Nick Wolff Date: Mon, 29 Jul 2019 22:29:15 -0400 Message-ID: Subject: Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133) To: "Clay Daniels Jr." Cc: "Rodney W. Grimes" , Hans Petter Selasky , lausts@acm.org, freebsd-current@freebsd.org X-Rspamd-Queue-Id: 26A0C87564 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mbv3E/y5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of darkfiberiru@gmail.com designates 2607:f8b0:4864:20::32e as permitted sender) smtp.mailfrom=darkfiberiru@gmail.com X-Spamd-Result: default: False [-6.88 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.94)[-0.936,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.93)[ip: (-9.07), ipnet: 2607:f8b0::/32(-3.10), asn: 15169(-2.45), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 02:29:29 -0000 Sorry boot is broken from harddrive or iso(as cdrom) for some users(at least 3) since somewhere in the revisions listed above and that still stands as of the Head snapshot of 072519. Sorry for lack of clarity. There was a thread under Problem with USB after r349133 but I decided to rename it to try to catch more people's eyes/get more reports in if people run into the issue. Don't think or at least know for sure USB is the problem as when you bypass the waiting for USB you get a different hang farther into system booting. I will try to bisect the build in that magic revision range once I figure out on what system as it's my primary builder that's having this issue. Not that I have a lack of hardware I guess just time to setup something else. On Mon, Jul 29, 2019, 21:45 Clay Daniels Jr. wrote: > Rodney, you are right that the .iso "should work", and a lot of other > projects, from Microsoft Windows 10 to Trident BSD only a furnish an iso, > and no img file. FreeBSD is one of the few that give you both choices. The > problem goes deeper than any one operating system. If you've ever used the > Rufus tool to make a bootable usb, which is all Rufus does, you may have > come across problems with "mount root". I found this article, answered by a > Rufus developer very enlightening. > > https://superuser.com/questions/1170832/why-are-there-different-options-for-creating-bootable-usb-compared-to-a-cd > > I have a collection of usb thumbdrives here at my desk, and use them a > lot, but I also bought me some blank dvd disks and use them too. > > But I think you are right, Nick Wolff's problem may be a a bug to be > reported. All I know is I took the same file, > FreeBSD-13.0-CURRENT-amd64-20190725-r350322-disc1.iso > > , burned it to a dvd, and I'm now writing this email from the FreeBSD > 13.0-CURRENT r350322 partition of my computer. > > Clay > From owner-freebsd-current@freebsd.org Tue Jul 30 09:53:40 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C6EEFC5D3A for ; Tue, 30 Jul 2019 09:53:40 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from mx0a-00154904.pphosted.com (mx0a-00154904.pphosted.com [148.163.133.20]) (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 8A3EF92A92 for ; Tue, 30 Jul 2019 09:53:39 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from pps.filterd (m0170390.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6U9p9Sv010852 for ; Tue, 30 Jul 2019 05:53:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=smtpout1; bh=8S1nQof4BFwEEh/abksT+lD0t1YyujmucUQ9fPniLtM=; b=vAuB4qi7oLjmCAgvEy/c5wvCJXsCEQzc1z/E1GUSCQM3HMSkPokfAM/cMOB9GgbVa2W0 DHttceKTX0dbvWS29dOaAqL12uSLQizGMpKUIlkZupV/EHCu6X59GfwrbGdZxYfurbV2 vJA5Aq5bM46Ho6lNuj3VQ2BFaREkXkNWB9YSwFEZo8SsxI27MFmxu1QrFljHm3HkoIge 54eLXnKQvc8TrTc1uNWfVKSTTjjkfEfJyPAK0eApO/W7fRfjJBV2gjqzvA7nxcH8/EEq Q+vr2wzqeCzuY0hgFpUUaYTddK8ZKuCnRQFOO6tMqA3GTROlt7IN1FHjYSZ9++vZwnCo mg== Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0a-00154904.pphosted.com with ESMTP id 2u22qrv80r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 30 Jul 2019 05:53:36 -0400 Received: from pps.filterd (m0090351.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6U9qvPx046312 for ; Tue, 30 Jul 2019 05:53:36 -0400 Received: from ausxippc101.us.dell.com (ausxippc101.us.dell.com [143.166.85.207]) by mx0b-00154901.pphosted.com with ESMTP id 2u2hnc1p32-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 30 Jul 2019 05:53:36 -0400 X-LoopCount0: from 10.166.135.143 X-PREM-Routing: D-Outbound X-IronPort-AV: E=Sophos;i="5.60,346,1549951200"; d="scan'208";a="1279296850" From: To: CC: Subject: RE: kgdb assert while loading a kernel core Thread-Topic: kgdb assert while loading a kernel core Thread-Index: AdVFu+VmgDj/vu64QE+OkOn4Z5gzaAAR7EIAAC4tdqA= Date: Tue, 30 Jul 2019 09:53:31 +0000 Message-ID: References: <201907291948.x6TJmoGi053840@slippy.cwsent.com> In-Reply-To: <201907291948.x6TJmoGi053840@slippy.cwsent.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Enabled=True; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Owner=Weike_Chen@Dell.com; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SetDate=2019-07-30T09:53:29.4921152Z; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Name=External Public; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Application=Microsoft Azure Information Protection; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Extended_MSFT_Method=Manual; aiplabel=External Public x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.80.193.246] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-30_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=591 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300106 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=763 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300105 X-Rspamd-Queue-Id: 8A3EF92A92 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dell.com header.s=smtpout1 header.b=vAuB4qi7; dmarc=pass (policy=none) header.from=Dell.com; spf=pass (mx1.freebsd.org: domain of Weike.Chen@Dell.com designates 148.163.133.20 as permitted sender) smtp.mailfrom=Weike.Chen@Dell.com X-Spamd-Result: default: False [-6.77 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[dell.com:s=smtpout1]; HAS_XOIP(0.00)[]; IP_SCORE(-0.13)[ip: (-0.09), ipnet: 148.163.133.0/24(-0.04), asn: 26211(-0.45), country: US(-0.05)]; RCVD_COUNT_FIVE(0.00)[5]; R_SPF_ALLOW(-0.20)[+ip4:148.163.133.20]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[dell.com:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; MX_GOOD(-0.01)[mxb-00154901.gslb.pphosted.com,mxa-00154901.gslb.pphosted.com]; DMARC_POLICY_ALLOW(-0.50)[Dell.com,none]; NEURAL_HAM_SHORT(-0.53)[-0.533,0]; RCVD_IN_DNSWL_LOW(-0.10)[20.133.163.148.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:26211, ipnet:148.163.133.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; WHITELIST_SPF_DKIM(-3.00)[dell.com:d:+,Dell.com:s:+] X-Mailman-Approved-At: Tue, 30 Jul 2019 10:38:05 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 09:53:40 -0000 > -----Original Message----- > From: Cy Schubert > Sent: Tuesday, July 30, 2019 3:49 AM > To: Chen, Alvin W > Cc: freebsd-current@freebsd.org > Subject: Re: kgdb assert while loading a kernel core >=20 >=20 > [EXTERNAL EMAIL] >=20 > In message > > , Weike > .Chen@Dell.com writes: > > Hi all, > > > > I try to do some debugging for the FreeBSD kernel crash. > > My system is FreeBSD 12. And I have a kernel core file, and while I > > load it by kgdb. It reports the following error: > > > > Inferior.c: 287: internal-error: struct inferior > > *find_inferior_pid(int): As sertion 'pid !=3D 0' failed. > > > > And I also try the gdb in ports/devel, and got the same error. > > > > Any workaround for the error? >=20 > Which kgdb are you using? The /usr/libexec one or the port? >=20 I use the kgdb in port, and I also try the kgdb in /usr/libexec, but it rep= orts error "Cannot access memory at address 0x0" while loading my core file= . >=20 > -- > Cheers, > Cy Schubert > FreeBSD UNIX: Web: http://www.FreeBSD.org >=20 > The need of the many outweighs the greed of the few. >=20 From owner-freebsd-current@freebsd.org Tue Jul 30 12:34:04 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A417A2177 for ; Tue, 30 Jul 2019 12:34:04 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A99797A54 for ; Tue, 30 Jul 2019 12:34:02 +0000 (UTC) (envelope-from ohartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564490034; bh=8DoPSqZ06j9zi06jD/cDL60CKAYixhpSEn7NVPklm2I=; h=X-UI-Sender-Class:Date:From:To:Subject; b=A633t1JB/MvCBCWi2bzHGyJi7BMM2BREiymI4CjOCosg4UqD8PivjD7cP6c/jXOk5 T70T+uDkakwxvO0b1MFkmj1DEKseUW7bvC5QLOgbiO48dRNQRYahLt5n1t1Nfcajsx PdN+SlJCWotSuqmFdXqBytxu/T64auTMAz/6SV4E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from freyja ([46.88.81.15]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MOfQw-1hySjS09GI-006A4N for ; Tue, 30 Jul 2019 14:21:08 +0200 Date: Tue, 30 Jul 2019 14:20:53 +0200 From: "O. Hartmann" To: freebsd-current Subject: CURRENT: rc script/kernel freeze after r349267 Message-ID: <20190730142047.31137701@freyja> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:4ML7Hc621CaCEneB8Yw3/ob8dFqvOd7k+XGh4lhfuGRCiuYyXuY PlAFl+PfoNQnJXnOCBHDjji6HyYdqGKZny4c5nF9IIh/Ds/SwMdDuU+B4rMCDm6WYbwj9bU fmfn7pNpVlFY3XXDauYPlcGR1k3j3H7Poosrzcr+bWp2tirHtDSH8UPIcFrT69kf7R8TRq0 6ywcapbTmEGozqY6LPUOw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:WZKImx6RHZE=:hQFn65sXugbWgmhlgc1V9h X4QizBZap7D9p7TfCkn+5fbnjVerG9BPnZKjkCNlQZi2oetmqBfrWzyU8wtUmp0KiMutH0cWs g6WfW4iey+b5yRphHNfUCecHnWXDaXDJfS5rWBt0QxyoMeUuFHWLnyKuiuYVHf5UNg8ZC+e43 rp3d2frlKWdq4lXJX1vel9E/psgAdCI/RFiK/8RcgBqpMTfZqKg20r4IPxhIxcKVqm1E08LWb JioVlvGuI3Ug5xInC+ReptFimTrmaFZVMX+4gYmxyDI64KUt+tncnqrcHK4HAKOe1ZiwuF2P0 kaRGJEOyX5734KAr+I8/I44wKVdyTAuD7jhx66m9rZY2LEKusqaPsYf8w6r69/dSzZ8IRLNf/ V4Nut+dcTUtdyyPaZcGEkH8+OZDz2xljdox2n1kSPYlkOiVnSUIsACCV+IBAKVv83anI5kh3V JECIy5Z8Qv8blMa/Kw4MGrv/Oh+qd3MwxdNkBh4mifIUvwZOWOyWygpcWeLKsq0N3+pzEZzjb zCuyL+0Nay/V5O+LBfKEK3FbmgEAkjbMKOR2WYkrikCu49QHnWNKSb4FfQq9OorsCEL45pIxp CGRumkwQ3KDnx3wMUNp9lAZ9xZ0PqZmzxGRmN4fomTlzvmNnaAQxd6rpIXjgR5Ns4ksthU6IL 9+k3H7sJJ/O2sa8zj3RU+ZqpShB2HrC4jqapuC8RfQmxu3SJ5wqQSe/5wrhxVvAfqlKa647N9 ueTTWc6CH70zpWVvGVSd6+m3jWhnF0k16zfXl7cwcrUriJCQ3b0Otco2kbJCc/SYUJRosFCZV GihKsfhi6rZ5UHcXzkCpuKZTI04mVGwGpa8QkPb0OtB7UZgCRLeHZnGr2fnvs/7fuT6N9fG4a oowWGB7AavA7+nI7d2U3H0MqUvNazMgjyvG+7gJCx7uHjhDPnl3QV2DDAlQ/XJos+xXWGdMhd RRSzO8kSdb75X/9LPJ68sghJ+jD7urni5V4G0umZKtRQ4fjXqpdcPFcG/eUOKLtupHCYGUItY znd8ECXNeiJILCwm9mNyoJiyjDKijQXlZuFinhxjzqlz/3Q6ai0cmYApCYsiOvekKv8gN47Hz PwL8zkEEKnjxbHvPllUaegX1q87UeseZ/he X-Rspamd-Queue-Id: 8A99797A54 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=A633t1JB X-Spamd-Result: default: False [-4.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RECEIVED_SPAMHAUS_PBL(0.00)[15.81.88.46.zen.spamhaus.org : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[walstatt.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-1.24)[ip: (-7.06), ipnet: 212.227.0.0/16(-1.45), asn: 8560(2.31), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; MX_GOOD(-0.01)[mx01.gmx.net,mx00.gmx.net]; NEURAL_HAM_SHORT(-0.92)[-0.923,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[21.17.227.212.list.dnswl.org : 127.0.3.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 12:34:04 -0000 Hello. We run into a problem on one of our new Fujitus Primergy R2530M5 boxes, ru= nning CURRENT. For the processor model see below. Running FreeBSD 13.0-CURRENT #2 r349267: Fri Jun 21 13:34:45 CEST 2019 amd= 64 works fine so far (but frequent starting/stopping jails triggers a spontan= ous reboot), but after upgrading to most recent revision (r350438 as of this writing), booting the kernel works fine, but then the console freezes at t= he point when showing "starting devd". Usually, after this point one can see = the initialization of the four i350 NICs (igb0-igb3). With the last CURRENT available, this doesn't happen anymore, no keyboard action is possible (Ct= rl-T, Ctrl-C or similar), but ACPI seems active since I can shutdown the system = in a defined way by pushing the ON/Off button. The problem occurs with kernel GENERIC, GENERIC-NODEBUG and several customized kernels. Enabling debug messages in /etc/rc.conf results in a last line showing som= e code containing "devmatch()" (can't remember, box is at a remote site now)= . The machine is a two socket box but with only one socket populated and 64G= B RAM, see the following dmesg. Kind regards, O. Hartmann [...] =2D--<>--- Copyright (c) 1992-2019 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 13.0-CURRENT #2 r349267: Fri Jun 21 13:34:45 CEST 2019 root@wotan.lan101.bundesimmobilien.intern:/usr/obj/usr/src/amd64.amd64= /sys/WOTAN amd64 FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on L= LVM 8.0.1) VT(efifb): resolution 1024x768 CPU: Intel(R) Xeon(R) Gold 5217 CPU @ 3.00GHz (2993.07-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x50657 Family=3D0x6 Model=3D0x55 Stepp= ing=3D7 Features=3D0xbfebfbff Features2=3D0x7ffefbff AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0xd39ffffb Structured Extended Features2=3D0x808 Structured Extended Features3=3D0xbc000400 XSAVE Features=3D0xf IA32_ARCH_CAPS=3D0x2b VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, perform= ance statistics real memory =3D 68719476736 (65536 MB) avail memory =3D 66408230912 (63331 MB) CPU microcode: no matching update found Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 1 package(s) x 8 core(s) x 2 hardware threads random: unblocking device. Security policy loaded: MAC/ntpd (mac_ntpd) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-31 on motherboard ioapic2 irqs 32-39 on motherboard ioapic3 irqs 40-47 on motherboard ioapic4 irqs 48-55 on motherboard Launching APs: 1 13 11 7 12 10 9 3 6 5 2 15 8 4 14 Timecounter "TSC-low" frequency 1496536197 Hz quality 1000 random: entropy device external interface kbd0 at kbdmux0 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" 000.000076 [4254] netmap_init netmap: loaded module nexus0 efirtc0: on motherboard efirtc0: registered as a time-of-day clock, resolution 1.000000s aesni0: on motherboard cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: numa-domain 0 on acpi0 atrtc0: port 0x70-0x71,0x74-0x77 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s 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 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 24000000 Hz quality 950 Event timer "HPET" frequency 24000000 Hz quality 350 Event timer "HPET1" frequency 24000000 Hz quality 340 Event timer "HPET2" frequency 24000000 Hz quality 340 Event timer "HPET3" frequency 24000000 Hz quality 340 Event timer "HPET4" frequency 24000000 Hz quality 340 Event timer "HPET5" frequency 24000000 Hz quality 340 Event timer "HPET6" frequency 24000000 Hz quality 340 Event timer "HPET7" frequency 24000000 Hz quality 340 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 acpi_syscontainer0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff numa-domain 0 on acpi0 pci0: numa-domain 0 on pcib0 ioat0: mem 0xaac30000-0xaac33fff at device 4.0 numa-domain 0 on= pci0 ioat0: Capabilities: f0006f1 ioat1: mem 0xaac2c000-0xaac2ffff at device 4.1 numa-domain 0 on= pci0 ioat1: Capabilities: f0006f1 ioat2: mem 0xaac28000-0xaac2bfff at device 4.2 numa-domain 0 on= pci0 ioat2: Capabilities: f0004f1 ioat3: mem 0xaac24000-0xaac27fff at device 4.3 numa-domain 0 on= pci0 ioat3: Capabilities: f0004f1 ioat4: mem 0xaac20000-0xaac23fff at device 4.4 numa-domain 0 on= pci0 ioat4: Capabilities: f0004f1 ioat5: mem 0xaac1c000-0xaac1ffff at device 4.5 numa-domain 0 on= pci0 ioat5: Capabilities: f0004f1 ioat6: mem 0xaac18000-0xaac1bfff at device 4.6 numa-domain 0 on= pci0 ioat6: Capabilities: f0004f1 ioat7: mem 0xaac14000-0xaac17fff at device 4.7 numa-domain 0 on= pci0 ioat7: Capabilities: f0004f1 = pci0: at device 8.1 (no driver attached) pci0: at device 17.0 (no driver attached) pci0: at device 17.1 (no dri= ver attached) ahci0: port 0x3070-0x3077,0x3060-0x3063,0x3020-0x303f mem 0xaac36000-0xaac37fff,0xaac3d000-0xaac3d0ff,0xaab80000-0xaabfffff at devic= e 17.5 numa-domain 0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahc= ich1: at channel 1 on ahci0 ahciem0: on ahci0 xhci0: mem bridge> 0xaac00000-0xaac0ffff at device 20.0 numa-domain 0 on pci0 xhci0: = 32 bridge> bytes context size, 64-bit DMA usbus0 numa-domain 0 on xhci0 usbus= 0: bridge> 5.0Gbps Super Speed USB v3.0 pci0: at device 22.0 (= no bridge> driver attached) pci0: at device 22.1 (no driver bridge> attached) pci0: at device 22.4 (no driver attached) bridge> ahci1: port bridge> 0x3050-0x3057,0x3040-0x3043,0x3000-0x301f mem bridge> 0xaac34000-0xaac35fff,0xaac38000-0xaac380ff,0xaab00000-0xaab7ffff = at bridge> device 23.0 numa-domain 0 on pci0 ahci1: AHCI v1.31 with 8 6Gbps p= orts, bridge> Port Multiplier not supported ahcich2: at channel 0 on ahci1 ahcich3: at channel 1 on ahci1 ahcich4: at channel 2 on ahci1 ahcich5: at channel 3 on ahci1 ahcich6: at channel 4 on ahci1 ahcich7: at channel 5 on ahci1 ahcich8: at channel 6 on ahci1 ahcich9: at channel 7 on ahci1 ahciem1: on ahci1 [...] From owner-freebsd-current@freebsd.org Tue Jul 30 12:43:59 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E8E6A261C; Tue, 30 Jul 2019 12:43:59 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FD60981B2; Tue, 30 Jul 2019 12:43:57 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564490619; bh=z9jucbR+yOSfOujhO9PnQzhm31ZuTTsui9zqaGNJZMA=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=GfjSf89KnfLL1wdgNeE6SAImYbC+P2+1aYX9seIpuWUHlchsDPzpoqcjYZ3+smjrW w8OO8ebNmO0BETR5KK7lnwBm/z9+gx9IyJLUEAI52b3DE59fUUTPZoUhq+s4KLLu0o QllU/8ScQ0nUnYpgtobVr05cTST751ySbNYOcn9k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from freyja ([46.88.81.15]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MPogF-1hg7Fg1BLP-00MwRs; Tue, 30 Jul 2019 14:43:39 +0200 Date: Tue, 30 Jul 2019 14:43:35 +0200 From: "O. Hartmann" To: Toomas Soome Cc: "O. Hartmann" , "freebsd-embedded@freebsd.org" , FreeBSD CURRENT Subject: Re: PCengines APU2C4, 12-STABLE: bootloader failure: Panic: free: guard2 fail @ 0x1000 + 2311663946 from Message-ID: <20190730144331.24f83e0c@freyja> In-Reply-To: <93EFC481-50A1-491C-87BB-12A35F3302EE@me.com> References: <20190724101132.5560377a@thor.intern.walstatt.dynvpn.de> <20190724120720.4382397c@thor.intern.walstatt.dynvpn.de> <20190724154901.0c114ebe@thor.intern.walstatt.dynvpn.de> <93EFC481-50A1-491C-87BB-12A35F3302EE@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:gH5J5OFgDIOn0c5ONXoL7YKMaNDuHHhZMdxkwGTwVLnwqSzVu++ no6PSYq1iuC8kQw6Zvauif8JrdlKIYBMj7wYBMvY8qQlg5eB7ViHBS5bIiDnfCJuZE6ei6T vriix+9jSsfyCdLwn1cv1krnSszEF5mR8E31oUjljvRtSaZdDTRP07HOj1BYZTk6au2ndCP 712v6ZueGWeKIyGTZtxjw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3KwtfWap57g=:i0/0/JHAmHsIIEFH1ALhkA tJj536pKdrPp74aZmhsD5ojlcVLV9qXlQQyJbD5HQFdUDZbIanXaqQWj2Z7O5LjbDUB39Cn/l Ew+sJLg/+8p6b5ZhA2PHYGS+q1Ic5jCwJI0un6FqSfrBHH4okPfMcf8sQuytG36MPL4wTeWAy jOfkeeUTbzsVBvDXIMaXaF9thW6OkcwMPpN9IIg2WKZoZBaCYW6rtSLLMYGooChehFuYKsZQM NnEZYIlQ+A+0GMCbV5ZdBt5QVf5fpNbtOcoTCkIHlEwNWYACOTARcYGaRl5A14AcVRgfsINaF e3dgvAEBU8wsAgYdY8FdyqYp3+EXJd6DdxL+ArH5KTtn71rtGnhTooGOruX6FzPe0P+yI3C8s M4dBLO0Ah24bmqK4YNy2mbN9R7cOGXjcWaPPWsrR2vkTaKIOSvULyJJARd0my8cBDu23pQTUi WTSrzhNcRsWaUk3J0m5TMv5N5tfgXB3CRfPHMDCbCimvo8lReG9Mj05V4tWiCNGJWh+UuYBaS l46Th7X4HKYCgwodzPbwrjND8hkgpnveXF+Q8qGup/iRiQErJSIfD2D/19K/v9CrCV9OS1TgY rEWX5bvk1/0XbJh+XAFUJVxHbE83OmB+2mDiqbGPvzFewmq6GzzxzfM9/Zl9pfXpgb+YEItkk dpkYaQtY7HCzUcA9U64VbO8QxDdfEzbR22701fhbROizwruwe8SWMtgYVb7CZQ7HTKWw93y6i khbKPXPw9fJhk9qME/0xElAQMvqjp3fDLIO4SsxBny+bc+FzsXDfJPR8E96pezU9WcmmaejtL UNyvC+Zj+IhKJ84JVKfVwdAeWnSdk1fLgZgOUlNy988fHRoMOjPx9E9G45vnqfEmSfru4MrAD j/Paj4tIl4Tk3pe746tlThoW9zuWaDYko6kxOnLR05CDjcEmDa5RNj7Tr4tCjYtZ3+lwD0Uox kHEH36xWtJ8sfSNYTW758Vcx3EEXg4GVFVONm2tyspU1aDS8BQ3qMG1BelyIqcjCEJNuIpt5x KUJQN0Obzea3jcAQjSKkfp+w2Qbetq+SOfKTJSuX8qCYyxMxC8LUrbLfm1uGG4J4VPJXBklQ5 h2JLHwrdNn4tKfq9/O99/dfk259zgf7oQ+m X-Rspamd-Queue-Id: 2FD60981B2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=GfjSf89K X-Spamd-Result: default: False [-3.77 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-1.08)[ip: (-6.28), ipnet: 212.227.0.0/16(-1.45), asn: 8560(2.31), country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; MX_GOOD(-0.01)[cached: mx01.gmx.net]; NEURAL_HAM_SHORT(-0.78)[-0.779,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[me.com]; RCVD_IN_DNSWL_LOW(-0.10)[20.17.227.212.list.dnswl.org : 127.0.3.1]; RECEIVED_SPAMHAUS_PBL(0.00)[15.81.88.46.zen.spamhaus.org : 127.0.0.10]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-Mailman-Approved-At: Tue, 30 Jul 2019 13:08:04 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 12:43:59 -0000 On Wed, 24 Jul 2019 18:07:22 +0300 Toomas Soome wrote: > > On 24 Jul 2019, at 16:48, O. Hartmann wrote: > >=20 > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA256 > >=20 > > Am Wed, 24 Jul 2019 12:06:53 +0200 > > "O. Hartmann" > > > schrieb:=20 > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA256 > >>=20 > >> Am Wed, 24 Jul 2019 12:09:16 +0300 > >> Toomas Soome schrieb: > >> =20 > >>>> On 24 Jul 2019, at 11:11, O. Hartmann wrote: > >>>>=20 > >>>> -----BEGIN PGP SIGNED MESSAGE----- > >>>> Hash: SHA256 > >>>>=20 > >>>> Hallo, > >>>>=20 > >>>> on APU2C4 from PCengines with latest firmware apu2_v4.9.0.7.rom, Sea= BIOS > >>>> rel-1.12.1.3-0-g300e8b7, booting via legacy MBR FreeBSD 12-STABLE > >>>> r350274 (the same with r350115) fails to boot with an immediate load= er > >>>> error: > >>>>=20 > >>>> [...] > >>>> SeaBIOS (version rel-1.12.1.3-0-g300e8b7) > >>>>=20 > >>>> Press F10 key now for boot menu > >>>>=20 > >>>> Booting from Hard Disk... > >>>> / > >>>>=20 > >>>> onsoles: internal video/keyboard =20 > >>>> IOS drive C: is disk0=20 > >>>> IOS drive D: is disk1=20 > >>>> IOS 639kB/3404444kB available memory=20 > >>>>=20 > >>>> reeBSD/x86 bootstrap loader, Revision 1.1 =20 > >>>> Mon Apr 15 21:28:11 CEST 2019 root@thor)=20 > >>>> anic: free: guard2 fail @ 0x1000 + 2311663946 from > >>>> X=C3=A7u0=C3=A7}4=C3=A7l$=E2=99=A6=E2=94=9C=C3=AD@=E2=94=A4=E2=99=A0= :2106163957 -> Press a key on the console to reboot > >>>> <-- [=E2=80=A6] =20 > >>>=20 > >>>=20 > >>> This is definitely something =E2=80=9Cfunny=E2=80=9D, we are apparent= ly attempting to > >>> free pointer 0x1000 which is definitely wrong because our heap should= be > >>> just below 4GB line. Since we do get list of disks printed, also memo= ry > >>> and version, it means we get error from interpretator - it is possible > >>> the stack did clash with bss and hence the corruption. =20 > >>=20 > >> I realized that I have defined=20 > >>=20 > >> WITH_KERNEL_RETPOLINE=3DYES > >>=20 > >> and since I use to build NanoBSD with -DNO_CLEAN, I'm just now compili= ng a > >> clean NanoBSD with RETPOLINE mitigations disabled so far - trying to c= heck > >> whether either of the ways to build causes the issue. > >> =20 > >>>=20 > >>> You can try to press space on first spinner and enter alternate loade= r on > >>> boot: prompt. (enter ?/boot on boot: prompt to see the file list). = =20 > >>=20 > >> I try a soon as the build process has finished and if the problem is t= hen > >> still present. =20 > >=20 > >=20 > > With a fresh build and no RETPOLINE mitigation (neither kernel nor worl= d) > > the phenomenon as described above is still the same. I tried an alterna= tive > > loader as requested, but without success. When choosing loader_4th, I g= et > > this error: > >=20 > > [...] > > FreeBSD/x86 boot > > Default: 0:ad(0p3)/boot/loader > > boot: /boot/loader_4th/ > >=20 > > onsoles: internal video/keyboard > > IOS drive C: is disk0 > > IOS drive D: is disk1 > > IOS 639kB/3404444kB available memory > >=20 > > reeBSD/x86 bootstrap loader, Revision 1.1 > > Wed Jul 24 12:51:12 CEST 2019 root@thor) > > anic: No heap setup =20 > > -> Press a key on the console to reboot <=E2=80=94 =20 > > =20 >=20 > Now this is bad. if my math is correct, this system is supposed to have 3= GB > of RAM, so are there specific build exceptions in place? see > stand/i386/loader/main.c, function main, after call to bios_getmem(). >=20 > rgds, > toomas Hello Toomas, the PCengine APU2C4 is supposed to have 4GB of RAM - wouldn't have a 64bit system seen the whole range? On 32bit systems, there was a memory hole I as= sume for memory mapped I/O of several PCI devices. This is the first time I hav= e a look at the memory reported by the kernel and its confusing me a bit. I do not have any kind of specific build exceptions in place targetting the memory. Of course, for memory usage and image size optimizations I defined several WITHOUT_ and WITH_ tags for build and install - but they never caus= ed any trouble and have not been changed so far. >=20 > >=20 > > Loader loader_simp ends up in stuck console with no output: > >=20 > > [...] > > FreeBSD/x86 boot > > Default: 0:ad(0p3)/boot/loader > > boot: /boot/loader_4th/ > >=20 > > onsoles: internal video/keyboard > > IOS drive C: is disk0 > > IOS drive D: is disk1 > > IOS 639kB/3404444kB available memory > >=20 > > reeBSD/x86 bootstrap loader, Revision 1.1 > > Wed Jul 24 12:59:23 CEST 2019 root@thor) > > [...] > >=20 > > regards > > oh =20 > >> =20 > >>>=20 > >>> =20 > >>>>=20 > >>>>=20 > >>>>=20 > >>>>=20 > >>>> Booting 12.0-STABLE #78 r349288: Sat Jun 22 09:10:25 CEST 2019 amd64 > >>>> works fine with nothing changed except the OS version. > >>>>=20 > >>>>=20 > >>>> Booting 2.0-STABLE #78 r349288 works fine: > >>>>=20 > >>>> [...] > >>>> SeaBIOS (version rel-1.12.1.3-0-g300e8b7) > >>>>=20 > >>>> Press F10 key now for boot menu > >>>>=20 > >>>> Booting from Hard Disk... > >>>> | > >>>>=20 > >>>> onsoles: internal video/keyboard =20 > >>>> IOS drive C: is disk0=20 > >>>> IOS drive D: is disk1=20 > >>>> IOS 639kB/3404444kB available memory=20 > >>>>=20 > >>>> reeBSD/x86 bootstrap loader, Revision 1.1=20 > >>>> Mon Apr 15 21:28:11 CEST 2019 root@thor)=20 > >>>> oading /boot/defaults/loader.conf=20 > >>>> oading /boot/device.hints=20 > >>>> oading /boot/loader.conf=20 > >>>> oading /boot/loader.conf.local=20 > >>>> Loading kernel... > >>>> /boot/kernel/kernel text=3D0xb005e8 \ > >>>> [...] > >>>>=20 > >>>> In the message taken from the serial console the first column of > >>>> characters is lost due to an error in the output which seems FreeBSD > >>>> related.=20 > >>>=20 > >>> It certainly does look weird - sio_putc() is used in boot2 and it=E2= =80=99s > >>> implementation is using same principe as comc_putchat() in comconsole= .c > >>> (even if it is asm versus c code). Since the serial data is interpret= ed > >>> by terminal, it feels more about terminal emulator issue (line > >>> discipline, cabling, usb to serial dongle?) =20 > >>=20 > >> We use here a null modem cabling with an integrated USB-to-UART/TTL > >> converter, which is attached to a FreeBSD CURRENT (most recent) box: > >>=20 > >> [...] > >> ugen2.3: at usbus2 > >> uftdi0 on uhub4 > >> uftdi0: on usbus2 > >> [...] > >>=20 > >> it is a=20 > >> StarTech.com 1 Port USB Nullmodem RS232 Adapter Kabel (USB 2.0 FTDI > >> chipset). > >>=20 > >> Regards, > >> oh > >>=20 > >> =20 > >>>=20 > >>> rgds, > >>> toomas > >>>=20 > >>> =20 > >>>>=20 > >>>> The file /boot/loader.conf.local contains these lines in both, worki= ng > >>>> and non-working, scenario: > >>>>=20 > >>>> [...] > >>>> boot_serial=3D"YES" > >>>> # serial speed in bits/s > >>>> comconsole_speed=3D"115200" > >>>> console=3D"comconsole" > >>>>=20 > >>>> autoboot_delay=3D"0" > >>>>=20 > >>>> verbose_loading=3D"YES" > >>>> loader_logo=3D"orb" > >>>> beastie_disable=3D"YES" > >>>>=20 > >>>> ### Microcode > >>>> #cpu_microcode_load=3D"YES" # Set this to YES to load= and > >>>> apply a #cpu_microcode_name=3D"/boot/firmware/intel-ucode.bin" # Set= this > >>>> to the microcode #cpu_microcode_type=3D"cpu_microcode" # Requir= ed for > >>>> the kernel to find # the microcode update file. > >>>>=20 > >>>>=20 > >>>> # disable Process Table Isolation > >>>> #vm.pmap.pti=3D0 > >>>>=20 > >>>> kern.geom.label.gptid.enable=3D0 > >>>>=20 > >>>> # Limit the phys. memory > >>>> #hw.physmem=3D1073741824 # 1 G > >>>> #hw.physmem=3D536870912 # 512 MB > >>>> #hw.physmem=3D268435456 # 256 MB > >>>>=20 > >>>> # Da mehr als 1 igb NIC an Bord! Siehe man igb(4) > >>>> kern.ipc.nmbclusters=3D757350 > >>>> #kern.ipc.nmbjumbo9k=3D8192 > >>>>=20 > >>>> # NIC > >>>> #hw.em.max_interrupt_rate=3D32000 > >>>> hw.em.max_interrupt_rate=3D16000 > >>>>=20 > >>>> #If non-zero, enable EXPERIMENTAL feature to improve concurrent Fort= una > >>>> performance kern.random.fortuna.concurrent_read=3D"1" > >>>>=20 > >>>> # Forward Information Bases (FIBs) > >>>> net.fibs=3D10 > >>>> net.add_addr_allfibs=3D0 > >>>>=20 > >>>> [...] > >>>>=20 > >>>>=20 > >>>> Again, with the exact same setting 12-STABLE r349288 boots fine, > >>>> rr350274 doesn't. FreeBSD 12-STABLE r > >>>>=20 > >>>> Can someone please help? > >>>>=20 > >>>> Thanks in advance, oh =20 [...] From owner-freebsd-current@freebsd.org Tue Jul 30 14:11:52 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58624A46ED for ; Tue, 30 Jul 2019 14:11:52 +0000 (UTC) (envelope-from tsoome@me.com) Received: from mr85p00im-zteg06023901.me.com (mr85p00im-zteg06023901.me.com [17.58.23.192]) (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 329489B2A7 for ; Tue, 30 Jul 2019 14:11:52 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by mr85p00im-zteg06023901.me.com (Postfix) with ESMTPSA id A93DC9609C6; Tue, 30 Jul 2019 14:02:00 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: PCengines APU2C4, 12-STABLE: bootloader failure: Panic: free: guard2 fail @ 0x1000 + 2311663946 from From: Toomas Soome In-Reply-To: <20190730144331.24f83e0c@freyja> Date: Tue, 30 Jul 2019 17:01:57 +0300 Cc: "O. Hartmann" , "freebsd-embedded@freebsd.org" , FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190724101132.5560377a@thor.intern.walstatt.dynvpn.de> <20190724120720.4382397c@thor.intern.walstatt.dynvpn.de> <20190724154901.0c114ebe@thor.intern.walstatt.dynvpn.de> <93EFC481-50A1-491C-87BB-12A35F3302EE@me.com> <20190730144331.24f83e0c@freyja> To: "O. Hartmann" X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-30_07:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1907300146 X-Rspamd-Queue-Id: 329489B2A7 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 14:11:52 -0000 > On 30 Jul 2019, at 15:43, O. Hartmann wrote: >=20 > On Wed, 24 Jul 2019 18:07:22 +0300 > Toomas Soome wrote: >=20 >>> On 24 Jul 2019, at 16:48, O. Hartmann = wrote: >>>=20 >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA256 >>>=20 >>> Am Wed, 24 Jul 2019 12:06:53 +0200 >>> "O. Hartmann" > >>> schrieb:=20 >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA256 >>>>=20 >>>> Am Wed, 24 Jul 2019 12:09:16 +0300 >>>> Toomas Soome schrieb: >>>>=20 >>>>>> On 24 Jul 2019, at 11:11, O. Hartmann = wrote: >>>>>>=20 >>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>> Hash: SHA256 >>>>>>=20 >>>>>> Hallo, >>>>>>=20 >>>>>> on APU2C4 from PCengines with latest firmware apu2_v4.9.0.7.rom, = SeaBIOS >>>>>> rel-1.12.1.3-0-g300e8b7, booting via legacy MBR FreeBSD 12-STABLE >>>>>> r350274 (the same with r350115) fails to boot with an immediate = loader >>>>>> error: >>>>>>=20 >>>>>> [...] >>>>>> SeaBIOS (version rel-1.12.1.3-0-g300e8b7) >>>>>>=20 >>>>>> Press F10 key now for boot menu >>>>>>=20 >>>>>> Booting from Hard Disk... >>>>>> / >>>>>>=20 >>>>>> onsoles: internal video/keyboard =20 >>>>>> IOS drive C: is disk0=20 >>>>>> IOS drive D: is disk1=20 >>>>>> IOS 639kB/3404444kB available memory=20 >>>>>>=20 >>>>>> reeBSD/x86 bootstrap loader, Revision 1.1 =20 >>>>>> Mon Apr 15 21:28:11 CEST 2019 root@thor)=20 >>>>>> anic: free: guard2 fail @ 0x1000 + 2311663946 from >>>>>> X=C3=A7u0=C3=A7}4=C3=A7l$=E2=99=A6=E2=94=9C=C3=AD@=E2=94=A4=E2=99=A0= :2106163957 -> Press a key on the console to reboot >>>>>> <-- [=E2=80=A6] =20 >>>>>=20 >>>>>=20 >>>>> This is definitely something =E2=80=9Cfunny=E2=80=9D, we are = apparently attempting to >>>>> free pointer 0x1000 which is definitely wrong because our heap = should be >>>>> just below 4GB line. Since we do get list of disks printed, also = memory >>>>> and version, it means we get error from interpretator - it is = possible >>>>> the stack did clash with bss and hence the corruption. =20 >>>>=20 >>>> I realized that I have defined=20 >>>>=20 >>>> WITH_KERNEL_RETPOLINE=3DYES >>>>=20 >>>> and since I use to build NanoBSD with -DNO_CLEAN, I'm just now = compiling a >>>> clean NanoBSD with RETPOLINE mitigations disabled so far - trying = to check >>>> whether either of the ways to build causes the issue. >>>>=20 >>>>>=20 >>>>> You can try to press space on first spinner and enter alternate = loader on >>>>> boot: prompt. (enter ?/boot on boot: prompt to see the file list). = =20 >>>>=20 >>>> I try a soon as the build process has finished and if the problem = is then >>>> still present. =20 >>>=20 >>>=20 >>> With a fresh build and no RETPOLINE mitigation (neither kernel nor = world) >>> the phenomenon as described above is still the same. I tried an = alternative >>> loader as requested, but without success. When choosing loader_4th, = I get >>> this error: >>>=20 >>> [...] >>> FreeBSD/x86 boot >>> Default: 0:ad(0p3)/boot/loader >>> boot: /boot/loader_4th/ >>>=20 >>> onsoles: internal video/keyboard >>> IOS drive C: is disk0 >>> IOS drive D: is disk1 >>> IOS 639kB/3404444kB available memory >>>=20 >>> reeBSD/x86 bootstrap loader, Revision 1.1 >>> Wed Jul 24 12:51:12 CEST 2019 root@thor) >>> anic: No heap setup =20 >>> -> Press a key on the console to reboot <=E2=80=94 =20 >>>=20 >>=20 >> Now this is bad. if my math is correct, this system is supposed to = have 3GB >> of RAM, so are there specific build exceptions in place? see >> stand/i386/loader/main.c, function main, after call to bios_getmem(). >>=20 >> rgds, >> toomas >=20 >=20 > Hello Toomas, > the PCengine APU2C4 is supposed to have 4GB of RAM - wouldn't have a = 64bit > system seen the whole range? On 32bit systems, there was a memory hole = I assume > for memory mapped I/O of several PCI devices. This is the first time = I have a > look at the memory reported by the kernel and its confusing me a bit. >=20 The BIOS loader is only running in 32-bit protected mode, we switch to = 64-bit when we start the kernel. With UEFI we do have 32- and 64-bit = loaders, depending on firmware implementation (because we need to use = firmware provided functions), but even there there are buggy systems and = we keep memory usage below 4G line. > I do not have any kind of specific build exceptions in place = targetting the > memory. Of course, for memory usage and image size optimizations I = defined > several WITHOUT_ and WITH_ tags for build and install - but they never = caused > any trouble and have not been changed so far. Unfortunately the only way to identify what is the cause, is to start = inserting debug printf=E2=80=99s into the code paths and to see where we = get blown up. There can be several reasons, and the most common case = still is plain and simple buffer overruns=E2=80=A6 debugging this is = time consuming job. rgds, toomas >=20 >>=20 >>>=20 >>> Loader loader_simp ends up in stuck console with no output: >>>=20 >>> [...] >>> FreeBSD/x86 boot >>> Default: 0:ad(0p3)/boot/loader >>> boot: /boot/loader_4th/ >>>=20 >>> onsoles: internal video/keyboard >>> IOS drive C: is disk0 >>> IOS drive D: is disk1 >>> IOS 639kB/3404444kB available memory >>>=20 >>> reeBSD/x86 bootstrap loader, Revision 1.1 >>> Wed Jul 24 12:59:23 CEST 2019 root@thor) >>> [...] >>>=20 >>> regards >>> oh =20 >>>>=20 >>>>>=20 >>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> Booting 12.0-STABLE #78 r349288: Sat Jun 22 09:10:25 CEST 2019 = amd64 >>>>>> works fine with nothing changed except the OS version. >>>>>>=20 >>>>>>=20 >>>>>> Booting 2.0-STABLE #78 r349288 works fine: >>>>>>=20 >>>>>> [...] >>>>>> SeaBIOS (version rel-1.12.1.3-0-g300e8b7) >>>>>>=20 >>>>>> Press F10 key now for boot menu >>>>>>=20 >>>>>> Booting from Hard Disk... >>>>>> | >>>>>>=20 >>>>>> onsoles: internal video/keyboard =20 >>>>>> IOS drive C: is disk0=20 >>>>>> IOS drive D: is disk1=20 >>>>>> IOS 639kB/3404444kB available memory=20 >>>>>>=20 >>>>>> reeBSD/x86 bootstrap loader, Revision 1.1=20 >>>>>> Mon Apr 15 21:28:11 CEST 2019 root@thor)=20 >>>>>> oading /boot/defaults/loader.conf=20 >>>>>> oading /boot/device.hints=20 >>>>>> oading /boot/loader.conf=20 >>>>>> oading /boot/loader.conf.local=20 >>>>>> Loading kernel... >>>>>> /boot/kernel/kernel text=3D0xb005e8 \ >>>>>> [...] >>>>>>=20 >>>>>> In the message taken from the serial console the first column of >>>>>> characters is lost due to an error in the output which seems = FreeBSD >>>>>> related.=20 >>>>>=20 >>>>> It certainly does look weird - sio_putc() is used in boot2 and = it=E2=80=99s >>>>> implementation is using same principe as comc_putchat() in = comconsole.c >>>>> (even if it is asm versus c code). Since the serial data is = interpreted >>>>> by terminal, it feels more about terminal emulator issue (line >>>>> discipline, cabling, usb to serial dongle?) =20 >>>>=20 >>>> We use here a null modem cabling with an integrated USB-to-UART/TTL >>>> converter, which is attached to a FreeBSD CURRENT (most recent) = box: >>>>=20 >>>> [...] >>>> ugen2.3: at usbus2 >>>> uftdi0 on uhub4 >>>> uftdi0: on usbus2 >>>> [...] >>>>=20 >>>> it is a=20 >>>> StarTech.com 1 Port USB Nullmodem RS232 Adapter Kabel (USB 2.0 FTDI >>>> chipset). >>>>=20 >>>> Regards, >>>> oh >>>>=20 >>>>=20 >>>>>=20 >>>>> rgds, >>>>> toomas >>>>>=20 >>>>>=20 >>>>>>=20 >>>>>> The file /boot/loader.conf.local contains these lines in both, = working >>>>>> and non-working, scenario: >>>>>>=20 >>>>>> [...] >>>>>> boot_serial=3D"YES" >>>>>> # serial speed in bits/s >>>>>> comconsole_speed=3D"115200" >>>>>> console=3D"comconsole" >>>>>>=20 >>>>>> autoboot_delay=3D"0" >>>>>>=20 >>>>>> verbose_loading=3D"YES" >>>>>> loader_logo=3D"orb" >>>>>> beastie_disable=3D"YES" >>>>>>=20 >>>>>> ### Microcode >>>>>> #cpu_microcode_load=3D"YES" # Set this to YES to = load and >>>>>> apply a #cpu_microcode_name=3D"/boot/firmware/intel-ucode.bin" # = Set this >>>>>> to the microcode #cpu_microcode_type=3D"cpu_microcode" # = Required for >>>>>> the kernel to find # the microcode update file. >>>>>>=20 >>>>>>=20 >>>>>> # disable Process Table Isolation >>>>>> #vm.pmap.pti=3D0 >>>>>>=20 >>>>>> kern.geom.label.gptid.enable=3D0 >>>>>>=20 >>>>>> # Limit the phys. memory >>>>>> #hw.physmem=3D1073741824 # 1 G >>>>>> #hw.physmem=3D536870912 # 512 MB >>>>>> #hw.physmem=3D268435456 # 256 MB >>>>>>=20 >>>>>> # Da mehr als 1 igb NIC an Bord! Siehe man igb(4) >>>>>> kern.ipc.nmbclusters=3D757350 >>>>>> #kern.ipc.nmbjumbo9k=3D8192 >>>>>>=20 >>>>>> # NIC >>>>>> #hw.em.max_interrupt_rate=3D32000 >>>>>> hw.em.max_interrupt_rate=3D16000 >>>>>>=20 >>>>>> #If non-zero, enable EXPERIMENTAL feature to improve concurrent = Fortuna >>>>>> performance kern.random.fortuna.concurrent_read=3D"1" >>>>>>=20 >>>>>> # Forward Information Bases (FIBs) >>>>>> net.fibs=3D10 >>>>>> net.add_addr_allfibs=3D0 >>>>>>=20 >>>>>> [...] >>>>>>=20 >>>>>>=20 >>>>>> Again, with the exact same setting 12-STABLE r349288 boots fine, >>>>>> rr350274 doesn't. FreeBSD 12-STABLE r >>>>>>=20 >>>>>> Can someone please help? >>>>>>=20 >>>>>> Thanks in advance, oh =20 > [...] > _______________________________________________ > 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-current@freebsd.org Thu Aug 1 13:17:18 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35FFCBD7D4; Thu, 1 Aug 2019 13:17:18 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zrRx1gx3z4d1D; Thu, 1 Aug 2019 13:17:16 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id i18so34200350pgl.11; Thu, 01 Aug 2019 06:17:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:openpgp:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=znxSz+RObypHhIb+VNBPGcSNHT5/paH1NLG4CeX+pMo=; b=YGbxQUWBDLmrg3/4uaa7cRhrUwTmrTovQheHNVvDk6twUtOttKXNBWHHrjQY38Bh08 4JXZzVQAkuOItjU6kEZe6P+5T3N2a3qyDk6QxwGCoaeEY6FfZEBth79tecsMBPeZ3ouS 93BxzXOm3how+zyVRmrWFOQ5zNnNjy9Ih8pa1RqKaKR4+jDgaDMIrHx4EkEpBguKe1bR p7nwbx+MPLqHDhTxS3X1lrkq5TqbdBHmSuFb/B/gnsVu4ALMpsNfRMjAYwm/1LQL9XoU hhhERs1XSSMGVFERvXMyCKaraN+5jXIjdOqLBqf8BAmLDAslE5Ble4WaCEoIq3dbHMSR 3hTw== X-Gm-Message-State: APjAAAVp4n13fG6OjVoAK9s9oSXMqNNFs8M2Rzy1PxN45o46cTQ7Tg8K LNYqedm3IrobHcDMb/XLdw/7tok2Rs8= X-Google-Smtp-Source: APXvYqxPyR3gI9PYKLkB63hAwSq/Rw+fRp931XNf4gukSWf/lPu4fc7XpI5eEnJOtELMs24bNfg6Cw== X-Received: by 2002:a62:26c1:: with SMTP id m184mr51299629pfm.200.1564665434961; Thu, 01 Aug 2019 06:17:14 -0700 (PDT) Received: from [192.168.1.36] (broadband-95-106-143-130.atc.tvcom.ru. [95.106.143.130]) by smtp.googlemail.com with ESMTPSA id b26sm81417394pfo.129.2019.08.01.06.17.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 06:17:13 -0700 (PDT) To: freebsd-rc@freebsd.org Cc: FreeBSD Current From: Andriy Gapon Subject: rc script: manual stop vs system shutdown Openpgp: preference=signencrypt Message-ID: <2e50fb67-8a19-412b-19d2-14f5f20b61f8@FreeBSD.org> Date: Thu, 1 Aug 2019 16:17:09 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 45zrRx1gx3z4d1D X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.215.173 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-5.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-3.14)[ip: (-9.80), ipnet: 209.85.128.0/17(-3.41), asn: 15169(-2.45), country: US(-0.05)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[173.215.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[173.215.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[130.143.106.95.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 13:17:18 -0000 Is it possible in an rc script to distinguish between a manual stop (e.g., service foo stop) and a stop during a system shutdown (via rc.shutdown) ? Are there any marker variables for that? Or something in the global system state? Thanks! -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Aug 1 13:58:16 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7642BBE8FA for ; Thu, 1 Aug 2019 13:58:16 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45zsMC6Bpxz4gBH for ; Thu, 1 Aug 2019 13:58:15 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 545D9221B9; Thu, 1 Aug 2019 09:58:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 01 Aug 2019 09:58:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsco.org; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm3; bh=m 4w+rugHR03ujMkklDb1tQYSF3PbapVBkKTP6Ojd6tg=; b=ni3QSwEC6S6OAoh3R 2SMf8acMllNRVye2cYdcSoLlbVqTZuUSvKnXKxoiTA10NmCwRKLFl1Jv8mJWmbKF tfzlqkbPo3es39JOZL5pCUYS1fHMBUoBdn227hBqRG49oLEOB27EGx2DMU+vsjsT AVmAH3prKednbjNNABH2Oa+3b4zzG1N0pMZkI+U4uNy+JdTdS1ahmallq8bbBUEO vw6eszWJbmktn622OIvljovmfvHFCx6OVuDL00MVj8o2JzyEVz/mwJLScYKx/Psd glpaqFRe7bR16jPefcc2byc+NAatGqN6iAcGX8exmNtTKneiGC9mue2gIhtrdjIp BGZgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=m4w+rugHR03ujMkklDb1tQYSF3PbapVBkKTP6Ojd6 tg=; b=TOoLjJRX+6f8I4Q7yihC9zKxQ2UIuWJ0oyAi8c76WjiE3Pilc5/P6UX1P QkGfvAG+AzIrUfsSqhhC8mv37iTNhOMhG0mXA4zac4sV1X8Oo2zgSEZLEk9Z/OX6 YdYg18RnFVHxaRXsxuymXF7jxvuax/DzjMmMDKPlRXQB7ctTZWcqHL7xUBbGYfcx ZZPJ+GyPCMcqzx9TzYcPRat+NwFAGQIPg3n+6W0jI+TouW5JwdfjTLHo3ERK72Vl Jc+z5EA7Oe9NEuC8L3dvD0d9GUmsGqpgiC3wb4jIYxvNwpf9RNGbZIbPjgJO2irH mozO/vOA8sR4HXOuH+gbtsMgiro6g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleejgdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurheptggguffhjgffgffkfhfvofesthhqmh dthhdtjeenucfhrhhomhepufgtohhtthcunfhonhhguceoshgtohhtthhlsehsrghmshgt ohdrohhrgheqnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgpdhsuhhpvghruhhsvg hrrdgtohhmnecukfhppeekrdegiedrkeelrddvudefnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehstghothhtlhesshgrmhhstghordhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.0.146] (unknown [8.46.89.213]) by mail.messagingengine.com (Postfix) with ESMTPA id 8C7EA8005B; Thu, 1 Aug 2019 09:58:13 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133) From: Scott Long In-Reply-To: Date: Thu, 1 Aug 2019 07:58:12 -0600 Cc: "Clay Daniels Jr." , "Rodney W. Grimes" , Hans Petter Selasky , lausts@acm.org, freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201907300011.x6U0BO8w046636@gndrsh.dnsmgr.net> To: Nick Wolff X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 45zsMC6Bpxz4gBH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=samsco.org header.s=fm3 header.b=ni3QSwEC; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=TOoLjJRX; dmarc=none; spf=pass (mx1.freebsd.org: domain of scottl@samsco.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=scottl@samsco.org X-Spamd-Result: default: False [-4.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27:c]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[samsco.org:+,messagingengine.com:+]; MX_GOOD(-0.01)[cached: in2-smtp.messagingengine.com]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[27.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[samsco.org:s=fm3,messagingengine.com:s=fm3]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[samsco.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.46)[ip: (-9.77), ipnet: 66.111.4.0/24(-4.80), asn: 11403(-2.68), country: US(-0.05)]; FREEMAIL_CC(0.00)[gmail.com]; SUSPICIOUS_RECIPS(1.50)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 13:58:16 -0000 I=E2=80=99m 99% sure that the boot breakage is due to this commit: Author: jkim Date: Tue Jul 9 18:02:36 2019 New Revision: 349863 URL: https://svnweb.freebsd.org/changeset/base/349863 Log: MFV: r349861 Import ACPICA 20190703. I have two systems now that are affected, and both of them are =E2=80=9Cfixed=E2=80=9D by reverting this. I don=E2=80=99t know the = root cause yet, see my email to the svn-src-all mailing list. Scott > On Jul 29, 2019, at 8:29 PM, Nick Wolff = wrote: >=20 > Sorry boot is broken from harddrive or iso(as cdrom) for some users(at > least 3) since somewhere in the revisions listed above and that still > stands as of the Head snapshot of 072519. Sorry for lack of clarity. = There > was a thread under Problem with USB after r349133 but I decided to = rename > it to try to catch more people's eyes/get more reports in if people = run > into the issue. Don't think or at least know for sure USB is the = problem as > when you bypass the waiting for USB you get a different hang farther = into > system booting. >=20 > I will try to bisect the build in that magic revision range once I = figure > out on what system as it's my primary builder that's having this = issue. Not > that I have a lack of hardware I guess just time to setup something = else. >=20 >=20 >=20 >=20 > On Mon, Jul 29, 2019, 21:45 Clay Daniels Jr. = > wrote: >=20 >> Rodney, you are right that the .iso "should work", and a lot of other >> projects, from Microsoft Windows 10 to Trident BSD only a furnish an = iso, >> and no img file. FreeBSD is one of the few that give you both = choices. The >> problem goes deeper than any one operating system. If you've ever = used the >> Rufus tool to make a bootable usb, which is all Rufus does, you may = have >> come across problems with "mount root". I found this article, = answered by a >> Rufus developer very enlightening. >>=20 >> = https://superuser.com/questions/1170832/why-are-there-different-options-fo= r-creating-bootable-usb-compared-to-a-cd >>=20 >> I have a collection of usb thumbdrives here at my desk, and use them = a >> lot, but I also bought me some blank dvd disks and use them too. >>=20 >> But I think you are right, Nick Wolff's problem may be a a bug to be >> reported. All I know is I took the same file, >> FreeBSD-13.0-CURRENT-amd64-20190725-r350322-disc1.iso >> = >> , burned it to a dvd, and I'm now writing this email from the FreeBSD >> 13.0-CURRENT r350322 partition of my computer. >>=20 >> Clay >>=20 > _______________________________________________ > 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-current@freebsd.org Thu Aug 1 15:53:35 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE109C0D0F; Thu, 1 Aug 2019 15:53:35 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 45zvwG4c2Wz3Jp5; Thu, 1 Aug 2019 15:53:34 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x71FrTE8060253; Thu, 1 Aug 2019 08:53:29 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x71FrTCd060252; Thu, 1 Aug 2019 08:53:29 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> Subject: Re: rc script: manual stop vs system shutdown In-Reply-To: <2e50fb67-8a19-412b-19d2-14f5f20b61f8@FreeBSD.org> To: Andriy Gapon Date: Thu, 1 Aug 2019 08:53:29 -0700 (PDT) CC: freebsd-rc@freebsd.org, FreeBSD Current X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 45zvwG4c2Wz3Jp5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [0.94 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.05), country: US(-0.05)]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 15:53:35 -0000 > > Is it possible in an rc script to distinguish between a manual stop > (e.g., service foo stop) and a stop during a system shutdown (via > rc.shutdown) ? > Are there any marker variables for that? > Or something in the global system state? Not that I can think of, but I like this idea, I am sure that use cases exist. > Andriy Gapon -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-current@freebsd.org Thu Aug 1 16:12:46 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A795FC1330 for ; Thu, 1 Aug 2019 16:12:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zwLP6zr4z3Ks7 for ; Thu, 1 Aug 2019 16:12:45 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x734.google.com with SMTP id a27so52490791qkk.5 for ; Thu, 01 Aug 2019 09:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GVUmyYuw5MQQkJncH6smJLvmNEJ8m9cu4tEqzvH982s=; b=hGXdmzazdWanvWfZdd7OA0ljzBYQ+lkMdiaM4bpP7taHOIuvaBncqolVNkVYVNJZnA OHA9NQcJjPTEfUOF6MwDGd54JIUzn499M881WDbhFRP7pL1ib8Y9AMqMbU1j2dBkoFP5 JR/NSBjy4l7oTgmPKOvMqpaPoJBpBGTKATEiKdjIoqHZ2b7Clr1NDG7mxDTGYln4SfGJ ykhHAl4GTX3N/egCyl6zUN+cwBkF+mwEPVeNxDmpu7WUPbp2cx2sVIPAKPO98p3K9p1y Nmv/56cW9FpzW+whoOiaMVigiQsq+DImCdEd3+p4fCbZd2VVOSFpgVWEMpXytGegsvqm hYLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GVUmyYuw5MQQkJncH6smJLvmNEJ8m9cu4tEqzvH982s=; b=PqD1iFTXh2cfA1sID8ljDBEuDuGSAFvn4dX4VUdNUMb5neQkb83evhkkXaNc73J01S bsZnToa5F4S9wHkz9szRQYzn9tgcFhd7438LNM87qM0V3OEXBFe1D7WL5D77jNRluIbQ yLVRK2f7wmM9G53KoitpmLWPfB7cSrR18yy/ZGnDnsJgd37s07VS7UkEiRsnUTSobq11 xln/l7b1fmjnIQBldyVyIzbj2LYpX+nMHNDsvXRecxrlMhk6I4Wy/K9/qLvg3hGNlxSv 9irz0XrROuIToSi/tqZcNKNcNwL0B1Ljb7SA2hQMMyI/SkL3QoqyyV61cwyGyrnQhFL0 5cJQ== X-Gm-Message-State: APjAAAVFwdm3p4OhzaJKCvhgYOeBR8Q07990tUJmLONE8uzZcTT9UFiF 5V23EWEEO0v3F6OItkg+NMtUo/GefcEkr9k7ot4= X-Google-Smtp-Source: APXvYqzUv6VpjlbT+oS78oRG7niimrApKiZac5q1w7SATdG67QV0Hrnhho0sLw+HmWMsuidj7u4+soGDWqpirTrnOvE= X-Received: by 2002:a37:9307:: with SMTP id v7mr75678686qkd.495.1564675964901; Thu, 01 Aug 2019 09:12:44 -0700 (PDT) MIME-Version: 1.0 References: <2e50fb67-8a19-412b-19d2-14f5f20b61f8@FreeBSD.org> <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> In-Reply-To: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> From: Warner Losh Date: Thu, 1 Aug 2019 11:12:33 -0500 Message-ID: Subject: Re: rc script: manual stop vs system shutdown To: "Rodney W. Grimes" Cc: Andriy Gapon , FreeBSD Current , freebsd-rc@freebsd.org X-Rspamd-Queue-Id: 45zwLP6zr4z3Ks7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=hGXdmzaz; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::734) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.01 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[4.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-3.01)[ip: (-9.46), ipnet: 2607:f8b0::/32(-3.08), asn: 15169(-2.45), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 16:12:46 -0000 On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes < freebsd-rwg@gndrsh.dnsmgr.net> wrote: > > > > Is it possible in an rc script to distinguish between a manual stop > > (e.g., service foo stop) and a stop during a system shutdown (via > > rc.shutdown) ? > > Are there any marker variables for that? > > Or something in the global system state? > > Not that I can think of, but I like this idea, > I am sure that use cases exist. > What is the use case that needs to disambiguate the two cases... Warner > Andriy Gapon > -- > Rod Grimes > rgrimes@freebsd.org > _______________________________________________ > freebsd-rc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-rc > To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org" > From owner-freebsd-current@freebsd.org Thu Aug 1 17:30:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA5C4C3317; Thu, 1 Aug 2019 17:30:20 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zy3t6NKtz3yL8; Thu, 1 Aug 2019 17:30:18 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf1-x433.google.com with SMTP id u14so34483825pfn.2; Thu, 01 Aug 2019 10:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QVmpEiXyJZDsTNsowHKZG4ZuugPGXLWRhxu9SdytWO0=; b=rHxvDDvBYkvxdtt6y3BvwaGdy4pTtLgmAoGK8kMCmcEaDMQVzY4B4S1DR7glqHod+Y o7zuG6YyJX5hwGNJM8jJyAPEzORrSBIII4nXMY8FjG6PzyTAdnvZ3hYKn1dE429zaPGo HOF0vxHv/ne6yjI8bbK+IRCXDT7Stz03ppnpkDBCrh00vAYifqizz3rJ/lGgvKnNgzDB 3Thipj4ND7vZUd2aPtFs3uk0sQQB6vAjihYYmfPQWKZJNST2Dquo2TfcUd9Z/mvigXme bkroGGzB3Z5SZjwWiqDShQueBidGuQKoN8wlY6Tr5w5k4fKRsME/p4Z9MEPbgGgbwD9u nHGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QVmpEiXyJZDsTNsowHKZG4ZuugPGXLWRhxu9SdytWO0=; b=dFAyNjNyTSYSMJQngw3GMgi9JsrvXgb74jjmpzRrxudKdBEvYOui+RKukYApzFhP7k C7wh56GeQO51cnNqH+UlJR29UH/TZDQiLVRL6va9UHjRNkGfU5VDnitevKmLdUZtypFB iMd6QRT1xkushYztCOB8n5Q4N8W47cyviY83/SIm5noh32LRtHTo9UsH46goF74+U+j+ oHAyUyJyi57YIv2aE+Ho7axKd2sjVdEmI9xXFuurnTrqEREnL+TTN46wNMjMktN5J6fs 2EXLeYX83E32ZSbQmIByfP2HoHsjd9elrYQVVDz3/KLjvrupxSjLRFM1m/WKPGKgI0wj cM6g== X-Gm-Message-State: APjAAAWAONk/eg4NRFucsqqmr0uoWabKvMC0RHIFhJ3E1XyePCSNiBzq DdjFJ4OFtWyiP5ihuvYDIGNzsZ1k X-Google-Smtp-Source: APXvYqwYkudLGnwGM/PDGZdo49EMNBLkLRSBEaylk7uXSm1Cnihcj1Po9pd0WZRCWMcrX4KfJHDcHA== X-Received: by 2002:a17:90a:2244:: with SMTP id c62mr10162704pje.29.1564680616733; Thu, 01 Aug 2019 10:30:16 -0700 (PDT) Received: from ?IPv6:2607:fb90:b2e9:8e70:c45f:8832:c431:b7ce? ([2607:fb90:b2e9:8e70:c45f:8832:c431:b7ce]) by smtp.gmail.com with ESMTPSA id n7sm81851258pff.59.2019.08.01.10.30.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 10:30:15 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: rc script: manual stop vs system shutdown From: Enji Cooper X-Mailer: iPhone Mail (16F203) In-Reply-To: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> Date: Thu, 1 Aug 2019 10:30:14 -0700 Cc: Andriy Gapon , freebsd-rc@freebsd.org, FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> To: "Rodney W. Grimes" X-Rspamd-Queue-Id: 45zy3t6NKtz3yL8 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rHxvDDvB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::433 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-1.49 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; IP_SCORE(0.00)[ip: (-8.94), ipnet: 2607:f8b0::/32(-3.08), asn: 15169(-2.46), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 17:30:20 -0000 On Aug 1, 2019, at 08:53, Rodney W. Grimes w= rote: >>=20 >> Is it possible in an rc script to distinguish between a manual stop >> (e.g., service foo stop) and a stop during a system shutdown (via >> rc.shutdown) ? >> Are there any marker variables for that? >> Or something in the global system state? >=20 > Not that I can think of, but I like this idea, > I am sure that use cases exist. Have you looked at: keyword: shutdown etc? >> Andriy Gapon > --=20 > Rod Grimes rgrimes@freebsd= .org > _______________________________________________ > 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-current@freebsd.org Thu Aug 1 17:39:56 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 141A1C37C8; Thu, 1 Aug 2019 17:39:56 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 45zyGz1FqFz40Gr; Thu, 1 Aug 2019 17:39:54 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x71HdrwU060808; Thu, 1 Aug 2019 10:39:53 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x71Hdrfh060807; Thu, 1 Aug 2019 10:39:53 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201908011739.x71Hdrfh060807@gndrsh.dnsmgr.net> Subject: Re: rc script: manual stop vs system shutdown In-Reply-To: To: Enji Cooper Date: Thu, 1 Aug 2019 10:39:53 -0700 (PDT) CC: "Rodney W. Grimes" , Andriy Gapon , freebsd-rc@freebsd.org, FreeBSD Current X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 45zyGz1FqFz40Gr X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [1.85 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.91)[0.911,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.05), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 17:39:56 -0000 > On Aug 1, 2019, at 08:53, Rodney W. Grimes wrote: > > >> > >> Is it possible in an rc script to distinguish between a manual stop > >> (e.g., service foo stop) and a stop during a system shutdown (via > >> rc.shutdown) ? > >> Are there any marker variables for that? > >> Or something in the global system state? > > > > Not that I can think of, but I like this idea, > > I am sure that use cases exist. > > Have you looked at: > keyword: shutdown > etc? Well that does indeed seem to wipe out my "Not that I can think of". So infact an rc script can tell, it is invoked as: /etc/rc.d/foo shutdown during a system shutdown vs /etc/rc.d/foo stop when invoked by service foo stop? Is that correct? -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-current@freebsd.org Thu Aug 1 18:08:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8D8AC438F; Thu, 1 Aug 2019 18:08:00 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zyvN1NFHz424y; Thu, 1 Aug 2019 18:07:59 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id l21so34633957pgm.3; Thu, 01 Aug 2019 11:07:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VrpocGFtw6ur4YD8Zmm6OMng/4lJ8vvQmBokhvTylR0=; b=aDzDTrjQNqxvN94FdREx/6i2lAbqhUdXO8WBS+ViSa3dceHzlbQq/aqeiBdZsE4UUy XH0/88rDxd+MIW/XjQHgSGV0jd1HZF0xN3eCd28BnbkZYjOM82WYtmfe3+mIr7eaatBM +8QB8knL7yUB/WZGyUg8zRrA5STqGTEzrETmlv1+mEPpBts0ysFntbkkjKwOxx2YHGos ogKhQGMdNRHr/ZT7sDghLZvoPB0StzkeGWEpdwPALsV771Z8185BpGNaX/h0S5sQFRbv IFrbCSNz/JqdJZgN53ywAM8oZb2zMvNJz+hLlIBhbiV+ohzAnPbHvpQpVGIapJ80i5gR JIWg== X-Gm-Message-State: APjAAAVBKzNPSgvBsNhM9Q+WzFbcuyOwGRHCivA/KuKdBjjl3WYwLG7I 34aT79VXKzXQGOOTYxS4AJTCC4dY X-Google-Smtp-Source: APXvYqzz9/BSERejN3938qhwR6pRpjc7Q7eQJyAXt93oKNoBWxw7htWYS6p2ddb6Ikr++yGKCRccig== X-Received: by 2002:a17:90a:8591:: with SMTP id m17mr81125pjn.100.1564682878159; Thu, 01 Aug 2019 11:07:58 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-233-136.atc.tvcom.ru. [82.140.233.136]) by smtp.googlemail.com with ESMTPSA id f64sm75937766pfa.115.2019.08.01.11.07.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 11:07:56 -0700 (PDT) Subject: Re: rc script: manual stop vs system shutdown To: Enji Cooper , "Rodney W. Grimes" Cc: freebsd-rc@freebsd.org, FreeBSD Current References: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> From: Andriy Gapon Openpgp: preference=signencrypt Message-ID: <7025ca75-63a0-7916-dd12-4796b0649f01@FreeBSD.org> Date: Thu, 1 Aug 2019 21:07:52 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 45zyvN1NFHz424y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.215.178 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-4.05 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.955,0]; RCVD_IN_DNSWL_NONE(0.00)[178.215.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.09)[ip: (-9.55), ipnet: 209.85.128.0/17(-3.41), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[136.233.140.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 18:08:00 -0000 On 01/08/2019 20:30, Enji Cooper wrote: > On Aug 1, 2019, at 08:53, Rodney W. Grimes wrote: > >>> >>> Is it possible in an rc script to distinguish between a manual stop >>> (e.g., service foo stop) and a stop during a system shutdown (via >>> rc.shutdown) ? >>> Are there any marker variables for that? >>> Or something in the global system state? >> >> Not that I can think of, but I like this idea, >> I am sure that use cases exist. > > Have you looked at: > keyword: shutdown > etc? AFAIK, that keyword only controls whether 'foo stop' is called during shutdown or not. -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Aug 1 18:08:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B935CC438C; Thu, 1 Aug 2019 18:08:00 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zyvM5WLHz424x; Thu, 1 Aug 2019 18:07:59 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id t14so32537113plr.11; Thu, 01 Aug 2019 11:07:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VrpocGFtw6ur4YD8Zmm6OMng/4lJ8vvQmBokhvTylR0=; b=L7ar9xQZP7ecsQuGC+aPnxVfPq9xzfUHn9lNYe0oS2VuHrJ4L1aD1EOWu9foYxYGyJ 3crCnHzlByGJEkzZOYTnqF6gMnzKjO1O5omC3M/dDhqWr6t84N9vNcvL/lbizhB2Dete gew3ISnOV6H0fsHxviS3WJsad2Lsuk0Mg2kPvyLPy7p2qVRhiSFKlXu6qJhKa6Y8U9O3 HP+/BV2a7wKcRFKy4EGICxOjifRQzZLfe20eKifkJyFYsbSoBLLhxGK4ulT4IZG0u6g8 3miirkikij094j1m8bi+QCukKIAtZQhQEI0Gr35V24WztJHSO0WyfTcGNIcZCJqThnbR B1xA== X-Gm-Message-State: APjAAAWUQQkGS5NsL3dn7T0HF/Uqzcke7w6V9bpsWB5jR8YKRd/dM5B3 1/aCxSWB/yzNefL9aP/8HskcVFnT X-Google-Smtp-Source: APXvYqzBP4MARDQoHm2R9mE6tlcZoksjs/2YnBEyUBpLnh3wJ0df94JCp51nI7jO/e43U73aP8H4VQ== X-Received: by 2002:a17:902:e582:: with SMTP id cl2mr128482128plb.60.1564682877635; Thu, 01 Aug 2019 11:07:57 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-233-136.atc.tvcom.ru. [82.140.233.136]) by smtp.googlemail.com with ESMTPSA id 124sm74704655pfw.142.2019.08.01.11.07.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 11:07:56 -0700 (PDT) Subject: Re: rc script: manual stop vs system shutdown To: Enji Cooper , "Rodney W. Grimes" Cc: freebsd-rc@freebsd.org, FreeBSD Current References: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> From: Andriy Gapon Openpgp: preference=signencrypt Message-ID: <151b0848-0c94-10ad-92db-47c9038e1180@FreeBSD.org> Date: Thu, 1 Aug 2019 21:07:52 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 45zyvM5WLHz424x X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.214.181 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-4.05 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.955,0]; RCVD_IN_DNSWL_NONE(0.00)[181.214.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.09)[ip: (-9.56), ipnet: 209.85.128.0/17(-3.41), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[136.233.140.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 18:08:00 -0000 On 01/08/2019 20:30, Enji Cooper wrote: > On Aug 1, 2019, at 08:53, Rodney W. Grimes wrote: > >>> >>> Is it possible in an rc script to distinguish between a manual stop >>> (e.g., service foo stop) and a stop during a system shutdown (via >>> rc.shutdown) ? >>> Are there any marker variables for that? >>> Or something in the global system state? >> >> Not that I can think of, but I like this idea, >> I am sure that use cases exist. > > Have you looked at: > keyword: shutdown > etc? AFAIK, that keyword only controls whether 'foo stop' is called during shutdown or not. -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Aug 1 18:09:26 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABC20C45E3; Thu, 1 Aug 2019 18:09:26 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zyx14fdsz42PY; Thu, 1 Aug 2019 18:09:25 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pl1-f196.google.com with SMTP id m9so32436300pls.8; Thu, 01 Aug 2019 11:09:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0elvBftZxBTl1Qi7kM/W4D6PN8QQaPYCosRxtv0hQn4=; b=YV/71C3coe3xXWfErd0KiPsV3CChIEsGw6TrmB1i5RWeJSqVS1IYZD6+Kd38vRMjXc dqxyzcPF6iS8S/Ecv/bYA9M+Gb8Xig/mLoOlnhCyGHCnJA0otehw2YA2BLIavSCuumpE HLD8a4rW5H1IwFePwFquY3C5dGN+MuBi7KXHRsQxqwatFCHuZSUjIB+/JjeKejmOml1h SggsomUWwSYV82LK0MoF4z3LA1eWLBzR9pFzgdUTP4QNfW986q5L1jPLV8GIfqeuESY9 KR1ZznPCSJ4sS/luNJu/kEBFN9tUArzPAUkf2O5rHE1PmccQPlbIxvNJ+l2ustm3acll 2Hag== X-Gm-Message-State: APjAAAV4xm9J/3id53tyfZchvgL8msRbhX5RHInYcryb6fVoZpAqSCYx INg5LJEKEj2vwZMPiEZgkhthoHXG X-Google-Smtp-Source: APXvYqx4RBig+NCwarQdMq7dGgpjrrGbKmTQ/2blNx19yyWKFig3TdXQqD+GMk3o8bq7xChrLt+sEA== X-Received: by 2002:a17:902:6b02:: with SMTP id o2mr72554199plk.99.1564682963909; Thu, 01 Aug 2019 11:09:23 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-233-136.atc.tvcom.ru. [82.140.233.136]) by smtp.googlemail.com with ESMTPSA id q24sm5401102pjp.14.2019.08.01.11.09.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 11:09:23 -0700 (PDT) Subject: Re: rc script: manual stop vs system shutdown To: "Rodney W. Grimes" , Enji Cooper Cc: freebsd-rc@freebsd.org, FreeBSD Current References: <201908011739.x71Hdrfh060807@gndrsh.dnsmgr.net> From: Andriy Gapon Openpgp: preference=signencrypt Message-ID: Date: Thu, 1 Aug 2019 21:09:18 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <201908011739.x71Hdrfh060807@gndrsh.dnsmgr.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 45zyx14fdsz42PY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.214.196 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-2.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.92)[-0.918,0]; RCVD_IN_DNSWL_NONE(0.00)[196.214.85.209.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_GOOD(0.00)[196.214.85.209.rep.mailspike.net : 127.0.0.18]; IP_SCORE(-1.18)[ipnet: 209.85.128.0/17(-3.41), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[136.233.140.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 18:09:26 -0000 On 01/08/2019 20:39, Rodney W. Grimes wrote: >> On Aug 1, 2019, at 08:53, Rodney W. Grimes wrote: >> >>>> >>>> Is it possible in an rc script to distinguish between a manual stop >>>> (e.g., service foo stop) and a stop during a system shutdown (via >>>> rc.shutdown) ? >>>> Are there any marker variables for that? >>>> Or something in the global system state? >>> >>> Not that I can think of, but I like this idea, >>> I am sure that use cases exist. >> >> Have you looked at: >> keyword: shutdown >> etc? > > Well that does indeed seem to wipe out my > "Not that I can think of". So infact an rc script > can tell, it is invoked as: > > /etc/rc.d/foo shutdown > during a system shutdown > > vs > > /etc/rc.d/foo stop > when invoked by service foo stop? > > Is that correct? > Except there is no 'foo shutdown'. It's foo stop in both cases. To be pedantic, it's foo faststop for shutdown, but that can be manually invoked as well. -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Aug 1 18:15:05 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A8685C4B53; Thu, 1 Aug 2019 18:15:05 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zz3X50wGz432q; Thu, 1 Aug 2019 18:15:04 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pg1-f179.google.com with SMTP id i18so34648905pgl.11; Thu, 01 Aug 2019 11:15:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BjMsJlxiUIDTPlLAttF3YWq1O8W7jhgCF27zaVIFYGc=; b=Tx5VNQX4MrTf1SZ5BRYJlc4GplFDzYO17Gypvld8H2B4PikGpA1V30tFLeWSO7yUIJ fLi94qSi+LYot/UXp3/nMx+K3Zf7ZGZ1OK/MREBa3/E3JpdVBlFsLPsrz/t0oYgE94dg UW6fRnL62GoFQ4XlpB76vLZuPr4VHVJelUHHSc+8+NtHDAUUs9HNt/YRRn66v2a64qcC mp41F/prc6Hb9US53Io/wtVhZS4sKcJvhLZSdQbzmfL+tzMgtb9ZAR07nNyjqyG3FaRd 4Z8Kicls5ze0XdQUZjm3oQ/2z9IXYxkV5145YOu9cVA5yLBLKdU3qGE1/RZ0PqcjeWQy HE4w== X-Gm-Message-State: APjAAAWK9ujCo6T+ObXLxF0y/k/y6Z76AxyI3f2FVui06kO96C7QF9ou ZZWAeZVrhqzdcB0jSRCGuAoTfvTt X-Google-Smtp-Source: APXvYqxm4spgqdFUB454Y7J5yEss2sWwMj2u2r7XEAdioXpWdyjrrcncLYfS55dw77vOajRSajpf3Q== X-Received: by 2002:a17:90a:db42:: with SMTP id u2mr128089pjx.48.1564683302475; Thu, 01 Aug 2019 11:15:02 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-233-136.atc.tvcom.ru. [82.140.233.136]) by smtp.googlemail.com with ESMTPSA id q1sm98384973pfn.178.2019.08.01.11.14.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 11:15:01 -0700 (PDT) Subject: Re: rc script: manual stop vs system shutdown To: Warner Losh , "Rodney W. Grimes" Cc: FreeBSD Current , freebsd-rc@freebsd.org References: <2e50fb67-8a19-412b-19d2-14f5f20b61f8@FreeBSD.org> <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> From: Andriy Gapon Openpgp: preference=signencrypt Message-ID: Date: Thu, 1 Aug 2019 21:14:56 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 45zz3X50wGz432q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.215.179 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-4.14 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_TLS_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; RCVD_IN_DNSWL_NONE(0.00)[179.215.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.14)[ip: (-9.80), ipnet: 209.85.128.0/17(-3.41), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[136.233.140.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 18:15:05 -0000 On 01/08/2019 19:12, Warner Losh wrote: > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > > > wrote: > > > > > Is it possible in an rc script to distinguish between a manual stop > > (e.g., service foo stop) and a stop during a system shutdown (via > > rc.shutdown) ? > > Are there any marker variables for that? > > Or something in the global system state? > > Not that I can think of, but I like this idea, > I am sure that use cases exist. > > > What is the use case that needs to disambiguate the two cases... I have one use case in mind and it's a truly special case. I want rc.d/watchdogd to gracefully stop watchdogd and to disable the watchdog timer when the stop action is requested manually. And I want it to stop watchdogd and set the watchdog timer to a special shutdown timeout during the shutdown. If the special timeout is configured, of course. -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Aug 1 18:53:39 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B3032C5C49; Thu, 1 Aug 2019 18:53:39 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zzw33LnWz465w; Thu, 1 Aug 2019 18:53:39 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id m8so36825770lji.7; Thu, 01 Aug 2019 11:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6PGNlte3FPx+5IChUgoRkrdcPeksN55rtPuZk3l23ws=; b=XhMZNK7OiWwZvwXQEwr+Q297u79zyxo5lOenkYMThPnfeWHyHJ8nbIxTzoD2bOn5Tx Mrd/1icm86YZNHNKUpMLhw25vZcYUyNgzKPXFgcnOi8TNH3qO6uVvNjCoPeAY4DQmrbz W6FMpANzKRpr2V7GNzQY78KUO9PS+QNGeGjIG4gI32B6e+mKTvdsxKPeYrHJSAUvDqvO TwWQRdLHt5WJbhrORMA0YpaPyqUpJTyWKeY0aJT5rW97vADnJFd/SCaZmhK94B0rwMI4 YIglWGYujGf/G+rt6XeXzRIiU3u33Ydnbiy/e5P/wp6WK84DQLcQPLMNuAbD+Xz0Qxbo znVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6PGNlte3FPx+5IChUgoRkrdcPeksN55rtPuZk3l23ws=; b=qBRLL12lyDBXlvpMQ3VVZxDrjiCcbiOLul+8gSs022+clxKVeot3AN21ND8mjB4qWR UoC9oMvSiu29uMgvS5jPVuGAvjDAVEedFKPvw4WpUZfaH6f0Ot+KyUVafrTsRLZmYP+w OSbqz9kt5yad5ConQ73cvGl8VKV/8WS/e1D9cUdY/DB40hUp/pqd0FiVKfOIYJvxn1ZL 0YCWVGLRYGeZhah49iemE4DF2wjkZkcuDctZEs9rZonQ3JsGQI7Uuk1mIHeNfYi3IRN0 47fOR4KDZiNkeOER7GZ5KpIoiDW2sU0Vdw9IQTo4ltAdOsePKvKOXeqFCbwZvsmrsaFS UHUQ== X-Gm-Message-State: APjAAAXHlYUZPdO3ZTzgb3wqptgfAeWIm/urPoZY1LS3zGvj1bfUQpAy FF7PpV3vvM6WNc97MKaesBxW2+WOvzF00by+9aH4Sw== X-Google-Smtp-Source: APXvYqzeciHlswcecxRR7/fihqEOpZH3/C/oSjRxZl5vo+ogC0/OgqCqxvZ8KbSU7+VikC1yvFN+Gg57eLYPcBq6JW8= X-Received: by 2002:a2e:93c8:: with SMTP id p8mr19587491ljh.6.1564685617222; Thu, 01 Aug 2019 11:53:37 -0700 (PDT) MIME-Version: 1.0 References: <2e50fb67-8a19-412b-19d2-14f5f20b61f8@FreeBSD.org> <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> In-Reply-To: From: Freddie Cash Date: Thu, 1 Aug 2019 11:53:25 -0700 Message-ID: Subject: Re: rc script: manual stop vs system shutdown To: Andriy Gapon Cc: Warner Losh , "Rodney W. Grimes" , FreeBSD-Current , freebsd-rc@freebsd.org X-Rspamd-Queue-Id: 45zzw33LnWz465w X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.98 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.979,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 18:53:39 -0000 On Thu, Aug 1, 2019, 11:15 AM Andriy Gapon, wrote: > On 01/08/2019 19:12, Warner Losh wrote: > > > > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > > > > > wrote: > > > > > > > > Is it possible in an rc script to distinguish between a manual stop > > > (e.g., service foo stop) and a stop during a system shutdown (via > > > rc.shutdown) ? > > > Are there any marker variables for that? > > > Or something in the global system state? > > > > Not that I can think of, but I like this idea, > > I am sure that use cases exist. > > > > > > What is the use case that needs to disambiguate the two cases... > > I have one use case in mind and it's a truly special case. > I want rc.d/watchdogd to gracefully stop watchdogd and to disable the > watchdog timer when the stop action is requested manually. And I want > it to stop watchdogd and set the watchdog timer to a special shutdown > timeout during the shutdown. If the special timeout is configured, of > course. > A horribly hackish workaround could be to do a "pgrep shutdown" and "pgrep reboot" and "pgrep halt" in the stop function of the RC script. If one of those those processes exist, then a system shutdown/reboot is in progress. Not elegant, but could be workable until something nicer is added. Cheers, Freddie Typos courtesy of my phone's keyboard. > From owner-freebsd-current@freebsd.org Thu Aug 1 19:10:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45005C6684; Thu, 1 Aug 2019 19:10:20 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4600HH2SSZz4824; Thu, 1 Aug 2019 19:10:18 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x71JA9hW008263 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 1 Aug 2019 12:10:09 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x71JA9vn008262; Thu, 1 Aug 2019 12:10:09 -0700 (PDT) (envelope-from sgk) Date: Thu, 1 Aug 2019 12:10:09 -0700 From: Steve Kargl To: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: drm-legacy is broken, again Message-ID: <20190801191009.GA8229@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 4600HH2SSZz4824 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [1.62 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.78)[0.783,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[washington.edu]; AUTH_NA(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; IP_SCORE(-0.06)[ip: (0.07), ipnet: 128.95.0.0/16(0.01), asn: 73(-0.32), country: US(-0.05)]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:10:20 -0000 Just updated /usr/src to top of tree. Trying to update drm-legacy port. After a failed 'make' in /usr/ports/drm-legacy % make |& tee drm.txt % tail drm.txt =3D=3D=3D> drm2/drm2 (all) Warning: Object directory not changed from original /usr/ports/graphics/drm= -legacy-kmod/work/drm-legacy-990f64b/drm2/drm2 cc -O2 -pipe -march=3Dbdver2 -fno-strict-aliasing -march=3Dbdver2 -Werror= -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/graphics/drm-legacy-kmod/wo= rk/drm-legacy-990f64b/drm2/../src/ -I. -I/usr/src/sys -I/usr/src/sys/contri= b/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-poin= ter -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-pre= fix-map=3D./x86=3D/usr/src/sys/x86/include -MD -MF.depend.drm_crtc.o -= MTdrm_crtc.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float= -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector = -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prot= otypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__= =3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wn= o-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wn= o-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-= sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-ae= s -mno-avx -std=3Diso9899:1999 -c /usr/ports/graphics/drm-legacy-kmod/work= /drm-legacy-990f64b/src/dev/drm2/drm_crtc.c -o drm_crtc.o /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1128:21: error: use of undeclared identifier 'USHRT_MAX' if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1128:52: error: use of undeclared identifier 'USHRT_MAX' if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1129:23: error: use of undeclared identifier 'USHRT_MAX' in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1129:49: error: use of undeclared identifier 'USHRT_MAX' in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1130:19: error: use of undeclared identifier 'USHRT_MAX' in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1130:47: error: use of undeclared identifier 'USHRT_MAX' in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1131:25: error: use of undeclared identifier 'USHRT_MAX' in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1131:54: error: use of undeclared identifier 'USHRT_MAX' in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1132:20: error: use of undeclared identifier 'USHRT_MAX' in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1132:45: error: use of undeclared identifier 'USHRT_MAX' in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1170:18: error: use of undeclared identifier 'INT_MAX' if (in->clock > INT_MAX || in->vrefresh > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1170:44: error: use of undeclared identifier 'INT_MAX' if (in->clock > INT_MAX || in->vrefresh > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1840:26: error: use of undeclared identifier 'INT_MAX' if (plane_req->crtc_w > INT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1841:26: error: use of undeclared identifier 'INT_MAX' plane_req->crtc_x > INT_MAX - (int32_t) plane_req->crtc_w || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1842:26: error: use of undeclared identifier 'INT_MAX' plane_req->crtc_h > INT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1843:26: error: use of undeclared identifier 'INT_MAX' plane_req->crtc_y > INT_MAX - (int32_t) plane_req->crtc_h) { ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1903:20: error: use of undeclared identifier 'INT_MAX' if (crtc_req->x > INT_MAX || crtc_req->y > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1903:45: error: use of undeclared identifier 'INT_MAX' if (crtc_req->x > INT_MAX || crtc_req->y > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:2297:32: error: use of undeclared identifier 'UINT_MAX' if ((uint64_t) width * cpp > UINT_MAX) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990= f64b/drm2/drm2 *** Error code 1 Stop. make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990= f64b/drm2 *** Error code 1 Stop. make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990= f64b *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/drm-legacy-kmod *** Error code 1 Stop. make: stopped in /usr/ports/graphics/drm-legacy-kmod --=20 Steve 20170425 https://www.youtube.com/watch?v=3DVWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=3DIbCHE-hONow From owner-freebsd-current@freebsd.org Thu Aug 1 19:22:33 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E2ABC6CB5; Thu, 1 Aug 2019 19:22:33 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4600YN3Ljpz499w; Thu, 1 Aug 2019 19:22:32 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-io1-xd43.google.com with SMTP id s7so146714159iob.11; Thu, 01 Aug 2019 12:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=443dlChM4sfOmiTW7lhwjY+Gh7vevuU5kdTY7xjU6TE=; b=IzqUCHysVFjieItgkSnNHGNxLJmxR8GhFGp2uURF1vBfEpV6uwiI8CIxehxVK7Gwwi MV2HTE2CgDFNNNutykZhEhuUf80wKhtTKQ+j7ifW9ihnxm0nVTSaC4zRfvkedTheyw3h QrVvxK0H5LJZofemw6y2NyiewG83N7zG5/RV7ISykU5hv4jRpC6fN7xtreTf/oT/Q6Wu Ivpd5ZFn0qzaNT6R+odWnTtBG3GAxvY6Y94DboIPn5txAJQ2uzj5HUW1QA0o4msdKXgb uBJEenM/ekFuWVAmj4/9VGlp4hRHqdt2nsSbWIP/2jEuMNVxuMsYItRSnd+1+cUV21Jt i+Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=443dlChM4sfOmiTW7lhwjY+Gh7vevuU5kdTY7xjU6TE=; b=CRzd6fR7iHIUxuEnKBFLeAZYb3TmHnHj4bkbX0j9KaD2dFQiPD2RH9LhD5kvNwzJis 7YnDlb3x50p7vTY7/BzOpZ2W4xl+exmM+t4cxn1IO2WlKBuEpBJZy4AWRpHno4T4zY8X K3kNysVa0Dybv//4WUDEFgC+kHmFLJt0ewmkcufskQkDEsVyWcRx5axTn16CkMr4y+XF YpIliYDZifbIYK4KYhOhGQ6kV9Px2py4cO3FRim5DFP1pIMleLmJkXRajw9zWbjZoVCj wlMTmFEAR4F2C2i6ScKlUqEqg5OPt58rvUgPWxdTSeS3929vEAKLkG/SFGvISVgKIEWK X3mQ== X-Gm-Message-State: APjAAAVftT1DStOQ33xSIIUMgl5Dm/08HnaDrZ9U/dtiFAC6kL3Cbj5y QfvISCT3J2d/LeNxPI7BIBkPQZnYOSw= X-Google-Smtp-Source: APXvYqyPJ0b84sbcuNOjUdRj8v8FN7BVF2kvIx8EGTeSCbmz1+2Nlbm0pAFYk4ujXyG2u9eC2IWwag== X-Received: by 2002:a05:6638:63a:: with SMTP id h26mr58083144jar.92.1564687350828; Thu, 01 Aug 2019 12:22:30 -0700 (PDT) Received: from raichu (toroon0560w-lp140-05-70-29-85-38.dsl.bell.ca. [70.29.85.38]) by smtp.gmail.com with ESMTPSA id v3sm16614523ioh.58.2019.08.01.12.22.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 01 Aug 2019 12:22:30 -0700 (PDT) Sender: Mark Johnston Date: Thu, 1 Aug 2019 15:22:27 -0400 From: Mark Johnston To: Steve Kargl Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: drm-legacy is broken, again Message-ID: <20190801192227.GB19051@raichu> References: <20190801191009.GA8229@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190801191009.GA8229@troutmask.apl.washington.edu> User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 4600YN3Ljpz499w X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=IzqUCHys; dmarc=none; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::d43 as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-1.37 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-0.94)[-0.938,0]; RCVD_IN_DNSWL_NONE(0.00)[3.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.73)[ip: (1.95), ipnet: 2607:f8b0::/32(-3.09), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:22:33 -0000 On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > Just updated /usr/src to top of tree. > > Trying to update drm-legacy port. After > a failed 'make' in /usr/ports/drm-legacy The patch below should fix it. drm was relying on refcount.h including limits.h. diff --git a/src/dev/drm2/drmP.h b/src/dev/drm2/drmP.h index 3af7ad1..7cbd8db 100644 --- a/src/dev/drm2/drmP.h +++ b/src/dev/drm2/drmP.h @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include From owner-freebsd-current@freebsd.org Thu Aug 1 19:30:27 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89C17C6FAC; Thu, 1 Aug 2019 19:30:27 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4600kW2YZRz49kW; Thu, 1 Aug 2019 19:30:26 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x71JUOes071127 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 1 Aug 2019 12:30:24 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x71JUO6O071112; Thu, 1 Aug 2019 12:30:24 -0700 (PDT) (envelope-from sgk) Date: Thu, 1 Aug 2019 12:30:24 -0700 From: Steve Kargl To: Mark Johnston Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: drm-legacy is broken, again Message-ID: <20190801193024.GA29819@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190801191009.GA8229@troutmask.apl.washington.edu> <20190801192227.GB19051@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190801192227.GB19051@raichu> User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 4600kW2YZRz49kW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.89 / 15.00]; NEURAL_HAM_SHORT(-0.89)[-0.890,0]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:30:27 -0000 On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: > On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > > Just updated /usr/src to top of tree. > > > > Trying to update drm-legacy port. After > > a failed 'make' in /usr/ports/drm-legacy > > The patch below should fix it. drm was relying on refcount.h including > limits.h. > > diff --git a/src/dev/drm2/drmP.h b/src/dev/drm2/drmP.h > index 3af7ad1..7cbd8db 100644 > --- a/src/dev/drm2/drmP.h > +++ b/src/dev/drm2/drmP.h > @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); > > #include > #include > +#include > #include > #include > #include Thanks for the quick response. I had recalled someone has/had been undoing some header pollution changes, but the individual names escaped me. -- Steve From owner-freebsd-current@freebsd.org Thu Aug 1 19:31:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F5F8C72C5; Thu, 1 Aug 2019 19:31:20 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4600lW4brpz4BDy; Thu, 1 Aug 2019 19:31:19 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-io1-xd44.google.com with SMTP id j5so142799344ioj.8; Thu, 01 Aug 2019 12:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wlnToAyEDH3/o9SRsQIIH9r6ypCuwlnAVcAiAh6PVO0=; b=Rclz/Hv7i6UQvRHEsoAxCQMGXJMcpvT7Bh8LiXq5COrPcWFuo11ZsJgNx/fQGMcQoo Osz80q1TC2rkZDVZ9zvTimnPqmj36Mp3LjreQEX/xtxgqxNFz1ejXFQYNbUjkFqjRQh1 jIxYKgeAJM9JsYwPeszdBzZjDJ0MYy70MGSdsZxOBjrG0j6U+GsI3pdIF2QaGjXOFfHW L6LsBazM5fSJa1gdAK8ajkZ5geVlLI7vdVCA6R4k2ZOROoc9Oy1SWl0gnkgtKOTU2nrq ZAv/RNXDuTsXuth1oW2N4Eo1dkQxD3IUZgds2oN5pLeo7bPclyk/7L9Axa+KdyP3e9yM 3zvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=wlnToAyEDH3/o9SRsQIIH9r6ypCuwlnAVcAiAh6PVO0=; b=rn2iTOWpyY/VZhkQSu34FBKxXYQnJIpDp0ScK+TmXFVztzw7PVyqLgYwCAq8Vzb1zh ro8GbRIOiPvnobwDXjybululoZO20LnMgfI6kDbJAZaEqe5G+4/VcUqjcS2ogDMibJwy DP6IUjBDsSYu00lfW/3YOs8RBPY11yZi727wvU/URhGtLKoKuMORjlNd0OZZYPQcoKL7 pvRUwhtmAXJcI6XmJ32aLXJrS5XEOzT1Sca+jCZUb2cz3c9mFeLqzVwGoBD3wnmaMWTn h28c5juyiVZozQYmmaOBuPLCJkGoifsP7nTMhpFS/NRXLveTIAJj2Lj8h1iHjBNq//e/ IEYw== X-Gm-Message-State: APjAAAXXi/1JVYqZ3laY4DRFzZ56fJVl47hsPD9py1nUEGw/UU/d1s1T QGpFrxrNKsXYJl4eYQjSyhw= X-Google-Smtp-Source: APXvYqxE1yWzIpBxX5VCeg2G0Po4V8urXNatLwGSvW9i1lfcrTr14NNgMpn6EH9ZKKE4hBTixINsfQ== X-Received: by 2002:a6b:3102:: with SMTP id j2mr7006881ioa.5.1564687878532; Thu, 01 Aug 2019 12:31:18 -0700 (PDT) Received: from raichu (toroon0560w-lp140-05-70-29-85-38.dsl.bell.ca. [70.29.85.38]) by smtp.gmail.com with ESMTPSA id m10sm128821379ioj.75.2019.08.01.12.31.17 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 01 Aug 2019 12:31:17 -0700 (PDT) Sender: Mark Johnston Date: Thu, 1 Aug 2019 15:31:15 -0400 From: Mark Johnston To: Steve Kargl Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: drm-legacy is broken, again Message-ID: <20190801193115.GC19051@raichu> References: <20190801191009.GA8229@troutmask.apl.washington.edu> <20190801192227.GB19051@raichu> <20190801193024.GA29819@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190801193024.GA29819@troutmask.apl.washington.edu> User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 4600lW4brpz4BDy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Rclz/Hv7; dmarc=none; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::d44 as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-1.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-0.69)[-0.690,0]; RCVD_IN_DNSWL_NONE(0.00)[4.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.70)[ip: (2.09), ipnet: 2607:f8b0::/32(-3.09), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:31:20 -0000 On Thu, Aug 01, 2019 at 12:30:24PM -0700, Steve Kargl wrote: > On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: > > On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > > > Just updated /usr/src to top of tree. > > > > > > Trying to update drm-legacy port. After > > > a failed 'make' in /usr/ports/drm-legacy > > > > The patch below should fix it. drm was relying on refcount.h including > > limits.h. > > > > diff --git a/src/dev/drm2/drmP.h b/src/dev/drm2/drmP.h > > index 3af7ad1..7cbd8db 100644 > > --- a/src/dev/drm2/drmP.h > > +++ b/src/dev/drm2/drmP.h > > @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); > > > > #include > > #include > > +#include > > #include > > #include > > #include > > Thanks for the quick response. I had recalled someone > has/had been undoing some header pollution changes, > but the individual names escaped me. I reproduced the issue and submitted a PR: https://github.com/FreeBSDDesktop/drm-legacy/pull/13 From owner-freebsd-current@freebsd.org Thu Aug 1 19:37:51 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 64D60C7513; Thu, 1 Aug 2019 19:37:51 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4600v249wtz4BY5; Thu, 1 Aug 2019 19:37:50 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pg1-f193.google.com with SMTP id n9so28531616pgc.1; Thu, 01 Aug 2019 12:37:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Srl/YOJaNfbL/Koo4yB41YY3eYUoGc6UzuH3efggz+U=; b=YZ19b7tgkn95fhBqvSIaGYUvdYqEXtgv4TtugKo1UwuaErOV2QoPCYi4SdBlMf8BF/ OA880j1Q6UoSMFB5xiUrCCisWFnNcZFHTr3nPUPmllSs0amo04MMKjAZsSr1v46FLeug HfyhNpQP4YH7B7GB8+JNi0eRL1ylNeYr3RKmB6rvEWqKpysVXBvEDeQA5QsArG001hpG RCOZFt1OG/pGS7S7A56i55pwdOiMvwHpfAFiz+u+Xjo3GB8bZYwwmn2AToLTbvJyjhah TP4lpUB/YCiOqmZSrnYMyQqHEnSrlgBYm57iuAKSiDL31AZpJzUAOn3k+/doDFaQVCQr B01A== X-Gm-Message-State: APjAAAWHqo7CcQyBJU6WeGZ355oRF145/3x7mBdYutUzx5fX0f+0174h j+iM8z6BWAB9IQ1/Zp0E4AEsoGUm X-Google-Smtp-Source: APXvYqw4AsV0iQiVR8jSMmIcAGeVe9RbEIhGj1g0JCl1scNrm982O7up3Vl6GZZ/yIykI43Sqa8IVQ== X-Received: by 2002:a63:61cf:: with SMTP id v198mr4438108pgb.217.1564688268417; Thu, 01 Aug 2019 12:37:48 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-233-136.atc.tvcom.ru. [82.140.233.136]) by smtp.googlemail.com with ESMTPSA id t7sm71027561pfh.101.2019.08.01.12.37.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 12:37:47 -0700 (PDT) Subject: Re: rc script: manual stop vs system shutdown To: Freddie Cash Cc: Warner Losh , "Rodney W. Grimes" , FreeBSD-Current , freebsd-rc@freebsd.org References: <2e50fb67-8a19-412b-19d2-14f5f20b61f8@FreeBSD.org> <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> From: Andriy Gapon Openpgp: preference=signencrypt Message-ID: <9b9ca0a6-5aee-74c7-2ac0-a70a81d72593@FreeBSD.org> Date: Thu, 1 Aug 2019 22:37:42 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4600v249wtz4BY5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.215.193 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-2.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[FreeBSD.org]; RWL_MAILSPIKE_GOOD(0.00)[193.215.85.209.rep.mailspike.net : 127.0.0.18]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; RCVD_IN_DNSWL_NONE(0.00)[193.215.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.18)[ipnet: 209.85.128.0/17(-3.40), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[136.233.140.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:37:51 -0000 On 01/08/2019 21:53, Freddie Cash wrote: > On Thu, Aug 1, 2019, 11:15 AM Andriy Gapon, > wrote: > > On 01/08/2019 19:12, Warner Losh wrote: > > > > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > > > >> > > wrote: > > > >     > > >     > Is it possible in an rc script to distinguish between a > manual stop > >     > (e.g., service foo stop) and a stop during a system shutdown > (via > >     > rc.shutdown) ? > >     > Are there any marker variables for that? > >     > Or something in the global system state? > > > >     Not that I can think of, but I like this idea, > >     I am sure that use cases exist. > > > > > > What is the use case that needs to disambiguate the two cases... > > I have one use case in mind and it's a truly special case. > I want rc.d/watchdogd to gracefully stop watchdogd and to disable the > watchdog timer when the stop action is requested manually.  And I want > it to stop watchdogd and set the watchdog timer to a special shutdown > timeout during the shutdown.  If the special timeout is configured, of > course. > > > A horribly hackish workaround could be to do a "pgrep shutdown" and > "pgrep reboot" and "pgrep halt" in the stop function of the RC script. > If one of those those processes exist, then a system shutdown/reboot is > in progress. > > Not elegant, but could be workable until something nicer is added. I think that shutdown by default sends a signal to init and exits. It's init that kicks off rc.shutdown. -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Aug 1 19:42:21 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 783B2C77D3; Thu, 1 Aug 2019 19:42:21 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46010F2GwSz4ByF; Thu, 1 Aug 2019 19:42:20 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x71JgIVl032469 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 1 Aug 2019 12:42:18 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x71JgIM4032468; Thu, 1 Aug 2019 12:42:18 -0700 (PDT) (envelope-from sgk) Date: Thu, 1 Aug 2019 12:42:18 -0700 From: Steve Kargl To: Mark Johnston Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: drm-legacy is broken, again Message-ID: <20190801194218.GA32463@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190801191009.GA8229@troutmask.apl.washington.edu> <20190801192227.GB19051@raichu> <20190801193024.GA29819@troutmask.apl.washington.edu> <20190801193115.GC19051@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190801193115.GC19051@raichu> User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 46010F2GwSz4ByF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.89 / 15.00]; NEURAL_HAM_SHORT(-0.89)[-0.892,0]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:42:21 -0000 On Thu, Aug 01, 2019 at 03:31:15PM -0400, Mark Johnston wrote: > On Thu, Aug 01, 2019 at 12:30:24PM -0700, Steve Kargl wrote: > > On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: > > > On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > > > > Just updated /usr/src to top of tree. > > > > > > > > Trying to update drm-legacy port. After > > > > a failed 'make' in /usr/ports/drm-legacy > > > > > > The patch below should fix it. drm was relying on refcount.h including > > > limits.h. > > > > > > diff --git a/src/dev/drm2/drmP.h b/src/dev/drm2/drmP.h > > > index 3af7ad1..7cbd8db 100644 > > > --- a/src/dev/drm2/drmP.h > > > +++ b/src/dev/drm2/drmP.h > > > @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); > > > > > > #include > > > #include > > > +#include > > > #include > > > #include > > > #include > > > > Thanks for the quick response. I had recalled someone > > has/had been undoing some header pollution changes, > > but the individual names escaped me. > > I reproduced the issue and submitted a PR: > https://github.com/FreeBSDDesktop/drm-legacy/pull/13 Thanks for that, too. I'm not in a position to submit a PR as my mouse has gone missing under Xorg. -- Steve From owner-freebsd-current@freebsd.org Thu Aug 1 19:51:34 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EFB0CC7A88 for ; Thu, 1 Aug 2019 19:51:34 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4601Bt24plz4CXX for ; Thu, 1 Aug 2019 19:51:34 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1564689092; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=Ms4CIqMtkP6h0tASsO/VonD58pJl2TjPUjSwcK8rZ+POmM8I5WZK8NuD96QLJHDKzIhMaGfo2kiX0 F02ZTD787aTumFzFXTkc1QdTpYHfy8m4YfNCqG3CrXua/ngv0OhKgOhXI6chwfSwcza4U0AdLGgW+x xYDwmZT7+KrjN/HEkYYfKis/ArzlKssZfk1JG28P+ieRcuseY6l4ca2AqZXE8zm8Y5lGEC0+V3NoAQ JX8/3wSCt5wkMtzj1VdQcLdh9qXcmYkEmv3A88uYQFAf9JIDCT6dd85M7j8LFzUy14h5e4ERbSPOzf s5m+2G882pJTfDebR0GZCPju3pNAdDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=85Lgl8FM91YG0R0BgewouW+m+///IS1ZVE9iEQTHeSE=; b=uevI/iw+DsB6Kiu6DNWjlX5YYBS7BfR8W+rRgrBtN5EbybDmcGT6nMZbLAYF+uQIQjP17c6ONx0ys Rw4YJZmnUeokoYuIMJ/Zo43bsMBjc7jGfAQEYgbtWQdKVZzvzcHDy3ExTraSzz5vgd3vcWIgGK4ma7 LVTEN/MEZizLOU189vCeduMCRzM39kxeaLL3gBBTwdZRES79JlKL752YQfhINbiGZeHSudvUEE3y9V wKz4Mo05FXxGJMB5GMrT3mN6J3EFp5AE1CpPPrInl4DyQdJG5dIV1euk3zd+XRNR+IFRShfhN+VPCr cA9CR9Rju5I4I7+JfwvSFG5aF2MXp2g== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=85Lgl8FM91YG0R0BgewouW+m+///IS1ZVE9iEQTHeSE=; b=Th0hFjUeOa6o2/i98iPcp40oyy7Cw4dnuj8hkNTzvyS+fzG6SgdIKon0Kj124AP1bXZg0lJSlOLty 0A4Dzw/DUh3vbjovxIO953hi8rz6mE8IWPZQ0o6Kfr12eJ8npMOJxWRjcSU9yLDGa5rdWN6roVOEd5 HL2cNBAu7F2FXJTIaMIVRAO7OmTKNhIMxP2E8mclpeMI/tPeATo2uNCvcp70mGdvRHprw6UO3bJ2d6 e/68DUlpICGObcA7XXLtq6LxfP5H8li1GmZwQB5GYRhoWykm5QN7pk1RHqVtwvhRApPTDIDphrN9to AaGTG27rmH0wPLGb5kBsj1eR15kc+xQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: c13014c6-b495-11e9-85ec-13b9aae3a1d2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id c13014c6-b495-11e9-85ec-13b9aae3a1d2; Thu, 01 Aug 2019 19:51:31 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x71JpT22002721; Thu, 1 Aug 2019 13:51:29 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: rc script: manual stop vs system shutdown From: Ian Lepore To: Andriy Gapon , Warner Losh , "Rodney W. Grimes" Cc: FreeBSD Current , freebsd-rc@freebsd.org Date: Thu, 01 Aug 2019 13:51:29 -0600 In-Reply-To: References: <2e50fb67-8a19-412b-19d2-14f5f20b61f8@FreeBSD.org> <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4601Bt24plz4CXX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-0.71 / 15.00]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.71)[-0.715,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:51:35 -0000 On Thu, 2019-08-01 at 21:14 +0300, Andriy Gapon wrote: > On 01/08/2019 19:12, Warner Losh wrote: > > > > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > > > > > wrote: > > > > > > > > Is it possible in an rc script to distinguish between a manual stop > > > (e.g., service foo stop) and a stop during a system shutdown (via > > > rc.shutdown) ? > > > Are there any marker variables for that? > > > Or something in the global system state? > > > > Not that I can think of, but I like this idea, > > I am sure that use cases exist. > > > > > > What is the use case that needs to disambiguate the two cases... > > I have one use case in mind and it's a truly special case. > I want rc.d/watchdogd to gracefully stop watchdogd and to disable the > watchdog timer when the stop action is requested manually. And I want > it to stop watchdogd and set the watchdog timer to a special shutdown > timeout during the shutdown. If the special timeout is configured, of > course. > The shutdown timeout is already supported: you just set '-x ' in watchdogd_flags in rc.conf; no changes to the rc.d script needed. I think probably you don't even need the first part of what you want. The -x arg covers you in the reboot case; most people probably won't use it. But if you are using it, and you want to truly kill the dog, you would just do "watchdog -t 0" after "service watchdogd stop". If you really felt the need to cover that with a single service command, then how about using "service watchdogd cancel" where the cancel verb does the -t 0 after killing the daemon? -- Ian From owner-freebsd-current@freebsd.org Thu Aug 1 20:10:02 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F70CA1079; Thu, 1 Aug 2019 20:10:02 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (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 4601c95zmcz4DTh; Thu, 1 Aug 2019 20:10:01 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4601c25BhNz3kw4; Thu, 1 Aug 2019 20:09:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id v9nI8N5qApLH; Thu, 1 Aug 2019 20:09:54 +0000 (UTC) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:2::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 4601c15zblz3c7W; Thu, 1 Aug 2019 20:09:53 +0000 (UTC) Subject: Re: drm-legacy is broken, again To: sgk@troutmask.apl.washington.edu, Mark Johnston Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org References: <20190801191009.GA8229@troutmask.apl.washington.edu> <20190801192227.GB19051@raichu> <20190801193024.GA29819@troutmask.apl.washington.edu> <20190801193115.GC19051@raichu> <20190801194218.GA32463@troutmask.apl.washington.edu> From: Niclas Zeising Message-ID: Date: Thu, 1 Aug 2019 22:09:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190801194218.GA32463@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4601c95zmcz4DTh X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-0.86 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.86)[-0.864,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 20:10:02 -0000 On 2019-08-01 21:42, Steve Kargl wrote: > On Thu, Aug 01, 2019 at 03:31:15PM -0400, Mark Johnston wrote: >> On Thu, Aug 01, 2019 at 12:30:24PM -0700, Steve Kargl wrote: >>> On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: >>>> On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: >>>>> Just updated /usr/src to top of tree. >>>>> >>>>> Trying to update drm-legacy port. After >>>>> a failed 'make' in /usr/ports/drm-legacy >>>> >>>> The patch below should fix it. drm was relying on refcount.h including >>>> limits.h. >>>> >>>> diff --git a/src/dev/drm2/drmP.h b/src/dev/drm2/drmP.h >>>> index 3af7ad1..7cbd8db 100644 >>>> --- a/src/dev/drm2/drmP.h >>>> +++ b/src/dev/drm2/drmP.h >>>> @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); >>>> >>>> #include >>>> #include >>>> +#include >>>> #include >>>> #include >>>> #include >>> >>> Thanks for the quick response. I had recalled someone >>> has/had been undoing some header pollution changes, >>> but the individual names escaped me. >> >> I reproduced the issue and submitted a PR: >> https://github.com/FreeBSDDesktop/drm-legacy/pull/13 > > > Thanks for that, too. I'm not in a position to > submit a PR as my mouse has gone missing under > Xorg. > Port has been updated: https://svnweb.freebsd.org/changeset/ports/507828 Regards -- Niclas Zeising From owner-freebsd-current@freebsd.org Thu Aug 1 22:51:30 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D16DA3784; Thu, 1 Aug 2019 22:51:30 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4605BT1cFwz4Lhx; Thu, 1 Aug 2019 22:51:28 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg1-x530.google.com with SMTP id x15so24648179pgg.8; Thu, 01 Aug 2019 15:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=n2hE07ygI2a56yanpCadZcXFnDPIGOJWjyrgTGnnJU8=; b=hlj8PbolhZEQieE3DMFQqubFo6Sqn9vyVZvS0nrpm+BZzvx9PNYayCV8nm0nfyPE3C aF7O/l2jVyc4YidXlf49XXUv1fW9ixIvTFf6+iLUGLlXAEMQ39scxbwQwog/9Bm1G57O BMu22uxmNzBVscJBQZf7FnP1hlku5iQaHfoBsZHA5eCyp1+N1VRQ9ouyv3HPNOW7jDoA cvkpQSFiuCap23L5JboJwkqNXEA+cvAUoBqUnqNv3G9Lo5YJulOb1IHiea/u+cB68pmv /dm0YqX6tj0f0plYrjdI65usYXRtYildSxscJg9fGJRPozmCBCAb2SfeO4oO3ydj/pQu Yyjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=n2hE07ygI2a56yanpCadZcXFnDPIGOJWjyrgTGnnJU8=; b=JmPUo5W1rO3piHC+c1+RUiUGk5v4QHJwajIRVnKUEWeT/M00IGZFWhx3bCgJ80QIRO 90abeiDi9j/K1pF1pA5UB6ZcK3VzYGa4tECNG+NYoHD4BHCU2odEQ2xe8830rAFos5Wo nS1boIhFAosZ2Jzz173hb2rye4DyLko+OLCcMsZGX2ipRAu4yRGUfbp6YJzNKKheSb21 judwwtgAeHDg+WjEJ9uSJs5jKjYsj2tvemdcMQSwou0oVIveBRzFsrTbCiiLr91Bja0M PgPVW1g8vbn8H7WYGFBUN6jN5Yp0v/pA4vv5msfHBg6cLbd9h4XZiJn/Ka7Od3rLRz9c NXeg== X-Gm-Message-State: APjAAAUYMmGOscQJ14VVn6kx61wQwYqpZC8cDqKPZAD4VFTMU6s4Rh+g YHjGQweO6YtDcG9YXceZXFY= X-Google-Smtp-Source: APXvYqzPRmjTg4S+GLHvK/T0A8tkQTu5Yp6WGbYcVnH4a6Y9cjBTn4bZh2RpXm9YRVPEYtZeBpfcng== X-Received: by 2002:a17:90a:db44:: with SMTP id u4mr1166370pjx.52.1564699887245; Thu, 01 Aug 2019 15:51:27 -0700 (PDT) Received: from ?IPv6:2607:fb90:b2e9:8e70:c45f:8832:c431:b7ce? ([2607:fb90:b2e9:8e70:c45f:8832:c431:b7ce]) by smtp.gmail.com with ESMTPSA id f15sm59607736pgu.2.2019.08.01.15.51.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 15:51:26 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: rc script: manual stop vs system shutdown From: Enji Cooper X-Mailer: iPhone Mail (16F203) In-Reply-To: <151b0848-0c94-10ad-92db-47c9038e1180@FreeBSD.org> Date: Thu, 1 Aug 2019 15:51:25 -0700 Cc: "Rodney W. Grimes" , freebsd-rc@freebsd.org, FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <9A2B3CD5-3F67-4268-AB54-C7991CA1BD66@gmail.com> References: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> <151b0848-0c94-10ad-92db-47c9038e1180@FreeBSD.org> To: Andriy Gapon X-Rspamd-Queue-Id: 4605BT1cFwz4Lhx X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hlj8Pbol; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::530 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-0.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[0.3.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.30), ipnet: 2607:f8b0::/32(-3.09), asn: 15169(-2.46), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 22:51:30 -0000 > On Aug 1, 2019, at 11:07, Andriy Gapon wrote: >=20 >> On 01/08/2019 20:30, Enji Cooper wrote: >> On Aug 1, 2019, at 08:53, Rodney W. Grimes wrote: >>=20 >>>>=20 >>>> Is it possible in an rc script to distinguish between a manual stop >>>> (e.g., service foo stop) and a stop during a system shutdown (via >>>> rc.shutdown) ? >>>> Are there any marker variables for that? >>>> Or something in the global system state? >>>=20 >>> Not that I can think of, but I like this idea, >>> I am sure that use cases exist. >>=20 >> Have you looked at: >> keyword: shutdown >> etc? >=20 > AFAIK, that keyword only controls whether 'foo stop' is called during > shutdown or not. This is correct. The other implemented keyword is =E2=80=98nostart=E2=80=99 (iirc). The two i= n tandem would likely fit your need, minus someone manually starting a scrip= t. -Enji= From owner-freebsd-current@freebsd.org Fri Aug 2 06:39:25 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 03038AB746; Fri, 2 Aug 2019 06:39:25 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 460HZN0sbcz3DbJ; Fri, 2 Aug 2019 06:39:23 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id y8so33266819plr.12; Thu, 01 Aug 2019 23:39:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kOZHJ7m78tve+XrmKvoHySm6E3aS00q5Hk3ogXE+ZHY=; b=W3cBpFBM6k0xM7ZStWIy1QeUXMFyrckXlYWf7zT6Kldf03uLaU9yNn/bREU73ueV/q 7FhuyUWsSIL4o0YzGBTdWv45XthOdOx68TofL9jCaKePlyIbDF3nzaUWZn6hJuTqgFRu adZlYNfNmVIpbKmCXMSnhg5hiaqUdGRoFTUQVm/gzAmfP31iKYKkpz5HhMV3UQBsAE/7 nfnV2H92D+nVCXQ7DyAeNJ6LG4n6uIOCE2yMCmHuQwIaygFCVDb5OWcxXKTx9qHsdr4u RLrzFZ983mJmLVWSUUaHmULmroBcVCqLx8CPlCpBN/iIRt9UEEHbVzvj31RAyldKP/6H 0z4w== X-Gm-Message-State: APjAAAV6292JtQexDSqhKUkqJOQXTK+wxAA837+TMYD5arnarkwGFnCs hAQzRIyVMom8Lh8YLQ4yZ1qkk9ht X-Google-Smtp-Source: APXvYqwLAHLhJIZKjeT4ZsekImoq9vFZG9lO4W+8RKcDSTktvc6VSzI0M8vgbfJTr1tQXehqLHtWDg== X-Received: by 2002:a17:902:1004:: with SMTP id b4mr132017837pla.325.1564727961979; Thu, 01 Aug 2019 23:39:21 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-233-136.atc.tvcom.ru. [82.140.233.136]) by smtp.googlemail.com with ESMTPSA id 81sm69120572pfa.86.2019.08.01.23.39.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 23:39:20 -0700 (PDT) Subject: Re: rc script: manual stop vs system shutdown To: Enji Cooper Cc: "Rodney W. Grimes" , freebsd-rc@freebsd.org, FreeBSD Current References: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> <151b0848-0c94-10ad-92db-47c9038e1180@FreeBSD.org> <9A2B3CD5-3F67-4268-AB54-C7991CA1BD66@gmail.com> From: Andriy Gapon Openpgp: preference=signencrypt Message-ID: <04e52315-4541-991d-1f12-b0fb030e6594@FreeBSD.org> Date: Fri, 2 Aug 2019 09:39:15 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <9A2B3CD5-3F67-4268-AB54-C7991CA1BD66@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 460HZN0sbcz3DbJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.214.180 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-4.11 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; RCVD_IN_DNSWL_NONE(0.00)[180.214.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.13)[ip: (-9.76), ipnet: 209.85.128.0/17(-3.40), asn: 15169(-2.46), country: US(-0.05)]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[136.233.140.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Aug 2019 06:39:25 -0000 On 02/08/2019 01:51, Enji Cooper wrote: > >> On Aug 1, 2019, at 11:07, Andriy Gapon wrote: >> >>> On 01/08/2019 20:30, Enji Cooper wrote: >>> On Aug 1, 2019, at 08:53, Rodney W. Grimes wrote: >>> >>>>> >>>>> Is it possible in an rc script to distinguish between a manual stop >>>>> (e.g., service foo stop) and a stop during a system shutdown (via >>>>> rc.shutdown) ? >>>>> Are there any marker variables for that? >>>>> Or something in the global system state? >>>> >>>> Not that I can think of, but I like this idea, >>>> I am sure that use cases exist. >>> >>> Have you looked at: >>> keyword: shutdown >>> etc? >> >> AFAIK, that keyword only controls whether 'foo stop' is called during >> shutdown or not. > > This is correct. > > The other implemented keyword is ‘nostart’ (iirc). The two in tandem would likely fit your need, minus someone manually starting a script. They won't, in my opinion. Not sure if the misunderstanding is on my part or yours. -- Andriy Gapon From owner-freebsd-current@freebsd.org Fri Aug 2 22:19:39 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2DB4FBD3D9 for ; Fri, 2 Aug 2019 22:19:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 460hRF60Lnz4ZDf for ; Fri, 2 Aug 2019 22:19:37 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x72MJTYi025892 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 2 Aug 2019 15:19:29 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x72MJT5B025891 for freebsd-current@freebsd.org; Fri, 2 Aug 2019 15:19:29 -0700 (PDT) (envelope-from sgk) Date: Fri, 2 Aug 2019 15:19:29 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Subject: Working ath10k device? Message-ID: <20190802221929.GA25822@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 460hRF60Lnz4ZDf X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [2.29 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.06)[ip: (0.06), ipnet: 128.95.0.0/16(0.01), asn: 73(-0.32), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_SHORT(0.45)[0.451,0]; DMARC_NA(0.00)[washington.edu]; R_SPF_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Aug 2019 22:19:39 -0000 I have a Dell XPS 13 that reports the wifi chip is a Qualcomm Atheros 6147. I've found Adrain's WIP driver, and built it. I'm seeing the panic reported at https://lists.freebsd.org/pipermail/freebsd-current/2019-February/072769.html Does anyone have a /dev/if_athp.ko and firmware? -- Steve From owner-freebsd-current@freebsd.org Sat Aug 3 19:34:36 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B286B8BDD; Sat, 3 Aug 2019 19:34:36 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 461DkN3dDkz4bZP; Sat, 3 Aug 2019 19:34:36 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1129) id 5CD01C03; Sat, 3 Aug 2019 19:34:36 +0000 (UTC) Date: Sat, 3 Aug 2019 19:34:36 +0000 From: Li-Wen Hsu To: freebsd-testing@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: FreeBSD CI Weekly Report 2019-07-28 Message-ID: <20190803193436.GA39017@freefall.freebsd.org> Reply-To: freebsd-testing@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Aug 2019 19:34:36 -0000 (Please send the followup to freebsd-testing@ and note Reply-To is set.) FreeBSD CI Weekly Report 2019-07-28 =================================== Here is a summary of the FreeBSD Continuous Integration results for the period from 2019-07-22 to 2019-07-28. During this period, we have: * 1689 builds (97.1% (+0.4) passed, 2.9% (-0.4) failed) were executed on aarch64, amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64, powerpcspe, riscv64, sparc64 architectures for head, stable/12, stable/11 branches. * 317 test runs (80.8% (+24.6) passed, 18.9% (-24.2) unstable, 0.3% (-0.4) exception) were executed on amd64, i386, riscv64 architectures for head, stable/12, stable/11 branches. * 36 doc builds (100% (+0) passed) Test case status (on 2019-07-28 23:59): | Branch/Architecture | Total | Pass | Fail | Skipped | | ------------------- | ---------- | --------- | ------- | -------- | | head/amd64 | 7460 (+0) | 7409 (-2) | 0 (+0) | 51 (+2) | | head/i386 | 7458 (+0) | 7400 (-6) | 0 (+0) | 58 (+10) | | 12-STABLE/amd64 | 7388 (+0) | 7344 (+3) | 0 (+0) | 44 (-3) | | 12-STABLE/i386 | 7386 (+0) | 7335 (+0) | 0 (-5) | 51 (+5) | | 11-STABLE/amd64 | 6845 (+0) | 6797 (-3) | 1 (+1) | 47 (+2) | | 11-STABLE/i386 | 6843 (+0) | 6759 (+0) | 35 (+1) | 49 (-1) | (The statistics from experimental jobs are omitted) If any of the issues found by CI are in your area of interest or expertise please investigate the PRs listed below. The latest web version of this report is available at https://hackmd.io/s/r1l5zGmMH and archive is available at http://hackfoldr.org/freebsd-ci-report/, any help is welcome. ## News * [FCP 20190401-ci_policy: CI policy ](https://github.com/freebsd/fcp/blob/master/fcp-20190401-ci_policy.md) is in "feedback" state, please check and provide comments. * This week we disabled most unstable test cases in CI runs to let the real error caused by the commit can be noticed more easier. ## Fixed Tests * https://ci.freebsd.org/job/FreeBSD-stable-11-i386-test/ * sys.opencrypto.runtests.main https://svnweb.freebsd.org/changeset/base/350209 ## Failing Tests * https://ci.freebsd.org/job/FreeBSD-stable-11-i386-test/ * local.kyua.* (31 cases) * local.lutok.* (3 cases) ## Failing and Flaky Tests (from experimental jobs) * https://ci.freebsd.org/job/FreeBSD-head-amd64-dtrace_test/ * Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d https://bugs.freebsd.org/237641 * https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/ * There are ~60 failing cases, including flakey ones, see https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/lastCompletedBuild/testReport/ for more details ## Disabled Tests * lib.libc.sys.mmap_test.mmap_truncate_signal https://bugs.freebsd.org/211924 * sys.fs.tmpfs.mount_test.large https://bugs.freebsd.org/212862 * sys.fs.tmpfs.link_test.kqueue https://bugs.freebsd.org/213662 * sys.kqueue.libkqueue.kqueue_test.main https://bugs.freebsd.org/233586 * sys.kern.ptrace_test.ptrace__PT_KILL_competing_stop https://bugs.freebsd.org/220841 * usr.bin.procstat.procstat_test.command_loogle.com/ine_arguments https://bugs.freebsd.org/233587 * usr.bin.procstat.procstat_test.environment https://bugs.freebsd.org/233588 * lib.libc.regex.exhaust_test.regcomp_too_big (i386 only) https://bugs.freebsd.org/237450 * sys.netinet.socket_afinet.socket_afinet_bind_zero (new) https://bugs.freebsd.org/238781 * sys.netpfil.pf.names.names * sys.netpfil.pf.synproxy.synproxy https://bugs.freebsd.org/238870 * sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger https://bugs.freebsd.org/239292 * sys.netpfil.pf.forward.v4 (i386 only) * sys.netpfil.pf.forward.v6 (i386 only) * sys.netpfil.pf.set_tos.v4 (i386 only) https://bugs.freebsd.org/239380 * sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger https://bugs.freebsd.org/239397 * sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger https://bugs.freebsd.org/239399 * sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger https://bugs.freebsd.org/239425 ## Issues ### Cause build fails * https://bugs.freebsd.org/233735 Possible build race: genoffset.o /usr/src/sys/sys/types.h: error: machine/endian.h: No such file or directory * https://bugs.freebsd.org/233769 Possible build race: ld: error: unable to find library -lgcc_s * https://bugs.freebsd.org/238828 Possible build race: lib/libsysdecode/tables.h:948: error: 'IPV6_MIN_MEMBERSHIPS' undeclared Patch available: https://reviews.freebsd.org/D21069 ### Cause kernel panics * https://bugs.freebsd.org/238870 sys.netpfil.pf.names.names and sys.netpfil.pf.synproxy.synproxy cause panic Patch exists: * https://reviews.freebsd.org/D20868 * https://reviews.freebsd.org/D20869 ### Open * https://bugs.freebsd.org/237077 possible race in build: /usr/src/sys/amd64/linux/linux_support.s:38:2: error: expected relocatable expression * https://bugs.freebsd.org/237403 Tests in sys/opencrypto should be converted to Python3 * https://bugs.freebsd.org/237641 Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237652 tests.hotspare.hotspare_test.hotspare_snapshot_001_pos timeout since somewhere in (r346814, r 346845] * https://bugs.freebsd.org/237655 Non-deterministic panic when running pf tests in interface ioctl code (NULL passed to strncmp) * https://bugs.freebsd.org/237656 "Freed UMA keg (rtentry) was not empty (18 items). Lost 1 pages of memory." seen when running sys/netipsec tests * https://bugs.freebsd.org/237657 sys.kern.pdeathsig.signal_delivered_ptrace timing out periodically on i386 * https://bugs.freebsd.org/238781 sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded * https://bugs.freebsd.org/239292 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger * https://bugs.freebsd.org/239380 sys.netpfil.pf.forward.{v4,v6} and sys.netpfil.pf.set_tos.v4 fail on i386 * https://bugs.freebsd.org/239397 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger * https://bugs.freebsd.org/239399 Flakey test case: sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger * https://bugs.freebsd.org/239425 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger ### Others * [Tickets related to testing@](https://preview.tinyurl.com/y9maauwg) * https://bugs.freebsd.org/235356 Help on how to reproduce and analyze is wanted.