• I am about to give up

    From gene heskett@21:1/5 to All on Sun Nov 10 13:50:02 2024
    I have just spent the better part of the night trying to copy a 37k firmware.bin file to an sd card. file generated on a bananapi-m5 but
    getting no perms responses.

    I copyed the file to my /home/gene partition, mkdir .local/sdb1 (which
    is what dmesg calls it when the 32G micro-sd in inserted into the card
    reader) Spent 20 minutes verifying I owned the whole path, chowned the
    file to me, then finally was able copy it to the micro0-sd. unmounted
    the card and took it to the printer. Printer didn't take it, still has
    marlin firmware in it. Shut it of, bring card back to reader and its
    blanked!!! The file should not be erased, but to prevent loops, s/b
    upper-cased to indicate its been read. 2 reboots later the printer card
    still idents as running marlin, not klipper.

    Something is fubar someplace as even sudo has very low success at fixing
    this. And I did the bookworm kernel update along with 122 other files
    and rebooted about 21:00 last before starting this. uname -a confirms it gene@coyote:~$ uname -a
    Linux coyote 6.1.0-27-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.115-1
    (2024-11-01) x86_64 GNU/Linux

    Whats wrong?

    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew M.A. Cater@21:1/5 to gene heskett on Sun Nov 10 14:50:01 2024
    On Sun, Nov 10, 2024 at 07:49:09AM -0500, gene heskett wrote:
    I have just spent the better part of the night trying to copy a 37k firmware.bin file to an sd card. file generated on a bananapi-m5 but getting no perms responses.


    Gene,

    Exactly WHAT did you do. Do you have a command history which shows the
    exact commands you ran?

    What are you trying to do: are you trying to add a firmware file to an
    existing image? [In other words: what was there on the card before you
    started? ]

    How are you mounting the card on the other machine / printer or whatever?

    I copyed the file to my /home/gene partition, mkdir .local/sdb1 (which is what dmesg calls it when the 32G micro-sd in inserted into the card reader) Spent 20 minutes verifying I owned the whole path, chowned the file to me, then finally was able copy it to the micro0-sd. unmounted the card and took it to the printer. Printer didn't take it, still has marlin firmware in it. Shut it of, bring card back to reader and its blanked!!! The file should not be erased, but to prevent loops, s/b upper-cased to indicate its been read.
    2 reboots later the printer card still idents as running marlin, not
    klipper.


    If you have a micro-SD card, place it in one of the larger adapters,
    Place that directly in the machine or in a USB-SD card reader
    As you plug the card in, what does dmesg say?

    Something is fubar someplace as even sudo has very low success at fixing this. And I did the bookworm kernel update along with 122 other files and rebooted about 21:00 last before starting this. uname -a confirms it gene@coyote:~$ uname -a
    Linux coyote 6.1.0-27-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux

    For bookworm up to date: /etc/debian_version should show 12.8
    /etc/os-release will just show 12 and bookworm

    Whats wrong?


    We have too few details of what you've actually done?

    Cheers, Gene Heskett, CET.

    Cheers and all the best, as ever,

    Andy

    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From john doe@21:1/5 to gene heskett on Mon Nov 11 09:40:01 2024
    On 11/10/24 13:49, gene heskett wrote:
    I have just spent the better part of the night trying to copy a 37k firmware.bin file to an sd card. file generated on a bananapi-m5 but
    getting no perms responses.


    How is this related to Debian, what is the point of a subject that is as obscure as possible.

    Assuming that you realy want help, please try to be mindful of the time
    and efforts PPLs are putting into answering on this list.

    Just to be clear, I'm as frustrated as you are.

    --
    John Doe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gene heskett@21:1/5 to john doe on Mon Nov 11 10:30:01 2024
    On 11/11/24 03:32, john doe wrote:
    On 11/10/24 13:49, gene heskett wrote:
    I have just spent the better part of the night trying to copy a 37k
    firmware.bin file to an sd card. file generated on a bananapi-m5 but
    getting no perms responses.


    How is this related to Debian, what is the point of a subject that is as obscure as possible.

    As described in the OP, this all took place on an uptodate bookworm 12.8
    system because It had the only working card reader.

    Assuming that you realy want help, please try to be mindful of the time
    and efforts  PPLs are putting into answering on this list.

    Just to be clear, I'm as frustrated as you are.

    After redoing the copy for the third time on this bookworm system, and
    triple checking by unmounting and remount the card 3 times to see if it survived, I took the card back to the printer, and that time it worked.
    The printer is a highly rebuilt machine now unlike any other of its ik
    on the planet, it may be producing stuff by tomorrow night as I have a
    clock spring in the steering column to replace first thing later today.
    Nothing except the horn works in my King Ranch F250 pickup.

    Normally, when doing this operation, I can sudo copy a root:root file
    but since the transfer card is vfat, It can't change the ownership
    anyway. But the machine reading that file is vfat too which has no
    concept of ownership, doesn't care. Suddenly I have zero write perms to anyplace forever. That is whats new. Apparently with the update to 12.8.

    --
    John Doe

    .


    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to gene heskett on Mon Nov 11 11:00:01 2024
    On Mon, Nov 11, 2024 at 04:27:38AM -0500, gene heskett wrote:

    [29 lines of pointless narrative removed]

    Suddenly I have zero write perms to anyplace forever. That is whats
    new. Apparently with the update to 12.8.

    No one will ever be able to explain this for you because as usual you do
    not show us the exact commands you typed and the exact results you got
    from that.

    Two main possibilities here:

    a) An update to Debian caused the fundamental basics of filesystem
    permissions to suddenly break down and ruin your day, or;

    b) You were confused and typed the wrong thing.

    Which do you think is more likely?

    Very few people will spend their time trying to debug this when you
    don't show us what you did. Of those who do there will only be an
    extremely long-winded and frustrating thread ahead for them until you
    provide the most basic thing that is as usual missing in your posts:
    verbatim logs of what you did and what the results were, not your
    idiosyncratic narrative.

    I am guessing you did not record what you did, so it's now lost to
    history and you will continue in the belief that you encountered some
    huge bug in Debian that you have heroically overcome by unclear means.
    If it's there I'd love to see it, and see it fixed, but realistically it
    is not there.

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

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