From nobody Mon Jan 8 12:49:59 2024 X-Original-To: freebsd-questions@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 4T7v6L1dCKz55btR for ; Mon, 8 Jan 2024 12:50:02 +0000 (UTC) (envelope-from rockyhotas@post.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.com", Issuer "GeoTrust TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T7v6K1y9hz3wYd for ; Mon, 8 Jan 2024 12:50:01 +0000 (UTC) (envelope-from rockyhotas@post.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=post.com header.s=s1089575 header.b=IWjuyKve; dmarc=pass (policy=none) header.from=post.com; spf=pass (mx1.freebsd.org: domain of rockyhotas@post.com designates 74.208.4.201 as permitted sender) smtp.mailfrom=rockyhotas@post.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=post.com; s=s1089575; t=1704718199; x=1705322999; i=rockyhotas@post.com; bh=j9QlvVhDsx3F5l82lQB+L9LlspB+/OpriYYwNHCA8qw=; h=X-UI-Sender-Class:From:To:Subject:Date; b=IWjuyKve2P3Pk0NMOBY2w36CeDMrsU9uBVPlELaWgncxc6NzpVf5AXdUNF1gr3tw GaNQ5fKr1WMUbshgAP2h4ZZSVY3KMTar8T/nozr/7Bh/FVrUZ9xBrvke9y1kAP9A6 jN7+cn9kg12w7oCRk9pCs/dMrS6LEefbL/s8GaQCy4p1B9t9YarTGtXZNvCraFYLo JRX1av9J9w7llWgKUMtrOqsSdX2IV88ZIUt5qw6HzmchUMPNyYet97opAVNOowi9Y ESpbZS2PXRXmS2mnNi6Ao8D6OJ9TKwKIHMP+8kPYwnHcJEr/wwlPVf13qH4bHSPh5 M7isqvPUBO0FXmoDOw== X-UI-Sender-Class: f2cb72be-343f-493d-8ec3-b1efb8d6185a Received: from [91.81.140.248] ([91.81.140.248]) by web-mail.mail.com (3c-app-mailcom-lxa03.server.lan [10.76.45.4]) (via HTTP); Mon, 8 Jan 2024 13:49:59 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: From: Rocky Hotas To: FreeBSD Questions Subject: auth.log error with nss-pam-ldapd in LDAP client Content-Type: text/plain; charset=UTF-8 Date: Mon, 8 Jan 2024 13:49:59 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:Zdk4NhhhyvmA+IiWNQ5/qF7G/keOz4XXLVBGWXZ6v42FxUib8HABHfU/BYuzCmogLL9X1 g7Lk+3VsqHw4D0ofgD02Gns4JYZbTeSAjST7mRGy7x3V/vBC+oYdnimzysB/zkpE70oVrrQBxCTj hJLGbF3OeeK7TToXLfGeVn5W1A4GVfNxQBwUu7m/jBFqUZXztasYXFpPhbIk57KWch/mwM6wTJ5L b5nANTSIymwRHv8/xKj7VNIEMUN2/q9jfKJNJjT67s/cyjQhtkIaD/yZHjLuxoN658D/CfOh3enm Xk= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:3kjxCPsxHlc=;R87lR/ajOgXFVilyg9nhlnkuRUB IwVsgMGdaKfM4j9N6ST9yLkj1/IKJXCnPWzAchALv9pSmV7oz/vyiw5wFhxvgBTorYCslqhQC 5M45lpZUFrRr/eCYqFadfxbcAdjQJqi8ZObn23CZq8eYkEnZSl/Cp1tZjgJ21w55jCo4AaV2x xbcTV5L2JILK9iUAfhikbXKoQGtZ47h4KXb0CpZQcbc0BCMbkuT9oJy6MPL1r0vymR8xiQ1Qb ye4GSdi4kuLyuSWuaOptPpC5oksRR6TQwIN8HnmD0Ek2OFqukSgeDX9m4mR5FKfxsjN09rls+ 5CilA/Ze2vpquTSkaVXyD9wBL0lmY3LfWXbP/QekUcA3aGJK7IK5gpqy47qXD0HjUnClntVOe G22A6ecbNkjDwNSnlnYVA0ci8ri1nBr1GVS2fmtKlWoJcCFMBppAvAOCN8a6Y4HrDH6EVScQz lDLKmh/yJGjz785ZG+MGAspc8vHB3PyEdlHXMpYyLGkH2rJrXgzCQBXrfmYgEENCxUeK17fMF rGufRdXp7Pv9AvVshGKKF9NWOMwh9UrTP134hCbBCVm0QjczNPt7cK0jKTmjP5y3yqDQLJgLK oSoKBjuosSiJXNGwteBjMd0pRV0DNu9unraKeTx8ha3eF6rxsqlLVoOF52RroZPDiJaEQ7u9/ z1/8MTFHBTbrfMAw/1Sr/LohFLZoj0lIOAHYZL+smqdRRcjdyxmcOJax5xPFdIRzq09APTy7x wT+Fw8GF1j6doU+ZJ0fAMFB/dCkpecE8rhcqixNpy7ECTUFYN4oHJbF0+CBokwN2BKvPznr0j 9M9pC8mfjrmMNLKA1i+duC543a/Zv9J5eDtbCUtzl9n0E= X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; NEURAL_HAM_SHORT(-0.80)[-0.803]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[post.com,none]; R_SPF_ALLOW(-0.20)[+ip4:74.208.4.192/26]; R_DKIM_ALLOW(-0.20)[post.com:s=s1089575]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[74.208.4.201:from]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[post.com]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[post.com:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[74.208.4.201:from]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:8560, ipnet:74.208.0.0/16, country:DE]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[post.com] X-Rspamd-Queue-Id: 4T7v6K1y9hz3wYd Hello! I am trying to configure the package nss-pam-ldapd in FreeBSD 14.0-RELEASE to have an LDAP client and LDAP authentication on a host examplehost. The same host is also the LDAP server and it is running openldap26-server-2.6.6. I followed all the steps related to FreeBSD in the package author's documentation: (or at least I hope so!). If I run: $ ldapsearch -x -b 'dc=examplehost,dc=domain' '(objectclass=*)' I obtain some of the items stored in the LDAP database (even if not all of them: is this normal?). So, the client somehow seems to work. But there are two oddities. 1) In the output of `getent passwd' the LDAP users are listed, but this is a local user entry: localuser:*:1001:1001:Local User:/home/localuser:/bin/csh while this is an LDAP user entry: ldapuser:x:10001:10001:LDAP User:/home/ldapuser/:/usr/bin/csh The second field is a `*' in the first case, while it is `x' in the second case. Is this relevant? Users are stored in the LDAP database as objectClass: posixAccount objectClass: shadowAccount and their passwords are stored in the user entry as userPassword: {SSHA} 2) I tried to configure /etc/pam.d/sshd for LDAP authentication as follows: auth sufficient /usr/local/lib/pam_ldap.so minimum_uid=10000 use_first_pass auth required pam_unix.so no_warn try_first_pass account required pam_nologin.so account required pam_login_access.so account sufficient /usr/local/lib/pam_ldap.so minimum_uid=10000 account required pam_unix.so session required /usr/local/lib/pam_mkhomedir.so session required pam_permit.so password required pam_unix.so no_warn try_first_pass Despite this, if I try to log into the system remotely as an LDAP user, $ ssh ldapuser@examplehost (ldapuser@examplehost) Password for ldapuser@examplehost: even before typing the password, in /var/log/auth.log of examplehost this line appears: Jan 8 13:30:45 examplehost sshd[34445]: failed to get password: Authentication error How is it possible? What is wrong with this configuration? With openldap24-client this /etc/pam.d/sshd worked. Bye! Rocky From nobody Mon Jan 8 18:19:03 2024 X-Original-To: freebsd-questions@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 4T82QD6MC3z56KXQ for ; Mon, 8 Jan 2024 18:19:16 +0000 (UTC) (envelope-from mail@souji-thenria.net) Received: from alisa.souji-thenria.net (alisa.souji-thenria.net [188.68.37.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T82QD35xwz44NG for ; Mon, 8 Jan 2024 18:19:16 +0000 (UTC) (envelope-from mail@souji-thenria.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=souji-thenria.net; s=20231116; t=1704737946; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OspcFE+2zXbWAaAmW7UC+4OPcdx4eZPLvxl5isG5ejw=; b=nrhNBsQPYudoNgXH5xI9mEurf7w8BKFCw74l53A9XT+JXpir/N4HVb7eD7Xx//ckngif5d YoX0H57T8WRQRSom0Woh1Rl0DWiwVzPhuKCVwcrUWLynyAWAnbANf4XSW0JgBaowkBYJBF MYvYJDV6UNCJg6LRymVaxCpSyEybCwU4KkTHWMkKehphK2jyNseUUFaAisSo8B0KOzRYAB gqFaDjKVA/MHIzgB0JmLi+Dv4mU1bIkh7KpkyHbt1RBcqeJ+OyQ7w7HPCT74ssPkrxCkwm 8GeVU11XVf+rLWSW4eTMwkZ04IGzhYJVne6PPtiFet0hxH9qk61JOmE6pFw50X6OzXuoFO 3lqlIFs5bZzGuElF7wKI4PKxU35v5iziNyKb9KIzzpEXDDHKL9xcAQ6x2ITaMXJwrRHHsF MxePckHWOD+UzbpjWYk+7BVBRbCP/Ob48JTMEmu8a6GNxy3baWhH40YxJAL9pz89pN/oFV wAU7zjUjKbyxacN2xZIddFiMG98Ylx6lVyeLV5vufscVZoiZuMwO0EZkjfS++Rks+vXkU+ trArn7ofthIDT2KXdAapheEeHh5uIzbaXVmULcH+dGUMglcABiIMzURZABFtPP1z1mGdvq ooCDZPVwSSD0CQcU2t3Ws5K0BrjeAE7SmElpdpvUqzOrmPxwjlidU= Received: by alisa.souji-thenria.net (OpenSMTPD) with ESMTPSA id df790fbd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 8 Jan 2024 19:19:06 +0100 (CET) Message-ID: <1b84e5fa-41c1-471e-80bd-cc7595775ccc@souji-thenria.net> Date: Mon, 8 Jan 2024 18:19:03 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: auth.log error with nss-pam-ldapd in LDAP client To: Rocky Hotas , FreeBSD Questions References: Content-Language: en-US From: Souji Thenria In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4T82QD35xwz44NG X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE] On 1/8/24 12:49, Rocky Hotas wrote: > Hello! > I am trying to configure the package nss-pam-ldapd in FreeBSD > 14.0-RELEASE to have an LDAP client and LDAP authentication on a host > examplehost. The same host is also the LDAP server and it is running > openldap26-server-2.6.6. I followed all the steps related to FreeBSD > in the package author's documentation: > > >Hey Rocky, > (or at least I hope so!). If I run: > > $ ldapsearch -x -b 'dc=examplehost,dc=domain' '(objectclass=*)' > > I obtain some of the items stored in the LDAP database (even if not all > of them: is this normal?). So, the client somehow seems to work. > If you run the command like this, the query is executed using anonymous bind, and based on your configured ACLs, it might limit what you can see. Additionally, I think the default depth for 'ldapsearch' is 2 (but I'm not sure about this). > But there are two oddities. > > 1) In the output of `getent passwd' the LDAP users are listed, but this > is a local user entry: > > localuser:*:1001:1001:Local User:/home/localuser:/bin/csh > > while this is an LDAP user entry: > > ldapuser:x:10001:10001:LDAP User:/home/ldapuser/:/usr/bin/csh > > The second field is a `*' in the first case, while it is `x' in the > second case. Is this relevant? > That's to be expected. The user you use to query the LDAP directory properly has no access to the 'userPassword' attribute of every user; that's why you don't see any passwords for the LDAP users. > Despite this, if I try to log into the system remotely as an LDAP user, > > $ ssh ldapuser@examplehost > (ldapuser@examplehost) Password for ldapuser@examplehost: > > even before typing the password, in /var/log/auth.log of examplehost > this line appears: > > Jan 8 13:30:45 examplehost sshd[34445]: failed to get password: Authentication error > > How is it possible? What is wrong with this configuration? With > openldap24-client this /etc/pam.d/sshd worked. > I'm not sure about this, but if I remember correctly, there is also another PAM module you need in order to authenticate a user against the LDAP directory. The nss-pam-ldapd is only to query data for the NSS. Regards, Souji -- Souji Thenria From nobody Mon Jan 8 20:39:34 2024 X-Original-To: freebsd-questions@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 4T85XS4d1zz56k4P for ; Mon, 8 Jan 2024 20:39:52 +0000 (UTC) (envelope-from rockyhotas@post.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.com", Issuer "GeoTrust TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T85XS296Jz4VW4 for ; Mon, 8 Jan 2024 20:39:52 +0000 (UTC) (envelope-from rockyhotas@post.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=post.com; s=s1089575; t=1704746374; x=1705351174; i=rockyhotas@post.com; bh=N8ZY70dfysA9+UMikexSoofyH8RUZFee45WBhSIa580=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To: References; b=EEcqL5bNVF3FI7uRpayujES92Rny7bQqpsaZ0yHJUBf6w8CjZPZBtuTZlFHq2awR Jl3iNxwxy4IjsRM3WpQIvov1PKoBMu90n9ys0vSllOUCrXW9/INTjOqvf9iWgsCM/ wFcN+6hGw/v0BBBzSXWcOTrNPqQOcWKshxbqYJHdC6llI4tQuqzXPrRIb9j7dTTMu tvYtB2iNYwWVC75LjS+g3quCDcHhb0ifZWuLuTl4SlqpTVgFLrTiTOzsTYLRTuidK +d8nre5lbhDjdLCNhxUu2sa4QspSk8slzOfNrSA5S+eRocHE32DJrHnh1SrTF94/3 o2Omc0Xm6N05+aAFaw== X-UI-Sender-Class: f2cb72be-343f-493d-8ec3-b1efb8d6185a Received: from [91.81.140.248] ([91.81.140.248]) by web-mail.mail.com (3c-app-mailcom-lxa12.server.lan [10.76.45.13]) (via HTTP); Mon, 8 Jan 2024 21:39:34 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: From: Rocky Hotas To: FreeBSD Questions Cc: mail@souji-thenria.net Subject: Re: auth.log error with nss-pam-ldapd in LDAP client Content-Type: text/plain; charset=UTF-8 Date: Mon, 8 Jan 2024 21:39:34 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <1b84e5fa-41c1-471e-80bd-cc7595775ccc@souji-thenria.net> References: <1b84e5fa-41c1-471e-80bd-cc7595775ccc@souji-thenria.net> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:gjwDXlmgzKX9c6SS19kExaPOYyHb/AnEzSCaXUl/nP/Zq1nV2pQ0E1BGUJOeG0xJFjH+K 2xXAJgaIwdfdAUom+o4LCEXyzhNt2f4oYeYgTx8VEs+tZcUsxuDBxj0u14gdQUtGqLqwkT9AMid2 Uxb/1/zAZXWrAu1HdlT7tW6fSWYANqosb82dw0mWIn+WdO/r/t8XtDblOvRP8dx4+GIrR/mSh3hl LwyH0z9fJA8YJ944sm7XWNphr5L41VNeRSadChyW7oE8JQKJFpFYupFIe86puGNlClY1MCOC7qzo 68= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:OrpTk2ZKUSE=;OjszXimUXoi6d7nyI6ZBP/hec0S 0RN3jfFI6tB4VpAR7MZJY8vX8sIsWDnmuz3Pe6gFDR8SALcFDLgNQhh1THFVjj8i+nLqPsbv2 cHnsAYj2INs5k+ZX4LYkGee4FmcY0gKKUAjUvSdR3T2XhqkdBb9v1JVxmDrjXL8n7le8VAlAp 8/GVgbvUCwAaCK4MNcV42/esT0bMf5evpnnvygEPS0Jk7cR8mIt2EhyAXImHlcE9Yz1kkpX2C yljoYFJSawqZZUtCGuvcKjEu3JL2o+0Z9Z6gDE4NCfilNf6oORmYF94uF5vMJ/rjFMzdspAIE 6j22mQROI+TOjK2PldlYyHTTqlqhwQpA6AyUlvw0jXyIFe89yktowlX72UTrNp9vQXRPi7xD3 FpRsf34J2YQorJB0DKJbFn5t4nYrf6KAC3KACPT1BmAz6/lH3W9nBO+PkHcn4MclID1NVBWv1 slpo9xQ5cq7Zr5bJe+EgntPiuTtKGmRuBFACip4CsZb7IitHgkk4c7k7bDh4CL9njRQgFJ2EJ NhhbVmO9bI5ERI52SIe9NTBGG/PaCqtnHmzloMh2k82yLgbdmNJ+cMceddd1LGFOqwJf/uWNc 2oX2uZnKtvc0zYi0+I1rhc/W7Fdd6VOFqdlsTR9zLz51BWL8bR+abpssd6RDerpRB2CpE1ukc IGJlItObtexhtSkrDZKqHm1DScRZ689IhHZM9RxBx+9BV2i5C+fkDXi9FFALEAdUJEdzhNy18 QgSKoj1zs6QfXt8Kv3c3EfvAyMkfo3SZ5zh/+vAuigTTqwTWenMHIaXCWwJkErA4vPKCmRkrm 47+u4RAzlB7R1d2oZYAq4oyHWJs0gxSmwYjPnsCrh2xsc= X-Rspamd-Queue-Id: 4T85XS296Jz4VW4 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:74.208.0.0/16, country:DE] Hi Souji! > Sent: Monday, January 08, 2024 at 7:19 PM > From: "Souji Thenria" > To: "Rocky Hotas" , "FreeBSD Questions" > Subject: Re: auth=2Elog error with nss-pam-ldapd in LDAP client [=2E=2E=2E] > If you run the command like this, the query is executed using anonymous > bind, and based on your configured ACLs, it might limit what you can see= =2E > Additionally, I think the default depth for 'ldapsearch' is 2 (but I'm > not sure about this)=2E The ACLs should be very permissive in this test stage (all the database should be readable by anyone)=2E But the problem turned out to be exactly about depth as you mentioned! By referring a single user with its `cn' I can print all the information about him/her ldapsearch -x -b 'dc=3Dexamplehost,dc=3Ddomain' '(cn=3DName Surname)' or by referring a group I can print all the child items: ldapsearch -x -b 'ou=3Dgroups,dc=3Dexamplehost,dc=3Ddomain' '(objectclass= =3D*)' Without any further options, the default is to descend of no more than two levels from the starting point in the command line (in this last example, no more than two levels below 'ou=3Dgroups,dc=3Dexamplehost,dc=3Ddomain')= =2E The relevant option in ldapsearch(1) is=20 -s=C2=A0{base|one|sub|children} Specify the scope of the search to be one of base, one, sub,= or children to specify a base object, one-level, subtree, or children search=2E The default is sub=2E Note: children sc= ope requires LDAPv3 subordinate feature extension=2E However, I still can not print all the objects using `-s children'=2E Mayb= e I don't have the mentioned feature=2E > That's to be expected=2E The user you use to query the LDAP directory > properly has no access to the 'userPassword' attribute of every user; > that's why you don't see any passwords for the LDAP users=2E Ok! But is it normal that a `x', instead of an asterisk, is used to represent the missing password? > I'm not sure about this, but if I remember correctly, there is also > another PAM module you need in order to authenticate a user against the > LDAP directory=2E The nss-pam-ldapd is only to query data for the NSS=2E I think it's included in nss-pam-ldapd, which should replace both security/pam_ldap and net/nss_ldap: # pkg info -l nss-pam-ldapd nss-pam-ldapd-0=2E9=2E12_1: /usr/local/etc/nslcd=2Econf=2Esample /usr/local/etc/rc=2Ed/nslcd /usr/local/lib/nss_ldap=2Eso /usr/local/lib/nss_ldap=2Eso=2E1 /usr/local/lib/pam_ldap=2Eso /usr/local/lib/pam_ldap=2Eso=2E1 /usr/local/man/man5/nslcd=2Econf=2E5=2Egz /usr/local/man/man8/nslcd=2E8=2Egz /usr/local/man/man8/pam_ldap=2E8=2Egz /usr/local/sbin/nslcd /usr/local/share/licenses/nss-pam-ldapd-0=2E9=2E12_1/LGPL21 /usr/local/share/licenses/nss-pam-ldapd-0=2E9=2E12_1/LGPL3 /usr/local/share/licenses/nss-pam-ldapd-0=2E9=2E12_1/LICENSE /usr/local/share/licenses/nss-pam-ldapd-0=2E9=2E12_1/catalog=2Emk Both nss_ldap=2Eso and pam_ldap=2Eso are installed with this package=2E In the /etc/pam=2Ed/sshd module example, in fact, I used /usr/local/lib/pam_ldap=2Eso=2E Rocky From nobody Mon Jan 8 21:41:19 2024 X-Original-To: freebsd-questions@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 4T86vR5jl7z56tfG for ; Mon, 8 Jan 2024 21:41:23 +0000 (UTC) (envelope-from mail@souji-thenria.net) Received: from alisa.souji-thenria.net (alisa.souji-thenria.net [188.68.37.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T86vR2RGDz4mnm for ; Mon, 8 Jan 2024 21:41:23 +0000 (UTC) (envelope-from mail@souji-thenria.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=souji-thenria.net; s=20231116; t=1704750079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vc9U78ZTxkAVi/ugqGlN7aS34ionylYfCwSfMkAK3bs=; b=xhN+4Nnx7Qhu1rH0hXNNF5lQqkWrqtXsiQNwBFmDwLz+tNwG0DXtLjbWjrM6XZ+RW/cBia 4RzVEHf1L9+GaJy38OxHaRAaJ0+cXZj6tk7joafip6DSVpqrnJexC3PPePfAv9OqEy8je4 DbLtcs8sMeu4UxBAgSklwQKwJEhHPmNUrKOVLcUrjAD/r8PcoI9DT2EDLGuJKPhjAcdINd 59kkDNM68iIqBekm0bNZoHWelk7ldk6xiRkxaeUtBGOZPe9doL27+o7BYXkU5QdKdyay5M 5278Lq3CFLab/KIrPX6yxOzzFLjjBt5cfyj0OlMas+A0zFzr0RU6NGxSySAH/m8mFsVvG1 mgHd2mVN5v5ch1wn+J1PkDxJxF0tado6/yebRuqE5C5uvlxlpA8uSs26atX8fLxFWIfoxT U5RXVZ9AIjQAMIq+zIOizmRRkJbs9Zgb6zA9k5PCRlJTzZNsONx1OHvy1EL5y3PRCzfBq1 MzyzWkCpGsc8L0eTiOQMp6lrfF3DV5jwmU363hEQFKVtbE0zESS/WSY3C7kFGK+COq7J7H EyMCe21kb7jWlxq9FIvt5d7TDBfr5Adp8ZTthzmKeLMkNHvbpn9TIxDOyiHAzkuaSlBjGV 9qREWYFSirzwSs0URZu0Rmqe5ecSwmNlRigs7KNifTQl66SEEZ/jU= Received: by alisa.souji-thenria.net (OpenSMTPD) with ESMTPSA id 352fe7a2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 8 Jan 2024 22:41:19 +0100 (CET) Message-ID: <59c5a96e-d4b1-4a5e-ae52-a487c8c6e286@souji-thenria.net> Date: Mon, 8 Jan 2024 21:41:19 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: auth.log error with nss-pam-ldapd in LDAP client Content-Language: en-US To: Rocky Hotas , FreeBSD Questions References: <1b84e5fa-41c1-471e-80bd-cc7595775ccc@souji-thenria.net> From: Souji Thenria In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4T86vR2RGDz4mnm X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE] Hey Rocky! > The ACLs should be very permissive in this test stage (all the database > should be readable by anyone). But the problem turned out to be exactly > about depth as you mentioned! By referring a single user with its `cn' > I can print all the information about him/her > > ldapsearch -x -b 'dc=examplehost,dc=domain' '(cn=Name Surname)' > > or by referring a group I can print all the child items: > > ldapsearch -x -b 'ou=groups,dc=examplehost,dc=domain' '(objectclass=*)' > > Without any further options, the default is to descend of no more than two > levels from the starting point in the command line (in this last example, > no more than two levels below 'ou=groups,dc=examplehost,dc=domain'). > > The relevant option in ldapsearch(1) is > > -s {base|one|sub|children} > Specify the scope of the search to be one of base, one, sub, or > children to specify a base object, one-level, subtree, or > children search. The default is sub. Note: children scope > requires LDAPv3 subordinate feature extension. > > However, I still can not print all the objects using `-s children'. Maybe > I don't have the mentioned feature. Good to know. You might want to use some graphical tool like 'Apache Directory Studio'. I found it quite useful in the past. >> That's to be expected. The user you use to query the LDAP directory >> properly has no access to the 'userPassword' attribute of every user; >> that's why you don't see any passwords for the LDAP users. > > Ok! But is it normal that a `x', instead of an asterisk, is used to > represent the missing password? The asterisk signals that password authentication is disabled; see passwd(5). The 'x' signals that the password is not in '/etc/passwd' (in your case, it is in the LDAP directory). >> I'm not sure about this, but if I remember correctly, there is also >> another PAM module you need in order to authenticate a user against the >> LDAP directory. The nss-pam-ldapd is only to query data for the NSS. > > I think it's included in nss-pam-ldapd, which should replace both > security/pam_ldap and net/nss_ldap: > > # pkg info -l nss-pam-ldapd > nss-pam-ldapd-0.9.12_1: > /usr/local/etc/nslcd.conf.sample > /usr/local/etc/rc.d/nslcd > /usr/local/lib/nss_ldap.so > /usr/local/lib/nss_ldap.so.1 > /usr/local/lib/pam_ldap.so > /usr/local/lib/pam_ldap.so.1 > /usr/local/man/man5/nslcd.conf.5.gz > /usr/local/man/man8/nslcd.8.gz > /usr/local/man/man8/pam_ldap.8.gz > /usr/local/sbin/nslcd > /usr/local/share/licenses/nss-pam-ldapd-0.9.12_1/LGPL21 > /usr/local/share/licenses/nss-pam-ldapd-0.9.12_1/LGPL3 > /usr/local/share/licenses/nss-pam-ldapd-0.9.12_1/LICENSE > /usr/local/share/licenses/nss-pam-ldapd-0.9.12_1/catalog.mk > > Both nss_ldap.so and pam_ldap.so are installed with this package. > In the /etc/pam.d/sshd module example, in fact, I used > /usr/local/lib/pam_ldap.so. You are right. The pam_ldap is also configured using the nsldc.conf file. Regarding your SSH problem: Replace 'use_first_pass' with 'try_first_pass' (see pam_ldap(8)). 'use_first_pass' won't prompt for a password. The other one should. Regards, Souji -- Souji Thenria From nobody Mon Jan 8 23:40:38 2024 X-Original-To: freebsd-questions@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 4T89YN20sqz57CLl for ; Mon, 8 Jan 2024 23:40:56 +0000 (UTC) (envelope-from rockyhotas@post.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.com", Issuer "GeoTrust TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T89YM3RGtz44Rr for ; Mon, 8 Jan 2024 23:40:55 +0000 (UTC) (envelope-from rockyhotas@post.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=post.com; s=s1089575; t=1704757238; x=1705362038; i=rockyhotas@post.com; bh=KtvzRQwS5XYu9AwoNSsRqQXuLngCRNf6zhOsimNBizU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To: References; b=NCVY72rx/ELQzzStoGPuoyhE2g6vcy2Gw+NKZ/nBGdzuxu5MhREYWrTt6kItm7bs 70kAMx4BOntGOkTI7JoA6BaNi6Ia+cqkLNT9E1wxHOfMsz+Syht57EVJC2cFpfmar PgGXAkOLXf3RM3RWiLFdNUBaZ36UyQVG3uDlbaiMP/o5eo2UkR92gZfI4MG5lsNvB Ozxvr13GzunKLGrmYI2gaHYwVNBGPrbD7VWz20Rm2jSWkzzzXxKxIYRhVl4RD1plZ sT9iQwshGbW7Nl9esMGPL39Wfp4VeGTT6JiDWCyPYwBdhDtYaIbXgmbkSuusjSLJS 84zxbOwq4XpycbNW2w== X-UI-Sender-Class: f2cb72be-343f-493d-8ec3-b1efb8d6185a Received: from [91.81.140.248] ([91.81.140.248]) by web-mail.mail.com (3c-app-mailcom-lxa11.server.lan [10.76.45.12]) (via HTTP); Tue, 9 Jan 2024 00:40:38 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: From: Rocky Hotas To: FreeBSD Questions Cc: mail@souji-thenria.net Subject: Re: auth.log error with nss-pam-ldapd in LDAP client Content-Type: text/plain; charset=UTF-8 Date: Tue, 9 Jan 2024 00:40:38 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <59c5a96e-d4b1-4a5e-ae52-a487c8c6e286@souji-thenria.net> References: <1b84e5fa-41c1-471e-80bd-cc7595775ccc@souji-thenria.net> <59c5a96e-d4b1-4a5e-ae52-a487c8c6e286@souji-thenria.net> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:laJZv5Ba6ciudWhjMvU4juBpFm7azCTmsraJFIbkmY2OGaWRScyD378KwCsUMyPdSv97N 2q0BscdPPJ2kNQmHbclMTUCzWvod4E1+SN7VF5drl+usbziiuqrzZRN3CDPxlvm3TyJeTjzgqvGL vYy/kSmTnECcM9sp1yTx0DvP6xK/8qvhMQ1rPJuW2YfJNzcAZM2kVYYK/X4j2fyBMNr9Yzht4Usj HwPUNVD+1rMUdFgjq/fb2JNEh4fw+bzpYv9AGRnQZgTr3LJh7wzYyyOnSFdWgj89cXmKeYOdS3Db UU= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:9ojEmaUiaks=;QOzY1lfgwJEa+IPsA081PkFb33U Gqh6SKhQbWAz6C11A0CKflNIQQO5GSZU/Gv6wvBSxDhLtGmsGdnL93mVt9r6L8UU6Mxs65Ero sBNDxfvZeTb+6HkIFpjJ38iveFRkmAOknaEgOjuLBcYjeHqG4GIqUASHH1KpmGZxlV4RySHfX 7ck9BEAc1G+3p0ygzUP8mKQhmpG4frC9mlmZj6HAJMwbwjsAkGdNTqebkOLB15QTmdmUPiWCq 35lc+HlooXiEUx3+/fvNYqwAe5fcye+iORempNHOYzsuhcJxFSHpsM2X2QmMopDNX1nakT/5C qwX7ep36MfCOh/QMB9PfWpmSiW3vYGJMlIJKf3iWkvnUGmg1zLSuhFse0HVGh4/bNhWmZEJPC ICiOh/RBXSj2C62SN6xKbmfHWEMv2oDbdIKE05qmZC28cg08nZdHnOWjHQt+nQGyBhsbh7OCH Xwaj1O6VqDqra6xfBi+dV18C0psUArLAcLhNsq5CN6yh/5nmwxF6yUBtXb9wCMnHWm9AGz2fq IL1RwrmWWJxAhHk0njfORP7YAjgp/gKHKiMKq7UMh+aSR1/Xcn6rN72rfvUgue2YJiwR/sjOR yt8rGiKbEfAQ1hwKl5C1nyTZjoAnslEYGp8Wis207cgCcLTZJLYUl99rmQFrFMkX8drLCOfqI Z6IaukEQ5/dV11J56kmnV4o8AYp/sBb4l1M/KC//A/04f6mOjSPpxmVw8gXGynnS+1RBGOQBN PueMIX/wz3ruL4lpNDp0QnD6smTRKakSybWk78tMJ7a4ibxHUj1oNurqKSZBBcANlM1Fxg9Gi 9464qT/6VBD/5/hZKwDTqm6g== X-Rspamd-Queue-Id: 4T89YM3RGtz44Rr X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:74.208.0.0/16, country:DE] Hi Souji! > Sent: Monday, January 08, 2024 at 10:41 PM > From: "Souji Thenria" > To: "Rocky Hotas" , "FreeBSD Questions" > Subject: Re: auth=2Elog error with nss-pam-ldapd in LDAP client >=20 > > The relevant option in ldapsearch(1) is=20 > >=20 > > -s=C2=A0{base|one|sub|children} > > Specify the scope of the search to be one of base, one, = sub, or > > children to specify a base object, one-level, subtree, o= r > > children search=2E The default is sub=2E Note: childre= n scope > > requires LDAPv3 subordinate feature extension=2E > >=20 > > However, I still can not print all the objects using `-s children'=2E = Maybe > > I don't have the mentioned feature=2E I have some corrections to make=2E `-s sub', which is the default if `-s' is not specified at all, should already print all the items in the database=2E In my case, the problem was not the depth, but the limit of items=2E Limits are used in LDAP to avoid that clients request excessive resources from the server=2E They can be set from the server (with the global settings olcSizeLimit and olcTimeLimit) and/or from the client=2E In my case, only the client configuration file (/usr/local/etc/openldap/ldap=2Econf) had such limits=2E They were: SIZELIMIT 12 TIMELIMIT 15 Raising the `SIZELIMIT', I can print all the items in my LDAP database, even without specifying `-s'=2E A more detailed discussion is here: > You might want to use some graphical tool like 'Apache Directory > Studio'=2E I found it quite useful in the past=2E I was looking exactly for something similar=2E I can try it, even if I wou= ld prefer something available on CLI (and I could not find anything so far)= =2E > The asterisk signals that password authentication is disabled; see > passwd(5)=2E The 'x' signals that the password is not in '/etc/passwd' (= in > your case, it is in the LDAP directory)=2E Ok! Thanks, also for the reference=2E > You are right=2E The pam_ldap is also configured using the nsldc=2Econf = file=2E >=20 > Regarding your SSH problem: > Replace 'use_first_pass' with 'try_first_pass' (see pam_ldap(8))=2E > 'use_first_pass' won't prompt for a password=2E The other one should=2E It worked! In the developer's documentation `use_first_pass' is suggested, but this may refer to another version of pam, probably for Linux, with different modules and different rules=2E `try_first_pass' definitely makes sense, according to pam_ldap(8)=2E In fact, here on FreeBSD also pam_unix=2Eso uses `try_first_pass'=2E Thank you so much! Rocky From nobody Tue Jan 9 22:09:48 2024 X-Original-To: questions@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 4T8lVC37Lxz56Zb3 for ; Tue, 9 Jan 2024 22:10:11 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "prime.gushi.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8lV95gx8z4Cxf for ; Tue, 9 Jan 2024 22:10:09 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=c+ejOXw1; dmarc=pass (policy=none) header.from=gushi.org; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org Received: from smtpclient.apple ([IPv6:2601:602:87f:b05d:b15d:4957:8dda:70fa]) (authenticated bits=0) by prime.gushi.org (8.17.2/8.17.2) with ESMTPSA id 409MA41X091946 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 9 Jan 2024 22:10:05 GMT (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 409MA41X091946 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1704838205; bh=bCuHGgJElQnWEpXbXF8nRQ2clyW4g3l2QYaEpo2glIM=; h=From:Subject:Date:To; z=From:=20"Dan=20Mahoney=20(Ports)"=20|Subject:= 20Admin=20Help=20(bugzilla=20specifically?)|Date:=20Tue,=209=20Jan =202024=2014:09:48=20-0800|To:=20questions@freebsd.org; b=c+ejOXw1XJHPFWOParvcFxdIEI0JnqW9TCcfB9GWD3uecTQwdXl5WfJbgoM5gstj5 kz5bwD+pen+k/mm7L7SMjusMXkLilJo93ibr8AsZmMHgWOvLwBw89FHy0oVdTrtaLP 85NvNSnYsb4XGwREW4e1BwKoodPu4ZJrIJyL/3JbfmQCpKts4VIFMqmZzOdfGVU8XZ UhFL1wTRm63+Fp2Qw4kxeGI1TMS+LizY9lig6arxAfwWrEeAjif767EjmWUgk5uVMM oWSithP77XJfXcPY40c8CcWVL47JQl1jnL5l8QQTGe2WpMobTBsl7W0qmnZVpafAGA clFmRP5p8gWVQ== X-Authentication-Warning: prime.gushi.org: Host [IPv6:2601:602:87f:b05d:b15d:4957:8dda:70fa] claimed to be smtpclient.apple From: "Dan Mahoney (Ports)" Content-Type: multipart/alternative; boundary="Apple-Mail=_B32D99EA-FC84-44FD-AA75-F31C99C7BFCC" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Admin Help (bugzilla specifically?) Message-Id: Date: Tue, 9 Jan 2024 14:09:48 -0800 To: questions@freebsd.org X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.10 / 15.00]; DWL_DNSWL_MED(-2.00)[gushi.org:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gushi.org:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-Rspamd-Queue-Id: 4T8lV95gx8z4Cxf --Apple-Mail=_B32D99EA-FC84-44FD-AA75-F31C99C7BFCC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Some spam was posted to Bugzilla, as the most recent comment here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232396 I suspect this is not the only place it=E2=80=99s been posted, and I = haven=E2=80=99t clicked the links, but could an admin please see how = many posts this person has made, and if possible, nuke them? I don=E2=80=99t usually see much bugzilla spam so I=E2=80=99m not about = to suggest captcha or whatnot should be added. -Dan= --Apple-Mail=_B32D99EA-FC84-44FD-AA75-F31C99C7BFCC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Some spam was = posted to Bugzilla, as the most recent comment = here:


I suspect this is not the only place it=E2=80=99s been posted, = and I haven=E2=80=99t clicked the links, but could an admin please see = how many posts this person has made, and if possible, nuke = them?

I don=E2=80=99t usually see much bugzilla = spam so I=E2=80=99m not about to suggest captcha or whatnot should be = added.

-Dan
= --Apple-Mail=_B32D99EA-FC84-44FD-AA75-F31C99C7BFCC-- From nobody Wed Jan 10 00:53:48 2024 X-Original-To: questions@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 4T8q72577gz572nZ for ; Wed, 10 Jan 2024 00:53:50 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8q724dyDz4bc2 for ; Wed, 10 Jan 2024 00:53:50 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704848030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mbc1AJic8CSKD9169/hqm09L+mFOdFEkm4K+BaTRZiU=; b=R5JPk34FiprCI6bnj6VsxWQCPvUP6CXt3CA892fFwE4H31xRGKNpJzuI5Mu7lqbqacx1Ze i6YsmJvQeVwT7yZQUDgo5TXD77ICrp5+Y1nYEX0fnWAAEJ5LEjaAZkUNICqyUuzoDWB3Vo 1nKV+oGBVjxaLFgWKi0hpOD1uANU5XXEB+qfPNAr10go++cVlpXq1osVY1FzBujJ9/mno/ TEKUk2qsqLQRS5k18laixGWokxbgF6VQTWLmd6FnfDIibmPdUR9LML6fftEkSeY3XlEmJE VuLwJ3U4St+9G53aTXToapTWkFjQtHfLh27hdTJAuvJSPXjbOYYkqpxb0VuPdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704848030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mbc1AJic8CSKD9169/hqm09L+mFOdFEkm4K+BaTRZiU=; b=W1X8eqt9ev0rQ4EFWQ/RZAhdDo+0n6z6hf0gcTWkoB4JXtr5E62QoCqt7QnAB6AjEw+Pl1 i2CQPXcKO8zlqfUw1eoecws21ntM9oC3pSlytaXeaW0DwleFfoIgpTpFXnv+d1Y6tTqVlA GrlT2N9RJ83SbZRUdcWVsQ+Y5+w6OliQ21E5WtOpR8lksgfrY/RLOc11jqyWunVKKNWU6y bbwx+0QzcL9LgemXrHeXT8JxAK1f2HaakNFpnTffvHYr9gaks9+C+qtMzKk5wgQaK5b3pr G7Y6I7FqUP4U5I9yrKd6kGBZm3xua6OO4Yl0wJfZblloLuzLCIhZPFlSfedFcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704848030; a=rsa-sha256; cv=none; b=ZftkMS+NNCz+kBqq0e72RipE/T9WGF4e1Mww2Cm8kPNxCmI6NapapkSc2bjSjUr5lC86LT +S0Ms7nSarRh+zKUdPYUJfVFBzc6YFjdhcBQu6/TIgIoTrJabKlvw9yrTYvEb2WjfGUqsL eL6yjEM7I2+DRsOEwQk/6IELqLg+sz8EBDSRkJKVzA0yxDlrEbXweO7sLe/rm/tAoPucTZ 8nVPng+yTvbspKknkXb+gxCrmk72yIlPCWJJC7/qbEKqjs43pzua2d5v1JFSZY6LOIIilx Yac+QPkXawehFiu3CBeZzsHcIyN5Vn5pI0U16hW9ngi2Qi8Io46Bxg0kq+vsyw== Received: from [10.9.4.95] (unknown [209.182.120.176]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4T8q715FZ0zcYT for ; Wed, 10 Jan 2024 00:53:49 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: <2463f7c8-7070-456d-bf51-2ef017bb8376@FreeBSD.org> Date: Tue, 9 Jan 2024 18:53:48 -0600 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Admin Help (bugzilla specifically?) Content-Language: en-US To: questions@freebsd.org References: From: Kyle Evans In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/9/24 16:09, Dan Mahoney (Ports) wrote: > Some spam was posted to Bugzilla, as the most recent comment here: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232396 > > > I suspect this is not the only place it’s been posted, and I haven’t > clicked the links, but could an admin please see how many posts this > person has made, and if possible, nuke them? > > I don’t usually see much bugzilla spam so I’m not about to suggest > captcha or whatnot should be added. > > -Dan JFYI- I smacked this one a bit after your post came in, it was just the one comment... kind of how it goes with these most of the time. thanks, Kyle Evans From nobody Wed Jan 10 04:40:20 2024 X-Original-To: freebsd-questions@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 4T8w8Z2cP9z55kVR for ; Wed, 10 Jan 2024 04:40:30 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8w8Y0rKSz4JcK for ; Wed, 10 Jan 2024 04:40:28 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40A4eKmc009891 for ; Tue, 9 Jan 2024 21:40:20 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> Date: Tue, 9 Jan 2024 21:40:20 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: Problem mounting new Sandisk 1TB USB drive Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Tue, 09 Jan 2024 21:40:20 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Tue, 09 Jan 2024 21:40:20 -0700 (MST) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.10 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.08)[0.083]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; TO_DN_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org] X-Rspamd-Queue-Id: 4T8w8Y0rKSz4JcK I have a new Sandisk 1TB thumb drive, USB-A on one end, USB-C on the other. If I plug it into my ubuntu laptop, it mounts fine and works. If I plug it into my fbsd box (13.2-RELEASE-p8 GENERIC amd64), it shows up: usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) ugen7.2: at usbus7 umass0 on uhub6 umass0: on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:8:0: Attached to scbus8 da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 da0: Removable Direct Access SPC-4 SCSI device da0: Serial Number A2003B9717F0A406 da0: 40.000MB/s transfers da0: 954240MB (1954283520 512 byte sectors) da0: quirks=0x2 $ ls -lt /dev/da0* crw-rw---- 1 root operator 0xc7 Jan 9 20:59 /dev/da0s1 crw-rw---- 1 root operator 0xcc Jan 9 20:59 /dev/da0 but it won't mount: # mount.exfat /dev/da0s1 /mnt/memstick FUSE exfat 1.4.0 (libfuse2) fuse: failed to open fuse device: No such file or directory $ gpart show /dev/da0 => 63 1954283457 da0 MBR (932G) 63 7489 - free - (3.7M) 7552 1954275968 1 ntfs (932G) Am I doing something wrong, or does the factory MS formatting need to be trashed and redone? If it needs to be reformatted, what's the proper procedure for a >32G device? I show a newfs and newfs_msdos in /sbin, but no newfs_ntfs. Thanks, Gary From nobody Wed Jan 10 07:25:32 2024 X-Original-To: freebsd-questions@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 4T8zqH3fswz56G6C for ; Wed, 10 Jan 2024 07:25:47 +0000 (UTC) (envelope-from mail@souji-thenria.net) Received: from alisa.souji-thenria.net (alisa.souji-thenria.net [IPv6:2a03:4000:13:e9::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8zqG6Qdjz4nYy for ; Wed, 10 Jan 2024 07:25:46 +0000 (UTC) (envelope-from mail@souji-thenria.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=souji-thenria.net; s=20231116; t=1704871534; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EHEI97TcwFRmT4bjoVJSh7roay8bp0gE4WaBSEkuv9M=; b=OZ1gJ7AjZrpJgtrvefnKeL8mqV/9Yvwor/nlPv0biZkDs+bBjqK8gXfTgkQ0yFT1AAWxpT W1Boj20MIUT12DYt2kfoH0dKQD2bHseO04s6I6PDJ6S0dyOlOme85oCIHmlwrAqwtu53N5 4I7dhDuKcTloh3xyzJZnL3egp1fQyx7lsdxBxadJJm77k6AZm1AQc/Qu32ilKNsy4c2IB8 lmuZFbirbd3IcKsZ84F+S239yIRpLVL9wzi6Xcl8vrp8NDevRo/oYaU0JXMpTGX+DmAD04 sL2mNlbEtS6AhZp121ecNYKX7jNCbawGshrL/lHkxd8pAsQgLIaAGPYIxUtB346gYGU/y9 oZmKtNDCmFPHi9WtQ9YObBofGJ+k43VPVnOQx9+txDEpp2Bo4jpxbPTllwQ1I2Qnd8e+K6 zWDOi8NLKQgGQQkLpE15H3nsHhPbnvRI0DayRHSVLJvtpYLiBDfcNXVtHNyLC16pQwmcj6 TSlEYd1mXwxx+0gTZinIABApAPr+gUubb3bOjhqvB9dh0qJyPDii6CCgrVdS3aiJ+YZbpS SCAeyq6toZ6uEGi7dt4PgNyklvaYpjTqJ+J0+dtjjuYd8iJfxIZCv0qiCZ8fGVyw8fEmHW w5zjLhTJWtWNqJqthnYuFp7VLhGntbYXGkT0+ZVz3QAzyq/c1Df1Y= Received: by alisa.souji-thenria.net (OpenSMTPD) with ESMTPSA id 089f6e1f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 Jan 2024 08:25:34 +0100 (CET) Message-ID: Date: Wed, 10 Jan 2024 07:25:32 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: freebsd@dreamchaser.org, FreeBSD Mailing List References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> From: Souji Thenria In-Reply-To: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4T8zqG6Qdjz4nYy X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:197540, ipnet:2a03:4000::/32, country:DE] On 1/10/24 04:40, Gary Aitken wrote: > I have a new Sandisk 1TB thumb drive, USB-A on one end, USB-C on > the other. > If I plug it into my ubuntu laptop, it mounts fine and works. > If I plug it into my fbsd box (13.2-RELEASE-p8 GENERIC amd64), > it shows up: > > usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device > SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) > usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage > device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) > ugen7.2: at usbus7 > umass0 on uhub6 > umass0: on > usbus7 > umass0:  SCSI over Bulk-Only; quirks = 0x8100 > umass0:8:0: Attached to scbus8 > da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 > da0: Removable Direct Access SPC-4 SCSI > device > da0: Serial Number A2003B9717F0A406 > da0: 40.000MB/s transfers > da0: 954240MB (1954283520 512 byte sectors) > da0: quirks=0x2 > $ ls -lt /dev/da0* > crw-rw----  1 root  operator  0xc7 Jan  9 20:59 /dev/da0s1 > crw-rw----  1 root  operator  0xcc Jan  9 20:59 /dev/da0 > > but it won't mount: > > # mount.exfat /dev/da0s1 /mnt/memstick > FUSE exfat 1.4.0 (libfuse2) > fuse: failed to open fuse device: No such file or directory > $ gpart show /dev/da0 > =>        63  1954283457  da0  MBR  (932G) >           63        7489       - free -  (3.7M) >         7552  1954275968    1  ntfs  (932G) > > Am I doing something wrong, or does the factory MS formatting > need to be trashed and redone? > > If it needs to be reformatted, what's the proper procedure for a >> 32G device?  I show a newfs and newfs_msdos in /sbin, but no > newfs_ntfs. > > Thanks, > > Gary > Hey Gary! Based on your commands, you try to mount an NTFS partition using 'mount.exfat', which won't work. You need to use 'ntfs-3g' for that. Regards, Souji -- Souji Thenria From nobody Wed Jan 10 17:47:42 2024 X-Original-To: freebsd-questions@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 4T9Fcz15pvz55TYr for ; Wed, 10 Jan 2024 17:47:47 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9Fcy4KTGz45ht for ; Wed, 10 Jan 2024 17:47:46 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40AHlgWU011644; Wed, 10 Jan 2024 10:47:43 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: Date: Wed, 10 Jan 2024 10:47:42 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: Souji Thenria , FreeBSD Mailing List References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> From: Gary Aitken In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 10:47:43 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 10:47:43 -0700 (MST) X-Rspamd-Queue-Id: 4T9Fcy4KTGz45ht X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 1/10/24 00:25, Souji Thenria wrote: > On 1/10/24 04:40, Gary Aitken wrote: >> I have a new Sandisk 1TB thumb drive, USB-A on one end, USB-C on >> the other. >> If I plug it into my ubuntu laptop, it mounts fine and works. >> If I plug it into my fbsd box (13.2-RELEASE-p8 GENERIC amd64), >> it shows up: >> $ ls -lt /dev/da0* >> crw-rw----  1 root  operator  0xc7 Jan  9 20:59 /dev/da0s1 >> crw-rw----  1 root  operator  0xcc Jan  9 20:59 /dev/da0 >> >> but it won't mount: >> >> # mount.exfat /dev/da0s1 /mnt/memstick >> FUSE exfat 1.4.0 (libfuse2) >> fuse: failed to open fuse device: No such file or directory >> $ gpart show /dev/da0 >> =>        63  1954283457  da0  MBR  (932G) >>           63        7489       - free -  (3.7M) >>         7552  1954275968    1  ntfs  (932G) >> >> Am I doing something wrong, or does the factory MS formatting >> need to be trashed and redone? ... > Based on your commands, you try to mount an NTFS partition using > 'mount.exfat', which won't work. You need to use 'ntfs-3g' for that. Thanks. But after installing sysutils/fusefs-ntfs, it still won't mount: # mount -t ntfs-3g /dev/da0s1 /mnt/memstick mount: /dev/da0s1: Invalid fstype: Invalid argument # ntfs-3g /dev/da0s1 /mnt/memstick NTFS signature is missing. Failed to mount '/dev/da0s1': Invalid argument The device '/dev/da0s1' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? # ntfs-3g /dev/da0 /mnt/memstick NTFS signature is missing. Failed to mount '/dev/da0': Invalid argument The device '/dev/da0' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? -o debug shows nothing additional Thanks, Gary From nobody Wed Jan 10 18:01:56 2024 X-Original-To: freebsd-questions@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 4T9FxV4gTSz55Vs2 for ; Wed, 10 Jan 2024 18:02:06 +0000 (UTC) (envelope-from mail@souji-thenria.net) Received: from alisa.souji-thenria.net (alisa.souji-thenria.net [188.68.37.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9FxV1Rvjz4Cqj for ; Wed, 10 Jan 2024 18:02:06 +0000 (UTC) (envelope-from mail@souji-thenria.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=souji-thenria.net; s=20231116; t=1704909723; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aELUWTVgza/QroX0FXtyrtX7s/LXiLN+/PVPCO9x6eM=; b=IL++A9Na/fFGIi60PCxdqBZKkLFKd3bqSPO6PhcI4jagxc7hOEFQzQCcOBhobc/LjhBJAs x30lJt0SvjM/9wqTvVwK/1ZtflsCFcxmZKXLGoRBEZCtdcY7UhzqNHlQocxJJ7TS/nfsqo EmroTl7utxiZ6yAio84RBqZTh2cJ9aLtZHvQNKZkz69Ts9eI6QR9Fhko2c8m0PnZs3DS3T +Ebv9H/EzoHZQMDD6uyV9NDx6QLOIjfouJbS9DuQKonx33mUml50NPBvHXMrAJkiDREmES r48WBLSG7gHtLJW391ZzGGnfs7eevXup5KoKrPIf0m/Cl6nviBtNZ/DSgR5Rais73twCbb vymtBCaquiC0pnKuBWrN2PrR9b2gTI7Gn+vD5mTFX5dYG/o0RYtckA8cVfCs4hDYdB8wsZ XokF6+W2zWhbgo56w78A24GAgRdQSfeVGsfsKcjxeUNUmQe3/w0v0CJf6HTmVC0arfChim /K5L5GhkvPZcQij2vJqrFGYftOnq1dnF5WTleKitbUt/ehgGNRvxnxTc/cD0uTX4HEiGDX 9kSPTpwuNgMOOR8xYuwpeJVswwa6uvuqJuNZESqChjZGX+7xsoajumkfJbcoDxYkSCkTm1 WRnH4kbOkULnPBuYlRxgG+bgFHaCmQhtk+W7Tm7f75NvZK60ZpW8o= Received: by alisa.souji-thenria.net (OpenSMTPD) with ESMTPSA id 33a6d3e4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 Jan 2024 19:02:03 +0100 (CET) Message-ID: <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> Date: Wed, 10 Jan 2024 18:01:56 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: freebsd@dreamchaser.org, FreeBSD Mailing List References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> From: Souji Thenria In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4T9FxV1Rvjz4Cqj X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE] > # mount -t ntfs-3g /dev/da0s1 /mnt/memstick > mount: /dev/da0s1: Invalid fstype: Invalid argument > # ntfs-3g /dev/da0s1 /mnt/memstick > NTFS signature is missing. > Failed to mount '/dev/da0s1': Invalid argument > The device '/dev/da0s1' doesn't seem to have a valid NTFS. > Maybe the wrong device is used? Or the whole disk instead of a > partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? > # ntfs-3g /dev/da0 /mnt/memstick > NTFS signature is missing. > Failed to mount '/dev/da0': Invalid argument > The device '/dev/da0' doesn't seem to have a valid NTFS. > Maybe the wrong device is used? Or the whole disk instead of a > partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? > > -o debug shows nothing additional Can you try to mount the drive using: 'ntfs-3g /dev/da0s1 /mnt/memstick' If I remember correctly, using the mount command with ntfs-3g did not work for me in the past while using the command directly worked... -- Souji Thenria From nobody Wed Jan 10 18:57:29 2024 X-Original-To: questions@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 4T9H9X5rY3z55dqP for ; Wed, 10 Jan 2024 18:57:36 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 4T9H9W54Snz4Q6y for ; Wed, 10 Jan 2024 18:57:35 +0000 (UTC) (envelope-from vdemart@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=nESPcjqX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vdemart@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=vdemart@gmail.com Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2ccbc328744so54149601fa.3 for ; Wed, 10 Jan 2024 10:57:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704913051; x=1705517851; darn=freebsd.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=BSu2p5q8Mm912IjD+LIz/4e118jBmeHCwUAetJT7CCM=; b=nESPcjqXFIkcdYVT8DWOEL+7zMFIeegMvB2RrQGQCh60ZyTmv4JfrvoC6yByRW5pgP zuCvtpuQIJK5ehIBImv2JgDRz7prFsSPPxTlhjDC2tK5Npk2y2IiQTeaFVJCZlRDjJLq PrwwEd7BFXW9aTcnwbXTHA03Ta0+mj70wgFrrZtGw4+RIAluIw0vpRm9zezp8aGP5+zY LKyZRQki0TY7fqmUgqJDUMJinA8kdRT4tV34VTA3VSsQ9w8ZCg9EQm6oWE4K/woU7yQn RxIc1L85C6CDkI9Jg9PAh7Y9TURwH03ZquIYxOZPYM+AHA1XV8gh1i9OCT5JhXKh7eIy j+yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704913051; x=1705517851; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BSu2p5q8Mm912IjD+LIz/4e118jBmeHCwUAetJT7CCM=; b=LiiliRVS2Uagg3WrNZ3AriBLg8XrNQ+vTgkrIvFZWUXM+M2SlGaOul4oXgPkaK7OEo hX6PomxjVjm7Qx1Sew110FgMY8Q83ioP8QitErdbWFGJIelzshO5T0/a2JdqNtq/R05n DmWxDRCkA44aM+avXTZ2WDuZ66UkbguA61cHEfPTjhmxscY7kASCHNMLyNN70JDnwLqE nElkqw8H9Qkld0LnXbS0yIQrJkd3rKkzUHhbO19hFurW9QX670owy66L38loFNrXareJ V0U2wfwmhH1Vjlutz9o8N4hivTIee+COEWZc6KMXp28SzvCVov0sNieY/870XGjkKrHD bAig== X-Gm-Message-State: AOJu0YyS44Erkde0gClV7WNxzeCjP0gZd97xeGd9IXWDIuH5Q+jY4gsA xFzCJxwgFpsA5LY/itB9mt1vlkrqJVg= X-Google-Smtp-Source: AGHT+IHAQqACvtFbk2Wq4iN2Qd5LA9rBLflKfqH8889Ssrj0ngS4GUpGpMjc1wJtPl9C89Hhyw4aEw== X-Received: by 2002:a2e:b74f:0:b0:2cd:13bf:78df with SMTP id k15-20020a2eb74f000000b002cd13bf78dfmr15876ljo.11.1704913051395; Wed, 10 Jan 2024 10:57:31 -0800 (PST) Received: from [192.168.1.110] (host-80-182-146-146.pool80182.interbusiness.it. [80.182.146.146]) by smtp.gmail.com with ESMTPSA id z17-20020aa7c651000000b0055510f6527dsm2253065edr.26.2024.01.10.10.57.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 10:57:30 -0800 (PST) Content-Type: multipart/alternative; boundary="------------zT7XFihGA3qvTnt9ZyvNCdxn" Message-ID: <4dec5468-8910-4ece-ab11-e1f63699123e@gmail.com> Date: Wed, 10 Jan 2024 19:57:29 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: it-IT To: questions@freebsd.org From: Victor Subject: Compilation of port php82-pgsql ends in error for undeclared identifiers X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22e:from] X-Rspamd-Queue-Id: 4T9H9W54Snz4Q6y This is a multi-part message in MIME format. --------------zT7XFihGA3qvTnt9ZyvNCdxn Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Context: FreeBSD 13.2-RELEASE-p8 GENERIC amd64 I'm trying to install from the port phppgadmin that I know requires a php8x-pgsql dependency. Unfortunately /usr/ports/databases/php82-pgsql % sudo make install Password: ===>  Building for php82-pgsql-8.2.14 --- pgsql.lo --- /bin/sh /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/libtool --mode=compile cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c -o pgsql.lo  cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c -fPIC -DPIC -o .libs/pgsql.o In file included from /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:65: ./pgsql_arginfo.h:775:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'         class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE; ^ ./pgsql_arginfo.h:786:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'         class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE; ^ ./pgsql_arginfo.h:797:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'         class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE; ^ /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:4058:4: error: use of undeclared identifier 'ZEND_FALLTHROUGH'                         ZEND_FALLTHROUGH;                         ^ 4 errors generated. *** [pgsql.lo] Error code 1 make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql 1 error make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Where am I wrong? And what should I do to solve this compilation error? Thank you Vittorio --------------zT7XFihGA3qvTnt9ZyvNCdxn Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Context: FreeBSD 13.2-RELEASE-p8 GENERIC amd64

