Re: [leaf-devel] 5.2.saving modules problem

2015-08-01 Thread Erich Titl
Hi KP Am 01.08.2015 um 01:40 schrieb kp kirchdoerfer: Hi Erich; Am Donnerstag, 30. Juli 2015, 22:27:35 schrieb Erich Titl: Hi KP Am 30.07.2015 um 19:18 schrieb kp kirchdoerfer: As I said above, default should be seamless. How would you do that? Îf there are any parameters needed, the

Re: [leaf-devel] 5.2.saving modules problem

2015-07-31 Thread kp kirchdoerfer
Hi Erich; Am Donnerstag, 30. Juli 2015, 22:27:35 schrieb Erich Titl: > Hi KP > > Am 30.07.2015 um 19:18 schrieb kp kirchdoerfer: > > > > As I said above, default should be seamless. > > How would you do that? Îf there are any parameters needed, they have to > be introduced. What about upgr

Re: [leaf-devel] 5.2.saving modules problem

2015-07-30 Thread Erich Titl
Hi KP Am 30.07.2015 um 19:18 schrieb kp kirchdoerfer: As I said above, default should be seamless. How would you do that? Îf there are any parameters needed, they have to be introduced. What about upgrading systems on the fly, do you really want to massage leaf.cfg? I for myself dont.

Re: [leaf-devel] 5.2.saving modules problem

2015-07-30 Thread kp kirchdoerfer
Hi Erich; Am Donnerstag, 30. Juli 2015, 18:12:34 schrieb Erich Titl: > Hi KP > > Am 30.07.2015 um 15:51 schrieb kp kirchdoerfer: > > Hi Erich; > > > > Am Mittwoch, 29. Juli 2015, 10:01:42 schrieb Erich Titl: > >> Hi > >> > >> Am 25.07.2015 um 18:15 schrieb kp kirchdoerfer: > >> ... > >> > >>>

Re: [leaf-devel] 5.2.saving modules problem

2015-07-30 Thread Erich Titl
Hi KP Am 30.07.2015 um 15:51 schrieb kp kirchdoerfer: Hi Erich; Am Mittwoch, 29. Juli 2015, 10:01:42 schrieb Erich Titl: Hi Am 25.07.2015 um 18:15 schrieb kp kirchdoerfer: ... Ok, I'll try to add option to init/hwdetect util in some days. I think that by default we shouldn't save probed mod

Re: [leaf-devel] 5.2.saving modules problem

2015-07-30 Thread kp kirchdoerfer
Am Mittwoch, 29. Juli 2015, 10:06:59 schrieb Erich Titl: > Hi KP > > Am 26.07.2015 um 17:09 schrieb kp kirchdoerfer: > > Hi Andrew; > > > > Am Samstag, 25. Juli 2015, 19:32:10 schrieb Andrew: > >> Hi. > >> > >> I'll try to add it at this weekend. > > > > I've updated config.lrp and initrd.lrp a

Re: [leaf-devel] 5.2.saving modules problem

2015-07-30 Thread kp kirchdoerfer
Hi Erich; Am Mittwoch, 29. Juli 2015, 10:01:42 schrieb Erich Titl: > Hi > > Am 25.07.2015 um 18:15 schrieb kp kirchdoerfer: > ... > > >> Ok, I'll try to add option to init/hwdetect util in some days. I think > >> that by default we shouldn't save probed modules to moddb. > > > > What about this

Re: [leaf-devel] 5.2.saving modules problem

2015-07-29 Thread Erich Titl
Hi Am 26.07.2015 um 18:16 schrieb Andrew: 26.07.2015 19:14, kp kirchdoerfer пишет: ... Currently we didn't check if driver was loaded from moddb or from sqfs. So if there's already available drivers in /lib/modules (for different kernel) - they will not be overwritten. Which may be the righ

Re: [leaf-devel] 5.2.saving modules problem

2015-07-29 Thread Erich Titl
Hi KP Am 26.07.2015 um 17:09 schrieb kp kirchdoerfer: Hi Andrew; Am Samstag, 25. Juli 2015, 19:32:10 schrieb Andrew: Hi. I'll try to add it at this weekend. I've updated config.lrp and initrd.lrp and it seems to work regarding saving modules. But it seems there is a problem when removing mo

Re: [leaf-devel] 5.2.saving modules problem

2015-07-29 Thread Erich Titl
Hi Am 25.07.2015 um 18:15 schrieb kp kirchdoerfer: ... Ok, I'll try to add option to init/hwdetect util in some days. I think that by default we shouldn't save probed modules to moddb. What about this one? Do you have time to add the code soon? I'd like to have it before we are doing anothe

Re: [leaf-devel] 5.2.saving modules problem

2015-07-26 Thread Andrew
26.07.2015 19:14, kp kirchdoerfer пишет: > Am Sonntag, 26. Juli 2015, 18:16:51 schrieb Andrew: >> 26.07.2015 18:09, kp kirchdoerfer пишет: >>> Hi Andrew; >>> >>> Am Samstag, 25. Juli 2015, 19:32:10 schrieb Andrew: Hi. I'll try to add it at this weekend. >>> I've updated config.lrp an

Re: [leaf-devel] 5.2.saving modules problem

2015-07-26 Thread kp kirchdoerfer
Am Sonntag, 26. Juli 2015, 18:16:51 schrieb Andrew: > 26.07.2015 18:09, kp kirchdoerfer пишет: > > Hi Andrew; > > > > Am Samstag, 25. Juli 2015, 19:32:10 schrieb Andrew: > >> Hi. > >> > >> I'll try to add it at this weekend. > > > > I've updated config.lrp and initrd.lrp and it seems to work reg

Re: [leaf-devel] 5.2.saving modules problem

2015-07-26 Thread Andrew
26.07.2015 18:09, kp kirchdoerfer пишет: > Hi Andrew; > > Am Samstag, 25. Juli 2015, 19:32:10 schrieb Andrew: >> Hi. >> >> I'll try to add it at this weekend. > I've updated config.lrp and initrd.lrp and it seems to work regarding saving > modules. > But it seems there is a problem when removing mo

Re: [leaf-devel] 5.2.saving modules problem

2015-07-26 Thread kp kirchdoerfer
Hi Andrew; Am Samstag, 25. Juli 2015, 19:32:10 schrieb Andrew: > Hi. > > I'll try to add it at this weekend. I've updated config.lrp and initrd.lrp and it seems to work regarding saving modules. But it seems there is a problem when removing modules.sqfs. While I do have saved the modules to mo

Re: [leaf-devel] 5.2.saving modules problem

2015-07-25 Thread Andrew
Hi. I'll try to add it at this weekend. 25.07.2015 19:15, kp kirchdoerfer пишет: > Hi Andrew; > > Am Samstag, 4. Juli 2015, 16:00:24 schrieb Andrew: >> 04.07.2015 15:45, kp kirchdoerfer пишет: >>> Am Samstag, 4. Juli 2015, 15:31:40 schrieb Andrew: 04.07.2015 15:14, kp kirchdoerfer пишет: >>>

Re: [leaf-devel] 5.2.saving modules problem

