Re: kmod 3 - endless loop in insmod_do_soft_dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 10, 2012 at 10:18:08AM -0200, Lucas De Marchi wrote:
> Hi Mantas,
> 
> [ CC'ing Dave Reisner ]
> 
> On Mon, Jan 9, 2012 at 8:15 PM, Mantas M. <grawity@xxxxxxxxx> wrote:
 > I have a /etc/modprobe.d/virtualbox.conf with the following contents:
> >
> > | softdep vboxdrv post: vboxnetflt vboxnetadp
> >
> > With module-init-tools, this would cause 'vboxnetflt' and 'vboxnetadp'
> > to be loaded automatically after 'vboxdrv'. With kmod 3-5 (Arch Linux
> > [testing]), `modprobe vboxdrv` appears to go into an infinite loop and
> > soon segfaults.
> 
> It looks like there's a dependency loop. vboxnetflt or vboxnetadp
> depend on vboxdrv and with the soft dependency you created a loop.
> 
> This one is easy to break, because we should be detecting that the
> dependency was already inserted.
> 
> I'm fixing this for the next version and I'll send here the patch, so
> Archlinux can pick it up before the next release.
> 
> Dave, did you see any similar bug report? It's one more place where
> the implementation in libkmod is fixed, but modprobe is shooting its
> own foot.

I haven't seen any bug reports about this, but I reported this to you in a
different form, i.e.

$ modprobe -S 3.2.0-2-ARCH --show-depends ahci
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/libata.ko.gz
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/libata.ko.gz
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/libahci.ko.gz
insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/ahci.ko.gz

dave

Attachment: pgp1Ir05vOV_a.pgp
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux