Re: kmod 3 - endless loop in insmod_do_soft_dependencies

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

 



Hi Mantas

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.
>
> `modprobe -n -v vboxdrv` keeps outputting a stream of:
>
> | insmod /lib/modules/3.2.0-git+/extramodules/vboxdrv.ko.gz
> | insmod /lib/modules/3.2.0-git+/extramodules/vboxdrv.ko.gz
> | insmod /lib/modules/3.2.0-git+/extramodules/vboxdrv.ko.gz
> | ...
>
> Backtrace:
>
>  http://ompldr.org/vYzV2aw/kmod-3-5-arch.trace.xz
>
> If anybody wants a 12 MB coredump...
>
>  http://ompldr.org/vYzV2bA/kmod-3-5-arch.dump.txz
>
> I also tried kmod-git ecced7d, same result.

Now it's capable of inserting the module because it properly breaks
the dependency loop by checking the modules that are already loaded,
just as modprobe from m-i-t does. However, for the dry-run options, we
are not aborting on loop as m-i-t does. I'll fix this later.


Thanks
Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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