From owner-freebsd-current@freebsd.org Wed Aug 14 08:12:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2F1ACADCC for ; Wed, 14 Aug 2019 08:12:00 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 467j3h0rF7z3xtL; Wed, 14 Aug 2019 08:11:59 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pf1-f196.google.com with SMTP id g2so53134345pfq.0; Wed, 14 Aug 2019 01:11:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=q8w5TSLccUEw/ER/WXes4RKUfapshyOgydTQSmNcqoo=; b=F8U6/4SgN5bwawqrUWM/BzPytKFgY//U6lM+sBzh5PaOl7FrztxaO88c8dwtJXqWst qnhLOs4ZZN7z7DbTy9ogk9zAGIZcLJvbrSsn579RCToWhQBUN9jF+bG7hRIZX7UImzU8 Y6NK/AKdt2lC/fv0owem/Ak0PKmAHA9JEbfwU1r1XmQm0jotAIwpWtUe0cQJq6CIe/kj om1Xhzw0Gt49ilNlG/sF+DhKh6suhTivwpcO4nFBg8YDkD+Mt6P44iHFFFJVT/dArYVP YU6+wjTNU2VYYgen3V5V7Xl++Mx2rBCs3+YTit7aEJ4bxNEyuGGDb5d53N9Fmv6NJQOc KslQ== X-Gm-Message-State: APjAAAW0DuFXIK6dtGC7AtA7t/LYiIsL1azkAsbu5p3Cx+2aNrP5MSOE Z+rw8/b5vlDdUIb5cQL2umDWoJ2qunc= X-Google-Smtp-Source: APXvYqw98WRxZkjewtlJCyUEVLDjVKKE7OS8B28T1g2VbuUC1yIyYbTorFy6mrK2boyWrEPnLNx1Wg== X-Received: by 2002:a62:8648:: with SMTP id x69mr17452359pfd.92.1565770317858; Wed, 14 Aug 2019 01:11:57 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-193-12.atc.tvcom.ru. [82.140.193.12]) by smtp.googlemail.com with ESMTPSA id c13sm11526360pfi.17.2019.08.14.01.11.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Aug 2019 01:11:56 -0700 (PDT) Subject: Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133) To: Hans Petter Selasky , Scott Long , Nick Wolff Cc: "Clay Daniels Jr." , "Rodney W. Grimes" , lausts@acm.org, freebsd-current@freebsd.org, Jung-uk Kim References: <201907300011.x6U0BO8w046636@gndrsh.dnsmgr.net> <98c2c54e-6d77-4cca-78d5-fcffeb65b80c@selasky.org> From: Andriy Gapon Message-ID: Date: Wed, 14 Aug 2019 11:11:53 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <98c2c54e-6d77-4cca-78d5-fcffeb65b80c@selasky.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 467j3h0rF7z3xtL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.210.196 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-2.65 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RWL_MAILSPIKE_GOOD(0.00)[196.210.85.209.rep.mailspike.net : 127.0.0.18]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; RCPT_COUNT_SEVEN(0.00)[8]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[12.193.140.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[196.210.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.16)[ipnet: 209.85.128.0/17(-3.37), asn: 15169(-2.39), country: US(-0.05)]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2019 08:12:00 -0000 On 13/08/2019 16:31, Hans Petter Selasky wrote: > 1) AcpiUtAcquireMutex() doesn't support recursion, but also fails to > report an error when such a condition is occurring. Here is the > backtrace of the illegal mutex recursion. I have an old patch that replaces hand-rolled ACPI platform primitives with thin wrappers around the standard kernel primitives. It covers locks and memory allocation. I don't recall what objections there were when I originally proposed that change. I still think that it is a good idea. The kernel code has quite a bit more testing and tooling around it than the ACPI-only things. -- Andriy Gapon