From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 23:26:52 2024 Received: (at submit) by debbugs.gnu.org; 4 Mar 2024 04:26:52 +0000 Received: from localhost ([127.0.0.1]:41536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgzud-0005NO-8I for submit@debbugs.gnu.org; Sun, 03 Mar 2024 23:26:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:56304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgs5S-0005fG-CY for submit@debbugs.gnu.org; Sun, 03 Mar 2024 15:05:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgs4y-0004Qv-OX for bug-coreutils@gnu.org; Sun, 03 Mar 2024 15:05:00 -0500 Received: from mail3.g1.pair.com ([66.39.3.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgs4t-000219-Gt for bug-coreutils@gnu.org; Sun, 03 Mar 2024 15:05:00 -0500 Received: from mail3.g1.pair.com (localhost [127.0.0.1]) by mail3.g1.pair.com (Postfix) with ESMTP id CAA65A1C16A for ; Sun, 3 Mar 2024 15:04:53 -0500 (EST) Received: from [192.168.1.254] (unknown [70.16.219.150]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail3.g1.pair.com (Postfix) with ESMTPSA id 9FE0990845E for ; Sun, 3 Mar 2024 15:04:53 -0500 (EST) Message-ID: <9c6f9b46-a43a-47c4-bde5-7083e6c84374@patandbrian.org> Date: Sun, 3 Mar 2024 15:04:51 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-coreutils@gnu.org Content-Language: en-US From: Brian Subject: Problem with copying an EXTREMELY large file - cmp finds a mismatch Autocrypt: addr=b_lists@patandbrian.org; keydata= xsFNBFwsB1EBEADOqfVjRxSL16Mql89ngF0bWANLxF3nji+hDboIklyQpjawgBlOE3O/f1gf 7/HZ0m8ICriFCbvV8TYt8oYdzsRsIYiMUBSalEd79s5bZ0ui8ttEhvF2jpq9rwcJzrZ7lmaI Xb/7qSppolLd7bU5uOrF8QclGLAQS1f3IV3jBZ+3vFjJ7VygRgRw/lLFcsn93i432g8bJmJ5 K46EMpvTVQIqXWNYZ5V6LhbZwyhw9edyB1/+GyIia02btGIgFMM0wiBhnpVvCdF8DEiy6aar tm61lVmDJn4ryhGPCnPGGNh1B+ritX4hfMSAgzPEIGinm2+9q4Ah9/s07Ox596bQz8JAFmHP onNZtKXl2Q1hwlzNXN9AmZKw6gSenrG1afrcIvSuO904Iyq2W6ijkYFIb5zq7fIoVIbckRVC mRWWHEEPlygmcMikpwO1dr00KAVNyjCwenK5qaOPr3+LpOLPNhHiMxHlr6Yk6C4Kt6+0bpDI +uzGPDWUaXlfcqWEfyqhP/9eggYgmtMN16VtvjIHCmDfJLMNDesoa0IuX0H8df8M0eFUQgRs sfvYRnf1nHzTu6jxC/JYA2wwp/PkaDxBZtuMqRrMIRSmF7V5zuZBG+2UCuB4ChU4n5p5pq3K wXvTCCautT0PwiIpy5QstH+doPIcNekKeYnJ9zmYba9sVBvz9wARAQABzR9CcmlhbiA8Yl9s aXN0c0BwYXRhbmRicmlhbi5vcmc+wsGOBBMBCgA4FiEEiLGrl7no0f/+fne62Uw0bfw1Dr0F AmA5AOYCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ2Uw0bfw1Dr3NcA//aYxwBdqw bOstraa/fDfgT9eqBQZo+tKyi6iAZ8kHUN9DkvWTZKKbheARLXRiSDP2jZISBZVQdLo/csLk SuY9eWszrPwKFMjFqXgUlEpvCPDUt6+2DpMUOrJLHVjPNmwctWzAgUiCaKWjRpBIx7bfuSwx XyGr8mv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9FGkPIww7zcP juXm90OU2L4jtQBiWooYP6e+7ii2J9tbRToAHkFG77x+yGghJ6rJa8Ga2UyBRC9MA4PZgjc6 nMUELIQUu4dNgL9ddMkmxyGvyr5XnYi+fNkYed+8D5ja+D7ewuCNHtDLr3VsI1gGtbNNUDIL 3RHDABEBAAHCwYAEGAEKACAWIQSIsauXuejR//5+d7rZTDRt/DUOvQUCYDkA5gIbDAAUCRDZ TDRt/DUOvQkQ2Uw0bfw1Dr3bhw//dP+3z53EANkWyfo1KxPJQJXLtWJUIslZ2P6I+12ap0Ya VDySa2xgFtSob3Eap6FSOovpDvz1vUveiOMgxr0HfRoGo8Musr57F2O/POJYWXF954idH6/C 5Wp2kTz8KG1o0nOAW0UUjIgJLGcrJcL8A1rAPs57PH4WukvU7gvWKm8H9I7+wN2vfnpgUDgU XrZzZRm6HM5VRQ5rdLhCriLyLxaCt/+h7qWote1tKadxyxOD0GYEwQq7rsNwlc29fW8G+jkF kq/Fav7H9O51t5wr8ltluU8tuGeqL5HkGQXNKZDtQ8t+3hJ0HTnatB28KGBTmNEEHOgqv7U0 pkasjVUUAqnU9++b6unTo07+QfEYcFv2U1sp1bOy8A+cMCxgNdL1lOrL5wesPiw5XWRjwMXD d+nhGyXXlpbehDKVzZbJXv5SPvYscMy1rp0OVrHla+CnUggInEcc/lZ6FHld3fDeWVSfxem/ Cd4EGZaOlwlTx0mDy6QhNjgGe86m7zDu/DNZzhf0/zuFGPmcWt8txhHf0lfZZ/AUSNnXc5PZ /cjETqKtsv7xW95BnMlPSSqkP5BVN+0BLynjL2vsqGDTcrH03feeniSCz/SwONg70+uSXGYB 0lyErh7bYfia/JZW4AeIyKZUvhQHQINcdTtQAYaDSaBEA7x/nGGsnyxQJPyAhCc= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patandbrian.org; h=message-id:date:mime-version:to:from:subject:content-type:content-transfer-encoding; s=pair-202402150206; bh=i0hKg6jSAe6/cvHDNuQN7QxVP7iqQ+3oUVqjFg6foKY=; b=pMbRDZAa4LuFbPAvNc8TIwyp+Vg23dTRD5IKLqSQ7oab3U4v4pbc4gqPqW5U3znWNNkeOf1SiFLwqxq0D1h9PSxghmA5Jjqc/0LUF1eyBX64hc8UxYW/RY4JdBkmTtLg5yOZSO+h1Q/X7TCFDrRlPb3KxjlEO1TfejZAzEJgsKTGle12yvW3gYS1WnUXSYP1Gcv7VDPCD6a8d8WusziIzvRgmnjGJBcT6FerUa/b+JKlLCYpQlTgtRiYkEymlYEe5AG/opnLnwWB4n/k4FLgfktmnlpLeEHa0n2a9HiUd4DDjZWCLOssrW+qYDQqqhguGOh4FGvIURUp6uvAiY9FjA== X-Scanned-By: mailmunge 3.11 on 66.39.3.170 Received-SPF: pass client-ip=66.39.3.170; envelope-from=b_lists@patandbrian.org; helo=mail3.g1.pair.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 03 Mar 2024 23:26:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I don't know whether the problem I've found is with cp or with cmp, so I don't know whether to address this report to coreutils or diffutils. If you think I've guessed wrong, please tell me so. I am trying to make a backup copy of a very large (40 Gigabyte) data file - yes, I have plenty of disk space! :) It's a binary file, 200 byte fixed length records to be precise, not a text file. I have downloaded, compiled and used the latest versions of cp and cmp and the problem persists. My system is a 16-core AMD Ryzen desktop running Linux Mint 21.3. The steps to reproduce the problem are simple, provided you have the data file! I have a folder called original in the data directory. From a terminal prompt, I run cp data.dat original this apparently completes correctly - at least, no error messages are seen I then run cmp -l data.dat original/data.dat and I get something around 100 bytes of differences. On the basis of three attempted copy and comparison pairs, the addresses of these differences vary, but they're always a single block of contiguous locations, and always towards the end of the file (the last time, they were in the 35,000,000,000s). I have run a fsck on the drive (a 14 TB Seagate connected to one of the motherboard SATA ports) and no problems were found. Any advice, please? I'm close to the limits of my debugging knowledge. Please note that I have absolutely zero knowledge of the C language or its derivatives. I'm a (retired) scientist turned database programmer, I know Pascal, FORTRAN and SQL, and that's about it. Thanks, Brian. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 03:11:31 2024 Received: (at 69535) by debbugs.gnu.org; 4 Mar 2024 08:11:32 +0000 Received: from localhost ([127.0.0.1]:41756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh3Q3-0005CF-KX for submit@debbugs.gnu.org; Mon, 04 Mar 2024 03:11:31 -0500 Received: from mail.cs.ucla.edu ([131.179.128.66]:34166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh3Py-0005Bl-5O for 69535@debbugs.gnu.org; Mon, 04 Mar 2024 03:11:30 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 4A7FB3C00E40E; Mon, 4 Mar 2024 00:10:50 -0800 (PST) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id 3M9UoUmsRy3G; Mon, 4 Mar 2024 00:10:49 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 4137C3C00E40F; Mon, 4 Mar 2024 00:10:49 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 4137C3C00E40F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1709539849; bh=nWII3gX8ao1f97PCm7qb7iohlEoAlEFKlogySYLpEGo=; h=Message-ID:Date:MIME-Version:To:From; b=nnDWEuzqvZJOf5PVQGXn1JpRSar+coxaOOyc+FS9KAw0YfJoYU/p+RXHVokzbXNUP dPOwePXY3/v3eZmAHnZ+ses97G4z9rSubZQJXYiYqZTSU8lLvDeljxc6Vo4EW+pGKq DFyls4BjEk4iBGsytclSdPtKnvCi43hp/nLb+neIt1sYiv6gVKBqaQYkP3RHftiftm EI/HaplHrEHXVF9Ok04XiqA94+cBSzl8FuDxPGz/OeSuRh3sBw034WSngUiGPTBqtn irQcLk79RrhMZd+drG50lUzYsRRCiW7jRx2w3bPb2yCK9rKlifQabYfr4jL7Sm9J7u oJxi+K0bnlZqA== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id 4S2XKajsgAUC; Mon, 4 Mar 2024 00:10:49 -0800 (PST) Received: from [192.168.254.12] (unknown [47.148.192.211]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 251453C00E40E; Mon, 4 Mar 2024 00:10:49 -0800 (PST) Message-ID: <98dea7e6-63f0-41ab-9b68-7aba9968c66a@cs.ucla.edu> Date: Mon, 4 Mar 2024 00:10:48 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#69535: Problem with copying an EXTREMELY large file - cmp finds a mismatch Content-Language: en-US To: Brian References: <9c6f9b46-a43a-47c4-bde5-7083e6c84374@patandbrian.org> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <9c6f9b46-a43a-47c4-bde5-7083e6c84374@patandbrian.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69535 Cc: 69535@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Try running 'strace -o tr cp data.dat original' and then look at the file 'tr' (which could be quite large). Look for the syscalls near the start, and near the end, of the bulk copy. Quite possibly it's a bug in your Linux drivers or your firmware or hardware. For example, if you're using ZFS, see: https://github.com/openzfs/zfs/issues/15526 The strace output might help figure this out. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 09:11:30 2024 Received: (at 69535) by debbugs.gnu.org; 4 Mar 2024 14:11:30 +0000 Received: from localhost ([127.0.0.1]:42599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh92N-0006ox-Ot for submit@debbugs.gnu.org; Mon, 04 Mar 2024 09:11:30 -0500 Received: from mail3.g1.pair.com ([66.39.3.170]:41083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh45V-0006ds-0K for 69535@debbugs.gnu.org; Mon, 04 Mar 2024 03:54:21 -0500 Received: from mail3.g1.pair.com (localhost [127.0.0.1]) by mail3.g1.pair.com (Postfix) with ESMTP id 8D995A1C170 for <69535@debbugs.gnu.org>; Mon, 4 Mar 2024 03:53:45 -0500 (EST) Received: from [192.168.1.254] (unknown [70.16.219.150]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail3.g1.pair.com (Postfix) with ESMTPSA id 53AB8908507 for <69535@debbugs.gnu.org>; Mon, 4 Mar 2024 03:53:45 -0500 (EST) Message-ID: Date: Mon, 4 Mar 2024 03:53:44 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Brian Subject: Re: bug#69535: Problem with copying an EXTREMELY large file - cmp finds a mismatch Content-Language: en-US To: 69535@debbugs.gnu.org References: <9c6f9b46-a43a-47c4-bde5-7083e6c84374@patandbrian.org> <98dea7e6-63f0-41ab-9b68-7aba9968c66a@cs.ucla.edu> Autocrypt: addr=b_lists@patandbrian.org; keydata= xsFNBFwsB1EBEADOqfVjRxSL16Mql89ngF0bWANLxF3nji+hDboIklyQpjawgBlOE3O/f1gf 7/HZ0m8ICriFCbvV8TYt8oYdzsRsIYiMUBSalEd79s5bZ0ui8ttEhvF2jpq9rwcJzrZ7lmaI Xb/7qSppolLd7bU5uOrF8QclGLAQS1f3IV3jBZ+3vFjJ7VygRgRw/lLFcsn93i432g8bJmJ5 K46EMpvTVQIqXWNYZ5V6LhbZwyhw9edyB1/+GyIia02btGIgFMM0wiBhnpVvCdF8DEiy6aar tm61lVmDJn4ryhGPCnPGGNh1B+ritX4hfMSAgzPEIGinm2+9q4Ah9/s07Ox596bQz8JAFmHP onNZtKXl2Q1hwlzNXN9AmZKw6gSenrG1afrcIvSuO904Iyq2W6ijkYFIb5zq7fIoVIbckRVC mRWWHEEPlygmcMikpwO1dr00KAVNyjCwenK5qaOPr3+LpOLPNhHiMxHlr6Yk6C4Kt6+0bpDI +uzGPDWUaXlfcqWEfyqhP/9eggYgmtMN16VtvjIHCmDfJLMNDesoa0IuX0H8df8M0eFUQgRs sfvYRnf1nHzTu6jxC/JYA2wwp/PkaDxBZtuMqRrMIRSmF7V5zuZBG+2UCuB4ChU4n5p5pq3K wXvTCCautT0PwiIpy5QstH+doPIcNekKeYnJ9zmYba9sVBvz9wARAQABzR9CcmlhbiA8Yl9s aXN0c0BwYXRhbmRicmlhbi5vcmc+wsGOBBMBCgA4FiEEiLGrl7no0f/+fne62Uw0bfw1Dr0F AmA5AOYCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ2Uw0bfw1D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TtQAYaDSaBEA7x/nGGsnyxQJPyAhCc= In-Reply-To: <98dea7e6-63f0-41ab-9b68-7aba9968c66a@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patandbrian.org; h=message-id:date:mime-version:from:subject:to:references:in-reply-to:content-type:content-transfer-encoding; s=pair-202402150206; bh=qDoLWreZx2S6HN2upc9chkoUN0iVnT0uW0WKc74hHjQ=; b=KU34pQwXuYpp89bxOD8e4xgfZnu2jumPV50WRF27L7XZ9Bhomh0yaKY5TO7HLwxe8L+VKX8DleTC61QGeCvuH0b+3t3DdoJxT/bqJKVekAh/cKyfHkdmyOC44e9nFWbOa8T4cBGu95nOoz5ZMOY5Tod2xZFnQNNr03b5BW2ZSEKZE6m1jJLiG3UMuLujZtt8h6yX73vP4nvVF2O+OtMyPw4SCJiySiRBBHpDh01uDlrn17vUVrd+XIFFjeCyFxRfsdRLrkCv8yyCBTbZW2Dk3E1ICVcM8dHh3x4MEc4ZGxWag1aGhmI4x5W+AfzLWBTyi/wrpwU4qvbrbpJ2oiBWIA== X-Scanned-By: mailmunge 3.11 on 66.39.3.170 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69535 X-Mailman-Approved-At: Mon, 04 Mar 2024 09:11:26 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 3/4/24 03:10, Paul Eggert wrote: > Try running 'strace -o tr cp data.dat original' and then look at the > file 'tr' (which could be quite large). Look for the syscalls near the > start, and near the end, of the bulk copy. > > Quite possibly it's a bug in your Linux drivers or your firmware or > hardware. For example, if you're using ZFS, see: > > https://github.com/openzfs/zfs/issues/15526 > > The strace output might help figure this out. My drives are formatted using ext4. The command above did indeed produce a large output file, almost 40 Megabytes of it, but deleting every line that started with read(3, or write(4, (there were over 300,000 pairs) got the file down to a far more manageable 7 KB. At first glance, it doesn't make much sense to me, but I will try going through it line-by-line tomorrow (it's silly o'clock at the moment) and see whether anything jumps out at me. Thanks for the help. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 08 04:38:22 2024 Received: (at 69535) by debbugs.gnu.org; 8 Mar 2024 09:38:22 +0000 Received: from localhost ([127.0.0.1]:56660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riWgH-000878-1E for submit@debbugs.gnu.org; Fri, 08 Mar 2024 04:38:22 -0500 Received: from mail3.g1.pair.com ([66.39.3.170]:36726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riVvw-0006Qo-JS for 69535@debbugs.gnu.org; Fri, 08 Mar 2024 03:50:32 -0500 Received: from mail3.g1.pair.com (localhost [127.0.0.1]) by mail3.g1.pair.com (Postfix) with ESMTP id 0BFF6A1B34C for <69535@debbugs.gnu.org>; Fri, 8 Mar 2024 03:49:51 -0500 (EST) Received: from [192.168.1.254] (unknown [70.16.219.150]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail3.g1.pair.com (Postfix) with ESMTPSA id D067D90851D for <69535@debbugs.gnu.org>; Fri, 8 Mar 2024 03:49:50 -0500 (EST) Message-ID: <4e49215c-74f3-4e4e-8af2-bafce83ea6cb@patandbrian.org> Date: Fri, 8 Mar 2024 03:49:50 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 69535@debbugs.gnu.org Content-Language: en-US From: brian Subject: update Autocrypt: addr=brian@patandbrian.org; keydata= xsFNBFmZG+MBEAC9Ez9PjbS+wNlVmMouI2uCMoHQtFT1KeXzQe4kPQZdxRCYFAN0+B6wiIfg VX5+IIrewLJfF+QRvqp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ACQUCYDkAygIb DAAUCRAwiO3m/vXFfAkQMIjt5v71xXzpcg//Ueq6atA8hP5K4gB6ujhxad43IloP2vL+fit2 zPhaticrYyKOWgwkFiZPMsjnRba8MCsLOICYtRTaKpsqw+wPHtKG0eZjS9yAJGtqdHZ7vyCl F2PJlLsT6adODauQMf5hmwXT9J5oMMIyOHRFQt8wrcwKworqmVfBiyvVqFQR473aTmM3QX3K OWE0xUrVr8MGnSF8Dx5ETVbW5zEbj/ApkRiuyA//prqa9vXYPQ1hyUyY9AbOoEAsllRvkaeF dLp0MjqlY+CwCPEGo2oJ7OyVQv/MyK2H9dsrR+iQ7htKLvsOPSsOt2vVEHQX3mmTJh9eDE9O C0DaU/m5VzaSc6mS8EuaJAXsdsIdQEoLwK/lSleC+JTXnB0dbiJlVkHGrFbbBDU20jQQmDV9 8GT+h7jrvuX7jUTSg7TNpzJav0XQItCBMu4p7fUIAdbyX75EDABBtkscYq6sIiTwau7riMeU PR/mqZuJzjcYObIuaCIWh/rQeTHVgneOm3M5IHlqrRXVWCZyeWtpOmvyjTi0H5PCEHq/DBh+ qQ1mJSrgHxQSLHd3Tx3vkYQJQuFxFi8g1gpgTJ0yuVeikCdcl6rQxgaGvcTILp0CvSoNdtiT 4S5G3k15stRc7uWjVpKasCNxihxo6DTMIIaRnBvYzXS6k7oG6WD4k8TtL9hnmeA9PRy6FRw= Organization: Retired! :) X-Clacks-Overhead: GNU Terry Pratchett Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patandbrian.org; h=message-id:date:mime-version:to:from:subject:content-type:content-transfer-encoding; s=pair-202402150206; bh=GlfGw5uBhu6Qkx17mZTniz/fvBL7ydGJogMLPZDdjd4=; b=l4zdBoNAB+9Jsj2WxBER3rpAEO7rTjy8UHAK4NHILE+hvrMk5c7/lUsDa0tq4gskZAF64mjTEIPk51pVpGd2Tac8HKqaLvrWkoHUbEiVwYIXSj6Xk7Id7P/sbO79vOae9Jer31gca3iJz9acb+d9n/JBaCk6lXBU4ArdkSuxnTYIGqckuo1DZSWvcGP3YlFxxUAyjSu0kfVnPoRLiHiPQ7KjmYN3SwYD1A/vFr38+7Zf0yvtRDDpCTPo6oRyLDjnyIZFmZHm0a/zlh5BQeZALRxs+dPmLqJK1tPw9YgpQd9U3QdPZvYOVWPfTqtKNOFnlqhgAIzN8SngQ47rQU4l4g== X-Scanned-By: mailmunge 3.11 on 66.39.3.170 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69535 X-Mailman-Approved-At: Fri, 08 Mar 2024 04:38:20 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sorry for the delay in updating this problem - I've been doing some testing! The first thing I did was wrote a quick and dirty Pascal program to do a byte-by-byte comparison of the data files, just in case it was cmp that was causing the problem, not cp. The results were the same using my program. OK, so cmp is innocent. I then wrote a program which generated 40 GB of more or less random data - 200,000,000 fixed length records of 200 bytes each - and sent it to a friend with the request that he do the test I did, i.e. generate the file, copy it, and compare the copies. He's also using Mint 21.3, as I am, but with a different type of drive. The files compared correctly on his system. OK, so the next thing was I tried using different drives. I have a 2 GB SSD in this system, so I tried that. No problem, the files compared correctly. I got the same result using my RAID 5 backup device, which contains 5 of the same type of drive as was producing the error when connected direct to the SATA port, but obviously the backup device's software has an effect there. So, the bottom line is that I'm chasing some kind of goofy bug which likely involves the drivers for my hardware - a 14 TB Seagate connected to the mobo SATA port - and cp is also innocent. Please consider this bug report to be closed. I'm not sure if/how I can do that via e-mail. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 08 14:22:28 2024 Received: (at 69535-done) by debbugs.gnu.org; 8 Mar 2024 19:22:28 +0000 Received: from localhost ([127.0.0.1]:59591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rifnX-00015i-Rs for submit@debbugs.gnu.org; Fri, 08 Mar 2024 14:22:28 -0500 Received: from mail.cs.ucla.edu ([131.179.128.66]:60100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rifnU-00015U-0C for 69535-done@debbugs.gnu.org; Fri, 08 Mar 2024 14:22:26 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 0DE3E3C00F4E3; Fri, 8 Mar 2024 11:21:46 -0800 (PST) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id Nho8p2j1vpUa; Fri, 8 Mar 2024 11:21:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id CA6773C00FABA; Fri, 8 Mar 2024 11:21:45 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu CA6773C00FABA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1709925705; bh=H9ssZJiaJ9CzhuNN1uP1g+RIykaozpIlpLEC4U8fn/o=; h=Message-ID:Date:MIME-Version:To:From; b=AvCERTLBX+RLCucP1kixU4D4R1UXifcmsz9f6vR11AmtWyCc1VG6plnKBAJyaVJUP Nt25su1v2OyFj5Y0oI6fpfPjP/TEthdfkk2KrQZ3oZ6rIvNyQ9/ZjvPv7qewEukOP1 piMFSE90vMIFyVC1nPlzbSqCekfywMBqHYiQ7SWdP4j7hxq35a8FVV/b5hl9x5scf6 0Wl0+gQlgQBsbpQkB4t1jv1tJ8SP2drvazzOaSQi7JjgD9X1rUG/QyYPufVJyFy0eF GZwotUni4Aqg4U0oPb1/rV5tsubCscZHtxGWJ9qEH2pSk0PLzHBjhmqimRRghcUGe7 tbz3AwzXtR/Gw== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id nf2lWGl0HcX6; Fri, 8 Mar 2024 11:21:45 -0800 (PST) Received: from [192.168.254.12] (unknown [47.148.192.211]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id A01CE3C00F4E3; Fri, 8 Mar 2024 11:21:45 -0800 (PST) Message-ID: <2d1e63b4-0406-4e8d-a37c-4d459983d29b@cs.ucla.edu> Date: Fri, 8 Mar 2024 11:21:45 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#69535: update Content-Language: en-US To: brian References: <9c6f9b46-a43a-47c4-bde5-7083e6c84374@patandbrian.org> <4e49215c-74f3-4e4e-8af2-bafce83ea6cb@patandbrian.org> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <4e49215c-74f3-4e4e-8af2-bafce83ea6cb@patandbrian.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69535-done Cc: 69535-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2024-03-08 00:49, brian wrote: > Please consider this bug report to be closed. I'm not sure if/how I can > do that via e-mail. Thanks for following up, and good luck with your hardware or drivers. Closing the bug report. From unknown Sun Sep 21 00:38:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Apr 2024 11:24:20 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator