From nobody Mon Oct 07 10:59:01 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 4XMbkX3YdJz5Xjqk for ; Mon, 07 Oct 2024 10:59: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 4XMbkW31V0z4FCB for ; Mon, 7 Oct 2024 10:59:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=edvax.de header.s=s1-ionos header.b=nxXpkHey; spf=pass (mx1.freebsd.org: domain of freebsd@edvax.de designates 212.227.126.135 as permitted sender) smtp.mailfrom=freebsd@edvax.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edvax.de; s=s1-ionos; t=1728298748; x=1728903548; i=freebsd@edvax.de; bh=PD7Eq6kGPNeD4FExP/xVpwESSjAvXPG6BQw12NSqFx4=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:Message-Id:In-Reply-To: References:Reply-To:Mime-Version:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=nxXpkHeyHiUX7EQG+yIxLqNsEHypISmLXGoLkcTAGhLR9Sp4IbdeY9pCFjGM+aPR SASAC3E56zfIbigGP25lt1cvQhi96QyfFvaaNaxh+ZcCc+S2Fs5fmlAeEPMnJd8Mj jKdNeZj8fdS6pxJet4gfQpON/4NwUck5xvVWhJnaMMkC4VjjalLSuYzCjfmmyIdwW UWmVUzwgvmVC/FcPVtVuw+uZqndhycYFnFL82VzAkdrwvLhWVlBvAdlRw/jaxnK+B pr9jZnBFC0kDV886VmC4ryntD6x+V+puasa8fInKsSw82hNuyqrwlXlq90XSIlskL I9T2LDwT3wJJ/lJQvA== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from terra.edvax.de ([79.197.147.220]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MD9jV-1t6Ftl0fth-00G9BS; Mon, 07 Oct 2024 12:59:08 +0200 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.18.1/8.18.1) with ESMTPA id 497Ax6kv056931; Mon, 7 Oct 2024 10:59:06 GMT (envelope-from freebsd@edvax.de) Date: Mon, 7 Oct 2024 12:59:01 +0200 From: Polytropon To: Andrea Venturoli Cc: freebsd-questions@freebsd.org Subject: Re: USB storage key error Message-Id: <20241007125901.8810b1bd.freebsd@edvax.de> In-Reply-To: References: 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: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:fo0vnRsxdAFpj771gEpvVv7EnhBzTD6KJUmUOWTlQSEJD4yXZO5 D3ApvEv14hjP4TvHesFUueT93rIhnXIsSLYEK8FgamKB7vdQPUMTKPMdNL0dRJcPuURTp1H iBnzPJuf8+WjmXbBiCA3YitGrbRoh0ncoXtHZW6on01md/ayz2StjhyKd76LRjJgCKWy9I4 38CTeecQKMhwz0SZODFew== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:EoKnQ4zC6CA=;yCkEszFYb87f0882lgIgv28xO6w 9IDsxcdVnBA24yc7WKsytFjZO2R90C8zY14EbveKjH34rLks4rEiMYDTA+AutXFfNys6JyQhO Iik3cPwmo7sZB0C9ESJBRNVQ5ELf4oRL2j/cH/4EOL0mbK7rRL+DUZQWF73UJIrP8DGv/WFrg gWFsoZeLyoyDPg52kIfn9B9l6JDEJaN5wl18xK6E9WbxVN1wkdr5VDDSJDhFdM8pmA2/S/cQF McW5MkeWPSAlR+CmXFAAp3X24VMesz/m09osn5ZOXqweBMt/FfKHOSuHpphXxMjbpjcE60Mlg DcvVFoJcCtUF9WFGQQGQGVvz2dEE2LC8WVIvBhgYyu4O7ndJ6mu0cYY2SqDgw/X/56y2h7bQM XhgMKr74ltn2w9W0QXVVnPKbQiZrLWl82ZFgv9CUb/iVO/q39S+D7zJZxtciJhvoPzsNbW5Vj Do2hO20ORxQ32uFy/rl/Eyoiv03tgSUJxr3/Yoig46qVQM+lv0pt4NIxeErpgMBh27xjIheEN 31wMcZUTRtGyXDfMgm5D2at2hpXjW4+Pkur7OioJFSzUhZajHzHnnpRJUxa+NToiTSx7/vE6P QnXQrUGSj5NQX29w5IEOX37kGp77iqSGvSwQ3W3gwAxp8YK6ZInhVpCOY5s6fTjedZq8VGdUC suyaVAx0jRy7ih6Z+5T3QUcCSy8JIjCcR8XGuENvE6iNQsemVvJA/AVtMkNKlY1pI8mMEnV+a IcQ+tL98r2wmvt1n6ZxpYTjachewUotkw== X-Spamd-Result: default: False [-2.18 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.985]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[edvax.de:s=s1-ionos]; R_SPF_ALLOW(-0.20)[+ip4:212.227.126.128/25]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.126.135:from]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.135:from]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[edvax.de:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4XMbkW31V0z4FCB X-Spamd-Bar: -- On Sat, 5 Oct 2024 13:17:58 +0200, Andrea Venturoli wrote: > I'm getting this: > > kernel: UFS /dev/da0 (/mnt/HD) cylinder checkhash failed: cg 18, cgp: = 0x5b68e98 !=3D bp: 0x352516c > > Does it mean the USB key is broken and I can throw it away? Quite possible. I recently had a similar problem - stick went to "no write" mode after having multiple fsck errors and system crashes, including damaged binaries... > I can write to it, unmount it, but when I try to mount it again it gives= : > > mount: /dev/da0: R/W mount on /mnt/HD denied. Filesystem is not clean = - run fsck.: Operation not permitted Run fsck manually, two or three times. Also try to re-initalize the file system. Also perform a dd or tar test with the stick. If any test fails, it's designed to be thrown away. Any mount operation (except "mount -r") will intendedly (!) fail if the file system is not in a clean state. So performing # fsck -yf /dev/da0 is needed, as mentioned maybe multiple times. =2D- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...