I'm trying to install from the port phppgadmin that I know requires a php8x-pgsql dependency. 

Unfortunately

/usr/ports/databases/php82-pgsql % sudo make install
Password:
===>  Building for php82-pgsql-8.2.14
--- pgsql.lo ---
/bin/sh /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/libtool --mode=compile cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include  -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c -o pgsql.lo
 cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c  -fPIC -DPIC -o .libs/pgsql.o
In file included from /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:65:
./pgsql_arginfo.h:775:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'
        class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE;
                                                                               ^
./pgsql_arginfo.h:786:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'
        class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE;
                                                                               ^
./pgsql_arginfo.h:797:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'
        class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE;
                                                                               ^
/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:4058:4: error: use of undeclared identifier 'ZEND_FALLTHROUGH'
                        ZEND_FALLTHROUGH;
                        ^
4 errors generated.
*** [pgsql.lo] Error code 1

make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql
1 error

make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1


Where am I wrong? And what should I do to solve this compilation error?

Thank you

Vittorio

--------------zT7XFihGA3qvTnt9ZyvNCdxn-- From nobody Wed Jan 10 20:03:28 2024 X-Original-To: freebsd-questions@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 4T9Jdc1HVdz55mj5 for ; Wed, 10 Jan 2024 20:03:32 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9Jdb4Czyz4bDL for ; Wed, 10 Jan 2024 20:03:31 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40AK3STJ011875; Wed, 10 Jan 2024 13:03:28 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: Date: Wed, 10 Jan 2024 13:03:28 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: Souji Thenria , FreeBSD Mailing List References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> From: Gary Aitken In-Reply-To: <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 13:03:28 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 13:03:28 -0700 (MST) X-Rspamd-Queue-Id: 4T9Jdb4Czyz4bDL X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 1/10/24 11:01, Souji Thenria wrote: >> # mount -t ntfs-3g /dev/da0s1 /mnt/memstick >> mount: /dev/da0s1: Invalid fstype: Invalid argument >> # ntfs-3g /dev/da0s1 /mnt/memstick >> NTFS signature is missing. >> Failed to mount '/dev/da0s1': Invalid argument >> The device '/dev/da0s1' doesn't seem to have a valid NTFS. >> Maybe the wrong device is used? Or the whole disk instead of a >> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? >> # ntfs-3g /dev/da0 /mnt/memstick >> NTFS signature is missing. >> Failed to mount '/dev/da0': Invalid argument >> The device '/dev/da0' doesn't seem to have a valid NTFS. >> Maybe the wrong device is used? Or the whole disk instead of a >> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? >> >> -o debug shows nothing additional > > > Can you try to mount the drive using: > 'ntfs-3g /dev/da0s1 /mnt/memstick' > > If I remember correctly, using the mount command with ntfs-3g did not > work for me in the past while using the command directly worked... Thanks; already tried that, same results (2nd command given above) The stick has been plugged into an android phone since it was first tried on the fbsd and ubuntu systems, before I installed ntfs-3g. Mounting it on ubuntu, I see two suspect files, 'Install SanDisk Software.dmg' and 'Install SanDisk Software.exe', plus a pdf that says to run the appropriate file to get "valuable software..." I'm thinking / hoping neither of those got automagically run, since it's never been plugged into a microsoft or mac system. I've since renamed them away. However, something, I assume the android phone, automagically set up a bunch of directories, which are empty: Android, AudioBooks, DCIM, Pictures, Videos, etc. Doesn't seem like any of that should have affected the formatting, Although at some point after I can get it to mount I'd like to know how to prevent the auto directory setup from happening. Gary From nobody Wed Jan 10 20:36:06 2024 X-Original-To: questions@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 4T9KML3zJfz566JG for ; Wed, 10 Jan 2024 20:36:14 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4T9KMK3Nkdz4gcb for ; Wed, 10 Jan 2024 20:36:13 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk Received: from [192.168.1.178] (host81-129-137-200.range81-129.btcentralplus.com [81.129.137.200]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 40AKa6g5049350 for ; Wed, 10 Jan 2024 20:36:06 GMT (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <42dd00f4-7773-4fe5-a258-aa08d4fdc8de@fjl.co.uk> Date: Wed, 10 Jan 2024 20:36:06 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-GB To: questions@freebsd.org References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> From: Frank Leonhardt In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.43 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.34)[-0.343]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[fjl.co.uk]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4T9KMK3Nkdz4gcb On 10/01/2024 20:03, Gary Aitken wrote: > On 1/10/24 11:01, Souji Thenria wrote: >>> # mount -t ntfs-3g /dev/da0s1 /mnt/memstick >>> mount: /dev/da0s1: Invalid fstype: Invalid argument >>> # ntfs-3g /dev/da0s1 /mnt/memstick >>> NTFS signature is missing. >>> Failed to mount '/dev/da0s1': Invalid argument >>> The device '/dev/da0s1' doesn't seem to have a valid NTFS. >>> Maybe the wrong device is used? Or the whole disk instead of a >>> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? >>> # ntfs-3g /dev/da0 /mnt/memstick >>> NTFS signature is missing. >>> Failed to mount '/dev/da0': Invalid argument >>> The device '/dev/da0' doesn't seem to have a valid NTFS. >>> Maybe the wrong device is used? Or the whole disk instead of a >>> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? >>> >>> -o debug shows nothing additional >> >> >> Can you try to mount the drive using: >> 'ntfs-3g /dev/da0s1 /mnt/memstick' >> >> If I remember correctly, using the mount command with ntfs-3g did not >> work for me in the past while using the command directly worked... > > Thanks; already tried that, same results (2nd command given above) > > The stick has been plugged into an android phone since it was first > tried on the fbsd and ubuntu systems, before I installed ntfs-3g. > Mounting it on ubuntu, I see two suspect files, 'Install SanDisk > Software.dmg' and 'Install SanDisk Software.exe', plus a pdf that > says to run the appropriate file to get "valuable software..." > I'm thinking / hoping neither of those got automagically run, since > it's never been plugged into a microsoft or mac system.  I've since > renamed them away. > > However, something, I assume the android phone, automagically set > up a bunch of directories, which are empty: Android, AudioBooks, > DCIM, Pictures, Videos, etc. > > Doesn't seem like any of that should have affected the formatting, > Although at some point after I can get it to mount I'd like to > know how to prevent the auto directory setup from happening. > > Gary I suspect you don't have the FUSE driver compiled into the kernel (if this is even possible). Try "kldload fusefs" and then try ntfs-g3 again. Regards, Frank. From nobody Wed Jan 10 22:33:04 2024 X-Original-To: freebsd-questions@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 4T9Myz36HCz56M4n for ; Wed, 10 Jan 2024 22:33:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9Myy6Hkrz3ydv for ; Wed, 10 Jan 2024 22:33:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none Received: from terra.edvax.de ([178.12.45.217]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MqbDs-1qt3HC1Qki-00mZ8d; Wed, 10 Jan 2024 23:33:18 +0100 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 40AMX9Vd007949; Wed, 10 Jan 2024 23:33:10 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 10 Jan 2024 23:33:04 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: Souji Thenria , FreeBSD Mailing List Subject: Re: Problem mounting new Sandisk 1TB USB drive Message-Id: <20240110233304.7a8b7f10.freebsd@edvax.de> In-Reply-To: References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:je97zWEUJOwJnsOJr8fyyj0CzfaVbyy/xwi2cWXOWHHbnW9Kfnn L/LZeUbBrx2xF+3ZwVyiQJuLMYjxulTuwPl0i8t0RGrDRKLAYwjoxwwUDH0QtQpCmvZ+ufi GMXO9cgeGExPMQVHezOlU7AYb3IUpQotRghPZP2Q5iwCw0AqoStb1v4qyHYFu3mNhAUAjnv 4vtF+P4gPxOpcf7D/Ms+Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:t1c/SMrCoYk=;sR4trFHOUY+PspH36/MqDe9MGYM up7vU7/sBL1IvPwFT7CJ6YsuOvuRJ2kHocTKhlbtuKb1SkX+i4xEJYPJJmJtA4fX9XronGdgU sx3XyAb/8h+kpJDOjGkD/skrr5xrH2y7AD2oFvepssfH1s0TJ/wG+7N2dXNtD1CJRajsdbVJ5 1Mr5I48XWvPIhYY0o98zmZ2iOXaz3lamIpwqBeYsSSAurZc0NOTdJUxymWJtbPbyjEloA1TeA 0pNkkSQvWYHvzwWlBUjUmuJb5QSLDt7pQyN+NoKaQ454IyGR3Io90UUcgNEKP0IK3QT/Y7Ue6 QtRVOLvwcqFPSF2zecb107IbuLQF6FJKIunnvmfYGrEbJlbMnaNP+Jndqk8sZNqqv075Bj8s6 mcrAknx82YJmhSPPUhQIvQbiSEze1Gg9WWJRZYgX35uUpUU+C9+hWgUpSelSFQxOiTz1uKmwe gfNdqgWGyDsHQwbuvf/X5wamcgeKSdDpXfPcDoX2SRn7GlixANn85Tu5yvHNyOR7aWA1Cr3w5 qP56q4LYP5P5NIZJHptY6uxvFAAmKk4fBBv53rPj+EwZf4kITtpIT+PTTtEOhVr3U3+OiJfq+ K3GQUEOsUVvUolX5oZFWMQprZ+HiowK9xAF/aEiXai248CeVVxAFcLFmCZG/6z0EDFimrpfAs qxYccm6CjXJTr4rvSZJzbBLJoMusCQ0SC+eXO/TAZoPiG6uCPlpkpawZPKK4XI8wHt3o70wpY +t24vIztd4iZi0bwp4aNS1HQiwoDudqfZNq8z4xLWcouCngKz2Vt+Yc9uj8OB74x+UEj6gi1y 0wLc29RNktcqVpqY/XCw0hPRhboPtCGGjKjHA7UqGHCX9xFdbnHcM80VCd0VJmIrfpCLajj82 xlLyE4yfXC3n8xA== X-Rspamd-Queue-Id: 4T9Myy6Hkrz3ydv X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] On Wed, 10 Jan 2024 13:03:28 -0700, Gary Aitken wrote: > The stick has been plugged into an android phone since it was first > tried on the fbsd and ubuntu systems, before I installed ntfs-3g. > Mounting it on ubuntu, I see two suspect files, 'Install SanDisk Software.dmg' and 'Install SanDisk Software.exe', plus a pdf that > says to run the appropriate file to get "valuable software..." > I'm thinking / hoping neither of those got automagically run, since > it's never been plugged into a microsoft or mac system. I've since > renamed them away. This observation leads to the following assumption: The stick is actually pre-formatted with exFAT. Problem here: exFAT disguises itself as an NTFS partition, but it does not have NTFS metadata and content, so ntfs-3g cannot mount it, even though tools like gpart or fdisk show a NTFS partition. So here is what you should check: 1. /boot/loader.conf contains: fuse_load="YES" Reboot if neccessary. 2. Mount device manually, read-only, perform checks, then unmount again: # mount.exfat -o ro /dev/da0s1 /mnt/memstick # df -f /mnt/memstick # ls -R /mnt/memstick # umount /mnt/memstick 3. Create /etc/fstab entry if desired. NB: mount.exfat does not have a manpage or help option. Perform this easily with root privileges, just to make sure you don't run into any permission problems for files involved. Also check "dmesg" output in case the system would log a severe filesystem inconsistency or error that could prevent mounting. > However, something, I assume the android phone, automagically set > up a bunch of directories, which are empty: Android, AudioBooks, > DCIM, Pictures, Videos, etc. It wouldn't probably have been able to do this if the stick was formatted with NTFS... > Doesn't seem like any of that should have affected the formatting, > Although at some point after I can get it to mount I'd like to > know how to prevent the auto directory setup from happening. Why don't you simply run newfs on the stick, with the filesystem *you* _want_ to use? You can use UFS it you want to, works perfectly well. ;-) The filesystem ot use depends on what you want to use it for. If data exchange with Android devices is your goal, you'd probably keep using exFAT... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nobody Wed Jan 10 23:42:22 2024 X-Original-To: freebsd-questions@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 4T9PVG2FjDz56VBD for ; Wed, 10 Jan 2024 23:42:30 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9PVF5rchz49tW for ; Wed, 10 Jan 2024 23:42:29 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40ANgMdH012272; Wed, 10 Jan 2024 16:42:22 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> Date: Wed, 10 Jan 2024 16:42:22 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: Polytropon Cc: Souji Thenria , FreeBSD Mailing List References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <20240110233304.7a8b7f10.freebsd@edvax.de> From: Gary Aitken In-Reply-To: <20240110233304.7a8b7f10.freebsd@edvax.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 16:42:23 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 16:42:23 -0700 (MST) X-Rspamd-Queue-Id: 4T9PVF5rchz49tW X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 1/10/24 15:33, Polytropon wrote: > On Wed, 10 Jan 2024 13:03:28 -0700, Gary Aitken wrote: >> The stick has been plugged into an android phone since it was first >> tried on the fbsd and ubuntu systems, before I installed ntfs-3g. >> Mounting it on ubuntu, I see two suspect files, 'Install SanDisk Software.dmg' and 'Install SanDisk Software.exe', plus a pdf that >> says to run the appropriate file to get "valuable software..." >> I'm thinking / hoping neither of those got automagically run, since >> it's never been plugged into a microsoft or mac system. I've since >> renamed them away. > > This observation leads to the following assumption: > > The stick is actually pre-formatted with exFAT. > > Problem here: exFAT disguises itself as an NTFS partition, > but it does not have NTFS metadata and content, so ntfs-3g > cannot mount it, even though tools like gpart or fdisk > show a NTFS partition. > > So here is what you should check: > > 1. /boot/loader.conf contains: > > fuse_load="YES" /boot/loader.conf.local: # added and commented out amdtemp; no longer needed? #amdtemp="YES" verbose_loading="YES" # Enable FUSE functionality for exfat filesystem mounting fuse_enable="YES" fuse_load="YES" > 2. Mount device manually, read-only, perform checks, then > unmount again: > > # mount.exfat -o ro /dev/da0s1 /mnt/memstick > # df -f /mnt/memstick > # ls -R /mnt/memstick > # umount /mnt/memstick What was the intent of the df -f (-f => invalid option)? That seemed to work, although it was properly umounted on a ubuntu system; or at least I think so. It was automagically mounted when plugged in, not written to, and then sync ; umount. A series of mount.exfat / umount / mount.exfat on fbsd seemed to clear it up. > NB: mount.exfat does not have a manpage or help option. $ apropos exfat mount.exfat-fuse(8) - mount an exFAT file system >> However, something, I assume the android phone, automagically set >> up a bunch of directories, which are empty: Android, AudioBooks, >> DCIM, Pictures, Videos, etc. > > It wouldn't probably have been able to do this if the > stick was formatted with NTFS... thanks > Why don't you simply run newfs on the stick, with the > filesystem *you* _want_ to use? You can use UFS it you > want to, works perfectly well. ;-) I want to be able to read it from an android phone, and I was/am concerned reformatting may make it unreadable by the phone. It appears the problem was not having fusefs.ko loaded, but continuing trying ntfs-3g instead of retrying mount.exfat. So all is well, thanks, but one question not addressed: Given that FUSE_ENABLE="YES" is present in rc.conf, why is kldlist="fusefs" still needed? Thanks all, Gary From nobody Thu Jan 11 00:42:15 2024 X-Original-To: freebsd-questions@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 4T9QrB5H4qz56cR3 for ; Thu, 11 Jan 2024 00:43:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9QrB0PBKz4K2y for ; Thu, 11 Jan 2024 00:43:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none Received: from terra.edvax.de ([178.12.45.217]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M8yso-1rHfP81YZS-0065AQ; Thu, 11 Jan 2024 01:42:28 +0100 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 40B0gKTI008207; Thu, 11 Jan 2024 01:42:20 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 11 Jan 2024 01:42:15 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: Souji Thenria , FreeBSD Mailing List Subject: Re: Problem mounting new Sandisk 1TB USB drive Message-Id: <20240111014215.d25a19f3.freebsd@edvax.de> In-Reply-To: <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <20240110233304.7a8b7f10.freebsd@edvax.de> <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:fgr/kMy2HHXJBVL87a6xOgLNxeKhIy4UFWJCNY8vONpd71pZn3g N5rvMozfEtFqDXR/4kggkdh7sCOc2j5zcgtURAnzp1nHnKGdce1oPaGe84tIZt1DglWXhwe p8ks3esuO4vuT1WFqe98wsRcMzxp86y4dZqVSpBFjdJVl7+9GjwBpbTjlS1IwJYtsd9ngCh gFcQX8RAmd2eGVPcPjCzA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:+iiUuiX2PZk=;WTJ0mZ1uZPFf5chye4yotHGizBS 8KZ7HyKM65f2M1cJxNKfPS22vl0T+K6Y0O82lPVhqRyAk60HDvstO3TU4oXPsHC/dna4RnEYR VUYz4v8S/KXXAGzygLGmQ5loluLGn26vnfylE+wZpFY25MOV68uzO/5hai+NEpRzRn2S7JZn0 249M/6pJWklkDCe9z2P5RisFOwRBqSetcuISoWEDmM5yXjeaECzhl8W344J0KBoJxE0Jcb6pq AKoyy2f/ZOY0eRkI2fQgApSFoPUitbF9MoMDGDVtnb74mPyh7+8DPALA/zWuHTTR950XjLBR3 ZRyYzBLiNQCAA3xo8l1gWq49jMMrYfxxqlQqM868YZNla6FPlW5AiJe5tLCOxQSFN07eFZsYD cXpgTcZpjwWHqzEnaJ6/3aqiIM7uuiUHJ6r/uOlkMbJVV9hn4hBH2+KEUHe9OeVWjGws08xFO vcJW47dElAwjSx6ZIOhDxWl1dv8UbH3MBF1lZl1rdKxz7vsHkkiI0stuQjWVy0QmeVYQPL8Kl XLRqwOupWXUCn7Pvn7uZtaKVvZYErSejEHrEmnXCrbQd+6nOYSHAc/ALYSdwpXjYr3Capw3WQ XoaxGux74rXUL1phqT7d/smXUTNq49opPJMOb8hI4fzQeyFJvq6NudW7W9k6V0AmWkz6Z16QF 5jKbfacaWZnd5KwDObNhTrQwFbDFrxts7t0ThV3OjcFv/sVXRZzZ9pbIMhw/oIyCmH0jNwBob b4KYiZ9UllOkiEPV1j3BdJe0MqJ0ri1mA2cuc0hoB2soewhM48xLFDJwdZlKiRWK9uK7CtR9D IXskKjC/6LmvH9KxymwbIS3VF7JTEnoohao/rveaTx/RN8ta5wgDtzbv946zKZRd1FGsXtnSA w/Pf4Imqgbz0zrw== X-Rspamd-Queue-Id: 4T9QrB0PBKz4K2y X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] On Wed, 10 Jan 2024 16:42:22 -0700, Gary Aitken wrote: > On 1/10/24 15:33, Polytropon wrote: > > On Wed, 10 Jan 2024 13:03:28 -0700, Gary Aitken wrote: > >> The stick has been plugged into an android phone since it was first > >> tried on the fbsd and ubuntu systems, before I installed ntfs-3g. > >> Mounting it on ubuntu, I see two suspect files, 'Install SanDisk Software.dmg' and 'Install SanDisk Software.exe', plus a pdf that > >> says to run the appropriate file to get "valuable software..." > >> I'm thinking / hoping neither of those got automagically run, since > >> it's never been plugged into a microsoft or mac system. I've since > >> renamed them away. > > > > This observation leads to the following assumption: > > > > The stick is actually pre-formatted with exFAT. > > > > Problem here: exFAT disguises itself as an NTFS partition, > > but it does not have NTFS metadata and content, so ntfs-3g > > cannot mount it, even though tools like gpart or fdisk > > show a NTFS partition. > > > > So here is what you should check: > > > > 1. /boot/loader.conf contains: > > > > fuse_load="YES" > > /boot/loader.conf.local: > # added and commented out amdtemp; no longer needed? > #amdtemp="YES" > verbose_loading="YES" > # Enable FUSE functionality for exfat filesystem mounting > fuse_enable="YES" > fuse_load="YES" THe _enable settings belong to /etc/rc.conf; /boot/loader.conf uses the _load settings. > > 2. Mount device manually, read-only, perform checks, then > > unmount again: > > > > # mount.exfat -o ro /dev/da0s1 /mnt/memstick > > # df -f /mnt/memstick > > # ls -R /mnt/memstick > > # umount /mnt/memstick > > What was the intent of the df -f (-f => invalid option)? Should have been "df -h". :-) Intention: Compare "dmesg" entry (device reporting size) with filesystem size, and then compare to what's written on the device itself. > That seemed to work, although it was properly umounted on a ubuntu > system; or at least I think so. It was automagically mounted when > plugged in, not written to, and then sync ; umount. That sounds correct. The "eject device" in most GUI file managers (including that of Gnome) performs those steps. However, just be sure, and _know_ better than guess. :-) > A series of mount.exfat / umount / mount.exfat on fbsd seemed to > clear it up. There are also fsck tools for most filesystems, and there probably is one for exFAT, just in case. > > NB: mount.exfat does not have a manpage or help option. > > $ apropos exfat > mount.exfat-fuse(8) - mount an exFAT file system Okay, thanks for that pointer. It's not obvious that you need the manpage of "mount.exfat-fuse" when you want to know the options of "mount.exfat" though... > > Why don't you simply run newfs on the stick, with the > > filesystem *you* _want_ to use? You can use UFS it you > > want to, works perfectly well. ;-) > > I want to be able to read it from an android phone, and I was/am > concerned reformatting may make it unreadable by the phone. In worst case, let the target deivce format the stick. I've once been bitten by that because I "knew better" and preformatted a SD card with FAT, just to discover that my digital camera doesn't like it - it wanted the old 8.3 type format instead of the -F 32 one. In your specific case, exFAT (or FAT with the -F 32 format - see "man newfs_msdos") is probably the safest way for data exchange here. > It appears the problem was not having fusefs.ko loaded, but > continuing trying ntfs-3g instead of retrying mount.exfat. That's a trap to easily fall into: exFAT does not identify itself as exFAT or FAT, but as NTFS, but it is not NTFS. > So all is well, thanks, but one question not addressed: > Given that FUSE_ENABLE="YES" is present in rc.conf, > why is kldlist="fusefs" still needed? Personally, I am explicit instead of relying on "chains" here: I put fuse_enable="YES" in /boot/loader.conf and have the correct module loaded. Simple things need to be simple and kept boring. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nobody Thu Jan 11 02:25:14 2024 X-Original-To: freebsd-questions@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 4T9T6C651Hz56pKh for ; Thu, 11 Jan 2024 02:25:23 +0000 (UTC) (envelope-from kpn@neutralgood.org) Received: from gunsight1.neutralgood.org (gunsight1.neutralgood.org [IPv6:2607:f758:2280:1:d6be:d9ff:feac:a1e9]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gunsight1.neutralgood.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9T6B75Jgz4dDw for ; Thu, 11 Jan 2024 02:25:22 +0000 (UTC) (envelope-from kpn@neutralgood.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kpn@neutralgood.org designates 2607:f758:2280:1:d6be:d9ff:feac:a1e9 as permitted sender) smtp.mailfrom=kpn@neutralgood.org Received: from gunsight1.NeutralGood.ORG (localhost [127.0.0.1]) by gunsight1.neutralgood.org (8.17.1/8.17.1) with ESMTPS id 40B2PFAv051657 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 10 Jan 2024 21:25:15 -0500 (EST) (envelope-from kpn@gunsight1.NeutralGood.ORG) Received: (from kpn@localhost) by gunsight1.NeutralGood.ORG (8.17.1/8.17.1/Submit) id 40B2PEJ3051654; Wed, 10 Jan 2024 21:25:14 -0500 (EST) (envelope-from kpn) Date: Wed, 10 Jan 2024 21:25:14 -0500 From: "Kevin P. Neal" To: "J." Cc: "freebsd-questions@freebsd.org" Subject: Re: Trying to Install the Linux WPS Office Port; Understanding and Resolving the Errors Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-No-archive: Yes X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; ASN(0.00)[asn:13649, ipnet:2607:f758::/32, country:US]; TO_DN_SOME(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[protonmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[neutralgood.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4T9T6B75Jgz4dDw On Sat, Jan 06, 2024 at 04:59:23PM +0000, J. wrote: > Hello everyone, > > I'm attempting to install the port Linux WPS Office [1], but the > installation process is halted with a few error messages. As a > FreeBSD/UNIX neophyte, I have difficulty understanding these errors and > how to resolve them. > > Being in the proper ports directory, I do: make install clean Try asking on the freebsd-ports list. -- Kevin P. Neal http://www.pobox.com/~kpn/ On the community of supercomputer fans: "But what we lack in size we make up for in eccentricity." from Steve Gombosi, comp.sys.super, 31 Jul 2000 11:22:43 -0600 From nobody Thu Jan 11 03:28:27 2024 X-Original-To: freebsd-questions@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 4T9VWH67VZz55y9W for ; Thu, 11 Jan 2024 03:28:43 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 4T9VWG6ylqz4lpm for ; Thu, 11 Jan 2024 03:28:42 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.208.174 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2cd0c17e42bso54951351fa.0 for ; Wed, 10 Jan 2024 19:28:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704943719; x=1705548519; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uqgmn+4UW/oW+mRH+gj7i/V5QMz2i8lN6BrrW2DvdQQ=; b=baCFjItVXFxe+twMTLO4yk6vdttovjGEq+XvcpP+NU6zv0GDtCT7uinkDe082S2z+u y4NsKvHWN8G2+If/96avFCpz9i8Bvvo8mlzAL7veeMlk0OuIg1NqlxObdk2G55kp13KJ puNndqpIF7R59AUxHmEfEcqADOtUpXWFxISRrzPzcKX0SCYd1/j3LkG7LqpbbugV9iSM 0HO8hjTr1kb1HOBVSO1Z+gzcR7/bkK2ffcDOVWmMi03uUGwLGoaFFYe1+njcz1m/bpsb fJ04tKcRgNUZvan28tBimtVLDBrVJwgApWkKm6Pr55PgYYxfpauGNjB/F76qzbkgYA4q 0KSw== X-Gm-Message-State: AOJu0YzopFmgfQeKWuMLkV1HKUoLnZ3msoV11rNzYJWxg39XpVwJfakJ zcY9LIXqPxyVMSwVn3jHHoGpuCBm+AkLPtK1NOlUPW/5 X-Google-Smtp-Source: AGHT+IF7RiL3pze3e6TeMj0bPHK0zv1lKR3HwL5CNp4D+ShDtZUa9I9MZBaK5oaMTxqhaHBCydtJSrr7+bVGO1llk4s= X-Received: by 2002:a2e:c49:0:b0:2cd:1c12:cb16 with SMTP id o9-20020a2e0c49000000b002cd1c12cb16mr6381ljd.81.1704943719475; Wed, 10 Jan 2024 19:28:39 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Wed, 10 Jan 2024 22:28:27 -0500 Message-ID: Subject: Re: OT: No BSD at FOSDEM 2024? To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: - X-Spamd-Result: default: False [-1.96 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.991]; NEURAL_HAM_SHORT(-0.97)[-0.968]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEFALL_USER(0.00)[carpeddiem]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.174:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.174:from] X-Rspamd-Queue-Id: 4T9VWG6ylqz4lpm On Tue, 2 Jan 2024 at 07:27, xpetrl wrote: > > Hi List, > > This is completely OT. > > I noticed that at FOSDEM 2024, BSD has no DevRoom and no Stand. > > It really surprising not seeing BSD, because for the past 15th edition > BSD had a DevRoom and some Stands. > > Do somebody know what appends, is BSD loosing interest in FOSDEM? Only the FOSDEM organizers know - a BSD devroom and stands were requested, but none were accepted. From nobody Thu Jan 11 03:34:04 2024 X-Original-To: freebsd-questions@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 4T9Vdg0yFRz55ysp for ; Thu, 11 Jan 2024 03:34:15 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9Vdf4Fndz4nS6 for ; Thu, 11 Jan 2024 03:34:14 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40B3Y4od012644; Wed, 10 Jan 2024 20:34:04 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <848c3325-4dfe-4508-ab47-80a6f2925a26@dreamchaser.org> Date: Wed, 10 Jan 2024 20:34:04 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: Polytropon Cc: Souji Thenria , FreeBSD Mailing List References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <20240110233304.7a8b7f10.freebsd@edvax.de> <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> <20240111014215.d25a19f3.freebsd@edvax.de> From: Gary Aitken In-Reply-To: <20240111014215.d25a19f3.freebsd@edvax.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 20:34:05 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 20:34:05 -0700 (MST) X-Rspamd-Queue-Id: 4T9Vdf4Fndz4nS6 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 1/10/24 17:42, Polytropon wrote: > On Wed, 10 Jan 2024 16:42:22 -0700, Gary Aitken wrote: >> /boot/loader.conf.local: >> # added and commented out amdtemp; no longer needed? >> #amdtemp="YES" >> verbose_loading="YES" >> # Enable FUSE functionality for exfat filesystem mounting >> fuse_enable="YES" >> fuse_load="YES" > > THe _enable settings belong to /etc/rc.conf; /boot/loader.conf > uses the _load settings. > Thanks, should have noticed that, it was also in rc.conf. >>> 2. Mount device manually, read-only, perform checks, then >>> unmount again: >>> >>> # mount.exfat -o ro /dev/da0s1 /mnt/memstick >>> # df -f /mnt/memstick >>> # ls -R /mnt/memstick >>> # umount /mnt/memstick >> >> What was the intent of the df -f (-f => invalid option)? > > Should have been "df -h". :-) > > Intention: Compare "dmesg" entry (device reporting size) > with filesystem size, and then compare to what's written > on the device itself. Ok, df -h makes sense, but I don't understand the ls -R now. I don't see anything comparable to df -h output. >> A series of mount.exfat / umount / mount.exfat on fbsd seemed to >> clear it up. > > There are also fsck tools for most filesystems, and there > probably is one for exFAT, just in case. I thought probably so. Looks like its exfatfsck, in sysutils/exfat-utils: $ cat /usr/ports/sysutils/exfat-utils/pkg-descr Utilities to manage extended file allocation table filesystem. This package provides tools to create, check and label the filesystem. It contains dumpexfat to dump properties of the filesystem, exfatfsck to report errors found on a exFAT filesystem, exfatlabel to label a exFAT filesystem and mkexfatfs to create a exFAT filesystem. > Okay, thanks for that pointer. It's not obvious that you > need the manpage of "mount.exfat-fuse" when you want to > know the options of "mount.exfat" though... No kidding. I've stumbled on that multiple times. A symlink seems like a no-brainer, but for once apropos was useful. I did add a symlink just now to save trouble. Don't know if that would be preserved across upgrades though. >> I want to be able to read it from an android phone, and I was/am >> concerned reformatting may make it unreadable by the phone. > > In worst case, let the target deivce format the stick. > I've once been bitten by that because I "knew better" > and preformatted a SD card with FAT, just to discover > that my digital camera doesn't like it - it wanted the > old 8.3 type format instead of the -F 32 one. I've run into something like that before also, also with a camera. > In your specific case, exFAT (or FAT with the -F 32 > format - see "man newfs_msdos") is probably the safest > way for data exchange here. Thanks >> So all is well, thanks, but one question not addressed: >> Given that FUSE_ENABLE="YES" is present in rc.conf, >> why is kldlist="fusefs" still needed? > > Personally, I am explicit instead of relying on "chains" > here: I put fuse_enable="YES" in /boot/loader.conf and > have the correct module loaded. Simple things need to > be simple and kept boring. :-) uh-oh, I'm confused; that seems to contradict your comment above. fuse_enable="YES" makes sense in both /etc/rc.conf and /boot/loader.conf? I thought only kld_lists="fusefs" went in /boot/loader.conf Thanks again, Gary From nobody Thu Jan 11 03:55:36 2024 X-Original-To: freebsd-questions@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 4T9W741p38z562Cl for ; Thu, 11 Jan 2024 03:56:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9W734hlzz4qdd for ; Thu, 11 Jan 2024 03:56:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none Received: from terra.edvax.de ([178.12.32.216]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N5UoU-1r7stS2Dr0-016ujE; Thu, 11 Jan 2024 04:55:48 +0100 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 40B3tf7C009048; Thu, 11 Jan 2024 04:55:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 11 Jan 2024 04:55:36 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: Souji Thenria , FreeBSD Mailing List Subject: Re: Problem mounting new Sandisk 1TB USB drive Message-Id: <20240111045536.ce4bc3d9.freebsd@edvax.de> In-Reply-To: <848c3325-4dfe-4508-ab47-80a6f2925a26@dreamchaser.org> References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <20240110233304.7a8b7f10.freebsd@edvax.de> <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> <20240111014215.d25a19f3.freebsd@edvax.de> <848c3325-4dfe-4508-ab47-80a6f2925a26@dreamchaser.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:/TdRFX7pDdvKTuUtajWQQiXT0/fG/bOiKPiA1RaoRpYKm6kKQaG JqwZ7Rrhi3YRUU0TrCl8RadXDfw7LVk4rHv42e8I/5CEynhixLZvchQacMfMAoq0oxcQ5aj RkEVwxkAzDoc+3EbbWGOBFajGQjJPr/BwARgHQ5HJe/0qExY8L6E6XgoRpvsRbEGxrnGCu0 7qdG+Ym+JzC7+NlL1k/IQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Ah6fobMDKJU=;LBpXRB2mlI8sOiM0EX29ONJsnUf GzcxJknGSgwHzX5HFe0q5yyarps+/DuoNowOx+fMuiWsLdI7+IYHkxoKTSpg127ZEAEOuNs1E 9as34hVzDbtNnftWbQy70WztihviML3nhCLGMzd5c730DxxgFyteuTt40tuh4okAYsZUP2jB2 UGsH2l+5XNpfENNInx1BXUjsF01/SFvI8YZ3D/8TRK5e53MkzHMEpZQ2sBFkatdxOt1UYxJ9K zbv43E29gLvF9dcac3JgFtqsJBJ4d+N4nesrummVm2bGMkyAGXZhgLtXKK9MR3rznu6hYF81s R5BdzsKzjhauTXTCvsMirLScKGIo1Bc/BUWHv2E1iHOvvBKjB233LrmuISuu7YHpcUvxI82f0 HHw6OJotsIZvTyF1e/h08otobGGrPbshPp65JzBXwKQUcd7nwFlvszdreP+kVp7mis9I9Ngms Ny9IM/pQvlT8ilpvq2YS2TujnxM65mw8jVhs89A/pwVVwH/37kMC57SXquhLJZU5s43/0dbJ1 hIw3tsrzLQFCEGh3GVRnldhDDFJvZHPwE0krMslsOR1+XOaFYRSPb+0YJT3DpYMg/fX5wxDml FwpqtOZ7ng5AJgMM6r9paXOKfwSpQ1W16iEhcUvlUeKHdiHifYj3CdrMhC7g0VQUxdVL+EWBa ovLoyVLPBM3YkBp1zWIGBpNjVhPDoV8Q/jIGmr7dxLJ4YCSTCtAExdRMb31LQ0cPLPYaZJymc 6zP4AHcJOMDfv7/JI2K3eF6V1G38jH2fYvVdJjHY055UFYqaPQavxBXfh6YAToldUMT5alYu6 U7K6oWiapCuFT10eAfS+NjEmCoVi2GOOHUS9X1h2cq/Sepws8r6bpbOm/MmBc6pZL0OG9UWTn F6IwSxfmiHvKxYwlgjHIAZhJzf2++dgd6W0M= X-Rspamd-Queue-Id: 4T9W734hlzz4qdd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] On Wed, 10 Jan 2024 20:34:04 -0700, Gary Aitken wrote: > On 1/10/24 17:42, Polytropon wrote: > > On Wed, 10 Jan 2024 16:42:22 -0700, Gary Aitken wrote: > [...] > >>> 2. Mount device manually, read-only, perform checks, then > >>> unmount again: > >>> > >>> # mount.exfat -o ro /dev/da0s1 /mnt/memstick > >>> # df -f /mnt/memstick > >>> # ls -R /mnt/memstick > >>> # umount /mnt/memstick > >> > >> What was the intent of the df -f (-f => invalid option)? > > > > Should have been "df -h". :-) > > > > Intention: Compare "dmesg" entry (device reporting size) > > with filesystem size, and then compare to what's written > > on the device itself. > > Ok, df -h makes sense, but I don't understand the ls -R now. > I don't see anything comparable to df -h output. It's just a very simple test to see if existing directory structures can be traversed correctly, nothing more. It's a hint to filesystem integrity. So just a few basic tests if the mount has worked as intended (and you have free space on the device and there is something on it, ideally something you _expect_ to be there). > >> So all is well, thanks, but one question not addressed: > >> Given that FUSE_ENABLE="YES" is present in rc.conf, > >> why is kldlist="fusefs" still needed? > > > > Personally, I am explicit instead of relying on "chains" > > here: I put fuse_enable="YES" in /boot/loader.conf and > > have the correct module loaded. Simple things need to > > be simple and kept boring. :-) > > uh-oh, I'm confused; that seems to contradict your comment above. > > fuse_enable="YES" makes sense in both /etc/rc.conf and > /boot/loader.conf? > I thought only kld_lists="fusefs" went in /boot/loader.conf Sorry, I am old and stupid. Very stupid. fuse_load="YES" ---> /boot/loader.conf fusefs_enable="YES" ---> /etc/rc.conf Very very stupid. The addition to /boot/loader.conf serves the same purpose as using the kldlist="..." setting in /etc/rc.conf, except that it happens at a much earlier stage. The result is the same, as "kldstat" output will correctly show. Very very _very_ stupid. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nobody Thu Jan 11 04:16:48 2024 X-Original-To: freebsd-questions@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 4T9WZt4zr3z564MW for ; Thu, 11 Jan 2024 04:16:54 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9WZt1LJGz4tY0 for ; Thu, 11 Jan 2024 04:16:54 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40B4Gmbm012717; Wed, 10 Jan 2024 21:16:48 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <83886689-3009-4b1f-8af9-d80c4568ee7c@dreamchaser.org> Date: Wed, 10 Jan 2024 21:16:48 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: Polytropon Cc: Souji Thenria , FreeBSD Mailing List References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <20240110233304.7a8b7f10.freebsd@edvax.de> <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> <20240111014215.d25a19f3.freebsd@edvax.de> <848c3325-4dfe-4508-ab47-80a6f2925a26@dreamchaser.org> <20240111045536.ce4bc3d9.freebsd@edvax.de> From: Gary Aitken In-Reply-To: <20240111045536.ce4bc3d9.freebsd@edvax.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 21:16:48 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Wed, 10 Jan 2024 21:16:48 -0700 (MST) X-Rspamd-Queue-Id: 4T9WZt1LJGz4tY0 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 1/10/24 20:55, Polytropon wrote: > Sorry, I am old and stupid. Very stupid. That makes two of us :-( We can have a contest, but I fear I might win. > fuse_load="YES" ---> /boot/loader.conf > > fusefs_enable="YES" ---> /etc/rc.conf > The addition to /boot/loader.conf serves the same purpose > as using the kldlist="..." setting in /etc/rc.conf, except > that it happens at a much earlier stage. The result is the > same, as "kldstat" output will correctly show. Appreciate the help. Thanks again. Gary From nobody Thu Jan 11 05:03:37 2024 X-Original-To: freebsd-questions@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 4T9Xd472BXz56Qrv for ; Thu, 11 Jan 2024 05:03:52 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 4T9Xd424dHz43Yq for ; Thu, 11 Jan 2024 05:03:52 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-5efb0e180f0so49877667b3.1 for ; Wed, 10 Jan 2024 21:03:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1704949431; x=1705554231; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vpaPBF1m3bAN+cDdeM6dNRxey8HLDmq/ORhQFvQvpAI=; b=MLKMvHUC9rJwSj7/SuAy4zF7Xs+MSCUUgzOm5JA08aahdL1J9dbvSNbzYlwAnAjp9g uUIKCtgJYo4GWhORTKV+UyRwv0SrnKPb9W7LkT29fAvpRu+cGBqXEukW5SasyZ5U0DAy 2P64F1JYN6qoAqXu1CPD3Uc7QYCGTW0JAxbegfBBD6LOY0SqDSp3NRijFfe1tRodGIhe 3cbLixpG0t0sgsUEoNzgXC1RXtPyY+4FBrhLcIXfYlIg4H7iec5WfyjTVEiFcItxGVDY pzZBbXka4HgWtjv6h04+SJDxMPibuUHxQaqIbSYrCq2Fa68h+yacUxf3d8i7XfkY44C+ TiHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704949431; x=1705554231; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vpaPBF1m3bAN+cDdeM6dNRxey8HLDmq/ORhQFvQvpAI=; b=rWyLPes/NyK6guYbQc6JCg/V4a5yabJM8M5xyrDCWHHVpqC79jcut5//ZxYVMSFdVW cGYp1oBeNoVTixD3RtdbJAXYBPR/QusCSHPR8do5n0ojYGQnCkfHDNsqWLudm7S9ANJl 4ieTHfXmdLr53BzzWCy6ancCDkOy1h17PPsQzpSexPt0ltYZrG4gf6Ze+qVTlzqmqy+R yn/cYv14BrjMzyk2/q/PV5kK3nNvoU4YWWKpllSlb8XX9XA5IgPdsgmQ63Vd13oEpkHU wN6CbaSNINEbbTn0rsXiruCWj8x7RA0gmx2nX1I96piJuvGavbIQTXPJfos9jFrQNBUW 1FAg== X-Gm-Message-State: AOJu0YxGtKqfmKUXZOrcizUiCSXjXqQFO4ekCPzAXYswq6RAQsGssu7U AAVbM3viG1UBRtZNhx+AYMX1J+ANON8/p8j0y/hbxojDSA== X-Google-Smtp-Source: AGHT+IEGaPq5GSTwXfZTd9uzxqt/sJISnhqV8AXR6XW1KAOQ4eGJq+gX5jXHXJek6MC2I7385Jaq3Q== X-Received: by 2002:a5b:843:0:b0:dbe:a081:97b9 with SMTP id v3-20020a5b0843000000b00dbea08197b9mr620286ybq.101.1704949431197; Wed, 10 Jan 2024 21:03:51 -0800 (PST) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com. [209.85.219.175]) by smtp.gmail.com with ESMTPSA id d4-20020a5b0c44000000b00dbf26ef0daesm95289ybr.6.2024.01.10.21.03.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 21:03:50 -0800 (PST) Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-dbed4b03b48so3830938276.3; Wed, 10 Jan 2024 21:03:50 -0800 (PST) X-Received: by 2002:a25:d84a:0:b0:dbe:9e0a:151f with SMTP id p71-20020a25d84a000000b00dbe9e0a151fmr596469ybg.63.1704949430384; Wed, 10 Jan 2024 21:03:50 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Thu, 11 Jan 2024 06:03:37 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: OT: No BSD at FOSDEM 2024? To: freebsd-questions@freebsd.org Cc: Ed Maste Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4T9Xd424dHz43Yq X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Thu, Jan 11, 2024 at 4:28=E2=80=AFAM Ed Maste wrote: > On Tue, 2 Jan 2024 at 07:27, xpetrl wrote: > > Hi List, > > This is completely OT. > > I noticed that at FOSDEM 2024, BSD has no DevRoom and no Stand. > > It really surprising not seeing BSD, because for the past 15th edition > > BSD had a DevRoom and some Stands. > > Do somebody know what appends, is BSD loosing interest in FOSDEM? > > Only the FOSDEM organizers know - a BSD devroom and stands were > requested, but none were accepted. :-( :-( :-( -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Thu Jan 11 12:37:57 2024 X-Original-To: questions@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 4T9kj36XNkz55dHW for ; Thu, 11 Jan 2024 12:37:59 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4T9kj24Hdsz44vw for ; Thu, 11 Jan 2024 12:37:58 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk Received: from [192.168.1.178] (host81-129-137-200.range81-129.btcentralplus.com [81.129.137.200]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 40BCbuV5076519 for ; Thu, 11 Jan 2024 12:37:57 GMT (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <02374777-45e0-4de6-895d-0ff265fec6b9@fjl.co.uk> Date: Thu, 11 Jan 2024 12:37:57 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-GB To: questions@freebsd.org References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <42dd00f4-7773-4fe5-a258-aa08d4fdc8de@fjl.co.uk> From: Frank Leonhardt In-Reply-To: <42dd00f4-7773-4fe5-a258-aa08d4fdc8de@fjl.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.08 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.99)[-0.991]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196:c]; RCVD_NO_TLS_LAST(0.10)[]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[fjl.co.uk]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1] X-Rspamd-Queue-Id: 4T9kj24Hdsz44vw On 10/01/2024 20:36, Frank Leonhardt wrote: > > I suspect you don't have the FUSE driver compiled into the kernel (if > this is even possible). > > Try "kldload fusefs" and then try ntfs-g3 again. > > Regards, Frank So this worked? From nobody Thu Jan 11 14:15:00 2024 X-Original-To: freebsd-questions@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 4T9msD4TVzz565vt for ; Thu, 11 Jan 2024 14:15:12 +0000 (UTC) (envelope-from markbsdmail2023@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 4T9msC5vt9z4PZL for ; Thu, 11 Jan 2024 14:15:11 +0000 (UTC) (envelope-from markbsdmail2023@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="P/CbAQ/Z"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of markbsdmail2023@gmail.com designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=markbsdmail2023@gmail.com Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-7831806c51bso499148585a.1 for ; Thu, 11 Jan 2024 06:15:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704982511; x=1705587311; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=OUaf22MLJDFZssgZOQDq5cB3IXkzLc+qMqyVoKz2WGc=; b=P/CbAQ/ZigSneo+G/YGILO/EIWN3maCk4N+vmw5yI72bqFT0oh3mYLngQUr0vbNY0v WzHmjfJGdUeSkbgF4H5Xmo8Q+8JH+yUaVDvnIhJ5uxGdV9FgRAhjUUI6BvoOp1y6D+Mx H1Wi0jh7vfU8bAl6VwJEc+wlIyBBZ4+HY1qi2UY0YiportD9TE8rc13fHcQ0NUNfAGnh kL0dyi+r9kv89HuLnw922HK1ty9vfzDpaiFZvszgTqM8Yp7NRpoZnPkCPj8CO7TCvlPG 4CIzAcFdCEmTTZUlxyQUW9DP1NqH/7ozreBvtePjiiUxJIipGWss+Tyv3K8r6XAj/Spi njTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704982511; x=1705587311; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OUaf22MLJDFZssgZOQDq5cB3IXkzLc+qMqyVoKz2WGc=; b=LXQukxCH+mK6Oqa8y0dIQeXWE6zFdv5TUZYc3/eey835tF3dHycSjf4+tnUOpyddjK hhonmO0I7k17Z6cJsvg2kmnpSsXQtvDwCy55zhhN3qKXARpIuAV0W3TfoyGOdWPMzk6K S+TmML4Pa2y9UaS04rzX9wmctXyanSeQCG6u1b076zR2+j1fjesimjKD3IFtLvQd6MkT oJQu5NDy0NLReGhqB9hCVaEMPaaFUX6gNojtJNPvPCwuWYXwxAI/SnbyP2WqhZDc4Xox z4iNjYHV/f03fVKc89KL/SdRKnXZN1sXPxlt6VAfl+0loC8Axs655iBDbyHY4SBl/dRZ pgZw== X-Gm-Message-State: AOJu0YzXs/jla+a7pwvpnaxcOYtcyaoQt8xRmfa7dum1Smsc9tWDc+i4 eO0aG9vJqO+dKhNLvqtdOT116Hdmy7u8rSe9PN2xy/LOaxU= X-Google-Smtp-Source: AGHT+IFT709HksYQ77opqn+NgJvely83Zn0vMG3C9ujIv3OyiBIurjgVBpOMhwfuuM+Kyhx9dRBIttD3bXu2jDZrDMk= X-Received: by 2002:a05:6214:23c5:b0:67f:c741:dda7 with SMTP id hr5-20020a05621423c500b0067fc741dda7mr1296808qvb.48.1704982510778; Thu, 11 Jan 2024 06:15:10 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Mark Date: Thu, 11 Jan 2024 17:15:00 +0300 Message-ID: Subject: Bhyve backup options? To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e73fb6060eac2caf" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.95 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.954]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from] X-Rspamd-Queue-Id: 4T9msC5vt9z4PZL --000000000000e73fb6060eac2caf Content-Type: text/plain; charset="UTF-8" Hello. I wonder what kind of backup solution (from local host server running VMs to a remote box) do you have, for your VMs? I was playing with the zfs_autobackup script ( github.com/psy0rz/zfs_autobackup) and I feel like it's too complicated. Now I plan to return to rsync over SSH. Is this a good idea, or any alternative you might suggest? Second -and much important- question: Is it a bad practice to take a backup of a running bhyve VM instance (actually doing tar on the 'disk1.img' VM disk)? Should the VMs be stopped before doing so? Any data loss possibility, otherwise? If powering them off is needed, and in case of dozens of VMs running, how would you handle that? Many thanks in advance. --000000000000e73fb6060eac2caf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

I wonder what kind of backup sol= ution (from local host server running VMs to a remote box) do you have, for= your VMs?

I was playing with the zfs_autobackup s= cript (github.com/psy0r= z/zfs_autobackup) and I feel like it's too complicated.
<= br>
Now I plan to return to rsync over SSH. Is this a good idea, = or any alternative you might suggest?

Second = -and much important- question:

Is it a bad practic= e to take a backup of a running bhyve VM instance (actually doing tar on th= e 'disk1.img' VM disk)? Should the VMs be stopped before doing so? = Any data loss possibility, otherwise?

If powering = them off is needed, and in case of dozens of VMs running, how would you han= dle that?

Many thanks in advance.
--000000000000e73fb6060eac2caf-- From nobody Thu Jan 11 14:34:44 2024 X-Original-To: freebsd-questions@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 4T9nJX2kQQz568Lq; Thu, 11 Jan 2024 14:35:24 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 4T9nJW1xwGz4XRq; Thu, 11 Jan 2024 14:35:23 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=I1Z2cFie; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::52d as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-558b5f4cf29so166642a12.3; Thu, 11 Jan 2024 06:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704983721; x=1705588521; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=wQfoGh9ejTq8YSQGbzdFQeIoOb24oCgvFpuh71KirxI=; b=I1Z2cFieXopE3LxqNktP+m69opTFsQ7sOjxRyfIv9HvfA5C1lDYSMrNdaE1TTLankZ 97toZamkg7/a/sDhBc5BuqS/XKa5F6fiJpGotVQBNJyDyhIvlUsSJE/uXhvGv64PeRcs SHgi2691pE0u1I6IqcjPf9Xf6I1j8rPdObyjkpKBMNarM2L4EoV34noZ8dDw3kLU8Hkv rMBahlLigP2eGZkHAz2+KRD/2SnRCMB9nNQcOi0hdcQIJ1vWzQExWXR7ZwgDxq9FoReO t15z8JvTi73r2D9KPT/1wvhxcvG3O/B8GM2SXYRJOqOzv4XDnIp4p9p2b7s8IRWDn3J0 ryvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704983721; x=1705588521; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wQfoGh9ejTq8YSQGbzdFQeIoOb24oCgvFpuh71KirxI=; b=ExxAnFAvTObLyL/caHbAnLN4+aQFQMqqMNvAKzXmjvAx1KfzhNC1RDAtraMaMt/ka8 razZ7fGaP679p67EkbaVenrPIw3iklzoT7gn7W3QB9lZ9yQt99tUMBbpXJ/JEE7DMFXY /rTistsBSVgdHdgDuqUt75yejLrZMrLTxAHcBKmHQsR6s93BVCQvuJiZiAo1yVdYi3H2 VKKz/W1z7lOdamXQk6zUidSOz8iX/jUPxphWTtwyTzHCCH0MzvfsC+2jemRNZrkiIKDS NKBQ3nrCyH9xNIc6XB//0p+FCoF4k6sbyAHYA58iqb/skjhw8zC/B79vDTBtjZtd5F9Q LSJg== X-Gm-Message-State: AOJu0YwIdUwlIAlefmqBJwWoHmozYfu9S0NFjBx2Nd/fmQqwf6H8FXVi rkXn8/WBCxisJWgmmCAczczp5yoTdDOc5BnvAJYuMMht0HQ= X-Google-Smtp-Source: AGHT+IG4qu5DlaMbyL8Oxz7EUjSYvfK2PBKhCDPKTIaTF1fjfkmOsXXzFWjsC02mhnCy41j/0VtlhLKGZbST7FEwquM= X-Received: by 2002:a17:907:7da1:b0:a29:445f:a1 with SMTP id oz33-20020a1709077da100b00a29445f00a1mr917859ejc.140.1704983721038; Thu, 11 Jan 2024 06:35:21 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Thu, 11 Jan 2024 15:34:44 +0100 Message-ID: Subject: Unknown option "XENHVM" for Arm 32 and for arm 64 ; missing code detected. To: freebsd-hackers , FreeBSD virtualization , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="0000000000000a58cd060eac75c0" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.54 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.54)[-0.542]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52d:from]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org,freebsd-virtualization@freebsd.org,freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4T9nJW1xwGz4XRq --0000000000000a58cd060eac75c0 Content-Type: text/plain; charset="UTF-8" Hello. I'm trying to boot FreeBSD for arm32 bit as DomU on my ARM Chromebook. Basically,with the help of the xen developers I have patched the FreeBSD kernel and I've been able to boot it as if it was a zImage format file. I've enabled all the xen options inside the Linux kernel file used for the domU and this is what happened when I tried to boot the FreeBSD kernel file : mario@devuan-bunsen:/mnt/zroot2/zroot2/OS/Chromebook/freebsd-xen/domU-freebsd# ./start-freebsd Parsing config from freebsd.cfg libxl: debug: libxl_create.c:2081:do_domain_create: ao 0x442780: create: how=(nil) callback=(nil) poller=0x43cc50 libxl: detail: libxl_create.c:662:libxl__domain_make: passthrough: disabled libxl: debug: libxl_arm.c:148:libxl__arch_domain_prepare_config: Configure the domain libxl: debug: libxl_arm.c:151:libxl__arch_domain_prepare_config: - Allocate 0 SPIs libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown specification=xen libxl: debug: libxl_device.c:452:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy libxl: debug: libxl_create.c:1342:initiate_domain_create: Domain 1:running bootloader libxl: debug: libxl_bootloader.c:417:libxl__bootloader_run: Domain 1:no bootloader configured, using user supplied kernel libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x43d8f0: deregister unregistered domainbuilder: detail: xc_dom_allocate: cmdline="console=hvc0", features="" domainbuilder: detail: xc_dom_build_image: called domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x40008+0x966 at 0xb5972000 domainbuilder: detail: xc_dom_alloc_segment: kernel : 0x40008000 -> 0x4096e000 (pfn 0x40008 + 0x966 pages) domainbuilder: detail: xc_dom_load_zimage_kernel: called domainbuilder: detail: xc_dom_load_zimage_kernel: kernel seg 0x40008000-0x4096e000 domainbuilder: detail: xc_dom_load_zimage_kernel: copy 9851212 bytes from blob 0xb62d8000 to dst 0xb5972000 domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x48000+0x1 at 0xb6f0a000 domainbuilder: detail: xc_dom_alloc_segment: devicetree : 0x48000000 -> 0x48001000 (pfn 0x48000 + 0x1 pages) domainbuilder: detail: alloc_magic_pages: called domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0x48001000 domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0x0 domainbuilder: detail: xc_dom_boot_image: called domainbuilder: detail: bootearly: doing nothing domainbuilder: detail: start_info_arm: called domainbuilder: detail: domain builder memory footprint domainbuilder: detail: allocated domainbuilder: detail: malloc : 58 kB domainbuilder: detail: anon mmap : 0 bytes domainbuilder: detail: mapped domainbuilder: detail: file mmap : 9620 kB domainbuilder: detail: domU mmap : 9628 kB domainbuilder: detail: vcpu_arm32: called domainbuilder: detail: Initial state CPSR 0x400001d3 PC 0x40008000 domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[0] -> d0 0x39000 domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[1] -> d0 0x39001 domainbuilder: detail: xc_dom_release: called libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy specification=xen libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: register slotnum=3 libxl: debug: libxl_create.c:2120:do_domain_create: ao 0x442780: inprogress: poller=0x43cc50, flags=i libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/1/51712/state libxl: debug: libxl_event.c:1054:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 2 still waiting state 1 libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/1/51712/state libxl: debug: libxl_event.c:1051:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 2 ok libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: deregister slotnum=3 libxl: debug: libxl_device.c:1150:device_backend_callback: Domain 1:calling device_backend_cleanup libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4410e4: deregister unregistered libxl: debug: libxl_linux.c:194:libxl__hotplug_disk: Domain 1:Args and environment ready libxl: debug: libxl_device.c:1251:device_hotplug: Domain 1:calling hotplug script: /etc/xen/scripts/block add libxl: debug: libxl_device.c:1252:device_hotplug: Domain 1:extra args: libxl: debug: libxl_device.c:1260:device_hotplug: Domain 1:env: libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: script: /etc/xen/scripts/block libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: XENBUS_TYPE: vbd libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: XENBUS_PATH: backend/vbd/1/51712 libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: XENBUS_BASE_PATH: backend libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x441168: deregister unregistered libxl: debug: libxl_linux.c:211:libxl__get_hotplug_script_info: Domain 1:num_exec 1, not running hotplug scripts libxl: debug: libxl_device.c:1236:device_hotplug: Domain 1:No hotplug script to execute libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x441168: deregister unregistered libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: register slotnum=3 libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: event epath=/local/domain/1/console/tty libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: event epath=/local/domain/1/console/tty libxl: debug: libxl_event.c:2403:libxl__ao_progress_report: ao 0x442780: progress report: ignored libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: deregister slotnum=3 libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x43e7cc: deregister unregistered libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x442780: complete, rc=0 libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x442780: destroy libxl: debug: libxl_domain.c:704:libxl_domain_unpause: Domain 1:ao 0x442780: create: how=(nil) callback=(nil) poller=0x43cc50 libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x442780: complete, rc=0 libxl: debug: libxl_domain.c:712:libxl_domain_unpause: Domain 1:ao 0x442780: inprogress: poller=0x43cc50, flags=ic libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x442780: destroy xencall:buffer: debug: total allocations:98 total releases:98 xencall:buffer: debug: current allocations:0 maximum allocations:3 xencall:buffer: debug: cache current size:3 xencall:buffer: debug: cache hits:86 misses:3 toobig:9 xencall:buffer: debug: total allocations:0 total releases:0 xencall:buffer: debug: current allocations:0 maximum allocations:0 xencall:buffer: debug: cache current size:0 xencall:buffer: debug: cache hits:0 misses:0 toobig:0 FROZEN. I see these two processes enabled...but I don't know how to use FreeBSD... # ps ax 2606 ? Ssl 0:00 xl -vvvv create freebsd.cfg 2607 pts/0 Sl+ 0:00 /usr/lib/xen-4.17/bin/xenconsole 1 --num 0 --type pv now the fun begins...because,based on what say the xen developers : ... the ps output, it seems that ``xl create`` completed and you have the console open. So the freeze you mention is just because your FreeBSD guest is not outputting anything. As mentioned earlier, I don't think a lot of testing has been done for 32-bit Arm FreeBSD. So it is quite possible that there are some pieces of code missing. The first step is to check if the FreeBSD kernel was built with Xen options. If they are, then you will need to find out where FreeBSD is stuck (or why the console is not enabled). Unfortunately, we don't have any support to use GDB on the guest kernel. So you will have to modify FreeBSD a bit to check where it freezes. Assuming you have a debug build of the hypervisor, then you can sprinkle the FreeBSD boot code with the assembly instruction 'hvc 0xfffc'. When this is reached, this will issue an hypercall that will print on the Xen console that the given instruction has reached (the PC will be printed). There are other useful 'hvc' calls implemented by Xen for low level debugging. You can look at do_debug_trap() in Xen code. I've added this to GENERIC kernel of FreeBSD guest : # Xen HVM Guest Optimizations # NOTE: XENHVM depends on xenpci. They must be added or removed together. options XENHVM # Xen HVM kernel infrastructure device xenpci # Xen HVM Hypervisor services driver Unfortunately,it is not accepted : unknown option "XENHVM" I've found these parameters ONLY on the file /usr/src/sys/conf/files.amd64 : x86/xen/pv.c optional xenhvm x86/xen/pvcpu_enum.c optional xenhvm x86/xen/xen_pci_bus.c optional xenhvm Look at the prefix x86. It is not for arm. It seems there is a piece of code that hasn't been written. Is there a chance to add it ? Does anyone want to help ? No arch/arm64 does not contain Xen in KERNCONF either. Surprisingly files.x86 invokes a different set of files. I don't know what build it is. x86/xen/hvm.c optional xenhvm x86/xen/xen_intr.c optional xenhvm x86/xen/xen_apic.c optional xenhvm x86/xen/xenpv.c optional xenhvm x86/xen/xen_msi.c optional xenhvm x86/xen/xen_nexus.c optional xenhvm -- Mario. --0000000000000a58cd060eac75c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

