Re: [gentoo-user] Holiday greetings!
Merry Christmas all! Looks like it's about to officially start in about twenty seconds. -- Bill Longman Sent from my Galaxy S On Dec 24, 2011 12:49 PM, Andrés Becerra Sandoval andres.bece...@gmail.com wrote: Merry Christmas to all :) -- Andrés Becerra Sandoval
Re: [gentoo-user] [OT] adding another terminal
On Tue, Dec 20, 2011 at 3:04 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, I'd like to add another terminal to my machine (there is no need for a separate full blown work station). I see two possibilities: - add another graphics card and attach a second screen, keyboard and mouse. I'd have to figure out how to tell X11 that configuration - built something like an X-terminal: a mini-pc (with a mini Gentoo system) and connect it to my server via ethernet to the. I'd use NXclient on that machine. I'd prefer this options since this terminal needn't be close to the server machine. Would anybody be so kind to share his/her experience with these options or even suggest another one? I've been using a nice little D525 Atom box that uses XDMCP into my main machine. That works well except that I've never cared to delve deep enough into streaming the audio to the Atom. And it seems like some of the KDE tools think that if you log into the machine, it's okay to assume that your X session is all one common jungle of interconnections. I've seen dbus do this, too. If I use a lighter WM, it's not an issue. Mostly I use wmaker anyway on the Atom but KDE standalone there works great. One other way that I've played with on and off again for many years now is with Xvnc. I have an old Axel thin client that does VNC/RDP and telnet and things and it works quite well. I've just stood up wmaker in a VNC session on my main box, point the Axel at it and, presto: X sessions through a silent 10W tray. It's very usable at 100Mbps. -- Bill Longman
Re: [gentoo-user] Listing applications with eix...
On Sat, Dec 3, 2011 at 2:14 AM, meino.cra...@gmx.de wrote: Hi, is there a way to list all -- for exmaple -- audio related applications without without being burried under audio related system libs for example or entries with (also as an exmaple) this application does not supprt audio but only imageing I want the full dexcription, not only the heade line... Here's one way that I like to look for these, Meino: eix --stable -c -S audio Obviously there's no easy way to get a noise-free listing of what you want, but I've often found looking for text in the description with the -S is a useful method. -- Bill Longman
Re: [gentoo-user] Listing applications with eix...
On 12/06/2011 06:55 AM, Rudmer van Dijk wrote: Bill Longman wrote: is there a way to list all -- for exmaple -- audio related applications without without being burried under audio related system libs for example or entries with (also as an exmaple) this application does not supprt audio but only imageing I want the full dexcription, not only the heade line... Here's one way that I like to look for these, Meino: eix --stable -c -S audio Obviously there's no easy way to get a noise-free listing of what you want, but I've often found looking for text in the description with the -S is a useful method. well, there is this: (don't forget the trailing slash!) `eix -c media-sound/` but for a whole category you'll definitely want to use '-c', there is so much... but all audio related even without audio in the name or description. If you know your application lives in a specific category, then you should use the -C category. But Meino's question specifically asked how to get ANY audio related application out of all of portage. That means you have to search WITHOUT a category, unless of course you are doing searches through each individual category in search of some string. The lowercase -c compresses the output to include the header. The uppercase -C forces a category. You can use wildcards on categories, for instance, -C sci-* ks returns entries from sci-{chemistry,electronics,libs,visualization}.
Re: [gentoo-user] Disappearing useflag hell
On Nov 27, 2011 3:44 PM, Dale rdalek1...@gmail.com wrote: walt wrote: Somewhere deep in the bowels of portage my 'introspection' useflag is vanishing -- but on just one of my three machines. I set the introspection useflag on all three machines (two ~amd64 and one ~x86) but when I run emerge --info, only two of the machines show the introspection useflag in the output. Why? All three machines share the same /usr/portage by NFS, so they all see the same use.mask and use.force files, etc. I'm running the default linux desktop gnome profile on all three. I tried deleting my /etc/portage/* on the problem machine, which made no difference. I even tried using an empty make.conf and adding the single line USE=introspection, but that made no difference either. When I flip other useflags in make.conf the changes show up in the output of emerge --info, but not when I flip 'introspection'. Two days wasted and I'm out of ideas. Anyone understand the details of emerge --info or what I can do to diagnose this problem? I searched the -dev mailing list and only found references to the flag being enabled on a lot of packages. It appears to be a Gnome thing but don't quote me on it. Is it possible that it is enable by default whether it is set or not? There was talk of making it on in the profile instead of make.conf. Yeah, could it be part of your profile? That's up in /etc so it could be different among hosts. I would do a emerge -pv package that uses the flag and see if it shows up there. If it is a small package, compile it then see if it is built in or not. If it is, then they have it turned on somewhere. This is a bug report that you can read on too. https://bugs.gentoo.org/show_bug.cgi?id=324989 That help any? Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Re: Hard drive RPMs and data speed.
On 10/27/2011 12:41 PM, Volker Armin Hemmann wrote: and I had 5 death stars failing on me. Darth Vader's death star failed, too.
Re: [gentoo-user] Strange problem with urxvt
On 10/03/2011 10:54 AM, Allan Nielsen wrote: Hi First of all, sorry if this is not the right forum to post this question. I'm having a strange problem with urxvt on one of my computers. When I uses a command which type some text on the screen and then waits for input, the text does not appear in urxvt until I resize the window, or forces an redraw in other ways. It works fine with other terminal emulators, and urxvt works fine on my other computer (with the same settings). I'm using gentoo, xmonad and urxvt Does any of you have a clue on what might be my problem? I have a similar problem with xterm in KDE using radeon. Is that your environment, too, Allan? (You should have provided your X version and video driver information in your question, BTW.) I see it across the board on radeon only, though, with X 1.10.4. I have focus-follows-mouse and I just mouse out and back to my xterm and it redraws. It seems any xterm-type terminal does the same thing. I don't think I have ever had the problem with konsole, though.
Re: [gentoo-user] Hard drives not detected in repeatable order.
On 10/03/2011 12:01 PM, Florian Philipp wrote: Am 03.10.2011 20:40, schrieb Grant Edwards: Just recently I've run in to problems because my hard drives are not detected in a predictable order, so my fstab that mount /dev/sdb1 and /dev/sdc1 sometimes result in directory trees in the wrong places (/dev/sda seems consistent, but I don't know why). What's the recommended way to fix this? Mount by UUID or label. In /etc/fstab, specify UUID=foo or LABEL=bar instead of /dev/sdx1. You can current UUIDs and labels with `ls -l /dev/disk/by-uuid` and `ls -l /dev/disk/by-label`, respectively. Or, if they are ext, use tune2fs -l. One of its output lines will be: Filesystem UUID: 40ea622d-8265-4498-bc89-0c0f9020dffb
Re: [gentoo-user] Strange problem with urxvt
On 10/03/2011 12:26 PM, Michael Mol wrote: On Mon, Oct 3, 2011 at 3:09 PM, Bill Longman bill.long...@gmail.com wrote: On 10/03/2011 10:54 AM, Allan Nielsen wrote: I'm using gentoo, xmonad and urxvt I have a similar problem with xterm in KDE using radeon. Is that your environment, too, Allan? xmonad is a window manager, so he wouldn't be using kwin. I don't know how much KDE or xdg integration it does, though. Yes, I was asking about his hardware environment, Michael. I do not see the same problem on my nvidia cards.
Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited
On 09/23/2011 10:06 AM, Adam Carter wrote: Will gig negotiate auto cross over on a straight cable? I have a cross over i can use, but since you mentioned gig Yes. GigE is always auto-mdi by definition.
Re: [gentoo-user] Cheapest dedicated gentoo servers?
On 09/02/2011 06:41 AM, Nilesh Govindarajan wrote: Gentoo and most importantly are reliable. Service should be stable. Isn't this an oxymoron?
Re: [gentoo-user] /usr/portage index?
On 08/26/2011 10:08 AM, James wrote: Hello, In /usr/portage/sci-chemistry, there are lots of software offerings. My son is new to Gentoo but now I let him go root and install packages. Does Gentoo maintain an online index with brief description of each so one can make a guess as to which packages might be useful to him? Is there some slick way to install all of the packages in this dir? (drawing a blank --most-likely-TGIF-syndrome) and then go down a list (index) and test which ones he would want to keep? My fave: eix -c -C x11-wm or in your case: eix -c -C sci-chemistry little -c gives a compact listing for you.
Re: [gentoo-user] Hoping someone can help explain distcc to me
On 08/22/2011 01:41 PM, Alex Schuster wrote: I don't think this is true - as long as the CHOST is identical, there should be no problem. CHOST defines the arch (i686, amd64, arm ..) whilst CFLAGS control gcc behavior and the binary code generation produced by compiler. in my case core2quad (q8300) i'm using in the desktop supports sse4.1 instruction set and notebook powered with core2duo (t7600) does not have that cpu feature. having option `-msse4.1' set in CFLAGS at desktop side will causes frequent compilation failures (initiated by distcc) or, in worst case - arbitrary crashes at notebook when running binaries compiled in distributed distcc environment But how could the gcc on the desktop, called via distcc, even see the CFLAGS in the desktops make.conf? This just cannot be. I have been using march=athlon-xp on my desktop, and yet used it as distcc server for my Pentium-III notebook for years. Worked fine.
Re: [gentoo-user] Hoping someone can help explain distcc to me
On 08/22/2011 01:41 PM, Alex Schuster wrote: I don't think this is true - as long as the CHOST is identical, there should be no problem. CHOST defines the arch (i686, amd64, arm ..) whilst CFLAGS control gcc behavior and the binary code generation produced by compiler. in my case core2quad (q8300) i'm using in the desktop supports sse4.1 instruction set and notebook powered with core2duo (t7600) does not have that cpu feature. having option `-msse4.1' set in CFLAGS at desktop side will causes frequent compilation failures (initiated by distcc) or, in worst case - arbitrary crashes at notebook when running binaries compiled in distributed distcc environment But how could the gcc on the desktop, called via distcc, even see the CFLAGS in the desktops make.conf? This just cannot be. I have been using march=athlon-xp on my desktop, and yet used it as distcc server for my Pentium-III notebook for years. Worked fine. The arguments sent to gcc tell it what kind of object gcc is supposed to create. If gcc cannot create the object you request because it's not the right kind of gcc, implies that, within the same gcc version, it is unable to reproduce object files.
Re: [gentoo-user] {OT} rdiff-backup: push or pull?
On 08/15/2011 09:58 PM, Grant wrote: the backup server. If I push, I have to allow read/write access of my backups via SSH keys. If I pull, I have to enable root logins on each system to be backed-up, allow root read access of each system via SSH +1 push. But my question is, Why do you assert that you must allow root access? Surely each machine can do its own backups and plop them into a directory accessible to a backup login.
[gentoo-user] distccmon-gui red bars finally solved
I wanted to share with others on the list something that I recently discovered with distccmon-gui. I found that when I travel to work and to home with my laptop, sometimes the distccmon-gui would be covered with red specks when processing jobs on remote hosts. I saw that they were always associated with the connecting phase but I could never figure out what the problem was because the job would eventually compile there. It turns out that the connecting phase is usually slowed down by the name resolution of the host, so if one of the entries in my distcc/hosts file just had a short name, instead of the FQDN for the host, it would show up red during connect as it tried to resolve the hostname. I don't know how many other folks might run into this, because, like I say, I really only noticed it on my laptop which sometimes gets the correct domain name (at home!) but not at other times, for a given host. Once you fix those, the distcc works great. HTH somebody else. Bill -- Bill Longman Εν αρχη ην ὁ λογος
Re: [gentoo-user] Re: new user and dhcpcd problem
On 08/12/2011 07:10 AM, Alexandre Riveira wrote: Tanks Mick ! I ajusted /etc/conf.d/net resuts: localhost home # ifconfig eth0 Link encap:Ethernet HWaddr 00:25:22:b2:64:44 inet addr:192.168.0.159 Bcast:255.255.255.255 Mask:255.255.255.0 Your broadcast is still incorrect. it should be 192.168.0.255. If you are getting IP from DHCP, then your DHCP server is wrong.
Re: [gentoo-user] Listing partition labels
On Aug 1, 2011 7:13 PM, Andrew Lowe a...@wht.com.au wrote: Greetings all, I'm probably in the situation where I can't see the wood for the trees so a bit of help would be appreciated. I've decided to go the LABEL route in fstab and have set the labels on my partitions a few days ago. I now want to update fstab but can't remember the names. I can't find a command that will list the partitions and the names I've given them. I'm sure fdisk does not list them when I do just fdisk at the command prompt, but then again as I said above, I think I'm in the wood/forest mode at the moment. Any idea on the command? tune2fs -l /dev/sda1
Re: [gentoo-user] make oldconfig necessary?
On Jul 31, 2011 7:06 PM, Pandu Poluan pa...@poluan.info wrote: Let's say I have a .config from an older kernel version (for example, 2.6.38), and now I want to install a newer kernel (let's say, 3.0). Is it necessary to first do `make oldconfig`, or is it safe to go directly to `make menuconfig`? You may also want to try make silentoldconfig
Re: [gentoo-user] Re: Can't find reiser4 patch for kernel-2.6.39
On 07/21/2011 11:58 AM, Nikos Chantziaras wrote: Just trying to lighten the mood, don't take it the wrong way. So... why didn't he partition his wife if he didn't want her to be found? I think his fragment size was too large.
Re: [gentoo-user] Re: Can't find reiser4 patch for kernel-2.6.39
On Thu, Jul 21, 2011 at 7:42 PM, Michael Mol mike...@gmail.com wrote: On Thu, Jul 21, 2011 at 7:26 PM, Michael Orlitzky mich...@orlitzky.com wrote: On 07/21/2011 02:58 PM, Nikos Chantziaras wrote: Did Hans keep a journal? If so, maybe they can use it to recover his lost wife... Inode they thought they had a hard link to her, but it was resolved to be merely symbolic. Obviously she was lost+found...
Re: [gentoo-user] {OT} Time for hardware upgrade(s)
On 07/20/2011 11:49 AM, Joost Roeleveld wrote: On Monday 04 July 2011 09:30:27 Grant wrote: I'm reading that ASUS and Gigabyte are the way to go for reliability. Don't forget Tyan. The workstation board I have here has been rock-solid even in really bad atmospheric conditions (large temperature and humidity differences) and a dodgy power supply from the utility company. They're just a bit more expensive then ASUS. +1 I had a DP Xeon mobo from them (S2665UANF) when the Xeon first got HT. Great machine.
Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39
On 07/19/2011 07:43 AM, Volker Armin Hemmann wrote: On Tuesday 19 July 2011 12:39:09 Stroller wrote: On 19 July 2011, at 00:36, Volker Armin Hemmann wrote: Unless there is some family or intimate connection the rest of us are unaware of, there are no grounds for you to be offended on behalf of a convicted murderer. I am not offended because of a murderer. I am offended by your weak trolling. Somebody asks some raiser4 related questions and little trolls like you pop up and spout their crap. All the fucking time. Volker! This is the heart of the problem and you fail to see it. Stroller is *hardly* a troll but, as others have pointed out, you took his humor to be trolling. No one else did, so take another look.
Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39
On 07/18/2011 06:50 AM, Volker Armin Hemmann wrote: On Monday 18 July 2011 14:30:28 Stroller wrote: On 18 July 2011, at 12:18, Mick wrote: Is it a matter of waiting a bit longer? Yes, I think he'll be eligible for parole beginning 2023. please refrain yourself from idiotic remarks like this. Everyone *knows* he's got full internet access, Stroller.sheesh. File a bug report and the warden will pass it his way.
Re: [gentoo-user] Re: Managing multiple Gentoo systems
On 07/13/2011 12:38 PM, Grant wrote: I suppose I could also do without the PXE layer and all of its requirements if I install some sort of minimal storage device (flash drive, SD card, USB key, etc.) into each workstation for the boot image. I could still push updates to the boot image over the network almost as easily as updating the single boot image on the server. snip It sounds like I should stick with ethernet for simplicity's sake. Yeah, PXE on the wire is the place to start if you want to boot across the network. Start simple. Just get a handful of similar NICs and you should be set. There's also the option of pre-made hardware thin clients that typically boot from internal flash and simply provide a remote interface to a central server (though most are geared towards RDP or Citrix), and some are even WiFi capable. A pre-made thin client could be the way to go. Do you know of any that are geared toward open protocols? Quick query of the oracle yields: http://www.thinlabs.com/products/thin-clients/aden I have used AXEL thin client terminals and those require a VNC server instance on your server per thin client, for the scenario that it sounds like you're envisioning. It does RDP/VNC but you can get it to do ssh/telnet on a green screen, with several sessions per seat.
Re: [gentoo-user] [OT encfs] When encfs gets hungup
On 07/11/2011 09:26 AM, Sebastian Beßler wrote: Am Mo 11 Jul 2011 17:18:16 CEST, Peter Humphrey schrieb: I doubt I shall ever accept 'reoccur', any more than I accept 'transportation'. It's way OT but what is wrong with 'transportation'. If it is wrong, how would it be right? I'm not a native speaker so I might be blind to see the error. Transport is both a noun and a verb. It is sufficient for the concept of transportation. Except you just sound less French when you say it.
Re: [gentoo-user] {OT} Time for hardware upgrade(s)
On 07/04/2011 09:39 PM, pk wrote: On 2011-07-04 22:32, Grant wrote: That's the FM1 socket, right? I only see two FM1 CPUs on newegg.com Yep. right now. They're quad-core and 100W. I guess the advantage there is they have graphics on the CPU. A 65W CPU would be better but when it comes out I suppose. Yes, since a htpc doesn't need a powerful cpu (or a powerful gpu) I would wait for the low power version. Acc. to Wikipedia the A6-3600/3800 should be released (30th of June) so it shouldn't take long for Newegg to get them? I guess you could always ask them... My thinking is this: A htpc doesn't need a powerful cpu/gpu combo but if you're running Gentoo on it, and planning to do the compiling on the machine itself, it's still nice to have a few cores available. If you are patient or can do cross-compiling (I haven't actually tried these myself) on another machine there are even lower power alternatives (Intel Atom, AMD Fusion): I've run two different Atom boxes as desktops - a 300 and now a D525. With an SSD my total power usage, with 4GB of DDR3-800 RAM, is typically less than 30W. And it's quite responsive. The 300 was a dog but the 525 is great.
Re: [gentoo-user] Feeding /etc/cron.dail and such into ?
Meino, I don't know fcron but I just put cron lines in a file and do crontab filename
Re: [gentoo-user] Feeding /etc/cron.dail and such into ?
On Jul 2, 2011 3:12 PM, meino.cra...@gmx.de wrote: Bill Longman bill.long...@gmail.com [11-07-02 23:57]: Meino, I don't know fcron but I just put cron lines in a file and do crontab filename Hi Bill, sorry for the confusion, Bill, my English screws the things up. Problem has solved itsself... It's my mother tongue and it's always screwing things up for me, too, Meino.
Re: [gentoo-user] [OT/rant] Self-replicating programmer stupidity
On 06/23/2011 07:52 PM, Matthew Finkel wrote: Programming secure software is not the easiest task to master. It takes a lot of planning and enough knowledge about the components you're using to know exactly how they all work together, as well as how they are not supposed to be used. In many cases, vulnerabilities originate from lack of knowledge in novice programmers. Other's are just something that was overlooked in the planning stage, which becomes much more possible as the size of the program increases. And, of course, sometimes people make a mistake. It's getting easier to write syntactically secure code but you can't write semantically secure code unless you understand several domains simultaneously. There's been enough foul-ups to make the current generation of tools enforce syntactic security. But just because I *have to* use component XYZ in a function call, doesn't mean I have to make that call with *any* semblance of intelligence about the current state and environment. In other words, as Matthew wrote above, it ain't always that easy. You can bolt the doors and windows, but if your walls are merely sheetrock, a well placed foot will get you in.
Re: [gentoo-user] nvidia-settings over ssh sees my local GPU?
On 06/23/2011 09:21 AM, Neil Bothwick wrote: Looking at the man page, it appears you need to use the -ctrl-display parameter or the $DISPLAY env var. The man page mentions that nvidia-settings queries the X server, which is running locally. It looks like this setting may force it to use another. You may also want to throw in -no-xshm for giggles. Probably won't work, but it would be worth a try
[gentoo-user] KDE text to speech and talkers
Has anyone been able to set up TTS in KDE 4.6.3? I've tried again and again but I am still unable to get any Talkers to show up. I zapped kttsd and now am using jovie but, alas, no joy from jovie am I receiving. Maybe I don't see something basic, but I don't see what it is. I've gotten this to work fine on my previous KDE 4 installs, but this is frustrating. Bill -- Bill Longman Εν αρχη ην ὁ λογος
Re: [gentoo-user] Re: Kernel Modules
On 06/09/2011 11:18 AM, Alan McKinnon wrote: eselect OTOH, is something I always have to run bit by bit to recall the invocation. That's just way too much effort for this here old git Wasn't on this list that I saw the correct procedure for eselect? eselect eselect kernel eselect kernel list eselect kernel set 6 sigh It's so true
Re: [gentoo-user] Re: Threads changing Was: OT: website design
On 06/06/2011 09:52 AM, Indi wrote: On Mon, Jun 06, 2011 at 09:42:01AM -0700, kashani wrote: I'd like to point out that the PEBCAK was on your end. Sorry, no. And you just used your one shot at trolling me. Do it again and it's the bozo bin for you. Well, Indi, you are now right alongside Singapore Citizen in my filter list
Re: [gentoo-user] Re: thunderbird fixed folders? [SOLVED]
On 06/06/2011 11:07 AM, James wrote: Using seamonkey as the browser, you can just set your middle mouse button or wheel to roll up and down the size of the font for anything you see. Very convenient for folks that constantly need to adjust fonts sizes. I never tried to set this up for T-bird, so I'm not sure if that approach works with T-bird or for your gerontology crowd. Doesn't work. Works in Namoroka (x86_64 under KDE) using Ctrl-middle-roll but just scrolls things in Lanikai; no font change there.
Re: [gentoo-user] Thanks for all the fish!
On 06/06/2011 11:32 AM, Alan Mackenzie wrote: Hi, Gentoo. Just to say I'll be withdrawing from this list in a few days, unsubscribing actually, mainly so that I can go back to being an Emacs developer; the number of emails on both lists combined is just more than I can handle comfortably. Well, just make sure you pay your bill before you leave. You've been asking questions for 1053 days now, so all those bits have to be paid for. And we only accept pizza or beer. Alan or Dale will provide you with the shipment details.
Re: [gentoo-user] Cleaning redundant configuration files
On 06/03/2011 07:52 AM, David W Noon wrote: On Fri, 03 Jun 2011 01:00:02 +0200, Volker Armin Hemmann wrote about Re: [gentoo-user] Cleaning redundant configuration files: There is a simple rule in computing: NEVER remove user created data That is utter rubbish. Obsolete data can be dangerous, so once it's genuinely obsolete it should be gone. No, he doesn't mean in the general sense. He means it's never the auspices of someone else to delete your user-created data. Have we sufficiently beaten this dead horse?
Re: [gentoo-user] Baselayout2/OpenRC migration question - dispatch-conf vs etc-update
Yes, absolutely. I use cfgupdate too. -- Bill Longman Sent from my Galaxy S
Re: [gentoo-user] Display indirect login X app here?
Obvious fix: don't use konsole. Use xterm. -- Bill Longman
Re: [gentoo-user] How do I dump use flags?
On 05/19/2011 11:45 AM, Alan Mackenzie wrote: Hi, Gentoo. How do I list out a list of current USE flags? Besides the emerge --info examples already given, if you have gentoolkit installed, you can use euse -i which, in the example above, lists out all the flags, where they come from and which package uses them. Typically, though, you would use: euse -i dhcp to see what the dhcp use flag does.
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
On 05/18/2011 11:53 AM, Alan McKinnon wrote: Do you have an xorg.conf? I suspect X has correctly figured out what you have and then you turn around and tell it something different. Whereupon it believes you. When I have NO xorg.conf file, KDE starts in clone mode. The 1280x1024 LCD wins and the 1680x1050 gets that same resolution. Or worse still, the widescreen is disabled. I've gone into krandrtray and Systems Settings and, in 4.6 now, can save it as the default. It never does, or, if it really is saving defaults, it is ignored upon next KDE restart.
Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
I don't know if this is considered hijacking this thread or not but I have a similar issue getting my kde to remember its screen layout. Two screens with different resolutions and kde just will NOT remember what I tell it to do. Is there some secret X mojo I have to do to the X configuration files to augment what kde knows about the display geometry? What's more annoying is that I have other machines that have no problem. What's the general consensus for configuring multiple heads? Just go with xorg.conf? Add Monitor sections in xorg.conf.d? -- Bill Longman
Re: [gentoo-user] Turning off WebGL support
On 05/13/2011 11:05 AM, Walter Dnes wrote: Is WebGL an OS feature or a browser feature? I.e. can I block it in Is it a dessert topping or a floor wax? Certainly 'tis the latter. (Browser feature, that is. Not floor wax).
Re: [gentoo-user] Need more NFS help
On 05/10/2011 08:02 AM, Michael Sullivan wrote: A couple of weeks ago I switched my gcc profile over and rebuilt everything with emerge -e system and emerge -e world. Now, when I restart the computer (any of the three on my LAN), the NFS shares listed in /etc/fstab are not automatically mounted. I can mount them manually with no errors. Here's an example of one of my /etc/fstab files: camille ~ # cat /etc/fstab You're barking up the wrong tree. Show your rc-status -a and you'll see a few nfs-related services that you've not added to default run level.
Re: [gentoo-user] Check CPU for throttling
On 05/10/2011 08:36 AM, Alan McKinnon wrote: I suppose this step-down-through-the-levels nonsense comes from flawed comparisons with combustion engines and turbines - it makes sense to ramp these up and down. It does not make sense to do this with a cpu as a cpu is a completely different beast altogether. It is either doing something or nothing; actually it never does nothing - it always does something even if that is just the no-op instruction in a loop. And cpus do not accelerate like engines and use almost no additional power to go from min to max speed. So when something useful comes along to do, just switch over to max speed and get the job done. That's not exactly true. It does take time, aka latency, to move CPUs out of sleep states. Sleep states are partially related to this because once the load on a CPU goes to zero, the governor will, depending on your configuration, put the CPU into a sleep state to conserve power. Waking that sleeping CPU from its deepest sleep state takes an enormous amount of time, in terms of CPU time, so it sometimes behooves the scheduler to be a bit less dogmatic about putting CPUs to bed while there's still work to do.
Re: [gentoo-user] Re: Check CPU for throttling
On 05/10/2011 09:34 AM, James wrote: Alan McKinnon alan.mckinnon at gmail.com writes: otherwise. Just enable ondemand, disable everything else, and et the kernel get on with doing what it does best: So this is what you are saying? [*] CPU Frequency scaling │ │ │ │[*] Enable CPUfreq debugging│ │ │ │* CPU frequency translation statistics│ │ │ │[ ] CPU frequency translation statistics details │ │ │ │ Default CPUFreq governor (performance) ---│ │ │ │-*- 'performance' governor │ │ │ │'powersave' governor│ │ │ │'userspace' governor for userspace frequency scaling│ │ │ │* 'ondemand' cpufreq policy governor │ │ │ │'conservative' cpufreq governor │ │ │ │ *** CPUFreq processor drivers *** │ │ │ │Processor Clocking Control interface driver │ │ │ │* ACPI Processor P-States driver │ │ │ │AMD Opteron/Athlon64 PowerNow! │ │ │ │Intel Enhanced SpeedStep (deprecated) │ │ │ │Intel Pentium 4 clock modulation Yes but no. Yes, those are the correct choices, but the default governor should be ondemand.
Re: [gentoo-user] Re: Check CPU for throttling
On 05/10/2011 01:30 PM, Mick wrote: Same with the other virtual core, power management is blank. Am I missing something in my kernel or is my MoBo/CPU feature poor? cat .config | grep CPU_FREQ CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set It usually comes down to capabilities in your BIOS, Mick. My P4 won't do it either, but that's on a Dell server from 2004. No BIOS support. And the CPU can do HT but the BIOS is stupid, too. I still have only one CPU/thread.
Re: [gentoo-user] Need more NFS help
On 05/10/2011 04:39 PM, Alex Schuster wrote: Bill Longman writes: You're barking up the wrong tree. Show your rc-status -a and you'll see a few nfs-related services that you've not added to default run level. I don't say that's not true, but wouldn't this be a bug, and the nfsmount init script would be missing some depend entry? I have to agree with you, Wonko. I had the same head scratching during the same time and wondered what it could have been. An enews would have been nice because I didn't see anything in my emerge logs. Personally, I always have the noauto option in my fstab lines for NFS shares, because of the looong delay when the server is offline while I boot. Not sure if this is still the case, though, haven't tried in a while. Instead, here these shares are mounted via /etc/init.d/local, when a ping to the server succeeds. Yeah, that's just part of the territory, though, isn't it? I've actually moved mine to boot since I'd rather have access to them in my local script than later. Potatoe, pohtahtow.
Re: [gentoo-user] Why can't I emerge telnet?
I just have a little script: $ cat /usr/local/sbin/up-x #!/bin/bash # # /usr/local/sbin/up-x # # Recompile X drivers etc. after kernel upgrade: # emerge -1 --jobs=5 --keep-going `qlist -IC x11-drivers` \ echo \ sh /usr/local/src/VirtualBox*run \ echo Makes life really simple, with hardly any typing. Very nice. BTW, you do not need to escape newlines after . echo Try echo This echo At echo Home || echo Or Not
Re: [gentoo-user] GPU lockup with nouveau driver and accel on
Sorry, Doug, I can't help you but FWIW, my eselect options on my NVidia laptop follow. I do not have gallium or nouveau use flags. 64bit i915 (Intel 915, 945) 64bit i965 (Intel 965, G/Q3x, G/Q4x) 64bit r300 (Radeon R300-R500) 64bit r600 (Radeon R600-R700, Evergreen, Northern Islands) 64bit sw (Software renderer) [1] classic * 32bit i915 (Intel 915, 945) [1] classic * [2] gallium 32bit i965 (Intel 965, G/Q3x, G/Q4x) [1] classic * [2] gallium 32bit r300 (Radeon R300-R500) [1] classic [2] gallium * 32bit r600 (Radeon R600-R700, Evergreen, Northern Islands) [1] classic * [2] gallium 32bit sw (Software renderer) [1] classic [2] gallium * And you are to be complimented on your picture-perfect example of How to Ask a Question. ESR would be proud.
Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed
As I try to run as (normal) user -terminal-, does not show me any output, no errors, no message. What happens when you run X as the root user? Do you get the same error? That is, log into a regular system terminal, start X, and run LO.
Re: [gentoo-user] are cgroups automatic ?
On 04/11/2011 08:13 AM, Philip Webb wrote: I have enabled cgroups in kernel 2.6.38 , but am not sure how they work. There's nothing in the docs in /usr/src/linux a search via 'make menuconfig' shows nothing suggestive. Does the kernel automatically set them up once they're enabled or does the user have to do something to define them ? -- anyone know ? Are you sure there's no documentation? /usr/src/linux/Documentation $ grep -il cgroup */*.txt accounting/cgroupstats.txt block/cfq-iosched.txt cgroups/blkio-controller.txt cgroups/cgroups.txt cgroups/cpuacct.txt cgroups/cpusets.txt cgroups/devices.txt cgroups/freezer-subsystem.txt cgroups/memcg_test.txt cgroups/memory.txt cgroups/resource_counter.txt filesystems/tmpfs.txt scheduler/sched-design-CFS.txt scheduler/sched-rt-group.txt sysctl/vm.txt vm/hwpoison.txt vm/numa_memory_policy.txt vm/unevictable-lru.txt
Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
On 04/05/2011 12:55 PM, Grant Edwards wrote: On 2011-04-05, meino.cra...@gmx.de meino.cra...@gmx.de wrote: Here's what I use in my xorg.conf to turn caps-lock into a ctrl key: Here's what I use: screwdriver :-/
Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
On 04/05/2011 01:27 PM, Paul Hartman wrote: I bought a $5 keyboard that was not bad, but the layout had sleep, wake, power keys between the Del/End/PgDn row and the arrow keys. In Linux, of course, the keys didn't actually do anything, but physically they still annoyed me because there should not be keys there! So I remove them with a screwdriver. :) I can't imagine using it if those keys actually shutdown the machine. Such a horrible placement. I have this brain-dead HP keyboard that has this: ++ +-+ |Ins | |Pause| ++ +-+ ++ +-+ |Home| | End | ++ +-+ ++ +-+ || |PgUp | || +-+ |Del | +-+ || |PgDn | ++ +-+ above the direction keys. It's such a PITA...keep away.
Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
Maybe switch it to just a shift key? And I really *do* like the idea of language switch, Kfir!
Re: [gentoo-user] Re: How low can you go?
I had the little cassette thing to store my stuff on. I think the OS in on a ROM which would be hard to get around unless the ROM was changed. Then it may not really be a Vic-20 anymore. I'm not sure about the C64 since I got me a 20Mhz oscilloscope to work on TVs and stuff. I still got the scope tho. My biggest use for my old Vic-20 was a alarm clock. Worked fine unless the power went out. Well, that sounds like todays alarm clock. lol I guess some things never change. That's really funny, Dale. That brings back memories (and more than 5K of them!). My dad gave me a VIC-20 when I was in college and I used it for several years. I wrote lots of BASIC apps to ease all the ciphering I had to do for enzyme kinetics, chemistry labs and things like that. I had a cassette tape which was slow but it was a heck of a lot faster than typing in your program every time! -- Bill Longman
Re: [gentoo-user] Re: How low can you go?
On 04/01/2011 02:00 PM, Albert Hopkins wrote: .. got it slightly lower by switching to dash and disabling ACPI and APIC: root@lilpenguin $ free -m total used free sharedbuffers cached Mem:18 4 13 0 0 1 -/+ buffers/cache: 2 15 Swap:0 0 0 So, what can you actually *do* on this, other than an ls or two? :-D
Re: [gentoo-user] python-2.7 python-updater
On Sat, Mar 26, 2011 at 12:56 PM, Mark Knecht markkne...@gmail.com wrote: I've been through this 2.7 update process on 4 machines now. It seems on all of my machines the python-updater thing is pretty much always broken with respect to: openoffice-bin boost emul-linux-x86-baselibs No matter how many times I rerun things it just wants to keep rebuilding them. What's weird is that no two machine see exactly the same. Some only fail with one of those packages, others fail with 2 or 3. Rerunning phython-updater, or lafilefixer, or revdep-rebuild or removing them completely and letting emerge -DuN @world reinstall them changes nothing. They just go on failing the same way. Waste of time so far... If you machines are running stable arch there was also this that came up today: revdep-rebuild -v --library 'libmpfr.so.1' -- --ask Check your elog in case there are some more packages that need revdep-rebuild. -- Regards, Mick I had nothing linked to libmpfr.so.1 so that wasn't the root cause/ In my case it seems to be driven by bugs like this: http://bugs.gentoo.org/show_bug.cgi?id=360425 Seems the only thing to do it just wait for devs to fix it. (And wonder why something like python-2.7 gets released as stable with stuff like this hanging about) Cheers, Mark The libmpfr change bit me on one of my amd64 machines. I did the revdep-rebuild on the library and then gcc was broken. I recompiled everything but still sandbox and gcc won't compile. -- Bill Longman
Re: [gentoo-user] LVM (Was: the best filesystem for server: XFS or JFS (or?))
On 03/24/2011 11:17 AM, Dale wrote: kashani wrote: On 3/24/2011 10:19 AM, Dale wrote: I have never used LVM but when it messes up after a upgrade, as has happened to many others, see if you say the same thing. I hope your backups are good and they can restore. Dale Meh, boot a liveCD and fix it which took all of 15 minutes. I don't see that as a failing of LVM, but of Gentoo for lack of another culprit. You can only roll your OS forward in so many ways before you have to do a little offline plumbing. May as well complain that you had to shutdown your machine to put in more RAM. kashani I researched using LVM a good while back. The reason I didn't was what I posted. It is prone to problems that are difficult if not impossible to correct. I may not have data that is worth much but I don't want to loose it either way. People that have read these posts can't plead ignorance. Yet you, who have never used LVM *can* plead knowledge? Uhsomething's really wrong in this formula.
Re: [gentoo-user] Re: Compositing too slow in KDE
On 03/22/2011 11:57 PM, Mick wrote: My kernel is 2.6.36-r5 gentoo-sources running on the AMD Athlon II X4 machine: $ zgrep RADEON /proc/config.gz CONFIG_DRM_RADEON=m CONFIG_DRM_RADEON_KMS=y CONFIG_FB_RADEON=y CONFIG_FB_RADEON_I2C=y CONFIG_FB_RADEON_BACKLIGHT=y # CONFIG_FB_RADEON_DEBUG is not set Wonderfully wobbly windows once again, without widespread (and unwelcomed) untimely terminations. How can you use x11-drivers/radeon-ucode (with KMS) *and* CONFIG_FB_RADEON=y ? On two machines of mine I end up with a blank screen if I add a framebuffer driver. I don't know, Mick. I have FB_MODE_HELPERS=y? or maybe because I have CONFIG_DRM_KMS_HELPER=m CONFIG_DRM_TTM=m these won't kick in until the module loads. Also, I use genkernel to build all the init stuff for me. I also have MTRR sanitizer turned on. Here are the other kernel settings I have, again, on the Athlon II X4 system, that could be relevant: CONFIG_VIDEO_OUTPUT_CONTROL=m CONFIG_FB=y CONFIG_FIRMWARE_EDID=y CONFIG_FB_DDC=y CONFIG_FB_BOOT_VESA_SUPPORT=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y Now last night on my Phenom 940, I was unable to get KDE to remain stable unless I turned on KMS. Now that system, too, is stable as far as the half hour of testing I performed was able to show.
Re: [gentoo-user] color in terminals with white background
On 03/23/2011 11:23 AM, John Blinka wrote: Thanks for the color.map pointer. A web search turns up one person's solution: http://forum.soft32.com/linux/gentoo-portage-color-map-light-background-ftopict332304.html A /etc/portage/color.map file containing just this one line makes the invisible yellow portage output legible on my white background: yellow=brown I appreciate the help. Problem solved! That *is* much better. Thanks!
Re: [gentoo-user] Re: Compositing too slow in KDE
On 03/20/2011 12:09 PM, Mick wrote: On Sunday 20 March 2011 18:38:00 Mick wrote: On Saturday 19 March 2011 23:02:11 Jorge Martínez López wrote: I also have an ATI card and I do suffer the slow compositing. I solved it by switching back to the classic Mesa (instead of Gallium). Thanks Jorge, I switched to classic too and now it does not crash - however: 1. When I start kde compositing is disabled. 2. If I click on Resume Compositing, then the first time I try it I get a notification saying: Compositing has been suspended by another application and it remains disabled. 3. The second time I try to resume compositing it works! 4. If at that stage I exit/restart KDE compositing is disabled again ... o_O Why is this happening? What other application is clashing or causing compositing not to take? BTW, I just tried this on an older Pentium 4 32bit box with an ATI Radeon X600 (RV380) and it is exhibiting similar symptoms, except that if I try to resume compositing a second time kwin crashes. I have an AMD Phenom II X4 940 with an Radeon 4870 that loves to crash when I turn on compositing. OpenGL works wonderfully until it crashes kwin. XRender chews up so much CPU I'd rather not have it. I have an AMD Athlon II X4 635 with an onboard Radeon 4200 that loves to crash when I turn on compositing. Both these boxes have SB700/SB800 chipsets. I use xdm on the former and manually run X on the other. Same problem on both. I did not have this problem in xorg-server 1.7 series.
Re: [gentoo-user] color in terminals with white background
On 03/22/2011 08:43 AM, John Blinka wrote: Hi, All, For quite a few years I've had a low level irritation with the font colors in my x11-terms/terminal. I like a white background and a black font in my terminals, and that satisfies me perfectly 99.44% of the time. The colors that appear by default with the ls command are perfect. But the colors that appear when I do an emerge -ptDuNv, and the colors that appear when interactively merging config files with dispatch-conf (configured to use vimdiff) are sometimes completely unreadable. In particular, the light yellow font on a white background that portage uses sometimes is almost invisible. I have tried now and then in the past to develop my own color scheme, but without notable success. I once tried making the yellow darker in various ways, and that helped, but then the (formerly yellow) text became unreadable if I highlighted it. I tried dark backgrounds for a while, but I guess I have too many years of reading black print on white pages; dark backgrounds are just wrong for me. And I haven't found any satisfactory answers with web searches. Is there anybody with a font color scheme they like for use on a white background? Thanks for any suggestions, Will someone please answer John so I can use it too? And for that matter, does anyone who uses a dark background AND uses vimdiff as their etc-update tool run up against the same issue: vimdiff mode and certain syntax highlighting rules combine to make some sections of documents completely illegible. My workarounds are to use vim's syntax off in *each* window (PITA) which solves the vimdiff problem. For poor color, I use xterm's Ctrl-Middle menu to go dark background. And most of root's vim sessions seem to think my background is dark, so I'm constantly have to do :set bg=light. I use xterm.
Re: [gentoo-user] Re: Compositing too slow in KDE
On 03/22/2011 03:32 PM, Mick wrote: On Tuesday 22 March 2011 16:45:54 Dale wrote: Bill Longman wrote: On 03/20/2011 12:09 PM, Mick wrote: On Sunday 20 March 2011 18:38:00 Mick wrote: On Saturday 19 March 2011 23:02:11 Jorge Martínez López wrote: I also have an ATI card and I do suffer the slow compositing. I solved it by switching back to the classic Mesa (instead of Gallium). Thanks Jorge, I switched to classic too and now it does not crash - however: 1. When I start kde compositing is disabled. 2. If I click on Resume Compositing, then the first time I try it I get a notification saying: Compositing has been suspended by another application and it remains disabled. 3. The second time I try to resume compositing it works! 4. If at that stage I exit/restart KDE compositing is disabled again ... o_O Why is this happening? What other application is clashing or causing compositing not to take? BTW, I just tried this on an older Pentium 4 32bit box with an ATI Radeon X600 (RV380) and it is exhibiting similar symptoms, except that if I try to resume compositing a second time kwin crashes. I have an AMD Phenom II X4 940 with an Radeon 4870 that loves to crash when I turn on compositing. OpenGL works wonderfully until it crashes kwin. XRender chews up so much CPU I'd rather not have it. I have an AMD Athlon II X4 635 with an onboard Radeon 4200 that loves to crash when I turn on compositing. Both these boxes have SB700/SB800 chipsets. I use xdm on the former and manually run X on the other. Same problem on both. I did not have this problem in xorg-server 1.7 series. I have a very similar setup and it works fine here, AMD Phenom II X4 955 Deneb 3.2GHz with a Nvidia GT-220 video card. I also have the SB700/SB800 chipset as well, Gigabyte mobo. The biggest difference I see is the video card as far as hardware is concerned. Software, I'm on xorg-server-1.9 here. I never tried the older series on this rig. I also still have a xorg.conf file too. May not matter but just upgraded to a 2.6.38 kernel. Also, no hal here either which is why I went with that xorg version during my install. I hope this little bit of info helps in some small way. If you need more info about my setup, let me know. So this seems like the xorg-1.9 driver won't play nicely with ATI video cards. FYI mesa classic seems to be better than gallium, although both crash. As already reported xrender works, but eats up resources. Will have to wait for later versions it seems. Well after fifteen minutes of no crashes, here are my settings: $ emerge -pv xorg-server mesa cairo $(qlist -IC x11-drivers) These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-drivers/radeon-ucode-20110106 0 kB [ebuild R ] media-libs/mesa-7.9.1 USE=classic nptl -debug -gallium -gles -llvm -motif -pic (-selinux) VIDEO_CARDS=radeon -intel -mach64 -mga -nouveau -r128 -savage -sis -tdfx -via -vmware 0 kB [ebuild R ] x11-base/xorg-server-1.9.5 USE=ipv6 kdrive nptl udev xorg -dmx -doc -minimal -static-libs -tslib 0 kB [ebuild R ] x11-libs/cairo-1.10.2-r1 USE=X opengl qt4 svg xcb (-aqua) -debug -directfb -doc (-drm) (-gallium) (-openvg) -static-libs 0 kB [ebuild R ] x11-drivers/xf86-input-evdev-2.6.0 0 kB [ebuild R ] x11-drivers/xf86-input-keyboard-1.5.0 0 kB [ebuild R ] x11-drivers/xf86-input-mouse-1.6.0 0 kB [ebuild R ] x11-drivers/xf86-video-ati-6.14.0 0 kB My kernel is 2.6.36-r5 gentoo-sources running on the AMD Athlon II X4 machine: $ zgrep RADEON /proc/config.gz CONFIG_DRM_RADEON=m CONFIG_DRM_RADEON_KMS=y CONFIG_FB_RADEON=y CONFIG_FB_RADEON_I2C=y CONFIG_FB_RADEON_BACKLIGHT=y # CONFIG_FB_RADEON_DEBUG is not set Wonderfully wobbly windows once again, without widespread (and unwelcomed) untimely terminations.
Re: [gentoo-user] Re: Gentoo Live 11.0
On 03/17/2011 11:41 AM, Mark Knecht wrote: On Thu, Mar 17, 2011 at 10:59 AM, James wirel...@tampabay.rr.com wrote: SNIP it would seem that the 32ul-11.0.iso version would be the one to run 32 bit software on? SNIP I cannot speak for the LiveDVD as I've not tried it but remember there are still lots of older machines running 32-processors in them that need a 32-bit only DVD to install at all. I suspect the purpose of the 32-bit DVD is to support those boxes. As evidence of the growth of 64-bit machines in at least the vocal part of the Gentoo users (those using the user's lists) I started running 64-bit Gentoo about 5-6 years and at this time no longer even own any (working) 32-bit machines. Up until about 3 years ago the Gentoo amd64 list had all the 64-bit specific question traffic. As of today that list is almost totally quiet implying that nearly all 64-bit users are just using this list and most folks see no distinction anymore. If that's true then it's easy to forget that there may be lots of quiet 32-bit users still out there. I'll second your comments, Mark. I now have only my trusty Dell 600SC still running 32-bit but that's only because that's all it can do. Had it a 64-bit CPU I would be completely devoid of the 32-bit platform on any of my personal machines. I have to remember, now, when I am working on that machine, that *it* is now the one-off machine, not the other way around like it had been three years ago. All in all, I'd have to say that the move from 32 to 64 has gone rather painlessly on Gentoo, so, hat's off to the folks on this list and all the Gentoo devs.
Re: [gentoo-user] Adding more than one static IP
On Mon, Jan 24, 2011 at 7:15 AM, Amar Cosic amar.co...@gmail.com wrote: Hello list My mind is just locked at the moment and I am trying to figure out what am I doing wrong here. I have 4 static IP's on server machine and I have something like this in /etc/conf.d/net : config_eth0=( 77.xxx.104.14/24 ) routes_eth0=( default via 77.xxx.104.1 ) config_eth0:1=( 77.xxx.104.100/24 ) routes_eth0:1=( default via 77.xxx.104.1 ) config_eth0:2=( 77.xxx.104.101/24 ) routes_eth0:2=( default via 77.xxx.104.1 ) config_eth0:3=( 77.xxx.105.100/24 ) routes_eth0:3=( default via 77.xxx.105.1 ) eth0 works just fine while other ones fail. Could you help me with this one ? Amar, You should read up some more on how IP networking is configured and how it works. A default route is, by definition, the next hop on the local network to which packets are sent when no other local interface matches the intended target IP address. Your IP stack looks for local interfaces which match the target network for the target IP address. If it cannot find any, it has no other recourse but to forward it to someone who might know better. That's your default gateway router, and that's its job. If you tell your IP stack that you have four default gateways, it will get very confused. Get rid of all but one of those default route statements. If, on the other hand, you just want your local machine to know the gateways for those networks, your route statements should be of this form: routes_eth:2=(77.xxx.104.101/24 via 77.xxx.104.1)
Re: [gentoo-user] Re: Paste into vim keeping indention or original?
On 01/27/2011 12:53 PM, YoYo Siska wrote: BTW, if - vim has access to X (you run it on your local machine or from ssh -X or something similar) - is compiled with X support (check with vim --version | grep +X11) - and you :set mouse=a then you can paste by middle clicking in vim (not shift-middle click), which should paste the text as is... The difference is that with shift-middle click, or with vim that cannot talk to X, the terminal sends the selected text to vim as normal input (as if you would type it) and thus its get indented/formated/etc.. If you have mouse=a set and vim can talk to X, when you middle click it will ask X for the selection and insert it as is without any formatting Oooh, aaah. Fireworks. This one's going into my .vimrc file
Re: [gentoo-user] Re: Paste into vim keeping indention or original?
On 01/28/2011 12:03 PM, kashani wrote: You might like one too. cmap w!! w !sudo tee % /dev/null When you forget to sudo vi you can use w!! which pipes writing the file though sudo. You get some term gunk, but it does work. That's what screen and PS1 are for
Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies
On 01/27/2011 12:15 PM, Nikos Chantziaras wrote: Btw, if you're using more instances than the amount of CPUs, the result will be slow-down. With the default kernel scheduler, best if amount of CPUs + 1. (On a 4-core, that's -j5). And if you use emerge's --jobs 2, each of those jobs will get the MAKEOPTS values sent to it. So, if you have MAKEOPTS=-s -j4 and you use --jobs 2 with emerge, then you'll get two jobs running gcc -s -j4. Enjoy.
Re: [gentoo-user] invalid argument when trying to modprobe nvidia module
On 01/16/2011 01:18 AM, Peter Humphrey wrote: On Sunday 16 January 2011 03:25:41 cov...@ccs.covici.com wrote: Adam Carter adamcart...@gmail.com wrote: Did you remember to repoint the /usr/src/linux link? IIRC the module is built to suit whatever kernel that is pointing to. If its not set correctly you'll need to re-emerge nvidia-drivers. linux is pointing correctly and it was after I emerged the nvidia-drivers that I got the invalid argument. You can't emerge nvidia-drivers if /usr/src/linux points to a kernel version other than the currently running one - it complains it can't find a valid kernel config. This means that, after emerging a new kernel version, it's necessary to reboot with the new kernel (and fail to start X) before it's possible to remerge nvidia-drivers to suit the new kernel - you can't do it in advance. On this ~amd64 multilib box, 260.19.29 has run trouble-free with gentoo- sources 2.6.36-r5, 2.6.36-r6 and 2.6.37. Perhaps your -multilib USE flag is causing trouble. You can *always* compile any package against your choice of kernel. Just use KERNEL_DIR=/usr/src/mykerneldir emerge package. It doesn't have to be the running kernel or the current kernel.
Re: [gentoo-user] How can I turn off xterm console restore?
On 01/21/2011 09:45 PM, Walter Dnes wrote: As soon as some textmode applications in xterm stop, their output gets wiped, and the xterm screen is restored to what it looked like before I launched the app. Somebody thought they were being helpful; then again, so did the designers of Clippy. I don't know how many updates ago the behaviour changed, but here's what happens... Let's say I'm having a problem with packet loss to/from a certain internet server. I would run mtr which gives an ongoing enhanced traceroute display. When it gets to the router that's dropping packets I would hit Q and mtr quits. Before the update = I would copy/paste the mtr output into an email, and send it off to whomever, with the output showing the packet-loss stats. After the update As soon as mtr quits, its output gets wiped, and the xterm screen is restored to the state it was in before mtr was launched... helpful NOT! I've discovered that I can suspend it with {CTRL-S}, but I shouldn't have to resort to that. Using Google, I found references to man termcap, which stated that this behaviour was controlled by entries in /etc/termcap. Despite the fact that I have the termcap man page on my system, I do *NOT* have /etc/termcap. Does anyone have a sample /etc/termcap (or will ~/.termcap work?) to stop the screen restore after a text application quits? Walter, You can always call it back up. The other window, that is. Just Ctrl-middle-click the xterm and choose Show alternate screen. Presto. It's saved my bacon more than once Bill
Re: [SOLVED]Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 01/12/2011 07:25 PM, Valmor de Almeida wrote: On 01/12/2011 10:57 AM, Mark Knecht wrote: On Wed, Jan 12, 2011 at 6:46 AM, Mark Knecht markkne...@gmail.com wrote: SNIP If not BIOS then I'd look at kernel config next. - Mark If it helps here's my 2.6.36-r6 .config. Cheers, Mark Thanks for the posting. I have CONFIG_HAVE_KVM=y CONFIG_VIRTUALIZATION=y on my config and did a shut down followed by a fresh boot. Everything is fine I am currently building a virtual Windows 7 machine. So was it then your kernel configuration, not your BIOS? Are those the only two changes you needed to make?
Re: [gentoo-user] Web Server Memory Issues
On 01/13/2011 09:59 AM, Kaddeh wrote: I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Are you running 32 bits?
Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 01/12/2011 06:46 AM, Mark Knecht stated: On Tue, Jan 11, 2011 at 11:04 PM, Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am trying to build a windows 7 guest using virtualbox-ose-3.1.8. When starting the virtual machine to install the OS, I get the warning: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer. I have enabled the following in the BIOS: Intel(R) Virtualization Technology Intel(R) VT-d Feature I have not created a KVM module in the kernel (using gentoo-sources-2.6.34-r12). Is this needed? Inputs appreciated. Thanks, -- Valmor Not sure about the KVM issue. I am running an i7-980X Extreme Edition using Gentoo 64-bit, mostly stable. Kernel is 2.6.36-gentoo-r6, Virtualbox-4.0.0. I run both 32-bit Win XP and 64-bit Win 7 Professional here with no problems. Typically I have 3 or 4 VMs running at the same time. Others have suggested BIOS. I didn't have to set anything specific there. If not BIOS then I'd look at kernel config next. I have CONFIG_VIRTUALIZATION turned on (=Y). None of the selections below that are selected in my kernels. They run 64-bit VMs fine, but I don't have VBox 3. Your host kernel should NOT have CONFIG_PARAVIRT_GUEST but your guest kernels should. That's the consensus my machines have yielded, both AMD/Intel and 32/64 bits, but there are probably other options.
Re: [gentoo-user] LANG, LC_*, and unicode
LANG=en_US.UTF-8 ls /usr/lib64/aspell-0.60/f* and the only difference was whether f\ufffdroyskt.alias was first or last in the listing. It still displayed the unicode char as \ufffd. So supposing I set LANG=en_US.UTF-8 and do nothing else. Will it simply change how unusual file names are displayed, will it change how future file names are created, will it affect any text files I now have, or ones I create from now on? In other words, will it mess up what I have? Dr. Finchly, Creating files and getting them to show the correct glyph is very different from your terminal doing so. In the kernel there is a setting for which locales your FILESYSTEMS understand and can grok/display. You may choose to let your terminal display those glyphs or not. Applications use the same LANG and LC_ thingies to decipher what your system is trying to do, so make sure you understand the difference between the two. Usually, setting LANG to en_US.UTF-8 or en_GR.UTF-8 is sufficient. You'll probably still just use ASCII for your filename characters. So any applications like web browsers will have access to all those locales that you have listed in your /etc/locale.gen file. Your filesystems are different. You can load modules for them but usually you just load UTF-8 and ASCII and the main ISO-8859-1 or -15 or -whatever and you're set to display funky filenames. Easy way: /etc/env.d$ cat 02locale LANG=en_US.UTF-8 So, just make some kind of locale file in /etc/env.d and you're set. Recompile any nls-dependent apps and Bob's your uncle. -- Bill Longman
Re: [gentoo-user] LANG, LC_*, and unicode
And make sure your /etc/locale.gen has the right locales
Re: [gentoo-user] Core i7 M620 power management problem
I actually am running the latest firmware. I had thought that maybe that was the problem, but I rev'ed it about a month ago and it did not solve it. Am waiting for the Ubuntu 10.10 to finish downloading and give that a whirl. On Sat, Jan 1, 2011 at 3:16 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 2010-12-31 11:59, schrieb Mick: Hmm ... could it be a buggy BIOS? Are you running the latest firmware for it? Yes, that would also have been my next question. Maybe you even *find* a bug in that BIOS right now that should be corrected. -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
On Sat, Jan 1, 2011 at 4:34 PM, Mick michaelkintz...@gmail.com wrote: Did you diff the kernel configs to see what's different between the two OS'? There was no /proc/config.gz. How do you find it without that? I looked through the proc tree but didn't find anything. I added some printk's to the kernel and I see some segfaults. I'll try another kernel tomorrow and see if tuxonice gives me anything different. -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
On 12/30/2010 12:59 AM, Stefan G. Weichinger wrote: Am 30.12.2010 04:16, schrieb Bill Longman: The only thing that runs at boot is cpufrequtils and here is the config for it: [..] Bill, just for a check, does it scale correctly if you boot from a live-cd? That's a very good question, Stefan. I'll give it a try.
Re: [gentoo-user] Core i7 M620 power management problem
On 12/29/2010 11:59 PM, Mick wrote: Did you try changing the default to CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND ? Yes, Mick, that was my first governor. I thought I'd try to see if it would behave at top speed if I set it to performance. No luck, though. And I can easily change the governor. It swaps out to any of the installed governors with aplomb, although I have to do this manually. I can't change governors from gkrellm, for instance. If I change it manually, the new governor shows up there, but it's read-only so to speak. I don't know if the idle controller has anything to do with this but here is what my idle controller looks like: /sys/devices/system/cpu/cpuidle 08:43:14# ls -l;cat current_* total 0 -r--r--r-- 1 root root 4096 Dec 30 08:43 current_driver -r--r--r-- 1 root root 4096 Dec 30 08:43 current_governor_ro intel_idle menu
Re: [gentoo-user] Core i7 M620 power management problem
On 12/30/2010 12:21 AM, Mick wrote: On Thursday 30 December 2010 03:16:05 Bill Longman wrote: This is what my i7 Q is showing: Handle 0x0005, DMI type 4, 42 bytes Processor Information Socket Designation: U2E1 Type: Central Processor Family: OUT OF SPEC Manufacturer: Intel ID: E5 06 01 00 FF FB EB BF Version: CPU Version Voltage: 3.3 V External Clock: 133 MHz Max Speed: 4096 MHz --my max speed with turbo should be 2.8GHz?-- Current Speed: 1600 MHz --my max speed without turbo-- Status: Populated, Enabled Upgrade: ZIF Socket L1 Cache Handle: 0x0006 L2 Cache Handle: 0x0007 L3 Cache Handle: 0x0008 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 8 Characteristics: 64-bit capable My turbo reading leads me to think that the dmidecode is not necessarily reporting what the CPU can do. I've always laughed at the shoddy workmanship of DMI. I don't know the percentage of boards with To Be Filled By O.E.M. in them, but most of it is useful information. Here's another snapshot of idle stats, so it looks like it's handling the idle routines okay: /sys/devices/system/cpu/cpu0/cpuidle 09:05:05# for a in {0..3}; do echo === state$a ===; ls state$a;cat state$a/*; done === state0 === desc latency name power time usage CPUIDLE CORE POLL IDLE 0 C0 4294967295 24712609 9234 === state1 === desc latency name power time usage MWAIT 0x00 3 NHM-C1 4294967294 530943161 2079744 === state2 === desc latency name power time usage MWAIT 0x10 20 NHM-C3 4294967293 4419507305 4950330 === state3 === desc latency name power time usage MWAIT 0x20 200 NHM-C6 4294967292 49546556808 7879505 It still points to that max cpu freq as the culprit. I don't recall what kicks in the turbo mode on the i7's. I thought it was simply bumping the speed of one core if it could keep the other core(s) in the deep sleep state. So, a single threaded process would get a speed improvement. If your other cores were running you'd be out of luck. Could be wrong. Brain's been running about half a century now, so it's wearing out.
Re: [gentoo-user] Core i7 M620 power management problem
On 12/30/2010 12:59 AM, Stefan G. Weichinger wrote: Am 30.12.2010 04:16, schrieb Bill Longman: The only thing that runs at boot is cpufrequtils and here is the config for it: [..] Bill, just for a check, does it scale correctly if you boot from a live-cd? Well, if I change the BIOS to turn off SpeedStep, it goes to 2.67 GHz.works great!
[gentoo-user] Core i7 M620 power management problem
I have a nagging problem that is driving me batty. I have a Dell Precision M4500: Linux m4500 2.6.36-gentoo-r6 #1 SMP Wed Dec 29 07:57:47 PST 2010 x86_64 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux model name : Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz and it even has these fancy capabilities: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts tpr_shadow vnmi flexpriority ept vpid however, I cannot get the thing to change speeds. It is adamantly stuck at its pokey molasses slow 1.2GHz: blong...@m4500 /sys/devices/system/cpu/cpu0/cpufreq $ cat scaling_* 2667000 2666000 2533000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 conservative ondemand userspace powersave performance 1199000 acpi-cpufreq performance 1199000 1199000 unsupported A strangeness I have noted is that /proc/cpuinfo has this for its power capabilities: power management: Nothing. I don't recall what it was on the other i7, but my AMDs have this sort of thing: power management: ts ttp tm stc 100mhzsteps hwpstate Why this is driving me batty is that I just this summer set up a similar M4500, but with a fancier i7 in it, *specifically* to enable and manage its power capabilities and I was completely successful. If I swap my disk and boot Windows 7, it behaves like a champ, so I don't think it's a BIOS issue. What else could I look at since I've been through all versions of kernels from 2.6.32 to today's 2.6.36? -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 10:35 AM, Stefan G. Weichinger li...@xunil.atwrote: Am 29.12.2010 18:40, schrieb Paul Hartman: So it seems similar to yours except that your max_freq and min_freq are the same! Which matches what you say about it never going faster than the minimum speed. cpufreq-set -u ? 10:46:36# cpufreq-set -u 2667000 ~ 10:47:00# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* 2667000 2666000 2533000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 conservative ondemand userspace powersave performance 1199000 acpi-cpufreq performance 1199000 1199000 unsupported See what I mean? -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
Yeah, the cpufreq utils show all the relevant information. I use the acpi-cpufreq driver and when I didn't use it nothing happened. cpufreq-aperf shows each CPU at 1.2GHz. I'll look at the EIST in BIOS, too. Thanks for the pointers. Here's an interesting item: 12:41:00# cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit 1199000 which sort of jives with the asserted by call to hardware in the cpufreq-info section: analyzing CPU 3: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 CPUs which need to have their frequency coordinated by software: 3 maximum transition latency: 10.0 us. hardware limits: 1.20 GHz - 2.67 GHz available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance current policy: frequency should be within 1.20 GHz and 1.20 GHz. The governor performance may decide which speed to use within this range. current CPU frequency is 1.20 GHz (asserted by call to hardware). cpufreq stats: 2.67 GHz:0.25%, 2.67 GHz:0.01%, 2.53 GHz:0.01%, 2.40 GHz:0.01%, 2.27 GHz:0.01%, 2.13 GHz:0.01%, 2.00 GHz:0.01%, 1.87 GHz:0.01%, 1.73 GHz:0.01%, 1.60 GHz:0.01%, 1.47 GHz:0.01%, 1.33 GHz:0.01%, 1.20 GHz:99.61% (28) So, why are there micro-spikes of higher frequencies in the above stats? The stats section says there are only five transitions. -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 4:43 PM, Mick michaelkintz...@gmail.com wrote: Just a wild guess: are you running some desktop applet that manages the cpu frequency and is stuck on manual with a low setting? I have the i7 Q 720 @ 1.60GHz, which is supposedly go up to 2.8G with turbo boost, but can't say that I have ever seen it going that high ... not sure if there's a setting somewhere I should tweak. This is from cpuinfo: = $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 30 model name : Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz stepping: 5 cpu MHz : 931.000 cache size : 6144 KB physical id : 0 siblings: 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid bogomips: 3192.42 clflush size: 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: = As you can see power management is also blank. These are my frequencies: $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* 1597000 1596000 1463000 133 1197000 1064000 931000 conservative userspace powersave ondemand performance 931000 acpi-cpufreq ondemand 1597000 931000 unsupported PS. Any ideas what makes that turbo thingy kick in? The only thing that runs at boot is cpufrequtils and here is the config for it: # Options when starting cpufreq (given to the `cpufreq-set` program) START_OPTS=--governor performance # Options when stopping cpufreq (given to the `cpufreq-set` program) STOP_OPTS=--governor performance # Extra settings to write to sysfs cpufreq values. #SYSFS_EXTRA=ondemand/ignore_nice_load=1 ondemand/up_threshold=70 SYSFS_EXTRA=ondemand/ignore_nice_load=1 And since I have power mgmt debug turned on, all my logs are belong to pm: e1000e :00:19.0: __pm_runtime_resume()! e1000e :00:19.0: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! scsi host1: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! scsi host1: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! scsi host1: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! etc, etc, etc, ad nauseum And even when I try this kind of thing: /sys/devices/system/cpu 19:08:23# for a in cpu?/cpufreq/scaling_max_freq; do echo -n 2667000 $a; done /sys/devices/system/cpu 19:09:05# cat cpu?/cpufreq/scaling_max_freq 1199000 1199000 1199000 1199000 /sys/devices/system/cpu 19:09:20# for a in cpu?/cpufreq/scaling_governor; do echo -n performance $a; done I can see gkrellm get its governor changed but I cannot override the max freq. How can I tell what the BIOS is reporting? Here is what dmidecode tells me about the CPU: Handle 0x0004, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 1 Type: Central Processor Family: OUT OF SPEC Manufacturer: Intel ID: 52 06 02 00 FF FB EB BF Version: Intel(R) Core(TM) i7 CPU M 620 @ 2.67GH Voltage: 0.0 V External Clock: 533 MHz Max Speed: 4000 MHz Current Speed: 2666 MHz Status: Populated, Enabled Upgrade: Other L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: 0x0007 Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Part Number: To Be Filled By O.E.M. Core Count: 2 Core Enabled: 1 Thread Count: 2 Characteristics: 64-bit capable -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 11:55 AM, Stefan G. Weichinger li...@xunil.atwrote: Am 29.12.2010 19:48, schrieb Bill Longman: 10:47:00# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* 2667000 2666000 2533000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 conservative ondemand userspace powersave performance 1199000 acpi-cpufreq performance 1199000 1199000 unsupported See what I mean? I see it but I don't have a solution. Maybe some strange limitation within the BIOS of the motherboard? Ah, you wrote that Win does fine ... so ... Do you have the correct CPU chosen in your kernel-config? Maybe someone with a core i7 could help out here better than me ... google finds me this one pointing at apic: http://ubuntuforums.org/archive/index.php/t-1000132.html ? Here are some powertop results I see when compiling world: PowerTOP version 1.13 (C) 2007 Intel Corporation CnAvg residency P-states (frequencies) C0 (cpu running)(100.0%) Turbo Mode 0.0% polling 0.0ms ( 0.0%) 2.67 Ghz 0.0% C1 mwait 0.0ms ( 0.0%) 2.54 Ghz 0.0% C2 mwait 0.0ms ( 0.0%) 2.40 Ghz 0.0% C3 mwait 0.0ms ( 0.0%) 1199 Mhz 100.0% So it seems like all the CPU Power state is fine internally to the CPU but, it's just that it cannot go to the higher speeds for some reason. -- Bill Longman
Re: [gentoo-user] Re: [EXAMPLE] Configuring xorg without hal
On 12/27/2010 03:52 PM, walt wrote: On 12/27/2010 06:03 AM, walt wrote: ... My new (post-hal) mouse config: Section InputClass - note the new word Class, not Device Identifier trackball - can be anything you want MatchProduct ImExPS -*new*. Matches the product name! Clarification about that MatchProduct keyword: Hal and udev differ slightly in the way they identify hardware devices (is anyone surprised?). When I run 'lshal' to display all my hardware, I see this about the mouse: info.product = 'ImExPS/2 Logitech Explorer Mouse' Now for the confusion. When I run 'udevadm info --export-db I see: E: PRODUCT=11/2/6/6d E: NAME=ImExPS/2 Logitech Explorer Mouse Note that MatchProduct in the xorg.conf file really wants the udev NAME, *not* the udev PRODUCT. I suppose the MatchProduct keyword was selected back in the day when hal was still the boss instead of a has-been. MatchName would be much less confusing than MatchProduct. But don't hold your breath waiting for it to change. Thanks, Walt, this is great. It's good to see the potholes in the road before the wheel gets in them. These are the kinds of tidbits of information that you really want to find when you are looking for them once you're *in* the pothole, but keeping up with the list and with input from the great people here, it makes the ride much less bumpy.
Re: [gentoo-user] distcc and crossdev, anyone?
On 12/18/2010 07:15 AM, Peter Humphrey wrote: On Saturday 18 December 2010 10:18:43 Neil Bothwick wrote: I've found there's just too much overhead with distcc, plus much of the work is still done locally. I expected that but I wanted to try it to see. I have a couple of Atom boxes, a server and a netbook, and I've set up a chroot for each on my workstation. In the chroot I have FEATURES=buildpkg, using an NFS mounted PKGDIR available to both computers, then I emerge -k on the Atom box. Maybe I'll go this way instead. Thanks for the idea, which is similar to one from YoYo Siska three days ago. I had my Atom 330 running as a distcc client for a long time. I have several other speedy CPUs alongside it so it could spray plenty of compilation requests out its gigabit NIC to various much beefier machines. But as Neil stated, lots of the processing still occurs locally, so as you increase nodes, you need to decrease the amount of compilation done locally. With such a disparity between CPU, it takes less time overall to just do it the way Neil describes - make a chroot and then just build it with the intention that the slow CPUs will use the binary build. You still need lots of CPU to compile, so a slow machine will still compile slowly. If your client is a pokey 1.6GHz Atom and you're sending jobs to two quad core 3GHz CPUs on your subnet, you'll soon see that the Atom's load goes up toward 8 as it tries to bring those remote jobs back. So, the four threads on my 330 get completely filled up and it's dog slow. And it's even more painful when you use the preprocessor because the client must zip the compile construction before it ships it out, so you have even less CPU available for compilation (although you get some of that back). All said and done, my back-of-the-napkin and seat-of-the-pants calculation tells me that I still get a _minimum_ 25% reduction in overall compile times with distcc. That's my experience after using distcc for almost ten years with various configurations of network and CPUs.
Re: [gentoo-user] OT: cheap make yourself server: i7-950 or phenom 1100T?
On 12/15/2010 09:35 AM, Jarry wrote: So what should I pick for him? i7-950, or phenom-1100t? Or yet some cheap 4/6-core opteron 4xxx/6xxx? Uh oh..don your flameproof underwear and open the floodgates I've not used the new six-core AMDs but I love my XII 940. And with Intel's new plumbing, my experience with the i7 seems to point to only slightly to the i7 side, as long as you have speedy RAM. I think in the long run, these two are so close, it just comes down to how much memory bandwidth you can wring from the machine. I/O is still I/O so, what else is left, really?
Re: [gentoo-user] 3Com PCMCIA network card not recognised
On 12/13/2010 07:17 PM, Stroller wrote: What do you get in log messages and dmesg when you compile CONFIG_PCMCIA_3C589=m and run modprobe -v Exactly the same thing. If I `modprobe -v 3c589_cs lsmod | grep -i 3c` I can see the module loaded, but I see exactly the same single line of text (and nothing more) when I plug the card in; the card is not shown in `ifconfig -a`. It doesn't make any difference if I load the module before plugging the card in or afterwards. The only remaining things I can think to do are to `make clean` before compiling my kernel and trying the exact .config kernel version from the system rescue CD. I'm not optimistic of those, however - I still think I'm likely overlooking something stupid. Try another kernel branch? Vanilla sources? Etc
Re: [gentoo-user] Gigabyte and controlling fans
On 12/12/2010 06:34 PM, Dale wrote: Volker Armin Hemmann wrote: On Sunday 12 December 2010 05:20:27 Dale wrote: That comes from lm-sensors. Hmmm. Since I have my stuff built into the kernel, can I still use that or would they clash somehow? Also, this is a desktop not a laptop just in case it matters. Dale :-) :-) a) building the sensor stuff into the kernel is stupid b) yes Why is it stupid? I been using Linux for years and have no modules except for nvidia and don't think I ever have either. What difference does it make if it is a module or built in? I think, Dale, that the theory is that fewer things in the kernel provide for fewer chances for it to go awry. However, as we know, the difference between theory and practice is that in theory, theory and practice are the same, but in practice, they're not.
Re: [gentoo-user] Firefox doesn't build - gcc compilers
On 12/13/2010 04:57 AM, dhk wrote: On 12/13/2010 07:50 AM, Xavier Parizet wrote: On Mon, 13 Dec 2010 07:34:16 -0500, dhk dhk...@optonline.net wrote: You need to run: gcc-config x86_64-pc-linux-gnu-4.4.4 source /etc/profile gcc -v If the above commande output gcc version 4.4.4, then you're done, just re-run emerge. Portage 2.1.9.24 (default/linux/amd64/10.0, [unavailable], glibc-2.11.2-r3, 2.6.34-gentoo-r6 x86_64) [SNIP] That was easy. It works. Thanks. In fact, gcc-config -l is a good way to see which versions of gcc are installed. Then you can just set it with that command as above, or gcc-config 2, for instance, if you wanted to use the second gcc entry. You have to reset your environment to use it immediately, but that's easy enough: env-update; exec bash -l.
Re: [gentoo-user] Eeek: many open ports
On 12/13/2010 02:02 PM, Kevin O'Gorman wrote: On Mon, Dec 13, 2010 at 1:18 PM, pk pete...@coolmail.se mailto:pete...@coolmail.se wrote: On 2010-12-13 22:08, Kevin O'Gorman wrote: Netstat agrees that they're open but does not disclose which process is listening. Does anybody know how to find this out? netstat only lists listening processes when you're root... Not for me, it doesn't. It lists processes for unix-domain sockets whether I'm root or not, but does not show them for inet-domain at all. I'm using netstat -l or netstat -ln. Is there some other option I need? I didn't see one. You need -p for process.
Re: [gentoo-user] cgroupd really do work!
Hmm, I just noticed that something is not right here: Everything works fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for disk I/O scheduling (-o cpu,blkio or no -o at all), I can no longer create cgroup hierarchies. Only the top level user cgroup is accepted. Another issue is that the kernel documentation in /usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the release_agent can also be included as a mount option with `mount -t cgroup cgroup /dev/cgroup -o cpu,release_agent='/usr/local/sbin/cgroup_clean'` That seems to be no valid option, though. At least on my system it causes mount to fail. Unfortunately there is no output on dmesg. Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12. I had this very same problem when I was trying this last year, Florian. I didn't pursue it any further so I can't tell you any solutions. I do remember it though because it was quite frustrating. -- Bill Longman
Re: [gentoo-user] bash scripting tip
On 11/12/2010 09:57 AM, Philip Webb wrote: There are quick'n'easy commands to goto the previous dir -- 'cd -' , which cb aliased as 'p' -- goto the next-higher dir -- 'cd ..' , which cb aliased as 's' -- , but is there a way to set up a qne command to goto a parallel dir, eg if you're in ~/tmp goto ~/hold ( 2 of my commonly-used dirs) ? It needs to be a Bash function, so in ~/.bashrc I tried 'function cd2() { cd .. ; cd $1 ; }', so that 'cd2 hold' would take me where I wanted to go, but it simply dropped me in ~ , the 2nd half being ignored. It cb done with a shell var, ie 'function cd2() { NEWDIR=$1 ; cd .. ; cd $NEWDIR ; NEWDIR= ; }', which works but is a bit lengthy could clash with an existing shell var. The elegant way is 'function cd2() { cd .. ; cd $$1 ; }' ; the ... are essential: it fails without them or with ( ... ) instead. HTH a few others. cd ${PWD/old/new} works when you're in /some/old/tree/directory and you want to go to /some/new/tree/directory
Re: [gentoo-user] Colors of the USE flags in emerge --pretend
On 11/10/2010 12:54 PM, KH wrote: Am 10.11.2010 21:37, schrieb Benyamin Dvoskin: Hi , When running emerge -p for some package , one gets for each dependency and package a list of USE flags at the end of the line. some are colored in red , some blue what are the differences ? Yellow means that a use flag has changed. Sometimes they get added, sometimes they're removed, so these will trigger an update if you use emerge -N. For example, the radeonhd flag just went away, so mesa came up as (-radeonhd%). It was in parenthesis because, in essence, I have no control over it -- it's gone for good -- and it's - because it was removed. The % just tells you it's a flag change.
Re: [gentoo-user] Problem with upgrading portage
On 11/09/2010 06:04 AM, Benyamin Dvoskin wrote: Hi Everyone , I am actually quite new to Gentoo , so give me a break if my question is a newbie one. anyway , while installing Gentoo , I got to the point where I want to compile the kernel , and for that I've done the following : emerge --sync it did the sync , but stated at the end that I must upgrade portage using emerge portage so I tried that , and it doesn't seem to work , but giving out the following output : / --- Invalid atom in /etc/portage/package.keywords: dev-perl/Locale-gettext-1.05-r1 Calculating dependencies / !!! All ebuilds that could satisfy dev-perl/Locale-gettext have been masked. !!! One of the following masked packages is required to complete your request: - dev-perl/Locale-gettext-1.05-r1 (masked by: EAPI 2) The current version of portage supports EAPI '1'. You must upgrade to a newer version of portage before EAPI masked packages can be installed. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by sys-apps/help2man-1.37.1 [ebuild]) /What should I do to solve this ? I've googled it , yet haven't found a solution ... ( found some stuff about it , but couldn't make it work ) please help ... Benny, welcome to the club. Try env-update then source /etc/profile. The env-update command straightens out all the /etc/env.d directories for the new software that you installed. You're at the hard part, here, so keep going. After that, just post for us the output from emerge --info and a little basic info about the machine you're running.
Re: [gentoo-user] Perl update = emerge cannot create executables
On 11/08/2010 05:33 AM, Pau Peris wrote: Hi, yesterday i was updating some trivial packages when i noticed emerge got broken after updating perl (from [b]perl-5.12.2-r1[/b] to [b]perl-5.12.2-r2[/b]). I've also took a look at /etc/make.conf but i think i did not modify it and after checking it it seems to have no errors. Right not every emerge fails, i think the problem is perl is failing to find need headers or whatever. GCC and system libraries seems ok: snipped I hope someone can help as a working emerge is critical on any Gentoo system, thanks in advanced :) I had to re-emerge two perl packages - extutils-depends and extutils-pkgconfig, then I was fine.
Re: [gentoo-user] Preventing a package from being updated
On 10/25/2010 01:24 AM, Alan McKinnon wrote: Apparently, though unproven, at 04:36 on Monday 25 October 2010, Dale did opine thusly: Then again, Alan knows Gentoo pretty well and may know that he doesn't need sandbox. Once for fun I build a gentoo system in VirtualBox and left sandbox out by accident. Where did you leave it out? Or do you mean you took it out with a -sandbox? The results were ... awful. Bad stuff happened. It was so bad I forgot all the details and started over.