← Back to team overview

touch-packages team mailing list archive

[Bug 1457526] Re: recognized partitions incomplete on 14.04.2 and 15.04

 

How large is this sd card supposed to be, and how large does it appear
under 12.04?  Because right now it appears to be just under 16 GB which
is not large enough to hold the partitions listed in the partition
table.  The output of lsblk from both the working and non working kernel
would be helpful.


** Package changed: util-linux (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1457526

Title:
  recognized partitions incomplete on 14.04.2 and 15.04

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  on ubuntu 15.04, 14.04.2 the system shows me after plugging a SD card
  the following information (where sdc the SD card is)

  me@my-Linux:~$ cat /proc/partitions
  major minor  #blocks  name
  ...
     8       32   15558144 sdc
     8       33    3807232 sdc1

  me@my-Linux:~$ sudo fdisk -l /dev/sdc
  Disk /dev/sdc: 14,9 GiB, 15931539456 bytes, 31116288 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: ...

  Device     Boot    Start      End  Sectors   Size Id Type
  /dev/sdc1           2048   244140   242093 118,2M  e W95 FAT16 (LBA)
  /dev/sdc2         245760 31050751 30804992  14,7G 85 Linux extended
  /dev/sdc3       31050752 31116287    65536    32M 83 Linux
  /dev/sdc5         253952   581631   327680   160M  c W95 FAT32 (LBA)
  /dev/sdc6         589824 13869055 13279232   6,3G 83 Linux
  /dev/sdc7       13877248 14000127   122880    60M  c W95 FAT32 (LBA)
  /dev/sdc8       14008320 31047679 17039360   8,1G 83 Linux

  Partition table entries are not in disk order.

  none of the partitions are able to mount.

  
  the exact same SD card and same USB/SD card reader but using ubuntu 14.04 or 12.04 shows me the correct information:
  me@my-Linux:~$ cat /proc/partitions
  major minor  #blocks  name
  ...
     8       16   15558144 sdc
     8       17     121046 sdc1
     8       18          1 sdc2
     8       19      32768 sdc3
     8       21     163840 sdc5
     8       22    6639616 sdc6
     8       23      61440 sdc7
     8       24    8519680 sdc8

  tested environments:
  with that issue (wrong/incomplete partition information)
  ubuntu 15.04 amd64 (dist-upgraded from 14.10 to 15.04)
  ubuntu 15.04 liveDVD amd64 (from 2015)
  ubuntu 14.04.2 liveDVD amd64 (from 2015)

  without that issue (correct partition information)
  ubuntu 12.04 liveDVD amd64
  ubuntu 14.04 liveDVD amd64 (~2014)
  debian 8.0.0 liveCD amd64 LXDE (from 2015)

  see here for more details:
  https://www.raspberrypi.org/forums/viewtopic.php?p=762666#p762666

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