I'm trying to boot FreeBSD for arm32 bit as DomU on my ARM Chromebook.= =20 Basically,with the help of the xen developers I have patched the FreeBSD kernel and I've been able to boot it as if it was a zImage format file= .

I've enabled all the xen options inside= =20 the Linux kernel file used for the domU and this is what happened when I tried to boot the FreeBSD kernel file :


mario@devuan-bunsen:/mnt/zroot2/zroot2/OS/Chromebo=
ok/freebsd-xen/domU-freebsd# ./start-freebsd

Parsing config from freebsd.cfg

libxl: debug: libxl_create.c:2081:do_domain_create: ao 0x442780: create: ho=
w=3D(nil) callback=3D(nil) poller=3D0x43cc50

libxl: detail: libxl_create.c:662:libxl__domain_make: passthrough: disabled
libxl: debug: libxl_arm.c:148:libxl__arch_domain_prepare_config: Configure =
the domain
libxl: debug: libxl_arm.c:151:libxl__arch_domain_prepare_config: - Allocate=
 0 SPIs

libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=
=3Dxvda spec.backend=3Dunknown specification=3Dxen

libxl: debug: libxl_device.c:452:libxl__device_disk_set_backend: Disk vdev=
=3Dxvda, using backend phy
libxl: debug: libxl_create.c:1342:initiate_domain_create: Domain 1:running =
bootloader
libxl: debug: libxl_bootloader.c:417:libxl__bootloader_run: Domain 1:no boo=
tloader configured, using user supplied kernel

libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=3D0x4=
3d8f0: deregister unregistered domainbuilder: detail: xc_dom_allocate: cmdl=
ine=3D"console=3Dhvc0", features=3D""

domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x4000=
8+0x966 at 0xb5972000
domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0x40008000 -&=
gt; 0x4096e000  (pfn 0x40008 + 0x966 pages)
domainbuilder: detail: xc_dom_load_zimage_kernel: called
domainbuilder: detail: xc_dom_load_zimage_kernel: kernel seg 0x40008000-0x4=
096e000
domainbuilder: detail: xc_dom_load_zimage_kernel: copy 9851212 bytes from b=
lob 0xb62d8000 to dst 0xb5972000
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x4800=
0+0x1 at 0xb6f0a000
domainbuilder: detail: xc_dom_alloc_segment:   devicetree   : 0x48000000 -&=
gt; 0x48001000  (pfn 0x48000 + 0x1 pages)
domainbuilder: detail: alloc_magic_pages: called
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0x48001000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x0
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: bootearly: doing nothing
domainbuilder: detail: start_info_arm: called
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 58 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 9620 kB
domainbuilder: detail:       domU mmap          : 9628 kB
domainbuilder: detail: vcpu_arm32: called
domainbuilder: detail: Initial state CPSR 0x400001d3 PC 0x40008000
domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[0] -> d0 0x39000
domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[1] -> d0 0x39001
domainbuilder: detail: xc_dom_release: called

libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=
=3Dxvda spec.backend=3Dphy specification=3Dxen

libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=3D0x441=
0e4 wpath=3D/local/domain/0/backend/vbd/1/51712/state token=3D3/0: register=
 slotnum=3D3

libxl: debug: libxl_create.c:2120:do_domain_create: ao 0x442780: inprogress=
: poller=3D0x43cc50, flags=3Di

libxl: debug: libxl_event.c:750:watchfd_callback: watch w=3D0x4410e4 wpath=
=3D/local/domain/0/backend/vbd/1/51712/state token=3D3/0: event epath=3D/lo=
cal/domain/0/backend/vbd/1/51712/state

libxl: debug: libxl_event.c:1054:devstate_callback: backend /local/domain/0=
/backend/vbd/1/51712/state wanted state 2 still waiting state 1

libxl: debug: libxl_event.c:750:watchfd_callback: watch w=3D0x4410e4 wpath=
=3D/local/domain/0/backend/vbd/1/51712/state token=3D3/0: event epath=3D/lo=
cal/domain/0/backend/vbd/1/51712/state

libxl: debug: libxl_event.c:1051:devstate_callback: backend /local/domain/0=
/backend/vbd/1/51712/state wanted state 2 ok

libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=3D0x4=
410e4 wpath=3D/local/domain/0/backend/vbd/1/51712/state token=3D3/0: deregi=
ster slotnum=3D3

libxl: debug: libxl_device.c:1150:device_backend_callback: Domain 1:calling=
 device_backend_cleanup
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=3D0x4=
410e4: deregister unregistered
libxl: debug: libxl_linux.c:194:libxl__hotplug_disk: Domain 1:Args and envi=
ronment ready
libxl: debug: libxl_device.c:1251:device_hotplug: Domain 1:calling hotplug =
script: /etc/xen/scripts/block add
libxl: debug: libxl_device.c:1252:device_hotplug: Domain 1:extra args:
libxl: debug: libxl_device.c:1260:device_hotplug: Domain 1:env:
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: script: /etc/xe=
n/scripts/block
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: XENBUS_TYPE: vb=
d
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: XENBUS_PATH: ba=
ckend/vbd/1/51712
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1: XENBUS_BASE_PAT=
H: backend
libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execu=
te: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=3D0x4=
41168: deregister unregistered
libxl: debug: libxl_linux.c:211:libxl__get_hotplug_script_info: Domain 1:nu=
m_exec 1, not running hotplug scripts
libxl: debug: libxl_device.c:1236:device_hotplug: Domain 1:No hotplug scrip=
t to execute
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=3D0x4=
41168: deregister unregistered

libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=3D0x43e=
7cc wpath=3D/local/domain/1/console/tty token=3D3/1: register slotnum=3D3

libxl: debug: libxl_event.c:750:watchfd_callback: watch w=3D0x43e7cc wpath=
=3D/local/domain/1/console/tty token=3D3/1: event epath=3D/local/domain/1/c=
onsole/tty

libxl: debug: libxl_event.c:750:watchfd_callback: watch w=3D0x43e7cc wpath=
=3D/local/domain/1/console/tty token=3D3/1: event epath=3D/local/domain/1/c=
onsole/tty

libxl: debug: libxl_event.c:2403:libxl__ao_progress_report: ao 0x442780: pr=
ogress report: ignored

libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=3D0x4=
3e7cc wpath=3D/local/domain/1/console/tty token=3D3/1: deregister slotnum=
=3D3

libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=3D0x4=
3e7cc: deregister unregistered
libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x442780: complete,=
 rc=3D0
libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x442780: destroy

libxl: debug: libxl_domain.c:704:libxl_domain_unpause: Domain 1:ao 0x442780=
: create: how=3D(nil) callback=3D(nil) poller=3D0x43cc50

libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x442780: complete,=
 rc=3D0

libxl: debug: libxl_domain.c:712:libxl_domain_unpause: Domain 1:ao 0x442780=
: inprogress: poller=3D0x43cc50, flags=3Dic

libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x442780: destroy

xencall:buffer: debug: total allocations:98 total releases:98
xencall:buffer: debug: current allocations:0 maximum allocations:3
xencall:buffer: debug: cache current size:3
xencall:buffer: debug: cache hits:86 misses:3 toobig:9
xencall:buffer: debug: total allocations:0 total releases:0
xencall:buffer: debug: current allocations:0 maximum allocations:0
xencall:buffer: debug: cache current size:0
xencall:buffer: debug: cache hits:0 misses:0 toobig:0

FROZEN.

I see these two processes enabled...but I don't know how to use FreeBSD= ...

=09 =09
# ps ax
2606 ?        Ssl    0:00 xl -vvvv create freebsd.cfg
2607 pts/0    Sl+    0:00 /usr/lib/xen-4.17/bin/xenconsole 1 --num 0 --type=
 pv

now the fun begins...because,based on what say the xen developers :

=09
=09
... the ps output, it seems that ``xl create`` completed and you have the console open. So the freeze you mention is just because your=20 FreeBSD guest is not outputting anything. As mentioned earlier, I don't= =20 think a lot of testing has been done for 32-bit Arm FreeBSD. So it is=20 quite possible that there are some pieces of code missing. The first=20 step is to check if the FreeBSD kernel was built with Xen=20 options. If they are, then you will need to find out where FreeBSD is=20 stuck (or why the console is not enabled). Unfortunately, we don't have= =20 any support to use GDB on the guest kernel. So you will have to modify=20 FreeBSD a bit to check where it freezes. Assuming you have a debug=20 build of the hypervisor, then you can sprinkle the FreeBSD boot code=20 with the assembly instruction 'hvc 0xfffc'. When this is reached, t= his=20 will issue an hypercall that will print on the Xen console that the given= =20 instruction has reached (the PC will be printed). There are other useful=20 'hvc' calls implemented by Xen for low level debugging. You can loo= k at=20 do_debug_trap() in Xen code.
=09

I've added this to GENERIC kernel of FreeBS= D guest :

=09 =09
# Xen HVM Guest Optimizations

# NOTE: XENHVM depends on xenpci. They must be added or removed togeth= er.
options XENHVM # Xen HVM kernel infrastructure device xenpci # Xen HVM Hypervisor services driver

<= /code>
Unfortunately,it is not accepted :

unknown option "XENHVM"


I've found these parameters ONLY on the file
/usr/src/sys/conf/files.amd64 :

<= /code>
x86/xen/pv.c            optional    xenhvm
x86/xen/pvcpu_enum.c    optional    xenhvm
x86/xen/xen_pci_bus.c   optional    xenhvm

Look at the prefix x86. It is not for arm. It seems there is a piece of code that hasn't been written. Is there a chance t= o add it ? Does anyone want to help ?

No arch/arm64= does not contain Xen in KERNCONF either.

Surprisingly files.x86 invokes a diff= erent set of files. I don't know what build it is.

=09 =09
x86/xen/hvm.c            optional    xenhvm
x86/xen/xen_intr.c       optional    xenhvm
x86/xen/xen_apic.c       optional    xenhvm
x86/xen/xenpv.c          optional    xenhvm
x86/xen/xen_msi.c        optional    xenhvm
x86/xen/xen_nexus.c      optional    xenhvm
<= /div>
--
Mario.
=
--0000000000000a58cd060eac75c0-- From nobody Thu Jan 11 15:34:42 2024 X-Original-To: freebsd-questions@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 4T9pdZ0mQyz56HGP for ; Thu, 11 Jan 2024 15:35:14 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9pdX5ydRz4kRn for ; Thu, 11 Jan 2024 15:35:12 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of naddy@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=naddy@mips.inka.de Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1rNx5E-006UdL-Jz; Thu, 11 Jan 2024 16:35:04 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.17.1/8.17.1) with ESMTP id 40BFYgel013137 for ; Thu, 11 Jan 2024 16:34:42 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.17.1/8.17.1/Submit) id 40BFYgJm013136 for freebsd-questions@freebsd.org; Thu, 11 Jan 2024 16:34:42 +0100 (CET) (envelope-from naddy) Date: Thu, 11 Jan 2024 16:34:42 +0100 From: Christian Weisgerber To: freebsd-questions@freebsd.org Subject: OpenSSH to remove DSA support Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.10 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FREEFALL_USER(0.00)[naddy]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; MISSING_XM_UA(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[inka.de]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Queue-Id: 4T9pdX5ydRz4kRn Since users always moan that such changes are "sudden" and "unexpected", I'd like to raise awareness that OpenSSH will remove support for DSA keys (ssh-dss) in a year's time. | In summary: | 2024/01 - this announcement | 2024/03 (estimated) - DSA compile-time optional, enabled by default | 2024/06 (estimated) - DSA compile-time optional, *disabled* by default | 2025/01 (estimated) - DSA is removed from OpenSSH DSA keys have already been disabled by default for years, since FreeBSD 11, so this won't concern you at all unless you use HostKeyAlgorithms=+ssh-dss for connecting to old switches or such. Here's the full announcement: https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-January/041132.html -- Christian "naddy" Weisgerber naddy@mips.inka.de From nobody Thu Jan 11 17:17:00 2024 X-Original-To: freebsd-questions@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 4T9rv50jpwz56W58 for ; Thu, 11 Jan 2024 17:17:05 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4T9rv439gNz51vm for ; Thu, 11 Jan 2024 17:17:04 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=c+at7N9w; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=vykZXCzz; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.27 as permitted sender) smtp.mailfrom=void@f-m.fm Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 92BAC5C0252 for ; Thu, 11 Jan 2024 12:17:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 11 Jan 2024 12:17:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1704993423; x=1705079823; bh=fr8upgs5BN PmXxi2/+jaQx+X60/iHQ4Ax6eY+ZziClY=; b=c+at7N9wBNv/IK9vBNURAMowW2 CzbtmUgGy5dIi1anWS2Ce6knaIxo7FvE9CbiSU+WnEPQM18cooOR8D6p+NmwFcrU DCSKYZ5wbRYlLSggNhg9XK+CxB84uBIx35vewyIu9QTfhmmuiVJcYJuj5ySS1aW+ J/MNoY0mIPacAqxRgeFQ2t61YNRW/Gf9Ywm0ORfegjZF73Vw6w53TOp2LsK5b3as OpokS+Ytwhu1qeSN4MCWjWbDfQBb/VBcBb0cWnnFI9r1kpnfNdNLK64KqSIbGGTq 8sFUEbxd+K/HQGbkv3fhDbGAEXTVtvgT13SNBi3tmaeg99yYnKmrI2uZWRiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1704993423; x=1705079823; bh=fr8upgs5BNPmXxi2/+jaQx+X60/i HQ4Ax6eY+ZziClY=; b=vykZXCzz5T87aiiSxze/RFFIRKDrbIL/XXjOOFdx1buS uwcKBFXrPkTTMMLoXriyz2ml3ZJqj1+dBiS2lQqhIoROhheFoFGjA0h7oNGpUa1h RymWklkSkTAgXWYS+I1g1P4C1taKJz0CuMZFXoKa+rR7Wj7+ll1x4munebc8ZwOU XLHFPmfwVHcXsxTBj6Ck3Sta15e1fnD8gxJzjXI3FIkBCz+Jhz7BgTwoOpOtJLfr yuiSqK//UCFQiXPB/qGMeMOnj9bcspjfOR5L6RtRnlhE+sgk/yBVMbWDMeDw4nq0 DenwlNzvv8KNg3Nd0KJFpUaXS531+ywK6PbX5bTazQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeifedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgr thhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgfdugfdvgeekjeejuddthe ehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep vhhoihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 11 Jan 2024 12:17:02 -0500 (EST) Date: Thu, 11 Jan 2024 17:17:00 +0000 From: void To: freebsd-questions@freebsd.org Subject: Re: Bhyve backup options? Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[66.111.4.27:from]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4T9rv439gNz51vm On Thu, Jan 11, 2024 at 05:15:00PM +0300, Mark wrote: > >Second -and much important- question: > >Is it a bad practice to take a backup of a running bhyve VM instance >(actually doing tar on the 'disk1.img' VM disk)? Should the VMs be stopped >before doing so? Any data loss possibility, otherwise? disk1.img would be file-backed. yes, I'd stop the vm in that situation. >If powering them off is needed, and in case of dozens of VMs running, how >would you handle that? If the vm is zvol-backed [1] then one can take a snapshot of the zvol. You could turn the vm off, make the snapshot, turn it back on again for 100% safety. making the snapshot is very quick. I've not tried, yet, making the snapshot *while* the vm is running. I *think* you can (because zfs handles it) but for better advice I suggest you post to the freebsd-fs mail list as that's where the filesystem experts are. [1] you can convert a file-backed bhyve img to a zvol backed one easily by writing to a newly-created zvol of the same size as the image with dd. -- From nobody Thu Jan 11 17:45:01 2024 X-Original-To: questions@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 4T9sWW0Fqqz56YwQ for ; Thu, 11 Jan 2024 17:45:11 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9sWT701Wz54lG for ; Thu, 11 Jan 2024 17:45:09 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202310 header.b=il2icT1R; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it Received: from [10.1.2.18] (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.17.2/8.17.1) with ESMTPSA id 40BHj18C034452 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Thu, 11 Jan 2024 18:45:01 +0100 (CET) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202310; t=1704995101; bh=2GrJg3viU4QpJkEPM5v1WZABP9GwzTUCHA66tvcTRwU=; h=Date:Subject:To:References:From:In-Reply-To; b=il2icT1RncsBnnWVfsS/V2YsDYda6gMkpcHJdyTqzALWg/z/MaB16iPUXfM1nGU4u +J3lIwalzML4SNJ49mMw4Bd4Hps27SQ63P6ajb3gB/JyUVP3B1eDCy0mjX2MBhl5hP b6/3jKBLGi1AfWE6muBXOJmEbaq8ieGp1PPvZByg= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be [10.1.2.18] Message-ID: Date: Thu, 11 Jan 2024 18:45:01 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bhyve backup options? Content-Language: en-US To: questions@freebsd.org References: From: Andrea Venturoli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202310]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[netfence.it:+] X-Rspamd-Queue-Id: 4T9sWT701Wz54lG On 1/11/24 18:17, void wrote: Just my 2c... > disk1.img would be file-backed. yes, I'd stop the vm in that situation. > > If the vm is zvol-backed [1] then one can take a snapshot of the zvol. It might also be possbile to take a snapshot of the filesystem where disk1.img lives and copy that file from the snapshot. So there is not much difference, in this regard, with a zvol. > I've not tried, yet, making the snapshot *while* the vm is running. > I *think* you can (because zfs handles it) Yes, you can. Whether that's a good idea or whether powering the VM off before is better/required... that's more a question for the VM than for the host. bye av. From nobody Fri Jan 12 04:35:41 2024 X-Original-To: questions@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 4TB7yN5nBmz57Pdw for ; Fri, 12 Jan 2024 04:35:56 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TB7yN2hq5z43rR for ; Fri, 12 Jan 2024 04:35:56 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40C4ZfYH015498; Thu, 11 Jan 2024 21:35:42 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: Date: Thu, 11 Jan 2024 21:35:41 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: Frank Leonhardt , questions@freebsd.org References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <42dd00f4-7773-4fe5-a258-aa08d4fdc8de@fjl.co.uk> <02374777-45e0-4de6-895d-0ff265fec6b9@fjl.co.uk> Reply-To: freebsd@dreamchaser.org From: Gary Aitken In-Reply-To: <02374777-45e0-4de6-895d-0ff265fec6b9@fjl.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Thu, 11 Jan 2024 21:35:42 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Thu, 11 Jan 2024 21:35:42 -0700 (MST) X-Rspamd-Queue-Id: 4TB7yN2hq5z43rR X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 1/11/24 05:37, Frank Leonhardt wrote: > On 10/01/2024 20:36, Frank Leonhardt wrote: >> >> I suspect you don't have the FUSE driver compiled into the kernel >> (if this is even possible). >> >> Try "kldload fusefs" and then try ntfs-g3 again. > So this worked? No. The kldload was needed, as fusefs wasn't loaded; but ntfs-g3 did not. Had to use mount.exfat. As polytropon surmised, apparently it is an exFAT filesystem that is reported by gpart as being NTFS. Gary From nobody Fri Jan 12 10:22:59 2024 X-Original-To: questions@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 4TBHnH3SQ9z56Xxg for ; Fri, 12 Jan 2024 10:28:35 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) (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 4TBHnG5RzRz4hjf for ; Fri, 12 Jan 2024 10:28:34 +0000 (UTC) (envelope-from jerry@seibercom.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=WJt8Zpcv; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::f29 as permitted sender) smtp.mailfrom=jerry@seibercom.net Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-680b16bd8c5so12728586d6.1 for ; Fri, 12 Jan 2024 02:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; t=1705055313; x=1705660113; darn=freebsd.org; h=content-transfer-encoding:mime-version:organization:reply-to :references:in-reply-to:message-id:subject:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=c+vm91wM/BYkYKqWTv+riIAt/9eBGRzx5tmFA2o/BHc=; b=WJt8ZpcvCTyVFNS7tkHKsB7JO5XWXokGUK1/Dx4lGy9RfM62JtY4Nk4n+gF70DjUm8 tBrHkkQzJf8jHWfg0huAp0m5kyZAn/xqnq7P3xVvR+O+a0/lS5mReHO5L4g4e2CQ1plF UFeRcIH2P4hrU1CbMuKCLgew+5tA2+m9qrquk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705055313; x=1705660113; h=content-transfer-encoding:mime-version:organization:reply-to :references:in-reply-to:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c+vm91wM/BYkYKqWTv+riIAt/9eBGRzx5tmFA2o/BHc=; b=HNgGl222WKclMhKDyEkjpTGjdtLY0Uaif7TRLoEZpQ8uYwBjp5692HK2Jf17SKm2bT S4GnflMahYxXcn/M+7EW5zq/j+Zq+GtuL/X1vys+ppd/tkfU8QpPAy15MM8vzmAW/cmm Tie7rhHhVId/HjoLkZICYP0jWPaucm/eEihmdlloFaMAwOLMkbDn5WN6r5YS2rm8/NN+ Iceo/pISD0F92Sa043VCUCueWHHyUx1H3WtP1YauX7jrTtkX9P/d+X6yskNu1z3VVDnm 4C/bBvexfPAENGsgYHyJ7n8XYdQqT6Wc83nYGab53j2e2/fTvGnB3oYHKwoTYuMNHt28 MQbQ== X-Gm-Message-State: AOJu0YxlBrrPXwuCGMDuU0ofip77g4vsI9jzmRUXzZgRHSE4O/7wfOH8 qITH1B6GyhUc1PBHyuAysiqPLv0v+XH0TWU2sHz5XLF3mIw= X-Google-Smtp-Source: AGHT+IHsSLeG5rv/jLj3+Vkk+ElDW1K/drZMxpox7YW+WAaZKBpZFPP9gdlqZAeaHzNMFXfZwasWrw== X-Received: by 2002:a0d:cc83:0:b0:5e8:62c:659e with SMTP id o125-20020a0dcc83000000b005e8062c659emr751725ywd.2.1705054981328; Fri, 12 Jan 2024 02:23:01 -0800 (PST) Received: from mystic.seibercom.net (071-077-018-211.res.spectrum.com. [71.77.18.211]) by smtp.gmail.com with ESMTPSA id cp10-20020a05690c0e0a00b005f134299392sm1216267ywb.52.2024.01.12.02.23.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 02:23:00 -0800 (PST) Received: from localhost (ZEUS.seibercom.net [192.168.1.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by mystic.seibercom.net (Postfix) with ESMTPSA id 4TBHcC1164z5Bg3 for ; Fri, 12 Jan 2024 05:20:42 -0500 (EST) Date: Fri, 12 Jan 2024 05:22:59 -0500 From: "Jerry" To: questions@freebsd.org Subject: Re: Problem mounting new Sandisk 1TB USB drive Message-ID: <20240112052259.00006b29@seibercom.net> In-Reply-To: References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <42dd00f4-7773-4fe5-a258-aa08d4fdc8de@fjl.co.uk> <02374777-45e0-4de6-895d-0ff265fec6b9@fjl.co.uk> Reply-To: questions@freebsd.org, questions@freebsd.org Organization: seibercom.NET X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 1.2.1 at mystic.seibercom.net X-Virus-Status: Clean X-Spamd-Bar: + X-Spamd-Result: default: False [1.50 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[seibercom.net]; GREYLIST(0.00)[pass,body]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f29:from]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[seibercom.net:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; HAS_REPLYTO(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4TBHnG5RzRz4hjf On Thu, 11 Jan 2024 21:35:41 -0700, Gary Aitken stated: On 1/11/24 05:37, Frank Leonhardt wrote: > On 10/01/2024 20:36, Frank Leonhardt wrote: >> >> I suspect you don't have the FUSE driver compiled into the kernel >> (if this is even possible). >> >> Try "kldload fusefs" and then try ntfs-g3 again. > So this worked? No. The kldload was needed, as fusefs wasn't loaded; but ntfs-g3 did not. Had to use mount.exfat. As polytropon surmised, apparently it is an exFAT filesystem that is reported by gpart as being NTFS. Gary You might want to consider creating a PR for gpart. -- Jerry From nobody Fri Jan 12 12:23:19 2024 X-Original-To: questions@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 4TBLL10ZFRz56jv4 for ; Fri, 12 Jan 2024 12:23:37 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [IPv6:2001:41d0:1004:224b::bc]) (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 4TBLKz3yQrz40JV for ; Fri, 12 Jan 2024 12:23:35 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alexburke.ca header.s=key1 header.b=b6DA9P37; dmarc=pass (policy=reject) header.from=alexburke.ca; spf=pass (mx1.freebsd.org: domain of alex@alexburke.ca designates 2001:41d0:1004:224b::bc as permitted sender) smtp.mailfrom=alex@alexburke.ca Message-ID: <1649b959-5a39-4304-bd7e-34be7dd0ae95@alexburke.ca> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1705062206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nOKrQj9dVzok0et6ebtxK+4t0OlJ/yhwl3o0evEGPQs=; b=b6DA9P37A7X+xel1KDwy1MwplDCuSYaePYNzR7F4vXPmUBpAVFITNQ0/1lPD8qF2hnuX6i +nHI69hmtAa9XKbftyQJbidgOaJR2/II57cdr4XtgsHt2eQo7n8SaoItNhRQ1518IK/Qdl yPZUFyioryTa70lWM/d3WnfiT4iPhAo= Date: Fri, 12 Jan 2024 13:23:19 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: fr, es-ES, ca, en-CA To: freebsd@dreamchaser.org References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> Cc: questions@freebsd.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke In-Reply-To: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[alexburke.ca,reject]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:1004:224b::/64]; R_DKIM_ALLOW(-0.20)[alexburke.ca:s=key1]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[alex]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[alexburke.ca:+] X-Rspamd-Queue-Id: 4TBLKz3yQrz40JV Hello, IMHO, step one should be to repartition and format the disk with whichever tools and layout you prefer. As an added benefit, you get rid of the preloaded executable files you mention in a later message. This should also solve the problem you're experiencing. Cheers, Alex On 2024-01-10 05:40, Gary Aitken wrote: > I have a new Sandisk 1TB thumb drive, USB-A on one end, USB-C on > the other. > If I plug it into my ubuntu laptop, it mounts fine and works. > If I plug it into my fbsd box (13.2-RELEASE-p8 GENERIC amd64), > it shows up: > > usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage > device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) > usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage > device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) > ugen7.2: at usbus7 > umass0 on uhub6 > umass0: > on usbus7 > umass0:  SCSI over Bulk-Only; quirks = 0x8100 > umass0:8:0: Attached to scbus8 > da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 > da0: Removable Direct Access SPC-4 > SCSI device > da0: Serial Number A2003B9717F0A406 > da0: 40.000MB/s transfers > da0: 954240MB (1954283520 512 byte sectors) > da0: quirks=0x2 > $ ls -lt /dev/da0* > crw-rw----  1 root  operator  0xc7 Jan  9 20:59 /dev/da0s1 > crw-rw----  1 root  operator  0xcc Jan  9 20:59 /dev/da0 > > but it won't mount: > > # mount.exfat /dev/da0s1 /mnt/memstick > FUSE exfat 1.4.0 (libfuse2) > fuse: failed to open fuse device: No such file or directory > $ gpart show /dev/da0 > =>        63  1954283457  da0  MBR  (932G) >           63        7489       - free -  (3.7M) >         7552  1954275968    1  ntfs  (932G) > > Am I doing something wrong, or does the factory MS formatting > need to be trashed and redone? > > If it needs to be reformatted, what's the proper procedure for a >> 32G device?  I show a newfs and newfs_msdos in /sbin, but no > newfs_ntfs. > > Thanks, > > Gary > From nobody Fri Jan 12 18:03:50 2024 X-Original-To: questions@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 4TBTtr1Kcnz57GjQ for ; Fri, 12 Jan 2024 18:04:04 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TBTtq4fwbz4pLm for ; Fri, 12 Jan 2024 18:04:03 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40CI3o9Z017329; Fri, 12 Jan 2024 11:03:50 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <4a34cd64-3d1a-4a10-9290-5b8de47f524e@dreamchaser.org> Date: Fri, 12 Jan 2024 11:03:50 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: Alexander Burke Cc: questions@freebsd.org References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <1649b959-5a39-4304-bd7e-34be7dd0ae95@alexburke.ca> From: Gary Aitken In-Reply-To: <1649b959-5a39-4304-bd7e-34be7dd0ae95@alexburke.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Fri, 12 Jan 2024 11:03:50 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Fri, 12 Jan 2024 11:03:50 -0700 (MST) X-Rspamd-Queue-Id: 4TBTtq4fwbz4pLm X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] Hi Alexander, On 1/12/24 05:23, Alexander Burke wrote: > IMHO, step one should be to repartition and format the disk with > whichever tools and layout you prefer. As an added benefit, you get > rid of the preloaded executable files you mention in a later > message. > > This should also solve the problem you're experiencing. Thanks. As mentioned earlier, I considered doing that, but was concerned about the possibility of some quirk which might make it unreadable by an Android phone. The problem is solved; thanks. fusefs.ko was not loaded; once loaded mount.exfat had to be used. Gary From nobody Fri Jan 12 18:39:55 2024 X-Original-To: questions@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 4TBVhG6cjfz5665g for ; Fri, 12 Jan 2024 18:39:58 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TBVhG0wvHz421L for ; Fri, 12 Jan 2024 18:39:58 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.16.1/8.16.1) with ESMTP id 40CIdt46017381; Fri, 12 Jan 2024 11:39:55 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: Date: Fri, 12 Jan 2024 11:39:55 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-US To: questions@freebsd.org, Jerry References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <42dd00f4-7773-4fe5-a258-aa08d4fdc8de@fjl.co.uk> <02374777-45e0-4de6-895d-0ff265fec6b9@fjl.co.uk> <20240112052259.00006b29@seibercom.net> From: Gary Aitken Reply-To: freebsd@dreamchaser.org In-Reply-To: <20240112052259.00006b29@seibercom.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Fri, 12 Jan 2024 11:39:55 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Fri, 12 Jan 2024 11:39:55 -0700 (MST) X-Rspamd-Queue-Id: 4TBVhG0wvHz421L X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US] On 1/12/24 03:22, Jerry wrote: >> On Thu, 11 Jan 2024 21:35:41 -0700, Gary Aitken stated: >>> On 1/11/24 05:37, Frank Leonhardt wrote: >>>> On 10/01/2024 20:36, Frank Leonhardt wrote: >>>> Try "kldload fusefs" and then try ntfs-g3 again. >>> So this worked? >> No. The kldload was needed, as fusefs wasn't loaded; but ntfs-g3 >> did not. Had to use mount.exfat. As polytropon surmised, apparently >> it is an exFAT filesystem that is reported by gpart as being NTFS. > You might want to consider creating a PR for gpart. > There's already a bug filed, although it doesn't seem to be considered of much significance: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244461 I tried to modify the importance field but didn't see a way to do that. Gary From nobody Fri Jan 12 20:49:58 2024 X-Original-To: freebsd-questions@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 4TBYZZ00Fcz56KjH for ; Fri, 12 Jan 2024 20:50:14 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) (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 4TBYZY23mtz4QWC for ; Fri, 12 Jan 2024 20:50:13 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=OpDIoQTF; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::1136) smtp.mailfrom=tomek@cedro.info Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-5fc2e997804so8368657b3.3 for ; Fri, 12 Jan 2024 12:50:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1705092611; x=1705697411; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=TLVmlvPmFzO+ozkOFAxdE02hZ1/PEcqdREOE7jExDTQ=; b=OpDIoQTF3/dPeLJSQ0qZTZD5jOr6ir4iQiApPBvU2Kikwt1ZlN9qlvVPpbrsSeI+yy eV6DAn3kdQ6cHRwQqW6dm7nWGMn2Lr6nWNX1jOUW2tMzX8Licdak+8ZSAT5Z8fw3kIwI 3DT4F4G2K+rwTSarxfEei3l3DfKz5QX6ARXplGRDmbtinyg4e2z3CvIMPNMQofYBCm0E 2h3meNiqDSwTdSnDVx3vyCQNXGTEyCJppaA8P8xuXFauiKO6ZAtED982bT0AeLax3jbn hjhfVIHniKhhJRGdQzsx/j/lB5RY5HrteTuTgJhDBAmkRNQJrZlh2WGEjguZ8FH2AoxX fIoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705092611; x=1705697411; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TLVmlvPmFzO+ozkOFAxdE02hZ1/PEcqdREOE7jExDTQ=; b=PFYR3ChASvZ20SWKooSQpdAnZlJuH/09IkeLl7N4KQyMK6AJRw6ITsgJQPUWGeJyxk elckLzSfWGlrzyzcs17dlKzc45eqFm/xFcmKzzwZD+kv/w5JbWz1AVue2XwGf32KJnI6 mkFoiMzAi1zAqupDv1VA4N5XLB2d0a6qBtzvxiOdYhJmd52j8VEUELT/Vg0sPuC2GEbn 4FXbwqPK6f2hypMOMshuD76dju3IKzGP7IfPHr3vq1zMb1W/VOR6/L9hk1AgUtzgvM+Z 31JXvWvRXegIA4gUQzgKd2+bHXdJs50QsXgXJ8RlWTdBg2dpXXgvNHKyNlsmD5Gn+BkD nbKA== X-Gm-Message-State: AOJu0YxFoyKIRx87dQHharK3djXaSA2bRJPnryIKbDr8jJjf8TdrzoPS 1EEhT3hQKCuuDq0r52FA1NwtLMISVF/2OQKWCJkVRthwrg== X-Google-Smtp-Source: AGHT+IE0frM1HYe/1cBMcZVwCMtjxlHkQfkDlbAf34Ih6eHIp3kJZSzReNoKwynYggxXlhexZnuKMQ== X-Received: by 2002:a05:690c:7:b0:5f9:6f9d:4ae1 with SMTP id bc7-20020a05690c000700b005f96f9d4ae1mr2172463ywb.81.1705092611169; Fri, 12 Jan 2024 12:50:11 -0800 (PST) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com. [209.85.128.182]) by smtp.gmail.com with ESMTPSA id i188-20020a0ddfc5000000b005fc25fcc6c9sm565404ywe.36.2024.01.12.12.50.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 12:50:10 -0800 (PST) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-5fa4b03f3f5so40853457b3.1; Fri, 12 Jan 2024 12:50:10 -0800 (PST) X-Received: by 2002:a81:ad28:0:b0:5f7:a604:be56 with SMTP id l40-20020a81ad28000000b005f7a604be56mr1835025ywh.47.1705092610053; Fri, 12 Jan 2024 12:50:10 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Tomek CEDRO Date: Fri, 12 Jan 2024 21:49:58 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: (vm-)bhyve stopped working recently on 13.2 To: FreeBSD Questions Mailing List , Virtualisation on FreeBSD Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[cedro.info]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1136:from,209.85.128.182:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[cedro.info:+] X-Rspamd-Queue-Id: 4TBYZY23mtz4QWC Hello world :-) Aftere recent 13.2-RELEASE freebsd-update and pkg bhyve stopped working. It starts a machine that stops right after start. I am using vm-bhyve (1.5.0) frontend and enabling debug="yes" does not really reveal anything more except error code and its cause. Does anyone know what can be the problem and solution here? :-) Any hints appreciated :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Fri Jan 12 21:05:43 2024 X-Original-To: freebsd-questions@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 4TBYxB4J6sz56MPc; Fri, 12 Jan 2024 21:06:22 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 4TBYxB2SJBz4SSW; Fri, 12 Jan 2024 21:06:22 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a28a997f3dfso534748066b.0; Fri, 12 Jan 2024 13:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705093581; x=1705698381; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=d3pGddzQYsuyyOTAbUYUGgWkCATmchVT0JVCwiio2Es=; b=m4707a3y9B/zKNqn6f8EyX6VgVGlPCerrK5a3mE9FW05N0xcYLQH8Tk6jgmTPiyri3 xPA9SE9QprrbUAYmipbZSY0O3v6yBpWv4cjsFQ5W8g30R5qePR7uCtGBi05EHT5ORN16 G5xCiqL/v3uMKtRIahFMjjv/wG5LL+h4sjHpd4yt4c3hE70xiO1+MnHNDctLvFtq3Bna tKzwskBfi7KYNdJqGBh+ZVCUOOkCjFNtKEqhz550o7STl3RlZnY/0iy7WNk/01/TghV7 TWWeFrAor0VyCZyt8vz0jaQkxv6pqKjQmT87R7PGas9xHW7f4bYIJmAVHnkW3mNGHWPM GDgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705093581; x=1705698381; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=d3pGddzQYsuyyOTAbUYUGgWkCATmchVT0JVCwiio2Es=; b=MBwE/nnx8dSkaV/qUN7d9tLb6OvkA2+vqmhTFDe59tkc/IUIqEQ+PMItdJbEYRRZEV aaoftyZhXpqBnaahSh/a2it1UxA+G7LC+AnFY/7SzdlzT8zl5JQyJQ7znRs+cb7uEta5 M1JeU5KtDj/TubI968WCxQnTAG7yhmMWgmAQtBRbq8yQ+PJsxTd8GJj7L0lct54l2mRi OJ+fnlmOmfFJVmtJKeqoXVVZ73W9SfJQ8gAtdDHSn9bLeH1HTgwbpAnkS0CfBqCRJrhJ UozNPlJVtYPSbEMPiCLS7f43Uq0pU84si0GW5LYZOLdxqAuf/21fF0ti//Yb3L9kXsz1 3r9A== X-Gm-Message-State: AOJu0Yzp9W6hot/73P76uqub0i5uWW3jOifc2V7ahOYdMmhufqaLAkUL S7PdVYQXWxK0C7OdgP0nY4ncrsFepqW9sjMCJCJEo9eTBhQ= X-Google-Smtp-Source: AGHT+IF3lfbQFfRt0CfW5M8iOKxsLnTGI2UqWzu63Yi/q1WBYs5/2IurbnxenHBuE9fRHY0OTJXnLXxGpSLaRE+0WEQ= X-Received: by 2002:a17:906:6d59:b0:a28:a9b7:f412 with SMTP id a25-20020a1709066d5900b00a28a9b7f412mr999463ejt.12.1705093580642; Fri, 12 Jan 2024 13:06:20 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Fri, 12 Jan 2024 22:05:43 +0100 Message-ID: Subject: Re: (vm-)bhyve stopped working recently on 13.2 To: Tomek CEDRO Cc: FreeBSD Questions Mailing List , Virtualisation on FreeBSD Content-Type: multipart/alternative; boundary="0000000000002ee009060ec60973" X-Rspamd-Queue-Id: 4TBYxB2SJBz4SSW X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --0000000000002ee009060ec60973 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sure. Stop using vm-bhyve and start using bhyve the traditional / raw way ;= ) On Fri, Jan 12, 2024 at 9:50=E2=80=AFPM Tomek CEDRO wrot= e: > Hello world :-) > > Aftere recent 13.2-RELEASE freebsd-update and pkg bhyve stopped > working. It starts a machine that stops right after start. I am using > vm-bhyve (1.5.0) frontend and enabling debug=3D"yes" does not really > reveal anything more except error code and its cause. > > Does anyone know what can be the problem and solution here? :-) > > Any hints appreciated :-) > Tomek > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > --=20 Mario. --0000000000002ee009060ec60973 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sure. Stop using vm-bhyve and start using bhyve the tradit= ional / raw way ;)

