bug#29436: SEGV_MAPERR with disk_set

Grady Martin <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <20171125115312.GA14328@creation>
Hello.  I am here to follow orders.

■ LANG=en_US.utf8 sudo parted /dev/sde
GNU Parted 3.2
Error: /dev/sde: unrecognised disk label
You found a bug in GNU Parted! Here's what you have to do:
...
Command History:
disk_set pmbr_boot on
Error: SEGV_MAPERR (Address not mapped to object)

■ LANG=en_US.utf8 sudo parted /dev/sde unit co print unit s print
Error: /dev/sde: unrecognised disk label
Model: SanDisk Cruzer (scsi)
Disk /dev/sde: 4000MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Error: /dev/sde: unrecognised disk label
Model: SanDisk Cruzer (scsi)
Disk /dev/sde: 7813120s
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

■ uname -srvmo
Linux 4.13.12-1-ARCH #1 SMP PREEMPT Wed Nov 8 11:54:06 CET 2017 x86_64 GNU/Linux

/dev/sde is a USB media stick dd'ed with the following command:

■ sudo dd of=/dev/sde if=./crucial-m4-070h-07-00.iso status=progress ; sync

./crucial-m4-070h-07-00.iso is a CD-ROM image available from the archive here:

http://uk.crucial.com/wcsstore/CrucialSAS/firmware/m4/070H/crucial-m4-070h-07-00.zip

Thank you for maintaining parted.  Free software is good for the world.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.