Author Topic: PCLinuxOS Education 2011.12 - please test it ! :)  (Read 2385 times)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: PCLinuxOS Education 2011.12 - please test it ! :)
« Reply #15 on: December 09, 2011, 05:02:32 PM »
One question. Which kernel is to be used? bfs or non-bfs?


Hi djohnston,
It is bfs. The one I added was to fix some problems met after I put the hard drive in another machine, then switched back. (I don't redo initrd by hand, rather install another kernel, reboot to it, remove the bfs, reinstall it later).

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: PCLinuxOS Education 2011.12 - please test it ! :)
« Reply #16 on: December 11, 2011, 05:31:50 PM »
Hi,

The dkms packages removed, the "rpm -e draklive-install" line commented in the /etc/rc.sysinit, the related error messages are no more.

I have remastered Edu twice on a row, to try to get Gcompris loading fast in a live. I have setup prelink this way, the first time (after full removal and reinstall, checking no leftovers from prelink where left in the system before reinstalling):
Code: [Select]
# /usr/sbin/prelink -R /usr/bin/gcompris
missing the "-m" on purpose. (I am a bit tired now, so won't explain much more but if you check "man prelink" you should get the idea... ). It happened to react too slow in the vbox, as live.

This roughly explained, makes prelink only a limited number of libs, and particularly all the ones which are used by gcompris. Then, the need to remove prelink at post-install becomes not so necessary : I would like prelink to stay... discrete, not making the hard drives noisy too after the cron job starts.

The vbox being still slow I did a new remaster where I added the "-m" option. Who knows, maybe keeping the memory address reserved for Gcompris could help. But it vbox, still slow... the little sign which appears when double-clicking fade away and the process would show in htop, but Gcompris really shows long after the program was started.

I then decided to burn a CD, and now, in the Live CD, it does not fade away when double-clicking the Gcompris icon on the desktop, and only a few seconds are necessary to get it started. It seems better.

Under /etc, the files belonging to prelink are:
Code: [Select]
# find . -name "prelink*"
./sysconfig/prelink
./cron.daily/prelink
./logrotate.d/prelink
./prelink.cache
./prelink.conf
./prelink.conf.d
./rpm/macros.d/prelink.macros

I looked at /etc/sysconfig/prelink and saw that one line could eventually be commented, so to get every... so much time, a quick prelink instead of a normal one. It is this one line at the end:
Quote
# How often should full prelink be run (in days)
# Normally, prelink will be run in quick mode, every
# $PRELINK_FULL_TIME_INTERVAL days it will be run
# in normal mode.  Comment it out if it should be run
# in normal mode always.
PRELINK_FULL_TIME_INTERVAL=14

Can you confirm I understand correctly ? And what about the last line of the file, after you read the commented lines in between ?

Last, wouldn't the "cron.daily/prelink" file be better in the "cron.weekly" directory, considering the goal is just to make gcompris start faster ?

Thanks for comments,
Mélodie

PS: I'll install to hard drive tomorrow.

« Last Edit: December 12, 2011, 07:49:25 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: PCLinuxOS Education - prelink tweak
« Reply #17 on: December 12, 2011, 07:39:46 AM »
Hi,

The last of 4 versions with different prelink setups : the best now, 3 seconds to start Gcompris in a Live session. prelink to minimum, just:

Code: [Select]
# prelink -vmR /usr/bin/gcompris
the cron file in the cron.weekly directory : I hope there is nothing else to change, so that it is started weekly, and the line above said in /etc/sysconfig/prelink, in order to have only quick prelinkings when cron job starts it (let's not scare the people and schools with the noises in the hard drive).

To change the prelink setup, I did:

# prelink -au (to remove all former prelinking)

# rm -f /etc/prelink.cache (to finish removing former prelinking)

# prelink -vmR /usr/bin/gcompris

With the "prelink -p" command, we can see all the libs which are prelinked.

A benchmark in my laptop T60, dual core, 32bits, 1833 MHz, 2 GB ram:
* The above setup allows having Gcompris start in 3 seconds in the live CD;
* The same setup but with all prelinked (option "-avmR") made Gcompris start in more than 27 seconds in the live CD;
* No prelinking at all : in the live, Gcompris takes several minutes before starting, which made a French speaking user think the icon was not launching anything.

I am going to install it to hard drive later this evening, and in the meanwhile upload it, if some of you wish to test it again. (I didn't try again the time needed for it to start, in Virtualbox... anyhow it is not Vbox which is going to be used most, but CD's, I think, and a few also might use it with the thumbdrive).

djohnston : I asked someone to redo the firefox icon, so that it looks more like a red panda cub and not to the Gimp icon (what animal is it supposed to be ? :) ). I am waiting for it, and when I get it will include in the last version of the year.

Regards,
Mélodie

« Last Edit: December 12, 2011, 07:44:52 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: PCLinuxOS Education 2011.12 - please test it ! :)
« Reply #18 on: December 12, 2011, 11:33:14 AM »
Hi,

The new version as of today is available, and you can find the link in the first page.
I will be looking forward to your feedback.

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline jlf001

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 519
Re: PCLinuxOS Education 2011.12 - please test it ! :)
« Reply #19 on: December 12, 2011, 01:19:53 PM »
Hi Mélodie

I have your current EDU ISO 12-12-11, up and running in VirtualBox.  Boot speed appears to be back to normal. So far, so good.

Jeff

Edit:  Live CD runs fine, including GCompris.
« Last Edit: December 13, 2011, 06:22:51 PM by jlf001 »

Offline Brian36

  • New Friend
  • *
  • Posts: 7
Re: PCLinuxOS Education 2011.12 - please test it ! :) re midwifi
« Reply #20 on: December 17, 2011, 11:32:04 AM »
Why not enable midwifi only thru root?

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: PCLinuxOS Education 2011.12 - please test it ! :) re midwifi
« Reply #21 on: December 17, 2011, 12:14:32 PM »
Why not enable midwifi only thru root?

Hi, what is "midwifi" supposed to be, and what exactly is your question ?

Thanks,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode