• Re: [gentoo-user] Re: Package compile failures with "internal compiler

    From corbin bird@21:1/5 to Dale on Wed Sep 4 06:20:01 2024
    On 9/3/24 19:39, Dale wrote:
    Grant Edwards wrote:
    On 2024-09-03, Dale <[email protected]> wrote:

    I was trying to re-emerge some packages.  The ones I was working on
    failed with "internal compiler error: Segmentation fault" or similar
    being the common reason for failing.
    In my experience, that usually means failing RAM. I'd try running
    memtest86 for a day or two.

    --
    Grant
    I've seen that before too.  I'm hoping not.  I may shutdown my rig,
    remove and reinstall the memory and then test it for a bit.  May be a
    bad connection.  It has worked well for the past couple months tho.
    Still, it is possible to either be a bad connection or just going bad.

    Dang those memory sticks ain't cheap.  o_~

    Thanks.  See if anyone else has any other ideas.

    Dale

    :-)  :-)

    Please refresh my memory, what brand of CPU ( Intel or AMD ) is in your
    new rig?

    ----

    If AMD, binutils can build -broken- without failing the compile process.

    gcc starts segfaulting constantly.

    workaround :

    setup a package.env for gcc and binutils.

        gcc.conf contents :

    CFLAGS="-march=generic -O2 -pipe"

    CXXFLAGS="-march=generic -O2 -pipe"


    use the old version of gcc to rebuild both binutils and gcc ( the new
    version ).

    leave this fix in place, and prevent this error from reoccurring.


    Hope this helps,

    Corbin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Wed Sep 4 13:10:01 2024
    Am Wed, Sep 04, 2024 at 05:48:29AM -0500 schrieb Dale:

    I wonder how much fun getting this memory replaced is going to be.  o_O 

    I once had a bad stick of Crucial Ballistix DDR3. I think it also started
    with GCC segfaults. So I took a picture of the failing memtest, e-mailed
    that to crucial and they sent me instructions what to do.

    I keep the packaging of all my tech stuff, so I put the sticks into their blister (I bought it as a kit, so I had to send in both sticks), put a paper note in for which one was faulty and sent them off to Crucial in Ireland. After two weeks or so I got a new kit in the mail. Thankfully by that time I had two kits for the maximum of 4 × 8 GiB, so I was able to continue using
    my PC.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    An empty head is easier to nod with.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbYPwcACgkQizG+tUDU MMpThQ//ZWXCuib99wFxEmPpEfjOziItWiEkyb+xkk0nLpSyvymqFBfhY31rd7JQ oOrcBjZjR1Lzdy+1OH6WH06VSyyX/FPa+bjjVOm9nV7Pe2JRtrmkTQsI8dDUB9e1 euTKvTEP5aydj/D16YjoowOkBI53Doo4RswyOR55Ct9gu4TwajBDRQcrxPwioXnl Ijw25cITm+i8C1BABl5aeol9yOUFQcaHQbRQtzQjZlAi90+0e7vDY5WyxvDCGCda 8z3aqfZByBrZmlizGpXhOd7TkLIQSXyRG93HEthTsK/6YAOr5tct8IyC/WXIc0lU 70g9T77lUIRSlIm4HwNLN5LRB6Rg1YzJFL2kRPgIjCjOBsGpM6DbD06X52unqV/N YgpqCU26EwctQYQwnlwxe2aY3uoFmc0hUMoexRwK0sVUEWoz9EfNuzugVFiNJidZ hrRAKddkvN7wjimDpnruGkykSlhtDZZvJhrqusesER37f8dEhFAMZULaVuufLZNs If4jkJJd7ovz1YA3DBX2FjxQ+M5s0vY0V8W0D5jJDMaISXi2jc7cKVnpyW5lHJzV R0Tu0VjXfNP6ezAakhyjyRWcXBMKpo57gkJnOZlbG2A9Ct9m1xpK1qzZrBjn3XtQ U3yNCYiM/IlhNN2MNmar1eU6/+GEMwaVcCdAZiNU6dOnylLEvrI=
    =zZ0d
    -----END PGP SIGNATURE-----

    --- SoupGa
  • From Peter Humphrey@21:1/5 to All on Wed Sep 4 18:00:01 2024
    On Wednesday 4 September 2024 12:21:19 BST Dale wrote:

    I wasn't planning to go to 128GBs yet but guess I am now.

    I considered doubling up to 128GB a few months ago, but the technical help people at Armari (the workstation builder) told me that I'd need to jump through a few hoops. Not only would the chips need to have been selected for that purpose, but I'd have to do a fair amount of BIOS tuning while running performance tests.

    I decided not to push my luck.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Wed Sep 4 23:10:01 2024
    Am Wed, Sep 04, 2024 at 07:09:43PM -0000 schrieb Grant Edwards:

    On 2024-09-04, Dale <[email protected]> wrote:

    I ordered another set of memory sticks. I figure I will have to send
    them both back which means no memory at all. I wasn't planning to go to 128GBs yet but guess I am now. [...]

    Good luck.

    […]
    I plugged them in alongside the recently purchased pair. Wouldn't
    work. Either pair of SIMMs worked fine by themselves, but the only way
    I could get both pairs to work together was to drop the clock speed
    down to about a third the speed they were supposed to support.

    Indeed that was my first thought when Dale mentioned getting another pair. I don’t know if it’s true for all Ryzen chips, but if you use four sticks, they may not work at the maximum speed advertised by AMD (not counting in overlcocking). If you kept the settings to Auto you shouldn’t get problems, but RAM may work slower then. OTOH, since you don’t do hard-core gaming or scientific number-crunching, it is unlikely you will notice a difference in your every-day computing.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    How can I know what I’m thinking before I hear what I’m saying?

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbYzEEACgkQizG+tUDU MMq9wxAAm0mDNmFnFUOa74OHdZs27e75Ru0+1qY9XhVpnEh02Ad6jQ0kOdYY1T/X L470ObBC2zmZ8yW9Vs/e9hGpWQ8Kuc/gJOZ7WCRLRStQkLiWzzqomOaeJ2qkhcvn QZjqFgXR84vqdyUwMVM8dyzyCeHm6vaOcKWfL7hBdKuZuhYWizIzlloPeMpLPRdi jI72wxYFe2anEvxcYOsY7kzmqZn9tf5Yb8ujuXJ6iUv16LKFnParAiHw41miYnvy 1V5u4VB/g0/tdb2nyFMaU6/geisFfOAbJsa8MdioL5FwQ0nnLy/9x6l+m4Hzc9d1 VwKOrS5tjhKfUs7ckuS/+IrV2/ReU/6Vgtp/NSMB9zuJ4zsowZnCEqlOvY2I5TcL xwxya1uNYE1cpj3uKov77YLlSMj9FTpdNYZStkx6WhX8lEpkWZJyEw3+C0cPj7WX YJHg3xoeVPYf86ziZ7lhmHjP4Wk8ytfGa7r3SJQtjhJtOR4wBClpO8fGVInPBOqw JSc8wl7Jj6sD1kOAIhTMHQBWiX1Fh4klVVhrKKS/NGU8sD3h4E0qGSt3YQf7CSc6 x+yhMjVlQH2SHbcZgk3gpkm8E3o6RPaLQrEdSCdGpd01xP2YO4iFAmMpz6aJWZlD YZ21RVirk69BFXLqvELMkZGwhmoMWN7CJb23m+aQR2pUM2zyRs4=
    =Qt5s
    -----END P
  • From Michael@21:1/5 to All on Wed Sep 4 23:38:01 2024
    On Wednesday 4 September 2024 23:07:17 BST Grant Edwards wrote:
    On 2024-09-04, Dale <[email protected]> wrote:
    At one point, I looked for a set of four sticks of the memory. I
    couldn't find any. They only come in sets of two. I read somewhere
    that the mobo expects each pair to be matched.

    Yep, that's definitely how it was supposed to work. I fully expected
    my two (identically spec'ed) sets of two work. All the documentation I
    could find said it should. It just didn't. :/

    --
    Grant

    Often you have to dial down latency and/or increase voltage when you add more RAM modules. It is a disappointment when faster memory has to be slowed down because those extra two sticks you bought on ebay at a good price, are of a slightly lower spec.

    Some MoBos are more tolerant than others. I have had systems which failed to work when the additional RAM modules were not part of a matching kit. I've
    had others which would work no matter what you threw at them. High
    performance MoBos which have highly strung specs, tend to require lowering frequency/increasing latency when you add more RAM.

    Regarding Dale's question, which has already been answered - yes, anything the bad memory has touched is suspect of corruption. Without ECC RAM a dodgy module can cause a lot of damage before it is discovered. This is why I *always* run memtest86+ overnight whenever I get a new system, or add new RAM. I've only had one fail over the years, but I'd better be safe than sorry. ;-) -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbY4UkACgkQseqq9sKV Zxlb3w//XFcdaJnkxwyLK+MDJWCBlDzBQIql9tQnK9Fyjtto2XaVWSNIY3g/zY7D G3glmr+XExarAMrrjR1IYc3TvGrhsAhymhnGhGqNEtP8wfP3a52xHhA8sfvwZbTp XOk1RffcyRrc7NQsyD8L+AInfAE2/naCv88B3fhRGVE7cACIo41NkzEUeWCIxX43 nfugRn+2E9sZERJxS/EhdisS5P9KauI4figFlOhoAtnlJeuGxRZMigz84JvTLsXm WyWREZ1SBj8zz1hLnx79GKc0bhelXXX5TO0d/dOhZ6tjGINx4GmFz4lZ3BghkL1g hYW36W9mnoqpgohwWiZg2H3hmJ7jzuKtB184uMWZTuMowfSOcfgfhhsa5RKSH0t+ BCht3uiQOW1MDFDFA7v9FuksAwMkNV5EbA1v04T6Pk3sQSzCMNDS/dwPG4Tg3mOe xX6mOnwQIL5oa141QepucMD+TT13r/WnAQww3urG6TSTrM5NlFijml3O+0gbwTiL eNuEv7gLm9qm5VXZ7m8M2/wl/0KTjl0tt2ZIA3gIUnEzP6UTih/NgrwAg8zs07bl I9+EqmZzLa+KoQt+J6CK3vQeTqsmUC+Mr8WlfEfItgwX/NtFIeHW5iyjX0h4Yd0Q l82MkIK+6HMbiDOnwfofDCxgmjVCeslZ8XqYg7TQHxzmhjkfVBc=
    =aT+L
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Sep 5 09:05:13 2024
    On Thursday 5 September 2024 01:11:13 BST Dale wrote:

    When I built this rig, I first booted the Gentoo Live boot image and
    just played around a bit. Mostly to let the CPU grease settle in a
    bit. Then I ran memtest through a whole test until it said it passed.
    Only then did I start working on the install. The rig has ran without
    issue until I noticed gkrellm temps were stuck. They wasn't updating as temps change. So, I closed gkrellm but then it wouldn't open again.
    Ran it in a console and saw the error about missing module or
    something. Then I tried to figure out that problem which lead to seg
    fault errors. Well, that lead to the thread and the discovery of a bad memory stick. I check gkrellm often so it was most likely less than a
    day. Could have been only hours. Knowing I check gkrellm often, it was likely only a matter of a couple hours or so. The only reason it might
    have went longer, the CPU was mostly idle. I watch more often when the
    CPU is busy, updates etc.

    Ah! It seems it died while in active service. :-)

    There's no way to protect against this kind of failure in real time, short of running a server spec. board with ECC RAM. An expensive proposition for a
    home PC.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbZZjkACgkQseqq9sKV ZxkN5RAAkQxyKSLQnt5H4fdaV7FseQV05Rxw6KWHHnWdhe/YUX5tnehoBmcFxYAe nWOp44JMvkZE939UlVEbNqFqdHcl6Vwt3HzFwV93+U5X1gwO0KcceDHHkrpe21FV 1AbHwE6XCJYz3K6v+qQ5AIbGFuYHzfauvC/HAShJisjm54gyKtTgsxUWW1kDysBT 2rsfPB5wN5r7dah2/Rrs5zfjD5jhwsQItIHKREVodjgBHQodMjgxHnsETaSqfrms gIgADzysVxyi0VdTQbG0ezFkv2FzRXmzid8lU9rLK+D6KVlx8BfzTV/3Ua5n9X4l nssbS1Q8boCMabNl9sg6wbFUsPphHtyAwBrE//2ibsLFp+EWdZvZlUmgKHMDRWZJ 2BWk12IE6nl7Bb5Mves7ZfzIcmoP4FqmdLTfdwomJooXCDoztnhdfVyGd9r6yHZW 0U1fj8WE9fVmS+LIDyATQkNofhI1scM3LeiPu0ARHokcQjRV23UJcUIqAZCTVa9S R/BQsmABpcnwN/pd8mEHEAJoYquim4ci8ErwpvoZNL3ak5lzJ3rsf1Adxl5wGkw+ HJtjR3vbn1dHfZfGAzI9mtBrQpiYElQMizuw1GvBiQ2rOOYtyklguqo3OJfF/f// mbv2XsxRqdQobCx4kTrKEYNua8/Gp4SIiGluDpuxHt1+AwUeZtk=
    =kXB3
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Sep 5 09:42:55 2024
    On Thursday 5 September 2024 09:36:36 BST Dale wrote:

    I've ran fsck before mounting on every file system so far. I ran it on
    the OS file systems while booted from the Live image. The others I just
    did before mounting. I realize this doesn't mean the files themselves
    are OK but at least the file system under them is OK.

    This could put your mind mostly at rest, at least the OS structure is OK and the error was not running for too long.


    I'm not sure how
    to know if any damage was done between when the memory stick failed and
    when I started the repair process. I could find the ones I copied from
    place to place and check them but other than watching every single
    video, I'm not sure how to know if one is bad or not. So far,
    thumbnails work. o_O

    If you have a copy of these files on another machine, you can run rsync with --checksum. This will only (re)copy the file over if the checksum is different.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbZbw8ACgkQseqq9sKV Zxmlcg//W7Lw7fmA7Mg8CDQqWSYYc6W7AO+dud+xOkzfQMGubSmoWrJf+4rug1xZ +/Ln7mMHU5zEac9//EEzG4slQDX4pGTrgmAXEes5x4DmulwBe0i2Y5bjRbjQAjuF cR/13v+lpaNseYmCHPPlYnohv0UL3/kfcuWwpE8dst7rNCBRXMWBgnVzvd+dOhGz u05NqF7/nigUeftXdaPFtaYO83DSVaq5bM7XrZutvZPme/03UUGp2Okr2UxEosAN X7Fzq2Y8P+ct+SpOVeePpMnmqY8BcGApoOrAyZck08CINF5lHo6XPptWK4Bsqd1Y y89Q3Zr4QILMMuq9xQAZfKY6xlavGudwFa789GVSwp+kMg5okUHgo66RRj3oMsrp a92xhq1zbFoYVCw0KwnoTSmKW9H9I0n8BQsE2iCguP96G9huBZKiHlHONAZD+Dgd a0ulEIbA30t+9nWDSaWdqNeu/MQYf+UJjiSk9358NvxCXlUhHC32L0vx7IxP+QmB AfJSBTzc+Md5wBt+R4+ZmstpkgNuCeqG4wZ25c3RirajJ3wXghYeSqMbWVDrs78b 5oxZWjT2424pUrsuTmrKIc3HJFZyWNU1won0EKj8DuJLzEvPrwdAAkmThYtV2U3o ePmoks/k2foBXbtXnY2OgN2GzgOLcZubBDnTnWiTcxAexY6tezo=
    =KjFb
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Thu Sep 5 11:10:01 2024
    Am Wed, Sep 04, 2024 at 11:38:01PM +0100 schrieb Michael:

    Some MoBos are more tolerant than others.

    Regarding Dale's question, which has already been answered - yes, anything the
    bad memory has touched is suspect of corruption. Without ECC RAM a dodgy module can cause a lot of damage before it is discovered.

    Actually I was wondering: DDR5 has built-in ECC. But that’s not the same as the
    server-grade stuff, because it all happens inside the module with no communication to the CPU or the OS. So what is the point of it if it still causes errors like in Dale’s case?

    Maybe that it only catches 1-bit errors, but Dale has more broken bits?

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    Says the zero to the eight: “nice belt”.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbZdPUACgkQizG+tUDU MMqAvBAAtmYYQJoLgNRhT/Wi20iLma0QcpkvqKkfLFCY7Hli5e1jSxujURQeSZ3h a7NJtMiEOmmeX8rljeJe4WNB6BxQNabolrYcxidgGdD+9nFTKMLt00Tfuc3g94fl wA5PAX9pVtNXklwzQaNZL4ieb6QhKfBOvHOGQID3v6m43yLAshM2t4q4gxSlKrQj 5kXaO1OKU4ZM5NgMezi8Hc/GA3G0lgKROOOWYoWyfIRp757ru+CV/cDQuP2KArVa FW/LJNOLA6H3H+wIvVcjXo7yknOFrrBqHtNLBwIqaNtgCM65a6Hjr/+IEADTwlK1 pmJNghleb0RDD1QqeDlDlJrwXKuns3l3ZFM1RLg5pKCbuldex2dcC6n+jYOgwcrb gVGGfpq8LVDXT2inaQUOi+WqFfaG4KgCwD1LsQLwlR7oXHBQ6JiB/YYnaSgsRxrG oy7Qpln+Bdb2IFtNt6kQtE+DcuEFPeVFJpxvpvrI+Kz/Mvybosh9tuo0ySCgfA9M 6OZJA8oMvSOgZXBPOw2eguDjZob9d+fyOSwIhhpYi6JS3ML6c+yC6A6DW66KAoWG Ah1gtxvi63+sNuRtaLLs2mOz3Hk61TvbvakhNdmaSX57CjqYe0tWmBXoZth02sAI WctUqCoXVGl8VqADtX2ol8seMLdIOSMnDHXyRu93TfXb3EzxEpI=
    =QZWa
    -----END PGP SIGNATURE-----

    --
  • From Frank Steinmetzger@21:1/5 to All on Thu Sep 5 12:10:01 2024
    Am Thu, Sep 05, 2024 at 10:36:19AM +0100 schrieb Michael:

    Maybe that it only catches 1-bit errors, but Dale has more broken bits?

    Or it could be Dale's kit is DDR4?

    You may be right. We talked about AM5 at great length during the concept
    phase and then I think I actually asked back because in one mail he
    mentioned to have bought an AM4 CPU (5000 series). :D

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    Damn Chinese keyboald dlivel!

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbZgW4ACgkQizG+tUDU MMoaaBAAmZGffLPlv4tTh5Gy+sljhDOVYTh/Hf2eKP25CtxE19HUSxxo5vzFDUE6 p/38STq47ROUbDsjqOxnsw7vUPAz2KD2hP8O3CBOSCjHJCbBGBP4BQL8UDO+jz6c V5DVRPtZrv6ian/hg4/q/LLUAQCBk/I1AhBIzxLH+vVFWTjDU++98O8h2saZtqJ+ ItOf9Ub15Ak9NYFETks+sihgVU+lpw9GiLMpoXNVE3O5gpU2pKYIlt3x/k9kgj2d mf/RNSHEyBRLpW4gAmlBxKy2FS7q3EOrhjjIrsJ1V8eacvvVgo0mQzB6utBYW/Ml z6G5GhxFpCrsHh5L+37FGGIqCEjGDD6WYEVZCvwnjyZEH7mHbOlZhVUQMYA8/D0y CzR4Pym4E4nUkl4ZcC3+shFNvLkrutRtyiqdGoDBWGz11Kh/lVUpBja8XTYJerGa lkrsfbLgzImvOSn2rvvHiYf+N8yeTnFPCs3vtpunkCJs4bAZJRTlf6jAVh7Ro1DH cBWjEjy7wgx1ClEYAufr6CqvrCK1UyGYRuAJhtgEACSiKS1abkAmg0xHkEgo+MG3 F997uAWicw4FCBotrqfjz0OfcaDRbmjHmqqhUrM1qB2GDPG/2aZI2spBbMB4Wpd1 PCvlbMfAEuQ2S/222aTa6V0+HM1hVJzHC1piGhMRnQ67II4wTjU=
    =bKc6
    -----END PGP SIGNATURE-----

    --- SoupGate-Win3
  • From Michael@21:1/5 to All on Thu Sep 5 10:36:19 2024
    On Thursday 5 September 2024 10:08:08 BST Frank Steinmetzger wrote:
    Am Wed, Sep 04, 2024 at 11:38:01PM +0100 schrieb Michael:
    Some MoBos are more tolerant than others.

    Regarding Dale's question, which has already been answered - yes, anything the bad memory has touched is suspect of corruption. Without ECC RAM a dodgy module can cause a lot of damage before it is discovered.

    Actually I was wondering: DDR5 has built-in ECC. But that’s not the same as the server-grade stuff, because it all happens inside the module with no communication to the CPU or the OS. So what is the point of it if it still causes errors like in Dale’s case?

    Maybe that it only catches 1-bit errors, but Dale has more broken bits?

    Or it could be Dale's kit is DDR4?

    Either way, as you say DDR5 is manufactured with On-Die ECC capable of correcting a single-bit error, necessary because DDR5 chip density has increased to the point where single-bit flip errors become unavoidable. It also allows manufacturers to ship chips which would otherwise fail the JEDEC specification. On-Die ECC will only correct bit flips *within* the memory chip.

    Conventional Side-Band ECC with one additional chip dedicated to ECC correction is capable of correcting errors while data is being moved by the memory controller between the memory module and CPU/GPU. It performs much more heavy lifting and this is why ECC memory is slower.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbZe5MACgkQseqq9sKV ZxkTHQ//WtFpq08Az9XvQDEIc2w0qd8mnFsS/N5owX0BrZeWJGUgHMOOJMXq9vao ZspI2iG22ndmQV+DumWkYHMDNq9FbaNbYD9uOJtttQ2ShVYGRK7kR3LhHx7hZpQw 0zfqfhAWA9rKhUUN7mm2tIoNoH80UaFTbANIbstcx+eJllBveDUg7Jw/yLp8PgmO zvgOkrcJgmA2SNV+DLZdQnesZIS4ieQChv3m2gA4yuDSZGpU25Xm8hJ9HRZ3sE3C zoGutr5T2ATKaX+EXqFcg6wrnA7kwB1gYS/DqFrgQwdGOnjQPDCtPLGxd9KN+yDH LlssXWlB9UF8kXAN4YCETIJKOq6DnLlYQJtwxo+zZ6Bc0ktEzONwNWgVxtCbZifN IzJUgEh3gyEs1/JBN7QKYrVTcAU5hCDiYwKIoVkOCSWQmCtmnT/TMaYp8f3D3Tqe WIO535tj2nM9niR5LKXWTmIeSsIZPQmBf37SN1Khk4ktHDXnOo+6l5p0q5O3Y5yN CKThpY3lyv2RU5pqV7Wck/dQIac/Nc7dP4qLYyeiD2zpFdwnvcOU81u/R/c0GA8s Ugmgic7pidh3eMv+kzbmkxGkaOHMJAWp9ATgv7rtVu7nBfLmergf7WdWD0I22l9T xnvsLCfhuYSMChEW0ICO4hFkq/GE4nlbqvXchna+vB+hqZJ/NiY=
    =1FBi
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Sep 5 12:08:39 2024
    On Thursday 5 September 2024 11:53:16 BST Dale wrote:
    Michael wrote:
    On Thursday 5 September 2024 09:36:36 BST Dale wrote:
    I've ran fsck before mounting on every file system so far. I ran it on
    the OS file systems while booted from the Live image. The others I just >> did before mounting. I realize this doesn't mean the files themselves
    are OK but at least the file system under them is OK.

    This could put your mind mostly at rest, at least the OS structure is OK and the error was not running for too long.

    That does help.

    I'm not sure how
    to know if any damage was done between when the memory stick failed and
    when I started the repair process. I could find the ones I copied from
    place to place and check them but other than watching every single
    video, I'm not sure how to know if one is bad or not. So far,
    thumbnails work. o_O

    If you have a copy of these files on another machine, you can run rsync with --checksum. This will only (re)copy the file over if the checksum
    is different.

    I made my backups last weekend. I'm sure it was working fine then.
    After all, it would have failed to compile packages if it was bad. I'm thinking about checking against that copy like you mentioned but I have
    other files I've added since then. I figure if I remove the delete
    option, that will solve that. It can't compare but it can leave them be.

    Use rsync with:

    --checksum

    and

    --dry-run

    Then it will compare files in situ without doing anything else.

    If you have a directory or only a few files it is easy and quick to run.

    You can also run find to identify which files were changed during the period you were running with the dodgy RAM. Thankfully you didn't run for too long before you spotted it.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbZkTcACgkQseqq9sKV Zxn3URAA4iwFsw5JOBDFYhgUOO9vFyV54SLAwA9Dhr/XndJ0Ar+nQwKAlHIlhwpH 9cIa7eYY7vQAIdxwJdYuAl8mNgqDEQZxspc6potZ/wT4oRBwi+5XUsW7RRRzsdJY uBRc7Hgvu9FwZx9tjZP0M9vCLOzArv1eNhjcP+kCK3VJVk6NT9HoKeKBR0gzcJgM 89W97qvnXvptQgMDN4xzTIbcPPWtiYRC4nq6jMqwtIm6Y6oEesA5irnC9Pukt+0J Pn84ytIiqO2+EG9obzeDv3PvTRnl8rxJKQMMGAyUMZyn5+52ExkDxEkBmJsuDKvr 2xNv5kRdg3odU9bl677u1iRP8yE9mXZnjuogWc1Jv/fO3HtZUWhbhihQ2SOrU75m hRR0qnuzcPP6/Xsx4o3uMEGXMWj+qHxkN5g63AWxnNjvI47lLE9pYnULxDXr3yHk Ak9f+rYfaysDyphG9CdQ53nNFwOUbJT/A3PUtz8hL8F1mtjKSJY13gMXkWKexSSa e7xwte0xCK3Oilyy8ACFiE5aPGyM/hPx7vR55yG/RdqGVH1FhDQ8Ym0/69eGz1Sa 239nwZPo1w81NIe0waFoccT4hKb6iuwQGS+Y5tMsBzRki8Mnyssr/GEBicvQ0CQD HRLp0icTyxT/gZGdCLIuHhA61SEErP2ffgK/OzbhNKjJ1BHyGjE=
    =x4ZF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Thu Sep 5 21:00:01 2024
    Am Thu, Sep 05, 2024 at 06:30:54AM -0500 schrieb Dale:

    Use rsync with:

    --checksum

    and

    --dry-run

    I suggest calculating a checksum file from your active files. Then you don’t have to read the files over and over for each backup iteration you compare
    it against.

    You can also run find to identify which files were changed during the period
    you were running with the dodgy RAM. Thankfully you didn't run for too long
    before you spotted it.

    This. No need to check everything you ever stored. Just the most recent
    stuff, or at maximum, since you got the new PC.

    I have just shy of 45,000 files in 780 directories or so.  Almost 6,000
    in another.  Some files are small, some are several GBs or so.  Thing
    is, backups go from a single parent directory if you will.  Plus, I'd
    want to compare them all anyway.  Just to be sure.

    I aqcuired the habit of writing checksum files in all my media directories such as music albums, tv series and such, whenever I create one such directory. That way even years later I can still check whether the files are intact. I actually experienced broken music files from time to time (mostly
    on the MicroSD card in my tablet). So with checksum files, I can verify which file is bad and which (on another machine) is still good.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    Lettered up the mixes?

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbZ/rcACgkQizG+tUDU MMor8hAAj5/iD1pyXN8bmjCAUrLCNGFpjY94ukq4fEtIB+XXgEhyeY8TgA9gmP2G cW1s1RYz4lNmMtNIsJUEuHy1mBI56AecbBMIlXYlAcWx6YTFBriGjiirlfPEke/e AFQ7wmT/s5TGJ23Ccm+d/oa8lcdycrNb0tSSV04Lc8cJ4nNEq7WmdfA8QGNsH0NH oX3B3U/DU7KBimfAYmhiolDQKpVS+v+zRh7BcxbW5XKVTwhzXJ5KBR+hnzTbtsqm 2+aK3RDn4AxAjCRdQDYuMbou4rw282ZW5e/OFo9lvxwaYH0DMhbPQGdc3sUX1MhL GqBLwh+Bo6G51GL5GSTHzO5WX58Ay7VIOODtiSjs352Noh2Sas9ryEZl/mJRdTH8 I5lDwNzqh+40kAWaU0TaRmeEyVgf9PlCpH7uL/CnsZydbKlhkwGjmZPTizL8pqI/ jrmD79BNDCrx5F/X+t07utdrFdSS0h9VKXU2ByQOycWrVJJJs+zcrWZuWqRtsGhg ssOz1g+ITwzmviqihtd71W/+EYyVd/7oPMhYQJuaXs5aNHbdZUpSliC3Y0Okx5ne jwlla4S7zqDqWjhZVpG7qQqDPFivZV91YSmCFhPL0mFf/trQlVREWTKZZ3S5WEnI EgTGH1fvvKhgvgjnYCsgriYefHztPklhnPyn0Pv4ZOhBrYefmXk=
    =enEM
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
  • From Michael@21:1/5 to All on Thu Sep 5 23:06:26 2024
    On Thursday 5 September 2024 19:55:56 BST Frank Steinmetzger wrote:
    Am Thu, Sep 05, 2024 at 06:30:54AM -0500 schrieb Dale:
    Use rsync with:
    --checksum

    and

    --dry-run

    I suggest calculating a checksum file from your active files. Then you don’t
    have to read the files over and over for each backup iteration you compare
    it against.

    You can also run find to identify which files were changed during the period you were running with the dodgy RAM. Thankfully you didn't run for too long before you spotted it.

    This. No need to check everything you ever stored. Just the most recent stuff, or at maximum, since you got the new PC.

    I have just shy of 45,000 files in 780 directories or so. Almost 6,000
    in another. Some files are small, some are several GBs or so. Thing
    is, backups go from a single parent directory if you will. Plus, I'd
    want to compare them all anyway. Just to be sure.

    I aqcuired the habit of writing checksum files in all my media directories such as music albums, tv series and such, whenever I create one such directory. That way even years later I can still check whether the files are intact. I actually experienced broken music files from time to time (mostly on the MicroSD card in my tablet). So with checksum files, I can verify
    which file is bad and which (on another machine) is still good.

    There is also dm-verity for a more involved solution. I think for Dale something like this should work:

    find path-to-directory/ -type f | xargs md5sum > digest.log

    then to compare with a backup of the same directory you could run:

    md5sum -c digest.log | grep FAILED

    Someone more knowledgeable should be able to knock out some clever python script to do the same at speed.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbaK2IACgkQseqq9sKV ZxmXjRAAwyrtHHOEklG3NQWfCkJsyNU/45yTqG7qfewSvrMOJ38gcKBVbXA5bJPq xwLpcwo/8t1yeTdci9skfflxw+uAmFB76JVlu/uLzZhYxyvy0NN1ldERy1M6kwpj 2QUAgKWs15bTdJNbsH1g/ro73iecn9mP87anjw0c/IKljlzmwyRgBbwUiVR4/qCa moLGuZCargr4L5P3443gejtbRR3X9g4Txt0FWnx/S5FVLMiJsESdg+HNaXXu5a6T OnNAEUEXjzUABybmrQ2OhXAaURTBiEeAjYYv6z3HGa8rzb8T5T/xMMZWFcK3FmF9 JqDFFolm0NasZwMfFHEbM4f6iErV9UXvsr88X5FIDN1lN+2HV4xbMid2zXoKaPz4 zoruFVmKU5+hYVBfG67HzqmnIDIgVmNUJihptCNa4ecz7Dw4wXIKDdbweIhHwBgk CrhRoCHHi9xbapXetdgKrtN2aoqjtrOds4ucKpmJ+eCWQF2PJf8rFYOS/vLYTjrm tHcT6fdEtP5JhTmdw1Vpi+Fln6Xxx6vLUesEclAIEI1Bv4DG/6FiandqV7SP/I7C bg6Z5ErYSY0pQXrL3xShjUvQv0dB2jKtS9en1RewUWCleLvhQ8mAjYJoUUq+Nls+ IO7G9gH9ZMLOl/lXPUPgEtWjKiUixWjf8oO+UhAnbftfbw01RRY=
    =HywO
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Fri Sep 6 13:21:20 2024
    On Friday 6 September 2024 01:43:18 BST Dale wrote:
    Michael wrote:
    On Thursday 5 September 2024 19:55:56 BST Frank Steinmetzger wrote:
    Am Thu, Sep 05, 2024 at 06:30:54AM -0500 schrieb Dale:
    Use rsync with:
    --checksum

    and

    --dry-run

    I suggest calculating a checksum file from your active files. Then you
    don’t have to read the files over and over for each backup iteration you >> compare it against.

    You can also run find to identify which files were changed during the >>>> period you were running with the dodgy RAM. Thankfully you didn't run >>>> for too long before you spotted it.

    This. No need to check everything you ever stored. Just the most recent
    stuff, or at maximum, since you got the new PC.

    I have just shy of 45,000 files in 780 directories or so. Almost 6,000 >>> in another. Some files are small, some are several GBs or so. Thing
    is, backups go from a single parent directory if you will. Plus, I'd
    want to compare them all anyway. Just to be sure.

    I aqcuired the habit of writing checksum files in all my media
    directories
    such as music albums, tv series and such, whenever I create one such
    directory. That way even years later I can still check whether the files >> are intact. I actually experienced broken music files from time to time
    (mostly on the MicroSD card in my tablet). So with checksum files, I can >> verify which file is bad and which (on another machine) is still good.

    There is also dm-verity for a more involved solution. I think for Dale something like this should work:

    find path-to-directory/ -type f | xargs md5sum > digest.log

    then to compare with a backup of the same directory you could run:

    md5sum -c digest.log | grep FAILED

    Someone more knowledgeable should be able to knock out some clever python script to do the same at speed.

    I'll be honest here, on two points. I'd really like to be able to do
    this but I have no idea where to or how to even start. My setup for
    series type videos. In a parent directory, where I'd like a tool to
    start, is about 600 directories. On a few occasions, there is another directory inside that one. That directory under the parent is the name
    of the series. Sometimes I have a sub directory that has temp files;
    new files I have yet to rename, considering replacing in the main series directory etc. I wouldn't mind having a file with a checksum for each
    video in the top directory, and even one in the sub directory. As a
    example.

    TV_Series/

    ├── 77 Sunset Strip (1958)
    │ └── torrent
    ├── Adam-12 (1968)
    ├── Airwolf (1984)


    I got a part of the output of tree. The directory 'torrent' under 77
    Sunset is temporary usually but sometimes a directory is there for
    videos about the making of a video, history of it or something. What
    I'd like, a program that would generate checksums for each file under
    say 77 Sunset and it could skip or include the directory under it.
    Might be best if I could switch it on or off. Obviously, I may not want
    to do this for my whole system. I'd like to be able to target
    directories. I have another large directory, lets say not a series but sometimes has remakes, that I'd also like to do. It is kinda set up
    like the above, parent directory with a directory underneath and on
    occasion one more under that.

    As an example, let's assume you have the following fs tree:

    VIDEO
    ├──TV_Series/
    | ├── 77 Sunset Strip (1958)
    | │ └── torrent
    | ├── Adam-12 (1968)
    | ├── Airwolf (1984)
    |
    ├──Documentaries
    ├──Films
    ├──etc.

    You could run:

    $ find VIDEO -type f | xargs md5sum > digest.log

    The file digest.log will contain md5sum hashes of each of your files within the VIDEO directory and its subdirectories.

    To check if any of these files have changed, become corrupted, etc. you can run:

    $ md5sum -c digest.log | grep FAILED

    If you want to compare the contents of the same VIDEO directory on a back up, you can copy the same digest file with its hashes over to the backup top directory and run again:

    $ md5sum -c digest.log | grep FAILED

    Any files listed with "FAILED" next to them have changed since the backup was originally created. Any files with "FAILED open or read" have been deleted, or are inaccessible.

    You don't have to use md5sum, you can use sha1sum, sha256sum, etc. but md5sum will be quicker. The probability of ending up with a hash clash across two files must be very small.

    You can save the digest file with a date, PC name, top directory name next to it, to make it easy to identify when it was created and its origin. Especially useful if you move it across systems.


    One thing I worry about is not just memory problems, drive failure but
    also just some random error or even bit rot. Some of these files are
    rarely changed or even touched. I'd like a way to detect problems and
    there may even be a software tool that does this with some setup,
    reminds me of Kbackup where you can select what to backup or leave out
    on a directory or even individual file level.

    While this could likely be done with a script of some kind, my scripting skills are minimum at best, I suspect there is software out there
    somewhere that can do this. I have no idea what or where it could be
    tho. Given my lack of scripting skills, I'd be afraid I'd do something
    bad and it delete files or something. O_O LOL

    The above two lines is just one way, albeit rather manual way, to achieve this. Someone with coding skills should be able to write up a script to more or less automate this, if you can't find something ready-made in the interwebs.


    I been watching videos again, those I was watching during the time the
    memory was bad. I've replaced three so far. I think I noticed this
    within a few hours. Then it took a little while for me to figure out
    the problem and shutdown to run the memtest. I doubt many files were affected unless it does something we don't know about. I do plan to try
    to use rsync checksum and dryrun when I get back up and running. Also,
    QB is finding a lot of its files are fine as well. It's still
    rechecking them. It's a lot of files.

    Right now, I suspect my backup copy is likely better than my main copy.
    Once I get the memory in and can really run some software, then I'll run rsync with those compare options and see what it says. I just got to remember to reverse things. Backup is the source not the destination.
    If this works, I may run that each time, help detect problems maybe.
    Maybe??

    This should work in rsync terms:

    rsync -v --checksum --delete --recursive --dry-run SOURCE/ DESTINATION

    It will output a list of files which have been deleted from the SOURCE and will need to be deleted at the DESTINATION directory.

    It will also provide a list of changed files at SOURCE which will be copied over to the destination.

    When you use --checksum the rsync command will take longer than when you don't, because it will be calculating a hash for each source and destination file to determine it if has changed, rather than relying on size and timestamp.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmba88AACgkQseqq9sKV ZxmqBRAAq64OMwsWMdTie39PkNEsFF5hjMjwBKg0kDY6wCuRwMFyk8FSfZ9ZWCJN 8S+6IemY8iKiQXq8e2qqVlzxnuLCVu7+E6rBu4K9x7RAKs9KJ9e6/W5go/zq8Cja qGk3OPgFInqHfQOPvuS2Q1BcvfXvITZIzM45w1nui06c9U4Z8hdBbN3jShbRL6h7 fLg7dtjTixYAMb+PDcezSkIkC2257vWozsfBlm0qOWT9+08t+Ww/CcXx+jT+3PID N5bB5UVzX4VOsD24JWXWHifKBX/2plG1eGBlOi7i7KNBMcnsIUbpsFlvaQiAPNTU nkTJiW8kmwne42DUk2aMg5aEeR9h9uD5iwcdfH0oi/GbPiuu0EUPNMbSWjsAobvg nXlFHNyWo/P5zMPoBpOqt92P1AE/fAwpROrJuxrTrqpkgdR/KtxUVOdBj3VUPldS kzqEqGKKrZhXkKLzbsK44qhr9ush7/+pvDxXf0Qz1fYoUkYUWStZKg2FzLz7hs/l 0CzIFzzIDYDBTxOloqKazVG0/ljPUlyS0dh0NElItlS1s6elFSOLrxbeFK0fpn7G l25HdYQbbznsHAuINCky9vuEK5YKGywBQkTnvoXmU1ISwgeET35z6Zy8ZWhhD/Ih EDsmow7K2nQ8FYgyROAtlDrkAhJy9v6FrEvZuuT8umrufer9pIA=
    =O8Vl
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Fri Sep 6 23:50:01 2024
    Am Fri, Sep 06, 2024 at 01:21:20PM +0100 schrieb Michael:

    find path-to-directory/ -type f | xargs md5sum > digest.log

    then to compare with a backup of the same directory you could run:

    md5sum -c digest.log | grep FAILED

    I had a quick look at the manpage: with md5sum --quiet you can omit the grep part.

    Someone more knowledgeable should be able to knock out some clever python script to do the same at speed.

    And that is exactly what I have written for myself over the last 11 years. I call it dh (short for dirhash). As I described in the previous mail, I use
    it to create one hash files per directory. But it also supports one hash
    file per data file and – a rather new feature – one hash file at the root of
    a tree. Have a look here: https://github.com/felf/dh
    Clone the repo or simply download the one file and put it into your path.

    I'll be honest here, on two points. I'd really like to be able to do
    this but I have no idea where to or how to even start. My setup for
    series type videos. In a parent directory, where I'd like a tool to
    start, is about 600 directories. On a few occasions, there is another directory inside that one. That directory under the parent is the name
    of the series.

    In its default, my tool ignores directories which have subdirectories. It
    only hashes files in dirs that have no subdirs (leaves in the tree). But
    this can be overridden with the -f option.

    My tool also has an option to skip a number of directories and to process
    only a certain number of directories.

    Sometimes I have a sub directory that has temp files;
    new files I have yet to rename, considering replacing in the main series directory etc. I wouldn't mind having a file with a checksum for each video in the top directory, and even one in the sub directory. As a example.

    TV_Series/

    ├── 77 Sunset Strip (1958)
    │ └── torrent
    ├── Adam-12 (1968)
    ├── Airwolf (1984)

    So with my tool you would do
    $ dh -f -F all TV_Series
    `-F all` causes a checksum file to be created for each data file.

    What
    I'd like, a program that would generate checksums for each file under
    say 77 Sunset and it could skip or include the directory under it.

    Unfortunately I don’t have a skip feature yet that skips specific directories. I could add a feature that looks for a marker file and then
    skips that directory (and its subdirs).

    Might be best if I could switch it on or off. Obviously, I may not want
    to do this for my whole system. I'd like to be able to target
    directories. I have another large directory, lets say not a series but sometimes has remakes, that I'd also like to do. It is kinda set up
    like the above, parent directory with a directory underneath and on occasion one more under that.

    As an example, let's assume you have the following fs tree:

    VIDEO
    ├──TV_Series/
    | ├── 77 Sunset Strip (1958)
    | │ └── torrent
    | ├── Adam-12 (1968)
    | ├── Airwolf (1984)
    |
    ├──Documentaries
    ├──Films
    ├──etc.

    You could run:

    $ find VIDEO -type f | xargs md5sum > digest.log

    The file digest.log will contain md5sum hashes of each of your files within the VIDEO directory and its subdirectories.

    To check if any of these files have changed, become corrupted, etc. you can run:

    $ md5sum -c digest.log | grep FAILED

    If you want to compare the contents of the same VIDEO directory on a back up,
    you can copy the same digest file with its hashes over to the backup top directory and run again:

    $ md5sum -c digest.log | grep FAILED

    My tool does this as well. ;-)
    In check mode, it recurses, looks for hash files and if it finds them,
    checks all hashes. There is also an option to only check paths and
    filenames, not hashes. This allows to quickly find files that have been renamed or deleted since the hash file was created.

    One thing I worry about is not just memory problems, drive failure but
    also just some random error or even bit rot. Some of these files are rarely changed or even touched. I'd like a way to detect problems and there may even be a software tool that does this with some setup,
    reminds me of Kbackup where you can select what to backup or leave out
    on a directory or even individual file level.

    Well that could be covered with ZFS, especially with a redundant pool so it can repair itself. Otherwise it will only identify the bitrot, but not be
    able to fix it.

    Right now, I suspect my backup copy is likely better than my main copy.

    The problem is: if they differ, how do you know which one is good apart from watching one from start to finish? You could use vbindiff to first find the part that changed. That will at least tell you where the difference is, so
    you could seek to the area of the position in the video.

    This should work in rsync terms:

    rsync -v --checksum --delete --recursive --dry-run SOURCE/ DESTINATION

    It will output a list of files which have been deleted from the SOURCE and will need to be deleted at the DESTINATION directory.

    If you look at changed *and* deleted files in one run, better use -i instead of -v.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    If two processes are running concurrently,
    the less important will take processor time away from the more important one.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbbdwoACgkQizG+tUDU MMpwahAAx4iULwvOmIpbw4IG30yMiNnkYK9Fq5yVGgL6dfM3Izint9mvHpEmOKl4 wg1gJQf8V8dDJFAI2al/ihP11+phbbVmnxwW/lked68JcRu7Te84tUsqLdi0mPp8 jK4zycqXRt9UzcUEyBW2+u75CHmAI4qRUOHhPvpoUeaUBmHmOm32GSWX79fjKtIe O47YvdUzIL9Y/RJFKg1eK1LxOvu01vGXkmPiwjk6HAGNtMq/+7T3SHpnkAPbStQn 7X7YixB3yyxuxYE0mn90hnIGBu+vzNCkyxo5E0MiDWhf6XnAD+SMQK+wcfazt+Zo OHaI+aOhpral6Xt5CfUyNKEbJNolG4oHE8LePfcU0MP5XDArsghWQW0wOjwVgFba U5bYOoFmmGmyBU0Ox/9Z9o1EGGuPZ2+q5ZZJmnNEFFwttZcjhbORIKvA6A0UBIuy Knc8IX+m0vGFdM5FFbAFcRWWt/FOZ6WGbLeXnpwKawK9+gOryqn2tvEJ22ZndppQ gqrmRV/HWeYu/eNfYzC8iofSNqTZk9fq/sg6+Q0fj9UbVCKRGxhJ7ZSyUlZd7mcr qFhikTEAH46u9gKbzT5W7RZJ4CBityaAEcuWckEq6Ar8oBIvgaruYZ/WmBZJCXW7 euvYVqBTOFzGodxUu
  • From Michael@21:1/5 to All on Sat Sep 7 00:17:42 2024
    On Friday 6 September 2024 21:15:32 BST Dale wrote:

    Update. New memory sticks i bought came in today. I ran memtest from
    Gentoo Live boot media and it passed. Of course, the last pair passed
    when new too so let's hope this one lasts longer. Much longer.

    Run each new stick on its own overnight. Some times errors do not show up until a few full cycles of tests have been run.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbbjZYACgkQseqq9sKV ZxlQZxAA4fHZhgHck9/tjT+ir7U2A5zCa1VrfQXzF8b5JRFEYcT1nxDI6AGRuMbb WX2iNOZMC5eGhW9rZvawG6bBLS7BwVSRhML3INxlM4w8yePOa0AY803MCYLxZMDB 9FTy5ow8qq892QBH7SFrCwYS6YwMf76UDXdG7K0Y7a4fRIlChnil4CTQFeNvJCJS ElPFBTHgNgFJpcLp0x4kmWU8YNeihOOwHBiZgz08NnUWwyqyuTC1Xz0OUG0T1fyT V2TdKCDyAqBA4looTAHzkWaEBYkaL+0Rbt6Bx/xyb05ZBiI031W54hScOJlEJUEk sjtUOk+WW6NkHYDlrT3dQHdtdnZ22ATZ1+c7U84dpo8D9evMBptLDQnDGiqgG3dN 1uow/sOQ98xF6QB26iuIVxzrtThVJi/rzI4uGl73DDZevbVgK5/Yep/+wz+dERro GxwcJRgBM3I8y/8tRUpUQFJNplg2XyQSiOc96SHsXyrr0ZwtDECo3BnGSunrXYpp cu3ii4yQ9fKYV2H03pSZ5f+c1qpduxP/XuLfj1MGgqnLmJW/aTQZnIlS5kZquQ8G Z6/lvbewG8XTkZ1OsUng1ZdzJGSo76+Fxcwhx7Yd/mgSjcAcp5fDFTEdCBa5dyxH PVs4DtS6d54PLJnYqsq2RQsN1YWKmxiBts5U35JpV7mToxFRM9Y=
    =biPn
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Sep 7 10:37:04 2024
    On Friday 6 September 2024 22:41:33 BST Frank Steinmetzger wrote:
    Am Fri, Sep 06, 2024 at 01:21:20PM +0100 schrieb Michael:
    find path-to-directory/ -type f | xargs md5sum > digest.log

    then to compare with a backup of the same directory you could run:

    md5sum -c digest.log | grep FAILED

    I had a quick look at the manpage: with md5sum --quiet you can omit the grep part.

    Good catch. You can tell I didn't spend much effort to come up with this. ;-)


    Someone more knowledgeable should be able to knock out some clever python
    script to do the same at speed.

    And that is exactly what I have written for myself over the last 11 years. I call it dh (short for dirhash). As I described in the previous mail, I use
    it to create one hash files per directory. But it also supports one hash
    file per data file and – a rather new feature – one hash file at the root of a tree. Have a look here: https://github.com/felf/dh
    Clone the repo or simply download the one file and put it into your path.

    Nice! I've tested it briefly here. You've put quite some effort into this. Thank you Frank!

    Probably not your use case, but I wonder how it can be used to compare SOURCE to DESTINATION where SOURCE is the original fs and DESTINATION is some backup, without having to copy over manually all different directory/subdirectory Checksums.md5 files.

    I suppose rsync can be used for the comparison to a backup fs anyway, your script would be duplicating a function unnecessarily.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbcHsAACgkQseqq9sKV Zxn6ahAAm6lNLzLCtFtHECCG0405sjVRaabJ3Y1oj1gTYL1XeO5CYCOgmyV+Bj/x oJadw6Wkkwv/ow/B4wsVTyXe6yZCIAk1g/fX9iBy5drkKhFqIKmNQyF4B6WkCw5d sDe9orP8/VqMTINd3c2ZA9WIvtfapn8Q1xsFEtYc2jWvpf/A93zzIntwlk3TsJOx AA7hC7C+XbODTBCB/DNIo5V/mE9t3qE5nSS+bXgStjvhTvSFDsCmJazDsjhFGY9a bjFH2I+NujbVaA2ER4LX2Wxhh/XRwXrUf32JFRO311DoXL93L7qLffp0XUJiMgNM eYziFk87CTd1EAEbIQAJBGDxRkLphwE6+4fc0WFRt/G6AKlh17CpTrI8rapOcJk/ TLh442/jU7Dv4RYf3Adj/jQO8iumfv05bZuH1IslmRtWn0xDtEAS9lolCLUGD1Yb pCFA2yUjLqY5aYfM0CS1OkfvRM014j8lj2U7xOD6I2ZCQ130bxoG/nY+RHlUtUK+ ExVxCGslU87a6nSt7laHJvMttSgqydGyVrTVvMx4MlEBqrLFmhaq6OB5/nI99uMb i5oHmgF/hbNGc31WvY84SUBzgcSzzP6Q1coreuE6sK89OMiDbwWVDmYkvXbOZsTn SlLjZhH0TkScmJoiPlgQnp/BD7yWj8Vl90LNc2JeReXNOChmzVk=
    =cxET
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Sat Sep 7 18:30:01 2024
    Am Sat, Sep 07, 2024 at 10:37:04AM +0100 schrieb Michael:
    On Friday 6 September 2024 22:41:33 BST Frank Steinmetzger wrote:

    Someone more knowledgeable should be able to knock out some clever python
    script to do the same at speed.

    And that is exactly what I have written for myself over the last 11 years. I
    call it dh (short for dirhash). As I described in the previous mail, I use it to create one hash files per directory. But it also supports one hash file per data file and – a rather new feature – one hash file at the root
    of a tree. Have a look here: https://github.com/felf/dh
    Clone the repo or simply download the one file and put it into your path.

    Nice! I've tested it briefly here. You've put quite some effort into this.
    Thank you Frank!

    Probably not your use case, but I wonder how it can be used to compare SOURCE
    to DESTINATION where SOURCE is the original fs and DESTINATION is some backup,
    without having to copy over manually all different directory/subdirectory Checksums.md5 files.

    When I have this problem, I usually diff the checksum files with mc or vim, because I don’t usually have to check many directories and files. You could use Krusader, a two-panel file manager. This has a synchronise tool with a file filter, so you synchronize two sides, check for file content and filter for *.md5.

    I suppose rsync can be used for the comparison to a backup fs anyway, your script would be duplicating a function unnecessarily.

    I believe rsync is capable of only syncing only files that match a pattern. But it was not very easy to achieve, I think.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    They say that memory is the second thing to go...
    I forgot what the first thing was.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbcfxwACgkQizG+tUDU MMrGKg//ZaTPdNTkxVo2Jh1tQAA0FrMGuuW6EkNh4AR6xwDfTGp8RupP9hM7Qazb b4Meo71dE27aKakdf5W5gBzAQkHpJYqFDHYYB6bxHwsLCeJDFMBId7/8ZInzE8Dw MGzhvbUKS+zvzER98XFDd9Z2EOq5KU951taWnFtAXFs3L4ozD5QosmVmJweToe8P QD1oFAATSED2MkxTBV55w0xmPae4050R2cFNYtVVC7UGp93i4MEbS/Suamudh82r sqZZYH6TPL9OSSZ6qZou+rMAo80pHApQa3v8SDtjeXDyhMOXH4ZyumDUl3G3REDO zO3SH/laHt6uVemJq7q5sW+rLfxxxaL6iGUaMISq/zK2kbG+FhLP6UTBvlJoI7Mc vMTD+1mUYn0o8l1I4iAtr6KR+APz1ZO8ASijszBkp3pA5NeY94WYJaEuPz8vtlTG mci7Yol1ECZQ3Fm/sXLYA9PKvTA2PJuJvZx2JH2zU1AVKZNixa090+fgUINUgnyo FdujszHKZ2qda7INDpMZFH02QOvapeAer4sfVKk1emTb9bZyJF9m7lfzNBmnyLxt TYvUXQ8BEVpbW/JG8K1Kv4jcKdfhxdNSIBxlNFyx+GXb90WAkuY83rreD858YKpm P+mPFc1j+ijuLn/nlY0TKoFNBiLfBtQCKE7n6RD4N+OR+TPX0Ks=
  • From Wols Lists@21:1/5 to Michael on Sun Sep 8 00:50:01 2024
    On 05/09/2024 23:06, Michael wrote:
    There is also dm-verity for a more involved solution. I think for Dale something like this should work:

    Snag is, I think dm-verity (or do you actually mean dm-integrity, which
    is what I use) merely checks that what you read from disk is what you
    wrote to disk. If the ram corrupted it before it was written, I don't
    think either of them will detect it.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Dale on Sun Sep 8 00:20:01 2024
    On 04/09/2024 01:39, Dale wrote:
    I've seen that before too.  I'm hoping not.  I may shutdown my rig,
    remove and reinstall the memory and then test it for a bit.  May be a
    bad connection.  It has worked well for the past couple months tho.
    Still, it is possible to either be a bad connection or just going bad.

    I've had *MOST* of my self-built systems force me to remove and replace
    the ram several times before the system was happy.

    And when a shop "fixed" my computer for me (replacing a mobo that wasn't
    broken - I told them I thought it needed a bios upgrade and I was
    right!) they also messed up the ram. Memory is supposed to go in in
    matched pairs. So what do they do? One stick in each pair of slots - the
    thing ran like a sloth on tranquillisers! As soon as I realised what
    they'd done and put both sticks in the same pair, it was MUCH faster.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Sep 8 10:37:01 2024
    On Saturday 7 September 2024 23:48:43 BST Wols Lists wrote:
    On 05/09/2024 23:06, Michael wrote:
    There is also dm-verity for a more involved solution. I think for Dale something like this should work:
    Snag is, I think dm-verity (or do you actually mean dm-integrity, which
    is what I use) merely checks that what you read from disk is what you
    wrote to disk. If the ram corrupted it before it was written, I don't
    think either of them will detect it.

    Cheers,
    Wol

    My bad, apologies, dm-verity is used to verify the boot path and deals with read-only fs. With FEC it would also be able to recover from some limited
    data corruption. I meant to write *dm-integrity*! Thanks for correcting me. Either way, if the data being written is corrupted due to faulty RAM, the result will be corrupted too.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbdcD0ACgkQseqq9sKV Zxl4+Q/+KIGIaNG4Jag2Jd2WHNkAziUxgY7//morX4WixlzRO7EB0vPtgETZIgqy PyVa+q/7vY6nKqQbXS6Nbmfm1H6O37goK7pnX8W7HP8vYYvG3v6Efh5T9p2LjKqy yaC4vJaKE9+s+ZUnDDyBdG1wUY2h6AvXQYixI4WBXyHX6M7cK9ZniuLaCSwjFesb PS4IYwZA20/dnMJr3aPatkWKln4slTcqnpzsrb6xLRgg+1ahzunQD+J01VrdsdU1 lf/CWMJPzFccElLZmO1qmbothcWyTMFZJHssZe2IvD7INk3CPcqmfHTM83gcuqr9 uh/tCXAA/YVPyOvF8rNKnyBbPkCHkIJH7N/cI8az2MoANb4HA5iRtqtH5eQwqbm8 MW2v1kVWsmSeXIvzESadJ2nGHxS3h9T6Kvtn2okjncYgF8mrhW44GErX3lA3bn1w FHULItMmx+irvlM9ALsxdXmHwZStpO9rlQT+AAhFgZc0ENmPOvcas8El/YeG+VDH Z5XXikTn8BxvjPB9ASAX+7gt6+vky7geGlJ+BEu8qpn8ebhptD196yQ/OFC1DW2C L6G1Q4h9Nv187GWt7xTgLr+l9m2c20uEuZ7NGrE8Mh5t16KKau1LvXGbsKNttrK6 4B6Fis84yUiPGpX9Ue3iRgPYMKypIwHa7uXZPubKQSb2RXxN6lE=
    =Nu+V
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to unless the MoBo OEM on Sun Sep 8 10:15:48 2024
    On Saturday 7 September 2024 23:12:41 BST Wols Lists wrote:
    On 04/09/2024 01:39, Dale wrote:
    I've seen that before too. I'm hoping not. I may shutdown my rig,
    remove and reinstall the memory and then test it for a bit. May be a
    bad connection. It has worked well for the past couple months tho.
    Still, it is possible to either be a bad connection or just going bad.

    I've had *MOST* of my self-built systems force me to remove and replace
    the ram several times before the system was happy.

    And when a shop "fixed" my computer for me (replacing a mobo that wasn't broken - I told them I thought it needed a bios upgrade and I was
    right!) they also messed up the ram. Memory is supposed to go in in
    matched pairs. So what do they do? One stick in each pair of slots - the thing ran like a sloth on tranquillisers!

    The placement of DIMMs depends on the MoBo, its manual would show in which
    slot should DIMM modules be added and the (maximum) size of each stick the
    MoBo can cope with. Normally OEMs provide a list of tested memory brands and models for their MoBos (QVL) and it is recommended to buy something on the list, rather than improvise.

    On ASUS MoBos with 4 slots and 2 DIMMs it is recommended you use slot B2 for one module, slots B2 and A2 for a pair of matched modules and the the
    remaining two slots A1 & B1 for a second pair of matched modules. So, what
    the shop did would be reasonable, unless the MoBo OEM asked for a different configuration.


    As soon as I realised what
    they'd done and put both sticks in the same pair, it was MUCH faster.

    Cheers,
    Wol

    Sometimes, you have to place only one module of a matched pair in and boot the system, let the firmware probe and test the DIMM, before you shut it down to add more memory to it. Whenever RAM does not behave as it should when installing it, it is a prompt for me to go back to the OEM manual for guidance on the peculiarities of their product.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbda0QACgkQseqq9sKV ZxlkARAAqqOhu5v6+tni8FytKSwo1FtUm4rtlsDf5jKUZcFVTEvsH1tvhjaqzuTi 4bo/mnfTKRQHFBj74EdMPN/p5Y+seVxtUV+f3kPtSoWwPTkk2GeTrMEeaAUKFEcD Nmjni4pnJBlGUpXd/HDkqQbm3sK5kfY2Deb2wn0o3vwRadnBunRM4jBQIw6mHFb8 gXQ1d4l2VcBkR6Can59yG38uVqrU1HLe6+chx//wmuGPnuet3vkNTd+EuZfFc0Uc 6YWY3hyRia1ZRSUXhTMjRBMWvMU5Gzv2xUbbSe/YQojC6ajGt2KOczKCgcsNPeVr VwCQp0H90YIyMNpwSuAxuVYUpcLz1DG98kQ420dVsi9AXl3PDN8juwdrgGWIVA45 f6jcylln4kh3DfqO3xHE7f7e6+ahh6ye8mklKnaOfuJkMAa8ljqrSGuALRlRr1R8 dKOEGyb4DQvFxYXhC+9iftArZtlXaH+1U9cUtihQ/et+ZZ7FY6vxSFzYeOd3nKTF LTleWLgfihwUSgyYqkkHmD8lsPX670S1Kmn5Rxdspn4P6ctHrVI8s8voJHGbjiMM +rz0B9UHuWgQJjbwEhM7kFC+WPdcV1A+gRRW2mRrW1HaAzfnBOw/VBe58jnyfOP6 onMqwG0MqX3jKVDY1xmXUGgISeNXUevOXl2D87ucOugBxY2NVVE=
    =Qne+
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Sep 8 14:32:42 2024
    On Sunday 8 September 2024 02:59:04 BST Dale wrote:
    Wols Lists wrote:
    On 04/09/2024 01:39, Dale wrote:
    I've seen that before too. I'm hoping not. I may shutdown my rig,
    remove and reinstall the memory and then test it for a bit. May be a
    bad connection. It has worked well for the past couple months tho.
    Still, it is possible to either be a bad connection or just going bad.

    I've had *MOST* of my self-built systems force me to remove and
    replace the ram several times before the system was happy.

    And when a shop "fixed" my computer for me (replacing a mobo that
    wasn't broken - I told them I thought it needed a bios upgrade and I
    was right!) they also messed up the ram. Memory is supposed to go in
    in matched pairs. So what do they do? One stick in each pair of slots
    - the thing ran like a sloth on tranquillisers! As soon as I realised
    what they'd done and put both sticks in the same pair, it was MUCH
    faster.

    Cheers,
    Wol

    I noticed on the set I had to return, the serial numbers were in
    sequence. One was right after the other. I don't know if that makes
    them a matched set or if they run some test to match them.

    Both. They run a test, if one fails in their hands as opposed to yours, they pick up the next module and test that. So you typically end up with numbers
    in a matched kit which are close enough.


    From my understanding tho, each 'bank' or pair has to be a matched set.
    I did finally find a set of four but it is a different brand. From what
    I read to tho, ASUS trains itself each time you boot up. It finds the
    best setting for each set of memory. It does say that it is usually set
    to a slower speed tho when all four are installed.

    It depends if your MoBo comes with 'daisy chain' or 'T topology' RAM slot configuration. Most consumer grade come with 'daisy chain' configuration and ASUS may also have an "Optimem" function/feature as they call it.

    With 'daisy chain' you should achieve higher max. frequency if you fit 2 matched DIMMs in the slots the manual suggests (typically B2 & A2), than if
    you fit 4 DIMMs to achieve the same total RAM size.

    With 'T topology' you'll achieve a lower frequency with 2 DIMMs, but a higher frequency with 4 DIMMs at the same total RAM size, than you would with a
    'daisy chain' MoBo.

    The ASUS "Optimem" is some automagic run by the firmware of their 'daisy
    chain' MoBos in terms of voltage and signal sequencing, to do the best job it can when you have 4 DIMMs installed.


    Just have to wait
    and see I guess. Oh, when I boot the first couple times with new
    memory, it takes quite a bit longer on the BIOS boot screen. After a
    couple times, it doesn't seem to take so long. Not sure what, but it
    does something.

    The memory controller on the CPU probes the memory module(s) by varying
    voltage and latency until it achieves a reliable result. If you have enabled DOCP as advised here and if provided in the BIOS also selected the RAM frequency of the DIMMs you bought, then the probing ought to take less time:

    https://www.asus.com/support/faq/1042256/

    Unless ... there's something wrong with the system (power, faulty RAM modules, buggy BIOS, etc.).

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbdp3oACgkQseqq9sKV ZxndUg//YMTrLRERA9P4trbx28mADuPURSjhKrlP/A6YdzOgjQvCL8lLJON2EoXn XpGIvdWnW/OgfD798//DUkA5j8ewwx1n/1Me+izJCpUukP8DhYqhnL+vW9J4SbYk svGd1/stKjAx/zmoMdwe0qpQPXcs2pgt7/HBa4As18rEOzDvVqRxNzi4twHq8EqS OfISTrXKZlq91Y4UPdO4W7sCD+pJ+eyOX8VdMmtYMXLXo1t7lEDYKq+dwXfw7YaP ijl3XoDeyJHIEBrYILtGzjQCy2B8J+q3icAMfjktKBWIhcoSCYfwL+3X7pAgCV5o UXadaioI7yLFy60oW/TFCSH7czH/hE/9AsV4TYIFn+9ijok1qlKtXME3AUzYCzrh S4hIX+u75weuwQmN4eOGazik7JUZkIrJr7C2aiOjwd1bcGZ4M2j5uMBRW/gx3GTq f/ZWGso0eq8tAO5RrZmLsx5rR/5NOx+0+lwkWE0orNyWNFbM4x++6p7avXENgUS+ bk3q6fb0QUGegvxWsIN7HkzMrWTwcs5rJmPg0n+Bl+2SHDMXPb3wqdV8yLEkZQ7z asQnThg3tBlT7jXOSwqun/2t/mwLJrWqppITop2Qv39affADiFBtmWbQirr8LadO 7dHtwLh5GLNfg+PzpaNJ7u1R3L72HnBJd1M+xypHsDzZMEGExjE=
    =7r6n
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wol@21:1/5 to Michael on Sun Sep 8 22:30:02 2024
    On 08/09/2024 10:15, Michael wrote:
    The placement of DIMMs depends on the MoBo, its manual would show in which slot should DIMM modules be added and the (maximum) size of each stick the MoBo can cope with. Normally OEMs provide a list of tested memory brands and models for their MoBos (QVL) and it is recommended to buy something on the list, rather than improvise.

    Both old and new mobos are, iirc, 4 x 32GB, and they just swapped the
    RAM over. But again iirc, the new mobo they supplied had two colours of
    ram slots, something like "black, red, black, red". To me that's obvious
    - both sticks in one colour! So - and I guess it was an apprentice who
    didn't know what he was doing - just shoved the ram in the first two slots.

    Two major blunders from a shop - a brand new mobo won't boot - the FIRST suspect is an out-of-date bios. And then the second blunder - don't
    check the ram is in the right slots. That's one shop I certainly won't
    visit again.

    (The only reason I asked a shop to fix it was because I didn't have an
    old chip so couldn't boot the board to upgrade the bios to work with the
    chip I had ...)

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Mon Sep 16 00:40:01 2024
    Am Sat, Sep 14, 2024 at 02:46:35PM -0500 schrieb Dale:

    I was running the command again and when I was checking on it, it
    stopped with this error. 



      File "/root/dh", line 1209, in <module>
        main()
      File "/root/dh", line 1184, in main
        directory_hash(dir_path, '', dir_files, checksums)
      File "/root/dh", line 1007, in directory_hash
        os.path.basename(old_sums[filename][1])                      ~~~~~~~~^^^^^^^^^^
    KeyError: 'Some Video.mp4'

    What was the exact command with which you ran it?
    Apparently the directory has a file 'Some Video.mp4', which was not listed
    in an existing checksum file.

    I also noticed a problem recently which happens if you give dh a directory
    as argument which has no checksum file in it. Or something like it, I can’t reproduce it from memory right now. I have been doing some refactoring recently in order to get one-file-per-tree mode working.

    I was doing a second run because I updated some files.  So, it was
    skipping some and creating new for some new ones.  This is the command I
    was running, which may not be the best way. 


    /root/dh -c -f -F 1Checksums.md5 -v

    Yeah, using the -c option will clobber any old checksums and re-read all
    files fresh. If you only changed a few files, using the -u option will drastically increase speed because only the changed files will be read.
    Use the -d option to clean up dangling entries from checksum files.


    Also, what is the best way to handle this type of situation.  Let's say
    I have a set of videos.  Later on I get a better set of videos, higher resolution or something.  I copy those to a temporary directory then use your dmv script from a while back to replace the old files with the new
    files but with identical names.  Thing is, file is different, sometimes
    a lot different.  What is the best way to get it to update the checksums
    for the changed files?  Is the command above correct? 

    dh has some smarts built-in. If you changed a file, then its modification timestamp will get udpated. When dh runs in -u mode and it finds a file
    whose timestamp is newer than its associated checksum file, that means the file may have been altered since the creation of that checksum. So dh will re-hash the file and replace the checksum in the checksum file.


    I'm sometimes pretty good at finding software bugs.  But hey, it just
    makes your software better.  ;-) 

    Me too, usually. If it’s not my software, anyways. ^^
    But I think you may be the first other of that tool other than me.

    --
    Grüße | Greetings | Salut | Qapla’
    Someone who eats oats for 200 years becomes very old.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbnX9oACgkQizG+tUDU MMpYmg/+KAgBmxT6S7a8WChGoZpB2/Z6SJnfX+IEgdoljDa+/w6SiQ3IhmPTqSJJ SGllF3jCShD87BXgD7FZlAD9r/7gpV6VqJQLNFklb6LMfSmyfV2WhCgekhSnnwnG HaX5WUvRrNliuIDqeJN69Qa2Dicx0LXNMuWSdRsv5q9kQ6lu3UgUfGcMZdgt8Mh7 2SDW7AxslO3BefB0Tyc1wdh+0wyUWtWsa7lhjyKlnaYi3RKvZo0htK13zGicYYpE h8p1mhUmLF+HSdn6P6YWXUnQUGktqIYR7zjriMXxyGwsF/s+JynMayoAIT+XYuIi OgnITXa9pNzhy87xHPWIi2zn817KPl1f9ZH5XDw1r+6D82K4f1d0aS0IkcaDfwNb oAq+VOhdJuPIUHy5ybg5CTf5fLIMXUxj6kAlaRRltamdh7572rHKCfkqOYP9cmgf lQQf/QdphN9xCaEtxIDJX5RRVTcaI6DO8qAubHD6tdF6aAvBT6YcFpAlxSa9bDjU xT0Fn1UYwIIPQM2jXp1HG22AzDktT4qFXPEQUzu7E2h+thJBkkRIb//yJfzKyDOF xeSlSAi8SONAMvlHAlVYHWJmSEjErjgrTOjqPSAdcbMBfEd1bC87vlxDEgMMXumQ n32FfMkeeNLJgIqYlAbVbfIpsYJJ6tiLG0lllIfYO0V1e1sZQ+g=
    =5RpX
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)