From owner-freebsd-current@freebsd.org Sun Jun 23 01:19:23 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78D2115C0FE6 for ; Sun, 23 Jun 2019 01:19:23 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta03.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.230]) (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 A673A6DADA for ; Sun, 23 Jun 2019 01:19:22 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.161.151]) by cmsmtp with ESMTP id er7NhlX3HWnTier7PhlPFW; Sun, 23 Jun 2019 01:16:31 +0000 Date: Sun, 23 Jun 2019 01:16:12 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: UEFI firmware and getting FreeBSD recognized by default: who to talk to? References: <1e08badd-a963-7e4b-98a7-52a9d3bd77a8@bluestop.org> <87dee58e-66dc-ddf8-980b-a538875ae8b9@denninger.net> X-CMAE-Envelope: MS4wfOTecngkR7a0NLxt4+VondsGYUjNdZfz93WOnx68bMWTtc+kH+m5e+wgf+90rcNCG+Rwtny8S2cPjoIabYRnbqt7+KRIYCm2Ls0lN9xdUGgNPSPhg7ON tN1cOuJwFUD5rThSWdb1rfkXTClRwBx6tL336zVM9IYiLDUMQqsTcJxz X-Rspamd-Queue-Id: A673A6DADA X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 107.14.73.230 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [2.81 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; FREEMAIL_FROM(0.00)[twc.com]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: dnvrco-cmedge02.email.rr.com]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; RECEIVED_SPAMHAUS_PBL(0.00)[151.161.28.96.zen.spamhaus.org : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.952,0]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_BAD_CTE_7BIT(3.50)[7bit]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; MISSING_MID(2.50)[]; NEURAL_SPAM_LONG(0.75)[0.748,0]; RCVD_IN_DNSWL_NONE(0.00)[230.73.14.107.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.70)[ip: (-7.05), ipnet: 107.14.73.0/24(-3.56), asn: 7843(-2.85), country: US(-0.06)] 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, 23 Jun 2019 01:19:23 -0000 from Karl Denninger: > On 6/22/2019 14:05, Rebecca Cran wrote: > > On 2019-06-22 12:59, Karl Denninger wrote: > >> I use Refind for this sort of thing and it has (thus far!) survived > >> upgrades.  The only "gotcha" is that I had a Windows 10 "Feature" > >> upgrade that reset the default boot in the firmware to Windows; it > >> didn't damage anything but did require that I go reset the UEFI default > >> to boot the Refind EFI loader instead of the Windows one. > > I do like that rEFInd knows about FreeBSD, and it's one of the "UEFI OS" > > entries that remains. But I'd prefer it if a "FreeBSD" entry was > > automatically created! > It is. > All I had to do was put the EFI loader in a directory under the UEFI > partition and Refind found it.  I didn't have to specifically tell it > that it was there. > The explicit "set" command (which I issued under Windows) is to tell the > firmware what the default is; you do it once on original installation of > Refind.  The Windows 10 feature update set it back to default to > Windows, which was quite annoying but not really a big deal.  One > command, once, from the Windows command line (same as the one to set it > in the first place) was all that was required. > The danger with tampering with where Windows 10 puts its EFI loader > (e.g. copying Refind there after moving it somewhere else) is that > Bitlocker may throw up on you if you do that.  In fact you do have to do > things in the right order or Bitlocker's default configuration (at least > on a TPM equipped machine) will have a hissy fit -- you cannot change > anything in the EFI partition after initializing Bitlocker, including > the Refind configuration file (this most-specifically applies to the > "wait for boot time"; I find the default obnoxiously long) so you have > to make that edit and put the other stuff in the UEFI partition (e.g. > FreeBSD's EFI loader and Refind) BEFORE turning Bitlocker on. > I've been running this way since 12.x showed up since 12.x can boot a > geli-encrypted system directly on my laptop.  Works nicely. This is scary (Bitlocker), sent me to Wikipedia to look up Bitlocker. Can you turn Bitlocker off after turning it on and get your system back? Now I am even more scared to ever get a computer with MS-Windows! One think on my mind is if I need a new motherboard, would it have the undesired Secure Boot? I guess I'd have to ask the seller and look on the motherboard manufacturer's website (MSI, ASRock, Asus, Gigabyte, or other). I have no Secure Boot now. I am trying to set up UEFI to boot my FreeBSD and NetBSD installations, and later, Linux. Tom From owner-freebsd-current@freebsd.org Sun Jun 23 02:56:13 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1E5C15C3075 for ; Sun, 23 Jun 2019 02:56:12 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (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 3BD476FF8F for ; Sun, 23 Jun 2019 02:56:11 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id B03E7211126 for ; Sat, 22 Jun 2019 22:56:09 -0400 (EDT) Received: from [192.168.10.18] (D8.Denninger.Net [192.168.10.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 2EE0F1DE08B for ; Sat, 22 Jun 2019 21:56:09 -0500 (CDT) Subject: Re: UEFI firmware and getting FreeBSD recognized by default: who to talk to? To: freebsd-current@freebsd.org References: <1e08badd-a963-7e4b-98a7-52a9d3bd77a8@bluestop.org> <87dee58e-66dc-ddf8-980b-a538875ae8b9@denninger.net> <20190623012022.5270E1DDDFE@denninger.net> From: Karl Denninger Openpgp: preference=signencrypt Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= mQINBFIX1zsBEADRcJfsQUl9oFeoMfLPJ1kql+3sIaYx0MfJAUhV9LnbWxr0fsWCskM1O4cV tHm5dqPkuPM4Ztc0jLotD1i9ubWvCHOlkLGxFOL+pFbjA+XZ7VKsC/xWmhMwJ3cM8HavK2OV SzEWQ/AEYtMi04IzGSwsxh/5/5R0mPHrsIomV5SbuiI0vjLuDj7fo6146AABI1ULzge4hBYW i/SHrqUrLORmUNBs6bxek79/B0Dzk5cIktD3LOfbT9EAa5J/osVkstMBhToJgQttaMIGv8SG CzpR/HwEokE+7DP+k2mLHnLj6H3kfugOF9pJH8Za4yFmw//s9cPXV8WwtZ2SKfVzn1unpKqf wmJ1PwJoom/d4fGvQDkgkGKRa6RGC6tPmXnqnx+YX4iCOdFfbP8L9rmk2sewDDVzHDU3I3ZZ 8hFIjMYM/QXXYszRatK0LCV0QPZuF7LCf4uQVKw1/oyJInsnH7+6a3c0h21x+CmSja9QJ+y0 yzgEN/nM89d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 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190623012022.5270E1DDDFE@denninger.net> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms060800050200000600000403" X-Rspamd-Queue-Id: 3BD476FF8F X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-5.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: px.denninger.net]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.62)[ip: (-9.86), ipnet: 104.236.64.0/18(-4.29), asn: 14061(1.12), country: US(-0.06)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:+]; DMARC_NA(0.00)[denninger.net]; R_SPF_NA(0.00)[] 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: Sun, 23 Jun 2019 02:56:13 -0000 This is a cryptographically signed message in MIME format. --------------ms060800050200000600000403 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 6/22/2019 20:16, Thomas Mueller wrote: > from Karl Denninger: > >> On 6/22/2019 14:05, Rebecca Cran wrote: >>> On 2019-06-22 12:59, Karl Denninger wrote: >>>> I use Refind for this sort of thing and it has (thus far!) survived >>>> upgrades.=C3=82=C2=A0 The only "gotcha" is that I had a Windows 10 "= Feature" >>>> upgrade that reset the default boot in the firmware to Windows; it >>>> didn't damage anything but did require that I go reset the UEFI defa= ult >>>> to boot the Refind EFI loader instead of the Windows one. >>> I do like that rEFInd knows about FreeBSD, and it's one of the "UEFI = OS" >>> entries that remains. But I'd prefer it if a "FreeBSD" entry was >>> automatically created! > =20 >> It is. =20 >> All I had to do was put the EFI loader in a directory under the UEFI >> partition and Refind found it.=C3=82=C2=A0 I didn't have to specifical= ly tell it >> that it was there. >> The explicit "set" command (which I issued under Windows) is to tell t= he >> firmware what the default is; you do it once on original installation = of >> Refind.=C3=82=C2=A0 The Windows 10 feature update set it back to defau= lt to >> Windows, which was quite annoying but not really a big deal.=C3=82=C2=A0= One =20 >> command, once, from the Windows command line (same as the one to set i= t >> in the first place) was all that was required. >> The danger with tampering with where Windows 10 puts its EFI loader >> (e.g. copying Refind there after moving it somewhere else) is that >> Bitlocker may throw up on you if you do that.=C3=82=C2=A0 In fact you = do have to do >> things in the right order or Bitlocker's default configuration (at lea= st >> on a TPM equipped machine) will have a hissy fit -- you cannot change >> anything in the EFI partition after initializing Bitlocker, including >> the Refind configuration file (this most-specifically applies to the >> "wait for boot time"; I find the default obnoxiously long) so you have= >> to make that edit and put the other stuff in the UEFI partition (e.g. >> FreeBSD's EFI loader and Refind) BEFORE turning Bitlocker on. > =20 >> I've been running this way since 12.x showed up since 12.x can boot a >> geli-encrypted system directly on my laptop.=C3=82=C2=A0 Works nicely.= > This is scary (Bitlocker), sent me to Wikipedia to look up Bitlocker. > > Can you turn Bitlocker off after turning it on and get your system back= ? You SHOULD (better have!) kept the recovery key.=C2=A0 If you have it, yo= u can boot with it.=C2=A0 Then turn it off and back on, and it will generat= e a new key. > Now I am even more scared to ever get a computer with MS-Windows! > > One think on my mind is if I need a new motherboard, would it have the = undesired Secure Boot? I guess I'd have to ask the seller and look on th= e motherboard manufacturer's website (MSI, ASRock, Asus, Gigabyte, or oth= er). > > I have no Secure Boot now. Probably.=C2=A0 But you can shut THAT off (and should) provided you wish = to dual boot.=C2=A0 The exception is ARM-based systems, many of which are secure-boot ONLY.=C2=A0 For Intel machines I've never run into one that c= an't have it turned off (and I'd return it immediately if I found one.) > I am trying to set up UEFI to boot my FreeBSD and NetBSD installations,= and later, Linux. > > Tom Easy.=C2=A0 Refind should do that and allow selection from a menu. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms060800050200000600000403 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBCwUAMIGL MQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UEBwwJTmljZXZpbGxlMRkw FwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExITAf BgNVBAMMGEN1ZGEgU3lzdGVtcyBMTEMgMjAxNyBDQTAeFw0xNzA4MTcxNjQyMTdaFw0yNzA4 MTUxNjQyMTdaMHsxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdGbG9yaWRhMRkwFwYDVQQKDBBD dWRhIFN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GA1UEAwwcQ3VkYSBTeXN0 ZW1zIExMQyAyMDE3IEludCBDQQITAKDRa9XB6SMYWI7rZJyQXB6nPTANBgkqhkiG9w0BAQEF AASCAgBUFDe4CwtkIyIR+vfMZihjvkdXXLcxiL1WwENDi15Ld3Qev/JgDP/TWaeShLxxCEV5 oN5WQoNsJ4qjoRBVp4UGt4xwD/2huFON1+JnGHiaGa/h7Xj9PgRh2/P5ztZE24CpjxB1xwOE ml6Ut0jnJHzZLw4V8AxLN7P2BATmBnDOZPFfL1Mul5+pJ9kMK9cu0x2xRbgjA1KYJK91zl5v hPTyXmhKmPAHzcXJUsBmuZoQ+X/AyB8c296X+ZHsQGEk+GSjVByWis0SrcG6CRMDZdET0/zL Dhwy8LVzsZXrMHlQ4eZzhVlpabDbCMduLA0ocAhSPo3xY2dksbIVXivzDoMmx1PiPIfNKQPp BYJA07264X3hUSxQEcyHCptTZlExHpdr4QqEgY2Hm6wGsuRr+fS0goa6kpSr2J0Gwz8wQ2PG ftpPbdAVUBdwgEc7Te5hFyT88WNwneiBXua1hxuhYYY6Y8Q9GRZqcs8G2vBzHb6+taQuvKVZ bt/cDkDggR8njNes5cvr/XYedWjk8Q8ARebagFzpLydIZwp0M+iyRgufa7HJn78weDeRb9WU hZPlVhuiv8XG87Ctb7fPiquO82rTz2BAKdJVwqafQ9w6tue6hrs2b8Xq+JW5OsmBkO8C0ZdZ Ia+TU3EydyZMH/BKzhnnxHaQ6XaqHQtKs5wTp0XTPQAAAAAAAA== --------------ms060800050200000600000403-- From owner-freebsd-current@freebsd.org Sun Jun 23 07:37:05 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C6D415C80AA for ; Sun, 23 Jun 2019 07:37:05 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.229]) (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 4398076FF5 for ; Sun, 23 Jun 2019 07:37:03 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.161.151]) by cmsmtp with ESMTP id ex3WhRxuUP088ex3YhNe49; Sun, 23 Jun 2019 07:36:56 +0000 Date: Sun, 23 Jun 2019 07:36:36 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: UEFI firmware and getting FreeBSD recognized by default: who to talk to? References: <1e08badd-a963-7e4b-98a7-52a9d3bd77a8@bluestop.org> <87dee58e-66dc-ddf8-980b-a538875ae8b9@denninger.net> <20190623012022.5270E1DDDFE@denninger.net> X-CMAE-Envelope: MS4wfOzEzlZy6mEKx/euSQZq/38jkqEn6c4vntHQqpplu7rbHbgbK90MlRrPhI1d37SHn75I+t7KNPTX2r71kcb0TnHVrwwyjEqupuni22ZmNmPUszktJWAq VZBTZEhYpXkCBaL5HU8N74eVpkGrn3UcCxeOP0l+pRrzR6tUvotdIrIm X-Rspamd-Queue-Id: 4398076FF5 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 107.14.73.229 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [5.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; FREEMAIL_FROM(0.00)[twc.com]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: dnvrco-cmedge02.email.rr.com]; NEURAL_HAM_SHORT(-0.67)[-0.667,0]; RECEIVED_SPAMHAUS_PBL(0.00)[151.161.28.96.zen.spamhaus.org : 127.0.0.10]; IP_SCORE(-1.26)[ipnet: 107.14.73.0/24(-3.46), asn: 7843(-2.77), country: US(-0.06)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.71)[-0.712,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_BAD_CTE_7BIT(3.50)[7bit]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; MISSING_MID(2.50)[]; NEURAL_SPAM_LONG(0.95)[0.948,0]; RCVD_IN_DNSWL_NONE(0.00)[229.73.14.107.list.dnswl.org : 127.0.5.0]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; 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, 23 Jun 2019 07:37:05 -0000 from Karl Denninger and my previous post: > > This is scary (Bitlocker), sent me to Wikipedia to look up Bitlocker. > > Can you turn Bitlocker off after turning it on and get your system back? > You SHOULD (better have!) kept the recovery key.  If you have it, you > can boot with it.  Then turn it off and back on, and it will generate a > new key. > > Now I am even more scared to ever get a computer with MS-Windows! > > One think on my mind is if I need a new motherboard, would it have the undesired Secure Boot? I guess I'd have to ask the seller and look on the motherboard manufacturer's website (MSI, ASRock, Asus, Gigabyte, or other). > > I have no Secure Boot now. > Probably.  But you can shut THAT off (and should) provided you wish to > dual boot.  The exception is ARM-based systems, many of which are > secure-boot ONLY.  For Intel machines I've never run into one that can't > have it turned off (and I'd return it immediately if I found one.) > > I am trying to set up UEFI to boot my FreeBSD and NetBSD installations, and later, Linux. > Tom > Easy.  Refind should do that and allow selection from a menu. Can one recover after losing the recovery key? I think I would want to avoid Bitlocker from the outset (malware!). I was thinking about AMD Ryzen if I need to replace motherboard. I would need a new CPU with any new motherboard, Intel or AMD-compatible, would also need new RAM (DDR4, I now have DDR3), and probaby a new case. But I would keep and transfer any hard drives that are still good. Can rEFInd find and boot FreeBSD, NetBSD, Haiku, etc? I don't see any refind, however partially capitalized, in FreeBSD base system or ports, or NetBSD base system or pkgsrc. I find efibootmgr now in FreeBSD, but not NetBSD, base system. I would want to label boot options with the partition label (like WD2G18, WD2G19, WD2G20, WD2G21, and others) so I can see on the boot menu. I also notice it is difficult to choose the root partition when booting UEFI. I could create a zero-byte or very small file in root directory with the partition label name, like /WD2G18 on partition WD2G18 just to show up with ls. Tom From owner-freebsd-current@freebsd.org Sun Jun 23 09:47:16 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0578015CB2CC for ; Sun, 23 Jun 2019 09:47:16 +0000 (UTC) (envelope-from kamisouckova@gmail.com) Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) (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 E580982D4D for ; Sun, 23 Jun 2019 09:47:14 +0000 (UTC) (envelope-from kamisouckova@gmail.com) Received: by mail-vk1-xa36.google.com with SMTP id 9so2210129vkw.4 for ; Sun, 23 Jun 2019 02:47:14 -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=X7mgMdEr8eDNhr5N+PWCkP8dgKpmFtD4YA8vbFXu6Cs=; b=LXG66niQ3ynYNhJMR6UP8P7wn4aw0SG/c1009Ne7jocNsBuoHBmjzTxpEkJKCfI8ds BnkeYAWdz9W4nNPaeHpiqetjqUDI8M7fAnQ3kLtCcbjdPe4KcL4l/7mjVfqxhKd4mbE8 wBWwXo0aMIa7Sx85ByEPM/IWdm2497YIO60XSaVHNG4Jw8eCLnjYhVYvxdCkK0MGffAD r2pnDBD1EB2z1N1L3cyM3afFj90aLkbPz3sFRl2VclAnJCiSE4Yzeqbhv9Jj+6Vn+C+g 3BjLQM1N+/EkOR0vZEnOLfZfvjvjytXq41tADASguGnevAHyPAuoBiZQqE8Im92eWW18 gF0w== 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=X7mgMdEr8eDNhr5N+PWCkP8dgKpmFtD4YA8vbFXu6Cs=; b=PH8aKSPovTY/HZ1bxooG6/iVnrHh9rW9Ku9oETOEs9PUJGvZF8Cyamuhcrp4Zet9a4 sHFIvbxMk5pnkMOafz2qnsjmTc2E4YG8Mb/KX4lgBkZJjPxCfpUbkLZ9QCPW8+9uZQIA 7mbADn0CNls4INUQ1Z0j1grK9RI6VMnQ6rXd+Cr2A6klWKKVoyoEJV9PzHoc3Wc69T0c Gl1H1qL5OyqnpFhAV3BOkTVMwO4NkpsE9RYAkSNNQlFH6cBBiGJfvNOJ3Ajfeb5CdSUJ RyCTAh1/7ItCKxW+Vjnu0AgJucyp9w3LJsJwLdeTBsVxhVXR6i9c7WuJvUrWzc1IjIV2 5CfQ== X-Gm-Message-State: APjAAAVgbW5B1HZ44odgXibIp94wVfXfkg70KSLaqdGld6hrKxdgxT2h rBmKEfL5gX4ohpWGzc1PUBx5TrLRZYFwUyfdF8Q= X-Google-Smtp-Source: APXvYqwFT+LcJdPkEhGROG0llnjozX48/QN6VvfSpZpYe19sHoyCEhxU9JvLBNUwTsxIcwIAPDnqSkynznbgTQ6D01I= X-Received: by 2002:a1f:8c7:: with SMTP id 190mr9931540vki.18.1561283233930; Sun, 23 Jun 2019 02:47:13 -0700 (PDT) MIME-Version: 1.0 References: <1e08badd-a963-7e4b-98a7-52a9d3bd77a8@bluestop.org> <87dee58e-66dc-ddf8-980b-a538875ae8b9@denninger.net> <20190623012022.5270E1DDDFE@denninger.net> <20190623074127.70D044C5BF@ksp.sk> In-Reply-To: <20190623074127.70D044C5BF@ksp.sk> From: =?UTF-8?B?S2FtaWxhIFNvdcSNa292w6E=?= Date: Sun, 23 Jun 2019 11:47:01 +0200 Message-ID: Subject: Re: UEFI firmware and getting FreeBSD recognized by default: who to talk to? To: Thomas Mueller Cc: freebsd-current@freebsd.org X-Rspamd-Queue-Id: E580982D4D X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LXG66niQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kamisouckova@gmail.com designates 2607:f8b0:4864:20::a36 as permitted sender) smtp.mailfrom=kamisouckova@gmail.com X-Spamd-Result: default: False [-5.98 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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]; FREEMAIL_TO(0.00)[twc.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-3.03)[ip: (-9.65), ipnet: 2607:f8b0::/32(-3.14), asn: 15169(-2.33), country: US(-0.06)]; 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)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.93)[-0.934,0]; 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)[6.3.a.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)[]; RCVD_COUNT_TWO(0.00)[2]; SUBJECT_ENDS_QUESTION(1.00)[] X-Mailman-Approved-At: Sun, 23 Jun 2019 10:09:38 +0000 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: Sun, 23 Jun 2019 09:47:16 -0000 On Sun, 23 Jun 2019, 09:41 Thomas Mueller, wrote: > Can rEFInd find and boot FreeBSD, NetBSD, Haiku, etc? > > I don't see any refind, however partially capitalized, in FreeBSD base > system or ports, or NetBSD base system or pkgsrc. I find efibootmgr now in > FreeBSD, but not NetBSD, base system. > > I would want to label boot options with the partition label. > rEFInd auto-detects FreeBSD and a bunch of other systems, can set custom labels, and generally works well. It is not in ports (and it wouldn't make much sense to have it as a port), you need to install it manually according to the procedure on its website (no link, as I'm on phone, but search engines find it). Best, Kamila From owner-freebsd-current@freebsd.org Sun Jun 23 12:15:56 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28F9015CF686 for ; Sun, 23 Jun 2019 12:15:56 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (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 BCDE78887A for ; Sun, 23 Jun 2019 12:15:54 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 45Wrx40dpZz3klc; Sun, 23 Jun 2019 12:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1561292150; bh=Wk+HauR/MFNqVhjDaENQqee3 1mfWlmGyDZfSlyyFRHM=; b=gZ6YZ6jR29TsmlGFBoj+ddk/vDoRGedCjRfSuY8f HPecwLT1BeeufbknYIkndXROYhwhRFZfMTlLMSSGC3E5vyvkYS1/p4Kt16PXTRgs CjV/nEtmnnvikd3yzw2FxgYhFLyxsGJ8Mg1AGn+EFl2WR3smwf+DGY2PYpJIL4sS Afk= 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 3lHccE3LYpTc; Sun, 23 Jun 2019 12:15:50 +0000 (UTC) Received: from tina.daemonic.se (unknown [IPv6:2001:470:dca9:201:9e4e:36ff:feb3:a288]) by mail.daemonic.se (Postfix) with ESMTPSA id 45Wrx254Q8z3c7W; Sun, 23 Jun 2019 12:15:50 +0000 (UTC) Subject: Re: UEFI firmware and getting FreeBSD recognized by default: who to talk to? To: Karl Denninger , freebsd-current@freebsd.org References: <1e08badd-a963-7e4b-98a7-52a9d3bd77a8@bluestop.org> <87dee58e-66dc-ddf8-980b-a538875ae8b9@denninger.net> <20190623012022.5270E1DDDFE@denninger.net> From: Niclas Zeising Message-ID: Date: Sun, 23 Jun 2019 14:15:50 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: BCDE78887A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=gZ6YZ6jR; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 2607:f740:d:20::25 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-6.70 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.daemonic.se]; DKIM_TRACE(0.00)[daemonic.se:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; IP_SCORE(-3.69)[ip: (-9.69), ipnet: 2607:f740:d::/48(-4.84), asn: 36236(-3.88), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US]; TAGGED_FROM(0.00)[freebsd]; 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: Sun, 23 Jun 2019 12:15:56 -0000 On 2019-06-23 04:56, Karl Denninger wrote: > On 6/22/2019 20:16, Thomas Mueller wrote: >> I am trying to set up UEFI to boot my FreeBSD and NetBSD installations= , and later, Linux. >=20 > Easy.=C2=A0 Refind should do that and allow selection from a menu. >=20 I wrote this as an instruction on how to get FreeBSD and Windows=20 dual-booting using rEFInd. You can probably adapt that to get going=20 with other OSes as well. https://gist.github.com/zeising/5d2402d92b4cf421c7402d663b2d9e41 I hope it is of some value. Regards --=20 Niclas From owner-freebsd-current@freebsd.org Sun Jun 23 13:52:46 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5A9A15D1C43 for ; Sun, 23 Jun 2019 13:52:45 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (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 C3A268C45C for ; Sun, 23 Jun 2019 13:52:44 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id A6CB821109A for ; Sun, 23 Jun 2019 09:52:43 -0400 (EDT) Received: from [192.168.10.18] (D8.Denninger.Net [192.168.10.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 0D77F1DF033 for ; Sun, 23 Jun 2019 08:52:43 -0500 (CDT) Subject: Re: UEFI firmware and getting FreeBSD recognized by default: who to talk to? To: freebsd-current@freebsd.org References: <1e08badd-a963-7e4b-98a7-52a9d3bd77a8@bluestop.org> <87dee58e-66dc-ddf8-980b-a538875ae8b9@denninger.net> <20190623012022.5270E1DDDFE@denninger.net> <20190623073801.8A4EC1DE777@denninger.net> From: Karl Denninger Openpgp: preference=signencrypt Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= mQINBFIX1zsBEADRcJfsQUl9oFeoMfLPJ1kql+3sIaYx0MfJAUhV9LnbWxr0fsWCskM1O4cV tHm5dqPkuPM4Ztc0jLotD1i9ubWvCHOlkLGxFOL+pFbjA+XZ7VKsC/xWmhMwJ3cM8HavK2OV SzEWQ/AEYtMi04IzGSwsxh/5/5R0mPHrsIomV5SbuiI0vjLuDj7fo6146AABI1ULzge4hBYW i/SHrqUrLORmUNBs6bxek79/B0Dzk5cIktD3LOfbT9EAa5J/osVkstMBhToJgQttaMIGv8SG CzpR/HwEokE+7DP+k2mLHnLj6H3kfugOF9pJH8Za4yFmw//s9cPXV8WwtZ2SKfVzn1unpKqf wmJ1PwJoom/d4fGvQDkgkGKRa6RGC6tPmXnqnx+YX4iCOdFfbP8L9rmk2sewDDVzHDU3I3ZZ 8hFIjMYM/QXXYszRatK0LCV0QPZuF7LCf4uQVKw1/oyJInsnH7+6a3c0h21x+CmSja9QJ+y0 yzgEN/nM89d6YTakfR+1xkYgodVmMy/bS8kmXbUUZG/CyeqCqc95RUySjKT2ECrf9GhhoQkl +D8n2MsrAUSMGB4GQSN+TIq9OBTpNuvATGSRuF9wnQcs1iSry+JNCpfRTyWp83uCNApe6oHU EET4Et6KDO3AvjvBMAX0TInTRGW2SQlJMuFKpc7Dg7tHK8zzqQARAQABtCNLYXJsIERlbm5p bmdlciA8a2FybEBkZW5uaW5nZXIubmV0PokCPAQTAQIAJgUCUhfXOwIbIwUJCWYBgAYLCQgH AwIEFQIIAwQWAgMBAh4BAheAAAoJEG6/sivc5s0PLxQP/i6x/QFx9G4Cw7C+LthhLXIm7NSH AtNbz2UjySEx2qkoQQjtsK6mcpEEaky4ky6t8gz0/SifIfJmSmyAx0UhUQ0WBv1vAXwtNrQQ jJd9Bj6l4c2083WaXyHPjt2u2Na6YFowyb4SaQb83hu/Zs25vkPQYJVVE0JX409MFVPUa6E3 zFbd1OTr3T4yNUy4gNeQZfzDqDS8slbIks2sXeoJrZ6qqXVI0ionoivOlaN4T6Q0UYyXtigj dQvvhMt0aNowKFjRqrmSDRpdz+o6yg7Mp7qEZ1V6EZk8KqQTH6htpCTQ8i79ttK4LG6bstSF Re6Fwq52nbrcANrcdmtZXqjo+SGbUqJ8b1ggrxAsJ5MEhRh2peKrCgI/TjQo+ZxfnqEoR4AI 46Cyiz+/lcVvlvmf2iPifS3EEdaH3Itfwt7MxFm6mQORYs6skHDw3tOYB2/AdCW6eRVYs2hB RMAG4uwApZfZDKgRoE95PJmQjeTBiGmRPcsQZtNESe7I7EjHtCDLwtJqvD4HkDDQwpzreT6W XkyIJ7ns7zDfA1E+AQhFR6rsTFGgQZRZKsVeov3SbhYKkCnVDCvb/PKQCAGkSZM9SvYG5Yax 8CMry3AefKktf9fqBFg8pWqtVxDwJr56dhi0GHXRu3jVI995rMGo1fLUG5fSxiZ8L5sAtokh 9WFmQpyl Message-ID: <552a8d6e-73fa-e311-f16d-e56c6c0c2937@denninger.net> Date: Sun, 23 Jun 2019 08:52:42 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190623073801.8A4EC1DE777@denninger.net> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms020906000009030900030607" X-Rspamd-Queue-Id: C3A268C45C X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-5.76 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: px.denninger.net]; NEURAL_HAM_SHORT(-0.93)[-0.933,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.62)[ip: (-9.85), ipnet: 104.236.64.0/18(-4.29), asn: 14061(1.12), country: US(-0.06)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:+]; DMARC_NA(0.00)[denninger.net]; R_SPF_NA(0.00)[] 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: Sun, 23 Jun 2019 13:52:46 -0000 This is a cryptographically signed message in MIME format. --------------ms020906000009030900030607 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 6/23/2019 02:36, Thomas Mueller wrote: > from Karl Denninger and my previous post: > >>> This is scary (Bitlocker), sent me to Wikipedia to look up Bitlocker.= >>> >>> Can you turn Bitlocker off after turning it on and get your system ba= ck? >> You SHOULD (better have!) kept the recovery key.=C3=82=C2=A0 If you ha= ve it, you >> can boot with it.=C3=82=C2=A0 Then turn it off and back on, and it wil= l generate a >> new key. >>> Now I am even more scared to ever get a computer with MS-Windows!=20 Bitlocker is optional and in fact defaults off. >>> One think on my mind is if I need a new motherboard, would it have th= e undesired Secure Boot? I guess I'd have to ask the seller and look on = the motherboard manufacturer's website (MSI, ASRock, Asus, Gigabyte, or o= ther).=20 >>> I have no Secure Boot now. >> Probably.=C3=82=C2=A0 But you can shut THAT off (and should) provided = you wish to >> dual boot.=C3=82=C2=A0 The exception is ARM-based systems, many of whi= ch are >> secure-boot ONLY.=C3=82=C2=A0 For Intel machines I've never run into o= ne that can't >> have it turned off (and I'd return it immediately if I found one.) >>> I am trying to set up UEFI to boot my FreeBSD and NetBSD installation= s, and later, Linux. >>> >> Tom >> >> Easy.=C3=82=C2=A0 Refind should do that and allow selection from a men= u. > Can one recover after losing the recovery key? I think I would want to= avoid Bitlocker from the outset (malware!). No.=C2=A0 You can't recover in FreeBSD if you lose the Geli key either.=C2= =A0 That's the entire point of disk encryption; no key, no data.=C2=A0 End of= discussion.=C2=A0 Bitlocker has TWO keys (one normal one, which can eithe= r be TPM-only if you have one in the machine or TPM + PIN, or, if there is no TPM, a password) and a recovery key which is a very long set of octal digit groups.=C2=A0 It will insist you save that recovery key somewhere N= OT on the encrypted volume (e.g. to a USB key, to a network drive, printed, etc) during setup.=C2=A0 It also (stupidly, in my opinion) allows you to = save it to your "Microsoft account" which is IMHO exactly identical to giving it to Microsoft, the NSA, and probably China's Communist Party too.=C2=A0= I recommended against that option, obviously. Geli has two key slots too, and you can set both, and allows a "randomization source" (e.g. key file), that plus a password, or just a password.=C2=A0 But if, in any encrypted disk environment, you lose the k= eys for any reason you're screwed -- I hope you have backups! :)=C2=A0 Geli b= y default only sets one key; the other has to be set manually. Oh, Geli also has a "duress" command (I don't know of one for Bitlocker) that instantly destroys the key blocks on the disk.=C2=A0 If you use that= then it's bye-bye even WITH the key unless you have backed them up to some sort of other media (it does save the key blocks off during initialization so you *can* back them up.) It would be rather pointless to call a disk "encrypted" if, absent the authentication means, you could manage to get into it. > I was thinking about AMD Ryzen if I need to replace motherboard. I wou= ld need a new CPU with any new motherboard, Intel or AMD-compatible, woul= d also need new RAM (DDR4, I now have DDR3), and probaby a new case. > > But I would keep and transfer any hard drives that are still good. > > Can rEFInd find and boot FreeBSD, NetBSD, Haiku, etc? Yes. > I don't see any refind, however partially capitalized, in FreeBSD base = system or ports, or NetBSD base system or pkgsrc. I find efibootmgr now = in FreeBSD, but not NetBSD, base system. It's not a port or package; the software is not in any way FreeBSD-specific. > I would want to label boot options with the partition label (like WD2G1= 8, WD2G19, WD2G20, WD2G21, and others) so I can see on the boot menu. Refind automatically figures it out -- it "knows" what FreeBSD and Windows are, for example. > I also notice it is difficult to choose the root partition when booting= UEFI. I could create a zero-byte or very small file in root directory w= ith the partition label name, like /WD2G18 on partition WD2G18 just to sh= ow up with ls. > > Tom That's a function of the actual EFI loader in question for the specific OS and is beyond the scope of UEFI itself. In point of fact UEFI BIOS implementations are *supposed* to implement a reasonable "boot manager" option to select from whatever various UEFI loaders are installed on the machine.=C2=A0 In actual practice most of th= em I've run into on various motherboards bite big ones and either their alleged "manager" is worthless or nearly so; thus tools like Refind. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms020906000009030900030607 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBCwUAMIGL MQswCQYDVQQGE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myVmp/unSzz/QAAAAAAAA== --------------ms020906000009030900030607-- From owner-freebsd-current@freebsd.org Sun Jun 23 20:55:16 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B040B15DA65B for ; Sun, 23 Jun 2019 20:55:16 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.229]) (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 DECE06F082 for ; Sun, 23 Jun 2019 20:55:13 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.161.151]) by cmsmtp with ESMTP id f9W1hckIFP088f9W4hTB2Z; Sun, 23 Jun 2019 20:55:12 +0000 Date: Sun, 23 Jun 2019 20:54:48 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: UEFI firmware and getting FreeBSD recognized by default: who to talk to? References: <1e08badd-a963-7e4b-98a7-52a9d3bd77a8@bluestop.org> <87dee58e-66dc-ddf8-980b-a538875ae8b9@denninger.net> <20190623012022.5270E1DDDFE@denninger.net> X-CMAE-Envelope: MS4wfF1/h1kVP5dk9iH6IVVw1emps4bCFwFlBaqSeBGQpZ6Z0ua+FSVUli4AbgRlKg/DGzKCA6V8rVtpV92qW2yvWK4TX2ZFdRDG2sCk28IVwJBmtOMoPgB4 3mylzkPJWlWssfVlYp3SYm7hJB3CEeV6XWKK/ZnRp9jUhGUOF4JM2EYy X-Rspamd-Queue-Id: DECE06F082 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 107.14.73.229 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [2.37 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; FREEMAIL_FROM(0.00)[twc.com]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[dnvrco-cmedge02.email.rr.com,dnvrco-cmedge01.email.rr.com]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; RECEIVED_SPAMHAUS_PBL(0.00)[151.161.28.96.zen.spamhaus.org : 127.0.0.10]; IP_SCORE(-2.57)[ip: (-6.63), ipnet: 107.14.73.0/24(-3.42), asn: 7843(-2.74), country: US(-0.06)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_BAD_CTE_7BIT(3.50)[7bit]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; MISSING_MID(2.50)[]; NEURAL_SPAM_LONG(0.22)[0.217,0]; RCVD_IN_DNSWL_NONE(0.00)[229.73.14.107.list.dnswl.org : 127.0.5.0]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; 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, 23 Jun 2019 20:55:16 -0000 from Niclas Zeising and my previous post: > > On 6/22/2019 20:16, Thomas Mueller wrote: > > > I am trying to set up UEFI to boot my FreeBSD and NetBSD installations, and later, Linux. > > Easy.  Refind should do that and allow selection from a menu. > I wrote this as an instruction on how to get FreeBSD and Windows dual-booting > using rEFInd. You can probably adapt that to get going with other OSes as well. > https://gist.github.com/zeising/5d2402d92b4cf421c7402d663b2d9e41 > I hope it is of some value. I can use efibootmgr from FreeBSD 12-STABLE or HEAD, or possibly bcfg in the built-in UEFI shell. I notice the close relation between what efibootmgr shows and what I see on the boot menu. UEFI shell is not user-friendly, but I am slowly learning new things. Severe thunderstorm is now threatening this area, I hear the winds increasing. Tom From owner-freebsd-current@freebsd.org Mon Jun 24 06:49:29 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D538615C48D3; Mon, 24 Jun 2019 06:49:28 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C823F88C56; Mon, 24 Jun 2019 06:49:27 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id x5O6nHBG089316 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Jun 2019 16:49:23 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id x5O6nCMq088866 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 24 Jun 2019 16:49:12 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id x5O6nCN6088865; Mon, 24 Jun 2019 16:49:12 +1000 (AEST) (envelope-from peter) Date: Mon, 24 Jun 2019 16:49:12 +1000 From: Peter Jeremy To: freebsd-current@freebsd.org, freebsd-arm@freebsd.org Subject: Re: "panic: Duplicate alloc" in dwmmc_attach on Rock64 Message-ID: <20190624064912.GB87860@server.rulingia.com> References: <20190621105939.GA23668@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ" Content-Disposition: inline In-Reply-To: <20190621105939.GA23668@server.rulingia.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.12.0 (2019-05-25) 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, 24 Jun 2019 06:49:29 -0000 --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-Jun-21 20:59:39 +1000, Peter Jeremy wro= te: >Since r349169, my Rock64 has consistently panic'd whilst attaching >rockchip_dwmmc1. A kernel built at r349135 works OK. The relevant >output looks like: >rockchip_dwmmc0: mem 0xff500000-0xff503fff irq 40 on ofwbus0 >rockchip_dwmmc0: Hardware version ID is 270a >mmc0: on rockchip_dwmmc0 >rockchip_dwmmc1: mem 0xff520000-0xff523fff irq 42 on ofwbus0 >rockchip_dwmmc1: Hardware version ID is 270a >panic: Duplicate alloc of 0xfffffd000089cf50 from zone 0xfffffd0000817540(= 16) slab 0xfffffd000089cf90(0) I did some more digging and narrowed this down to r349151 (which has nothing that would be an obvious cause). And the problem went away somewhere between r349269 and r349288. Since there's nothing obvious there either, I presume this is something more subtle like a race condition that has been provoked by the code changes. --=20 Peter Jeremy --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl0Qcl5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzT+Bg/8CFlGdF3U75SmmSrQ4hNUkocsEkCM08tdDRnQO4zvvVXIqNL2MhhMpJ4c tk30+vyle5M4+tPW+zx4KOgAkjGHsoqAiv9F9Ke7kScJ5kJHaSBpNcb3Kw6Il3D7 kFGp35oPLu23lb9LHlX0m39ipEAX0R4Y5mKO8CJpS+r50QubOyvf06yLh+q3MJl1 jUAc4zH0MgQ9o7PCVsvaBEVj6MwpDc3R8ie6ltsayotESxMwdoAVnb9D09jAGOU+ wxQQsw66wbyFRU7q8fpVA7chihweQUAtaDzYjZtsJBkEBlCKp47ad3OnQuSSJI10 yBpRA9+lTyYtakk8yOPkuIqtRa9et1Smtlm0pcytV7pYjQ0drzGF4vXqvmGsSE2s de7a2hvcuts3zkB7mKTZvEZQ0bLdyPZxdxUJOhZIR3VP+IPyWzwEID3YEZJo5iDw YIdcOhmbAuzq3v+BZmbK/fUDzWukA4aTM5cWHKT+HjbC193tu2tJ/Ae8DY/YUvaM Mo33iqAo6TK1k4uP/Jqq/cDw6hnNG863wXWMH9cl68QfcDEpPc0LgGq8Ghcxhzoq rYeAFE71PhYSORd3JZkzs8CL/+Irf3QzUnVx7ceUQXs33xIyW6giLkFDzyWMGWR/ KYgDD6bepMHfdTF57MiKfg/+IyuIYGnnJPI/5kZdr9cHhJymXvM= =uJRz -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ-- From owner-freebsd-current@freebsd.org Mon Jun 24 14:46:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBBBB15CF990; Mon, 24 Jun 2019 14:46:20 +0000 (UTC) (envelope-from ap@sndbro.ru) Received: from mail.telecomgroup.ru (mail.telecomgroup.ru [195.178.201.78]) by mx1.freebsd.org (Postfix) with ESMTP id 488A4711C3; Mon, 24 Jun 2019 14:46:18 +0000 (UTC) (envelope-from ap@sndbro.ru) Received: from workhorse (unknown [10.0.0.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.telecomgroup.ru (Postfix) with ESMTPSA id 699B0D02F0A; Mon, 24 Jun 2019 17:46:04 +0300 (MSK) Date: Mon, 24 Jun 2019 17:44:32 +0300 From: =?KOI8-R?Q?=E1=CC=C5=CB=D3=C5=CA_=F0=C1=CC=C0=D4=C9=CE?= To: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: New driver for ESI Juli@ soundcard (copied from freebsd-drivers) Message-Id: <20190624174432.1cdae0b7d672b6e17d2804a2@sndbro.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.101.2 at mail.telecomgroup.ru X-Virus-Status: Clean X-Rspamd-Queue-Id: 488A4711C3 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.17 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sndbro.ru]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.07)[0.071,0]; IP_SCORE(0.00)[country: RU(0.01)]; NEURAL_SPAM_SHORT(0.86)[0.857,0]; MX_GOOD(-0.01)[mail.telecomgroup.ru]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.75)[0.748,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5429, ipnet:195.178.192.0/19, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Mon, 24 Jun 2019 15:01: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: Mon, 24 Jun 2019 14:46:20 -0000 Good day everyone! I was advised to copy this message here from freebsd-drivers@. Hope this will be useful. --- I want to share with the community a new driver for ESI Juli@ PCI soundcard. FreeBSD already offers support for such card, but this support is very limited and device is almost unusable. Since I like high-quality audio hardware (like Juli@ cards), time was spent writing a new, full-featured driver for it. The proposed driver supports playback, recording, MIDI, pass-through channel, clock control, ACPI... Also, the driver can be controlled with convenient GUI control panel, as through sysctl(8). I hope this work was done for a reason and will be useful to someone else. I have been using this driver successfully for some time, but there may be bugs, so more testing is required. It would be great if there were those who wanted to download, test it, and share results. Driver page: https://sndbro.ru/soft/snd_juliet?lang=en Control panel page: https://sndbro.ru/soft/mixate-juliet?lang=en From owner-freebsd-current@freebsd.org Mon Jun 24 18:32:02 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98EDD15D5D3D; Mon, 24 Jun 2019 18:32:02 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F6CE82784; Mon, 24 Jun 2019 18:32:02 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from ler-imac.local (unknown [IPv6:2600:1700:210:b180:4c24:fd26:d30c:ae75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: ler/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DDEB9942C; Mon, 24 Jun 2019 18:32:01 +0000 (UTC) (envelope-from ler@FreeBSD.org) Date: Mon, 24 Jun 2019 13:32:00 -0500 From: Larry Rosenman To: "freebsd-current@freebsd.org" Cc: freebsd-net@FreeBSD.org Subject: ng_snd_item: Panic? Message-ID: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> Mail-Followup-To: "freebsd-current@freebsd.org" , freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gcaxozx2unc7yqgi" Content-Disposition: inline User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 3F6CE82784 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; 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: Mon, 24 Jun 2019 18:32:02 -0000 --gcaxozx2unc7yqgi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Got 2 of these today, and I have cores.... Ideas? r349200. borg.lerctr.org dumped core - see /var/crash/vmcore.10 Mon Jun 24 08:36:45 CDT 2019 FreeBSD borg.lerctr.org 13.0-CURRENT FreeBSD 13.0-CURRENT r349200 LER-MINIM= AL amd64 panic: ng_snd_item: 42 !=3D 1414 GNU gdb (GDB) 8.3 [GDB v8.3 for FreeBSD] Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd13.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: panic: ng_snd_item: 42 !=3D 1414 cpuid =3D 10 time =3D 1561382494 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe012628d= 400 vpanic() at vpanic+0x19d/frame 0xfffffe012628d450 panic() at panic+0x43/frame 0xfffffe012628d4b0 ng_snd_item() at ng_snd_item+0x477/frame 0xfffffe012628d4f0 ng_ether_output() at ng_ether_output+0x5e/frame 0xfffffe012628d520 ether_output() at ether_output+0x473/frame 0xfffffe012628d5c0 arpintr() at arpintr+0xfe3/frame 0xfffffe012628d780 netisr_dispatch_src() at netisr_dispatch_src+0x89/frame 0xfffffe012628d7f0 ether_demux() at ether_demux+0x137/frame 0xfffffe012628d820 ng_ether_rcv_upper() at ng_ether_rcv_upper+0x95/frame 0xfffffe012628d840 ng_apply_item() at ng_apply_item+0xf1/frame 0xfffffe012628d8c0 ng_snd_item() at ng_snd_item+0x2ab/frame 0xfffffe012628d900 ng_apply_item() at ng_apply_item+0xf1/frame 0xfffffe012628d980 ng_snd_item() at ng_snd_item+0x2ab/frame 0xfffffe012628d9c0 ng_ether_input() at ng_ether_input+0x4c/frame 0xfffffe012628d9f0 ether_nh_input() at ether_nh_input+0x2cd/frame 0xfffffe012628da40 netisr_dispatch_src() at netisr_dispatch_src+0x89/frame 0xfffffe012628dab0 ether_input() at ether_input+0x48/frame 0xfffffe012628dad0 bce_intr() at bce_intr+0x697/frame 0xfffffe012628db50 ithread_loop() at ithread_loop+0x187/frame 0xfffffe012628dbb0 fork_exit() at fork_exit+0x84/frame 0xfffffe012628dbf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe012628dbf0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- Uptime: 4d18h45m34s Dumping 24921 out of 131026 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%= =2E.91% __curthread () at /usr/src/sys/amd64/include/pcpu.h:246 246 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (OFFSETOF_CURTHREAD)); (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu.h:246 #1 doadump (textdump=3D1) at /usr/src/sys/kern/kern_shutdown.c:392 #2 0xffffffff804b41e0 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:479 #3 0xffffffff804b4659 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:905 #4 0xffffffff804b4393 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:832 #5 0xffffffff828ee5b7 in ng_snd_item (item=3D0xfffff8021e3b4d80, flags=3D0) at /usr/src/sys/netgraph/ng_base.c:2252 #6 0xffffffff82900c2e in ng_ether_output (ifp=3D,=20 mp=3D0xfffffe012628d578) at /usr/src/sys/netgraph/ng_ether.c:294 #7 0xffffffff805b1e43 in ether_output (ifp=3D,=20 m=3D0xfffff81f59eefb00, dst=3D0xfffffe012628d740, ro=3D) at /usr/src/sys/net/if_ethersubr.c:430 #8 0xffffffff805cb3e3 in in_arpinput (m=3D) at /usr/src/sys/netinet/if_ether.c:1152 #9 arpintr (m=3D0xfffff81f59eefb00) at /usr/src/sys/netinet/if_ether.c:749 #10 0xffffffff805bcf89 in netisr_dispatch_src (proto=3D4,=20 source=3D, m=3D) at /usr/src/sys/net/netisr= =2Ec:1123 #11 0xffffffff805b22d7 in ether_demux (ifp=3D0xfffff8012c902000,=20 m=3D) at /usr/src/sys/net/if_ethersubr.c:913 #12 0xffffffff82901045 in ng_ether_rcv_upper (hook=3D,=20 item=3D) at /usr/src/sys/netgraph/ng_ether.c:741 #13 0xffffffff828ee6e1 in ng_apply_item (node=3D0xfffff81054f43400,=20 item=3D0xfffff8021e3b4d80, rw=3D0) at /usr/src/sys/netgraph/ng_base.c:2= 403 #14 0xffffffff828ee3eb in ng_snd_item (item=3D0xfffff8021e3b4d80, flags=3D0) at /usr/src/sys/netgraph/ng_base.c:2320 #15 0xffffffff828ee6e1 in ng_apply_item (node=3D0xfffff8012c2d3e00,=20 item=3D0xfffff8021e3b4d80, rw=3D0) at /usr/src/sys/netgraph/ng_base.c:2= 403 #16 0xffffffff828ee3eb in ng_snd_item (item=3D0xfffff8021e3b4d80, flags=3D0) at /usr/src/sys/netgraph/ng_base.c:2320 #17 0xffffffff82900cbc in ng_ether_input (ifp=3D,=20 mp=3D0xfffffe012628da18) at /usr/src/sys/netgraph/ng_ether.c:255 #18 0xffffffff805b34fd in ether_input_internal (ifp=3D0xfffff8012c902000,= =20 m=3D0xfffff81f59eefb00) at /usr/src/sys/net/if_ethersubr.c:654 #19 ether_nh_input (m=3D) at /usr/src/sys/net/if_ethersubr.c= :735 #20 0xffffffff805bcf89 in netisr_dispatch_src (proto=3D5,=20 source=3D, m=3D) at /usr/src/sys/net/netisr= =2Ec:1123 #21 0xffffffff805b26f8 in ether_input (ifp=3D0xfffff8012c902000, m=3D0x0) at /usr/src/sys/net/if_ethersubr.c:823 #22 0xffffffff8273c7f7 in bce_rx_intr (sc=3D) at /usr/src/sys/dev/bce/if_bce.c:6848 #23 bce_intr (xsc=3D0xfffffe01665c2000) at /usr/src/sys/dev/bce/if_bce.c:80= 17 #24 0xffffffff8047e0e7 in intr_event_execute_handlers (p=3D,= =20 ie=3D) at /usr/src/sys/kern/kern_intr.c:1148 #25 ithread_execute_handlers (p=3D, ie=3D) at /usr/src/sys/kern/kern_intr.c:1161 #26 ithread_loop (arg=3D) at /usr/src/sys/kern/kern_intr.c:1= 241 #27 0xffffffff8047ac74 in fork_exit ( callout=3D0xffffffff8047df60 , arg=3D0xfffff8012c883100,= =20 frame=3D0xfffffe012628dc00) at /usr/src/sys/kern/kern_fork.c:1056 #28 (kgdb)=20 --=20 Larry Rosenman https://people.FreeBSD.org/~ler/ Phone: +1 214-642-9640 E-Mail: ler@FreeBSD.org US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 --gcaxozx2unc7yqgi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHBBAABCgCrFiEEHjgknedhWzvJgwVzaXyZsatIp30FAl0RFyAtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3JnbGVyQEZyZWVCU0Qub3JnXxSAAAAAAC4AKGlz c3Vlci1mcHJAbm90YXRpb25zLm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxRTM4 MjQ5REU3NjE1QjNCQzk4MzA1NzM2OTdDOTlCMUFCNDhBNzdEAAoJEGl8mbGrSKd9 PgUH/0GaHIrfcg0OHFey8JC/dZXpR4Zi1L9HErhGrMDf7fWzAuhcpSS0EgKr97X+ ClpCCqZaef8DD8A3R4Ptuw/aASe6UT0AHCuufeCWEctKWIcijh898yybkj4nDkGk 8L6f++8mneWgImNbsDus5dKfNUloyrVZPNkMYbiMvM6t7kxgRDuNEGgkOrsl1dTV PUXfkAO+60ILoAufQBQJH25KLhRN+4SJbd8W1ECMvu5ouvFvmQp46MlWRVIa2FQl tQ1jm0PLGiQguEbvWPd4xQD7Q7t6PWuEeY8hhWo9rrqW7epSvo6zXj+uB9s8bDTJ 5yg79gXPJrbDpGAXyhJGvOPNAfE= =2HZZ -----END PGP SIGNATURE----- --gcaxozx2unc7yqgi-- From owner-freebsd-current@freebsd.org Mon Jun 24 20:01:27 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DC2A15D7C0A; Mon, 24 Jun 2019 20:01:27 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) (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 8280385E43; Mon, 24 Jun 2019 20:01:23 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback13g.mail.yandex.net (mxback13g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:92]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 1E5CB4D411C8; Mon, 24 Jun 2019 23:01:15 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback13g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id DdDjq1FlEH-1E7Kf5xs; Mon, 24 Jun 2019 23:01:15 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1561406475; bh=9TLcODuoPjBkyrRUY+Es1r9o8VAwBPPlPDcBYrgl3/Y=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=a84Hp/GAq9M6hNRyAsuAnJhcVJGKN9j+zA/o4+u2sTrvY9JWbi0LhKpz1gZhPvZnb WsEqtT/vbdfsnXDbiPX82DnQVFbGjY6K0pXrEeavB6J1AF5EjRHmeDY7p72h0Me6Vm 0pLrcd8FKT1fmVOaVgHXv6fwT2kao3OjyVSNNHPw= Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id h5li9zDiEN-1Ei0WYeh; Mon, 24 Jun 2019 23:01:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Subject: Re: ng_snd_item: Panic? To: "freebsd-current@freebsd.org" , freebsd-net@FreeBSD.org References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> From: "Andrey V. Elsukov" Openpgp: preference=signencrypt Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= mQENBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAG0JUFuZHJleSBWLiBFbHN1a292IDxidTdjaGVyQHlhbmRleC5ydT6JATgEEwECACIFAkwB F1kCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEAHF6gQQyKF6qmYIAI6ekfm1VA4T vqankI1ISE6ku4jV7UlpIQlEbE7/8n3Zd6teJ+pGOQhN5qk8QE7utdPdbktAzi+x7LIJVzUw 4TywZLXGrkP7VKYkfg6oyCGyzITghefQeJtr2TN4hYCkzPWpylkue8MtmqfZv/6royqwTbN+ +E09FQNvTgRUYJYTeQ1qOsxNRycwvw3dr2rOfuxShbzaHBB1pBIjGrMg8fC5pd65ACH5zuFV A0CoTNGMDrEZSfBkTW604UUHFFXeCoC3dwDZRKOWJ3GmMXns65Ai5YkA63BSHEE1Qle3VBhd cG1w0CB5FBV3pB27UVnf0jEbysrDqW4qN7XMRFSWNAy5AQ0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAYkBHwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: Date: Mon, 24 Jun 2019 23:01:07 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UTKnhMvwuBEUCggdqxEeeAsYT7ZHhXOTY" X-Rspamd-Queue-Id: 8280385E43 X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=a84Hp/GA; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of bu7cher@yandex.ru designates 77.88.28.108 as permitted sender) smtp.mailfrom=bu7cher@yandex.ru X-Spamd-Result: default: False [-9.75 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[yandex.ru]; R_SPF_ALLOW(-0.20)[+ip4:77.88.0.0/18]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[yandex.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; MX_GOOD(-0.01)[cached: mx.yandex.ru]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:77.88.0.0/18, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[108.28.88.77.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_LOW(-1.00)[yandex.ru.dwl.dnswl.org : 127.0.5.1]; IP_SCORE(-3.55)[ip: (-9.44), ipnet: 77.88.0.0/18(-4.54), asn: 13238(-3.76), country: RU(0.01)]; RWL_MAILSPIKE_POSSIBLE(0.00)[108.28.88.77.rep.mailspike.net : 127.0.0.17] 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, 24 Jun 2019 20:01:27 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UTKnhMvwuBEUCggdqxEeeAsYT7ZHhXOTY Content-Type: multipart/mixed; boundary="QYmkI9qn7SMzT7EC9IbN65mFxA008IUXa"; protected-headers="v1" From: "Andrey V. Elsukov" To: "freebsd-current@freebsd.org" , freebsd-net@FreeBSD.org Message-ID: Subject: Re: ng_snd_item: Panic? References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> In-Reply-To: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> --QYmkI9qn7SMzT7EC9IbN65mFxA008IUXa Content-Type: text/plain; charset=UTF-8 Content-Language: ru Content-Transfer-Encoding: quoted-printable 24.06.2019 21:32, Larry Rosenman =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Got 2 of these today, and I have cores.... > Ideas? > r349200. >=20 > Unread portion of the kernel message buffer: > panic: ng_snd_item: 42 !=3D 1414 > cpuid =3D 10 > time =3D 1561382494 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe012= 628d400 > vpanic() at vpanic+0x19d/frame 0xfffffe012628d450 > panic() at panic+0x43/frame 0xfffffe012628d4b0 > ng_snd_item() at ng_snd_item+0x477/frame 0xfffffe012628d4f0 > ng_ether_output() at ng_ether_output+0x5e/frame 0xfffffe012628d520 > ether_output() at ether_output+0x473/frame 0xfffffe012628d5c0 > arpintr() at arpintr+0xfe3/frame 0xfffffe012628d780 > netisr_dispatch_src() at netisr_dispatch_src+0x89/frame 0xfffffe012628d= 7f0 > ether_demux() at ether_demux+0x137/frame 0xfffffe012628d820 > ng_ether_rcv_upper() at ng_ether_rcv_upper+0x95/frame 0xfffffe012628d84= 0 > ng_apply_item() at ng_apply_item+0xf1/frame 0xfffffe012628d8c0 > ng_snd_item() at ng_snd_item+0x2ab/frame 0xfffffe012628d900 > ng_apply_item() at ng_apply_item+0xf1/frame 0xfffffe012628d980 > ng_snd_item() at ng_snd_item+0x2ab/frame 0xfffffe012628d9c0 > ng_ether_input() at ng_ether_input+0x4c/frame 0xfffffe012628d9f0 > ether_nh_input() at ether_nh_input+0x2cd/frame 0xfffffe012628da40 > netisr_dispatch_src() at netisr_dispatch_src+0x89/frame 0xfffffe012628d= ab0 > ether_input() at ether_input+0x48/frame 0xfffffe012628dad0 > bce_intr() at bce_intr+0x697/frame 0xfffffe012628db50 > ithread_loop() at ithread_loop+0x187/frame 0xfffffe012628dbb0 > fork_exit() at fork_exit+0x84/frame 0xfffffe012628dbf0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe012628dbf0 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- > Uptime: 4d18h45m34s > Dumping 24921 out of 131026 MB:..1%..11%..21%..31%..41%..51%..61%..71%.= =2E81%..91% >=20 > #5 0xffffffff828ee5b7 in ng_snd_item (item=3D0xfffff8021e3b4d80, flags= =3D0) > at /usr/src/sys/netgraph/ng_base.c:2252 It looks like you use some netgraph based ethernet interface. The system got received ARP request and is going to send the reply, but somehow mbuf with this ARP request has initialized m_next pointer, thus it is considered as a chain of mbufs. in_arpinput() reuses received mbuf to construct the reply, but it doesn't check that an mbut is a chain. It just sets m_len and sends it. Then since you have INVARIANTS in your kernel, the netgraph code check the actual length of the chain, and it doesn't match to m_len. It panics.= > #6 0xffffffff82900c2e in ng_ether_output (ifp=3D,=20 > mp=3D0xfffffe012628d578) at /usr/src/sys/netgraph/ng_ether.c:294 > #7 0xffffffff805b1e43 in ether_output (ifp=3D,=20 > m=3D0xfffff81f59eefb00, dst=3D0xfffffe012628d740, ro=3D) > at /usr/src/sys/net/if_ethersubr.c:430 > #8 0xffffffff805cb3e3 in in_arpinput (m=3D) > at /usr/src/sys/netinet/if_ether.c:1152 > #9 arpintr (m=3D0xfffff81f59eefb00) at /usr/src/sys/netinet/if_ether.c= :749 > #10 0xffffffff805bcf89 in netisr_dispatch_src (proto=3D4,=20 > source=3D, m=3D) at /usr/src/sys/net/ne= tisr.c:1123 > #11 0xffffffff805b22d7 in ether_demux (ifp=3D0xfffff8012c902000,=20 > m=3D) at /usr/src/sys/net/if_ethersubr.c:913 > #12 0xffffffff82901045 in ng_ether_rcv_upper (hook=3D,=20 > item=3D) at /usr/src/sys/netgraph/ng_ether.c:741 > #13 0xffffffff828ee6e1 in ng_apply_item (node=3D0xfffff81054f43400,=20 > item=3D0xfffff8021e3b4d80, rw=3D0) at /usr/src/sys/netgraph/ng_base= =2Ec:2403 > #14 0xffffffff828ee3eb in ng_snd_item (item=3D0xfffff8021e3b4d80, flags= =3D0) > at /usr/src/sys/netgraph/ng_base.c:2320 > #15 0xffffffff828ee6e1 in ng_apply_item (node=3D0xfffff8012c2d3e00,=20 > item=3D0xfffff8021e3b4d80, rw=3D0) at /usr/src/sys/netgraph/ng_base= =2Ec:2403 > #16 0xffffffff828ee3eb in ng_snd_item (item=3D0xfffff8021e3b4d80, flags= =3D0) > at /usr/src/sys/netgraph/ng_base.c:2320 > #17 0xffffffff82900cbc in ng_ether_input (ifp=3D,=20 > mp=3D0xfffffe012628da18) at /usr/src/sys/netgraph/ng_ether.c:255 > #18 0xffffffff805b34fd in ether_input_internal (ifp=3D0xfffff8012c90200= 0,=20 > m=3D0xfffff81f59eefb00) at /usr/src/sys/net/if_ethersubr.c:654 > #19 ether_nh_input (m=3D) at /usr/src/sys/net/if_ethersu= br.c:735 > #20 0xffffffff805bcf89 in netisr_dispatch_src (proto=3D5,=20 > source=3D, m=3D) at /usr/src/sys/net/ne= tisr.c:1123 > #21 0xffffffff805b26f8 in ether_input (ifp=3D0xfffff8012c902000, m=3D0x= 0) > at /usr/src/sys/net/if_ethersubr.c:823 > #22 0xffffffff8273c7f7 in bce_rx_intr (sc=3D) > at /usr/src/sys/dev/bce/if_bce.c:6848 > #23 bce_intr (xsc=3D0xfffffe01665c2000) at /usr/src/sys/dev/bce/if_bce.= c:8017 > #24 0xffffffff8047e0e7 in intr_event_execute_handlers (p=3D,=20 > ie=3D) at /usr/src/sys/kern/kern_intr.c:1148 > #25 ithread_execute_handlers (p=3D, ie=3D= ) > at /usr/src/sys/kern/kern_intr.c:1161 > #26 ithread_loop (arg=3D) at /usr/src/sys/kern/kern_intr= =2Ec:1241 > #27 0xffffffff8047ac74 in fork_exit ( > callout=3D0xffffffff8047df60 , arg=3D0xfffff8012c8831= 00,=20 > frame=3D0xfffffe012628dc00) at /usr/src/sys/kern/kern_fork.c:1056 > #28 > (kgdb)=20 > --=20 WBR, Andrey V. Elsukov --QYmkI9qn7SMzT7EC9IbN65mFxA008IUXa-- --UTKnhMvwuBEUCggdqxEeeAsYT7ZHhXOTY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl0RLAkACgkQAcXqBBDI oXoG3Af/W4d4t8a7plih7X5QIOyXUzm6MqfbWXQ6/fdnS2pKmldjpjMUrbiGxoRv Nll67121BUHlTnKxUt+mfh97oYyFX8M9fJhlD1FaDIDEAGoyIoxOZuU0WSMuLLMA t+Xt0Lq4PVQbNVu/9CIDqNbkAANGeLmwoAPUx8C+nSnPMVx/C6aFARKnYAuB6U/f ad6AZL5ysdmxdVwx7bbUvrlWnb8U7EGOEEi9ZBY3Qr2AIpCB1B4tFqZCbBZ8oifz gHwougvvDl6k2ns/Fa6r8GlHRhT3KDhgn6ZroR089zY5IqjCUXlpapFpCL9UD1j3 qwLRZwcU/G7Bxa5cv3AADzM1LElYiQ== =MbY3 -----END PGP SIGNATURE----- --UTKnhMvwuBEUCggdqxEeeAsYT7ZHhXOTY-- From owner-freebsd-current@freebsd.org Mon Jun 24 20:10:45 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72A0415D804D; Mon, 24 Jun 2019 20:10:45 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (ns-b.lerctr.org [IPv6:2001:470:1f0f:3ad::53:2]) (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 "*.lerctr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDA5D86454; Mon, 24 Jun 2019 20:10:43 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=x+wbJkUK/sGjpSc2wFBAAyrR9hCRVyMKaA7GAQa8E9A=; b=jtOOU9EroMjsjD3FDhaHz1EKiB x6tn2H12jL2Awo95ahWxnClF3QeXRetDmdiTxXYIudORz9t8ouQRFMV0Q1M7ZAbDNKE145RGwjkiB HuzAgws6Ut+fbSi0R37oaoqrt2+NnCjurTXl47hCeTMqPkEeSdQKUkZFFRUXOrPXTTfYvLm7J5C1c cPWUC4Dzxd+Yrv+RdXRgvB6FmfWs1KWJLBnPWw1+f5x9aZdCoAD6qbqzTHiSjy07y9uGlHtvsDy2I o6cwLjtUG29m6vdSXRWVqV3/S33s8nRxTIBBIZgImBtGTbVjvHSiDHgiUzZtQd3gzVYqu894YBDNt a3Wp83mA==; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:bb:dcff:fe50:d900]:51547 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hfVIW-000BNV-Sm; Mon, 24 Jun 2019 15:10:40 -0500 Received: from 2600:1700:210:b180:4c24:fd26:d30c:ae75 by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Mon, 24 Jun 2019 15:10:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 24 Jun 2019 15:10:40 -0500 From: Larry Rosenman To: "Andrey V. Elsukov" Cc: freebsd-current@freebsd.org, freebsd-net@freebsd.org Subject: Re: ng_snd_item: Panic? In-Reply-To: References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.3.9 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, 24 Jun 2019 20:10:45 -0000 On 06/24/2019 3:01 pm, Andrey V. Elsukov wrote: > 24.06.2019 21:32, Larry Rosenman пишет: >> Got 2 of these today, and I have cores.... >> Ideas? >> r349200. >> >> Unread portion of the kernel message buffer: >> panic: ng_snd_item: 42 != 1414 >> cpuid = 10 >> time = 1561382494 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >> 0xfffffe012628d400 >> vpanic() at vpanic+0x19d/frame 0xfffffe012628d450 >> panic() at panic+0x43/frame 0xfffffe012628d4b0 >> ng_snd_item() at ng_snd_item+0x477/frame 0xfffffe012628d4f0 >> ng_ether_output() at ng_ether_output+0x5e/frame 0xfffffe012628d520 >> ether_output() at ether_output+0x473/frame 0xfffffe012628d5c0 >> arpintr() at arpintr+0xfe3/frame 0xfffffe012628d780 >> netisr_dispatch_src() at netisr_dispatch_src+0x89/frame >> 0xfffffe012628d7f0 >> ether_demux() at ether_demux+0x137/frame 0xfffffe012628d820 >> ng_ether_rcv_upper() at ng_ether_rcv_upper+0x95/frame >> 0xfffffe012628d840 >> ng_apply_item() at ng_apply_item+0xf1/frame 0xfffffe012628d8c0 >> ng_snd_item() at ng_snd_item+0x2ab/frame 0xfffffe012628d900 >> ng_apply_item() at ng_apply_item+0xf1/frame 0xfffffe012628d980 >> ng_snd_item() at ng_snd_item+0x2ab/frame 0xfffffe012628d9c0 >> ng_ether_input() at ng_ether_input+0x4c/frame 0xfffffe012628d9f0 >> ether_nh_input() at ether_nh_input+0x2cd/frame 0xfffffe012628da40 >> netisr_dispatch_src() at netisr_dispatch_src+0x89/frame >> 0xfffffe012628dab0 >> ether_input() at ether_input+0x48/frame 0xfffffe012628dad0 >> bce_intr() at bce_intr+0x697/frame 0xfffffe012628db50 >> ithread_loop() at ithread_loop+0x187/frame 0xfffffe012628dbb0 >> fork_exit() at fork_exit+0x84/frame 0xfffffe012628dbf0 >> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe012628dbf0 >> --- trap 0, rip = 0, rsp = 0, rbp = 0 --- >> Uptime: 4d18h45m34s >> Dumping 24921 out of 131026 >> MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% >> >> #5 0xffffffff828ee5b7 in ng_snd_item (item=0xfffff8021e3b4d80, >> flags=0) >> at /usr/src/sys/netgraph/ng_base.c:2252 > > It looks like you use some netgraph based ethernet interface. > The system got received ARP request and is going to send the reply, > but somehow mbuf with this ARP request has initialized m_next pointer, > thus it is considered as a chain of mbufs. > > in_arpinput() reuses received mbuf to construct the reply, but it > doesn't check that an mbut is a chain. It just sets m_len and sends it. > Then since you have INVARIANTS in your kernel, the netgraph code check > the actual length of the chain, and it doesn't match to m_len. It > panics. so, is this a bug? Timing race? Other? [I] âžœ sudo ngctl list There are 7 total nodes: Name: bce0 Type: ether ID: 00000001 Num hooks: 2 Name: bce1 Type: ether ID: 00000002 Num hooks: 0 Name: bce2 Type: ether ID: 00000003 Num hooks: 0 Name: bce3 Type: ether ID: 00000004 Num hooks: 0 Name: netflow Type: netflow ID: 00000006 Num hooks: 3 Name: Type: ksocket ID: 00000007 Num hooks: 1 Name: ngctl3705 Type: socket ID: 00000008 Num hooks: 0 ler in ~ at borg [I] âžœ > >> #6 0xffffffff82900c2e in ng_ether_output (ifp=, >> mp=0xfffffe012628d578) at /usr/src/sys/netgraph/ng_ether.c:294 >> #7 0xffffffff805b1e43 in ether_output (ifp=, >> m=0xfffff81f59eefb00, dst=0xfffffe012628d740, ro=) >> at /usr/src/sys/net/if_ethersubr.c:430 >> #8 0xffffffff805cb3e3 in in_arpinput (m=) >> at /usr/src/sys/netinet/if_ether.c:1152 >> #9 arpintr (m=0xfffff81f59eefb00) at >> /usr/src/sys/netinet/if_ether.c:749 >> #10 0xffffffff805bcf89 in netisr_dispatch_src (proto=4, >> source=, m=) at >> /usr/src/sys/net/netisr.c:1123 >> #11 0xffffffff805b22d7 in ether_demux (ifp=0xfffff8012c902000, >> m=) at /usr/src/sys/net/if_ethersubr.c:913 >> #12 0xffffffff82901045 in ng_ether_rcv_upper (hook=, >> item=) at /usr/src/sys/netgraph/ng_ether.c:741 >> #13 0xffffffff828ee6e1 in ng_apply_item (node=0xfffff81054f43400, >> item=0xfffff8021e3b4d80, rw=0) at >> /usr/src/sys/netgraph/ng_base.c:2403 >> #14 0xffffffff828ee3eb in ng_snd_item (item=0xfffff8021e3b4d80, >> flags=0) >> at /usr/src/sys/netgraph/ng_base.c:2320 >> #15 0xffffffff828ee6e1 in ng_apply_item (node=0xfffff8012c2d3e00, >> item=0xfffff8021e3b4d80, rw=0) at >> /usr/src/sys/netgraph/ng_base.c:2403 >> #16 0xffffffff828ee3eb in ng_snd_item (item=0xfffff8021e3b4d80, >> flags=0) >> at /usr/src/sys/netgraph/ng_base.c:2320 >> #17 0xffffffff82900cbc in ng_ether_input (ifp=, >> mp=0xfffffe012628da18) at /usr/src/sys/netgraph/ng_ether.c:255 >> #18 0xffffffff805b34fd in ether_input_internal >> (ifp=0xfffff8012c902000, >> m=0xfffff81f59eefb00) at /usr/src/sys/net/if_ethersubr.c:654 >> #19 ether_nh_input (m=) at >> /usr/src/sys/net/if_ethersubr.c:735 >> #20 0xffffffff805bcf89 in netisr_dispatch_src (proto=5, >> source=, m=) at >> /usr/src/sys/net/netisr.c:1123 >> #21 0xffffffff805b26f8 in ether_input (ifp=0xfffff8012c902000, m=0x0) >> at /usr/src/sys/net/if_ethersubr.c:823 >> #22 0xffffffff8273c7f7 in bce_rx_intr (sc=) >> at /usr/src/sys/dev/bce/if_bce.c:6848 >> #23 bce_intr (xsc=0xfffffe01665c2000) at >> /usr/src/sys/dev/bce/if_bce.c:8017 >> #24 0xffffffff8047e0e7 in intr_event_execute_handlers (p=> out>, >> ie=) at /usr/src/sys/kern/kern_intr.c:1148 >> #25 ithread_execute_handlers (p=, ie=) >> at /usr/src/sys/kern/kern_intr.c:1161 >> #26 ithread_loop (arg=) at >> /usr/src/sys/kern/kern_intr.c:1241 >> #27 0xffffffff8047ac74 in fork_exit ( >> callout=0xffffffff8047df60 , arg=0xfffff8012c883100, >> frame=0xfffffe012628dc00) at /usr/src/sys/kern/kern_fork.c:1056 >> #28 >> (kgdb) >> -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 From owner-freebsd-current@freebsd.org Tue Jun 25 09:21:31 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CC4715C5F8B; Tue, 25 Jun 2019 09:21:31 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) (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 E9D7A81905; Tue, 25 Jun 2019 09:21:30 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback16o.mail.yandex.net (mxback16o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::67]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 08CBA4200A09; Tue, 25 Jun 2019 12:21:22 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback16o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id tXibhFlPtL-LF5SZidK; Tue, 25 Jun 2019 12:21:16 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1561454476; bh=AzlvONpjqDvt2JH3FKZantqe3EqMppf2BlwF/YJzeu8=; h=In-Reply-To:From:To:Subject:Cc:Date:References:Message-ID; b=hBQsjeuZLTOR6DEixKX3FnG3O2rlWf/5znvP987L9116/WuuXdvyC65S36Lh5uU8h 0vmVFCe7It300XcAgObddF7T3Fp3Q792ikxiG/Tno0YaJaYJOi79JjvZ8SNR/nvx55 f6x2Rill/hUVPXNQNg3gxYl+zE4HMCSHenTmlrKw= Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4kYEzVZTel-LER4vPbk; Tue, 25 Jun 2019 12:21:15 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Subject: Re: ng_snd_item: Panic? To: Larry Rosenman Cc: freebsd-current@freebsd.org, freebsd-net@freebsd.org References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= mQENBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAG0JUFuZHJleSBWLiBFbHN1a292IDxidTdjaGVyQHlhbmRleC5ydT6JATgEEwECACIFAkwB F1kCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEAHF6gQQyKF6qmYIAI6ekfm1VA4T vqankI1ISE6ku4jV7UlpIQlEbE7/8n3Zd6teJ+pGOQhN5qk8QE7utdPdbktAzi+x7LIJVzUw 4TywZLXGrkP7VKYkfg6oyCGyzITghefQeJtr2TN4hYCkzPWpylkue8MtmqfZv/6royqwTbN+ +E09FQNvTgRUYJYTeQ1qOsxNRycwvw3dr2rOfuxShbzaHBB1pBIjGrMg8fC5pd65ACH5zuFV A0CoTNGMDrEZSfBkTW604UUHFFXeCoC3dwDZRKOWJ3GmMXns65Ai5YkA63BSHEE1Qle3VBhd cG1w0CB5FBV3pB27UVnf0jEbysrDqW4qN7XMRFSWNAy5AQ0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAYkBHwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: Date: Tue, 25 Jun 2019 12:18:43 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GTseMcnxxuoYZ926VnWhJq0AiOFNjcq3Z" X-Rspamd-Queue-Id: E9D7A81905 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.985,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, 25 Jun 2019 09:21:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GTseMcnxxuoYZ926VnWhJq0AiOFNjcq3Z Content-Type: multipart/mixed; boundary="Gj8DifvlaNd17w6FNJpzqBuXQ23ABTZFQ"; protected-headers="v1" From: "Andrey V. Elsukov" To: Larry Rosenman Cc: freebsd-current@freebsd.org, freebsd-net@freebsd.org Message-ID: Subject: Re: ng_snd_item: Panic? References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> In-Reply-To: --Gj8DifvlaNd17w6FNJpzqBuXQ23ABTZFQ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 24.06.2019 23:10, Larry Rosenman wrote: >>> #5=C2=A0 0xffffffff828ee5b7 in ng_snd_item (item=3D0xfffff8021e3b4d80= , flags=3D0) >>> =C2=A0=C2=A0=C2=A0 at /usr/src/sys/netgraph/ng_base.c:2252 >> >> It looks like you use some netgraph based ethernet interface. >> The system got received ARP request and is going to send the reply, >> but somehow mbuf with this ARP request has initialized m_next pointer,= >> thus it is considered as a chain of mbufs. >> >> in_arpinput() reuses received mbuf to construct the reply, but it >> doesn't check that an mbut is a chain. It just sets m_len and sends it= =2E >> Then since you have INVARIANTS in your kernel, the netgraph code check= >> the actual length of the chain, and it doesn't match to m_len. It pani= cs. >=20 >=20 > so, is this a bug?=C2=A0 Timing race? Other? I think we should determine that my assumption is correct :) Can you show the output of the following commands from the kgdb for this core? (kgdb) f 7 (kgdb) p *m (kgdb) p *m->m_next --=20 WBR, Andrey V. Elsukov --Gj8DifvlaNd17w6FNJpzqBuXQ23ABTZFQ-- --GTseMcnxxuoYZ926VnWhJq0AiOFNjcq3Z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl0R5vMACgkQAcXqBBDI oXrI+ggAu+FdQZOmI9Lr1ldSMr3IYofxiPX+e1/nzX3KE8zS++BnV8HUxQB2wAF0 MisTfSFuEO2yT6wZGMSfxdWUWcIiQLTKTSdOi2fjlJaXK1i7JAkVKIw+40Fk1OJo xLP4zfdxDvHaiYe6AImm1UJ6iSv4gQNZihP09W//UKrZg5LM0q5vNKkjMz/lqCHT mQhXuPJLIkAAuZxljdnoFVVz0m4KeOkFFqxlgZMMR5Quuh0P6QJQ5s+Iff4i7Z7/ MTC34e0GivO1Sn1bGnISRTh903YjAKNNgyN9xCA6Rbs5L3gp8aLs8zS5EoARLT1/ qEKo7xQj4bX7ob2221ZqwEMLVJoTlw== =0D0U -----END PGP SIGNATURE----- --GTseMcnxxuoYZ926VnWhJq0AiOFNjcq3Z-- From owner-freebsd-current@freebsd.org Tue Jun 25 12:59:07 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA56015CBED5; Tue, 25 Jun 2019 12:59:07 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (ns-b.lerctr.org [IPv6:2001:470:1f0f:3ad::53:2]) (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 "*.lerctr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD11E89E7E; Tue, 25 Jun 2019 12:59:06 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3GY08dUA9q3ZW4U3qX5ndPow0LXp7bn+OyC8b9gsMwg=; b=r6B9dron/b648lNtiptrQOcTxd a0gPmuVrdmVEOtVamTiy5+vRQgbYUe9ynUi5e3AKXv81q3z7Qqu4krq5wUhWK+KD3gU3tLl69Oi4J VRA3RCtJXrGqloFNysvTSn7MZ4yNkZ/UUH3UYA2BNGUAXCeFxFe0j65JOyG7AgXly2fcExIZa3qhI ZVvHjswnOVMHylRWYQRR8eLnbc3zG9Jh4P3gnRpw8Q7M/m6alI+92F7AUhzdeFnxrrGMBt1Knx97s kiyTO05ZCAG+D2ASSaMW1LaHxcbuTaE6I3Bb+ICVBxriA5kKXEtZmxyOeiTPiL80G5fv7O1fni/la PkjNhEBg==; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:bb:dcff:fe50:d900]:26572 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hfl2N-000F81-0h; Tue, 25 Jun 2019 07:59:03 -0500 Received: from 2600:1700:210:b180:618b:e19b:4ff6:4b3e by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 25 Jun 2019 07:59:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 25 Jun 2019 07:59:02 -0500 From: Larry Rosenman To: "Andrey V. Elsukov" Cc: freebsd-current@freebsd.org, freebsd-net@freebsd.org Subject: Re: ng_snd_item: Panic? In-Reply-To: References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.3.9 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, 25 Jun 2019 12:59:08 -0000 On 06/25/2019 4:18 am, Andrey V. Elsukov wrote: > On 24.06.2019 23:10, Larry Rosenman wrote: >>>> #5  0xffffffff828ee5b7 in ng_snd_item (item=0xfffff8021e3b4d80, >>>> flags=0) >>>>     at /usr/src/sys/netgraph/ng_base.c:2252 >>> >>> It looks like you use some netgraph based ethernet interface. >>> The system got received ARP request and is going to send the reply, >>> but somehow mbuf with this ARP request has initialized m_next >>> pointer, >>> thus it is considered as a chain of mbufs. >>> >>> in_arpinput() reuses received mbuf to construct the reply, but it >>> doesn't check that an mbut is a chain. It just sets m_len and sends >>> it. >>> Then since you have INVARIANTS in your kernel, the netgraph code >>> check >>> the actual length of the chain, and it doesn't match to m_len. It >>> panics. >> >> >> so, is this a bug?  Timing race? Other? > > I think we should determine that my assumption is correct :) > Can you show the output of the following commands from the kgdb for > this > core? > > (kgdb) f 7 > (kgdb) p *m > (kgdb) p *m->m_next (kgdb) fr 7 #7 0xffffffff805b1e43 in ether_output (ifp=, m=0xfffff81f59eefb00, dst=0xfffffe012628d740, ro=) at /usr/src/sys/net/if_ethersubr.c:430 430 if ((error = (*ng_ether_output_p)(ifp, &m)) != 0) { (kgdb) p *m $1 = {{m_next = 0xfffff81086c9dd00, m_slist = {sle_next = 0xfffff81086c9dd00}, m_stailq = {stqe_next = 0xfffff81086c9dd00}}, {m_nextpkt = 0x0, m_slistpkt = {sle_next = 0x0}, m_stailqpkt = {stqe_next = 0x0}}, m_data = 0xfffff81f59eefb72 "\004\311\331c\"\207\244\272\333)f\225\b\006", m_len = 42, m_type = 1, m_flags = 2, {{m_pkthdr = {{snd_tag = 0x0, rcvif = 0x0}, tags = {slh_first = 0xfffff8104c530d60}, len = 42, flowid = 0, csum_flags = 0, fibnum = 0, numa_domain = 255 '\377', rsstype = 0 '\000', {rcv_tstmp = 0, {l2hlen = 0 '\000', l3hlen = 0 '\000', l4hlen = 0 '\000', l5hlen = 0 '\000', spare = 0}}, PH_per = {eight = "\000\000\000\000\000\000\000", sixteen = {0, 0, 0, 0}, thirtytwo = {0, 0}, sixtyfour = { 0}, unintptr = {0}, ptr = 0x0}, PH_loc = {eight = "\000\000\000\000\000\000\000", sixteen = {0, 0, 0, 0}, thirtytwo = {0, 0}, sixtyfour = {0}, unintptr = {0}, ptr = 0x0}}, {m_ext = {{ext_count = 3735929054, ext_cnt = 0xdeadc0dedeadc0de}, ext_buf = 0x200000207 , ext_size = 99483648, ext_type = 0, ext_flags = 0, ext_free = 0x872263d9c9040000, ext_arg1 = 0x608956629dbbaa4, ext_arg2 = 0x200040600080100}, m_pktdat = 0xfffff81f59eefb58 "\336\300\255\336\336\300\255\336\a\002"}}, m_dat = 0xfffff81f59eefb20 ""}} (kgdb) p *m->m_next $2 = {{m_next = 0x0, m_slist = {sle_next = 0x0}, m_stailq = {stqe_next = 0x0}}, {m_nextpkt = 0x0, m_slistpkt = {sle_next = 0x0}, m_stailqpkt = {stqe_next = 0x0}}, m_data = 0xfffff8002144b800 "\004\002\b\n\001tWg\001tWg\001\003\003\006\255\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336", , m_len = 1372, m_type = 1, m_flags = 1, {{m_pkthdr = {{snd_tag = 0x0, rcvif = 0x0}, tags = {slh_first = 0x0}, len = 0, flowid = 0, csum_flags = 0, fibnum = 0, numa_domain = 0 '\000', rsstype = 0 '\000', {rcv_tstmp = 0, {l2hlen = 0 '\000', l3hlen = 0 '\000', l4hlen = 0 '\000', l5hlen = 0 '\000', spare = 0}}, PH_per = { eight = "\000\000\000\000\000\000\000", sixteen = {0, 0, 0, 0}, thirtytwo = {0, 0}, sixtyfour = {0}, unintptr = {0}, ptr = 0x0}, PH_loc = {eight = "\000\000\000\000\000\000\000", sixteen = {0, 0, 0, 0}, thirtytwo = {0, 0}, sixtyfour = {0}, unintptr = {0}, ptr = 0x0}}, {m_ext = {{ext_count = 1, ext_cnt = 0xdeadc0de00000001}, ext_buf = 0xfffff8002144b800 "\004\002\b\n\001tWg\001tWg\001\003\003\006\255\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336zÚ­\336", , ext_size = 2048, ext_type = 6, ext_flags = 1, ext_free = 0x0, ext_arg1 = 0x0, ext_arg2 = 0x0}, m_pktdat = 0xfffff81086c9dd58 "\001"}}, m_dat = 0xfffff81086c9dd20 ""}} (kgdb) -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 From owner-freebsd-current@freebsd.org Tue Jun 25 16:44:43 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E670415D1198 for ; Tue, 25 Jun 2019 16:44:42 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 C917C6B9EC for ; Tue, 25 Jun 2019 16:44:41 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf1-f47.google.com with SMTP id b11so13154019lfa.5 for ; Tue, 25 Jun 2019 09:44:41 -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:from:subject:openpgp:autocrypt:message-id :date:user-agent:mime-version:content-language :content-transfer-encoding; bh=m2eMptpXn5keH/bSq1joq+Z3WH2r95B/EVkON/hOo9U=; b=AZJnyZA7Cc/rYu/GU6mHCDTgXvBuEXxvsWCpZxZcoeZE+3tqnNfyuwh1SJ/l55/eSm qEuPBk5WRxodtXT4KHR1R46bLPeSq2Tb7/Og0Knyx1WfZUaB+VLILkAzfjkIjbm5Efr4 t8l/SeQIKpmxwWP9SKTajNun2UGNquXnq60lHbyGvmr0FqdHIOO616wDPSkSBKN+k/zA 9V8T+MnlGR9y3DZuTNGEotmsc16GOXG9vCueiPIhO6JVNfgLCMV2/Oe5EV3JS5O1dcd9 3XKe+qpJVyYzLBgEacliLzwzJZ2LU7hLW4o7pYoVOaBZqPX7u8BrVMv74Kc+De+ZCHC7 e5Pg== X-Gm-Message-State: APjAAAWd2tOPa1LozbKTSHJ8hOt+vFl7bqQ0XlcBkuF7u2nRjrnTn5Et 2hVF29E7hyQakzBDNFzXgKNlxShM X-Google-Smtp-Source: APXvYqyWm/Xt5XCiECiZp394DMkMzFiSsayLUF08+ss2c4NjZ5VpaPSG3ncMlnk2Sasg2krM7IfR8g== X-Received: by 2002:a19:9152:: with SMTP id y18mr39375324lfj.128.1561481079897; Tue, 25 Jun 2019 09:44:39 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id w1sm2749132ljm.81.2019.06.25.09.44.38 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jun 2019 09:44:38 -0700 (PDT) To: FreeBSD Current From: Andriy Gapon Subject: r348750 amd64 panic: bad pte va 8002de000 pte 8002de000 Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFm4LIgBEADNB/3lT7f15UKeQ52xCFQx/GqHkSxEdVyLFZTmY3KyNPQGBtyvVyBfprJ7 mAeXZWfhat6cKNRAGZcL5EmewdQuUfQfBdYm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EQEAAYkCPAQYAQgAJhYhBL4sQ7ueBCdcDgGOvnfybtNRzXKPBQJZuCyIAhsM BQkFo5qAAAoJEHfybtNRzXKPBVwQAKfFy9P7N3OsLDMB56A4Kf+ZT+d5cIx0Yiaf4n6w7m3i ImHHHk9FIetI4Xe54a2IXh4Bq5UkAGY0667eIs+Z1Ea6I2i27Sdo7DxGwq09Qnm/Y65ADvXs 3aBvokCcm7FsM1wky395m8xUos1681oV5oxgqeRI8/76qy0hD9WR65UW+HQgZRIcIjSel9vR XDaD2HLGPTTGr7u4v00UeTMs6qvPsa2PJagogrKY8RXdFtXvweQFz78NbXhluwix2Tb9ETPk LIpDrtzV73CaE2aqBG/KrboXT2C67BgFtnk7T7Y7iKq4/XvEdDWscz2wws91BOXuMMd4c/c4 OmGW9m3RBLufFrOag1q5yUS9QbFfyqL6dftJP3Zq/xe+mr7sbWbhPVCQFrH3r26mpmy841ym dwQnNcsbIGiBASBSKksOvIDYKa2Wy8htPmWFTEOPRpFXdGQ27awcjjnB42nngyCK5ukZDHi6 w0qK5DNQQCkiweevCIC6wc3p67jl1EMFY5+z+zdTPb3h7LeVnGqW0qBQl99vVFgzLxchKcl0 R/paSFgwqXCZhAKMuUHncJuynDOP7z5LirUeFI8qsBAJi1rXpQoLJTVcW72swZ42IdPiboqx NbTMiNOiE36GqMcTPfKylCbF45JNX4nF9ElM0E+Y8gi4cizJYBRr2FBJgay0b9Cp Message-ID: <8a21f254-fc1c-c426-6ada-705a9a59b893@FreeBSD.org> Date: Tue, 25 Jun 2019 19:44:37 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C917C6B9EC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.167.47 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-4.28 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; 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)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; 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)[FreeBSD.org]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[47.167.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-1.29)[ip: (-0.61), ipnet: 209.85.128.0/17(-3.44), asn: 15169(-2.33), country: US(-0.06)] 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, 25 Jun 2019 16:44:43 -0000 One of remote systems got this panic. Unfortunately, all I have is this bit of its console log. No crash dump (not even a text dump). It's curious that va == pte. panic: bad pte va 8002de000 pte 8002de000^M cpuid = 0^M time = 1561459522^M KDB: stack backtrace:^M db_trace_self_wrapper() at 0xffffffff804f128b = db_trace_self_wrapper+0x2b/frame 0xfffffe00aa88b6c0^M kdb_backtrace() at 0xffffffff8072c379 = kdb_backtrace+0x39/frame 0xfffffe00aa88b770^M vpanic() at 0xffffffff806ed08c = vpanic+0x19c/frame 0xfffffe00aa88b7c0^M panic() at 0xffffffff806ecc83 = panic+0x43/frame 0xfffffe00aa88b820^M pmap_remove_pages() at 0xffffffff809b40b4 = pmap_remove_pages+0x6f4/frame 0xfffffe00aa88b910^M vmspace_exit() at 0xffffffff809774bf = vmspace_exit+0xbf/frame 0xfffffe00aa88b960^M exit1() at 0xffffffff806b083b = exit1+0x5ab/frame 0xfffffe00aa88b9c0^M sys_sys_exit() at 0xffffffff806b028d = sys_sys_exit+0xd/frame 0xfffffe00aa88b9d0^M syscallenter() at 0xffffffff809c17e1 = syscallenter+0x251/frame 0xfffffe00aa88ba10^M amd64_syscall() at 0xffffffff809c13d7 = amd64_syscall+0x17/frame 0xfffffe00aa88bab0^M fast_syscall_common() at 0xffffffff809a00cd = fast_syscall_common+0x101/frame 0xfffffe00aa88bab0^M --- syscall (1, FreeBSD ELF64, sys_sys_exit), rip = 0x8003edf1a, rsp = 0x7fffffffd828, rbp = 0x7fffffffd910 ---^M -- Andriy Gapon From owner-freebsd-current@freebsd.org Tue Jun 25 19:04:11 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9650C15D44D7 for ; Tue, 25 Jun 2019 19:04:11 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 386F870DEB; Tue, 25 Jun 2019 19:04:11 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 1CD222170B; Tue, 25 Jun 2019 19:04:11 +0000 (UTC) From: Jan Beich To: Rebecca Cran Cc: freebsd-current@freebsd.org, D Scott Phillips Subject: Re: CTF: UEFI HTTP boot support References: <5cbfe8da-25d3-123f-52a1-08cde4e83f67@freebsd.org> Date: Tue, 25 Jun 2019 21:04:04 +0200 Message-ID: <7e99-pjvf-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 386F870DEB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; 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, 25 Jun 2019 19:04:11 -0000 Rebecca Cran writes: > I've been working with D Scott Phillips to test the UEFI HTTP loader > code he's written, and we're now ready for wider testing. [...] I can't boot after r349349. loader.efi appears to fail to load. As my boot pool is striped maybe HTTP code interferes with ZFS code assembling bits from multiple disks. Any ideas how to debug? Note, UEFI Network Stack is disabled and UEFI Hard Disk is #1 boot option. >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Load Path: \EFI\BOOT\BOOTX64.EFI LoadDevice: PciRoot(0x0)/Pci(0x1B,0x0)/Pci(0x0,0x0)/Unit(0x1)/HD(2,GPT,...) BootCurrent: 0004 BootOrder: 0004 0005 0006 0007 Probing 20 block devices......+.....*....+..... done ZFS found the following pools: foo bar UFS found no partitions command args: -DS115200 Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk1p3: \ From owner-freebsd-current@freebsd.org Tue Jun 25 19:05:15 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C081315D4533 for ; Tue, 25 Jun 2019 19:05:15 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 8AD1870E9D for ; Tue, 25 Jun 2019 19:05:14 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: by mail-lf1-x133.google.com with SMTP id 136so13441059lfa.8 for ; Tue, 25 Jun 2019 12:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=tb7X4dsLGY52Xvq0x4BSbs3D/WJK6ilwRgkJoOx2VP4=; b=o1aNOermaG7Zp3z/dltm6FHPE1hHCBMtRPLdUugwOyOeNzyc2A58YzFMm+DxJxabrZ dJko4rx+6sS9KM3qxXl0LLmb15NSAco9RuUUN3ck0E884yvmrQV9q8ukzpAu+Dl8vvO5 G5zQ+O2Vff5HLvibDLHKKb1l3YXofQQEVfevmQRFH0sVsHDMcmp8cqC7qAArqg+qUJ34 rixNBHBnGOIb/RUVM1tal33zMFG/fHEtthW+qBBwS5x3Y4OV1CqUmuqd/PrQYn2QUFar Mcqnwd9zLT7l/gZL1QcL6vsS0sJnu5p1JPvAFeN0DoPthrW2kGyF2s/Ziip/8qsHaWYU 7Qbg== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=tb7X4dsLGY52Xvq0x4BSbs3D/WJK6ilwRgkJoOx2VP4=; b=pPKjE18/SQG9Xurd9HgVPta8cGRTXSKgiyWcn27tX78Wl7P3OHEVM0W6ulvjguFGPo JKah2nPb3UyLkDFCF0v/etFjsgx7iX7TxSXjQmi6N+GSOZr5r4qZzO+XP6QkzvJkYZ0d y4S+1MSgciDsAneYb5Rd0C4BodKAJGM6T1U6nL8q7GkVwyNCiCcINE8w6HTbJiTm4FOE P/KC93N7QsK2GSuxZtOi0W9O2RO/zFCXsDsLcxP7UnamJjtCAiwKeNUhV7/qJhwiZIuB Ii7MCQzQIPzRFIQuKbDQOIRfxIHUC5byyHc7yiZQIl2QA6MPxKV8WaOtNhsGIxFFVeQb CHEg== X-Gm-Message-State: APjAAAUDCWG5288o3oqGeZMy6xR8Q0jCwPfVo/o7n9Mv1wTsnxGK4kwI XXa+MKBzMgA1qeuQ4IrNp/wLr5ZXUsaQXQ== X-Google-Smtp-Source: APXvYqyFh7bL8w0kphOCN1byJ1YCZUfhYmI0ktJXxuc1Wcj3UCWAG2nrEGRrXJdKmRyxv/QR92DKOA== X-Received: by 2002:a19:ae0d:: with SMTP id f13mr188033lfc.123.1561489511982; Tue, 25 Jun 2019 12:05:11 -0700 (PDT) Received: from localhost (109-252-75-150.nat.spd-mgts.ru. [109.252.75.150]) by smtp.gmail.com with ESMTPSA id q4sm2817410lje.99.2019.06.25.12.05.11 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 12:05:11 -0700 (PDT) Date: Tue, 25 Jun 2019 22:05:10 +0300 From: Vladimir Zakharov To: FreeBSD Current Subject: Boot loader hangs after update to r349350 Message-ID: <20190625190510.r6o7gg4akyl6dqg2@vzakharov> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cd5mnnrut5ouyjxo" Content-Disposition: inline X-Operating-System: FreeBSD 13.0-CURRENT amd64 User-Agent: NeoMutt/20180716-2140-0a53e3 X-Rspamd-Queue-Id: 8AD1870E9D X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=o1aNOerm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zakharovvv@gmail.com designates 2a00:1450:4864:20::133 as permitted sender) smtp.mailfrom=zakharovvv@gmail.com X-Spamd-Result: default: False [-8.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(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]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; 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)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.1.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(-2.90)[ip: (-9.55), ipnet: 2a00:1450::/32(-2.57), asn: 15169(-2.33), country: US(-0.06)]; 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: Tue, 25 Jun 2019 19:05:16 -0000 --cd5mnnrut5ouyjxo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello After update from r349326 to r349350 boot loader hangs on string: Setting currdev to ada0p3: Laptop HP ProBook 430 G3. --=20 Regards, | "In theory there is no difference between theory Vladimir Zakharov | and practice. In practice there is."- Yogi Berra --cd5mnnrut5ouyjxo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEGigXAiE0PbwWpysjipH2KCLzK4cFAl0ScGYACgkQipH2KCLz K4diAQf9H77H0I9VofbPPkepKVPtXDAc8bSkI3jokZdJvfqsIl+6+PVsikHuvPzc FGlQ2kgyTYAe9v9WXC3C18wv9i9Nv6ZjLStKDI2ShwIOHzMaJr3EZydIMHMcFFD5 ZlaI9PzkfHbAZlQj9KcaAcqM4xMFsthoV94tFdoeOTEfHwgBgHGqb4UcJrTWHJfL 5SuqwVN57ReSqIx82ZwDvCPdHTAQjCXOPQsRCSPN3wB/uYsyXZOUj413CZY0tlnn PkAUfj7SB4X6k8psusoRkmbOmSvOeubFjZ4Pp0SV6cRVTHqv+UO85InS65Ggr5xl 16pLBUSKvJmbJiwuGp55EEyYcPE5fA== =4uni -----END PGP SIGNATURE----- --cd5mnnrut5ouyjxo-- From owner-freebsd-current@freebsd.org Tue Jun 25 19:25:14 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB63215D4F32 for ; Tue, 25 Jun 2019 19:25:14 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 60F1D71B93; Tue, 25 Jun 2019 19:25:14 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 297B021C3C; Tue, 25 Jun 2019 19:25:14 +0000 (UTC) From: Jan Beich To: Vladimir Zakharov Cc: FreeBSD Current Subject: Re: Boot loader hangs after update to r349350 References: <20190625190510.r6o7gg4akyl6dqg2@vzakharov> Date: Tue, 25 Jun 2019 21:25:11 +0200 Message-ID: <5zot-o4bs-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 60F1D71B93 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, 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: Tue, 25 Jun 2019 19:25:15 -0000 Vladimir Zakharov writes: > Hello > > After update from r349326 to r349350 boot loader hangs on string: > Setting currdev to ada0p3: > > Laptop HP ProBook 430 G3. Do you boot from a ZFS pool on a GPT partition? If so how the pool is configured: single disk, stripe, mirror or raidz? Try reverting r349349. From owner-freebsd-current@freebsd.org Tue Jun 25 19:57:24 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A89BB15D5F09 for ; Tue, 25 Jun 2019 19:57:24 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EBF67362B; Tue, 25 Jun 2019 19:57:24 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from tommy.madpilot.net (host207-122-dynamic.7-87-r.retail.telecomitalia.it [87.7.122.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id AF985146C8; Tue, 25 Jun 2019 19:57:23 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Subject: Re: Boot loader hangs after update to r349350 To: Jan Beich , Vladimir Zakharov Cc: FreeBSD Current References: <20190625190510.r6o7gg4akyl6dqg2@vzakharov> <5zot-o4bs-wny@FreeBSD.org> From: Guido Falsi Openpgp: preference=signencrypt Autocrypt: addr=madpilot@FreeBSD.org; prefer-encrypt=mutual; keydata= mQENBE+G+l0BCADi/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gHq4XB1Gv8+1LvGLZmqih/kBpBP1hIGkakok579CTkw/g8XoWqr6Cjz2fvtjaQmTBwdou gP8Yn5kMBIiIxF7XLngUc5DVEJMYamcktd0q4aHC/cnbWlTwc2WrQBI1AwxCZgDC1RbOOan8 oTIjWqRyaNp9zFvxOaJqgrxJA3Vl/3p9z+witk3pnmg4ITLIJDSmsf89MDaOVGQpDjzs9MaT YlIpTlW5Lns2WTYOue+NanntpX14UCGmeusk+4aYXPzf89zyALS3s3uLtVUdhFwLmdrFgHZS gjU5STLGlP8e9AVddVnf8qZ1czOvHX3UCCAI9YjBQA/5VxpRFJil4OTr9lUA5U57UKGpwmKw IPvArbT8468nYC2Rat4a7UJn3NLHucr9Vh0uvfgbFDhtPUb72sFA2cVI1tfZMnjfUx2jUYKM N5ErgK1Kes0piQARAQABiQEfBBgBCAAJBQJTEHtBAhsMAAoJEBrmhg5Wy9KTDecIAOGwpF/6 sBFQtOk6HkegtqbrZklkDIKQ2qq7+uR7m6PkBpoNj+HsE2EEOIOqGFktN6h8alVVoSs+xY36 1fnR/Kmwi30oCHL3QYWu2shmVa7IrjCyhm8N+n3JpGT6Ugznx3D9Fx/GfrvQlo9MVJE8QJWf +4uoGElKRtiVjbXZhP1/FVRMl7rAi8MtCtASOtAP+HUUyF9wuECqyd2W1F3oM+9Mp4x3/pUD GfSGSgEqETLkuRaMz0Iemm75sGRD3X+SPa4lBJc7x66ifAcdLdz7o3aLYfsjR6Zwca7TvC5E Ha0OfD9EsHGiF9909lPaRvG4buWFUfPBUPDkNHBLDwaQ53I= Message-ID: Date: Tue, 25 Jun 2019 21:57:19 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <5zot-o4bs-wny@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4EBF67362B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, 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: Tue, 25 Jun 2019 19:57:25 -0000 On 25/06/19 21:25, Jan Beich wrote: > Vladimir Zakharov writes: > >> Hello >> >> After update from r349326 to r349350 boot loader hangs on string: >> Setting currdev to ada0p3: >> >> Laptop HP ProBook 430 G3. > > Do you boot from a ZFS pool on a GPT partition? If so how the pool is > configured: single disk, stripe, mirror or raidz? > > Try reverting r349349. I'm having thee same issue. UEFI system, ZFS on root, two mirrored disks. Reverting 349349 fixes it. -- Guido Falsi From owner-freebsd-current@freebsd.org Tue Jun 25 20:14:25 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E142815D6384 for ; Tue, 25 Jun 2019 20:14:24 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 7AE4274213; Tue, 25 Jun 2019 20:14:23 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: by mail-lj1-x22c.google.com with SMTP id k18so17528799ljc.11; Tue, 25 Jun 2019 13:14:23 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cwdF3/sDGu/dYAV+kGlmUepxQ9wPDflJCnWETrbuycM=; b=Xv0uwvjhFeViy5q+0VZujG/IkmS8MFWqlmlbVPI10vDtGt4ztsmI8evUH3hvPutyAS oAiNoN4EF5KpwsjP3hoCNVTe5Zy/+pjKIuxSZ6/9e2YQdsfZcJUSX5p9iuWb0iX8Qar/ tauaekZ3caaSUlL77+9J7gHC3WlMrlTlloIoVuPZDT//DR3Ev1aieEIIZ8oIrSADYidS IpUq5JyO9HtV8ZnMwFPnOsr3R8fFpksa2OnksW6ROKWQkXJstAa1pe4EFQ1x3gY0gKrp +7uuA8JTul2l+8JclHsBvwmqOX4L7apNOCyYMv9SUilPc1b2DLtnbfOxuZr9suhbPfEG 0LRQ== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cwdF3/sDGu/dYAV+kGlmUepxQ9wPDflJCnWETrbuycM=; b=nEXyjK5zr2Xf0psg5d8WlREepYy668ARMD9cqQegXLosyeJWaGHNYANKgnbvRICn4n EH1aVTuAiH1NFoiAbL4aFjY5hWW40MhfqdZD9Gbep0KFzavIfQ14bOTiGFXZSrtERIzl geqLjEElpWBwc0gikgUrw27BsK3u4j7TpJSxefV29HjPNY9o0nAqf02AVqsRoQaKmj73 I2x2kJ786abu6GbM81U/eePlafpLIHncdm6ywjiGWoL9gRPq4r6BtW40RlZX1UElGsr8 auKRHhGwvk0EkwlpUTMoplaCwiVlYDuzUI+s9q2m6oFi18jRkZCkw1Ls02AvEft81W/O 6nHA== X-Gm-Message-State: APjAAAX/OUIHSXoaS8uA2ifS2itVYImeNqyK08bI/pWi0a7ADG8MF2vZ Ozgypr/rPp9k2NEdqyxXSjEUoqxPi6lYVw== X-Google-Smtp-Source: APXvYqwMDhdGCDvcTlff7oRCgDZppRW5yB+b8ZQT5JmAZ9hHOU+jyCLSiYeVzP2690zRyKsX1l4kwA== X-Received: by 2002:a2e:480a:: with SMTP id v10mr249772lja.94.1561493661684; Tue, 25 Jun 2019 13:14:21 -0700 (PDT) Received: from localhost (109-252-75-150.nat.spd-mgts.ru. [109.252.75.150]) by smtp.gmail.com with ESMTPSA id a70sm2413166ljf.57.2019.06.25.13.14.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 13:14:20 -0700 (PDT) Date: Tue, 25 Jun 2019 23:14:20 +0300 From: Vladimir Zakharov To: Jan Beich Cc: FreeBSD Current Subject: Re: Boot loader hangs after update to r349350 Message-ID: <20190625201420.26cwzznququat6gn@vzakharov> References: <20190625190510.r6o7gg4akyl6dqg2@vzakharov> <5zot-o4bs-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zefm4nvbchvsvrwy" Content-Disposition: inline In-Reply-To: <5zot-o4bs-wny@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT amd64 User-Agent: NeoMutt/20180716-2140-0a53e3 X-Rspamd-Queue-Id: 7AE4274213 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Xv0uwvjh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zakharovvv@gmail.com designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=zakharovvv@gmail.com X-Spamd-Result: default: False [-8.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; 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]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; 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)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-2.90)[ip: (-9.53), ipnet: 2a00:1450::/32(-2.57), asn: 15169(-2.33), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[c.2.2.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]; 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: Tue, 25 Jun 2019 20:14:25 -0000 --zefm4nvbchvsvrwy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 25, 2019, Jan Beich wrote: > Vladimir Zakharov writes: >=20 > > Hello > > > > After update from r349326 to r349350 boot loader hangs on string: > > Setting currdev to ada0p3: > > > > Laptop HP ProBook 430 G3. >=20 > Do you boot from a ZFS pool on a GPT partition? If so how the pool is > configured: single disk, stripe, mirror or raidz? I do not use ZFS at all. # gpart show =3D> 40 250069600 ada0 GPT (119G) 40 1600 1 efi (800K) 1640 16777216 2 freebsd-swap (8.0G) 16778856 31457280 3 freebsd-ufs (15G) 48236136 62914560 4 freebsd-ufs (30G) 111150696 12582912 5 freebsd-ufs (6.0G) 123733608 125829120 6 freebsd-ufs (60G) 249562728 506912 - free - (248M) >=20 > Try reverting r349349. I'll try this. Thank you --=20 Regards, | "In theory there is no difference between theory Vladimir Zakharov | and practice. In practice there is."- Yogi Berra --zefm4nvbchvsvrwy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEGigXAiE0PbwWpysjipH2KCLzK4cFAl0SgJcACgkQipH2KCLz K4fcrwf/azwD3PH8bVe+I7vImbnNA8gT9+czBBTe8B/nHQg/LhszsD8GBbDD+e36 By/zlkXRHYKA2k7jIvNQIpLX8lZrGyrd2yxAJcvv5R9Ehk1W7CdHVkFQNVOQ5EYS ynnkYK/hFc25znZ0WRXBQp/UDSSR1jg3hMzEeFr7aVCc9BfIhpHJmjVFEqQWAQXt q+zTkN8yJq62Xu79mCFnLVr3HV8yzlJTMg5mCJDjazppspdpBYO90nEc6RvllqeN 4lRK9AlmafezaxoFRxT3bRNxXvoD4Uf2ShBxjHkjWlQi6Yk3cre8SwCwrP3VbMmV wPHyZ7nj6TjJH4SV5Mukzxo1UGtCrg== =Fhx9 -----END PGP SIGNATURE----- --zefm4nvbchvsvrwy-- From owner-freebsd-current@freebsd.org Tue Jun 25 20:16:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1E9D15D641E; Tue, 25 Jun 2019 20:16:19 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::106]) (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 6A8D67431B; Tue, 25 Jun 2019 20:16:19 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback9g.mail.yandex.net (mxback9g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:170]) by forward103j.mail.yandex.net (Yandex) with ESMTP id B77A46740A91; Tue, 25 Jun 2019 23:16:07 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback9g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Xqg9DHKJZs-G7QqnDRm; Tue, 25 Jun 2019 23:16:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1561493767; bh=gOpmhW4/E+iK7AQqJR03/vZBnp8xaMqwwl75S2GLFRE=; h=In-Reply-To:From:To:Subject:Cc:Date:References:Message-ID; b=qRtR31NFc7PRWca+5Xb5wxMgSL/KoqpEzRb/oVdJyomVGtaGMUo4AZxw6tl9XLdgO 4lmZm9kaADzQUOpAD5YwQAe/X06VpvBqfX8sYmkEvv/uYroj8k+jVHBuWyzEI8vvIl tN4hxmITgo6oa1byyNYf+6in+Yx6YK2iyHEFvTTg= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id BbzteSheyk-G6mGf6BX; Tue, 25 Jun 2019 23:16:06 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Subject: Re: ng_snd_item: Panic? To: Larry Rosenman Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> From: "Andrey V. Elsukov" Openpgp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t44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAYkBHwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <7b4c697c-e924-deb8-d227-2d188b8f8483@yandex.ru> Date: Tue, 25 Jun 2019 23:13:29 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pkXM9hOnC7Epjpsk1PDXC3jciX3wIAszu" X-Rspamd-Queue-Id: 6A8D67431B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,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, 25 Jun 2019 20:16:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pkXM9hOnC7Epjpsk1PDXC3jciX3wIAszu Content-Type: multipart/mixed; boundary="LAsyanrEHoxlPz6O4Ca6I4nKHVYwDfizP"; protected-headers="v1" From: "Andrey V. Elsukov" To: Larry Rosenman Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Message-ID: <7b4c697c-e924-deb8-d227-2d188b8f8483@yandex.ru> Subject: Re: ng_snd_item: Panic? References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> In-Reply-To: --LAsyanrEHoxlPz6O4Ca6I4nKHVYwDfizP Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 25.06.2019 15:59, Larry Rosenman wrote: > On 06/25/2019 4:18 am, Andrey V. Elsukov wrote: >> On 24.06.2019 23:10, Larry Rosenman wrote: >>>>> #5=C2=A0 0xffffffff828ee5b7 in ng_snd_item (item=3D0xfffff8021e3b4d= 80, >>>>> flags=3D0) >>>>> =C2=A0=C2=A0=C2=A0 at /usr/src/sys/netgraph/ng_base.c:2252 >>>> >>>> It looks like you use some netgraph based ethernet interface. >>>> The system got received ARP request and is going to send the reply, >>>> but somehow mbuf with this ARP request has initialized m_next pointe= r, >>>> thus it is considered as a chain of mbufs. >>>> >>>> in_arpinput() reuses received mbuf to construct the reply, but it >>>> doesn't check that an mbut is a chain. It just sets m_len and sends = it. >>>> Then since you have INVARIANTS in your kernel, the netgraph code che= ck >>>> the actual length of the chain, and it doesn't match to m_len. It >>>> panics. >>> >>> >>> so, is this a bug?=C2=A0 Timing race? Other? >> >> I think we should determine that my assumption is correct :) >> Can you show the output of the following commands from the kgdb for th= is >> core? >> >> (kgdb) f 7 >> (kgdb) p *m >> (kgdb) p *m->m_next >=20 >=20 > (kgdb) fr 7 > #7=C2=A0 0xffffffff805b1e43 in ether_output (ifp=3D, > m=3D0xfffff81f59eefb00, dst=3D0xfffffe012628d740, ro=3D)= at > /usr/src/sys/net/if_ethersubr.c:430 > 430=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 i= f ((error =3D (*ng_ether_output_p)(ifp, &m)) !=3D 0) { I failed to track the possible way to get this. Please, show the output of the following commands: (kgdb) f 7 (kgdb) p/x (u_char[42])m->m_data (kgdb) p/x (u_char[1372]m->m_next->m_data Did you used this configuration for the long time and these panics were the first time? --=20 WBR, Andrey V. Elsukov --LAsyanrEHoxlPz6O4Ca6I4nKHVYwDfizP-- --pkXM9hOnC7Epjpsk1PDXC3jciX3wIAszu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl0SgGkACgkQAcXqBBDI oXobnwgAu+qATxqLM5x9lj50JU7DtSD++QN++XiKTTdv2o/Ihai26OnW5EDRrfzh GcefzF47UvJTsBhf48y9Ws6XoMLShCv6FWE6iP5b2B7KwQ8rYVbpu5eNfQOqamqd lIX0j1q+xvqs+mx5F5XvC3QWNu1+lS1Pdgw3ay7i8qNfBTDJHg6NeUcA2uTz/iVX eiG3pkXigTTnLIquPmg9OpHUgZWAmpzFAvl36aoWfzVKUBxYS8CVYnYwAngUf4UR 3xIBvy0UyuWbX/7xyHJzF6PdUA77M6Mm7ti5Qly2x28SDDL3Jl4jglmzX4sQ7TdY ZwJuHwKTvpCucy1OXx4/73SI3A2pyA== =Y/JP -----END PGP SIGNATURE----- --pkXM9hOnC7Epjpsk1PDXC3jciX3wIAszu-- From owner-freebsd-current@freebsd.org Tue Jun 25 20:19:10 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D105A15D662F for ; Tue, 25 Jun 2019 20:19:09 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [65.103.231.193]) (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 DA37674644; Tue, 25 Jun 2019 20:19:08 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 83E335BC97; Tue, 25 Jun 2019 14:23:30 -0600 (MDT) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YoH5O3II7MoX; Tue, 25 Jun 2019 14:23:29 -0600 (MDT) Received: from photon.int.bluestop.org (unknown [10.0.10.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Tue, 25 Jun 2019 14:23:29 -0600 (MDT) Subject: Re: Boot loader hangs after update to r349350 To: Guido Falsi , Jan Beich , Vladimir Zakharov Cc: FreeBSD Current References: <20190625190510.r6o7gg4akyl6dqg2@vzakharov> <5zot-o4bs-wny@FreeBSD.org> From: Rebecca Cran Openpgp: preference=signencrypt Autocrypt: addr=rebecca@bluestop.org; keydata= mQINBFrUMZ4BEADI1yUEGeZeXeTCPay1ZpTBdDEpGPAw1dq2VCSTc1VhsnrEBa1iZxAfaeSv Uu5Ti7jlhQ/3sQMl0bJMKGB/RtmIW7k8h2w476oZmG8gChk8su5ZEx/pV1gdqInyFmmJKTYc gabJz8pL+m82w07qPv+oalepZ4dbj+HF++RAK/iEju+q9UHlsjj8e3mMNs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xG+ECAWnRAAsmZX+KgNxW3v7R/76Tz4Wjmh4AGeE+Ji 3p5QsdTYny1B6vYBL9vCzPJ/AK8pgKMDRaweUP5eZQpfrdWC8Q7SNGgi4Q+97KEs+i2xZLQ+ WJb8a+WEEIc716u0y4ITiHfOgM5jWcFO4MXQATbJgv0drLLesa+LQCvZgPBqupt307EsCubQ s+Sxt+RVjf6rOUolp1GJXEQYwGsKklVd6yqLC8M1BSG53/WE5tSv5GzBZ8fp6EtmjT7leuid FtEvKYHQz4DqG9ELpHUF0X0UUCBK/MgXe3kCVLKE060UrJ4M6uPSx57rmVFA2MvwQR8M7GsW C5UsSM4PYwPWBhwxE7vcx0691YKAHT/5q8LxRVBdUyzPSprMhSQFttsBt+ygm6wRi3Pi3TuC EARNubPkQefyeC34yr40SAUCkOl3eWxSXPF4NfXFQb4AAzZSE5hv3qbDuwo3lrL0LqpIpEQP Az+JZ1QZ6mMFQ5/JD9Gukj54kZc0X8w3sQt0a8vyE/qrJg8vKgv2rCHrPc5MeDkEUEFiiJiC EDdkJtMyoRlU3S4NrnbyLOLEcHE8fGe3hStPX8hY62id2ecdQ5WZ7vLZW5SFeLarbUciuHIk VL6MHnUjbV7XlY50N7ebeFCIdlCWhdum2FJs/Ni+SSxbZC564vrokwlBBGSo6WTPQTa8IWx1 DtU= Message-ID: <264ed13b-c273-1345-1be6-b8f711d8c9d5@bluestop.org> Date: Tue, 25 Jun 2019 14:19:05 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: DA37674644 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rebecca@bluestop.org designates 65.103.231.193 as permitted sender) smtp.mailfrom=rebecca@bluestop.org X-Spamd-Result: default: False [-6.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bluestop.org]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; NEURAL_HAM_SHORT(-0.95)[-0.950,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.100.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.95)[ip: (-9.76), ipnet: 65.100.0.0/14(-4.88), asn: 209(-0.04), country: US(-0.06)] 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, 25 Jun 2019 20:19:10 -0000 On 2019-06-25 13:57, Guido Falsi wrote: > > I'm having thee same issue. UEFI system, ZFS on root, two mirrored disks. > > Reverting 349349 fixes it. Sorry, that was my commit. I'm debugging it now. -- Rebecca Cran From owner-freebsd-current@freebsd.org Tue Jun 25 20:21:26 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8034D15D67C2; Tue, 25 Jun 2019 20:21:26 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (ns-b.lerctr.org [IPv6:2001:470:1f0f:3ad::53:2]) (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 "*.lerctr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C72827486D; Tue, 25 Jun 2019 20:21:25 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EdEml7v5uiDm/dIo6greBIcb7Mc2RV+wK+WKmyn2JZA=; b=YzuqQJ6PpdCB8I0+IpRLJTwUKn HaUfpWlbhMP7biQU0gmgO2ZFstay3XDXSMwR3ZhKyCl/jd3vK2/YDBR1ptH1K2vzNly5/J3cnOZJA OVF8uGPQtqMyRBSYJqQ/ORgMeCPqhti3uZ9yow93t7iucqDJf7DAyNfb2NbrPnmv3JkpbMgJ7gAu3 cAxJNY8csO4uwEtU3TgtFdGIpNACBF/4elugfbrkh95VBMDHB+20LSlT4jouRksitV8QcgFTmPLFL X109IFeX6WSMD6G0OpltEjeYtikrW7pquvlunPuZiZt03MxV++cIxIHoXaIcwiEnLsjFzoRpYekvD Gmfxk0Gw==; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:bb:dcff:fe50:d900]:20421 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hfrwQ-0003IF-QE; Tue, 25 Jun 2019 15:21:22 -0500 Received: from 2600:1700:210:b180:618b:e19b:4ff6:4b3e by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 25 Jun 2019 15:21:22 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 25 Jun 2019 15:21:22 -0500 From: Larry Rosenman To: "Andrey V. Elsukov" Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: ng_snd_item: Panic? In-Reply-To: <7b4c697c-e924-deb8-d227-2d188b8f8483@yandex.ru> References: <20190624183200.hu4vzocjsopjsnnz@ler-imac.local> <7b4c697c-e924-deb8-d227-2d188b8f8483@yandex.ru> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.3.9 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, 25 Jun 2019 20:21:26 -0000 On 06/25/2019 3:13 pm, Andrey V. Elsukov wrote: > On 25.06.2019 15:59, Larry Rosenman wrote: >> On 06/25/2019 4:18 am, Andrey V. Elsukov wrote: >>> On 24.06.2019 23:10, Larry Rosenman wrote: >>>>>> #5  0xffffffff828ee5b7 in ng_snd_item (item=0xfffff8021e3b4d80, >>>>>> flags=0) >>>>>>     at /usr/src/sys/netgraph/ng_base.c:2252 >>>>> >>>>> It looks like you use some netgraph based ethernet interface. >>>>> The system got received ARP request and is going to send the reply, >>>>> but somehow mbuf with this ARP request has initialized m_next >>>>> pointer, >>>>> thus it is considered as a chain of mbufs. >>>>> >>>>> in_arpinput() reuses received mbuf to construct the reply, but it >>>>> doesn't check that an mbut is a chain. It just sets m_len and sends >>>>> it. >>>>> Then since you have INVARIANTS in your kernel, the netgraph code >>>>> check >>>>> the actual length of the chain, and it doesn't match to m_len. It >>>>> panics. >>>> >>>> >>>> so, is this a bug?  Timing race? Other? >>> >>> I think we should determine that my assumption is correct :) >>> Can you show the output of the following commands from the kgdb for >>> this >>> core? >>> >>> (kgdb) f 7 >>> (kgdb) p *m >>> (kgdb) p *m->m_next >> >> >> (kgdb) fr 7 >> #7  0xffffffff805b1e43 in ether_output (ifp=, >> m=0xfffff81f59eefb00, dst=0xfffffe012628d740, ro=) at >> /usr/src/sys/net/if_ethersubr.c:430 >> 430            if ((error = (*ng_ether_output_p)(ifp, &m)) != 0) { > > I failed to track the possible way to get this. > Please, show the output of the following commands: > (kgdb) f 7 > (kgdb) p/x (u_char[42])m->m_data > (kgdb) p/x (u_char[1372]m->m_next->m_data > > Did you used this configuration for the long time and these panics were > the first time? (kgdb) f 7 #7 0xffffffff805b1e43 in ether_output (ifp=, m=0xfffff81f59eefb00, dst=0xfffffe012628d740, ro=) at /usr/src/sys/net/if_ethersubr.c:430 430 if ((error = (*ng_ether_output_p)(ifp, &m)) != 0) { (kgdb) p/x (u_char[42])m->m_data $1 = {0x72, 0xfb, 0xee, 0x59, 0x1f, 0xf8, 0xff, 0xff, 0x2a, 0x0, 0x0, 0x0, 0x1, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x60, 0xd, 0x53, 0x4c, 0x10, 0xf8, 0xff, 0xff, 0x2a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} (kgdb) p/x (u_char[1372]m->m_next->m_data A syntax error in expression, near `m->m_next->m_data'. (kgdb) p/x (u_char[1372])m->m_next->m_data $2 = {0x0, 0xb8, 0x44, 0x21, 0x0, 0xf8, 0xff, 0xff, 0x5c, 0x5, 0x0, 0x0, 0x1, 0x1, 0x0 , 0x1, 0x0, 0x0, 0x0, 0xde, 0xc0, 0xad, 0xde, 0x0, 0xb8, 0x44, 0x21, 0x0, 0xf8, 0xff, 0xff, 0x0, 0x8, 0x0, 0x0, 0x6, 0x1, 0x0 , 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0xde, 0xc0, 0xad, 0xde, 0x0 , 0x4c, 0xe0, 0xd6, 0x79, 0x19, 0xf8, 0xff, 0xff, 0xa8, 0x3, 0x0, 0x0, 0x1, 0x3...} (kgdb) I've been using this configuration for quite a few months, and these 2 panics yesterday are the only ones I've seen. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 From owner-freebsd-current@freebsd.org Wed Jun 26 00:16:39 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 160B315DAA77 for ; Wed, 26 Jun 2019 00:16:39 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (ns-b.lerctr.org [IPv6:2001:470:1f0f:3ad::53:2]) (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 "*.lerctr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 455F8848F2 for ; Wed, 26 Jun 2019 00:16:37 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Message-ID:Subject:To:From:Date:Content-Transfer-Encoding: Content-Type:MIME-Version:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dfzVn5Rf/hHwjD0v+H/y5O2nw139S9Kzg0Ua4I8xUuA=; b=RDb6YLC+8qyTGtBLHUNVA9qkZA USp/NL0pLCIqOzDO+QrhqN5h41pbtRuAotVXUvb344ufYADPTENbMK5HE/5vJc9ZPVfeXYDi6OHUH 5aNi/33p1Dv4PWfbA9BB3v7Xg79o/eKuFCeyZG0VOQckZu5uB0D2/DjYrX8gCUTFo3ciJ6V9na+6Q XAEDkzamOBAc8wGIodNgdz0w+9LhfzNRpRK7MPUnPQP7N5K3eBe20nwSvPXm1TtVT3Ryz3T3+wOSY a2xOQJusFbHCQ2BYZdGUeAwKwSIQyCGipTYF8nQqZICczSQC0hwdJsdOrXc1aaJKLbt2iKHgNzHWY hA/sTa9g==; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:bb:dcff:fe50:d900]:60880 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hfvc3-000BPW-UB for freebsd-current@freebsd.org; Tue, 25 Jun 2019 19:16:36 -0500 Received: from 2600:1700:210:b180:618b:e19b:4ff6:4b3e by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 25 Jun 2019 19:16:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 25 Jun 2019 19:16:35 -0500 From: Larry Rosenman To: Freebsd current Subject: Crash on boot: Stack? Message-ID: <4fdbc570d8ec896d831308860946e763@lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.3.9 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: Wed, 26 Jun 2019 00:16:39 -0000 see https://www.lerctr.org/~ler/stack_crash.png between r349392 & r349395 is where the bug was introduced. my suspicion is https://svnweb.freebsd.org/changeset/base/349393 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 From owner-freebsd-current@freebsd.org Wed Jun 26 02:15:51 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0DB315DCF42 for ; Wed, 26 Jun 2019 02:15:51 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CC4988644 for ; Wed, 26 Jun 2019 02:15:50 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from duke.gem.co (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 047411c9 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Wed, 26 Jun 2019 02:09:08 +0000 (UTC) To: FreeBSD Current From: Pete Wright Subject: frequent panics from current built today Message-ID: Date: Tue, 25 Jun 2019 19:09:07 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 8CC4988644 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-4.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[nomadlogic.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.96)[ipnet: 174.136.96.0/20(-4.52), asn: 25795(-0.23), country: US(-0.06)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mail.nomadlogic.org]; NEURAL_HAM_SHORT(-0.94)[-0.944,0]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(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: Wed, 26 Jun 2019 02:15:52 -0000 hello - i've had a system panic multiple times after rebuilding world/kernel today.  here's my info: FreeBSD topanga 13.0-CURRENT FreeBSD 13.0-CURRENT 2474a68216f(master) GENERIC-NODEBUG  amd64 Looking at two of the panic texts I see this: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address   = 0x52 fault code              = supervisor read data, page not present instruction pointer     = 0x20:0xffffffff80f47f54 stack pointer           = 0x0:0xfffffe0122e4a6d0 frame pointer           = 0x0:0xfffffe0122e4a7b0 code segment            = base 0x0, limit 0xfffff, type 0x1b                         = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags        = interrupt enabled, resume, IOPL = 0 current process         = 69399 (java) trap number             = 12 panic: page fault cpuid = 1 time = 1561514025 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0122e4a380 vpanic() at vpanic+0x19d/frame 0xfffffe0122e4a3d0 panic() at panic+0x43/frame 0xfffffe0122e4a430 trap_fatal() at trap_fatal+0x39c/frame 0xfffffe0122e4a490 trap_pfault() at trap_pfault+0x49/frame 0xfffffe0122e4a4f0 trap() at trap+0x29f/frame 0xfffffe0122e4a600 calltrap() at calltrap+0x8/frame 0xfffffe0122e4a600 --- trap 0xc, rip = 0xffffffff80f47f54, rsp = 0xfffffe0122e4a6d0, rbp = 0xfffffe0122e4a7b0 --- vm_map_lookup() at vm_map_lookup+0x2a4/frame 0xfffffe0122e4a7b0 vm_fault_hold() at vm_fault_hold+0x72/frame 0xfffffe0122e4a900 vm_fault() at vm_fault+0x60/frame 0xfffffe0122e4a940 trap_pfault() at trap_pfault+0x164/frame 0xfffffe0122e4a9a0 trap() at trap+0x42b/frame 0xfffffe0122e4aab0 calltrap() at calltrap+0x8/frame 0xfffffe0122e4aab0 --- trap 0xc, rip = 0x41f695e0, rsp = 0x7fffdfff0738, rbp = 0x7fffdfff07b0 --- KDB: enter: panic __curthread () at /usr/home/pete/git/freebsd/sys/amd64/include/pcpu.h:246 246             __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (OFFSETOF_CURTHREAD)); I have usable core files and can post any additional debug info needed.  The first crash happened when launching chrome, the second (which is what the above text is from) happened when I was running a java process in a jail.  Has anyone else seen this? Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-current@freebsd.org Wed Jun 26 03:26:16 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 001FD15DE340 for ; Wed, 26 Jun 2019 03:26:15 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (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 2F17D8A893; Wed, 26 Jun 2019 03:26:14 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id fyZPhmUHgo7SQfyZQhcoxw; Tue, 25 Jun 2019 21:26:06 -0600 X-Authority-Analysis: v=2.3 cv=Go88BX9C c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=dq6fvYVFJ5YA:10 a=6VqBrpBaAAAA:8 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=ctZ1pLg0t2X75Lu_0rgA:9 a=CjuIK1q_8ugA:10 a=UJ0tAi3fqDAA:10 a=l6wOqGboJC1rSQv2Z1Bd:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 13CF1C2; Tue, 25 Jun 2019 20:26:03 -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 x5Q3Q2KX073944; Tue, 25 Jun 2019 20:26:02 -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 x5Q3Q2gm073935; Tue, 25 Jun 2019 20:26:02 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201906260326.x5Q3Q2gm073935@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: Larry Rosenman cc: Freebsd current , dougm@freebsd.org Subject: Re: Crash on boot: Stack? In-Reply-To: Message from Larry Rosenman of "Tue, 25 Jun 2019 19:16:35 -0500." <4fdbc570d8ec896d831308860946e763@lerctr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Jun 2019 20:26:02 -0700 X-CMAE-Envelope: MS4wfGpuJRAMFq7AbP7MmvCTGg+BluGwEvv9su6dOcyK7YslTsoaCM+HsTCDndTGwOdqwncig9hyPwLDm7MBKruRe+mnV+g9jE6pBI9iQIeI9kDHwecErTS7 o8/d1CM2pARzRBA51AJFAInzoZwHzjibZ9hShNqNcW9IOGYsasY9H+8XoAHgBto+fe80TEY7UZwkoI65RM3M4qvrLYbMOl1TudX6jtuHJsgH2aXTX8PqHgd4 V1D+uSLvFOowZayosKT7rw== X-Rspamd-Queue-Id: 2F17D8A893 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[cached: spqr.komquats.com]; NEURAL_HAM_SHORT(-0.88)[-0.880,0]; RCVD_IN_DNSWL_LOW(-0.10)[137.136.59.64.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; SUBJECT_ENDS_QUESTION(1.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_FIVE(0.00)[5]; REPLYTO_EQ_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-2.41)[ip: (-6.14), ipnet: 64.59.128.0/20(-3.28), asn: 6327(-2.54), country: CA(-0.09)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; 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: Wed, 26 Jun 2019 03:26:16 -0000 In message <4fdbc570d8ec896d831308860946e763@lerctr.org>, Larry Rosenman writes : > see https://www.lerctr.org/~ler/stack_crash.png > > between r349392 & r349395 is where the bug was introduced. > > my suspicion is https://svnweb.freebsd.org/changeset/base/349393 Your suspicion is correct. My firewall panicked with a similar traceback. Reverting it provided some relief. I'll post the traceback on svn-src in reply to Doug's commit email. -- 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 Wed Jun 26 10:16:17 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8082B15C3108; Wed, 26 Jun 2019 10:16:17 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 27CA9965FB; Wed, 26 Jun 2019 10:16:17 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1129) id 000083EEC; Wed, 26 Jun 2019 10:16:16 +0000 (UTC) Date: Wed, 26 Jun 2019 10:16:16 +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-06-23 Message-ID: <20190626101616.GC56878@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-Rspamd-Queue-Id: 27CA9965FB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.87 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.88)[-0.875,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(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: Wed, 26 Jun 2019 10:16:17 -0000 (Please send the followup discussions to freebsd-testing@ list.) FreeBSD CI Weekly Report 2019-06-23 =================================== Here is a summary of the FreeBSD Continuous Integration results for the period from 2019-06-17 to 2019-06-23. During this period, we have: * 1835 builds (98.7% passed, 1.3% failed) were executed on aarch64, amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64, powerpcspe, riscv64, sparc64 architectures for head, stable/12, stable/11 branches. * 356 test runs (38.2% passed, 55.9% unstable, 5.9% exception) were executed on amd64, i386, riscv64 architectures for head, stable/12, stable/11 branches. * 32 doc builds (100% passed) (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/Sy6_MI6kH and archive is available at http://hackfoldr.org/freebsd-ci-report/, any help is welcome. ## Failing Tests * https://ci.freebsd.org/job/FreeBSD-head-i386-test/ * Others: * sys.netpfil.pf.forward.v6 * sys.netpfil.pf.forward.v4 * sys.netpfil.pf.set_tos.v4 * Analysis from kp@: * https://lists.freebsd.org/pipermail/freebsd-testing/2019-June/001933.html * https://lists.freebsd.org/pipermail/freebsd-testing/2019-June/001934.html * sys.opencrypto.runtests.main * https://ci.freebsd.org/job/FreeBSD-stable-12-i386-test/ * sys.netpfil.pf.forward.v6 * sys.netpfil.pf.forward.v4 * sys.netpfil.pf.set_tos.v4 * lib.libregex.exhaust_test.regcomp_too_big * flaky, sometimes failed with: ``` /usr/src/contrib/netbsd-tests/lib/libc/regex/t_exhaust.c:72: p != NULL not met ``` * sys.opencrypto.runtests.main Failed with: ``` File "/usr/tests/sys/opencrypto/cryptodev.py", line 179, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument ``` * 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/ * This job is currently suffering from timeout because of https://bugs.freebsd.org/237652 * 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 * 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 * sys.netinet.socket_afinet.socket_afinet_bind_zero (new) https://bugs.freebsd.org/238781 ## Issues ### New * https://bugs.freebsd.org/238781 sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded ### 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 ### 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 ### Others * [Tickets related to testing@](https://preview.tinyurl.com/y9maauwg) * https://issues.tmatesoft.com/issue/SVNKIT-740 The patch is asked to be updated and help wanted. * https://bugs.freebsd.org/235356 Help on how to reproduce and analyze is wanted. From owner-freebsd-current@freebsd.org Wed Jun 26 06:37:32 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB7C015B89FB for ; Wed, 26 Jun 2019 06:37:32 +0000 (UTC) (envelope-from unkadoug@gmail.com) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (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 489CE8FE31 for ; Wed, 26 Jun 2019 06:37:32 +0000 (UTC) (envelope-from unkadoug@gmail.com) Received: by mail-ot1-x336.google.com with SMTP id r6so1440933oti.3 for ; Tue, 25 Jun 2019 23:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:references:to:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=GAINbNzWaRWTtxAm0AKw8GRBTwu3mYwsIXlk2GLIWPg=; b=oZkUBlpmDAheI5oiiszQCbN+e7mEytEsJdyBvHZci8CSfeV7bJxfthS5xF4JgkfmDS kRDh9vXCsscEOzUIRNv7MI6geJKddyQYocSpgjjQcqfIKO8Ds0RxbPre8WKJXttf6cV8 B3Up0QForyd53IeglqPFpImvrLqaSAh2ERdoQj/tfsrZL7YwBpoXI09qqtsCYTezGPGX mzz8PLi+aAONUkx8BXNb6GxgoxMU3b9Gz3XHlj51nIdNvTnP0b6l9N4CedD2SfnIER3I TSGm0eznomqYrshwsntQ685FKoeIJbzqhUGQ3F3Burg+ldFh6vHTJSF2xsqt2V20ElP0 lRCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:references:to:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=GAINbNzWaRWTtxAm0AKw8GRBTwu3mYwsIXlk2GLIWPg=; b=gS9g3lCTOFVIqd+lxr7dJK8txp/f9efJhDUUp+wwnGMHSg9fvIWbJSAmZckFTywDRO cDOwEf4LFte2S83xxgFYc72Id0vN0D8o+MhfsBWaVRRZ5cdjj0L1Y7rFX6oy/QncuYbK RHASF5RUAZiksWrXe4gQs6FRPAaU5f7Rm/5TsOMDM68kwsHkjZPMJodtm1Oga36+podo WJAgqwSZHh96YWRWsDTARVGRIdbmeMQ/JdQIttriUuj1zQYHDNKlX8wQJCPW+NmCZ2Hm jUiFgbLHvhSXqGLW85EVmNpfmzzqWrlfCMm6k9SzeVlHJBuOCUA1F+k939D4S3teo+bz Cgxw== X-Gm-Message-State: APjAAAVLYWP0k2Dtj6s7x9+vwWUgQmQfd1/+DhquUzsJLo2KUhOS2kbB GOdcAMDWP8V6aDtvfhGSXtRNDxrM X-Google-Smtp-Source: APXvYqxDSElnUn6GgdeDhLfMSke+mdbR6nl/45mWTOTv5wa0zRxz77I51VhqRMX/+or0EhWRB3dFjA== X-Received: by 2002:a9d:634f:: with SMTP id y15mr2082445otk.259.1561531051523; Tue, 25 Jun 2019 23:37:31 -0700 (PDT) Received: from 108-254-203-202.lightspeed.hstntx.sbcglobal.net (108-254-203-202.lightspeed.hstntx.sbcglobal.net. [108.254.203.202]) by smtp.gmail.com with ESMTPSA id w22sm5837957otp.73.2019.06.25.23.37.30 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jun 2019 23:37:31 -0700 (PDT) From: Doug Moore X-Google-Original-From: Doug Moore Subject: Re: frequent panics from current built today References: <20190626063129.GI8697@kib.kiev.ua> To: freebsd-current@freebsd.org Cc: pete@nomadlogic.org Message-ID: Date: Wed, 26 Jun 2019 01:37:30 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190626063129.GI8697@kib.kiev.ua> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 489CE8FE31 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997,0] X-Mailman-Approved-At: Wed, 26 Jun 2019 10:26:43 +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: Wed, 26 Jun 2019 06:37:33 -0000 This problem is almost certainly my fault, due to r349393.  Once I learned of the problem and verified that I was responsible, I reverted that change with r349405. I apologize for the multiple inconveniences I have caused. Doug Moore > ----- Forwarded message from Pete Wright ----- > > Date: Tue, 25 Jun 2019 19:09:07 -0700 > From: Pete Wright > To: FreeBSD Current > Subject: frequent panics from current built today > > hello - i've had a system panic multiple times after rebuilding world/kernel > today.  here's my info: > FreeBSD topanga 13.0-CURRENT FreeBSD 13.0-CURRENT 2474a68216f(master) > GENERIC-NODEBUG  amd64 > > Looking at two of the panic texts I see this: > > Fatal trap 12: page fault while in kernel mode > cpuid = 1; apic id = 01 > fault virtual address   = 0x52 > fault code              = supervisor read data, page not present > instruction pointer     = 0x20:0xffffffff80f47f54 > stack pointer           = 0x0:0xfffffe0122e4a6d0 > frame pointer           = 0x0:0xfffffe0122e4a7b0 > code segment            = base 0x0, limit 0xfffff, type 0x1b >                         = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags        = interrupt enabled, resume, IOPL = 0 > current process         = 69399 (java) > trap number             = 12 > panic: page fault > cpuid = 1 > time = 1561514025 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0122e4a380 > vpanic() at vpanic+0x19d/frame 0xfffffe0122e4a3d0 > panic() at panic+0x43/frame 0xfffffe0122e4a430 > trap_fatal() at trap_fatal+0x39c/frame 0xfffffe0122e4a490 > trap_pfault() at trap_pfault+0x49/frame 0xfffffe0122e4a4f0 > trap() at trap+0x29f/frame 0xfffffe0122e4a600 > calltrap() at calltrap+0x8/frame 0xfffffe0122e4a600 > --- trap 0xc, rip = 0xffffffff80f47f54, rsp = 0xfffffe0122e4a6d0, rbp = > 0xfffffe0122e4a7b0 --- > vm_map_lookup() at vm_map_lookup+0x2a4/frame 0xfffffe0122e4a7b0 > vm_fault_hold() at vm_fault_hold+0x72/frame 0xfffffe0122e4a900 > vm_fault() at vm_fault+0x60/frame 0xfffffe0122e4a940 > trap_pfault() at trap_pfault+0x164/frame 0xfffffe0122e4a9a0 > trap() at trap+0x42b/frame 0xfffffe0122e4aab0 > calltrap() at calltrap+0x8/frame 0xfffffe0122e4aab0 > --- trap 0xc, rip = 0x41f695e0, rsp = 0x7fffdfff0738, rbp = 0x7fffdfff07b0 --- > KDB: enter: panic > > __curthread () at /usr/home/pete/git/freebsd/sys/amd64/include/pcpu.h:246 > 246             __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" > (OFFSETOF_CURTHREAD)); > > > I have usable core files and can post any additional debug info needed.  The > first crash happened when launching chrome, the second (which is what the > above text is from) happened when I was running a java process in a jail.  Has > anyone else seen this? > > Cheers, > -pete > From owner-freebsd-current@freebsd.org Wed Jun 26 14:38:44 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCB1C15C9BE2 for ; Wed, 26 Jun 2019 14:38:44 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2A3970248 for ; Wed, 26 Jun 2019 14:38:43 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.206] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id f9644485 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 26 Jun 2019 14:38:42 +0000 (UTC) Subject: Re: frequent panics from current built today To: Doug Moore , freebsd-current@freebsd.org References: <20190626063129.GI8697@kib.kiev.ua> From: Pete Wright Message-ID: <97cb6b25-18ed-ea08-d8d2-6b4e6db1efab@nomadlogic.org> Date: Wed, 26 Jun 2019 07:38:41 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: B2A3970248 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.nomadlogic.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.81)[-0.813,0]; IP_SCORE(-2.83)[ip: (-9.33), ipnet: 174.136.96.0/20(-4.55), asn: 25795(-0.23), country: US(-0.06)]; 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:25795, ipnet:174.136.96.0/20, 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: Wed, 26 Jun 2019 14:38:45 -0000 On 6/25/19 11:37 PM, Doug Moore wrote: > This problem is almost certainly my fault, due to r349393.  Once I > learned of the problem and verified that I was responsible, I reverted > that change with r349405. > > I apologize for the multiple inconveniences I have caused. Thanks Doug, this has fixed things on my end! Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-current@freebsd.org Thu Jun 27 06:16:53 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9AAC15DBBC8 for ; Thu, 27 Jun 2019 06:16:53 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 BCE96701E6 for ; Thu, 27 Jun 2019 06:16:52 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: by mail-lf1-x130.google.com with SMTP id j29so691060lfk.10 for ; Wed, 26 Jun 2019 23:16:52 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bLQ0p3qVmAz658MRvv+cyUYa+I+DXBsYXvS52gef1m8=; b=YA99ccVMhxBZ1jZ2U5UaJzz9uAmVJhFNEPbUDxUBTp4WfGQuIOtUNPqVEM2CS+xImR Dn1CapREpuFKyBWVy/WsPGPzruyfKh0ALvVo+Qsniu2oS3YLN0AzofTX8CuCxKBl/Xvk G7Fvwb7P87chjhctdC9lu3DahAq9tmfc0QVt67ira0khgkwOc3QGmq32xWj3g9eLpVHe cPxafpBL+Aq86d6iF5U25aTNBSDQ8pnRV9u+lY4mFm8kJbUVoYF8LYp3U5NiUuGTP3IZ Qx7MwIH6qySKpaXKFZNKZk6I2zsmK6kFyXBusGDOaCh07MMYohwKsZR1yIqGHLd6rQ5M jeHg== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bLQ0p3qVmAz658MRvv+cyUYa+I+DXBsYXvS52gef1m8=; b=QWKxQsG7aWKNiHx1C4noghi3v+MDO9CowBmz1DJncFhyUa0s+jIAyWfpp9rUmAkfSX 4qt7tZaed5nVNBtaAwDY8BebtpxncPwUPUIH9t7j0qxioVDG89F310767cOi3IdUrrOj DRrRCkpzCsTZ9yj1fwUEVLhC8ObLjhTcoiARAwW+X0tsTzJ/b2X+iBtVHFhYySk1O77A ayNtdG1SRH9yX8wrjTaQfBHfJ4rAjsxqzZly3CtAtjVkPlFEtxhlLjPRGsgBtO2x4305 LH1VaRaKPnW9Tro/zto7mnbC+4TJERAHZoxVSH3jFSKkR3CVuzjdiNfqChhqU7LbFoDC lO8A== X-Gm-Message-State: APjAAAXrIiS6BFVSjupIbpldfAtZv4ExhSlp56bRSpr1wO5BHMbPV3Tk OfSqyEKd2j7RDJc45Lw3cnYf8+W19Gc+RQ== X-Google-Smtp-Source: APXvYqw8xWgp/fxgGAC2Uu1OYNgMaqy4E+2rNYT9LjHRRW0YIyc2A2x2PCInk/HDT60QpFUi4pY4AA== X-Received: by 2002:a19:5046:: with SMTP id z6mr1079287lfj.185.1561616210916; Wed, 26 Jun 2019 23:16:50 -0700 (PDT) Received: from localhost ([109.252.75.150]) by smtp.gmail.com with ESMTPSA id o9sm164469lfb.47.2019.06.26.23.16.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 23:16:50 -0700 (PDT) Date: Thu, 27 Jun 2019 09:16:49 +0300 From: Vladimir Zakharov To: Rebecca Cran Cc: FreeBSD Current Subject: Re: Boot loader hangs after update to r349350 Message-ID: <20190627061649.kqublng4clrfxjaa@vzakharov> References: <20190625190510.r6o7gg4akyl6dqg2@vzakharov> <5zot-o4bs-wny@FreeBSD.org> <264ed13b-c273-1345-1be6-b8f711d8c9d5@bluestop.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nece7rplp5ogn3ru" Content-Disposition: inline In-Reply-To: <264ed13b-c273-1345-1be6-b8f711d8c9d5@bluestop.org> X-Operating-System: FreeBSD 13.0-CURRENT amd64 User-Agent: NeoMutt/20180716-2147-cc5dbe X-Rspamd-Queue-Id: BCE96701E6 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YA99ccVM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zakharovvv@gmail.com designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=zakharovvv@gmail.com X-Spamd-Result: default: False [-8.42 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; 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]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; RECEIVED_SPAMHAUS_PBL(0.00)[150.75.252.109.zen.spamhaus.org : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; 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)[-1.000,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.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.1.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(-2.83)[ip: (-9.13), ipnet: 2a00:1450::/32(-2.60), asn: 15169(-2.34), country: US(-0.06)]; 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: Thu, 27 Jun 2019 06:16:54 -0000 --nece7rplp5ogn3ru Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 25, 2019, Rebecca Cran wrote: > On 2019-06-25 13:57, Guido Falsi wrote: > > > > I'm having thee same issue. UEFI system, ZFS on root, two mirrored disk= s. > > > > Reverting 349349 fixes it. >=20 >=20 > Sorry, that was my commit. I'm debugging it now. Updating to r349447 fixed the issue for me. Thanks --=20 Regards, | "In theory there is no difference between theory Vladimir Zakharov | and practice. In practice there is."- Yogi Berra --nece7rplp5ogn3ru Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEGigXAiE0PbwWpysjipH2KCLzK4cFAl0UX1EACgkQipH2KCLz K4fMJggAjl9yDgeEgj6Xy6yJOulFd84usz5NYgsK7P7Pqj8epGAM0io41x7dmx9Q aEBdsF9+U5CVC0udQfIf9yTOq/MD+E0qYUmORc85G+qTbIC/W4VdmeTnF/rqnK1z F7ecuQvuWlCK8TZ/zBvlQyZRd+UlKSPwiIFPoZD9m1QFKv8n+ml3YQHgOIOZI2pV PK6N5tXEcHikMif/4PzubmUVGE2g4FydGMb0jnDvBKotAOl+wV4DymXggSKJr3To b8o+2YG+w6pZz+IXbcxIeCMoWVUDi9mjefD3rb1dHmchrmeH/9Dhy59cFve9dwNP QdUyGW/F5Rev2qk/XdPcNSX4nlnhHg== =8Ftw -----END PGP SIGNATURE----- --nece7rplp5ogn3ru-- From owner-freebsd-current@freebsd.org Thu Jun 27 09:52:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6245159DFE6 for ; Thu, 27 Jun 2019 09:52:00 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84ECD76600 for ; Thu, 27 Jun 2019 09:51:59 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id x5R9pu1A068245 for ; Thu, 27 Jun 2019 11:51:56 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 5315299 for ; Thu, 27 Jun 2019 11:51:56 +0200 (CEST) To: freebsd-current@freebsd.org From: Harry Schmalzbauer Subject: =?UTF-8?Q?kern.panic=5freboot=5fwait=5ftime_=e2=80=93_no_effect_on_?= =?UTF-8?Q?KDB-less_machine?= Organization: OmniLAN Message-ID: Date: Thu, 27 Jun 2019 11:51:56 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Thu, 27 Jun 2019 11:51:56 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-Rspamd-Queue-Id: 84ECD76600 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2a00:e10:2800::a130 as permitted sender) smtp.mailfrom=freebsd@omnilan.de X-Spamd-Result: default: False [-6.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; 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]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: mx0.gentlemail.de]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; DMARC_NA(0.00)[omnilan.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-3.51)[ip: (-9.25), ipnet: 2a00:e10:2800::/38(-4.59), asn: 25074(-3.70), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25074, ipnet:2a00:e10:2800::/38, country:DE]; 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, 27 Jun 2019 09:52:00 -0000 Hello, currently, I have one stable/12-i386 machine panicing as ESXi guest. The kernel was built without KDB.  Hence, I set debug.debugger_on_panic=0 in loader.conf. Additionally, I set kern.panic_reboot_wait_time=20 But after the panic, the memory is dumped to swap and an immediate reboot happens. Far too quick to read a single word of the kernel message (1G RAM only, quick ssd swap). How can I delay the auto-reboot? Does kern.panic_reboot_wait_time only affect KDB behaviour? Thanks, -harry P.S.: I guess the following isn't really a VM problem, but a bug in my patched vmxnet3 driver (which happens with ALTQ usage, ALTQ is the reason I can't use if_vmx(4)): #4  0x00e329fd in vm_fault_hold (map=0x1edc000, vaddr=0, fault_type=, fault_flags=0, m_hold=0x0)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/vm/vm_fault.c:600 #5  0x00e303fa in vm_fault (map=0x1edc000, vaddr=0, fault_type=1 '\001', fault_flags=0)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/vm/vm_fault.c:550 #6  0x00ea6c6e in trap_pfault (frame=, usermode=0, eva=40)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/i386/i386/trap.c:884 #7  0x00ea630c in trap (frame=0x471dee8) at /usr/local/share/deploy-tools/RELENG_12/src/sys/i386/i386/trap.c:521 #8  0xffc0316d in ?? () #9  0x013e663a in vmxnet3_start () from /boot/modules/vmxnet3.ko #10 0x00c0921a in if_transmit (ifp=0x5241000, m=0x18d7cd00) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if.c:4048 #11 0x00c0ca82 in ether_output_frame (ifp=0x5241000, m=)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:487 #12 0x00c0c99c in ether_output (ifp=0x5241000, m=, dst=0x471e174, ro=0x471e160)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:440 #13 0x00c5dc6c in ip_output (m=, opt=0x0, ro=, flags=1, imo=,     inp=0x0) at /usr/local/share/deploy-tools/RELENG_12/src/sys/netinet/ip_output.c:660 #14 0x00c5a436 in ip_forward (m=0x18d7cd00, srcrt=0) at /usr/local/share/deploy-tools/RELENG_12/src/sys/netinet/ip_input.c:1069 #15 0x00c59ce7 in ip_input (m=) at RELENG_12/src/sys/i386/include/counter.h:59 #16 0x00c25f2d in netisr_dispatch_src (proto=1, source=0, m=0x18d7cd00)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/netisr.c:1122 #17 0x00c26230 in netisr_dispatch (proto=1, m=0x18d7cd00) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/netisr.c:1213 #18 0x00c0cbc1 in ether_demux (ifp=0x5230c00, m=)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:879 #19 0x00c0dc17 in ether_nh_input (m=0x18d7cd00) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_ethersubr.c:667 #20 0x00c25f2d in netisr_dispatch_src (proto=5, source=0, m=0x18d7cd00)     at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/netisr.c:1122 From owner-freebsd-current@freebsd.org Fri Jun 28 18:09:28 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4B1815C786A for ; Fri, 28 Jun 2019 18:09:27 +0000 (UTC) (envelope-from vladislav.movchan@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 C1028827B8 for ; Fri, 28 Jun 2019 18:09:26 +0000 (UTC) (envelope-from vladislav.movchan@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id u19so5886110ior.9 for ; Fri, 28 Jun 2019 11:09:26 -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=bxXbNmmeBmBEzkt6kaRl2IZF5wmJr2uAnkqKOa/2Coc=; b=TA+zDbzLY9knAjefSAmuOLQ4hH4gj/V1T7GdQY9Esbfo+4i0f/W1UIbgnRsyVDxzsb fE2dFD15+ccSY/l4yRGlxqdRzHbmO+IdA/RiRjcjcdVUQJzDtuOePwI38lqwvKQDjifh hxFVP/kR2F2LarZSoI90bTyQNZydWLe+lAtAODBZRHTTFK7c74GUmexOQp0yCUmFjBaO dftqtCVZbkNbnr3+3cMu2+jINxepcOarJgJHMzHamdslnRDs3+CLHpi0ABevVf5In5xO 4xKIJYzxzVWdW41hAxbngrghNr3XIhNW+MnVU7tVbTdqYHQhDRw3IL1pMByi/sZ8yXaI xK3A== 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=bxXbNmmeBmBEzkt6kaRl2IZF5wmJr2uAnkqKOa/2Coc=; b=IdeB5ilfYnGgVwo6FLtwD07WJdSka6nbJRTzT1r/+or3f4HNqlsk4o1ROwjMgdO6sB CeHenrgX11V1zr9UVZcEogP3QFFI7D107/+S3tlCoalPHaJnWmR4y40AHix9T8qQuBhN F96Cyx1MWHFWgcVmXUhWE1Peozj4anjr5qiTNXPa1lD8QgDkU0CgTBSZ/vit5fPko6uI lUn/KZLipReXjfw71jNg1IfywjOSwf9d1bC97sfsRZNvK8pE/5SQTCRr1OxuGF8ar7s1 Ze20rsaP0c4frJC4YaQWY5AcFFrUsutldvOmMvTShHZ76q81NSrh1t3acdbvf/PlW4wg QUXA== X-Gm-Message-State: APjAAAVk0+n+39UWCHBS0qAdZ06eZas/696K/STEUSV8Sdn6Itv10deF fKIG97sGjXT1JUir1AjfZPggPGXEeXsvDuB4/b0gZ54P X-Google-Smtp-Source: APXvYqzWJbYdSRrFe1jjPD/xCFAjKWtz8XD51T0IgwMQQmko86vEQeCh5EY8kM08bGWskAlf6D0NaJiWObRyVxnCYL0= X-Received: by 2002:a5e:a710:: with SMTP id b16mr9185442iod.38.1561745365205; Fri, 28 Jun 2019 11:09:25 -0700 (PDT) MIME-Version: 1.0 References: <20190624174432.1cdae0b7d672b6e17d2804a2@sndbro.ru> In-Reply-To: <20190624174432.1cdae0b7d672b6e17d2804a2@sndbro.ru> From: Vlad Movchan Date: Fri, 28 Jun 2019 21:09:08 +0300 Message-ID: Subject: Re: New driver for ESI Juli@ soundcard (copied from freebsd-drivers) To: =?UTF-8?B?0JDQu9C10LrRgdC10Lkg0J/QsNC70Y7RgtC40L0=?= Cc: freebsd-current X-Rspamd-Queue-Id: C1028827B8 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=TA+zDbzL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vladislavmovchan@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=vladislavmovchan@gmail.com X-Spamd-Result: default: False [-6.70 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; 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.93)[-0.934,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)[-1.000,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)[3.3.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(-2.76)[ip: (-8.26), ipnet: 2607:f8b0::/32(-3.13), asn: 15169(-2.34), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Fri, 28 Jun 2019 18:09:28 -0000 Everything works well with ESI Juli@ XTe (PCIe version of the soundcard). The only uncommon thing I noticed is a bit different behavior of the default mixer: "pcm" mixer device is absent, so it is necessary to use "vol" instead. And mplayer (default player I use) reports: [Mixer] No hardware mixing, inserting volume filter when I change volume by means of mplayer. After I added "mixer-channel=3Dvol" into ".mplayer/config" file mplayer behavior back to normal. So I'm happy :) Thanks a lot for your work. On Mon, Jun 24, 2019 at 6:03 PM =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9 = =D0=9F=D0=B0=D0=BB=D1=8E=D1=82=D0=B8=D0=BD wrote: > Good day everyone! > > I was advised to copy this message here from freebsd-drivers@. > Hope this will be useful. > > --- > > I want to share with the community a new driver for ESI Juli@ PCI > soundcard. > FreeBSD already offers support for such card, but this support is very > limited and device is almost unusable. > Since I like high-quality audio hardware (like Juli@ cards), time was > spent writing a new, full-featured driver for it. > The proposed driver supports playback, recording, MIDI, pass-through > channel, clock control, ACPI... > Also, the driver can be controlled with convenient GUI control panel, as > through sysctl(8). > > I hope this work was done for a reason and will be useful to someone else= . > > I have been using this driver successfully for some time, but there may b= e > bugs, so more testing is required. > It would be great if there were those who wanted to download, test it, an= d > share results. > > Driver page: https://sndbro.ru/soft/snd_juliet?lang=3Den > Control panel page: https://sndbro.ru/soft/mixate-juliet?lang=3Den > _______________________________________________ > 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= " > --=20 Have a nice(1) day, Vlad Movchan From owner-freebsd-current@freebsd.org Sat Jun 29 15:31:18 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2CA215DE8C3 for ; Sat, 29 Jun 2019 15:31:18 +0000 (UTC) (envelope-from ap@sndbro.ru) Received: from mail.telecomgroup.ru (mail.telecomgroup.ru [195.178.201.78]) by mx1.freebsd.org (Postfix) with ESMTP id 569BB81567 for ; Sat, 29 Jun 2019 15:31:16 +0000 (UTC) (envelope-from ap@sndbro.ru) Received: from box (p-alexei.starlink.ru [94.141.168.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.telecomgroup.ru (Postfix) with ESMTPSA id 0B1D0D02F0A; Sat, 29 Jun 2019 18:31:02 +0300 (MSK) Date: Sat, 29 Jun 2019 18:29:40 +0300 From: Alexei Palyutin To: Vlad Movchan Cc: freebsd-current@freebsd.org Subject: Re: New driver for ESI Juli@ soundcard (copied from freebsd-drivers) Message-Id: <20190629182940.600e1a585b174ee01221ffba@sndbro.ru> In-Reply-To: References: <20190624174432.1cdae0b7d672b6e17d2804a2@sndbro.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.101.2 at mail.telecomgroup.ru X-Virus-Status: Clean X-Rspamd-Queue-Id: 569BB81567 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.57)[-0.568,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.54)[0.543,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sndbro.ru]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.telecomgroup.ru]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.29)[0.292,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5429, ipnet:195.178.192.0/19, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[country: RU(0.01)]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Sat, 29 Jun 2019 15:37:01 +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: Sat, 29 Jun 2019 15:31:18 -0000 Glad to hear that Juli@ XTe also works fine! Thank You for Your feedback! Indeed, it is more logical to use "pcm" device instead of "vol", since "vol" is designed to control so-called "master volume", not implemented in Juli@. But mixer(8) tries to adjust this "vol" by default, if invoked without device name (mixer 75). It's not difficult to replace "vol" with "pcm" in the driver, but then invocation of mixer(8) as shown above, will result in error "mixer: MIXER_READ: Device not configured", since it assumes "vol" by default. In this case "pcm" device must be explicitly specified every time (mixer pcm 75), I think this is inconvenient. It woult be nice if there were a flag, driver developer can use to indicate "pcm" is default instead of "vol", but I know nothing about such abilities. --- On Fri, 28 Jun 2019 21:09:08 +0300 Vlad Movchan wrote: > Everything works well with ESI Juli@ XTe (PCIe version of the soundcard). > The only uncommon thing I noticed is a bit different behavior of the > default mixer: > "pcm" mixer device is absent, so it is necessary to use "vol" instead. And > mplayer (default player I use) reports: > [Mixer] No hardware mixing, inserting volume filter > when I change volume by means of mplayer. > After I added "mixer-channel=vol" into ".mplayer/config" file mplayer > behavior back to normal. So I'm happy :) > Thanks a lot for your work. > > On Mon, Jun 24, 2019 at 6:03 PM áÌÅËÓÅÊ ðÁÌÀÔÉÎ wrote: > > > Good day everyone! > > > > I was advised to copy this message here from freebsd-drivers@. > > Hope this will be useful. > > > > --- > > > > I want to share with the community a new driver for ESI Juli@ PCI > > soundcard. > > FreeBSD already offers support for such card, but this support is very > > limited and device is almost unusable. > > Since I like high-quality audio hardware (like Juli@ cards), time was > > spent writing a new, full-featured driver for it. > > The proposed driver supports playback, recording, MIDI, pass-through > > channel, clock control, ACPI... > > Also, the driver can be controlled with convenient GUI control panel, as > > through sysctl(8). > > > > I hope this work was done for a reason and will be useful to someone else. > > > > I have been using this driver successfully for some time, but there may be > > bugs, so more testing is required. > > It would be great if there were those who wanted to download, test it, and > > share results. > > > > Driver page: https://sndbro.ru/soft/snd_juliet?lang=en > > Control panel page: https://sndbro.ru/soft/mixate-juliet?lang=en > > _______________________________________________ > > 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" > > > > > -- > Have a nice(1) day, > Vlad Movchan -- Alexei Palyutin