MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.77k stars 494 forks source link

Radxa Zero 3W - Format eMMC fails Report 62215187-eddb-4247-9feb-69f6d693802e #7154

Open Clumpton opened 1 month ago

Clumpton commented 1 month ago

Creating a bug report/issue

Required Information

Details:

Steps to reproduce:

  1. Run dietpi-Drive Manager as root
  2. Request format of on-board eMMc

    Expected behaviour:

    • Drive should be formatted

      Actual behaviour:

    • Operation not permitted

      Extra details:

    • This is the latest Radxa Zero 3 W, has wifi but no Ethernet

      Additional logs:

      
      dd: error writing '/dev/mmcblk0boot0': Operation not permitted
MichaIng commented 1 month ago

Hmm, /dev/mmcblk0boot0 AFAIK is not the actual eMMC, those are some additional storages which appear with some SBCs and kernel versions which I also didn't fully understand. Probably uncommon SPI devices.

Can you try to switch to from partition format mode to drive format mode? Then dev/mmcblk0 as a whole should be formatted, with a new partition table. I'll try to exclude those *bootN devices when formatting in partition mode.

Clumpton commented 1 month ago

Hi, Thanks for the quick reply. Ran the command on dev/mmcblk0, first time it gave an error on dev/mmcblk0boot1 (not boot0), second try worked fine and created /dev/mmcblk0p1. :thumbsup:

------ Original Message ------ From: "MichaIng" @.> To: "MichaIng/DietPi" @.> Cc: "Clive" @.>; "Author" @.> Sent: 11/07/2024 21:39:05 Subject: Re: [MichaIng/DietPi] Radxa Zero 3W - Format eMMC fails Report 62215187-eddb-4247-9feb-69f6d693802e (Issue #7154)

Hmm, /dev/mmcblk0boot0 AFAIK is not the actual eMMC, those are some additional storages which appear with some SBCs and kernel versions which I also didn't fully understand. Probably uncommon SPI devices.

Can you try to switch to from partition format mode to drive format mode? Then dev/mmcblk0 as a whole should be formatted, with a new partition table. I'll try to exclude those *bootN devices when formatting in partition mode.

— Reply to this email directly, view it on GitHub https://github.com/MichaIng/DietPi/issues/7154#issuecomment-2223735992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOCQF6ACCBWZRU6XN225HCDZL3NNTAVCNFSM6AAAAABKXRJDYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTG4ZTKOJZGI. You are receiving this because you authored the thread.Message ID: @.***>