Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274443 > unrolled thread

I am about to give up

Started bygene heskett <gheskett@shentel.net>
First post2024-11-10 13:50 +0100
Last post2024-11-11 11:00 +0100
Articles 6 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  I am about to give up gene heskett <gheskett@shentel.net> - 2024-11-10 13:50 +0100
    Re: I am about to give up "Andrew M.A. Cater" <amacater@einval.com> - 2024-11-10 14:50 +0100
    Re: I am about to give up Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-10 17:30 +0100
    OT: Re: I am about to give up john doe <johndoe65534@mail.com> - 2024-11-11 09:40 +0100
      Re: OT: Re: I am about to give up gene heskett <gheskett@shentel.net> - 2024-11-11 10:30 +0100
        Re: OT: Re: I am about to give up Andy Smith <andy@strugglers.net> - 2024-11-11 11:00 +0100

#274443 — I am about to give up

Fromgene heskett <gheskett@shentel.net>
Date2024-11-10 13:50 +0100
SubjectI am about to give up
Message-ID<JHfya-7Y0x-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#274445

From"Andrew M.A. Cater" <amacater@einval.com>
Date2024-11-10 14:50 +0100
Message-ID<JHgud-7YEK-3@gated-at.bofh.it>
In reply to#274443
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
> 

[toc] | [prev] | [next] | [standalone]


#274448

FromTimothy M Butterworth <timothy.m.butterworth@gmail.com>
Date2024-11-10 17:30 +0100
Message-ID<JHiZ3-80eh-3@gated-at.bofh.it>
In reply to#274443

[Multipart message — attachments visible in raw view] — view raw

On Sun, Nov 10, 2024 at 7:49 AM gene heskett <gheskett@shentel.net> 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.
>
> I copyed the file to my /home/gene partition, mkdir .local/sdb1 (which


Try This:

mkdir /home/gene/sdcard
mount /dev/sdb1 /home/gene/sdcard

Copy the file to /home/gene/sdcard

sync

umount /dev/sdb1


> 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
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

[toc] | [prev] | [next] | [standalone]


#274463 — OT: Re: I am about to give up

Fromjohn doe <johndoe65534@mail.com>
Date2024-11-11 09:40 +0100
SubjectOT: Re: I am about to give up
Message-ID<JHy7L-89wQ-3@gated-at.bofh.it>
In reply to#274443
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

[toc] | [prev] | [next] | [standalone]


#274464 — Re: OT: Re: I am about to give up

Fromgene heskett <gheskett@shentel.net>
Date2024-11-11 10:30 +0100
SubjectRe: OT: Re: I am about to give up
Message-ID<JHyU9-8a2o-3@gated-at.bofh.it>
In reply to#274463
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

[toc] | [prev] | [next] | [standalone]


#274465 — Re: OT: Re: I am about to give up

FromAndy Smith <andy@strugglers.net>
Date2024-11-11 11:00 +0100
SubjectRe: OT: Re: I am about to give up
Message-ID<JHznb-8abV-7@gated-at.bofh.it>
In reply to#274464
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web