From owner-freebsd-current@freebsd.org Fri Dec 6 21:39:02 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C1D01B7291 for ; Fri, 6 Dec 2019 21:39:02 +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 47V5ZF0wdlz3wbD for ; Fri, 6 Dec 2019 21:39:00 +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 xB6Lcx81011510 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 6 Dec 2019 13:38:59 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id xB6LcxGe011509; Fri, 6 Dec 2019 13:38:59 -0800 (PST) (envelope-from sgk) Date: Fri, 6 Dec 2019 13:38:59 -0800 From: Steve Kargl To: "Bjoern A. Zeeb" Cc: freebsd-current@freebsd.org Subject: Re: USB causing boot to hang Message-ID: <20191206213859.GA1897@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20191206202316.GA1053@troutmask.apl.washington.edu> <603953FF-62C2-4773-B6EB-18305F9F1E7F@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <603953FF-62C2-4773-B6EB-18305F9F1E7F@lists.zabbadoz.net> User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47V5ZF0wdlz3wbD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none); spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [-2.22 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.22)[ip: (0.06), ipnet: 128.95.0.0/16(-0.28), asn: 73(-0.85), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2019 21:39:02 -0000 On Fri, Dec 06, 2019 at 09:32:01PM +0000, Bjoern A. Zeeb wrote: > On 6 Dec 2019, at 20:23, Steve Kargl wrote: > > > I updates /usr/src to r355452, and updated by kernel and > > world. Upon rebooting, verbose boot messages susgests > > the system is hanging when USB starts to attach. With > > the 3-week kernel verbose boot shows: > > > > ... > > pcm4: at nid 30 on hdaa1 > > pcm4: Playback: > > pcm4: Stream cap: 0x00000005 AC3 PCM > > pcm4: PCM cap: 0x000e05f0 16 20 24 bits, 32 44 48 88 96 192 > > KHz > > pcm4: DAC: 6 > > pcm4: > > pcm4: nid=30 [pin: SPDIF-out (Grey Jack)] > > pcm4: + <- nid=6 [audio output] [src: pcm] > > pcm4: > > pcm4: Mixer "vol" -> "none": child=0x00000010 > > pcm4: Mixer "pcm": parent="vol" > > pcm4: Soft PCM mixer ENABLED > > pcm4: Playback channel set is: Front Left, Front Right, > > pcm4: Playback channel matrix is: 2.0 (unknown) > > usbus0: 5.0Gbps Super Speed USB v3.0 > > usbus1: 12Mbps Full Speed USB v1.0 > > ... > > > > end with a prompt on the console. With today's kernel, > > boot is hung after the last pcm4: message and no usbus0 > > is displayed. > > > > The booting kernel/system is a > > > > % uname -a > > FreeBSD 13.0-CURRENT #1 r354658: Wed Nov 13 11:23:32 PST 2019, amd64 > > > > Again, the failing kernel is r 355452 > > I think I have seen this on around r355101 already in case it helps > narrowing things down. I didn’t need USB and a few other things so I > removed them from the kernel config, which helped. Yes, it's in that neighborhood. I'm in the middle of a binary search for the commit. Fortunately, there is only about 1000 commits between my last good kernel and the failing one. -- Steve