← Back to team overview

kernel-packages team mailing list archive

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

 

Ahh, I see now.  You seem to have two conflicting partition tables on
the drive.  The MBR/DOS one, and an Acorn partition table.  The newer
kernels are recognizing and using the Acorn one.  You will need to get
rid of that.  From what I can tell from a quick glance at the kernel
sources, its primary information is stored in sector 6.  Zeroing that
out with dd should get rid of it.


** Changed in: linux (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to 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:
  Invalid

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
  --- 
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     2149 F.... pulseaudio
  CasperVersion: 1.360
  DistroRelease: Ubuntu 15.04
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  LiveMediaBuild: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  MachineType: System manufacturer System Product Name
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: initrd=/nfs/hostname/amd64/casper/initrd.lz  netboot=nfs  nfsroot=10.11.12.181:/srv/tftp/nfs/hostname/amd64  file=/cdrom/preseed/hostname.seed  boot=casper  --  debian-installer/language=de  console-setup/layoutcode?=de  locale=de_DE BOOT_IMAGE=/nfs/hostname/amd64/casper/vmlinuz.efi
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware                             1.143.1
  RfKill:
   
  Tags:  vivid
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  Uname: Linux 3.19.0-15-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 09/06/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2105
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8Z77-M PRO
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2105:bd09/06/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-MPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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