[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]
** Changed in: grub2 (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Ti
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: grub2 (Ubuntu)
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, whi
http://askubuntu.com/questions/80224/does-grub2-require-an-optional-
scsi-feature
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Title:
grub-pc.postinst script fails to detect virtio vda disk
** Tags added: testcase
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Title:
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
To manage notifications about this bug go to
I was told that SCSI serial numbers are an optional feature. Is grub-pc
designed to require an optional feature?
** Attachment added: "VMware Fusion 3.1.3 (416484) /dev/sda has no scsi serial
number either."
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/604335/+attachment/2238740/+fil
FWIW VMWare Fusion Version 3.1.3 (416484)
$ lsb_release -ds
Ubuntu 10.04.2 LTS
$ sudo sg_vpd --page=0x80 /dev/sda
Unit serial number VPD page:
fetching VPD page failed
$ lsmod | grep vm
vmblock12995 1
vmmemctl8572 0
vmci 31256 1 vsock
vmxnet
1.98-1ubuntu12.1~ppa4 is more through about insisting on using /dev/vda
devices. The previous versions would only try if /dev/by-id was
completely missing; this one looks for all the /dev/vd* devices it can
find.
** Patch removed: "grub2_1.98-1ubuntu12.debdiff"
https://bugs.launchpad.net/ubu
$ lsb_release -sd
Ubuntu 10.04.2 LTS
$ sudo apt-get safe-upgrade
... skip ...
Setting up grub-pc (1.98-1ubuntu12.1~ppa2) ...
Installation finished. No error reported.
... skip ...
$ sudo dpkg-reconfigure grub-pc
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image:
Only Natty and Oneiric are working and only with the caveat that qemu
must be invoked with options to set the serial number of the virtio
block devices.
Lucid will never be fixed correctly. The amount of changes are too
huge. I went back to working on script.
New version of PPA with script hack
** Patch removed: "Hacks the postinst script to not fail for virtio block
disks."
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/604335/+attachment/2169243/+files/grub2-1.98ubuntu12.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscrib
virt-manager 0.8.7 (on 11.10) does not support virtio block serial
numbers. If you even provide a serial number virt-manger will not start
the VM guest.
Meanwhile I've confirmed that if you just edit libvirt with "virsh edit
..." to insert FOO and boot the VM with "virsh start
..." the /dev/disk/
libvirt wiki documents support for virtio disk serial numbers
http://libvirt.org/formatdomain.html#elementsDisks
``serial
If present, this specify serial number of virtual hard drive. For example,
it may look as WD-WMAP9A966149. Since 0.7.1 ''
--
You received this bug notification because yo
Heh, just thought "what if you have to set the serial number from the
command line". Then I went to check and
nutznboltz@lakshmi:~$ qemu --help | egrep 'drive|serial' | head -2
-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]
[,serial=s][,addr=A][,id=name][,aio=threads|nat
Still not fixed on 11.10
nutznboltz@hanuman:~$ lsb_release -sd
Ubuntu oneiric (development branch)
nutznboltz@hanuman:~$ uname -a
Linux hanuman 3.0-0-server #1-Ubuntu SMP Thu Jun 9 16:50:35 UTC 2011 x86_64
x86_64 x86_64 GNU/Linux
nutznboltz@hanuman:~$ sudo cat /sys/block/vda/serial
nutznboltz@han
from qemu git:
commit 2930b313dd602d67a568815b0b031b824916cec9
Author: john cooper
Date: Fri Jul 2 13:44:25 2010 -0400
Add virtio disk identification support
This patch adds the final missing bits for support of
passing a serial/id string to a virtio-blk guest driver.
So in order to SRU you will need to SRU linux (kernel) virtio_blk.c
changes, udev changes and qemu changes.
This has not been fixed in 10.10 or 11.04 either (despite my prior
claims.)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
ht
Re: qemu newness. VIRTIO_BLK_T_GET_ID only appears twice inside the
kernel and one of the times is the #define.
This is because VIRTIO_BLK_T_GET_ID is acted upon in qemu hw/virtio-
blk.c
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu
$ lsb_release -sd
Ubuntu 11.04
$ ls -l /sys/block/vda/serial
-r--r--r-- 1 root root 4096 2011-06-16 13:22 /sys/block/vda/serial
$ sudo cat /sys/block/vda/serial
$
That file should contain a serial number but it doesn't.
Same thing on Fedora (by way of the dm-devel mailing list)
http://www.redha
As to why it takes virtio block driver changes for /dev/disk/by-id to
work compare
sudo sg_vpd --page=0x80 /dev/sda
with
sudo sg_vpd --page=0x80 /dev/vda
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/b
With that PPA you can run "sudo dpkg-reconfigure grub-pc" on virtio
block disk but you get a warning message about swap partitions (e.g.
/dev/vda1). You can click "Yes" to continue past it and the package
status is still "ii" not "uF" or anything indicating configuration
failed.
--
You received t
PPA with "grub-pc.postinst.udiff" patch integrated since it's less
intrusive than kernel patches + udev patches and the issue was fixed in
10.10 here:
https://launchpad.net/~nutznboltz/+archive/working-grub2-on-virtio-disk-
for-lts
Patch attachment is a debdiff against the latest proposed grub2-p
The grub-install package does not look for /dev/disk/by-id
A peek inside the bash script in that package named /usr/bin/grub-
installer shows it just has code to match "/dev/[hsv]d[a-z]".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu
The refusal to SRU the original ("grub-pc.postinst.udiff") patch means
that kernel changes and udev changes are needed for a bug that was fixed
in 10.10.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/6
This requires modifying the kernel.
http://lists.gnu.org/archive/html/qemu-devel/2010-06/msg02502.html
``[Qemu-devel] [PATCH 1/2] Add 'serial' attribute to virtio-blk devices''
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://
** Patch removed: "udev.debdiff"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/604335/+attachment/2167401/+files/udev.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Title:
g
TEST CASE:
Environment:
VM with virtio boot disk /dev/vda partition (like /dev/vda1) mounted on
/ possibly also a partition (like /dev/vda1) on mounted on /boot and no
/dev/disk/by-id directory (because of missing udev rules.)
Example Environment:
$ ls /dev/[shv]d*
/dev/vda /dev/vda1 /dev/vda
Please test PPA, thanks.
https://launchpad.net/~nutznboltz/+archive/working-grub2-on-virtio-disk-
for-lts
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Title:
grub-pc.postinst script fails t
** Description changed:
+ A statement explaining the impact of the bug on users and justification
+ for backporting the fix to the stable release: Multiple people report
+ they cannot install grub2 on virtio disk on Ubuntu 10.04 LTS
+
+ An explanation of how the bug has been addressed in the deve
SRU me.
** Patch added: "udev.debdiff"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/604335/+attachment/2167401/+files/udev.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Ti
LP: #307845
marked invalid.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Title:
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
To manage notifications about this bug
This is really a udev bug that was fixed (at least) in Natty.
udev 167-0ubuntu3 has
# virtio-blk
KERNEL=="vd*[!0-9]", ATTRS{serial}=="?*", ENV{ID_SERIAL}="$attr{serial}",
SYMLINK+="disk/by-id/virtio-$env{ID_SERIAL}"
KERNEL=="vd*[0-9]", ATTRS{serial}=="?*", ENV{ID_SERIAL}="$attr{serial}",
SYMLIN
This is really a udev bug.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Title:
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
To manage notifications about this bug go
/dev/disk/by-id is created by udev rules.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
Title:
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
To manage notifications ab
Looking at it closer I don't think /dev/disk/by-label makes a
difference.
It is as if there are at least four committees: grub2, kvm/virtio, udev
and Canonical who need to have a meeting to discuss this.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subs
If you have only virtio disk (/dev/vda) then you will not have /dev/disk
/by-id
should say:
If you have only virtio disk (/dev/vda) then you will not have /dev/disk
/by-id unless you have an LVM vg.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscrib
Appears there are four different udev disk directories not three.
/dev/disk/by-id
/dev/disk/by-label
/dev/disk/by-path
/dev/disk/by-uuid
If you have only virtio disk (/dev/vda) then you will not have /dev/disk
/by-id
If you have only virtio disk (/dev/vda) plus a disk label you will have
/dev
@Mark if you really want to submit a real patch, learn how to validate
that the change is upstream and how to generate a debdiff and attach it
here.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/604335
@Mark It is very important to realize that you can't submit bugs or comments in
any arbitrary format to launchpad and expect them to be recognized. Take some
time to learn how launchpad works as input which is not very precisely
formatted gets ignored.
Some videos to watch:
http://www.youtube.co
I can't believe you guys actually blackholed stdout during fsck... I updated
the code for this to provide for a status bar, like it should be with "e2fsck
-C0 -y" as its been since like, forever:
https://launchpad.net/~mark-syminet/+archive/syminet
...not applying this to any machine, for obvi
One more thing: in order to boot from LVM you must use the linux-server
kernel package as the linux-virtual one lacks an initrd with LVM
modules.
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpad.net/bugs/604335
You received this bug notification becau
My current work-around for this is to build the KVM guest using grub2
and LVM encapsulation. For some reason grub2 has no issues installing
when using that configuration.
1. Build using Ubuntu 9.10 or later server ISO
2. Select manually disk partitioning
3. Create a single primary partition for
Confirmed on xen...
Distributor ID: Ubuntu
Description:Ubuntu 10.04.1 LTS
Release:10.04
Codename: lucid
Linux version 2.6.32-24-server (bui...@yellow) (gcc version 4.4.3
(Ubuntu 4.4.3-4ubuntu5) )
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://b
** Description changed:
Binary package hint: grub-pc
The grub-pc.postinst script fails to detect virtio "vda" disk in a KVM
guest because it looks for entries in /dev/disk/by-id/* and there is
absolutely no /dev/disk/by-id directory at all when the only disk is a
vda virtio one.
Has this bug been addressed yet ???
We run 3 XenServers and we strictly run Ubuntu for the Linux side
quests. I just tried to upgrade one of our name servers today and caught
this bug. We have 39 active quests running Ubuntu.. This could prove to
be problematic unless it has been patched and apt-g
Same here, but on xen...
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpad.net/bugs/604335
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu
However, reading comment 3, I didn't try the patch. Also, no by-id...
just by-path and by-uuid...
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpad.net/bugs/604335
You received this bug notification because you are a member of Ubuntu
Bugs, which is sub
Same here - switched a few kvm guests from ide -> virtio disks. Ran
apt-get upgrade and voila, broken packaging system. The patch provided
by nutznboltz up there solved the issue.
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpad.net/bugs/604335
You
As written in https://bugs.launchpad.net/ubuntu/+bug/524434 I had the
same problem with an virtualized Ubuntu 10.04 under XenServer 5.6: The
grub installer does not find the virtual hard disks /dev/xvdX.
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpa
The same situation for xen guests. No by-id things, just by-label, by-
path and by-uuid.
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpad.net/bugs/604335
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed t
Ah, fair enough then. On my list ...
status triaged
importance high
** Changed in: grub2 (Ubuntu)
Importance: Undecided => High
** Changed in: grub2 (Ubuntu)
Status: New => Triaged
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpad.net/
The patch I provided here is not meant for production use; it merely
illustrates the bug.
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.launchpad.net/bugs/604335
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
I would like to fix this somehow, although it seems to me that it's also
a udev bug that it doesn't provide by-id links for virtio disks.
However, using by-uuid is definitely wrong; by-uuid links only identify
filesystems, and the most important entries in this context are those
for the top-level d
** Attachment added: "grub-pc.postinst.udiff"
http://launchpadlibrarian.net/51734801/grub-pc.postinst.udiff
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/51734179/Dependencies.txt
--
grub-pc.postinst script fails to detect virtio vda disk in KVM guest
https://bugs.
53 matches
Mail list logo