← Back to team overview

kernel-packages team mailing list archive

[Bug 1258631] Re: instances fails to register GPT partition entries on virtio devices

 

Joseph,

This problem does happen with the latest upstream kernel as well.

ubuntu@gpt-test-4:~$ uname -a
Linux gpt-test-4 3.13.0-031300rc3-generic #201312061335 SMP Fri Dec 6 18:37:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@gpt-test-4:~$ dmesg | grep vda
[    1.039698]  vda: vda1
[    1.879747] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
[    2.544984] EXT4-fs (vda1): re-mounted. Opts: (null)

And testing the 3.8 line in Saucy:
ubuntu@gpt-test-4:~$ uname -a
Linux gpt-test-4 3.8.13-03081311-generic #201310151335 SMP Tue Oct 15 17:36:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@gpt-test-4:~$ dmesg | grep vda
[    0.789770]  vda: vda1
[    1.618881] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
[    2.226267] EXT4-fs (vda1): re-mounted. Opts: (null)

So this appears to be a long-running issue.

-- 
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/1258631

Title:
  instances fails to register GPT partition entries on virtio devices

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  When booting via KVM and using the VirtIO interface, GPT partition
  entries are not shown properly.

  ubuntu@gpt-test-4:~$ sudo parted /dev/vda -s -- print
  Model: Virtio Block Device (virtblk)
  Disk /dev/vda: 10.7GB
  Sector size (logical/physical): 512B/512B
  Partition Table: gpt

  Number  Start   End        Size         File system     Name                          Flags
  127     1049kB  2097kB  1049kB                           BIOS boot partition  bios_grub
  128     2097kB  89.1MB  87.0MB  fat32               EFI System                  boot
      1      89.1MB  10.7GB  10.6GB   ext4                 Linux filesystem

  Booting with "-hda <disk>.img"
  [    2.612975] sr 1:0:0:0: Attached scsi generic sg1 type 5
  [    2.617252] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  [    2.644685]  sda: sda1 sda127 sda128
  [    2.664314] sd 0:0:0:0: [sda] Attached SCSI disk

  Booting with "-drive if=virtio,file=<disk>.img" or "-drive if=scsi,file=<disk>.img":
  [    2.411933] brd: module loaded
  [    2.422616] loop: module loaded
  [    2.442178]  vda: vda1
  [    2.455559] scsi0 : ata_piix
  [    2.456868] scsi1 : ata_piix

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: udev 204-5ubuntu6
  ProcVersionSignature: Ubuntu 3.12.0-5.13-generic 3.12.2
  Uname: Linux 3.12.0-5-generic x86_64
  ApportVersion: 2.12.7-0ubuntu1
  Architecture: amd64
  Date: Fri Dec  6 18:49:57 2013
  Ec2AMI: ami-00000632
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: aki-00000548
  Ec2Ramdisk: ari-00000548
  Lsusb:
   Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
   Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: OpenStack Foundation OpenStack Nova
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.12.0-5-generic root=LABEL=cloudimg-rootfs console=ttyS0
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/01/2007
  dmi.bios.vendor: Bochs
  dmi.bios.version: Bochs
  dmi.chassis.type: 1
  dmi.chassis.vendor: Bochs
  dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnOpenStackFoundation:pnOpenStackNova:pvr2013.1.3:cvnBochs:ct1:cvr:
  dmi.product.name: OpenStack Nova
  dmi.product.version: 2013.1.3
  dmi.sys.vendor: OpenStack Foundation

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