Re: how to instrument/debug module loading

2017-09-14 Thread Guru Das S
On 12 September 2017 at 07:49, Cliff Brake wrote: > Appreciate any pointers to documentation, etc. My test system is Arch > Linux with systemd. The autoloading, or hot-plugging, behaviour is probably due to the use of the MODULE_DEVICE_TABLE macro in the device driver.

Re: how to instrument/debug module loading

2017-09-14 Thread Tobin C. Harding
On Tue, Sep 12, 2017 at 10:49:27AM -0400, Cliff Brake wrote: > Hi, > > I'm trying to better understand the kernel module loading mechanism > (for example when you plug in a USB device and a kernel module > autoloads). It appears that depmod creates a module.alias map that > maps USB info to