Error or warning activating a module

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Error or warning activating a module

Post#1 by bour59 » 15 Sep 2012, 14:54

hello !
Environment :
boot porteusv1.2-349 in vesa-mode as root
ctrl+alt+f1
login as root
Command executed :
activate crippled..v1.2-update..xzm
Results :
Updating shared library links: /sbin/ldconfig
Updating KDE menu: kbuildsycoca
Loading /usr/share/kbd/keymaps/i386/azerty/fr-latin1.map
[kbuildsycoca] Warning: kbuildsycoca is unable to register with DCOP.
[kbuildsycoca] kbuildsycoca running...
[tdeinit] Aborting. $DISPLAY is not set.
There was an error setting up inter-process communications for TDE. The message returned by the system was:
Could not read network connection list.
/root/.DCOPserver_je_xp70_NODISPLAY
Please check that the "dcopserver" program is running!
[kbuildsycoca] Reusing existing ksycoca.
Questions
seems ok, but
may I consider as only warning ?
same errors with other modules activating on the fly.
Blind methods ?
activate crippled... 2>null
deactivate crippled... 2>null
command only on X

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Error or warning activating a module

Post#2 by beny » 15 Sep 2012, 16:52

bour59, the crippled kernel source module, you can put it on the base folder or modules folder and at every boot you have this software available for the building task,check if module is corrupted.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: Error or warning activating a module

Post#3 by bour59 » 15 Sep 2012, 17:25

tx beny
I know that.
but is-it necessary to activate thousand of modules in case of.
what is the impact of activating thousand modules on memory size used! or other performance!
for now it'a mistery for me.

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Error or warning activating a module

Post#4 by beny » 15 Sep 2012, 19:19

i don't remeber the max modules activation numbe,r fanthom can help you better,but if you have a30 0r 40 modules i don't think you have trouble with aufs,but i can be wrong of course

User avatar
fanthom
Site Admin
Site Admin
Posts: 4592
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Error or warning activating a module

Post#5 by fanthom » 15 Sep 2012, 20:59

@bour59
activation of modules in cli while you have a GUI opened on vt7 is not a good idea as activation scripts needs to regenerate all the caches.
kbuildsycoca can't run in cli:

Code: Select all

[tdeinit] Aborting. $DISPLAY is not set.
so your GUI desktop may get broken.

there is no solution for this problem so please:
a) activate modules in GUI only
b) activate modules in cli but then restart GUI immediately
just to mention that this problem does not exist if you activate module in cli and then start GUI as kbuildsycoca is run at the start of each KDE session.

regarding aufs performance: i have seen a slowdown when ran 'slackyd -d' while have 512 modules activated (whole official repo).
this is rather rare scenario so aufs impact shouldn't affect average porteus user.

max number of aufs branches is set to 512 in the kernel config. i can raise it to 1024 or even 32k but really see no point for it.

Cheers
Please add [Solved] to your thread title if the solution was found.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: Error or warning activating a module

Post#6 by bour59 » 16 Sep 2012, 12:43

thx fanthom
I've written a small shell that avoid ac(dea)ctivate in cli
and explain the reason why

you say also : restart the gui
how to do this
I don't really understand why adding some folders from a module
needs the intervention of ksyscoca
linux tend to the opacity of another os
but this is not the place to discuss that indeed :D
Porteus is the best one!! like you , your team and all user's

Post Reply