From nobody Thu Jul 14 22:16:46 2022 X-Original-To: bugs@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 4LkTNt4K2sz4T4g7 for ; Thu, 14 Jul 2022 22:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LkTNt1fxHz3jpb for ; Thu, 14 Jul 2022 22:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LkTNt0fHFzJfQ for ; Thu, 14 Jul 2022 22:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26EMGkI7046580 for ; Thu, 14 Jul 2022 22:16:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26EMGkw7046579 for bugs@FreeBSD.org; Thu, 14 Jul 2022 22:16:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265222] T480 zfs checksum mismatch error Date: Thu, 14 Jul 2022 22:16:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mail@malisek.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657837006; 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; bh=iRngCeXM0qV8fppxJTUT2uukUYsslUJxzDwl2fG4xX0=; b=hK0sq+2r7Rds8aC0OFlf8zFxeEiNL2FTMD64SbAUl9mIksO0jo+P0LWYm6Q0GiHAeyWJp0 7vU7+6e429pJL0XIif8ENze+jjxtzj3axLK5KqEB1RDDhs2lNTads23Zedt5dqluyJ2s00 QzMXOg0o9knNDkbD5z1s8FqptOXfLlQ+1H6lccNIL8907DGlNROfJRmPXim/lswG9ptiuQ 7tXxGPyuT/+2kdSeZTxlfHH72ajIaw63oN6nfRfY2NmlzZMM9FGDSUn0i8E0oNdcJdmaYC FkkoThaRME/IB6QQPA4QAdtrpZvv7/uwQvINjIuSnACnIvxX9uj37oCxBBesEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657837006; a=rsa-sha256; cv=none; b=LMa9PqzphrdQnRFMbOu8nW5/UOnMaJ+XoBl+7dHbeL4ERtmv1tSawAPbqcOyUKsvZz3GcA zd08giZfitX1u82EePxFuJ7K9kFmiWh5KPTtewIBwEMfW6EazhhIUofIYdEt5XXkIft52Y JQhf19jvCvbTw54XuzHd1X+KmIYwXkuPiL/Qm9j6e5dxuJVcjyK4OOC2mVg54c/cY+PoNG Yh/oNybaVe3gpMkeFst/BL5uix7wdByBQLPCcSkwHHAz2lBbehYI34wOzYf1ijKtIy3PlK hjo70FYPmQYZBfPpX62ZLVBzj5ZzDxwB5SUWc6+99sOpoHS9TY3SdGDcxup6bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265222 Bug ID: 265222 Summary: T480 zfs checksum mismatch error Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: mail@malisek.org I encounter severe i/o related issues on my thinkpad T480=20 Those seem to be similar to #239801 #241476 & #262421 although I'm not using any special/obscure drivers on this thinkpad. After clean install and configuration of FreeBSD 13.1-release following err= ors appear after I extract big archive or decide to reinstall big package. zpool status -v pool: zroot state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A scan: scrub repaired 0B in 00:00:38 with 3 errors on Thu Jul 14 22:13:49 = 2022 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 ada0p4.eli ONLINE 0 0 12 errors: Permanent errors have been detected in the following files: When i scrub the drive following errors appear in log: Jul 14 22:13:33 ltop ZFS[59816]: pool I/O failure, zpool=3Dzroot error=3D97 Jul 14 22:13:33 ltop ZFS[60942]: checksum mismatch, zpool=3Dzroot path=3D/dev/ada0p4.eli offset=3D77657673728 size=3D131072 Jul 14 22:13:49 ltop ZFS[99701]: pool I/O failure, zpool=3Dzroot error=3D97 Jul 14 22:13:49 ltop ZFS[621]: checksum mismatch, zpool=3Dzroot path=3D/dev/ada0p4.eli offset=3D193825124352 size=3D131072 Jul 14 22:13:49 ltop ZFS[2696]: pool I/O failure, zpool=3Dzroot error=3D97 Jul 14 22:13:49 ltop ZFS[4749]: checksum mismatch, zpool=3Dzroot path=3D/dev/ada0p4.eli offset=3D197592481792 size=3D131072 I decided to try few different things to verify whether it's hw related iss= ue or not: 1. I tried using spare motherboard (and cpu), spare sata ssd (new) and spare cable for ssd that I managed to borrow. Errors on FreeBSD still persists. neither memtest86+ or thinkpad bios diagnosis tools reported any issues with the hardware. both ssds tried are new and no error was reported by smartctl 2. I tried downloading several big distro iso files on windows 10 and do checksuming there manually. None of those checksums failed on windows so it seems to be freebsd issue. 3. I did not try running and testing linux with openzfs yet. Worth note: 1. pkg also reports randomly checksum mismatch too (especially for big packages) which causes install to fail 2. This seems to happen only when X11 is running. No such error occurred wh= en my post install script installs packages when X is not even present. 3. System even crashed randomly several times on previous install due to partial corruption of drm-kmod. sysctl.conf https://file.malisek.org/1zcmumjm.conf loader.conf https://file.malisek.org/wybkf9dx.conf rc.conf https://file.malisek.org/1ew82d2t.conf --=20 You are receiving this mail because: You are the assignee for the bug.=