From nobody Mon Jun 9 21:29:10 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bGQ6M5Wl8z5yWlM for ; Mon, 09 Jun 2025 21:29:15 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bGQ6L2dVlz42h4 for ; Mon, 09 Jun 2025 21:29:13 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=troutmask.apl.washington.edu header.s=troutmask header.b=NGzNlY1O; 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; dmarc=fail reason="No valid SPF" header.from=washington.edu (policy=none) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.18.1/8.18.1) with ESMTP id 559LTBuc078673; Mon, 9 Jun 2025 14:29:11 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) DKIM-Filter: OpenDKIM Filter v2.10.3 troutmask.apl.washington.edu 559LTBuc078673 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=troutmask.apl.washington.edu; s=troutmask; t=1749504551; bh=tZTk4gRwmvyJKI+Sv3DSZ9eS1BocbXdVsS5sX6TlUrw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=NGzNlY1OEE4x2VmX9tRGcuzfAvujlgbDQlC59ga4lJkMV2dx85dqTA0Xnmq9tDZGa /NVkJs55fWRm9yYqISNw0cmwhXjx442Njbf8p6l6wN2n5VFprA4iyabzPe/9znQAVB tv05BlQzxfko32ju5dZCkfWbHrGbkD6zcwy5jzSmykv0vTgA48dk53lvBhIdDK88j/ 86iOUk0ls4Bo8f6z8oMKSPC6UQKFj2/zLlPv17sQWzKlz02a8CJP2Gc4nvH0Z4YFdH u0gMlMEp5Iq69JtMj1EhWsfLGJlnYIPAdQ8m7V0ijxv8SOcnFVckoWgWi7leD8IpVz 5ST1gDF8Q2mkA== Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.18.1/8.18.1/Submit) id 559LTBCp078672; Mon, 9 Jun 2025 14:29:11 -0700 (PDT) (envelope-from sgk) Date: Mon, 9 Jun 2025 14:29:10 -0700 From: Steve Kargl To: Steve Kargl Cc: freebsd-current@freebsd.org Subject: Re: drm panic after new world Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: <4699f48c-f042-46fe-8f9a-419e86d51f58@comcast.net> <8605cb6d-4121-4733-bc5f-c66c6358ea04@comcast.net> <1qr36rs2-149o-574s-sp5o-8sno8o600o94@serrofq.bet> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.06 / 15.00]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; NEURAL_HAM_LONG(-0.95)[-0.950]; NEURAL_HAM_SHORT(-0.93)[-0.928]; RCVD_IN_DNSWL_MED(-0.20)[128.95.76.21:from]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF,none]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_PERMFAIL(0.00)[troutmask.apl.washington.edu:s=troutmask]; FREEMAIL_TO(0.00)[comcast.net]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[troutmask.apl.washington.edu:~]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu] X-Rspamd-Queue-Id: 4bGQ6L2dVlz42h4 X-Spamd-Bar: --- On Fri, Jun 06, 2025 at 07:29:27PM -0700, Steve Kargl wrote: > > I've narrowed the range to > > Good: 2025-04-24 9b2a503a1179 - main - e6000sw: add support for 88E6190X > Bad: 2025-04-29 6c3a4b5f9b7b - main - alloca.3: move to share/man/man3 > > Good means boots and startx does not panic. dump_stack() in evergreen.c > reports one initialization event. > > Bad means boots and startx panics. dump_stack() in evergreen.c shows that > radeon is trying to initialized twice. > > The commit 28efbf9d2f67 is within this range, but I've run out of time > until monday. > Coming full circle. Comment #19 from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287165 I found it. It's markj's commit about jiffies. The four consecutive commits are 4fa275a5f357 -main- queue(3): Add simple tests for... Olivier Certner 325aa4dbd10d -main- linuxkpi: Introduce a properly typed jiffies Mark Johnston 901256f6ea3c -main- mlx5: jiffies is unsigned long Mark Johnston 87e57632bf88 -main- ofed: jiffies is unsigned long Mark Johnston 4fa275a boots, I can kldload radeonkms.ko, and startx brings up my desktop. In fact, I'm typing this in firefox at the moment. There is only dump_stack() message from evergreen.c 87e5763 boots, I can kldload radeonkmd.ko, and startx causes a panic. My custom kernel uses neither mlx5 nor ofed. That leaves 325aa4d as the commit causing an issue. There are two dump_stack() message from evergreen.c in /var/crash/core.txt.3 -- Steve