Re: [gentoo-user] Why does my system still want gcc 3.4.9?
Am Mittwoch, 14. Mai 2008 schrieb ext [EMAIL PROTECTED]: So I moved 05compiler out of the way (I want to preserve that time stamp just in case I do need to restore it), ran env-update again, and now lzma is happy. I can run man again! Things which failed emerge now build -- 323 to go. Fine. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE-4.0.4 (not a nag)
Dmitry S. Makovey пишет: Hi everybody, does anybody know what's happening to KDE4 in gentoo land ? Gentoo-KDE folks were pretty responsive with previous 4.0.x releases updating portage tree etc., but now I can't find much updates on what's happening with 4.0.4. Was it 3.5.9 preparations that took priority? Note: this message is not a nag, it's just my curiosity speaking (well and desire to finally switch to KDE4 as 4.0.3 had some glitches and functionality gaps that prevented my permanent switch so far). I know who knows :) People from #gentoo-kde at irc.freenode.net can probably answer ur questions. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Constant hammering from Chinese IPs on prt 102[67]
[EMAIL PROTECTED] schrieb: Justin [EMAIL PROTECTED] writes: It appears to be, at root, just another snivel about how MS does things with no substance. I understand it the other way round. It is not an active knocking on your ports, but a passive MS thing. Lots of Chinese bought a new computer with an MS operating system, which is sending out to the world. Justin, A moments thought would indicate that logic has a large flaw in it. MS is the largest selling OS world wide .. that would indicate I should see this traffic from all parts of the world. But what I see is probably 85 % chinese in origin. Didn't they made a low cost version for the far east market? Perhaps they saved the money by reducing such things!? I think Mick's explanation is plausible. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Constant hammering from Chinese IPs on prt 102[67]
On Thursday 15 May 2008, Justin wrote: Didn't they made a low cost version for the far east market? Perhaps they saved the money by reducing such things!? I think Mick's explanation is plausible. The released a low-cost, cut-down, crippled version for places where piracy was rampant. I think it was priced as low as USD 2-3, but the actual price was based on what the local market could afford (ie it had to be competitive with pirate copies). This crippled version of Windows only allowed the simultaneous running of 2 or 3 applications. -- Crayon -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Why does my system still want gcc 3.4.9?
Another way (simple) to resolve the issue is to re-emerge lzma-utils with nocxx flag Sylvain Chouleur Date: Wed, 14 May 2008 11:28:10 -0700 From: [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Why does my system still want gcc 3.4.9? On Wed, May 14, 2008 at 06:40:24PM +0200, Dirk Heinrichs wrote: Did you check /etc/ld.so.conf, maybe 4.1.2 is still listed before 4.2.3? You may also need to clean up /etc/env.d a bit and running gcc-config again afterwards also seems to be a good idea. Thanks. I started looking at it last night, but it was a warm night after a long day and I left it for this morning. 4.1.2 is in ld.so.conf, and in two env.d files: # ls -l `grep -l 4.1.2 05*` -rw-r--r-- 1 root root 243 Feb 16 2007 05compiler -rw-r--r-- 1 root root 293 May 12 01:58 05gcc-i686-pc-linux-gnu The 05compiler file is so old that I suspect it is some kind of flotsam and needs to be deleted. The 05gcc file only includes 4.1.2 on the LDPATH line, but after 4.2.3, and its MANPATH, INFOPATH, PATH, and ROOTPATH entries are all 4.2.3 only. equery belongs doesn't know about either one. So I moved 05compiler out of the way (I want to preserve that time stamp just in case I do need to restore it), ran env-update again, and now lzma is happy. I can run man again! Things which failed emerge now build -- 323 to go. I wonder what lessons I have learned? I misled myself into thinking it was a compile problem because I didn't realize one lib could handle multiple versions. I probably didn't follow post merge instructions somewhen and that started the bitrot. I didn't take the hint when remerging lzma several times made no difference. Thanks again. I hope I don't need to ask for more help :-) -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list _ Caroline vient de mettre à jour son profil Messenger ! Connectez-vous ! http://login.live.com/login.srf?wa=wsignin1.0rpsnv=10ct=1198837564rver=4.0.1534.0wp=MBIwreply=http:%2F%2Fhome.services.spaces.live.com%2Flc=1036id=73625
Re: [gentoo-user] libmad.la missing
On Wednesday 14 May 2008, Volker Armin Hemmann wrote: On Mittwoch, 14. Mai 2008, Uwe Thiem wrote: Hi folks, libmad-0.2.1 doens't install libmad.la. Programs linking to it fail during link stage. Is it a known issue? there is no 'libmad-0.2.1' on my system. It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the emerge output: Merging media-libs/libmad-0.15.1b-r5 to / --- /usr/ --- /usr/lib/ /usr/lib/libmad.so - libmad.so.0.2.1 --- /usr/lib/pkgconfig/ /usr/lib/pkgconfig/mad.pc /usr/lib/libmad.a /usr/lib/libmad.so.0.2.1 /usr/lib/libmad.so.0 - libmad.so.0.2.1 And indeed: uwix uwe # ls -l /usr/lib/libmad* -rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so - libmad.so.0.2.1 lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0 - libmad.so.0.2.1 -rwxr-xr-x 1 root root 91472 May 15 09:10 /usr/lib/libmad.so.0.2.1 Still, no libmad.la. ??? Uwe -- Ignorance killed the cat, sir, curiosity was framed! -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gnome wallpaper
On Wed, 14 May 2008, Adam Carter wrote: My wallpaper doesnt come up when Gnome starts, but if i open the System - Preferences - Appearance dialogue it appears (i dont even need to make a change). So it looks like something is not running until i open the dialogue. Any ideas on how to fix it? Or will i have to resort to 'mv .gnome .gnome.orig' (or .gnome2) or something like that? I have that when the filesystem the wallpaper is on (for me: /home), is not mounted. I then manually do the mount and select the wallpaper as you describe. So maybe your wallpaper is needed before the right filesystem is mounted. Maybe it's a network file system? Regards, Christophe L. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Why does my system still want gcc 3.4.9?
Am Donnerstag, 15. Mai 2008 schrieb ext Sylvain Chouleur: Another way (simple) to resolve the issue is to re-emerge lzma-utils with nocxx flag No. It's just a workaround that works with certain packages, but fails for others (where C++ is not optional). The solution is to fix the broken environment. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Nice level for X11
Thanks, these are already okay. 2008/5/14 Justin Findlay [EMAIL PROTECTED]: On AD 2008 May 13 Tuesday 09:50:24 PM +0200, Abraham Gyorgy wrote: Hello guys, in which configuration file can I set a nice level for X11? (this makes all graphical software run much faster, at least when I used Debian). Before trying this, there are some kernel modifications you can try: preemptible kernel timer frequency - 1000 Hz Justin -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Howto mask release candidates?
Is it possible in packages.mask to mask only release candidates/alpha/beta versions, while leaving final releases unmasked? Thanks, Marko -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Nice level for X11
On Thursday 15 May 2008, Abraham Gyorgy wrote: I know X runs always as root. But setting the X server process' priority to for example -10 makes graphical software response faster. It works for me!! (no matter the system hangs sometimes :). I think you have a fast machine, try it with a very slow computer (sempron processor and radeon xpress200m+fglrx). Please don't top post in this forum. Look, you are talking about running the X session as root. That doesn't make sense as an X session is e.g. gnome or kde which runs as the user. I fail to see how the X client programs have any effect on the the responsiveness of the server, yet this is exactly what you are saying. Then you talk about vulnerabilities in the client apps with an implication that this can somehow affect the server which runs as root. But that is just not true, except if a client can exploit a vulnerability in the server (which is to my mind not what you are saying). Finally, there is very little point in debating this topic. If Linus says that niceness has never had a whole lot of effect in Linux, and that perceived differences are entirely due to reducing the latency a specific app experiences, then I am going to go with the one guy that knows the subject and consider your experiences to be anecdotal. You'll probably get better results with X by selecting a suitable process scheduler and configuring your HZ to 1000 2008/5/14 Alan McKinnon [EMAIL PROTECTED]: On Wednesday 14 May 2008, Josh Cepek wrote: lapitopi gyuszk # snice -15 X As already pointed out, running process with a nice value less than 0 can only be done by root, and it's usually a really bad idea to run your entire X session as root. X (and applications running under X) involve a lot of code, and vulnerabilities can exist in this code. I think you don't know how X runs. X *always* runs as root on Linux so whether you nice it to 19 or -19 is not relevant. It was only very very recently that someone got X to run as a user. Do you disagree or should I elaborate? -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Howto mask release candidates?
On Thursday 15 May 2008, Marko Kocić wrote: Is it possible in packages.mask to mask only release candidates/alpha/beta versions, while leaving final releases unmasked? Do you want one line that applies it everywhere? I don't think that is supported, and you pretty much have to list them per-package. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Nice level for X11
I know X runs always as root. But setting the X server process' priority to for example -10 makes graphical software response faster. It works for me!! (no matter the system hangs sometimes :). I think you have a fast machine, try it with a very slow computer (sempron processor and radeon xpress200m+fglrx). 2008/5/14 Alan McKinnon [EMAIL PROTECTED]: On Wednesday 14 May 2008, Josh Cepek wrote: lapitopi gyuszk # snice -15 X As already pointed out, running process with a nice value less than 0 can only be done by root, and it's usually a really bad idea to run your entire X session as root. X (and applications running under X) involve a lot of code, and vulnerabilities can exist in this code. I think you don't know how X runs. X *always* runs as root on Linux so whether you nice it to 19 or -19 is not relevant. It was only very very recently that someone got X to run as a user. Do you disagree or should I elaborate? -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Nice level for X11
You really don't know what I was talking about. (sorry for my bad English). I'm NOT running my X11 session as root (only X server), but as normal user. Setting the nice level of X server below 0 (for example -10 or -15) made all X11 clients (the graphical programs) response faster. Everything responses smoother. This is not about RUNNING faster, but along with my preemptible kernel my whole X11 session become smoother. (this is important for me because I own a very slow computer..sh*t sempron processor..). Not ages ago (sarge or sid in 2006 for example) Debian asked me if I want X server to run with higher priority. (when installing x11 package with debconf set to low). This gave me the idea. My X11 session works good. There was 2 system hangups while playing video with Mplayer. Maybe that was because of the very high priority. I will play with the values, -15 proved to be dangerous. 2008/5/14 Josh Cepek [EMAIL PROTECTED]: Abraham Gyorgy wrote: Well I did a little Google'ing, and i found a blog. There the author wrote: lapitopi gyuszk # snice -15 X As already pointed out, running process with a nice value less than 0 can only be done by root, and it's usually a really bad idea to run your entire X session as root. X (and applications running under X) involve a lot of code, and vulnerabilities can exist in this code. You don't want any vulnerabilities to be potentially exploited as the root user. Take the multiple X-terminal vulnerabilities reported last week by the Gentoo security team that could allow local attackers to hijack X11 terminals of other users. The moral is don't run as root unless you actually need to (and I'd argue that you should never need to run X sessions as root.) After doing this, I ran htop and it told me that my X11 was running with -15 niceness. I experience better responsiblity under all of X11 (kde, firefox, konsole, anything). For example switching from an existing Firefox window to (for ex.) Konsole or Xchat is much faster. I have to add, I own a very slow computer, so I have to do everything to speed up my system. It is very slow even with WinXP+official drivers. If the goal is to lower the priority of other tasks the computer may be doing at the same time, perhaps setting a higher nice value for them would offer similar results. In the case of compiling, portage provides an easy way to lower the priority with the PORTAGE_NICENESS value. 2008/5/14 Uwe Thiem [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: On Tuesday 13 May 2008, Andrey Falko wrote: On Tue, May 13, 2008 at 4:02 PM, Uwe Thiem [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Tuesday 13 May 2008, Abraham Gyorgy wrote: Hello guys, in which configuration file can I set a nice level for X11? (this makes all graphical software run much faster, at least when I used Debian). Nice factor for X makes graphical software run fater? I don't thinl so. Not at all. Nice factor gives X priority, so if you are compiling something and X's priority is high, you'll be using X as if nothing was being compiled. Only if you are root. As a normal user, you can only lower the priority of a process. -- Josh
Re: [gentoo-user] Re: Constant hammering from Chinese IPs on prt 102[67]
On Thursday 15 May 2008, [EMAIL PROTECTED] wrote: Justin [EMAIL PROTECTED] writes: I understand it the other way round. It is not an active knocking on your ports, but a passive MS thing. Lots of Chinese bought a new computer with an MS operating system, which is sending out to the world. Justin, A moments thought would indicate that logic has a large flaw in it. MS is the largest selling OS world wide .. that would indicate I should see this traffic from all parts of the world. But what I see is probably 85 % chinese in origin. The large flaw in logic you noticed may be smaller than initial assumptions would suggest. In essence the Chinese MSWindows users are new in the scene and not as technically savvy as their primarily western counterparts. The latter have been through the educational cycle of getting infected and reinstalling WinXP a few times over. Arguably the Chinese machines are not as well patched, or updated (you can google for figures of illegitimate WinXP copies in Asia . . . ) It can't be a coincidence that the highest growth in botnets is closely correlated with the arrival of capitalistic consumerism in developing countries like China, Eastern Europe, Russia and South America. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Re enter chroot install
reader at newsguy.com writes: # mount -o bind /dev /mnt/gentoo/dev Other have commented about the .../boot stuff but in dozens of times chrooting during all kinds of install situations I've never done `mount -o bind /dev /mnt/gentoo/dev' And far as I know it never caused me a problem. I got that directly from the current handbook. I'll omit that step. It's a CF-ide setup. One very cool thing is I can move the CF to a usb-CF reader and just edit the CF as I like, without entering chroot... Very nice feature of a CF based Hard drive. Thanks to all that responded. James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] libmad.la missing
On Donnerstag, 15. Mai 2008, Uwe Thiem wrote: On Wednesday 14 May 2008, Volker Armin Hemmann wrote: On Mittwoch, 14. Mai 2008, Uwe Thiem wrote: Hi folks, libmad-0.2.1 doens't install libmad.la. Programs linking to it fail during link stage. Is it a known issue? there is no 'libmad-0.2.1' on my system. It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the emerge output: Merging media-libs/libmad-0.15.1b-r5 to / --- /usr/ --- /usr/lib/ /usr/lib/libmad.so - libmad.so.0.2.1 --- /usr/lib/pkgconfig/ /usr/lib/pkgconfig/mad.pc /usr/lib/libmad.a /usr/lib/libmad.so.0.2.1 /usr/lib/libmad.so.0 - libmad.so.0.2.1 And indeed: uwix uwe # ls -l /usr/lib/libmad* -rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so - libmad.so.0.2.1 lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0 - libmad.so.0.2.1 -rwxr-xr-x 1 root root 91472 May 15 09:10 /usr/lib/libmad.so.0.2.1 Still, no libmad.la. hm, you are right. But revdep-rebuilt should solve that problem. Not by creating the la file but by rebuilding the apps needing it. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] libmad.la missing
On Thursday 15 May 2008, Volker Armin Hemmann wrote: On Donnerstag, 15. Mai 2008, Uwe Thiem wrote: On Wednesday 14 May 2008, Volker Armin Hemmann wrote: On Mittwoch, 14. Mai 2008, Uwe Thiem wrote: Hi folks, libmad-0.2.1 doens't install libmad.la. Programs linking to it fail during link stage. Is it a known issue? there is no 'libmad-0.2.1' on my system. It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the emerge output: Merging media-libs/libmad-0.15.1b-r5 to / --- /usr/ --- /usr/lib/ /usr/lib/libmad.so - libmad.so.0.2.1 --- /usr/lib/pkgconfig/ /usr/lib/pkgconfig/mad.pc /usr/lib/libmad.a /usr/lib/libmad.so.0.2.1 /usr/lib/libmad.so.0 - libmad.so.0.2.1 And indeed: uwix uwe # ls -l /usr/lib/libmad* -rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so - libmad.so.0.2.1 lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0 - libmad.so.0.2.1 -rwxr-xr-x 1 root root 91472 May 15 09:10 /usr/lib/libmad.so.0.2.1 Still, no libmad.la. hm, you are right. But revdep-rebuilt should solve that problem. Not by creating the la file but by rebuilding the apps needing it. How? If the build system of a package uses libtool and insists on the existence of this la file, revdep-rebuild wouldn't help. Actually I tried to re-emerge failing package with --oneshot (not different from what revdep-rebuild does) and it failed again due to the missing la. I could, of course, write the la file myself. In the end, it is just a text file describing some properties of the liberary. But that seems a very hackish work-around. I don't want to do a revdep-rebuild right now because I have a half-baked update. And from my POV, it wouldn't help at all. Uwe -- Ignorance killed the cat, sir, curiosity was framed! -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] libmad.la missing
On Donnerstag, 15. Mai 2008, Uwe Thiem wrote: On Thursday 15 May 2008, Volker Armin Hemmann wrote: On Donnerstag, 15. Mai 2008, Uwe Thiem wrote: On Wednesday 14 May 2008, Volker Armin Hemmann wrote: On Mittwoch, 14. Mai 2008, Uwe Thiem wrote: Hi folks, libmad-0.2.1 doens't install libmad.la. Programs linking to it fail during link stage. Is it a known issue? there is no 'libmad-0.2.1' on my system. It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the emerge output: Merging media-libs/libmad-0.15.1b-r5 to / --- /usr/ --- /usr/lib/ /usr/lib/libmad.so - libmad.so.0.2.1 --- /usr/lib/pkgconfig/ /usr/lib/pkgconfig/mad.pc /usr/lib/libmad.a /usr/lib/libmad.so.0.2.1 /usr/lib/libmad.so.0 - libmad.so.0.2.1 And indeed: uwix uwe # ls -l /usr/lib/libmad* -rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so - libmad.so.0.2.1 lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0 - libmad.so.0.2.1 -rwxr-xr-x 1 root root 91472 May 15 09:10 /usr/lib/libmad.so.0.2.1 Still, no libmad.la. hm, you are right. But revdep-rebuilt should solve that problem. Not by creating the la file but by rebuilding the apps needing it. How? If the build system of a package uses libtool and insists on the existence of this la file, revdep-rebuild wouldn't help. Actually I tried to re-emerge failing package with --oneshot (not different from what revdep-rebuild does) and it failed again due to the missing la. I could, of course, write the la file myself. In the end, it is just a text file describing some properties of the liberary. But that seems a very hackish work-around. I don't want to do a revdep-rebuild right now because I have a half-baked update. And from my POV, it wouldn't help at all. Uwe -- Ignorance killed the cat, sir, curiosity was framed! http://blog.flameeyes.eu/articles/2008/04/14/what-about-those-la-files https://bugs.gentoo.org/show_bug.cgi?id=218286 just run revdep-rebuilt. The la file is not really needed at all. But somewhere something 'thinks' to depend on it. revdep-rebuilt will fix that. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Why does my system still want gcc 3.4.9?
On Thu, May 15, 2008 at 10:31:09AM +0200, Dirk Heinrichs wrote: Am Donnerstag, 15. Mai 2008 schrieb ext Sylvain Chouleur: Another way (simple) to resolve the issue is to re-emerge lzma-utils with nocxx flag No. It's just a workaround that works with certain packages, but fails for others (where C++ is not optional). The solution is to fix the broken environment. Absolutely. Many other packages were failing to merge too. This is the right way to fix it. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] opengl apps not running
I'm having trouble running opengl apps like glxgears and tremulous. The nvidia kernel module is loaded and eselect reports that opengl is being handled by nvidia but still no opengl app runs. Glxgears complains about it being run in the wrong display.
Re: [gentoo-user] df showing rootfs
On Tuesday 13 May 2008, 20:56, Miika Linnapuomi wrote: Actually its relatively obvious, but its a 'dynamic' rule in /lib/udev/write_root_link_rule, that creates /dev/.udev/rules.d/10-root-link.rules Yes I have that, and I even have the /dev/root device. However, df does not show rootfs or /dev/root in its output (while on baselayout-2 systems it does). -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] opengl apps not running
On Thu, May 15, 2008 at 11:49 AM, Marzan, Richard non Unisys [EMAIL PROTECTED] wrote: I'm having trouble running opengl apps like glxgears and tremulous. The nvidia kernel module is loaded and eselect reports that opengl is being handled by nvidia but still no opengl app runs. Glxgears complains about it being run in the wrong display. You have nvidia in your xorg.conf right? What do you xorg settings look like? -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] FreeAgent USB drive
Hello, I have a FreeAgent(Seagate) usb drive, that shows up as /medea/sdb1 in Konqueror. I can go thru it via Konqueror and see all of the files (dll .exe, docs etc) but I cannot cd into the directories and sub directories and see any files. The kernel I use (2.6.24-gentoo-r7) has NTFS r/w enabled and fat fs too. It works fine with most usb/ntfs devices. I also have ivman installed as well as dbus and hald. I've googled and folks talk about FreeAgent usb drive not being too linux friendly. The advise ranges from reformat the drive to patching the kernel to deal with it auto-shut-down. I'd be curious how folks on this list use a free agent usb drive with Gentoo. If possible, I'd like to keep it with it's windows features and be able to move it seemlessly between doz and gentoo system, as a general purpose backup/restore/archive drive. Ideas and comments are most welcome. James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Nice level for X11
On Thursday 15 May 2008, Alan McKinnon wrote: On Thursday 15 May 2008, Abraham Gyorgy wrote: I know X runs always as root. But setting the X server process' priority to for example -10 makes graphical software response faster. Setting the X server to -10 may make the X more responsive to client requests - theoretically that is. However, since this is a zero sum game, some other processes will be short changed. So they may (theoretically again) run slower. It could well be that your KDE session becomes slower as a result, ha! Anyway, just looking at the info page I read: === A niceness should not be confused with a scheduling priority, which lets applications determine the order in which threads are scheduled to run. Unlike a priority, a niceness is merely advice to the scheduler, which the scheduler is free to ignore. === Perhaps this is the reason why Linus has uttered his particular words of wisdom on this matter. It works for me!! (no matter the system hangs sometimes :). I think you have a fast machine, try it with a very slow computer (sempron processor and radeon xpress200m+fglrx). I have slow machine(s) and I tried your suggestion, but have not run any benchmarks. I cannot sense a difference. You'll probably get better results with X by selecting a suitable process scheduler and configuring your HZ to 1000 Now, this I have noticed making a difference. Not all schedulers are born the same. I have found that (the current version of) CFQ is better than others. As a matter of interest, I remember reading somewhere that squeezing 1000Hz out of an old machine may have the opposite effect to that intended. Is this pub talk, or have you experienced something that confirms this? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Howto mask release candidates?
On Thu, 2008-05-15 at 11:34 +0200, Marko Kocić wrote: Is it possible in packages.mask to mask only release candidates/alpha/beta versions, while leaving final releases unmasked? what is the aim of this? To have a stable system? In that case you should make sure ACCEPT_KEYWORDS in make.conf does NOT have a ~ Then you may get release candidates and betas but only when they're proven to work, or work better. hth, -- Iain Buchanan iaindb at netspace dot net dot au Success covers a multitude of blunders. -- George Bernard Shaw -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] UPS recommendation
--- On Tue, 5/13/08, PaulNM [EMAIL PROTECTED] wrote: From: PaulNM [EMAIL PROTECTED] Subject: Re: [gentoo-user] UPS recommendation To: gentoo-user@lists.gentoo.org Date: Tuesday, May 13, 2008, 4:51 AM Arthur Britto wrote: You likely want more than a minute. Most likely, you don't want your system to crash when coming back up when power fails soon after it is restored: your system could be in the middle of a fsck. Generally, you want enough capacity to: power off, power on, and then power off safely. I second this. If the system is busy, it might take a couple of minutes before it really shuts down. Ten to fifteen minutes is the MINIMUM runtime I'd suggest. As the battery ages, runtime will lessen, plus it gives you more room to expand. Power usage does not scale linearly, if 200 watt usage lasts X amount of time, 400 watt usage lasts less than X/2 and 100 watt is more than 2X. My personal experiences with power outages is that they're rare and short, but when they do occur they happen a few times during the day/night. This, of course, may vary from your area. Another thing to consider is brownouts or volt dropages. The ups will kick in if the volt level drops too low (or too high). If this happens frequently enough, it will deplete the battery or wear it out much more quickly. I am very happy with the CyberPower Intelligent LCD Series: CP*AVRLCD http://www.cyberpowersystems.com/ The series has: NUT support: You want something that works with NUT. Instead of a vendor specific package. This way your acquired skills are portable and future proofed. Network UPS Tools http://eu1.networkupstools.org NUT is great. It safely powers off my system when the UPS is low. Additionally, I set it up to e-mail my cell phone when the power state changes. If I go out during a power outage, I can stay out longer if I know the power is not restored. My personal experience has been with APC equipment, but CyberPower is also a great maker. I also second NUT. It's a better, more flexible framework that supports just about any decent ups. USB interface: * A USB port is more future proof: serial ports are becoming rare. * Allows monitoring UPS state. * Allows powering off the UPS. USB is almost mandatory now. Serial ports are usually only on high-end expensive models, and (almost) never on what you'll find in stores. LCD Display: At a touch know: * power consumption (don't need to pull out a Kill-O-Watt) * battery charge * estimated minutes remaining Before spending extra on anything with an LCD, google the model or lcd errors first. I've seen reports that they tend to be inaccurate, especially with APC. Mine under reports watt usage by a significant amount, somewhere between 1/3 to 2/3 of actual usage(I forget what my tests with various light bulbs showed). This was testing the ups with only a small lamp plugged in, everything else UNPLUGGED (not just off). I also used several light bulbs since they can vary a little. One thing to be wary of is like most inexpensive UPSes it does not provide a pure sine wave. This can damage a power supply that has active power factor correction. Luckily for my Silencer 750 Quad according to the manufacturer due to the short time in which the UPS is in use it is not an issue. -Arthur PaulNM -- gentoo-user@lists.gentoo.org mailing list Thanks for your exhaustive replies. I've decided to go for the APC ES-350 for seventy bucks at the local Staples. Mostly because I could pack it home on my bike and avoid the shipping charges which are huge for heavy things, like UPS systems. According to the table on the back of the box I get 6min with a 15in LCD monitor, so I should get slightly more with no monitor attached. I don't care if I don't save something or have to abort a compile in mid-stream. What I'm afraid of his having the power cut out while the r/w head of the hard drive is in motion. That can't be good. -mw -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Nice level for X11
On Thu, 15 May 2008 19:45:17 +0100 Mick [EMAIL PROTECTED] wrote: On Thursday 15 May 2008, Alan McKinnon wrote: On Thursday 15 May 2008, Abraham Gyorgy wrote: I know X runs always as root. But setting the X server process' priority to for example -10 makes graphical software response faster. Setting the X server to -10 may make the X more responsive to client requests - theoretically that is. However, since this is a zero sum game, some other processes will be short changed. So they may (theoretically again) run slower. It could well be that your KDE session becomes slower as a result, ha! Anyway, just looking at the info page I read: === A niceness should not be confused with a scheduling priority, which lets applications determine the order in which threads are scheduled to run. Unlike a priority, a niceness is merely advice to the scheduler, which the scheduler is free to ignore. === Perhaps this is the reason why Linus has uttered his particular words of wisdom on this matter. It works for me!! (no matter the system hangs sometimes :). I think you have a fast machine, try it with a very slow computer (sempron processor and radeon xpress200m+fglrx). I have slow machine(s) and I tried your suggestion, but have not run any benchmarks. I cannot sense a difference. You'll probably get better results with X by selecting a suitable process scheduler and configuring your HZ to 1000 Now, this I have noticed making a difference. Not all schedulers are born the same. I have found that (the current version of) CFQ is better than others. Please, correct me if I'm wrong. I believe you're mixing the block device I/O SCHEDULERS (CFQ, deadline, anticipatory) with the process scheduling PLOCIES (Real time, BATCH, FIFO...). While the first are used to reorder the I/O requests to optimise the head movements in HDDs, the latter define how the kernel should divide the CPU time between processes and their threads. Choosing one I/O scheduler over another may have some effect on the way the X sessions behaves, but it would be indirect. Choosing one scheduling policy over another for a given application has a direct impact on its performance. As a matter of interest, I remember reading somewhere that squeezing 1000Hz out of an old machine may have the opposite effect to that intended. Is this pub talk, or have you experienced something that confirms this? There's a logic behind this claim. The timer frequency (as I understand it) defines how many times per second a process can be interrupted (making the CPU work on something else). The higher the frequency, the smoother the experience, but at the cost of the time it takes a process to finish. Let's see what happens if for example you had a massive tar job (e.g. archiving your $HOME) and wanted to use the system as usual at the same time. Case 1 - timer freq. = 1000Hz Working with the system is (almost) as normal - fast responses, no delay in switching windows and so on. Tar finishes its job for 30min. Case 2 - timer freq. = 100Hz The system is almost unusable. Switching windows takes several (tens of) seconds, responses are extremely slow. The tar job is done after 10min. So, too many interrupts in a saturated system (or slow CPU) would make the CPU work a little on each job and start another w/o finishing anything in time. (Again, please, correct me if I'm wrong) -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list