Public bug reported:

user space process as in parted or fdisk or update-grub2 that read partition 
tables freeze on my system:
/dev/sda/  GPT disk with efi, swap and ubuntu artful partition
/dev/sdb  old style partition table with one ext4 partition
/dev/sdc GPT disk with efi partition, windows 10
I.e. if I run as root :
# fdisk -l 
Disk /dev/sda: 232,9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 56FF6AB0-076F-483C-890F-EC4B4FAF6313

Device        Start       End   Sectors   Size Type
/dev/sda1      2048   2000895   1998848   976M EFI System
/dev/sda2   2000896  10000383   7999488   3,8G Linux swap
/dev/sda3  10000384 488396799 478396416 228,1G Linux filesystem


Disk /dev/sdb: 489,1 GiB, 525112713216 bytes, 1025610768 sectors
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: 0x2f11f9c4

Device     Boot Start        End    Sectors  Size Id Type
/dev/sdb1        2048 1025609727 1025607680  489G 83 Linux
<...process hangs here forever...>

With gdb I stepped through fdisk -l and saw that the call to open
('dev/sdc'..) never returns.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: artful

** Attachment added: "dmesg"
   https://bugs.launchpad.net/bugs/1740309/+attachment/5028117/+files/dmesg

** Summary changed:

- user space process when reading partition table from disk
+ user space process hangs when reading partition table from disk

** Summary changed:

- user space process hangs when reading partition table from disk
+ user space process hangs when reading partition table of disk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1740309

Title:
  user space process hangs when reading partition table of disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1740309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to