On Fri, Jan 12, 2024 at 9:50=E2=80=AFPM Tomek CEDRO &= lt;tomek@cedro.info> wrote:
<= /div>
Hello world :-)

Aftere recent 13.2-RELEASE freebsd-update and pkg bhyve stopped
working. It starts a machine that stops right after start. I am using
vm-bhyve (1.5.0) frontend and enabling debug=3D"yes" does not rea= lly
reveal anything more except error code and its cause.

Does anyone know what can be the problem and solution here? :-)

Any hints appreciated :-)
Tomek

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



--
Mario.
--0000000000002ee009060ec60973-- From nobody Fri Jan 12 21:28:23 2024 X-Original-To: questions@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 4TBZQq0PLfz56PFT for ; Fri, 12 Jan 2024 21:28:35 +0000 (UTC) (envelope-from 4250.82.1d52500072bfc8d.815bdfec44a4b4e2d5f5ae69c88be929@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TBZQp2jK0z4YXR for ; Fri, 12 Jan 2024 21:28:34 +0000 (UTC) (envelope-from 4250.82.1d52500072bfc8d.815bdfec44a4b4e2d5f5ae69c88be929@email-od.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=pBlSs7hi; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d52500072bfc8d.815bdfec44a4b4e2d5f5ae69c88be929@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d52500072bfc8d.815bdfec44a4b4e2d5f5ae69c88be929@email-od.com DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1705094914; x=1707686914; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=uWJHSeYlHIjXyMvhxAlfYLJd6ShAaYfGa5iFNcEnpVo=; b=pBlSs7hiZ790xlZNfv/JgsquAuaXHhbu5Zs7r3y0kxOdIUuDIZ8iw9FBgMmb43mK3u7IrZ1ipDZBHhGfn4npkRhsVNFfqEfS5+wCfVxr/0SDCOuq1y2TmmNj8Rz/vxWujVRXMzRhmBvgw+GPctziJ/KDJTYB/tVJyOXaRZz/deo= X-Thread-Info: NDI1MC4xMi4xZDUyNTAwMDcyYmZjOGQucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r1.us-west-2.aws.in.socketlabs.com (r1.us-west-2.aws.in.socketlabs.com [142.0.190.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 12 Jan 2024 16:28:27 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-west-2.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 12 Jan 2024 16:28:25 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1rOP4h-00082q-TY for questions@freebsd.org; Fri, 12 Jan 2024 21:28:23 +0000 Date: Fri, 12 Jan 2024 21:28:23 +0000 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: (vm-)bhyve stopped working recently on 13.2 Message-Id: <20240112212823.553c3b9c759546395f064795@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d52500072bfc8d.815bdfec44a4b4e2d5f5ae69c88be929@email-od.com]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[142.0.190.1:received]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d52500072bfc8d.815bdfec44a4b4e2d5f5ae69c88be929@email-od.com]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[sohara.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[email-od.com:+] X-Rspamd-Queue-Id: 4TBZQp2jK0z4YXR On Fri, 12 Jan 2024 21:49:58 +0100 Tomek CEDRO wrote: > Does anyone know what can be the problem and solution here? :-) It seems to have stopped vm from being able to control or connect to bhyve vms. -- Steve O'Hara-Smith From nobody Fri Jan 12 21:55:00 2024 X-Original-To: questions@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 4TBb1b0NMKz56SnM for ; Fri, 12 Jan 2024 21:55:15 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (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 4TBb1Z55dxz4gPN for ; Fri, 12 Jan 2024 21:55:14 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-5f0c0ca5ef1so73274367b3.2 for ; Fri, 12 Jan 2024 13:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1705096514; x=1705701314; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=W09xRWi7I3P2WMvao4jADBo7PhdmR9hcvmEvM7zeFAY=; b=Zme+uOSpSf0OrX2Y1cooDgwKg63CbjNrI7zp8Zkd1G1ab/bvdE8uaz4W47s8CylL+9 mPXXvd6sSlUZAEeAy8oFV1Y3m+HWu5qTGMhPg3a74c90dWjsU1VSpmoFt4LaD7SlnOAG itkY8X8Dp1KqDQ4Y4WCr9WWeRm1yQgRdC+cSUXG8NnqEQwKh5it0+X2yhnEgmFL9aX9J +faOySb9bTh4o45JviWHQecoVhIvoo3EU2W6wB/iOjIqVSs8U8dE+qlhUQWOwu2qserW KrbiLdsNfsS6bEdv8GuWSTao1eGyG4h230Zc3a+ubRSXbFIAaTZxgdbecjsgl7QqFAIq MoAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705096514; x=1705701314; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W09xRWi7I3P2WMvao4jADBo7PhdmR9hcvmEvM7zeFAY=; b=MQVzOUjU4BOI4Hw51+F2n5Iof8VlRFBXFm0A9DgfqOUe28qUG9VxWDjpKon1haxvMD 9EdZoHtLWYRyBpBCZI2FP8l5Lp+aL3pgPGfYJVndWrL95TI15VrrISVaSPkirqhym73M zIBSmhl7t2XD1rbx/PO79XF+oFphs1sOb4QIHzFC6o4AZsKT5ooV85i79/4vbWMtCuW3 wFoeS8ZZmaxDAPIyj5ob6zW1hyOLTuTLFdJ5oQdVRlyN3r+T08FmF0n+TS/oe0WjsrIA 5Euc9waeJnoshK8jpdFdWrUA224csXOIRcrEDXIKws4y/awnhxZtsmdlxeYc/uPXuKKG nhmA== X-Gm-Message-State: AOJu0YxktQudRlujOZoP1gyv8/Wz+EDIwYpO6pRoCACsmobj7mnArn7N aGPXYkkYftdAAqLNj18HqUe2nX9tOc9HtwtG3PXEgaVg7Q== X-Google-Smtp-Source: AGHT+IGLxW2HAA7Ahhw/63q1Y+mixibEH0zByRjXIx8JZPyzbkCnVlVJY6BTJ0H8vHRYI1hmaJUEYg== X-Received: by 2002:a81:f201:0:b0:5e8:34a0:5284 with SMTP id i1-20020a81f201000000b005e834a05284mr1974507ywm.20.1705096513730; Fri, 12 Jan 2024 13:55:13 -0800 (PST) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com. [209.85.128.175]) by smtp.gmail.com with ESMTPSA id u78-20020a817951000000b005f941afab71sm1693615ywc.30.2024.01.12.13.55.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 13:55:13 -0800 (PST) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-5f0629e67f4so75569127b3.3 for ; Fri, 12 Jan 2024 13:55:13 -0800 (PST) X-Received: by 2002:a81:4e42:0:b0:5f0:a23e:7b3e with SMTP id c63-20020a814e42000000b005f0a23e7b3emr2184349ywb.42.1705096512793; Fri, 12 Jan 2024 13:55:12 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20240112212823.553c3b9c759546395f064795@sohara.org> In-Reply-To: <20240112212823.553c3b9c759546395f064795@sohara.org> From: Tomek CEDRO Date: Fri, 12 Jan 2024 22:55:00 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: (vm-)bhyve stopped working recently on 13.2 To: "Steve O'Hara-Smith" Cc: questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TBb1Z55dxz4gPN X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Fri, Jan 12, 2024 at 10:28=E2=80=AFPM Steve O'Hara-Smith wrote: > On Fri, 12 Jan 2024 21:49:58 +0100 > Tomek CEDRO wrote: > > Does anyone know what can be the problem and solution here? :-) > It seems to have stopped vm from being able to control or connect= to > bhyve vms. Hmm.. this seems random stuff, yesterday I was able to create new vm and perform install but then I could not use it.. then I was not even able to perform another install anymore. At least VBox works again ;-) Is vm-bhyve unmaintained? If so then why not move it under FreeBSD wings and make it standard frontend? :-) vm-bhybe was the simplest way to operate bhyve vms. I was really annoyed with xhci_mouse broken recently and the VNC lags. But it was piece of cake to switch from VBox to bhyve that way. No one really cares what vm do I use. People will use whatever gives quick results so they can focus on their work. Any simple working frontend would bring more attention to bhyve. Thanks Steve :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Fri Jan 12 22:05:39 2024 X-Original-To: questions@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 4TBbFr6b4Fz56VHl for ; Fri, 12 Jan 2024 22:05:52 +0000 (UTC) (envelope-from ozgurkazancci@gmail.com) Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) (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 4TBbFr26F3z4hQM for ; Fri, 12 Jan 2024 22:05:52 +0000 (UTC) (envelope-from ozgurkazancci@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=hsNdFqV0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ozgurkazancci@gmail.com designates 2607:f8b0:4864:20::112f as permitted sender) smtp.mailfrom=ozgurkazancci@gmail.com Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5f68af028afso63864617b3.2 for ; Fri, 12 Jan 2024 14:05:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705097151; x=1705701951; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=/1en8KOfda+MrRwDRbMRmsFregGtErG59h1bjqJh4xs=; b=hsNdFqV0LGWgu39B5G2g2mjosp3p8xu5GcObh3RqO0kJnrfv50SbfJady5UYYzDUVC vuuFZc9U9GGV6mgUzavDfmwOx1m4oskOxLUzyh2wifLWHj6NSnzN62nDtmH7XCjxPI3K rkPJhcUtvcewgzBBnwReGavX+kBBr8vpcot1UFEe4aEyQr1CXFzHLQ2ysMaAqtnbWkkL j2K2Z8TfMY7y2Ic2CZbjDkhepeTuU8zMZaCtBYR2OAixyOwTJ6nr/dFQ0bEqEr1pHjzN RF3OpkUA8E/Atarg6FkRCJgbjUsjZi+sRpo/sALx62TkkYnDG0oyOFdlkJhQMd2TBop9 1ZmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705097151; x=1705701951; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/1en8KOfda+MrRwDRbMRmsFregGtErG59h1bjqJh4xs=; b=Kv9rJOqfteh5pkGsOkVXYVyZzQScs0VG/2ARczJasYyr4pAA/l3L1NxJLsqS1Tq3g7 xdt8vSp3w9aYn2C0eCfQlu37rBeXnIzN0LrX78FndYgsBp5P9J/n9HC21o9MtiE+QKAL g42teYlOzhbrRYTT4iy0mvhhrpPPcIY7FxxDy3v2PiNqfRG12OS3MoP0PikAr+RYAysT 2vIOD7UW5NDrScovebtBGrJxGZ2ljZ3UEMhW1qP8p8GpaRYvZiy8pcnZpRtDNPfcp5l6 7955X7m+RhbhH9zN6zVU24O7GhRRCFhC+XGLi4C+km+/PWUvtDRIBKQOXm1kC/Yw97GS o+IA== X-Gm-Message-State: AOJu0YyL5mguTsoJ9r2zeSWdwocAr8LMCIIHhMiufnT1AsLFaKZQzG7a 7GAlPUqH4ZFS25n+TLPKpo4pQiYb6P2QTVUzgINNqH4g X-Google-Smtp-Source: AGHT+IGFVMUrwofsjGWdfzuRh+wM1K8Prx+cG57GKJqD/RofTUtO8aC52gXRDkE/6KaEh0hP8PopcJKYP6n9t0FrXVo= X-Received: by 2002:a0d:e687:0:b0:5f4:74c9:1304 with SMTP id p129-20020a0de687000000b005f474c91304mr1516522ywe.2.1705097151190; Fri, 12 Jan 2024 14:05:51 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20240112212823.553c3b9c759546395f064795@sohara.org> In-Reply-To: From: =?UTF-8?B?w5Z6Z8O8ciBLb25zdGFudGluIEthemFuw6fDp8Sx?= Date: Sat, 13 Jan 2024 01:05:39 +0300 Message-ID: Subject: Re: (vm-)bhyve stopped working recently on 13.2 To: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000011bdf060ec6de15" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.75 / 15.00]; R_MIXED_CHARSET(1.25)[subject]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112f:from] X-Rspamd-Queue-Id: 4TBbFr26F3z4hQM --000000000000011bdf060ec6de15 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >Is vm-bhyve unmaintained? If so then why not move it under FreeBSD wings and make it standard frontend? :-) I prefer the "vm-bhyve-devel" package, seems at least a bit better maintained, but indeed, vm-bhyve is (was) simple, lightweight, extremely useful tool, definitely deserves to be in the base system. Just my $0.02, Best. =C3=96zg=C3=BCr Konstantin --000000000000011bdf060ec6de15 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>Is vm-bhyve unmaintained? If so then why not move = it under FreeBSD wings and make it standard frontend? :-)

I= prefer the "vm-bhyve-devel" package, seems at least a bit better= maintained, but indeed, vm-bhyve is (was) simple, lightweight, extremely u= seful tool, definitely deserves to be in the base system.

J= ust my $0.02,

Best.

=C3=96zg=C3=BCr Konstan= tin
--000000000000011bdf060ec6de15-- From nobody Fri Jan 12 22:07:26 2024 X-Original-To: freebsd-questions@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 4TBbHw5JSsz56VVr for ; Fri, 12 Jan 2024 22:07:40 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) (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 4TBbHw2hPsz4jvm for ; Fri, 12 Jan 2024 22:07:40 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-5fa4b03f3f5so41622197b3.1 for ; Fri, 12 Jan 2024 14:07:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1705097259; x=1705702059; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KS9cSG6NHYCgJdXqBQO/Wrbb6snlx4gWVd+t8cI8fSU=; b=HxIF0IDEkkxLOsKttcXV82qBFxexLz/Rl4VDWfdpb8VgGqu26SGAoMnBCk5+Q5srBd +E2z73E9oaQRd4DnCX8Qwx9h9XIqcgyX1tbOHYewh0S/uXvlT6+prsQmhN3g+HzXZfR9 1992G/fBTtG4ZUpB5ViVtRfxLAYaHXsbGPCILn3PqfIA28MXt0dD9lTAuOtgMvyvXphO P6K8ZPKQCO7mIzOdslDBQUSJLKaCVVNgbxGxCyveU/qX4D+W4rY7YKPaP8Wr4My+u2JD om1LBvk9lRI6CJ1dP5nDNg9+JG9+CVFxau/OwBsANS0NSjkikC7Wu5Axj65GPI2B/b/b Uv1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705097259; x=1705702059; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KS9cSG6NHYCgJdXqBQO/Wrbb6snlx4gWVd+t8cI8fSU=; b=DJuRyVMHpA+ARziqm0UkFtU+/LK1fnWYSE5VYDhdCgOAQw9sM7vOVKkuRBLo6qDEN1 GG9+TsvbTPSb6Vz4D1vRIU0qUBuQElozXBg3mZbaiMdvKGfgTcFfaB6iTJfO4UwDrETa yBM2iKC7r5LKX86xBVIO6dGt4NpePtJ8iNyB2E1tkOjhTHHP0MFeVJTyi/jZG27xvP+j PIAqIg7eQ6dFlvVrd3NMzVMslvuy/V2nUCUmH/kHLicgUcNTziecTdoQ21iZNrpjGLlJ vZCl+OxvXBvGjAk1Y5hhikP3D7kzMjwXEF3RkGgAd4FRPtPvQFu5/fJYA73zZ+291bAP S/Xw== X-Gm-Message-State: AOJu0Yzn8PaOXfyhICchUXEMaQgb5IeaiHsuaU4CvWgarpGPfp2nZzx9 jcvm60Dt2n0iI55w9MQk5iDTGhthFLy2igWhQTLWTpi+fA== X-Google-Smtp-Source: AGHT+IGEB5Fd6Zh5j4DM94arxLPCoJwPuA3og94seW5vNCOlC3WvbMPQ3lUNbxmMZ7mo0FHuBIVPFw== X-Received: by 2002:a25:df87:0:b0:dbf:4864:77c6 with SMTP id w129-20020a25df87000000b00dbf486477c6mr1266787ybg.104.1705097259582; Fri, 12 Jan 2024 14:07:39 -0800 (PST) Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com. [209.85.128.171]) by smtp.gmail.com with ESMTPSA id 20-20020a250b14000000b00dbf335494e2sm1554144ybl.34.2024.01.12.14.07.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 14:07:39 -0800 (PST) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-5fc2e997804so9153847b3.3; Fri, 12 Jan 2024 14:07:39 -0800 (PST) X-Received: by 2002:a81:8442:0:b0:5f8:6f47:b081 with SMTP id u63-20020a818442000000b005f86f47b081mr2037442ywf.9.1705097258659; Fri, 12 Jan 2024 14:07:38 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Fri, 12 Jan 2024 23:07:26 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: (vm-)bhyve stopped working recently on 13.2 To: Michael Gmelin Cc: FreeBSD Questions Mailing List , Virtualisation on FreeBSD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TBbHw2hPsz4jvm X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Fri, Jan 12, 2024 at 10:54=E2=80=AFPM Michael Gmelin wrote: > What are you running inside bhyve (OS and version)? Could you maybe share= vm-bhyve=E2=80=98s config file? I was running Debian 11 and since it stopped working I tried Debian 12. debug=3D"yes" #loader=3D"bhyveload" loader=3D"uefi" uefi_vars=3D"yes" graphics=3D"yes" graphics_res=3D"1920x1080" graphics_listen=3D"127.0.0.1" graphics_wait=3D"no" graphics_vga=3D"no" cpu=3D"4" memory=3D"20G" network0_type=3D"virtio-net" network0_switch=3D"public" #disk0_type=3D"virtio-blk" disk0_type=3D"nvme" disk0_name=3D"disk0.img" sound=3D"yes" sound_play=3D"/dev/dsp" passthru0=3D"6/0/0" xhci_mouse=3D"yes" uuid=3D"XXX" network0_mac=3D"XXX" Debian 12 log: Jan 12 22:33:49: initialising Jan 12 22:33:49: [loader: uefi] Jan 12 22:33:49: [cpu: 4] Jan 12 22:33:49: [memory: 20G] Jan 12 22:33:49: [hostbridge: standard] Jan 12 22:33:49: [com ports: com1] Jan 12 22:33:49: [uuid: XXX] Jan 12 22:33:49: [debug mode: yes] Jan 12 22:33:49: [primary disk: disk0.img] Jan 12 22:33:49: [primary disk dev: file] Jan 12 22:33:49: initialising network device tap0 Jan 12 22:33:49: adding tap0 -> vm-public (public addm) Jan 12 22:33:49: bring up tap0 -> vm-public (public addm) Jan 12 22:33:49: dynamically allocated port 5900 for vnc connections Jan 12 22:33:49: booting Jan 12 22:33:49: [bhyve options: -c 4 -m 20G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/ztuff/vm/bhyve/debian= 12/uefi-vars.fd -U 273d0407-b18d-11ee-ba62-60a44c60c172 -u -S] Jan 12 22:33:49: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/ztuff/vm/bhyve/debian12/disk0.img -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:06:d3:8f -s 6:0,passthru,6/0/0 -s 7:0,fbuf,tcp=3D127.0.0.1:5900,w=3D1920,h=3D1080,vga=3Dno -s 8:0,xhci,tablet= -s 9:0,hda,play=3D/dev/dsp] Jan 12 22:33:49: [bhyve console: -l com1,/dev/nmdm-debian12.1A] Jan 12 22:33:49: [bhyve iso device: -s 3:0,ahci-cd,/ztuff/vm/bhyve/.iso/debian-12.4.0-amd64-netinst.iso,ro] Jan 12 22:33:49: starting bhyve (run 1) Jan 12 22:33:56: bhyve exited with status 4 Jan 12 22:33:56: destroying network device tap0 Jan 12 22:33:56: stopped Debian11 log: Jan 12 21:46:01: booting Jan 12 21:46:01: [bhyve options: -c 4 -m 20G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/ztuff/vm/bhyve/debian= 11/uefi-vars.fd -U XXX -u -S] Jan 12 21:46:01: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/ztuff/vm/bhyve/debian11/disk0.img -s 5:0,virtio-net,tap0,mac=3DXXX -s 6:0,passthru,6/0/0 -s 7:0,fbuf,tcp=3D127.0.0.1:5900,w=3D1920,h=3D1080] Jan 12 21:46:01: [bhyve console: -l com1,/dev/nmdm-debian11.1A] Jan 12 21:46:01: starting bhyve (run 1) Jan 12 21:46:10: bhyve exited with status 134 Jan 12 21:46:10: destroying network device tap0 Jan 12 21:46:10: stopped What I found regarding exit status 134 was forum post that hardware is too old lol.. but it was working week ago and I am older :-) `man bhyve` states that error code 4 means "exited due to an error" and that tells a lot :-) Enabling debug does not help here the log is the same. My last reply went to the questions list only, so as this one goes also to the virtualisation I would like to humbly express an idea of moving vh-bhyve under FreeeBSD wings and make it a default frontend for bhyve as it is amazingly simple and does the job :-) Thanks Michael :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Fri Jan 12 22:49:05 2024 X-Original-To: freebsd-questions@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 4TBcD02g1Dz56Ynx for ; Fri, 12 Jan 2024 22:49:20 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (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 4TBcCz67q7z4qc4 for ; Fri, 12 Jan 2024 22:49:19 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-dbed5d2ad18so6234994276.0 for ; Fri, 12 Jan 2024 14:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1705099759; x=1705704559; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=UOnWD7pFw6Do3t9yJyDH8WMYLsiR1PCcUu0SivdUhnw=; b=I2mdLLABySwL/G0Mud8RDlfjgq4lwXJvypyMdFOmNzZ4DjleLLwWTz82k9Gl46aIFR sPV8Pc+pViR+lbqbxt5ytXLpOm5XJoZF1IuoluQIiNIQAAfpT0h5fLRiMfXj9whmlyXM 80kyUT1NCWmpaP2QGEMnIwEOGjb3SRgQEuac5DNzdWHmhqpjIgClLIZxKykaGLGmfwcD T/FUBqXYV8QVbR8EY0ZuVk1dkHq9iYBMMpWVLKzaQ1yT6FXsR3mm7i4vl0fwEEeSawJM EJ1cMte78XKjTAK4FCNcTmqrBs7o3M3ShT0KuJA327x3h1MmUkDhhB/T+eosZ7qDwIUu QhCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705099759; x=1705704559; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UOnWD7pFw6Do3t9yJyDH8WMYLsiR1PCcUu0SivdUhnw=; b=hB2FMcEIFjfc2z38VvGJGpOagDjaYotXq/Gf0NklTvN91OBXyfkldJGUUIhI2ZCWjH voHNqttKIGGqKzKS4xmtmkTrHffpnk69ZKsi+jicWMYJcjIvJO3qupOElwCNTBf90Hwh 2S5dQs906aVrufFzeAyVjs12aJztMUsWR0oEwwb/obPJdjyT80AKpe9aCyULo4hjqmJ7 dUj7oXEkJqNXpfRgxWekd/LDkp/8JqcO8+7rqGYrrsLIQkk3s9EA0pRi791a1ONRQdKZ TykxB9ut38H/hjPls1YBgClxcBmsbZ+wFo2dJfdGEileiC9SCZfiuw67DrsH/iIwCOAY X5hQ== X-Gm-Message-State: AOJu0YwRaGMjHML/fqu76AfnadA7k4dVNoITKa6GN2kvAae/n/YwLm6a bIbXGS6hfKp2UN9LOCQZCZeGADE4Me0t X-Google-Smtp-Source: AGHT+IHjGG45aFiPLAM6gCnmIKmZfCUDYnqyN28Z7FwYCcVv8FDg0YXCftJSIcwxbsfhdWs/l7FjKA== X-Received: by 2002:a25:b210:0:b0:db5:4764:acad with SMTP id i16-20020a25b210000000b00db54764acadmr1270114ybj.9.1705099758829; Fri, 12 Jan 2024 14:49:18 -0800 (PST) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com. [209.85.219.175]) by smtp.gmail.com with ESMTPSA id z12-20020a5b0a4c000000b00dbd8211847csm214580ybq.8.2024.01.12.14.49.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 14:49:18 -0800 (PST) Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-dbe69afb431so6202947276.1; Fri, 12 Jan 2024 14:49:18 -0800 (PST) X-Received: by 2002:a5b:150:0:b0:dbd:b5bd:9e47 with SMTP id c16-20020a5b0150000000b00dbdb5bd9e47mr1420813ybp.39.1705099758075; Fri, 12 Jan 2024 14:49:18 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <7B87859A-8DF1-4727-AFE7-7F6D531D7AF2@grem.de> In-Reply-To: <7B87859A-8DF1-4727-AFE7-7F6D531D7AF2@grem.de> From: Tomek CEDRO Date: Fri, 12 Jan 2024 23:49:05 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: (vm-)bhyve stopped working recently on 13.2 To: Michael Gmelin Cc: Virtualisation on FreeBSD , FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TBcCz67q7z4qc4 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Fri, Jan 12, 2024 at 11:45=E2=80=AFPM Michael Gmelin wrote: > Does it work when you disable passthrough? Tried that no change :-( > Not sure if the author would like that. It=E2=80=99s a great tool for sur= e. Indeed! It deserves more attention / support :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Sat Jan 13 02:27:19 2024 X-Original-To: freebsd-questions@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 4TBj3n1VMNz56x5G for ; Sat, 13 Jan 2024 02:27:33 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (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 4TBj3m54bRz42Ty for ; Sat, 13 Jan 2024 02:27:32 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-680adbf077dso47844716d6.1 for ; Fri, 12 Jan 2024 18:27:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1705112852; x=1705717652; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iLHn6rds9YuI1IX/K275o6sOZikGiSoirFowUTLcz+Y=; b=edUwoSLd9+QAA3w7SRVhX9Jn8w6ImWb/sr4HfNBMWjv0KMRmDl1v6XXEFLyTfaFwnW XsQMWlz2Mni6SltyFmySYz5NGTpenHDeyjHNIFdn5mNaa3fEyLLffCdSxi00BYNgaHDY +bW5SadNKrCssmC6ARwvltlw9WOM6ETJ1Ci26XjTP1fnjDPL3YF/HRNSwaUW2JH7o2FH vTF45ICvluzeUtEgIZa00kEpHffjijptbbQSoKwzDbFhAsaaYVajz4KcyYnJ44blCQ8p sf2I20UtB3Or4bsIERNmUF7hELjTfKoT/ug4L6eiyxe8ZeGFg+p/tK1yUJ4XMWJ2HWeY 8HxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705112852; x=1705717652; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iLHn6rds9YuI1IX/K275o6sOZikGiSoirFowUTLcz+Y=; b=e9SdBg2AR4Aszpe2Bmsxs2y1Nb1dhNtwA/hes5sdGTx7cVXzLLTVhdzECgv6UBvQ4i Vlq7k/St4dKWXaIRw1//MwNna6ZeukUi0QEqaA7bgdxKJW7A2WpCcN2tRxLhh7tBMydl E5NYzU8CBOEhY5woG7mBE8GaZo3VsrRo5Le9uDTHoX+5cI6KzdC13KOQ2GFaXAuCH4ym tqEfnoV5SKuEViq0eYRwZxhGaF4P7WzbahK5luDrbe3uz7KDvhcFK4s4KLuxIBK4Pe91 5unPe+J+YMx6YzB6nrAnE0G5EMLyloeZK+V86d4zX+1tnI82xH5MALdmERqnI/2agJPm 1qBA== X-Gm-Message-State: AOJu0Yx6lx4SEcCxvm4srqB5LzX9Ifwgn8uHRHUA68RpcNsIi+e6Yto7 76WO7nSYwunAtIU+772jre6o5y6qM7b2 X-Google-Smtp-Source: AGHT+IFGdMkyP4BLatm1+1yHqvkkQjZWT4OZ2Dvh/i2xDyh2khQBvv+7IL9CSpaC5LfUK9G6ahd6yA== X-Received: by 2002:a05:6214:529c:b0:681:331f:a29e with SMTP id kj28-20020a056214529c00b00681331fa29emr2495080qvb.72.1705112851852; Fri, 12 Jan 2024 18:27:31 -0800 (PST) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com. [209.85.222.178]) by smtp.gmail.com with ESMTPSA id z11-20020a05622a124b00b0042991cda66asm1852776qtx.14.2024.01.12.18.27.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 18:27:31 -0800 (PST) Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-783182d4a09so776774885a.2; Fri, 12 Jan 2024 18:27:31 -0800 (PST) X-Received: by 2002:a05:620a:cfa:b0:783:1cad:902c with SMTP id c26-20020a05620a0cfa00b007831cad902cmr2623892qkj.110.1705112851114; Fri, 12 Jan 2024 18:27:31 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <18EA39DB-FFFE-433D-A5D6-ADB38C175190@grem.de> <5E8C4F7A-3359-41EC-9534-4F0EED45C8DC@grem.de> In-Reply-To: <5E8C4F7A-3359-41EC-9534-4F0EED45C8DC@grem.de> From: Tomek CEDRO Date: Sat, 13 Jan 2024 03:27:19 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: (vm-)bhyve stopped working recently on 13.2 To: Michael Gmelin Cc: Virtualisation on FreeBSD , FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TBj3m54bRz42Ty X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Sat, Jan 13, 2024 at 2:07=E2=80=AFAM Michael Gmelin wrote: > Actually, this looks like it might be related: > https://github.com/churchers/vm-bhyve/pull/525 > Found the link in here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273560 Thank you Michael!! +1 there and will follow :-) By the way as I am using again vbox for a wile I can see a tremendous difference in using vnc (bhyve) vs nested guest screen (vbox). Is there any way to make bhyve+vnc experience less painful? I also use vnc (remmina) for remote mac connections (i.e. 1G LAN) and it looks the same but there is no feeling of "local machine". I have tried different vnc clients and configurations but it just works awful the ssh+tmux is the best in that case o_O -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Sat Jan 13 07:22:42 2024 X-Original-To: freebsd-questions@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 4TBqct2k3gz56yGC for ; Sat, 13 Jan 2024 07:23:10 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from h1.out2.mxs.au (h1.out2.mxs.au [110.232.143.236]) (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 4TBqcq3Ybcz4Xqs for ; Sat, 13 Jan 2024 07:23:05 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nimnet.asn.au header.s=default header.b=Kr0LUaIW; dmarc=none; spf=pass (mx1.freebsd.org: domain of smithi@nimnet.asn.au designates 110.232.143.236 as permitted sender) smtp.mailfrom=smithi@nimnet.asn.au Received: from s121.syd3.hostingplatform.net.au (s121.syd3.hostingplatform.net.au [103.27.34.4]) by out2.mxs.au (Halon) with ESMTPS (TLSv1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 id 8eea27b5-b1e4-11ee-b49b-00163c1ebd60 for ; Sat, 13 Jan 2024 18:22:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nimnet.asn.au; s=default; h=Message-ID:From:CC:To:Subject: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Nkxz59S3tngne9toCqrw1nqyBdYxfoNWAoPz6arg3Ak=; b=Kr0LUaIWtcXHhQvY12aKJEeDu+ Qofea9lWa85ql7nEvWAcB4ke7Sk0PryMUmxcYnrGn+bmlfHOi1hvZrE4tiG3HR7sIErEeQV4rLkOl EeVe81lP9UMFe/vDDk5k6zdUTC1RdriB/q10YM5VwHRFw6+PxttlpausVORNEeS64MNmtDs9UImYR cHT08lw+OSeNhO74tU5FkOcdK7lWUkzmefjDtSI3v4XLhHNuFDUYrC0+prF6dp1/9GhyI7n2JYtvN gFhWSKvEszceSNSSlAYpjktuySbgTkzw2PSG/WKAczUOQuBtR06Ve1JoDU6r8yqfzyP5SxakqG+1N uRxQivkw==; Received: from [1.145.92.168] (port=4483 helo=[10.180.130.209]) by s121.syd3.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1rOYLy-003O3p-0W; Sat, 13 Jan 2024 18:22:50 +1100 Date: Sat, 13 Jan 2024 18:22:42 +1100 User-Agent: K-9 Mail for Android In-Reply-To: <20240111014215.d25a19f3.freebsd@edvax.de> References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <20240110233304.7a8b7f10.freebsd@edvax.de> <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> <20240111014215.d25a19f3.freebsd@edvax.de> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Problem mounting new Sandisk 1TB USB drive To: Polytropon ,freebsd@dreamchaser.org CC: FreeBSD Mailing List From: Ian Smith Message-ID: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s121.syd3.hostingplatform.net.au X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nimnet.asn.au X-Get-Message-Sender-Via: s121.syd3.hostingplatform.net.au: authenticated_id: smithi@nimnet.asn.au X-Authenticated-Sender: s121.syd3.hostingplatform.net.au: smithi@nimnet.asn.au X-Source: X-Source-Args: X-Source-Dir: X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[nimnet.asn.au:s=default]; R_SPF_ALLOW(-0.20)[+ip4:110.232.143.0/24]; MIME_GOOD(-0.10)[text/plain]; HAS_X_SOURCE(0.00)[]; RCVD_TLS_ALL(0.00)[]; HAS_X_ANTIABUSE(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_X_AS(0.00)[smithi@nimnet.asn.au]; DMARC_NA(0.00)[nimnet.asn.au]; ARC_NA(0.00)[]; HAS_X_GMSV(0.00)[smithi@nimnet.asn.au]; DKIM_TRACE(0.00)[nimnet.asn.au:+]; ASN(0.00)[asn:45638, ipnet:110.232.143.0/24, country:AU]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[] X-Rspamd-Queue-Id: 4TBqcq3Ybcz4Xqs Late to the 'old and stupid' party =2E=2E=2E out of the pile, I'm respondin= g to this one since Gary gives it as reference in his PR revival at https://bugs=2Efreebsd=2Eorg/bugzilla/show_bug=2Ecgi?id=3D244461 On 11 January 2024 11:42:15 am AEDT, Polytropon wrote= : > On Wed, 10 Jan 2024 16:42:22 -0700, Gary Aitken wrote: > > On 1/10/24 15:33, Polytropon wrote: > > > On Wed, 10 Jan 2024 13:03:28 -0700, Gary Aitken wrote: (cutting mercilessly) > > > The stick is actually pre-formatted with exFAT=2E > > >=20 > > > Problem here: exFAT disguises itself as an NTFS partition, > > > but it does not have NTFS metadata and content, so ntfs-3g > > > cannot mount it, even though tools like gpart or fdisk > > > show a NTFS partition=2E It's worse than that, thanks again Microsoft! Reference: https://en=2Em= =2Ewikipedia=2Eorg/wiki/Partition_type MBR partition type 7 can be IFS, HPFS (both OS/2), NTFS or ExFAT (both MS)= =2E It's kinda understandable between HPFS and NTFS; well before FUSE there wa= s read safely / write maybe code for both that was largely identical=2E I u= sed it to read old OS/2 disks up to about FreeBSD 9=2E But overlaying NTFS with ExFAT was unforgivable really =2E=2E=2E as this t= hread adequately demonstrates=2E > > > So here is what you should check: > > >=20 > > > 1=2E /boot/loader=2Econf contains: > > >=20 > > > fuse_load=3D"YES" > > # Enable FUSE functionality for exfat filesystem mounting > > fuse_enable=3D"YES" > > fuse_load=3D"YES" >=20 > THe _enable settings belong to /etc/rc=2Econf; /boot/loader=2Econf > uses the _load settings=2E > > > 2=2E Mount device manually, read-only, perform checks, then > > > unmount again: > > >=20 > > > # mount=2Eexfat -o ro /dev/da0s1 /mnt/memstick > > > # df -f /mnt/memstick > > > # ls -R /mnt/memstick > > > # umount /mnt/memstick =20 > Should have been "df -h"=2E :-) >=20 > Intention: Compare "dmesg" entry (device reporting size) > with filesystem size, and then compare to what's written > on the device itself=2E =20 > > A series of mount=2Eexfat / umount / mount=2Eexfat on fbsd seemed to > > clear it up=2E > There are also fsck tools for most filesystems, and there > probably is one for exFAT, just in case=2E sysutils/exfat-utils : exfatfsck(8) also mkexfatfs(8), dumpexfat(8), exfatlabel(8)=2E > > > NB: mount=2Eexfat does not have a manpage or help option=2E > >=20 > > $ apropos exfat > > mount=2Eexfat-fuse(8) - mount an exFAT file system > Okay, thanks for that pointer=2E It's not obvious that you > need the manpage of "mount=2Eexfat-fuse" when you want to > know the options of "mount=2Eexfat" though=2E=2E=2E sysutils/fusefs-exfat is installed as mount=2Eexfat-fuse, with a symlink f= or /usr/local/sbin/mount=2Eexfat Unfortunately there's no such link for manpage mount=2Eexfat-fuse(8) > > > Why don't you simply run newfs on the stick, with the > > > filesystem *you* _want_ to use? You can use UFS it you > > > want to, works perfectly well=2E ;-) > >=20 > > I want to be able to read it from an android phone, and I was/am > > concerned reformatting may make it unreadable by the phone=2E I was pleasantly surprised to hear that Android reads/writes exfat=2E I in= stalled it for Ventoy, but can now directly write from the phone, ta! I als= o have some 64G USB2 sticks that become useful with exfat=2E > That's a trap to easily fall into: exFAT does not identify > itself as exFAT or FAT, but as NTFS, but it is not NTFS=2E Nor is it HPFS (in about 7 years of OS/2 in the nineties, I can't recall l= osing a single file to HPFS) ~~~~~~~ To address points Gary raises in the abovementioned PR: -> I would consider it a bug=2E Documenting ambiguous behavior does not ma= ke it any less of a problem=2E Agreed=2E -> It affects anyone who attempts to mount a usb stick with >32GB of stora= ge=2E Well, and smaller exfat media too=2E -> If gpart can tell that a partition is exFAT, it should report it as suc= h to avoid confusion It doesn't seem like a small 'if'=2E It means adding code to detect the real type in use - and there may be non= e before a makefs=2E And it's not binary; IFS and HPFS as well=2E Maybe there's some simple te= st to delineate between those four, some clear signature? I don't know; yo= u'd need to examine fsck (or analogous) code, test and present it to the gp= art maintainer=2E Good luck! From nobody Sun Jan 14 08:35:13 2024 X-Original-To: questions@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 4TCTCH1p0Lz57Qny for ; Sun, 14 Jan 2024 08:36:43 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (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-signature RSA-PSS (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCTCD2KKWz4bxl for ; Sun, 14 Jan 2024 08:36:39 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=TTeZd1mT; dmarc=none; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au Received: from [10.0.5.4] ([10.0.5.4]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPA id 40E8ZCf3056938 for ; Sun, 14 Jan 2024 19:35:12 +1100 (AEDT) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1705221312; x=1705826113; bh=aMjIUAyoar3omUPHmP6eUKITyD5ram990f+Ccqk+Dig=; h=Message-ID:Date:To:From:Subject; b=TTeZd1mTI8eKiXlSDrr2X30VHAettI/HHSZT/hXRFksOzyB1CM4exsFUkJEfukPLh UfTFx01nPXsuTr65fkjc/PtfPgpsh1lnB5t3FVADpheHZ9A5k0itCODEs06M2IRUf/ vTu0nvGTgOXfR2c4ylJov1hvru0MXgfaUsaHVb6kEzAh5J/dOljTu Content-Type: multipart/alternative; boundary="------------vAw1Vm0sDX11Z43VlLbh9lqv" Message-ID: Date: Sun, 14 Jan 2024 19:35:13 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: questions@freebsd.org From: Dewayne Geraghty Subject: How to boot FreeBSD14 without EFI? X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.09 / 15.00]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; URI_COUNT_ODD(1.00)[5]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; DMARC_NA(0.00)[heuristicsystems.com.au]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4TCTCD2KKWz4bxl This is a multi-part message in MIME format. --------------vAw1Vm0sDX11Z43VlLbh9lqv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I pulled the release i386 and amd64 iso's from https://download.freebsd.org/releases/ISO-IMAGES/14.0/ and both require EFI to boot. Then I proceeded to download the source for releng14 and did the usual build and install steps for an amd64 vdi (virtualbox setup on a Windows host).  However I've been unable to boot from either an MBR or a GPT scheme.  Clearly I'm missing something. Does anyone have the incantation to boot without EFI on either i386 or amd64? I added WITHOUT_EFI to /etc/srcconf and rebuilt GENERIC but more is required... Also the loader no longer provides vidconsole as a console device.  Has vidconsole been replaced with eficonsole? Regards, Dewayne --------------vAw1Vm0sDX11Z43VlLbh9lqv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
I pulled the release i386 and amd64 iso's from https://download.freebsd.org/releases/ISO-IMAGES/14.0/ and both require EFI to boot. 

Then I proceeded to download the source for releng14 and did the usual build and install steps for an amd64 vdi (virtualbox setup on a Windows host).  However I've been unable to boot from either an MBR or a GPT scheme.  Clearly I'm missing something.  Does anyone have the incantation to boot without EFI on either i386 or amd64?

I added WITHOUT_EFI to /etc/srcconf and rebuilt GENERIC but more is required...

Also the loader no longer provides vidconsole as a console device.  Has vidconsole been replaced with eficonsole?  

Regards, Dewayne

