Am Donnerstag, 31. März 2016, 17:31:34 schrieb kp kirchdoerfer:
> Am Montag, 28. März 2016, 22:13:37 schrieb Erich Titl:
> > Am 27.03.2016 um 18:26 schrieb kp kirchdoerfer:
> > > Am Sonntag, 27. März 2016, 16:03:06 schrieb Erich Titl:
> > >> Hi KP
> > >> 
> > >> Am 26.03.2016 um 16:55 schrieb kp kirchdoerfer:
> > >>> H Gents;
> > >> 
> > >> ...
> > >> 
> > >>> At last I changed hwdetect to neglect moddb, and to do not use
> > >>> /var/lib/lrpkg/*.depmod any  longer - there is no need to copy modules
> > >>> to
> > >>> /lib/modules any more.
> > >> 
> > >> IMHO we could also ditch hwdetect. There is hardly any difference in
> > >> the
> > >> code than in linuxrc. WE might need to add mount_modules to the hotplug
> > >> script though.
> > > 
> > > hotplug seems not to be a replacement for hwdetect.
> > > 
> > > Yes the hwdetect code is in linuxrc, but as I said it could be
> > > convenient
> > > to run hwdetect and load modules *without reboot*.
> > 
> > What for? It is highly unlikely the hardware configration changes on a
> > running machine. The only place I could see this is with unknown usb
> > hardware. But then hwdetect needs to mount modules.
> 
> The name "hwdetect" is misleading. The more interesting part of hwdetect now
> is loading modules from /etc/modules rather than loading hardware. This way
> I can add pppoe to /etc/modules, run hwdtect (of "f" from lrcfg menu) and
> get pppoe and modules it depends on (ppp*) loaded without reboot. This is
> allows quick testing etc..
> 
> > > Another issue iI found is we are  creation, deletion, link and unlink
> > > /lib/modules/$KVER add various places, which ends up in a link to itself
> > > 
> > > # ls -al /lib/modules/
> > > lrwxrwxrwx    1 root     root            12 Mar 27 18:18 4.4.6-x86_64 ->
> > > /lib/modules
> > 
> > This link should not exist anymore. It is a leftover from the old
> > linuxrc which may have survived.
> 
> I've made my work on removing moddb traces available as remote repository
> (remove_moddb) - pls review before it will be merged!
> Maybe the leftover is solved as well.

Anyone looked into the branch, if the changes making sense or if I've made 
something wrong?

I think using hwdetect or install_modules is a minor issue, finishing the 
general work Erich started with newinitrd seems more important to me, so we 
can move towards an alpha1 for 6.0.0.

thx kp

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to