[Libguestfs] [PATCH supermin 5/5] init: Drop SCSI modules.

Richard W.M. Jones rjones at redhat.com
Sun Mar 20 12:20:12 UTC 2016


On Sun, Mar 20, 2016 at 01:30:17PM +0200, Török Edwin wrote:
> On 03/17/2016 12:07, Richard W.M. Jones wrote:
> > Also drop the sr_mod module used by the deprecated guestfs_add_cdrom
> > interface.
> > ---
> >  src/ext2_initrd.ml | 5 -----
> >  1 file changed, 5 deletions(-)
> > 
> > diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
> > index 730f806..5e841ea 100644
> > --- a/src/ext2_initrd.ml
> > +++ b/src/ext2_initrd.ml
> > @@ -40,12 +40,7 @@ let kmods = [
> > -  "sd_mod.ko*";
>
> sd_mod.ko is required on Debian jessie (with kernel from backports
> 4.3.0-0.bpo.1-amd64), otherwise it won't find /sys/block/sdb/dev.

Agreed.  On Fedora it's compiled in, and also I notice that the
virtio-scsi module doesn't require it so it won't be pulled in by
module dependencies.

scsi_mod.ko seems like it might be in a similar situation?

I'll partially revert this patch, just sd_mod.ko for now.

BTW please see also my series on analyzing the launch process.  You
might find it interesting.  I'll post an updated patch series in a
moment.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list