--------------vAw1Vm0sDX11Z43VlLbh9lqv-- From nobody Sun Jan 14 11:38:27 2024 X-Original-To: questions@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 4TCYF40YpRz57jfK for ; Sun, 14 Jan 2024 11:38:32 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCYF4010Qz4vgS for ; Sun, 14 Jan 2024 11:38:32 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705232312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BNGZON1Jy7dSQgM8RLe8YUGfL73D5wXEM5mmEsQp2zA=; b=w6hXVF7E4/Okt5nAqh84oW0MyzXlSLNDHWI9yVVdDFcXqsPHpxdlzft71tx8TNW0GRiSp9 HQkV2vyoFuLym9A0M9PrvWmJK0cXEW8cJPwoirtvUQNdB2OO6JJF2sQBBnBzHPvgh0ZqBc 8J2KvSP3ElpofUsqiRCFJ3Uc1xCbydIB2ISnNHMEeP+k0obpk1WxRplOT/pdv3ODBySljI AF5oeTDp/4YsVTmxOoSVksvuk1yi5NXby6TuhRikCJmjdZY1yEjQ2kFjr1LZvI+KF0tBBv ixHUq73Hth/HSvcOrnLRhE0CqvHvGpkZisMd1QKzQDlixsZpZvYeLAnzlheY3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705232312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BNGZON1Jy7dSQgM8RLe8YUGfL73D5wXEM5mmEsQp2zA=; b=OqByx3B7oR0XYOyGC9ZJE8RpIibLuuJh8bR0/KTBfW1EmV0dUiqh9MwxZ0P8Y7qEMGbHNu nvmp9b1MSv2fZbwKxoIC+93Ms7z4aeUTgvwjYxWmOYLAOFqE6yABQ1Lcu5k8gTPvzMCNrn SwrjR3GnDxgN6ThnhkP+w8N8Za9lxH7Ad+Ilksrxem65it09dmYXHUfnBj1mz/3k3B7ELQ toKY+xSQ/mUsBE+VLDwPu+fTUDdvIuMI2Yo50CRN9fe1Io960Ied47syxosO/ghx0TCEjf +ArkN2fbTl6vvXs2FH4g7ZLvMveUOWK3v4sdS+lHaGz8IX5qq6MWrVAzpMy0YQ== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=fail (p=none dis=none) header.from=FreeBSD.org ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705232312; a=rsa-sha256; cv=none; b=CNZyQEzu+1rLOXyRWO97DLGS5Tv89JB52FZFBF1CMyzWUXKr5wRt+MNuFBNGfrRPHsD4Hz l0E851MnyiuYeKO29fnHop/iRB0yQ88wB8nlUSpNd6vFiPNYpl4ajpwCXHU87LEgFyWrZi /lkJeSMCD1SA14tLzO1IbbKxNd+CcNLbg9hbfYrNND9HbhTclfJYAr0KaQSWdE9MuvW77b meg4J05GKVh5/ddmnT9rn9MWvBqdQtixaMzhDx2zTiM1KpobAzyZCHXAHMu/X5f+51d+oK mNmuSK9moDrYaW1sVTLr4+CFsuir9j2ZhoaSG5FSR8bYxUNygW4PKc2GqHdFCg== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (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) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TCYF34xVSz101w for ; Sun, 14 Jan 2024 11:38:31 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [IPV6:2001:8b0:151:1:28d1:82d2:3110:2d02] (unknown [IPv6:2001:8b0:151:1:28d1:82d2:3110:2d02]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 89C7F9604 for ; Sun, 14 Jan 2024 11:38:28 +0000 (GMT) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=fail (p=none dis=none) header.from=FreeBSD.org Message-ID: <6d9ed027-695a-48b0-be02-3ba1d38f8b82@FreeBSD.org> Date: Sun, 14 Jan 2024 11:38:27 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: How to boot FreeBSD14 without EFI? Content-Language: en-GB To: questions@freebsd.org References: From: Matthew Seaman In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0Pbq2nwy1hvxVQxOGTWs62lE" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------0Pbq2nwy1hvxVQxOGTWs62lE Content-Type: multipart/mixed; boundary="------------dSK6tciiH03fenCkEIHLWxuT"; protected-headers="v1" From: Matthew Seaman To: questions@freebsd.org Message-ID: <6d9ed027-695a-48b0-be02-3ba1d38f8b82@FreeBSD.org> Subject: Re: How to boot FreeBSD14 without EFI? References: In-Reply-To: --------------dSK6tciiH03fenCkEIHLWxuT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTQvMDEvMjAyNCAwODozNSwgRGV3YXluZSBHZXJhZ2h0eSB3cm90ZToNCj4gSSBwdWxs ZWQgdGhlIHJlbGVhc2UgaTM4NiBhbmQgYW1kNjQgaXNvJ3MgZnJvbSANCj4gaHR0cHM6Ly9k b3dubG9hZC5mcmVlYnNkLm9yZy9yZWxlYXNlcy9JU08tSU1BR0VTLzE0LjAvIA0KPiA8aHR0 cHM6Ly9kb3dubG9hZC5mcmVlYnNkLm9yZy9yZWxlYXNlcy9JU08tSU1BR0VTLzE0LjAvPiBh bmQgYm90aCANCj4gcmVxdWlyZSBFRkkgdG8gYm9vdC4NCj4gDQo+IFRoZW4gSSBwcm9jZWVk ZWQgdG8gZG93bmxvYWQgdGhlIHNvdXJjZSBmb3IgcmVsZW5nMTQgYW5kIGRpZCB0aGUgdXN1 YWwgDQo+IGJ1aWxkIGFuZCBpbnN0YWxsIHN0ZXBzIGZvciBhbiBhbWQ2NCB2ZGkgKHZpcnR1 YWxib3ggc2V0dXAgb24gYSBXaW5kb3dzIA0KPiBob3N0KS7CoCBIb3dldmVyIEkndmUgYmVl biB1bmFibGUgdG8gYm9vdCBmcm9tIGVpdGhlciBhbiBNQlIgb3IgYSBHUFQgDQo+IHNjaGVt ZS7CoCBDbGVhcmx5IEknbSBtaXNzaW5nIHNvbWV0aGluZy4gRG9lcyBhbnlvbmUgaGF2ZSB0 aGUgaW5jYW50YXRpb24gDQo+IHRvIGJvb3Qgd2l0aG91dCBFRkkgb24gZWl0aGVyIGkzODYg b3IgYW1kNjQ/DQo+IA0KPiBJIGFkZGVkIFdJVEhPVVRfRUZJIHRvIC9ldGMvc3JjY29uZiBh bmQgcmVidWlsdCBHRU5FUklDIGJ1dCBtb3JlIGlzIA0KPiByZXF1aXJlZC4uLg0KPiANCj4g QWxzbyB0aGUgbG9hZGVyIG5vIGxvbmdlciBwcm92aWRlcyB2aWRjb25zb2xlIGFzIGEgY29u c29sZSBkZXZpY2UuwqAgSGFzIA0KPiB2aWRjb25zb2xlIGJlZW4gcmVwbGFjZWQgd2l0aCBl Zmljb25zb2xlPw0KDQpJJ20gYm9vdGluZyBhbiBvbGRlciBoYXJkd2FyZSAxNC1TVEFCTEUg bWFjaGluZSB1c2luZyBiaW9zIGJvb3QsIG5vIA0KcHJvYmxlbS4gIEl0IHdvcmtzIGV4YWN0 bHkgYXMgaXQgdXNlZCB0byBkbyBpbiAxMyBvciBwcmV2aW91cy4gIFRoZXJlIA0Kc2hvdWxk IGJlIG5vIG5lZWQgdG8gdXNlIFdJVEhPVVRfRUZJIGlmIGJ1aWxkaW5nIGZyb20gc291cmNl OiBhbGwgdGhhdCANCmRvZXMgaXMgc2F2ZSBhIGZldyBraWxvYnl0ZXMgYnkgbm90IGdlbmVy YXRpbmcgL2Jvb3QvKi5lZmkuDQoNClByZXR0eSBzdXJlIEkgY291bGQgYm9vdCBmcm9tIHRo ZSAxNC4wIGluc3RhbGxlciBvbiBhIFVTQiBzdGljayBvbiB0aGF0IA0KbWFjaGluZSB0b28s IGFsdGhvdWdoIEkgdXBncmFkZWQgaXQgZnJvbSBhbiBlYXJsaWVyIHZlcnNpb24gcmF0aGVy IHRoYW4gDQpyZS1pbnN0YWxsaW5nIGl0Lg0KDQpBcyBwYXJ0IG9mIHRoZSBkaXNrIHNldHVw IGluIHRoZSBpbnN0YWxsZXIsIHlvdSdyZSBnaXZlbiB0aGUgY2hvaWNlIG9mIA0Kd2hpY2gg Ym9vdCBzdHlsZSB0byB1c2UgYW5kIHdoZXRoZXIgeW91IHdhbnQgdG8gY3JlYXRlIGFuIEVG SSBwYXJ0aXRpb24uIA0KICBJSVJDIHRoZSBkZWZhdWx0IGlzIHRvIHNldHVwIE1CUiBhbmQg Z3B0emZib290IGFuZCBub3QgY3JlYXRlIGFuIEVGSSANCnBhcnRpdGlvbiwgYnV0IHRoZXJl IGFyZSBhYm91dCA0IGRpZmZlcmVudCBjb21iaW5hdGlvbnMgdG8gY2hvb3NlIGZyb20uDQoN CkRvdWJsZSBjaGVjayB5b3VyIGluc3RhbGxhdGlvbiBtZWRpYSBhbmQgdGhlIHNldHRpbmdz IGluIHlvdXIgQklPUyAtLSBpdCANCnNob3VsZCBiZSBwb3NzaWJsZSB0byBtYWtlIGl0IHdv cmsuDQoNCglDaGVlcnMsDQoNCglNYXR0aGV3DQo= --------------dSK6tciiH03fenCkEIHLWxuT-- --------------0Pbq2nwy1hvxVQxOGTWs62lE Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAmWjx7MFAwAAAAAACgkQAFE/EOCp5OeO ow/+KjG9fLesb3fLFUElFE+PJJfCBHvVBjll4bS9ujVBJGSH2kWvwRla5HGjhdDOOsdCTQOfuoHY 8ygfYppFKHtdTOPiGvW3OTukDimy+OhPB+TU0ZZZDSWrjEBZgwfBhPNOb6ysps313RVq9Agk88aH N7DL7uFiBmPG5d5lvLtGCrZXzs6cpr53nE5mXDBIenfsTwLqv3OiBT9JmQVdGv+3jNruKITvYPSX SnzGk4PMk9xpKXZ1I5rigTRGzhS5slTsIgJh/Z2GKdQtbHvilfZNaiR5b+oQ/flJS0nynVe5nZ+5 zakLSxS+7UlWD8FgTqI/gHN94iq1rJJjqEFw+V6ES4+THyk0scqfFIuRRIY8bMZtjjyU0MIILoOi eNcRCr/Kke4x/NJiAIKUhrsci/1KmO89sBWv1POnbDYifxEZWf2HEB4rbOarlzTF1a7wdQe/1aNm sx5UjB8wd93sEQaAnFOAPNrMwAm5OeJ4bdAs/Y0aF8FFRIJPuUd+urrs9HzwBV5EhtsWUTkBVx0+ BKmsyAOCnZ4Tj0SV82dpx9+hB3ePP7OPTtxY/Qxrv6hbJcxn37HbE2Ej4YIFNbyKLJYAflp7oduO KnAeaQ9lBmEvfFZCQcDUIRCH1pm44QRCn432m9Ks+SBWQjAtgmgtv/myUv/P2SepmbUvnYClw9or dGw= =hfL3 -----END PGP SIGNATURE----- --------------0Pbq2nwy1hvxVQxOGTWs62lE-- From nobody Sun Jan 14 14:35:58 2024 X-Original-To: questions@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 4TCdBG21mwz56JYL for ; Sun, 14 Jan 2024 14:36:22 +0000 (UTC) (envelope-from robert@rrbrussell.com) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 4TCdBF2V63z413c for ; Sun, 14 Jan 2024 14:36:21 +0000 (UTC) (envelope-from robert@rrbrussell.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rrbrussell.com header.s=fm2 header.b=kodzWjGq; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=l6bb+3Rh; dmarc=pass (policy=quarantine) header.from=rrbrussell.com; spf=pass (mx1.freebsd.org: domain of robert@rrbrussell.com designates 64.147.123.19 as permitted sender) smtp.mailfrom=robert@rrbrussell.com Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5EE793200A12 for ; Sun, 14 Jan 2024 09:36:19 -0500 (EST) Received: from imap52 ([10.202.2.102]) by compute1.internal (MEProxy); Sun, 14 Jan 2024 09:36:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rrbrussell.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1705242978; x=1705329378; bh=CuMm5Z9s1C 9K+f64ecNZoO+HWuJ5OT9otO6vJF9PseA=; b=kodzWjGqv/vR2vNmAPujrXdgls KsDh9Thh8RSsHe44iqLHdSzAIVBWw7azVoPpMbNmgRV55DE1Pl7JrFnQTqw/X+fZ WkI74zdrw1N9uNZVjnf1sqpdZwpYXBmLrOw6hgCavYKS2Yg9ZVfK4Xw0EhmyFkJJ ESFz7BHFTh+WpaL/shSzKhHumCfS1eJ6Zz10ByRKjGzOBvGU/VKInrzHQwM0jxNB a62CEszgpQ5Koy0P/dT4ZN6z+dchJov/daGwtkbP6Tnclk9snkW72cK+U+dX2NlU syuHblXjseqW+gTBVHyjlpfoPWguY/bvsjM04L9/n2p3DTkDeMsIU4lHfzdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1705242978; x=1705329378; bh=CuMm5Z9s1C9K+f64ecNZoO+HWuJ5 OT9otO6vJF9PseA=; b=l6bb+3Rhvq3X+3hiv5P7TrWgRJch6zWY1gO59TSSZDBl iT1I+kGXntiuUAQiNG4FoEAqq1ZM23d+/mxjssGDiQvHziE09VgccJ4lJrkDY7nQ C94cv/EULv6On3dnxvPat5CIKcktOt7B+MHZbqeVWzDdOqVa+kszJEjoRVydwHhW ktKePCAnCBKbM8QtHIK4rn5RNHe2wW63KhU7T4xwh0531r3BfyUaYpDCpjx+HmdP V55Tkqi3vmGtuO2KU/I3IvAfl2ZJOXLibVvQgJPoabWYa38wenZZCV2saR+9YmTG JizxDu93N+Hb9zxzVSAj4t+rGNwVZZ+rNjs73HAo0g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeiledgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerreejnecuhfhrohhmpehrohgsvghrthesrhhrsghruhhsshgvlhhlrdgtohhmnecu ggftrfgrthhtvghrnhepkeehtdffueehveeuveduleekfeffledugfehjeefhedtgeekhe egleetiedtveelnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhhosggvrhhtsehrrhgsrh hushhsvghllhdrtghomh X-ME-Proxy: Feedback-ID: ie421460a:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7EF22C60091; Sun, 14 Jan 2024 09:36:18 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1374-gc37f3abe3d-fm-20240102.001-gc37f3abe List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: In-Reply-To: References: Date: Sun, 14 Jan 2024 08:35:58 -0600 From: robert@rrbrussell.com To: questions@freebsd.org Subject: Re: How to boot FreeBSD14 without EFI? Content-Type: multipart/alternative; boundary=df523dc745914adcaed99d530711c484 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.49 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[rrbrussell.com,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[64.147.123.19:from]; R_DKIM_ALLOW(-0.20)[rrbrussell.com:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[rrbrussell.com:+,messagingengine.com:+]; FROM_NO_DN(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEFALL_USER(0.00)[robert]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4TCdBF2V63z413c --df523dc745914adcaed99d530711c484 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, Jan 14, 2024, at 02:35, Dewayne Geraghty wrote: > I pulled the release i386 and amd64 iso's from https://download.freebs= d.org/releases/ISO-IMAGES/14.0/ and both require EFI to boot.=20 >=20 > Then I proceeded to download the source for releng14 and did the usual= build and install steps for an amd64 vdi (virtualbox setup on a Windows= host). However I've been unable to boot from either an MBR or a GPT sc= heme. Clearly I'm missing something. Does anyone have the incantation = to boot without EFI on either i386 or amd64? >=20 > I added WITHOUT_EFI to /etc/srcconf and rebuilt GENERIC but more is re= quired... >=20 > Also the loader no longer provides vidconsole as a console device. Ha= s vidconsole been replaced with eficonsole? =20 >=20 > Regards, Dewayne Just to confirm the FreeBSD-14.0-RELEASE-amd64-memstick.img file does no= t boot unless UEFI is enabled on your Virtual Machine or physical hardwa= re? Have you double checked the checksum of the image or images you are usin= g? Assuming BIOS boot do you know if the device has previously booted using= GPT or only MBR partition tables? =E2=80=94 Robert --df523dc745914adcaed99d530711c484 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Sun, Jan 14,= 2024, at 02:35, Dewayne Geraghty wrote:
I pulled the release i386 and amd64 iso's = from https://download.freebsd.org/releases/ISO-IMAGES/= 14.0/ and both require EFI to boot. 

Then I proceeded to download the source for releng14 and did the usual build and install steps for an amd64 vdi (virtualbox setup on a Windows host).  However I've been unable to boot f= rom either an MBR or a GPT scheme.  Clearly I'm missing something= .  Does anyone have the incantation to boot without EFI on either i386 or amd64?

I added WITHOUT_EFI to= /etc/srcconf and rebuilt GENERIC but more is required...

Also the loader n= o longer provides vidconsole as a console device.  Has vidconsole been replaced with eficonsole? &= nbsp;

Regards, Dewayne

Just to confirm the FreeBSD-14.0-RELEASE-amd64-mem= stick.img file does not boot unless UEFI is enabled on your Virtual Mach= ine or physical hardware?

Have you double c= hecked the checksum of the image or images you are using?
=
Assuming BIOS boot do you know if the device has previous= ly booted using GPT or only MBR partition tables?

=E2=80=94 Robert
--df523dc745914adcaed99d530711c484-- From nobody Sun Jan 14 18:35:24 2024 X-Original-To: freebsd-questions@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 4TCkVM2Rp3z56qJ5 for ; Sun, 14 Jan 2024 18:35:39 +0000 (UTC) (envelope-from dondugger47@gmail.com) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 4TCkVL2fQPz4gtV for ; Sun, 14 Jan 2024 18:35:38 +0000 (UTC) (envelope-from dondugger47@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=KTutfkEB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dondugger47@gmail.com designates 2a00:1450:4864:20::229 as permitted sender) smtp.mailfrom=dondugger47@gmail.com Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2cd1a1c5addso91915681fa.1 for ; Sun, 14 Jan 2024 10:35:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705257336; x=1705862136; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=xsgbHLyDg+bAN+UrPqcHEGHeklWiTeEzfFohDkhqvp8=; b=KTutfkEBXq0+Kt1NkKDHmM741Dps7kIJNc00ih0pqrNVqUpyGuH+64BvsLTgkTWMUB kxKfs9uK/MYI4IdSnXveE/VzZVvF8i8khUUDEr9Pdg6q3HMWj5vH5JbQV+H1+JXGyUwE /LSTbTWxg7kanqb/Z2Yi2mikqU+xxkci8piytHdtGDSBZ9W4Be0p9wa01oD0XgAvi/ua 2p+cFQzI8rIuKoSIY4A4I43EluGsqgJ5ydBCMW9XI2sCZnMUUxVz4OX+JyAUWWCHGksu uyDbm3cmGBt0Io263VIaMmpw+sAer0E8EqsvpmuoDgu1szo4wL551AK+9fuLigaZRrdD eKCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705257336; x=1705862136; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xsgbHLyDg+bAN+UrPqcHEGHeklWiTeEzfFohDkhqvp8=; b=Jlsfj6XDh0EmPV6ZBkwdo7Adc8GaPX2vQ8GB0/Qg88jst3Hg8RJCMSZcHdGsuB969Z I1ZGcgNpFssCC/HjjVv/ntLpvDod6yV1NKv5tUbYNqgL9ofQHO0V7EspodMBeHI9MU0w hKXDIPoSWrQo5tPyVv7HUYiJAMuHrVfATa2ft37klC8cof3i3scSjrLBfT74jOb4J7j4 BT1VCLiU+IwMNhDtS2Vm2ETmyXNOzsLVaqHOwjKAzHeH69d52+vEcsslFrUeAKC/zKnM 9UxAdOwBeuzi8/QbTgcVygIpyQiuB5XocoIl+GcjnxybWFvGbPMY8xXAWmV4a7OFs7iJ Eosw== X-Gm-Message-State: AOJu0YzCXy4kLsnM1kxD+xd54kb44CvddstXqYzL3anNheHISeCCrTwH 965Cd+mNxrLm4NXAu8P2On89z8OJa468m2evlLGhJ2bKR/w= X-Google-Smtp-Source: AGHT+IF+T7yxKrlgn2fYTBiguh3Gyo/uqtMDx8q7hPYFbM7usXD81tTHJzCJ2nRTPOPSrzoU/SEXk//S1b33A9XiCyQ= X-Received: by 2002:a2e:9cc1:0:b0:2cd:7831:3ca2 with SMTP id g1-20020a2e9cc1000000b002cd78313ca2mr1735403ljj.84.1705257336023; Sun, 14 Jan 2024 10:35:36 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Don Dugger Date: Sun, 14 Jan 2024 10:35:24 -0800 Message-ID: Subject: panic To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000c3af81060eec29e6" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@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-questions@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::229:from] X-Rspamd-Queue-Id: 4TCkVL2fQPz4gtV --000000000000c3af81060eec29e6 Content-Type: text/plain; charset="UTF-8" I've upgraded two systems from 13.2 to 14-Release p3 and both systems are panicking with a "page fault" every few hours. Any ideas?? ====================================================================== Unread portion of the kernel message buffer: rax: fffff802e1e53380 rbx: fffff80095562000 rbp: fffffe0122091cf0 r10: 0000000000000000 r11: fffffe00e3a72c60 r12: fffff802e0d3d460 r13: 000000000000b7c4 r14: 000000000000b7c4 r15: fffff80095f29600 trap number = 12 panic: page fault cpuid = 1 time = 1705251841 KDB: stack backtrace: #0 0xffffffff80b9009d at kdb_backtrace+0x5d #1 0xffffffff80b431a2 at vpanic+0x132 #2 0xffffffff80b43063 at panic+0x43 #3 0xffffffff8100c85c at trap_fatal+0x40c #4 0xffffffff8100c8af at trap_pfault+0x4f #5 0xffffffff80fe3a38 at calltrap+0x8 #6 0xffffffff80d6cb4c at udp6_bind+0x13c #7 0xffffffff80be61b2 at sobind+0x32 #8 0xffffffff80bed645 at kern_bindat+0xc5 #9 0xffffffff80bed4db at sys_bind+0x9b #10 0xffffffff8100d119 at amd64_syscall+0x109 #11 0xffffffff80fe434b at fast_syscall_common+0xf8 Uptime: 4d8h9m31s Dumping 1565 out of 16250 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..91% =========================================================================================== Thanks in advance... Don --000000000000c3af81060eec29e6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've upgraded two systems from 13.2 to 14-Release= p3 and both systems are panicking with a "page fault" every few = hours.

Any ideas??

=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Unread = portion of the kernel message buffer:
rax: fffff802e1e53380 rbx: fffff80095562000 r= bp: fffffe0122091cf0
r10: 0000000000000000 r11: fffffe00e3a72c60 r12: fffff802e0d3d460
r13: 000000000000b7c4 r14: 000000000000b7c4 r15: fffff80095f29600
trap number =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=3D 12
panic: page fault
cpuid =3D 1
time =3D 1705251841
KDB: stack backtrace:
#0 0xffffffff80b9009d at kdb_backtrace+0x5d
#1 0xffffffff80b431a2 at vpanic+0x132
#2 0xffffffff80b43063 at panic+0x43
#3 0xffffffff8100c85c at trap_fatal+0x40c
#4 0xffffffff8100c8af at trap_pfault+0x4f
#5 0xffffffff80fe3a38 at calltrap+0x8
#6 0xffffffff80d6cb4c at udp6_bind+0x13c
#7 0xffffffff80be61b2 at sobind+0x32
#8 0xffffffff80bed645 at kern_bindat+0xc5
#9 0xffffffff80bed4db at sys_bind+0x9b
#10 0xffffffff8100d119 at amd64_syscall+0x109
#11 0xffffffff80fe434b at fast_syscall_common+0xf8
Uptime: 4d8h9m31s
Dumping 1565 out of 16250 MB:..2%..11%..21%..31%..41%..51%..61%..71%..8= 1%..91%

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Thanks in advance...

Don
--000000000000c3af81060eec29e6-- From nobody Sun Jan 14 18:43:09 2024 X-Original-To: freebsd-questions@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 4TCkg522Bwz56rMp for ; Sun, 14 Jan 2024 18:43:13 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic316-20.consmr.mail.ne1.yahoo.com (sonic316-20.consmr.mail.ne1.yahoo.com [66.163.187.146]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCkg46sqKz4jBt for ; Sun, 14 Jan 2024 18:43:12 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705257791; bh=nzRY42IHwpM4oTZpHQPHcVOVilJkodAUUN5K+bPfIdE=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=d/1CXNYFowN9dJ9O6LIPippSCjbwsfed+WyNqlAS9BIHK2XSNPJpaEOL6sO/j7ifHgF/lvOdVXCrxMlGU2gB8GiEbIeLNTMrgKs4NqQn17ExYQFE91Sz2GswzLxmeQQs0T78gASsZIKz3ZXqDLRcdjYw3s9whHlkmyCKDclM223b30S1R7lPcHvjleD7YW40nCEk6k+u1l05KKb1xcTnE92N7JLWmPffElHYHIQeXO6T6BuzJ8hxr5Tk5VcGG4S4VzHAvgwFkoxgs5xf7swn3aVwSEVvdjq6ZA9/GWMAqlnM1KqXhgxhOD0xU7TyowWnFTkHNK/kEyDf7L+FSr6i1w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705257791; bh=iX+7fFBIFZpwtqXvo8A/GZPhpgu4+jdD/vDAJ723na9=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=XubxEzriB4cNsih5Ga2uuqfYS2ns6S3F3aDQsFdLLfrVrEv8GAIbnV3AdSjg7++GPEHlIQ+XUWPr1nQg7PVpO0GSgwpikEu7Mx5A0vKRBTGkbpxhGGOdhLjqK9XiO9B2hh4gTRa9/jQidQ9cODZI/VLr2dSm8uEQLAGKkOJsQxapKH1NZ7YA/175SB5JbgXIvzqBrFKKfAPD7bJrQnogS0LZ6iskTausCS4ImyrnxRJrb4aG/i7rF08heUTIGGPMzFnJl8du7qlXzvBl+E+lL+WgBNkkP/zFublpq6d/KydtAiXKik9nWHZNGdzGK9vjCo6HYy6NyF3Hr8uKqhSf7w== X-YMail-OSG: rQ8w.lsVM1nTJBThg2JB65C6klsyAaB1kTtYxXX9qubl.PkaJC4Q3g5kCdvx04F wS3WAO98DQ.VpeZI1SeTlc21uUsu2mLBzMd7vXRhvuzhptm4qb79LweRNfiOnPUqIP46pdDJQ9W6 wJy5g9dpZSffjT.HIXZS_eeZREnMR3jhC6uu6LPMQWq26drM27JwME7fwgixHWM7rlTvrWcBkvZG HFviMqkRN8achEUN9xTd7QNiJ9zOzsBG7kaH4pK0epka3JBnmrKrfPySXva8_ukRifsPazZ1ukp4 jv1RH8Q7kQdw6oHWtigwj.2FQpL_PfzABByFJnaBfMrlIkyjfTMw6ngW0mk7vC2YvNo7s.zF7prW PEDAn.TSzjDp50rJ.ImK95X.ME4G93UX5ctCicY8.kE43w9a.kuZnmOGq_gZlCzaQXsE68LxEOGD TC39BANDx16CT.70fRrLuaR6kgq2BNUWpW3K4h9MFKzZhu513kUD2ZmNKT0dlKhWgwxnsHZQD487 c505phmRKpZQ8ab9Z.piAJSlyJSKgbemW52WLBYy5Gkf6kTgzAckCtgRcWvp8XFdJA5JI8plfhnz WEhQiv1JpAbeWgkPLTInZmdM.lDLZksM538E6x_ftSIDnSfObmwfdfIZ2nCdYQ72fJ6.pg_zSyIE 5Jp8V34t1zWu4AMAawJYXLmjYPLD9uIFh6.lqaTJPRckMTNG7vyRgNihrXH6kj58yn7Nv_lOaul5 yaL16_oZMfo1Ol3d6.7JNGBOCxiWLg9qnNBBPXNahAiKoB_ss7vYqWyIW.zLsvyAgUUJ.ZA6BQSM RseYoxH2ToUImdFHd7otLkMRWup7XXDDwydrIjovhoExwmwnfNOGyEsKmi9MXZ4hUsQ6zTrdwSFq OHFp7nSS1Z5luH3ZbONde8Gp44XQR6O49Ngun_mOHZGP17xdfdsghsROj5JTj6Y0vRJWvGbkSsdK Jeg8zxLRpZifadL0WKHa9qgBxpxICLslWbOxObRlmsv1FgSAy4Bmp4PiqrocBTHYcwEmvmNtg3IV qRFI2e0RIwfLrpQMXjbG2SgH8NUsyV3HMt47al6Tm0dibip2xfBMPaergJDpzktwT0oCIq7nBMXu _WdWcRLROyEvN7fgwLCch3yY0hqaeFEZqwRrUfohKrPDC9IIDxnjoSUc2ujTBwkZfLwtbg13oYtW 0B0KiePeCdxjj1TyepCUbegwI_P1MRRhcFkKBZdL2NqV81ktoY2kT6Jp9C7LpYuxHGwc2fm1iKp5 TJu1YnsBqLcY4UPC9usV3ggNz4820_fOmH0S5FK5xnEMapdWEcjbTTaQ3g6Xg48hFqV7y4.6jlpL 3iooZuKkIQeyZ5cB.VEpqKp6N8lljgMwAg0OYjKPd7cAXvsr4Qvfng_H5Mp0pg9ljOZlkj8.G.6B FshWRnhZNzDZKDHxd8ESl_hcmBeKB.PUGMWNDiZqitHkwpys.ROA1u.ku8Z6d_QDEDD8fsqvML7E 5g6ulKEQbZ8VUQhjV6C0kRvfYnHOH_W6fKB4jPbEfgt5mYwOhIUy7sohCZ0_L6HlFgPZDS6LdKVe doXUEHHxWc9V5xMcvJzS_BspS8Hizz51JPPdqxagMvxhxNBJMLVoHGX45PARqW9zZESqxYxaDtFG U9XalXv7vTqqS1ucwXwYMOD.g6PFqTPEb242HeOKAYuEGTz7t9B4FkTO0r.z55AfXy4lIhdw9viT mWHx5M3OK1Y8_YDlMJq5i2ug4NpBxontqcqmHSkzkcC02s.8FTQY.OZUZ1cmRmmS0ZyW_fmQSCtA 1qwSB9PNJOxkHdA1nEBbJebHyDwcGT6a0hnMMaFE2in0UDDkX23SHQ1fvxnHWMW3ANThErORkGM6 DyIXI6_x3i8JC4FOt915vEhT71r.BRh93RqLvOjcZVmqy81pbHYrtlJ2i_V7HaxLmpm7ZZ6dz4SK Q2LhIc9Jj3SEqqsf_pyU5IMcGVnjTZBCMu7hklRBQPDF8XSDrafW.c7a.u6ZPl6RB5yT8JkGIfCT kXApxcxee57fO9JMp1kBaixgarMOnjBZkZyjNJJrtw0smXELrQL.5Yr92anx.gimFNfpSDMftEdr e6cAh6drCRaw2yaaOlaYbtS_cz3_kMpo4l10oHKKwCCV72ZPIF58.QtIpc3mASQThdnQ3mGhLrMD _VE0OgCzRF6Cu8V1yiJDB310NnpLdCrcBO_vYSjUaE5rIFH7bJc3WGOwK.juHRqEoCgaFnnXx_Nf Ubssmjehzpvfz4f6toGcLD0GFPl4PXQ4mEWKkGrk_G0kzMGNLKCfOlK19lw-- X-Sonic-MF: X-Sonic-ID: 124639ac-1577-46d1-95cd-53e73888998d Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sun, 14 Jan 2024 18:43:11 +0000 Date: Sun, 14 Jan 2024 18:43:09 +0000 (UTC) From: Paul Pathiakis To: "freebsd-questions@freebsd.org" , Don Dugger Message-ID: <184639529.1505554.1705257789541@mail.yahoo.com> In-Reply-To: References: Subject: Re: panic List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1505553_1179672458.1705257789540" X-Mailer: WebService/1.1.22010 YMailNorrin X-Rspamd-Queue-Id: 4TCkg46sqKz4jBt X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US] ------=_Part_1505553_1179672458.1705257789540 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Until someone more 'in-depth' than myself can assist, I used bectl to roll = back to my working 13.2 and went through the upgrade process again.=C2=A0 I= had a similar problem, and went forward a second time and have not had sys= tem stability since then. Paul On Sunday, January 14, 2024 at 01:36:02 PM EST, Don Dugger wrote: =20 =20 I've upgraded two systems from 13.2 to 14-Release p3 and both systems are = panicking with a "page fault" every few hours. Any ideas?? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Unread portion of the kernel message buffer:=20 rax: fffff802e1e53380 rbx: fffff80095562000 rbp: fffffe0122091cf0 r10: 0000000000000000 r11: fffffe00e3a72c60 r12: fffff802e0d3d460 r13: 000000000000b7c4 r14: 000000000000b7c4 r15: fffff80095f29600 trap number =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=3D 12 panic: page fault cpuid =3D 1 time =3D 1705251841 KDB: stack backtrace: #0 0xffffffff80b9009d at kdb_backtrace+0x5d #1 0xffffffff80b431a2 at vpanic+0x132 #2 0xffffffff80b43063 at panic+0x43 #3 0xffffffff8100c85c at trap_fatal+0x40c #4 0xffffffff8100c8af at trap_pfault+0x4f #5 0xffffffff80fe3a38 at calltrap+0x8 #6 0xffffffff80d6cb4c at udp6_bind+0x13c #7 0xffffffff80be61b2 at sobind+0x32 #8 0xffffffff80bed645 at kern_bindat+0xc5 #9 0xffffffff80bed4db at sys_bind+0x9b #10 0xffffffff8100d119 at amd64_syscall+0x109 #11 0xffffffff80fe434b at fast_syscall_common+0xf8 Uptime: 4d8h9m31s Dumping 1565 out of 16250 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Thanks in advance... Don =20 | | Virus-free.www.avg.com | ------=_Part_1505553_1179672458.1705257789540 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Hi,

Until someone more 'in-depth' than myself can assist, I used bectl to roll back to my working 13.2 and went through the upgrade process again.  I had a similar problem, and went forward a second time and have not had system stability since then.

Paul

On Sunday, January 14, 2024 at 01:36:02 PM EST, Don Dugger <dondugger47@gmail.com> wrote:


I've upgraded two systems from 13.2 to 14-Release p3 and both systems are panicking with a "page fault" every few hours.

Any ideas??

======================================================================
Unread portion of the kernel message buffer:
rax: fffff802e1e53380 rbx: fffff80095562000 rbp: fffffe0122091cf0
r10: 0000000000000000 r11: fffffe00e3a72c60 r12: fffff802e0d3d460
r13: 000000000000b7c4 r14: 000000000000b7c4 r15: fffff80095f29600
trap number             = 12
panic: page fault
cpuid = 1
time = 1705251841
KDB: stack backtrace:
#0 0xffffffff80b9009d at kdb_backtrace+0x5d
#1 0xffffffff80b431a2 at vpanic+0x132
#2 0xffffffff80b43063 at panic+0x43
#3 0xffffffff8100c85c at trap_fatal+0x40c
#4 0xffffffff8100c8af at trap_pfault+0x4f
#5 0xffffffff80fe3a38 at calltrap+0x8
#6 0xffffffff80d6cb4c at udp6_bind+0x13c
#7 0xffffffff80be61b2 at sobind+0x32
#8 0xffffffff80bed645 at kern_bindat+0xc5
#9 0xffffffff80bed4db at sys_bind+0x9b
#10 0xffffffff8100d119 at amd64_syscall+0x109
#11 0xffffffff80fe434b at fast_syscall_common+0xf8
Uptime: 4d8h9m31s
Dumping 1565 out of 16250 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..91%

===========================================================================================

Thanks in advance...

Don

Virus-free.www.avg.com
------=_Part_1505553_1179672458.1705257789540-- From nobody Sun Jan 14 22:55:05 2024 X-Original-To: freebsd-questions@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 4TCrFs4g80z56tTM for ; Sun, 14 Jan 2024 22:55:13 +0000 (UTC) (envelope-from grog@hydra.lemis.com) Received: from lax.lemis.com (www.lemis.com [45.32.70.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4TCrFs0CzKz4SjN for ; Sun, 14 Jan 2024 22:55:12 +0000 (UTC) (envelope-from grog@hydra.lemis.com) Authentication-Results: mx1.freebsd.org; none Received: from eureka.lemis.com (121-200-11-253.79c80b.mel.nbn.aussiebb.net [121.200.11.253]) by lax.lemis.com (Postfix) with ESMTP id 301A0280D5; Sun, 14 Jan 2024 22:55:06 +0000 (UTC) Received: from hydra.lemis.com (hydra.lemis.com [192.109.197.129]) by eureka.lemis.com (Postfix) with ESMTP id 681D12635C7; Mon, 15 Jan 2024 09:55:05 +1100 (AEDT) Received: from hydra.lemis.com (localhost [127.0.0.1]) by hydra.lemis.com (Postfix) with ESMTP id 57B4413C32; Mon, 15 Jan 2024 09:55:05 +1100 (AEDT) Received: (from grog@localhost) by hydra.lemis.com (8.17.1/8.16.1/Submit) id 40EMt5h2000802; Mon, 15 Jan 2024 09:55:05 +1100 (AEDT) (envelope-from grog) Date: Mon, 15 Jan 2024 09:55:05 +1100 From: "Greg 'groggy' Lehey" To: Don Dugger Cc: freebsd-questions@freebsd.org Subject: Re: panic Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T2InXN4dBUhGb19b" Content-Disposition: inline In-Reply-To: Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: https://www.FreeBSD X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 X-Rspamd-Queue-Id: 4TCrFs0CzKz4SjN X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:45.32.64.0/19, country:US] --T2InXN4dBUhGb19b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sunday, 14 January 2024 at 10:35:24 -0800, Don Dugger wrote: > I've upgraded two systems from 13.2 to 14-Release p3 and both systems are > panicking with a "page fault" every few hours. > > Any ideas?? In any panic backtrace, you need to look at the stack fraom beneath the calltrap or panic frame, in this case > #6 0xffffffff80d6cb4c at udp6_bind+0x13c The frames above are show how the system responded to the problem. This one suggests a network problem, probably IPv6 related. If your panics all look like this, please check the bug database (https://bugs.freebsd.org/bugzilla/) and enter a bug report if there isn't already one there. Again, the report for comparison: > ====================================================================== > Unread portion of the kernel message buffer: > rax: fffff802e1e53380 rbx: fffff80095562000 rbp: fffffe0122091cf0 > r10: 0000000000000000 r11: fffffe00e3a72c60 r12: fffff802e0d3d460 > r13: 000000000000b7c4 r14: 000000000000b7c4 r15: fffff80095f29600 > trap number = 12 > panic: page fault > cpuid = 1 > time = 1705251841 > KDB: stack backtrace: > #0 0xffffffff80b9009d at kdb_backtrace+0x5d This is where the backtrace was reported. > #1 0xffffffff80b431a2 at vpanic+0x132 > #2 0xffffffff80b43063 at panic+0x43 Here the panic frame. In this case, since it's a trap, it's not the most important frame. > #3 0xffffffff8100c85c at trap_fatal+0x40c > #4 0xffffffff8100c8af at trap_pfault+0x4f > #5 0xffffffff80fe3a38 at calltrap+0x8 > #6 0xffffffff80d6cb4c at udp6_bind+0x13c And this is where the trap occurred. > #7 0xffffffff80be61b2 at sobind+0x32 > #8 0xffffffff80bed645 at kern_bindat+0xc5 bind syscall > #9 0xffffffff80bed4db at sys_bind+0x9b > #10 0xffffffff8100d119 at amd64_syscall+0x109 > #11 0xffffffff80fe434b at fast_syscall_common+0xf8 Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Sent from my desktop computer. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA.php --T2InXN4dBUhGb19b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSaG4ICvM64RvkvCawi5vKQUHpCIwUCZaRmRAAKCRAi5vKQUHpC I7MaAJ92BCeNvi/AbqCE2SzpRW7nxghEuwCePaASQdg7o29L3hFcuhQ2UbBwxTE= =A9E5 -----END PGP SIGNATURE----- --T2InXN4dBUhGb19b--