20.08.2015 21:47, kp kirchdoerfer пишет: > Am Donnerstag, 20. August 2015, 21:25:36 schrieb Andrew: >> 20.08.2015 20:40, kp kirchdoerfer пишет: >>> HI all; >>> >>> maybe we can make a step backwards in this discussion and can think about >>> my proposal to reduce the pain: >>> >>> "The whole pb started here AFAIK: >>> "Modules that are copied manually, should be saved. Modules that are >>> loaded from squashfs aren't added to moddb.tgz to reduce it's size." >>> >>> >>> Now we can argue that a user who has enough space for leaving modules.sqfs >>> on his boot media, will have enough left for a bigger moddb.lrp than >>> necessary (except those booting from iso image, who can't remove >>> modules.sqfs). >>> >>> There is a case to remove modules.sqfs even beyond space, to speed up boot >>> time, so autodetection stops immediately due to "missing modules.sqfs". >>> >>> So if we go back and never write anything to /var/lib/lrpkg/sqfs.modules >>> we >>> can get rid of the changes to update moddb properly, addinga config option >>> to leaf.cfg etc... >>> Andrew, will there be any other issues related to such a change?" >> Just slower boot (we should need to unpack 2MB of modules instead of >> some kb). > True if the user saves modules and does not delete modules.sqfs. > IMHO loading from modules.sqfs is slower than saving modules and delete > modules.sqfs. > But if someone is not aware of boot time, there is no need to save modules at > all. > The pro would be, that we don't need a new config option. Somebody may want to use his own precompiled kernel module and don't want to waste disk space (for ex., we are still using IDE DOM modules 32-128M). In any case, extra config option is better than missed option :)
>> We also may change defaults for UPDATE_MODDB - set it ti true instead of >> false. > This is the default right now. > > kp > >>> kp >>> >>> Am Mittwoch, 19. August 2015, 17:28:28 schrieb Andrew: >>>> 19.08.2015 17:24, Erich Titl пишет: >>>>> Hi Andrew >>>>> >>>>> Am 19.08.2015 um 16:21 schrieb Andrew: >>>>>> 19.08.2015 17:13, Erich Titl пишет: >>>>>>> Hi Andrew >>>>>>> >>>>>>> Am 19.08.2015 um 16:11 schrieb Andrew: >>>>>>>> 19.08.2015 17:09, Erich Titl пишет: >>>>>>>>> Hi Andrew >>>>> ... >>>>> >>>>>>> Yew and IMHO those modules should be replaced by the ones from either >>>>>>> moddb or autoprobing. >>>>>> Why them should be duplicated in moddb? What sense of this? >>>>> Because they got replaced by a version which may be different. >>>> 1) they are loaded mostly at boot >>>> 2) there's no alternative USB & so on drivers (non-kernel), and driver >>>> for other kernel version will not be loaded. >>>> >>>>> As I said, stuff in initmod is _temporary_ to me, just for system >>>>> boot. If I could, I would even replace the kernel on the fly :-) There >>>>> is no need to have a recent kernel just to fetch sofware on storage, >>>>> but YMMV > > ------------------------------------------------------------------------------ > > _______________________________________________ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel ------------------------------------------------------------------------------ _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel