From nobody Mon Mar 25 02:11:01 2024 X-Original-To: freebsd-stable@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 4V2xHm1w5yz5F22y for ; Mon, 25 Mar 2024 02:11:16 +0000 (UTC) (envelope-from chris.torek@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V2xHl4CjGz424g for ; Mon, 25 Mar 2024 02:11:15 +0000 (UTC) (envelope-from chris.torek@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Zv6RTUO5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chris.torek@gmail.com designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=chris.torek@gmail.com Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-5157af37806so4527212e87.0 for ; Sun, 24 Mar 2024 19:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711332673; x=1711937473; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=KkcWNew7VDJMdyQPaYiEwlPDmz8jgVu2AtabOf4JOj0=; b=Zv6RTUO5IJDFEY1gGEpio15o05vhe4aID2mvCinDM3gSmNp+DcFFI+2Ne/W6C2wMpC wfTTcE0qPj4qy1feqDZiUj9NXBauyKmdhbUPBbPp9S12BdmcVSSgKmcmBXDXpZYnmF8K O1Ua9nlCdsyQ6ZHVM0XTYHEwKlGbq/Y34H5OgBnx0klYu3Mq/GfdfF/6gOYuYnpGfM9h t9QzuKizhmbDkEjq+OJSnUaa7LBvsWkYRoKeFp5NoOQ1ViLVMebV7AeM8piMBFYL8gvW PqpT5CLD5bOPf/i7F6z4tWmQsh+vyDH4DIMgzXLwlaoVvkSXFTG47pPbw7snfoVukRDi TVxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711332673; x=1711937473; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KkcWNew7VDJMdyQPaYiEwlPDmz8jgVu2AtabOf4JOj0=; b=qqyniRsNjc+oU99vADIhhPofzPQp8G3N7HEGm4GZVH64aMF5xj+QRAW110zRsDv5Ts EtLrNsASELhZTryx3NduB1bE7s7i0JN6LFlUN5wnnYNKepoSbCyddiv95hoJPhrxK+jn QqVu49q6pfWGRNRipYbMK+MeglyoiMX84C6lXlbfygueQgf7LCU9oFQ8FOxzVx3Cr816 6hi8vx6B9ha7eg9CUzvTVyrngPSJFfxbpSGL2YLFGaDPn8L9gwT26U9HjOkBihM4VZIN haDBvIEPpNSm7HrgCussBs9pCLGvXvQyrDxMGd1AVGH7Y0NFiwDBvMBPIbefHSRseES5 TycA== X-Gm-Message-State: AOJu0YwGygUUgcsv4J3E+Mb4n8ZVwgvCBau97AFt8rOZHqnbdOKl+AZ7 UT4+ljHuegxHW0L4n2QrWYv4ci7Ko19uQBNGxZ9P+UU5j8b9AZUx6XMScGnQMr2hXo7cB579WPq 8UlFZmc6hs2bBOfU2rn5QqpNvSm7ya8rlOUY= X-Google-Smtp-Source: AGHT+IEVJxk+QJBQ7YRPY4Bwh8/HIIl7xJoWHjUvfcF7uE+YFF1YlRT4VM8Q76KD1PNoNErI0d9bLtjWF/GT6bHUaKc= X-Received: by 2002:ac2:5464:0:b0:513:dd59:bb3d with SMTP id e4-20020ac25464000000b00513dd59bb3dmr3462794lfn.20.1711332673036; Sun, 24 Mar 2024 19:11:13 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 From: Chris Torek Date: Sun, 24 Mar 2024 19:11:01 -0700 Message-ID: Subject: 14-stable on AMD7950X: Good and bad news To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.37 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.37)[-0.366]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::130:from] X-Rspamd-Queue-Id: 4V2xHl4CjGz424g I built and booted up the latest 14-stable tree on my AMD7950X machine: Good news: the mysterious AHCI adapter problem is gone, presumably because of the new PCI range allocation code. So now both sets of SATA ports work (at least, the drive I've left plugged in to the previously-failing port now shows up). Bad news: building drm-61-kmod, then loading amdgpu.ko, causes a crash. The immediate problem is that vm_phys_fictitious_unreg_range() does this: rw_wlock(&vm_phys_fictitious_reg_lock); seg = RB_FIND(fict_tree, &vm_phys_fictitious_tree, &tmp); if (seg->start != start || seg->end != end) { At line 1115, `seg` is NULL, so we die with a kernel segfault. It's probably a good idea to add a NULL test here since RB_FIND can return NULL. (Presumably just stick `sig == NULL ||` in front of the start/end tests.) It's not clear why the unregister is failing though, as the drm code seems correct at first glance. It *is* clear why it's unregistering, though, as the console printed: drmn0: could not load firmware image 'amdgpu/psp_13_0_5_toc.bin' and the expected subsequent cleanup messages (and now I've run out of Stuff I Just Know Off-Hand at this point so I'll have to dig into this more). Chris