Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Please use KLive
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sun Sep 11, 2005 11:21 pm    Post subject: Please use KLive Reply with quote

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
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2718
Location: Munich, Bavaria

PostPosted: Mon Sep 12, 2005 12:32 am    Post subject: Reply with quote

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
View user's profile Send private message
dirtyepic
Developer
Developer


Joined: 22 Oct 2004
Posts: 1614
Location: sk.ca

PostPosted: Mon Sep 12, 2005 1:41 am    Post subject: Reply with quote

working fine here.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
hpestilence
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2004
Posts: 82

PostPosted: Mon Sep 12, 2005 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
MethodZ
n00b
n00b


Joined: 04 Sep 2005
Posts: 49
Location: /root/

PostPosted: Mon Sep 12, 2005 2:43 am    Post subject: Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon Sep 12, 2005 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
MethodZ
n00b
n00b


Joined: 04 Sep 2005
Posts: 49
Location: /root/

PostPosted: Mon Sep 12, 2005 11:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
hpestilence
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2004
Posts: 82

PostPosted: Mon Sep 12, 2005 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed Sep 14, 2005 7:05 am    Post subject: Reply with quote

If you're submitting your info anyway to 3rd parties, then why not also register your machine at Linux Counter Project? 8)


Register yourself at: http://counter.li.org/enter-person.php
Register your machine(s) at: http://counter.li.org/machine-form.php

and then use the script from http://counter.li.org/scripts/ to automate the whole thing...
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
John-Boy
Guru
Guru


Joined: 23 Jun 2004
Posts: 436
Location: Desperately seeking Moksha in all the wrong places

PostPosted: Wed Sep 14, 2005 7:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed Sep 14, 2005 8:29 pm    Post subject: Reply with quote

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... 8)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Sun Sep 18, 2005 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Sun Sep 18, 2005 11:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
s0be
Apprentice
Apprentice


Joined: 23 Nov 2002
Posts: 218

PostPosted: Mon Sep 19, 2005 11:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Tue Sep 20, 2005 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
s0be
Apprentice
Apprentice


Joined: 23 Nov 2002
Posts: 218

PostPosted: Wed Sep 21, 2005 12:47 am    Post subject: Reply with quote

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
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Wed Sep 21, 2005 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Thu Sep 22, 2005 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
vatachino
n00b
n00b


Joined: 14 Oct 2004
Posts: 29

PostPosted: Thu Sep 29, 2005 1:33 pm    Post subject: Reply with quote

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... 8)


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
View user's profile Send private message
thomasvk
Guru
Guru


Joined: 19 Mar 2005
Posts: 599

PostPosted: Wed Oct 05, 2005 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
yottabit
Guru
Guru


Joined: 11 Nov 2002
Posts: 313
Location: Columbus, Ohio, US

PostPosted: Sat Oct 08, 2005 5:12 pm    Post subject: Reply with quote

What happened to the good ol' Gentoo-Stats project?
_________________
Play The Hitchhiker's Guide to the Galaxy!
Back to top
View user's profile Send private message
opensas
Guru
Guru


Joined: 24 Nov 2004
Posts: 408
Location: Buenos Aires - Argentina

PostPosted: Sat Oct 08, 2005 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Sun Oct 09, 2005 11:07 pm    Post subject: Reply with quote

meulie wrote:
If you're submitting your info anyway to 3rd parties, then why not also register your machine at Linux Counter Project? 8)


Register yourself at: http://counter.li.org/enter-person.php
Register your machine(s) at: http://counter.li.org/machine-form.php

and then use the script from http://counter.li.org/scripts/ to automate the whole thing...


http://counter.li.org/reports/arearank.php

apparently Antartica has the highest density of Linux systems on the planet 8O . 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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Mon Oct 17, 2005 5:43 am    Post subject: Reply with quote

Working fine for me.

gentoo-sources rocks. :D
_________________
~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Mon Oct 17, 2005 8:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum