| View previous topic :: View next topic |
| Author |
Message |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Sun Sep 11, 2005 11:21 pm Post subject: Please use KLive |
|
|
A utility called klive has recently been released, in order to help kernel developers get a better idea of which kernels are being tested, based upon the number of people running each version. See http://kerneltrap.org/node/5606
The statistics are recorded and are publically available at http://klive.cpushare.com/
If we can get a decent number of gentoo-sources users using this tool then we (Gentoo kernel maintainers) would benefit by having a better general idea which Gentoo kernel versions are being tested and how much. This kind of info can be useful in some scenarios.
If you want to help out, it's really simple to set up:
| Code: | # emerge --sync
# emerge klive
# rc-update add klive default
# /etc/init.d/klive start |
Just to reiterate what it says at the end of the merge:
| Quote: | * To start klive, use the init script, e.g.:
* # /etc/init.d/klive start
* You should add klive to your default runlevel so that it will be
* started on on every bootup, e.g.:
* # rc-update add klive default
* klive periodically submits basic information about the configuration of
* your running kernel to a 3rd-party server which is NOT controlled by
* Gentoo. This data is probably privately logged against your IP address.
* The data submitted is used to generate basic statistics which provide
* insight as to how widely tested a particular kernel version is.
* These statistics are publically accessible at http://klive.cpushare.com
* If you have privacy/security concerns about the submission of this data
* and/or its public availability, unmerge this package now.
|
_________________ http://dev.gentoo.org/~dsd |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2718 Location: Munich, Bavaria
|
Posted: Mon Sep 12, 2005 12:32 am Post subject: |
|
|
humm...
| Quote: | SiRiUS src # LC_ALL=C /etc/init.d/klive start
* Starting KLive ...
Unable to cd to "/dev/null" [ !! ]
SiRiUS src # LC_ALL=C /etc/init.d/klive status
* status: stopped
|
maybe the init script is buggy? _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
dirtyepic Developer


Joined: 22 Oct 2004 Posts: 1614 Location: sk.ca
|
Posted: Mon Sep 12, 2005 1:41 am Post subject: |
|
|
working fine here. _________________ by design, by neglect
for a fact or just for effect |
|
| Back to top |
|
 |
hpestilence Tux's lil' helper


Joined: 16 Dec 2004 Posts: 82
|
Posted: Mon Sep 12, 2005 2:01 am Post subject: |
|
|
Would the ck-sources in portage show up in Gentoo or ck?
Reason I ask is the ck-sources description is:
| Code: | | Full sources for the Linux kernel with Con Kolivas' high performance patchset and Gentoo's basic patchset. |
EDIT: Just tried to emerge this but digest failed on klive-0.7.tar.bz2
Another EDIT: digest file has klive-0.7.tar.bz2 file size as 19260 but the file from the site is 19298 _________________ When the plague descends from Heaven above only Darkness will be your one true ally.
Last edited by hpestilence on Mon Sep 12, 2005 5:20 am; edited 2 times in total |
|
| Back to top |
|
 |
MethodZ n00b


Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Mon Sep 12, 2005 2:43 am Post subject: |
|
|
Emerge in progress tho, will my 733mhz with 256mb ram help out with this?.. or does hardware matter? _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
| Back to top |
|
 |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Sep 12, 2005 12:26 pm Post subject: |
|
|
the digest and the init script errors are fixed in klive-0.7-r1
ck-sources users will appear under 'ck' and not gentoo, even though its sort of a hybrid.
hardware doesn't matter, mainly interested in numbers of users at this stage, a wide range of hardware is good though  _________________ http://dev.gentoo.org/~dsd |
|
| Back to top |
|
 |
MethodZ n00b


Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Mon Sep 12, 2005 11:34 pm Post subject: |
|
|
well i emerge --sync... but i never emerged... cause i just got my Verlihub Up and running w00t w00t!
but im here again today and tried emerge klive and got this:
| Code: | !!! All ebuilds that could satisfy "klive" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-misc/klive-0.7 (masked by: ~x86 keyword)
|
Masked ... had this happen to another app... but forgot how to unmask..
if ya can help.. ill be on my way to help you  _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
| Back to top |
|
 |
hpestilence Tux's lil' helper


Joined: 16 Dec 2004 Posts: 82
|
Posted: Mon Sep 12, 2005 11:38 pm Post subject: |
|
|
Unmask by doing:
echo "app-misc/klive ~x86" >> /etc/portage/package.keywords
if you want to just unmask a specific version do:
echo "=app-misc/klive-0.7-r2 ~x86" >> /etc/portage/package.keywords
or edit /etc/portage/package.keywords manually with a text editor and just add
app-misc/klive ~x86 _________________ When the plague descends from Heaven above only Darkness will be your one true ally. |
|
| Back to top |
|
 |
meulie l33t


Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
|
| Back to top |
|
 |
John-Boy Guru


Joined: 23 Jun 2004 Posts: 436 Location: Desperately seeking Moksha in all the wrong places
|
Posted: Wed Sep 14, 2005 7:39 pm Post subject: |
|
|
Added and running, any change needed to my firewall for this to submit stuff ? _________________ When you break rules, break 'em good and hard |
|
| Back to top |
|
 |
meulie l33t


Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Wed Sep 14, 2005 8:29 pm Post subject: |
|
|
No, as far as I know both klive & the Linux Counter project work fine with a 'normal' firewall. So as long as your can browse the web from that machine, the scripts will work...  _________________ Greetz,
Evert Meulie |
|
| Back to top |
|
 |
Ibn al-Hazardous Tux's lil' helper


Joined: 02 Sep 2004 Posts: 133 Location: Somewhere deep in the desert.
|
Posted: Sun Sep 18, 2005 10:58 pm Post subject: |
|
|
I get a "missing keyword" error on amd64. Is there any real reason for this - or should I just add ~amd64 to the ebuild and put it in my overlay? _________________ /Ibn |
|
| Back to top |
|
 |
Ibn al-Hazardous Tux's lil' helper


Joined: 02 Sep 2004 Posts: 133 Location: Somewhere deep in the desert.
|
Posted: Sun Sep 18, 2005 11:46 pm Post subject: |
|
|
| Ibn al-Hazardous wrote: | | I get a "missing keyword" error on amd64. Is there any real reason for this - or should I just add ~amd64 to the ebuild and put it in my overlay? |
I tried that, and klive emerged without errors. Only it didn't put anything in /etc/init.d - which is a bit of a problem. Any ideas? _________________ /Ibn |
|
| Back to top |
|
 |
s0be Apprentice


Joined: 23 Nov 2002 Posts: 218
|
Posted: Mon Sep 19, 2005 11:23 pm Post subject: |
|
|
On amd64 I did the following:
mkdir /usr/local/portage/portage/app-misc
cp -a /usr/portage/app-misc/klive/ /usr/local/portage/app-misc/
cd /usr/local/portage/app-misc/
mv klive-0.7-r2.ebuild klive-0.7-r3.ebuild
vi klive-0.7-r3.ebuild
[added ~amd64 keyword]
emerge -pv klive
echo =app-misc/klive-0.7-r3 ~amd64 >> /etc/portage/package.keywords
emerge -pv klive
echo =dev-python/twisted-2.0.0 ~amd64 >> /etc/portage/package.keywords
emerge -pv klive
echo =net-zope/zopeinterface-3.0.1 ~amd64 >> /etc/portage/package.keywords
emerge -pv klive
emerge klive
ebuild klive-0.7-r3.ebuild digest
emerge klive
/etc/init.d/klive start
rc-update add klive default
BAM, amd64 working. |
|
| Back to top |
|
 |
Ibn al-Hazardous Tux's lil' helper


Joined: 02 Sep 2004 Posts: 133 Location: Somewhere deep in the desert.
|
Posted: Tue Sep 20, 2005 8:04 pm Post subject: |
|
|
| s0be wrote: | On amd64 I did the following:
mkdir /usr/local/portage/portage/app-misc
cp -a /usr/portage/app-misc/klive/ /usr/local/portage/app-misc/
cd /usr/local/portage/app-misc/
mv klive-0.7-r2.ebuild klive-0.7-r3.ebuild
vi klive-0.7-r3.ebuild
[added ~amd64 keyword]
emerge -pv klive
echo =app-misc/klive-0.7-r3 ~amd64 >> /etc/portage/package.keywords
emerge -pv klive
echo =dev-python/twisted-2.0.0 ~amd64 >> /etc/portage/package.keywords
emerge -pv klive
echo =net-zope/zopeinterface-3.0.1 ~amd64 >> /etc/portage/package.keywords
emerge -pv klive
emerge klive
ebuild klive-0.7-r3.ebuild digest
emerge klive
/etc/init.d/klive start
rc-update add klive default
BAM, amd64 working. |
Funny, as I stated I did pretty much that too.
The only difference is that I didn't do the mv thing - which isn't necessary. Anywaf, I tried again, and included the mv thing this time - but no such luck.
I do get the files /usr/share/klive/klive.tac and /usr/share/doc/klive-0.7-r3/README.gz, just not /etc/init.d/klive
So, any more ideas?  _________________ /Ibn |
|
| Back to top |
|
 |
s0be Apprentice


Joined: 23 Nov 2002 Posts: 218
|
Posted: Wed Sep 21, 2005 12:47 am Post subject: |
|
|
| You can manually copy the file from files/klive.init.d to /etc/init.d/klive and then it's there. What version of portage are you using? |
|
| Back to top |
|
 |
ericxx2005 Apprentice


Joined: 05 Apr 2005 Posts: 231 Location: 10 square miles surrounded by reality
|
Posted: Wed Sep 21, 2005 7:04 pm Post subject: |
|
|
| If this is pretty important, should it be put into the gentoo install manual? The reason I ask is that you're only going to get information on people who are "kernel-aware", and not from people who don't upgrade the kernel after install. |
|
| Back to top |
|
 |
Ibn al-Hazardous Tux's lil' helper


Joined: 02 Sep 2004 Posts: 133 Location: Somewhere deep in the desert.
|
Posted: Thu Sep 22, 2005 1:15 pm Post subject: |
|
|
| s0be wrote: | | You can manually copy the file from files/klive.init.d to /etc/init.d/klive and then it's there. |
Thanks! Now it's up and running.
| Quote: | | What version of portage are you using? |
First lines from emerge info:
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-gentoo-r10 x86_64)
System uname: 2.6.11-gentoo-r10 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.13 _________________ /Ibn |
|
| Back to top |
|
 |
vatachino n00b

Joined: 14 Oct 2004 Posts: 29
|
Posted: Thu Sep 29, 2005 1:33 pm Post subject: |
|
|
| meulie wrote: | No, as far as I know both klive & the Linux Counter project work fine with a 'normal' firewall. So as long as your can browse the web from that machine, the scripts will work...  |
From looking at the source code, klive only uses port 4921. Unless this is open in your firewall it will not work. It certainly doesn't work for me, either through the corporate firewall at work (http only), or through my (gentoo) fireall at home. |
|
| Back to top |
|
 |
thomasvk Guru

Joined: 19 Mar 2005 Posts: 599
|
Posted: Wed Oct 05, 2005 7:18 pm Post subject: |
|
|
Hey, because you say "testing kernels", is this only for developers and people testing out kernels, or also for all the other people just running kernels? In the latter case, I'd be more than willing to help out. |
|
| Back to top |
|
 |
yottabit Guru


Joined: 11 Nov 2002 Posts: 313 Location: Columbus, Ohio, US
|
|
| Back to top |
|
 |
opensas Guru

Joined: 24 Nov 2004 Posts: 408 Location: Buenos Aires - Argentina
|
Posted: Sat Oct 08, 2005 5:36 pm Post subject: |
|
|
| t0maz wrote: | Hey, because you say "testing kernels", is this only for developers and people testing out kernels, or also for all the other people just running kernels? In the latter case, I'd be more than willing to help out. |
I was about to post the same question
Besides on http://klive.cpushare.com it says
| Quote: |
During the 2005 Linux Kernel Developers Summit somebody raised the point that it's not clear how much testing each git/rc/pre kernel gets before the final release, so this project aims to provide kernel live feedback about the usage of every different Linux Kernel version. 265 computers are providing live feedback.
|
I only work with gentoo-sources (and once a vanilla-sources) marked as stable.
Saludos
Sas |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Sun Oct 09, 2005 11:07 pm Post subject: |
|
|
http://counter.li.org/reports/arearank.php
apparently Antartica has the highest density of Linux systems on the planet . Suppose it makes sense really, bloody penguin-huggers! _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Mon Oct 17, 2005 5:43 am Post subject: |
|
|
Working fine for me.
gentoo-sources rocks.  _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
chunderbunny Veteran


Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Mon Oct 17, 2005 8:39 pm Post subject: |
|
|
| What port does klive want to connect to? I think my firewall is blocking outbound access, so it needs to be let through. |
|
| Back to top |
|
 |
|