Comment 1 for bug 1099611

Revision history for this message
Scott Moser (smoser) wrote :

As discussed, with Alessandro in IRC, there are 2 issues right now with cirros for this:
 a.) the disk1.img right now has an initramfs that has no modules in it. That was a decision to trim the size of the disk image. There is also no way to denote currently that "these modules need to go into the initramfs" (block device dependencies) and "these modules dont need to be". So the simplist thing to do right now is to just copy all the modules into the initramfs, but that increases the duplication between initramfs and filesystem.
 b.) cirros does not use udev (nor its busybox sibling 'mdev') right now. As a result, there is no system-id based loading of modules based on hardware present. a 'modprobe hv_storvsc' causes a 5 second timeout waiting for the bus/device so this is not going to work with cirros's simplistic 'modprobe everything' solution that is in place.

I'm really interested in getting 0.3.1 out "real soon now" as there are lots of other features i'd want to tackle. If we want to get support for this into 0.3.1, I think I'd suggest a temporary approach where we load the module only if there is something down /sys that tells us we should (ie, a very simplistic loader based on system ids).