FS#24343 - AIF fails to detect virtio_blk devices

Attached to Project: Release Engineering
Opened by Dave Reisner (falconindy) - Wednesday, 18 May 2011, 23:01 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:47 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2010.12.18-testbuild
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

When installing on qemu-kvm using virtio drivers for block devices, AIF does not detect the created /dev/vdXY nodes as usable block devices during partitioning.

To reproduce:
qemu-img -f qcow2 /path/to/image 5G
qemu-kvm -drive file=/path/to/image,if=virtio -cdrom /path/to/arch-install.iso -boot d

I expect to see /dev/vda available in the block device config menu, but it lists nothing.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:47 GMT
Reason for closing:  Deferred
Comment by Dave Reisner (falconindy) - Wednesday, 18 May 2011, 23:28 GMT
I gave the block detection code a slight refactor which basically just loosens the criteria for determining what a block device is. On the VM I'm testing on, it has the side effect of declaring my encrypted root and home as valid block devices, which I think is correct behavior.
Comment by Rasmus Edgar (ashren) - Monday, 22 August 2011, 12:51 GMT
I can confirm this issue with 2011.08.19.

Dave your patch does not work properly with the current release.

I'll see if I can hack a patch together that will actually solve this issue.
Comment by Dave Reisner (falconindy) - Monday, 22 August 2011, 12:53 GMT
No, it doesn't. I've been meaning to get back to this but haven't had time.
Comment by Dieter Plaetinck (Dieter_be) - Friday, 23 December 2011, 20:54 GMT
any updates on this?
FWIW Dave's patch looks okay to me (if only it would work :)
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 24 December 2011, 15:36 GMT
The patch should work AFAICT. I committed a slightly edited version (https://github.com/Dieterbe/aif/commit/87942617b2bbff16d202cddd3bae93e66b60790f) to the develop branch. I'll use this version as starting point to test with, when there's a new testbuild.

Loading...