Package: parted;
Reported by: Brad McClung <computermanbrad <at> gmail.com>
Date: Tue, 7 Jul 2020 14:46:01 UTC
Severity: normal
To reply to this bug, email your comments to 42244 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-parted <at> gnu.org
:bug#42244
; Package parted
.
(Tue, 07 Jul 2020 14:46:01 GMT) Full text and rfc822 format available.Brad McClung <computermanbrad <at> gmail.com>
:bug-parted <at> gnu.org
.
(Tue, 07 Jul 2020 14:46:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Brad McClung <computermanbrad <at> gmail.com> To: bug-parted <at> gnu.org Date: Tue, 7 Jul 2020 05:47:07 -0700
[Message part 1 (text/plain, inline)]
$ sudo parted /dev/sdb GNU Parted 3.3 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) help align-check TYPE N check partition N for TYPE(min|opt) alignment help [COMMAND] print general help, or help on COMMAND mklabel,mktable LABEL-TYPE create a new disklabel (partition table) mkpart PART-TYPE [FS-TYPE] START END make a partition name NUMBER NAME name partition NUMBER as NAME print [devices|free|list,all|NUMBER] display the partition table, available devices, free space, all found partitions, or a particular partition quit exit program rescue START END rescue a lost partition near START and END resizepart NUMBER END resize partition NUMBER rm NUMBER delete partition NUMBER select DEVICE choose the device to edit disk_set FLAG STATE change the FLAG on selected device disk_toggle [FLAG] toggle the state of FLAG on selected device set NUMBER FLAG STATE change the FLAG on partition NUMBER toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER unit UNIT set the default unit to UNIT version display the version number and copyright information of GNU Parted (parted) align-check opt 1 1 aligned (parted) align-check opt 2 2 aligned (parted) align-check opt 3 3 not aligned: 97677310s % 2048s != 0s (parted) align-check opt 4 Error: Partition doesn't exist. (parted) resizepart 3 Warning: Partition /dev/sdb3 is being u Brad McClung 530-392-8302 sed. Are you sure you want to continue? Yes/No? no (parted) align-check opt 5 5 aligned (parted) print devices /dev/sdb (120GB) (parted) print free Backtrace has 11 calls on stack: 11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x49) [0x7f1212d6e6a9] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x236ea) [0x7f1212d846ea] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x237e3) [0x7f1212d847e3] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x24f4b) [0x7f1212d85f4b] 7: /lib/x86_64-linux-gnu/libparted.so.2(+0x122fa) [0x7f1212d732fa] 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_set_flag+0x69) [0x7f1212d73929] 5: parted(+0x8bcb) [0x563d15d14bcb] 4: parted(interactive_mode+0x12c) [0x563d15d1acac] 3: parted(main+0x139b) [0x563d15d1380b] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1212b160b3] 1: parted(_start+0x2e) [0x563d15d1389e] You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (3.3) along with the error message below, the output of parted DEVICE unit co print unit s print and the following history of commands you entered. Also include any additional information about your setup you consider important. Assertion (part->disk->dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0) at ../../../libparted/labels/dos.c:591 in function probe_filesystem_for_geom() failed. Aborted $ sudo fdisk /dev/sdb Welcome to fdisk (util-linux 2.34). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sdb: 111.81 GiB, 120034123776 bytes, 234441648 sectors Disk model: SPCC Solid State Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xfc798011 Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sdb2 206848 97676521 97469674 46.5G 7 HPFS/NTFS/exFAT /dev/sdb3 97677310 234440983 136763674 65.2G 5 Extended /dev/sdb5 97677312 234440983 136763672 65.2G 83 Linux $ sudo hdparm -I /dev/sdb /dev/sdb: ATA device, with non-removable media Model Number: SPCC Solid State Disk Serial Number: P1602347000000003975 Firmware Revision: V2.8 Media Serial Num: MM32g16K4CE1MABT5200 Media Manufacturer: Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 Standards: Used: unknown (minor revision code 0x011b) Supported: 10 9 8 7 6 5 Likely used: 10 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 16514064 LBA user addressable sectors: 234441648 LBA48 user addressable sectors: 234441648 Logical Sector size: 512 bytes Physical Sector size: 512 bytes Logical Sector-0 offset: 0 bytes device size with M = 1024*1024: 114473 MBytes device size with M = 1000*1000: 120034 MBytes (120 GB) cache/buffer size = unknown Nominal Media Rotation Rate: Solid State Device Capabilities: LBA, IORDY(can be disabled) Queue depth: 32 Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 1 Current = 1 Advanced power management level: disabled DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * SMART feature set * Power Management feature set * Write cache * Look-ahead * WRITE_BUFFER command * READ_BUFFER command * NOP cmd * DOWNLOAD_MICROCODE Advanced Power Management feature set * 48-bit Address feature set * Mandatory FLUSH_CACHE * FLUSH_CACHE_EXT * General Purpose Logging feature set * WRITE_{DMA|MULTIPLE}_FUA_EXT * 64-bit World wide name * WRITE_UNCORRECTABLE_EXT command * {READ,WRITE}_DMA_EXT_GPL commands * Segmented DOWNLOAD_MICROCODE * Gen1 signaling speed (1.5Gb/s) * Gen2 signaling speed (3.0Gb/s) * Gen3 signaling speed (6.0Gb/s) * Native Command Queueing (NCQ) * Host automatic Partial to Slumber transitions * Device automatic Partial to Slumber transitions * READ_LOG_DMA_EXT equivalent to READ_LOG_EXT * DMA Setup Auto-Activate optimization Device Sleep (DEVSLP) * WRITE BUFFER DMA command * READ BUFFER DMA command * Data Set Management TRIM supported (limit 8 blocks) * Deterministic read ZEROs after TRIM Logical Unit WWN Device Identifier: 502b2a201d1c1b1a NAA : 5 IEEE OUI : 02b2a2 Unique ID : 01d1c1b1a Device Sleep: DEVSLP Exit Timeout (DETO): 20 ms (drive) Minimum DEVSLP Assertion Time (MDAT): 10 ms (drive) Checksum: correct Disk: /dev/sdb Size: 111.81 GiB, 120034123776 bytes, 234441648 sectors Label: dos, identifier: 0xfc798011 Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sdb2 206848 97676521 97469674 46.5G 7 HPFS/NTFS/exFAT /dev/sdb3 97677310 234440983 136763674 65.2G 5 Extended >> └─/dev/sdb5 97677312 234440983 136763672 65.2G 83 Linux ┌──────────────────────────────────────────────────────────────────────────────────────────┐ │ Partition type: Linux (83) │ │Filesystem UUID: 2fc7d0a5-e81d-4bac-8e2b-26eb2185519f │ │ Filesystem: ext4 │ │ Mountpoint: / (mounted) │ └──────────────────────────────────────────────────────────────────────────────────────────┘ [Bootable] [ Delete ] [ Resize ] [ Quit ] [ Type ] [ Help ] [ Write ] [ Dump ]
[Message part 2 (text/html, inline)]
bug-parted <at> gnu.org
:bug#42244
; Package parted
.
(Tue, 07 Jul 2020 17:42:02 GMT) Full text and rfc822 format available.Message #8 received at 42244 <at> debbugs.gnu.org (full text, mbox):
From: "Brian C. Lane" <bcl <at> redhat.com> To: Brad McClung <computermanbrad <at> gmail.com> Cc: 42244 <at> debbugs.gnu.org Subject: Re: bug#42244: Date: Tue, 7 Jul 2020 10:41:35 -0700
On Tue, Jul 07, 2020 at 05:47:07AM -0700, Brad McClung wrote: > $ sudo parted /dev/sdb [snip] > (parted) align-check opt 1 > 1 aligned > (parted) align-check opt 2 > 2 aligned > (parted) align-check opt 3 > 3 not aligned: 97677310s % 2048s != 0s > (parted) align-check opt 4 > Error: Partition doesn't exist. > (parted) resizepart 3 > Warning: Partition /dev/sdb3 is being used. Are you sure you want to continue? > Yes/No? no > (parted) align-check opt 5 > 5 aligned > (parted) print devices > /dev/sdb (120GB) > (parted) print free > Backtrace has 11 calls on stack: > 11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x49) [0x7f1212d6e6a9] > 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x236ea) [0x7f1212d846ea] > 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x237e3) [0x7f1212d847e3] > 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x24f4b) [0x7f1212d85f4b] > 7: /lib/x86_64-linux-gnu/libparted.so.2(+0x122fa) [0x7f1212d732fa] > 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_set_flag+0x69) > [0x7f1212d73929] > 5: parted(+0x8bcb) [0x563d15d14bcb] > 4: parted(interactive_mode+0x12c) [0x563d15d1acac] > 3: parted(main+0x139b) [0x563d15d1380b] > 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) > [0x7f1212b160b3] > 1: parted(_start+0x2e) [0x563d15d1389e] What happens if you rerun it and just do `print devices` without trying resizepart first? Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.