From owner-freebsd-current@freebsd.org Sun Jul 7 16:54:33 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 90F0215E8539 for ; Sun, 7 Jul 2019 16:54:33 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 580498DDB5; Sun, 7 Jul 2019 16:54:32 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x67GsUeq050562 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 7 Jul 2019 09:54:30 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x67GsTnU050561; Sun, 7 Jul 2019 09:54:29 -0700 (PDT) (envelope-from sgk) Date: Sun, 7 Jul 2019 09:54:29 -0700 From: Steve Kargl To: Hans Petter Selasky Cc: Ian Lepore , freebsd-current@freebsd.org, takawata@freebsd.org Subject: Re: Someone broke USB Message-ID: <20190707165429.GA50543@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190706182301.GA45149@troutmask.apl.washington.edu> <770bc251-7d0f-d56f-6b86-89245b79945f@selasky.org> <20190706194124.GA45536@troutmask.apl.washington.edu> <8ccf4066-7edc-e8c3-d669-16f649ec03c2@selasky.org> <20190706210613.GA45709@troutmask.apl.washington.edu> <4d866257df0aa0a671973555b4a9a0eb27088d5c.camel@freebsd.org> <20190706231453.GA46470@troutmask.apl.washington.edu> <20190707080510.GA48223@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: 580498DDB5 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.44 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.53)[-0.533,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[washington.edu]; AUTH_NA(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.63)[0.628,0]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; NEURAL_SPAM_MEDIUM(0.46)[0.463,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.01)[ip: (0.07), ipnet: 128.95.0.0/16(0.07), asn: 73(-0.13), 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, 07 Jul 2019 16:54:33 -0000 On Sun, Jul 07, 2019 at 11:53:27AM +0200, Hans Petter Selasky wrote: > On 2019-07-07 10:05, Steve Kargl wrote: > > On Sat, Jul 06, 2019 at 04:14:53PM -0700, Steve Kargl wrote: > >> On Sat, Jul 06, 2019 at 03:08:13PM -0600, Ian Lepore wrote: > >>> > >>> It seems almost certain to be r349161 that causes the problem. > >>> > >> > >> I've backed out the change, and the buildkernel is currently > >> running. It won't finish for an hour or so (old hardware and > >> rebuilding another project). > >> > > > > I can confirm that r349161 is the cause of my problem. > > > > Hi, > > Can you try the latest -current with: > debug.acpi.disabled="usb" Reverting my tree to include r349161, updating to top-of-tree, the new kernel boots and USB works if the above sysctl is set. > > In /boot/loader.conf ? > > Also can you dump the ACPI tables: > acpidump -dt > dump.txt This a 7720 line, 262KB file, do you want me to send it to you in private email or put in my home directory on freefall (i.e., kargl@freefall.freebsd.org). > > In the failing and working case can you show the differences in output from: > devinfo > Here's the diff when r349161 was revert (devinfo.working) and top-of-tree with the sysctl set. --- devinfo.working 2019-07-07 08:48:26.906454000 -0700 +++ devinfo.acpi_disabled 2019-07-07 09:44:09.225520000 -0700 @@ -1,8 +1,8 @@ nexus0 + cryptosoft0 vtvga0 apic0 ram0 - cryptosoft0 acpi0 cpu0 acpi_perf0 @@ -67,10 +67,10 @@ uhub3 uhci1 usbus1 - uhub6 + uhub2 ehci0 usbus2 - uhub2 + uhub5 hdac0 hdacc0 hdaa0 @@ -89,7 +89,7 @@ uhub1 uhci3 usbus4 - uhub5 + uhub6 ukbd0 ums0 uhid0 -- Steve