From owner-freebsd-current@freebsd.org Sun Dec 31 01:45:36 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82419EB9369 for ; Sun, 31 Dec 2017 01:45:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46D8079440 for ; Sun, 31 Dec 2017 01:45:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x229.google.com with SMTP id d16so34863426itj.1 for ; Sat, 30 Dec 2017 17:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=08PFBGmyDrZFcFxXXIvgvjtzUunuhWmZkXbADpVZ+OA=; b=kCvurmRPP/xzcThph5imxmHI2rErqkmXjT8lURIDrHReAhQOX4kagj12qJEc/P90rz RaP8hQ0v3vB2gbvVGxabnLw9APY4S0pidHqy1jmyvs/6THT7HQOXD9VfhDDlZfTpahIS 19jvepeiwdkEVTAYEzQ8KQeYX19mGPBo6P7A+dRB8amlp3HCTJQJ0lIxxv30b5M0rljJ jKI752r5f0Valvuz5kWOEfJXiqXes1ccDvBNzriErywRXofKPK2zLB6QloRaYWvZtLfE r88531AGKwVLzavnPG2p4CJDv9XR2wNkcSYiBz1PxjujSHtLYFPq7UJL5mNukUxupsdr 5XIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=08PFBGmyDrZFcFxXXIvgvjtzUunuhWmZkXbADpVZ+OA=; b=Qdweo7tuxxmkoq7+Igl9uWz5tk5yeN/Ea53pnL7MRXO/EUCUsDBWZcBaY/JY8ob2UK iz7YVg1zIsf8oviH5zJ/sDopAn/cWFakmIAMxAXAJpuhalMD3/MbnIsKBE67Y29+KTAX iw04FvmeXkQfCyHadFVyx+sg1snEYQL6uFbbLheOdIHEZCn8LyAr7lsUtBrOR5s3bssX RtYk/142u+WUsqlgfbqSNLi4YGTg9YjN0WJdfwihZ5j/k5RLOOC3GQtl3mv3CaLOHJa8 dlB/cyRUkGtCiGmi9l5eGkYslMTb/3WZT64uN0DiHnCxRbFe81unJaf/PWqA7OMcDr8m hzmA== X-Gm-Message-State: AKGB3mI8pTfTwtS/DaF+pWmdyMZEC2Z+w5wuU60QyLUk8argUorv2tzb g/d6fA4L7HOsJTQu4i0YNPFGXCmhAqjjr8L9nGcMSA== X-Google-Smtp-Source: ACJfBourifYjoHMd1c69p6WW0t9IEIY5Z0Pf5Z4FG8j2z3jDbNn5nT4wAt66FAjIn8r6KPl1cLAQIJiPI6xKiELlGH0= X-Received: by 10.36.133.135 with SMTP id r129mr54428050itd.69.1514684735512; Sat, 30 Dec 2017 17:45:35 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.108.204 with HTTP; Sat, 30 Dec 2017 17:45:34 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <20171231004137.4f9ad496@thor.intern.walstatt.dynvpn.de> References: <20171231004137.4f9ad496@thor.intern.walstatt.dynvpn.de> From: Warner Losh Date: Sat, 30 Dec 2017 18:45:34 -0700 X-Google-Sender-Auth: psmpiAObyGyF1yfQ6nL5Tbt9ndQ Message-ID: Subject: Re: r327359: cylinder checksum failed: cg0, cgp: 0x4515d2a3 != bp: 0xd9fba319 Dec 30 23:29:24 <0.2> To: "O. Hartmann" Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2017 01:45:36 -0000 On Sat, Dec 30, 2017 at 4:41 PM, O. Hartmann wrote: > On most recent CURRENT I face the error shwon below on /tmp filesystem > (UFS2) residing > on a Samsung 850 Pro SSD: > > UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3 != > bp: 0xd9fba319 > handle_workitem_freefile: got error 5 while accessing filesystem > UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3 > != bp: 0xd9fba319 > handle_workitem_freefile: got error 5 while accessing filesystem > UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3 > != bp: 0xd9fba319 > handle_workitem_freefile: got error 5 while accessing filesystem > UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3 > != bp: 0xd9fba319 > handle_workitem_freefile: got error 5 while accessing filesystem > UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3 > != bp: 0xd9fba319 > handle_workitem_freefile: got error 5 while accessing filesystem > > I've already formatted the /tmp filesystem, but obviously without any > success. > > Since I face such strange errors also on NanoBSD images dd'ed to SD cards, > I guess there > is something fishy ... It indicates a problem. We've seen these 'corruptions' on data in motion at work, but I hacked fsck to report checksum mismatches (it silently corrects them today) and we've not seen any mismatch when we unmount and fsck the filesystem. Warner