Re: how to instrument/debug module loading

2017-09-18 Thread Cliff Brake
On Mon, Sep 18, 2017 at 11:55 AM, Greg KH wrote: > On Mon, Sep 18, 2017 at 11:28:32AM -0400, Cliff Brake wrote: >> On Thu, Sep 14, 2017 at 12:37 PM, Greg KH wrote: >> > On Thu, Sep 14, 2017 at 08:20:09AM -0400, Cliff Brake wrote: >> >> Hi, >> >> >> >> I'm trying to better understand the kernel mo

Re: how to instrument/debug module loading

2017-09-18 Thread Greg KH
On Mon, Sep 18, 2017 at 11:28:32AM -0400, Cliff Brake wrote: > On Thu, Sep 14, 2017 at 12:37 PM, Greg KH wrote: > > On Thu, Sep 14, 2017 at 08:20:09AM -0400, Cliff Brake wrote: > >> Hi, > >> > >> I'm trying to better understand the kernel module loading mechanism > >> (for example when you plug in

Re: how to instrument/debug module loading

2017-09-18 Thread Cliff Brake
On Thu, Sep 14, 2017 at 12:37 PM, Greg KH wrote: > On Thu, Sep 14, 2017 at 08:20:09AM -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

Re: how to instrument/debug module loading

2017-09-14 Thread Greg KH
On Thu, Sep 14, 2017 at 08:20:09AM -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 modul