From nobody Mon Jul 21 17:20:09 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 4bm6bx6DzVz62tRq for ; Mon, 21 Jul 2025 17:20:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm6bw3z1Wz3chm for ; Mon, 21 Jul 2025 17:20:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=R8CRroWV; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1031) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-313bb9b2f5bso4698847a91.3 for ; Mon, 21 Jul 2025 10:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753118422; x=1753723222; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=My7bEgt9+0E+Ht0iaAtr1h3bH9Q/m7jcMDwxiPl+vec=; b=R8CRroWVyl+bR13bG+3gUG7G1YSEEjvSXwt4jg2WMhdk/QHVqu8STX0RAqnZRreazv IGKOL3BVrv90hdFCPyzj7YXWrBSj605b7o0SQyTgrABfTfIIeKp9+11E84xwssGqCfKz e3cI+pfuAI83rDPVHzJw2W030ebNaizHCE31/BxhZZX5FShj7SkmrQwo2JtSyYGkpTbG nQTAtw+wExPjlPrhVWL5qhAjF9m/R24CNBR/+8t1lVgjR6LvFzjvwEOEti3Wuwz7lNfZ q4dWH+7w0Ob8CHseyP1vlyhgnVqwfK8/pV3jRb1uzsmmjumTsWGRvyWnFbv7ZzyiSjh7 m5GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753118422; x=1753723222; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=My7bEgt9+0E+Ht0iaAtr1h3bH9Q/m7jcMDwxiPl+vec=; b=wpMsOMT2bVHWaX4y1/TKk3Uie9tM6UJSrl9r4kSUyG3mxx6i+Xnia8HstaWsgYx5oN zbLe9jnxT0fD+NyOBBmP38cHlX4EK+5akyC6z49CiRXRq7INXBzg2MX8cLFXTCOGl8oa ns2vQ059JrCf93Nz4iIhNH04MVkt9/LMNy/35FodIkdYMcLwGmznzxMiEwVu5uAqKTiY 0AnThIC0HB+6lep4BW7VP/c3gtCb8FQ7vq6gtyel0WWwYSmmFAyCA+I10FKxOZUKqWBY tirKa0SZk6nGGsUPpFV0CKYpU6M92dAwYmlMVTMV47XKHqRluMnE67m1GC26696ATMi3 nAAA== X-Gm-Message-State: AOJu0Yw+NU/NMRjOVNOX4zqkL2vD0t6EAv4wbnk6Jjh6vbJ/CqcqExOh WKktTOa1mEbsj6KdaqGYbIGQJRVTuS7H7fSNAI+V7JpvTCWR3RX4TtOPgLcgKhkede7PPQyhVjb n0DCDKjidVd8VIKeMi6F6YzeAB7Zc+AL5caS0hiSUIvTPeclKFEmhUnpU4g== X-Gm-Gg: ASbGncvuRoZFP+VWBRA4nGO4Pqcdq5R1aibzXTz8K0tRAmit0stdVq61Ka2431Y4Z2k iydRlEvNXgtBVFdQVEKGEpe402ZegmdOoj5JJguCyWC+BatrfrWleTy2y8fkr63ZYUVf6yDuR00 5UbcyjEPDTZHTpOGFDu7WRcK40orbWMzQzuRwkcI6zFhSb4uVYGHX4FgeZOTls+qUXuNUF73poe 8Us0f8= X-Google-Smtp-Source: AGHT+IHpuoFSuQZhUFKA/zIcepC0iNmMAbIbQasc/FLXkoHoE6Zf5mAzTcV2G/nm2nKeDMiAYRsnCw5j8oH5K7D7NFE= X-Received: by 2002:a17:90a:c884:b0:311:ad7f:329f with SMTP id 98e67ed59e1d1-31caf921df8mr24697707a91.31.1753118421549; Mon, 21 Jul 2025 10:20:21 -0700 (PDT) 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 From: Warner Losh Date: Mon, 21 Jul 2025 11:20:09 -0600 X-Gm-Features: Ac12FXzp1-3ar65bOkAe6vX1UzZ5nJE4r80UG9czvAsxGlYHpBotgXh6HzJBsuE Message-ID: Subject: FreeBSD 15 snapshot with UFS Flash To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.97)[-0.966]; NEURAL_HAM_LONG(-0.83)[-0.830]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bm6bw3z1Wz3chm X-Spamd-Bar: -- Greetings, Recently, I bought a system with 256 of UFS flash (UFS here is Universal Flash Storage, a system that presents flash to the host as a SCSI device). I grabbed the latest snapshot (15.0 20250718) and put it on a USB stick. It just worked, though there's a couple of rough edges I'll document here. To boot and install, I needed disable SECURE BOOT so I wouldn't boot into windows. I did that by pressing and holding as the system booted and disabling in the Security section. I had a Minisforum S-100 system with 256GB (https://refurbished.minisforum.com/products/minisforum-s100-refurbished may have the 128GB version). Once I disabled secure boot, I selected the USB stick to boot. FreeBSD came right up. However, the ufshci library isn't in the GENERIC kernel yet, and devmatch didn't automatically load it for me. So I had to stop at the first prompt to get a shell, 'kldload ufshci' and then 'gpart destroy -F da1' to remove the windows install. I then did a normal ZFS guided install. Once I got done with all that, I had to edit /boot/loader.confg to add 'ufshci_load=YES' at the end before I rebooted. And my system was good. If you forget, you can load /boot/kernel/kernel, /boot/kernel/zfs.ko and /boot/kernel/ufshci.ko at the command prompt in the loader. This was all way less pain than I'd prepared for. The system is decently fast, but nowhere near as fast as my server machines. I've not yet tried to put a X11 on it, since I still need it for UFS testing for future submissions and to fix a couple of rough edges for a few things I've done in CAM before 15.0 goes out the door. Warner