2015-07-25 Thread kp kirchdoerfer
Hi Andrew; Am Samstag, 4. Juli 2015, 16:00:24 schrieb Andrew: > 04.07.2015 15:45, kp kirchdoerfer пишет: > > Am Samstag, 4. Juli 2015, 15:31:40 schrieb Andrew: > >> 04.07.2015 15:14, kp kirchdoerfer пишет: > >>> Hi; > >>> > >>> I almost agree with Erich :) > >>> > >>> Am Samstag, 4. Juli 2015, 1

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Erich Titl
Hi Am 04.07.2015 um 15:59 schrieb Andrew: 04.07.2015 16:23, Erich Titl пишет: Am 04.07.2015 um 15:15 schrieb Andrew: 04.07.2015 15:59, Erich Titl пишет: Hi ... Erich I'm not sure that we should store all modules in moddb by default. There's no profit for this. Sure there is, detectin

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
04.07.2015 16:23, Erich Titl пишет: > > > Am 04.07.2015 um 15:15 schrieb Andrew: >> 04.07.2015 15:59, Erich Titl пишет: >>> Hi >>> > ... >>> >>> Erich >> I'm not sure that we should store all modules in moddb by default. >> There's no profit for this. > > Sure there is, detecting dependencies is a

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Erich Titl
Am 04.07.2015 um 15:15 schrieb Andrew: 04.07.2015 15:59, Erich Titl пишет: Hi ... Erich I'm not sure that we should store all modules in moddb by default. There's no profit for this. Sure there is, detecting dependencies is a fine thing at the first installation or after a hardware or

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
04.07.2015 15:59, Erich Titl пишет: > Hi > > Am 04.07.2015 um 13:56 schrieb Andrew: >> 04.07.2015 11:34, Erich Titl пишет: >>> Hi >>> >>> Am 04.07.2015 um 09:50 schrieb Andrew: Hi. In most cases probing from squashfs is preferred over loading from moddb - at least, this wi

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Erich Titl
Hi Am 04.07.2015 um 15:00 schrieb Andrew: 04.07.2015 15:45, kp kirchdoerfer пишет: Am Samstag, 4. Juli 2015, 15:31:40 schrieb Andrew: ... by the user? Right. On my 5.2 boxes there's no moddb at all. That is fine for you, on mine there is no modules.sqfs and I doubt there will ever be. c

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Erich Titl
Hi Am 04.07.2015 um 14:14 schrieb kp kirchdoerfer: Hi; I almost agree with Erich :) ..> I don't think it's necessary to revive tgz; it will just waste disk-space adds code etc.. I agree Saving modules in modbd and get rid of modules.sqfs later and until next update works if I remoce /v

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
04.07.2015 15:45, kp kirchdoerfer пишет: > Am Samstag, 4. Juli 2015, 15:31:40 schrieb Andrew: >> 04.07.2015 15:14, kp kirchdoerfer пишет: >>> Hi; >>> >>> I almost agree with Erich :) >>> >>> Am Samstag, 4. Juli 2015, 14:56:33 schrieb Andrew: 04.07.2015 11:34, Erich Titl пишет: > Hi > >

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Erich Titl
Hi Am 04.07.2015 um 13:56 schrieb Andrew: 04.07.2015 11:34, Erich Titl пишет: Hi Am 04.07.2015 um 09:50 schrieb Andrew: Hi. In most cases probing from squashfs is preferred over loading from moddb - at least, this will not break system after update if it'll require some modules that aren't i

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread kp kirchdoerfer
Am Samstag, 4. Juli 2015, 15:31:40 schrieb Andrew: > 04.07.2015 15:14, kp kirchdoerfer пишет: > > Hi; > > > > I almost agree with Erich :) > > > > Am Samstag, 4. Juli 2015, 14:56:33 schrieb Andrew: > >> 04.07.2015 11:34, Erich Titl пишет: > >>> Hi > >>> > >>> Am 04.07.2015 um 09:50 schrieb Andre

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
04.07.2015 15:14, kp kirchdoerfer пишет: > Hi; > > I almost agree with Erich :) > > Am Samstag, 4. Juli 2015, 14:56:33 schrieb Andrew: >> 04.07.2015 11:34, Erich Titl пишет: >>> Hi >>> >>> Am 04.07.2015 um 09:50 schrieb Andrew: Hi. In most cases probing from squashfs is preferred ove

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread kp kirchdoerfer
Hi; I almost agree with Erich :) Am Samstag, 4. Juli 2015, 14:56:33 schrieb Andrew: > 04.07.2015 11:34, Erich Titl пишет: > > Hi > > > > Am 04.07.2015 um 09:50 schrieb Andrew: > >> Hi. > >> > >> In most cases probing from squashfs is preferred over loading from moddb > >> - at least, this will

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
04.07.2015 11:34, Erich Titl пишет: > Hi > > Am 04.07.2015 um 09:50 schrieb Andrew: >> Hi. >> >> In most cases probing from squashfs is preferred over loading from moddb >> - at least, this will not break system after update if it'll require >> some modules that aren't in moddb (for ex., some ether

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Erich Titl
Hi Am 04.07.2015 um 09:50 schrieb Andrew: Hi. In most cases probing from squashfs is preferred over loading from moddb - at least, this will not break system after update if it'll require some modules that aren't in moddb (for ex., some ethernet driver). We may add some option to use legacy be

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
Hi. In most cases probing from squashfs is preferred over loading from moddb - at least, this will not break system after update if it'll require some modules that aren't in moddb (for ex., some ethernet driver). We may add some option to use legacy behavior with sqfs, or we may add fallback b

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
If there's no sqfs - steps 2, 4-5 (I've fixed order bottom) are omitted, and just h/w autodetect is called. Just like before. 04.07.2015 10:46, Erich Titl пишет: > Hi Andrew > > Am 04.07.2015 um 09:43 schrieb Andrew: >> Hi. >> >> Currently - there is a such order: >> 1. modules are copied to root

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Erich Titl
Hi Andrew Am 04.07.2015 um 09:43 schrieb Andrew: Hi. Currently - there is a such order: 1. modules are copied to rootfs from moddb 2. sqfs is mounted 3. h/w autoprobing (with sqfs) is executed. 3. loaded modules are copied to rootfs if they are missing here 4. modules from /etc/modules (+ deps)

Re: [leaf-devel] 5.2.saving modules problem

2015-07-04 Thread Andrew
Hi. Currently - there is a such order: 1. modules are copied to rootfs from moddb 2. sqfs is mounted 3. h/w autoprobing (with sqfs) is executed. 3. loaded modules are copied to rootfs if they are missing here 4. modules from /etc/modules (+ deps) are copied to rootfs if they are missing. Modules

Re: [leaf-devel] 5.2.saving modules problem

2015-07-03 Thread kp kirchdoerfer
Hi Andrew; Am Freitag, 3. Juli 2015, 20:24:18 schrieb Andrew: > Hi. > > 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. Understand; though this seems wrong to me: If I need space I'd like to remove the 17M

Re: [leaf-devel] 5.2.saving modules problem

2015-07-03 Thread Erich Titl
Hi Andrew Am 03.07.2015 um 19:24 schrieb Andrew: Hi. 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. Maybe it'll be good to run modules probing once before squashfs loading to load updated modules that repl

Re: [leaf-devel] 5.2.saving modules problem

2015-07-03 Thread Andrew
Hi. 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. Maybe it'll be good to run modules probing once before squashfs loading to load updated modules that replace older modules from squash. 03.07.2015 18:26,

[leaf-devel] 5.2.saving modules problem

2015-07-03 Thread kp kirchdoerfer
Hi; with the changes to sqfs I ran into a problem when saving modules. Automatic laoding during boot from kmodules.sqfs works pretty well for modules added in /etc/modules like tun.ko.gz and for hardware modules detected like ath*. When trying to save the added modules, it neither saves tun.ko