[gentoo-user] amavisd-new needed for spam-only filtering with SpamAsssassin?
I'm setting up my company's email server (Postfix), and I want to use SpamAssassin to weed out the spam messages. Do I need to use amavisd-new? Or can I just pipe Postfix to SpamAssassin directly without using amavisd-new? Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] Re: multi-threaded mplayer
I'll answer myself: just pass the option. http://forums.gentoo.org/viewtopic-t-789673-postdays-0-postorder-asc-start-75.html On 11/15/2011 08:58 AM, Raffaele Belardi wrote: Do I need to set any particular USE flag to enable multi-threaded decoding with mplayer, or is it just a matter of passing the appropriate 'threads=' on the command line? raffaele
Re: [gentoo-user] Re: multi-threaded mplayer
On Tuesday 15 Nov 2011 09:55:55 Raffaele BELARDI wrote: I'll answer myself: just pass the option. http://forums.gentoo.org/viewtopic-t-789673-postdays-0-postorder-asc-start- 75.html Also look at: http://article.gmane.org/gmane.linux.gentoo.user/247578/match=mplayer+2 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: multi-threaded mplayer
On 11/15/2011 12:24 PM, Mick wrote: On Tuesday 15 Nov 2011 09:55:55 Raffaele BELARDI wrote: I'll answer myself: just pass the option. http://forums.gentoo.org/viewtopic-t-789673-postdays-0-postorder-asc-start- 75.html Also look at: http://article.gmane.org/gmane.linux.gentoo.user/247578/match=mplayer+2 Thanks, good to know.
Re: [gentoo-user] Re: Tempertaure of NVidia GPUs
On Mon, Nov 14, 2011 at 8:32 PM, Hartmut Figge h.fi...@gmx.de wrote: meino.cra...@gmx.de: is there any tool to read out the temperature of NVidia GPUs other than the NVidia Setting GUI and nvclock ? Perhaps this one? hafi@i5 ~ $ nvidia-smi Tue Nov 15 05:29:24 2011 +--+ | NVIDIA-SMI 2.290.06 Driver Version: 290.06 | |---+--+--+ | Nb. Name | Bus Id Disp. | Volatile ECC SB / DB | | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. | |===+==+==| | 0. GeForce GTX 460 | :01:00.0 N/A | N/A N/A | | 40% 39 C N/A N/A / N/A | 6% 62MB / 1023MB | N/A Default | |---+--+--| | Compute processes: GPU Memory | | GPU PID Process name Usage | |=| | 0. ERROR: Not Supported | +-+ Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-) Nice! Thanks! I've been using nvidia-settings which is GUI based and nice to look at but not something you can save as text. Nice to have another option. Note that the 465 has two IDs but nvidia-smi doesn't show temps for both whereas nvidia-settings does. - Mark mark@c2stable ~ $ nvidia-smi Tue Nov 15 06:03:32 2011 +--+ | NVIDIA-SMI 2.290.06 Driver Version: 290.06 | |---+--+--+ | Nb. Name | Bus IdDisp. | Volatile ECC SB / DB | | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. | |===+==+==| | 0. GeForce GTX 465 | :02:00.0 N/A| N/AN/A | | 62% 89 C N/A N/A / N/A | 35% 355MB / 1023MB | N/A Default| |---+--+--| | 1. GeForce 8400GS| :04:00.0 N/A| N/AN/A | | N/A 81 C N/A N/A / N/A | 31% 160MB / 511MB | N/A Default| |---+--+--| | Compute processes: GPU Memory | | GPU PID Process name Usage | |=| | 0. ERROR: Not Supported | | 1. ERROR: Not Supported | +-+ mark@c2stable ~ $
CRTs and EDID (was: Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
On Tue, Nov 15, 2011 at 1:21 AM, waltd...@waltdnes.org wrote: Contrary to the FUD I've heard, X works just fine, thank you, without an xorg.conf. Modern flatscreens with EDID info are set up automatically. I suppose that old CRT monitors without EDID info might require xorg.conf, but that's exotic hardware nowadays. Just an FYI, EDID blocks have been part of CRT tech since the mid to late 90s; it's the basis of plug play monitors. IIRC, the EDID block is transported via DDC, which is essentially I2C implemented on top of your VGA cable. I've got three EDID-supporting, 19 1600x1200 CRTs staring me in the face right now. https://plus.google.com/108080062547354628132/posts/ZLLw66eL4We -- :wq
Re: [gentoo-user] {OT} Are push backups flawed?
On 11/14/11 20:54, Grant wrote: If you're intent on making a two-stage pull work; you can do it by creating a 'backups' user on your servers, and then using filesystem ACLs to grant backups+r to every file/directory you want to back up. That way, an attacker on the backup server can't decide to peruse the rest of your stuff. I like that. So use ACLs to grant access to the backups instead of using ownership/permissions so that the ownership/permissions stay intact. I've never used ACLs. Do they override ownership/permissions? In other words, if the ACL specifies backups+r to a file owned by root that is chmod 700, backups can read it anyway? Yup, they work like Windows ACLs if you've used those. You can grant one user read permission without affecting anything else. The '700' mode doesn't really make sense anymore after you apply an ACL.. the whole permissions-as-bits concept gets highly convoluted[1] but if you just want to add read access for one user it's easy. You can use setfacl to add permissions, and double-check with getfacl that they do what you think they do. The examples in `man setfacl` are pretty easy to understand. The easiest method, though, is to just add a third stage. Either move the backups on the backup server to another directory after the backup job completes, or sync/burn/whatever them off-site. In this case the backup server can't access anything you don't give it, and the individual servers can't trash their backed-up data. I don't see how that could work in an automated fashion. Could you give me an example? We do push backups to one server, backup1, every night. Then, every day, backup1 syncs to another server, backup2. The individuals servers have no access to backup2, and it's physically separate from backup1. I make physical, removable, backups of backup2 every once in a while, but not as often as I should. [1] http://www.suse.de/~agruen/acl/linux-acls/online/
Re: [gentoo-user] amavisd-new needed for spam-only filtering with SpamAsssassin?
On Tue, Nov 15, 2011 at 3:55 AM, Pandu Poluan pa...@poluan.info wrote: I'm setting up my company's email server (Postfix), and I want to use SpamAssassin to weed out the spam messages. Do I need to use amavisd-new? Or can I just pipe Postfix to SpamAssassin directly without using amavisd-new? It should be possible, I haven't tried it myself but here is someone else's solution: http://www.miek.nl/s/151d344c47/
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
On Tue, 15 Nov 2011 14:44:58 +0700 Pandu Poluan pa...@poluan.info wrote: Create the file if it doesn't already exist. You now have a totally udev-free machine Sounds nice! However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. (Apologies if my email is OOT) A VM can be surprisingly useful for this. If you can emulate different hardware you can generate useful testing scenarios quickly. The tests won't be conclusive (emulated hardware is not the same thing as real hardware) but you *can* test to a standard. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
On Tue, 2011-11-15 at 14:44 +0700, Pandu Poluan wrote: However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. I have a completely static /dev/ on my VMs.. I just disable the udev devfs services and create whatever device nodes needed manually.
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
On Nov 15, 2011 11:19 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Tue, 15 Nov 2011 14:44:58 +0700 Pandu Poluan pa...@poluan.info wrote: Create the file if it doesn't already exist. You now have a totally udev-free machine Sounds nice! However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. (Apologies if my email is OOT) A VM can be surprisingly useful for this. If you can emulate different hardware you can generate useful testing scenarios quickly. The tests won't be conclusive (emulated hardware is not the same thing as real hardware) but you *can* test to a standard. True. Unfortunately, I don't have 'exotic' hardware to test mdev against, and USB pass-through is not yet supported on XenServer 5.6 (which I'm using right now). I can try it inside VirtualBox on my Windows workstation though. Will that help? Rgds,
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
On Nov 15, 2011 11:43 PM, Albert W. Hopkins mar...@letterboxes.org wrote: On Tue, 2011-11-15 at 14:44 +0700, Pandu Poluan wrote: However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. I have a completely static /dev/ on my VMs.. I just disable the udev devfs services and create whatever device nodes needed manually. Ah, thanks! Now I have more confidence to experiment, knowing someone else have successfully went the static /dev road :-) Rgds,
[gentoo-user] Re: The LIGHTEST web server (just for serving files)?
Michael Mol wrote: Isn't there a kernelland HTTP server? ISTR seeing the option. I don't know anything about it, though. Yeah there was; as I recall it got removed a while back. Google got me: http://en.wikipedia.org/wiki/TUX_web_server and khttpd at: http://www.fenrus.demon.nl/ ..both of which appear dead. I couldn't find any mention of http in my kernel config either. We use lighttpd for our dev stuff; I guess it's that, nginx or thttpd, last of which doesn't do fastCGI, so might be the best for this purpose. http://en.wikipedia.org/wiki/Comparison_of_web_server_software ..might prove helpful. -- #friendly-coders -- We're friendly, but we're not /that/ friendly ;-)
[gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?
Hi, today I upgraded gcc from 4.4.5 to the last stable version 4.5.3-r1. I followed Gentoo GCC Upgrade Guide: # emerge -uav gcc # gcc-config 2 # env-update source /etc/profile # emerge --oneshot libtool # emerge --depclean # revdep-rebuild But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 I did full backup before, so I compared world-file before and after gcc-upgrade just to find out, these two lines have been really inserted now, during gcc-upgrade. And my question is: what does it mean? Does my system need now both gcc 4.4 and 4.5? Why is actually gcc in world-file, when it is part of system? Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
[gentoo-user] Re: [OT] Binary install distro
Dale wrote: Of course, if I find something better, I can backup the /home directory and install something else then restore the /home and carry on with something new. I strongly recommend keeping a separate partition for /home; it makes things a lot easier if and when you switch. It also makes backing up the whole partition with dd very easy. This is the beauty of Linux. Heh indeed; you can even keep an lvm setup across distros. I used to have `gentoo' and `debian' volume groups and it's easy to mount logical volumes in either direction (/home was on a separate large physical partition.) -- #friendly-coders -- We're friendly, but we're not /that/ friendly ;-)
Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?
On Tue, Nov 15, 2011 at 13:58, Jarry mr.ja...@gmail.com wrote: Hi, today I upgraded gcc from 4.4.5 to the last stable version 4.5.3-r1. I followed Gentoo GCC Upgrade Guide: # emerge -uav gcc # gcc-config 2 # env-update source /etc/profile # emerge --oneshot libtool # emerge --depclean # revdep-rebuild But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 I did full backup before, so I compared world-file before and after gcc-upgrade just to find out, these two lines have been really inserted now, during gcc-upgrade. And my question is: what does it mean? Does my system need now both gcc 4.4 and 4.5? Why is actually gcc in world-file, when it is part of system? Because your forgot the -1 / --oneshot flag when manually upgrading gcc. However, in system, multiple gcc slots do not exist, so if you need gcc:4.4 for backwards compatibility or gcc:4.6 for forwards compatibility, it'll show up in your world file.
[gentoo-user] Is it possible for F5 to delete all contacts in Kmail?!!!
Thankfully this didn't happen on my machine, but I have to fix this all the same ... Is it possible to press F5 (the user thought that this would just refresh the content) while in the Kmail address book and as a result all but the current contact being deleted? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?
On 15-Nov-11 20:36, Andrey Moshbear wrote: On Tue, Nov 15, 2011 at 13:58, Jarrymr.ja...@gmail.com wrote: today I upgraded gcc from 4.4.5 to the last stable version But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 Because your forgot the -1 / --oneshot flag when manually upgrading gcc. Hm, I always thought --oneshot was not necessary when doing update. Even Gentoo GCC Upgrade Guide says just emerge -u gcc (or emerge -uav gcc in DE-version). The option --oneshot is used there only for libtool. And I'm pretty sure I've never used --oneshot when updating any packages, yet they have never been added to world-file... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
[gentoo-user] Re: The SIMPLEST web server to config (this time - just for serving video files) ?
Mick wrote: File /usr/lib64/python2.7/SocketServer.py, line 694, in finish self.wfile.flush() File /usr/lib64/python2.7/socket.py, line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) error: [Errno 32] Broken pipe I'm pretty much clueless in python so can't interpret the messages - hopefully someone more knowledgeable will chime in. 'Broken pipe' just means the remote closed the connection. It's a pretty standard error in this context, which the server should handle. A process normally gets a SIGPIPE which will by default terminate it, which is what you want if you have a pipeline'd command whose output is no longer required. An example would be checking there is at least one matching file somewhere in a directory hierarchy with: read -d '' f (find /base/dir -type f -name 'foo*' -print0) [[ $f ]] || echo 'no foo* files' -- find will terminate after the first filename has been read. In this case, signal(SIGPIPE, SIG_IGN) or the equivalent has been called, which gives EPIPE instead; a process ignoring the signal is supposed to deal with the error. So I'd say it's a bug. -- #friendly-coders -- We're friendly, but we're not /that/ friendly ;-)
Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?
Jarry wrote: On 15-Nov-11 20:36, Andrey Moshbear wrote: On Tue, Nov 15, 2011 at 13:58, Jarrymr.ja...@gmail.com wrote: today I upgraded gcc from 4.4.5 to the last stable version But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 Because your forgot the -1 / --oneshot flag when manually upgrading gcc. Hm, I always thought --oneshot was not necessary when doing update. Even Gentoo GCC Upgrade Guide says just emerge -u gcc (or emerge -uav gcc in DE-version). The option --oneshot is used there only for libtool. And I'm pretty sure I've never used --oneshot when updating any packages, yet they have never been added to world-file... Jarry I think you are correct. When you use the -u option, it shouldn't add anything to the world file. Than again, weird things happen from time to time. Take the two entries out and see what emerge says to a emerge -uavDN world which should catch about everything. Then see what -a --depclean says. If it tries to remove the older version then that may be why it was added. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
On Tue, Nov 15, 2011 at 02:44:58PM +0700, Pandu Poluan wrote However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. (Apologies if my email is OOT) The more scenarios we can test, the better. mdev might shave a second or two off the VM's bootup time, versus udev. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Re: [OT] Binary install distro
Steven J Long wrote: Dale wrote: Of course, if I find something better, I can backup the /home directory and install something else then restore the /home and carry on with something new. I strongly recommend keeping a separate partition for /home; it makes things a lot easier if and when you switch. It also makes backing up the whole partition with dd very easy. I always make /home separate. Well, until udev needs it too I guess. lol This is the beauty of Linux. Heh indeed; you can even keep an lvm setup across distros. I used to have `gentoo' and `debian' volume groups and it's easy to mount logical volumes in either direction (/home was on a separate large physical partition.) Learned something new then. I really need to master LVM some day. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Is it possible for F5 to delete all contacts in Kmail?!!!
Am 15.11.2011 20:39, schrieb Mick: Thankfully this didn't happen on my machine, but I have to fix this all the same ... Is it possible to press F5 (the user thought that this would just refresh the content) while in the Kmail address book and as a result all but the current contact being deleted? Nope, not here. Besides, F5 really is set to Refresh. I also cannot find another shortkey for this and I doubt anyone would waste time to implement it. signature.asc Description: OpenPGP digital signature
[gentoo-user] Help, please! I've hosed my gcc.
Hi, Gentoo. My gcc now fails to work. I upgraded it earlier on (I think) after doing an emerge --sync. I can't remember the before/after versions, or even whether I've got both of them. lipgmp has a lot to do with my problem. After my last emerge -uND world, I think libgmp was upgraded. At any rate the messages on the screen directed me to revdep-rebuild --library /usr/libt64/libgmp.so.3 , which I did. They then informed me I could safely delete libgmp.so.3, which I also did. :-( Now, when I attempt gcc on the command line, I get the error: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory . So, is there an easy way for me to recover a working gcc, or do I have to do something desperate, like reinstalling Gentoo? :-( Help will be most appreciated. -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Help, please! I've hosed my gcc.
Alan Mackenzie a...@muc.de wrote: Hi, Gentoo. My gcc now fails to work. I upgraded it earlier on (I think) after doing an emerge --sync. I can't remember the before/after versions, or even whether I've got both of them. lipgmp has a lot to do with my problem. After my last emerge -uND world, I think libgmp was upgraded. At any rate the messages on the screen directed me to revdep-rebuild --library /usr/libt64/libgmp.so.3 , which I did. They then informed me I could safely delete libgmp.so.3, which I also did. :-( Now, when I attempt gcc on the command line, I get the error: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory . So, is there an easy way for me to recover a working gcc, or do I have to do something desperate, like reinstalling Gentoo? :-( Help will be most appreciated. Do you have a backup? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] Help, please! I've hosed my gcc.
On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie a...@muc.de wrote: Hi, Gentoo. My gcc now fails to work. I upgraded it earlier on (I think) after doing an emerge --sync. I can't remember the before/after versions, or even whether I've got both of them. lipgmp has a lot to do with my problem. After my last emerge -uND world, I think libgmp was upgraded. At any rate the messages on the screen directed me to revdep-rebuild --library /usr/libt64/libgmp.so.3 , which I did. They then informed me I could safely delete libgmp.so.3, which I also did. :-( Now, when I attempt gcc on the command line, I get the error: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory . So, is there an easy way for me to recover a working gcc, or do I have to do something desperate, like reinstalling Gentoo? :-( Help will be most appreciated. -- Alan Mackenzie (Nuremberg, Germany). gcc-config -l and see what's there
Re: [gentoo-user] Help, please! I've hosed my gcc.
symlink it to the later version, or copy the lib over from another system. Then rebuild dev-libs/gmp and dont delete the lib! I got bitten by this but only on one system - the file is supplied by the later ebuild so I dont know why it asks to delete it. Was in the middle of a major snafu when it bit so didnt bug report it - should have. BillK On Tue, 2011-11-15 at 21:44 +, Alan Mackenzie wrote: Hi, Gentoo. My gcc now fails to work. I upgraded it earlier on (I think) after doing an emerge --sync. I can't remember the before/after versions, or even whether I've got both of them. lipgmp has a lot to do with my problem. After my last emerge -uND world, I think libgmp was upgraded. At any rate the messages on the screen directed me to revdep-rebuild --library /usr/libt64/libgmp.so.3 , which I did. They then informed me I could safely delete libgmp.so.3, which I also did. :-( Now, when I attempt gcc on the command line, I get the error: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory . So, is there an easy way for me to recover a working gcc, or do I have to do something desperate, like reinstalling Gentoo? :-( Help will be most appreciated.
Re: [gentoo-user] Help, please! I've hosed my gcc.
Alan Mackenzie wrote: Hi, Gentoo. My gcc now fails to work. I upgraded it earlier on (I think) after doing an emerge --sync. I can't remember the before/after versions, or even whether I've got both of them. lipgmp has a lot to do with my problem. After my last emerge -uND world, I think libgmp was upgraded. At any rate the messages on the screen directed me to revdep-rebuild --library /usr/libt64/libgmp.so.3 , which I did. They then informed me I could safely delete libgmp.so.3, which I also did. :-( Now, when I attempt gcc on the command line, I get the error: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory . So, is there an easy way for me to recover a working gcc, or do I have to do something desperate, like reinstalling Gentoo? :-( Help will be most appreciated. Check to make sure a gcc is selected: gcc-config -l Sometimes if a old version is removed the link is sort of left dangling in the wind. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Re: [OT] Binary install distro
On Tue, 15 Nov 2011 14:19:48 -0600, Dale wrote: Heh indeed; you can even keep an lvm setup across distros. I used to have `gentoo' and `debian' volume groups and it's easy to mount logical volumes in either direction (/home was on a separate large physical partition.) Learned something new then. I really need to master LVM some day. Or you can use a single volume group, which makes space management simpler, by including the distro name in the names of the logical volumes. -- Neil Bothwick Who messed with my anti-paranoia shot? signature.asc Description: PGP signature
Re: [gentoo-user] Help, please! I've hosed my gcc.
Hi, Mark On Tue, Nov 15, 2011 at 02:06:32PM -0800, Mark Knecht wrote: On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie a...@muc.de wrote: My gcc now fails to work. I upgraded it earlier on (I think) after doing an emerge --sync. I can't remember the before/after versions, or even whether I've got both of them. lipgmp has a lot to do with my problem. After my last emerge -uND world, I think libgmp was upgraded. At any rate the messages on the screen directed me to revdep-rebuild --library /usr/libt64/libgmp.so.3 , which I did. They then informed me I could safely delete libgmp.so.3, which I also did. :-( Now, when I attempt gcc on the command line, I get the error: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory . So, is there an easy way for me to recover a working gcc, or do I have to do something desperate, like reinstalling Gentoo? :-( Help will be most appreciated. -- Alan Mackenzie (Nuremberg, Germany). gcc-config -l and see what's there Ah - gcc-config. I did gcc-config -l, and it displayed 2 versions of gcc. Then I did gcc-config --help. Then I did gcc-config x86_64-pc-linux-gnu-4.5.3 , and now gcc is working again, or more precisely the new one is working. :-) Thanks for the tip! -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Is it possible for F5 to delete all contacts in Kmail?!!!
On Tuesday 15 Nov 2011 21:36:14 Florian Philipp wrote: Am 15.11.2011 20:39, schrieb Mick: Thankfully this didn't happen on my machine, but I have to fix this all the same ... Is it possible to press F5 (the user thought that this would just refresh the content) while in the Kmail address book and as a result all but the current contact being deleted? Nope, not here. Besides, F5 really is set to Refresh. I also cannot find another shortkey for this and I doubt anyone would waste time to implement it. Thanks for checking this. Are you using std.vcf or the Kmail 'Personal Contacts' storage for your address book? The kaddressbook that was hosed with pressing F5 was in std.vcf. I'm not sure I understand the difference between these two akonadi resources, other than that the std.vcf is the old KDE format under .kde4/share/apps/kabc/std.vcf, while the Personal Contacts seems to be stored under .local.share/akonadi/ ). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Help, please! I've hosed my gcc.
On Tue, Nov 15, 2011 at 2:35 PM, Alan Mackenzie a...@muc.de wrote: Hi, Mark On Tue, Nov 15, 2011 at 02:06:32PM -0800, Mark Knecht wrote: On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie a...@muc.de wrote: My gcc now fails to work. I upgraded it earlier on (I think) after doing an emerge --sync. I can't remember the before/after versions, or even whether I've got both of them. lipgmp has a lot to do with my problem. After my last emerge -uND world, I think libgmp was upgraded. At any rate the messages on the screen directed me to revdep-rebuild --library /usr/libt64/libgmp.so.3 , which I did. They then informed me I could safely delete libgmp.so.3, which I also did. :-( Now, when I attempt gcc on the command line, I get the error: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory . So, is there an easy way for me to recover a working gcc, or do I have to do something desperate, like reinstalling Gentoo? :-( Help will be most appreciated. -- Alan Mackenzie (Nuremberg, Germany). gcc-config -l and see what's there Ah - gcc-config. I did gcc-config -l, and it displayed 2 versions of gcc. Then I did gcc-config --help. Then I did gcc-config x86_64-pc-linux-gnu-4.5.3 , and now gcc is working again, or more precisely the new one is working. :-) Thanks for the tip! -- Alan Mackenzie (Nuremberg, Germany). Happy to help and very glad it worked out. Cheers, Mark
Re: [gentoo-user] Re: Another hardware thread
Am 2011-11-13 12:56, schrieb Neil Bothwick: General desktop use, but that does include some image processing and plenty of virtualisation. It will also be a build host for some lower powered Gentoo systems, so fast compile times, and plenty of cores, are advantages. Nearly the same use here, KVM-virtualization, still one VMware-player-driven-VM I play with the thought of getting myself a nice new machine for work, better to spend some money on hardware than on taxes (2012 is near ...). Performance is one issue, another one is energy/noise ... the phenom 1090t seems to pull in a lot and need good (and maybe noisy) fans. I just start to compare. 6 cores, yep, sounds good for both gentoo-compile-work and VMs ... Stefan
Re: [gentoo-user] Re: Another hardware thread
On Wed, 16 Nov 2011 00:51:44 +0100, Stefan G. Weichinger wrote: I play with the thought of getting myself a nice new machine for work, better to spend some money on hardware than on taxes (2012 is near ...). My thoughts exactly. Performance is one issue, another one is energy/noise ... the phenom 1090t seems to pull in a lot and need good (and maybe noisy) fans. I'll be using my existing water cooling setup, so no need to worry about that. However, after some research, I've decided to stick with Intel and orders an i7 2600k today. I wasn't sure whether it was worth the extra over the i5, but knew I would only regret it the first time I had to wait for something. I rationalised the cost by getting only 8GB of RAM, but leaving the slots free for another 8GB should I feel the need for it. I just start to compare. 6 cores, yep, sounds good for both gentoo-compile-work and VMs ... The Intel chips are only four cores, but appear to give a lot more bang-per-core, especially with the i7's hyperthreading. -- Neil Bothwick If you consult enough experts, you can confirm any opinion. signature.asc Description: PGP signature
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
On Nov 16, 2011 3:21 AM, waltd...@waltdnes.org wrote: On Tue, Nov 15, 2011 at 02:44:58PM +0700, Pandu Poluan wrote However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. (Apologies if my email is OOT) The more scenarios we can test, the better. mdev might shave a second or two off the VM's bootup time, versus udev. Okay, I have two staging VMs on XenServer and one on VMware. I'm going to report back what happens. If anything bad happens, *should* be an easy rollback to the previous snapshot. Rgds,
Re: [gentoo-user] Re: [OT] Binary install distro
On Nov 16, 2011 3:26 AM, Dale rdalek1...@gmail.com wrote: Steven J Long wrote: Dale wrote: Of course, if I find something better, I can backup the /home directory and install something else then restore the /home and carry on with something new. I strongly recommend keeping a separate partition for /home; it makes things a lot easier if and when you switch. It also makes backing up the whole partition with dd very easy. I always make /home separate. Well, until udev needs it too I guess. lol Heh, I knew you'd bring up that monstrosity ;-) Rgds,
[gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?
On 11/15/2011 08:58 PM, Jarry wrote: Hi, today I upgraded gcc from 4.4.5 to the last stable version 4.5.3-r1. [...] But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 I did full backup before, so I compared world-file before and after gcc-upgrade just to find out, these two lines have been really inserted now, during gcc-upgrade. And my question is: what does it mean? Does my system need now both gcc 4.4 and 4.5? Why is actually gcc in world-file, when it is part of system? The old GCC version does not get removed. This is a good thing just in case the new one doesn't work for some reason. If it works OK, you can manually unmerge the old version: emerge -aC gcc:4.4 Before doing that, however, make sure the new one has been activated with gcc-config and verify that it works by building some random package.
Re: [gentoo-user] Re: [OT] Binary install distro
Pandu Poluan wrote: On Nov 16, 2011 3:26 AM, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: I always make /home separate. Well, until udev needs it too I guess. lol Heh, I knew you'd bring up that monstrosity ;-) Rgds, I couldn't resist. Sorry. o_O Just shows people on here know me to well. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?
On Nov 16, 2011 8:00 AM, Nikos Chantziaras rea...@arcor.de wrote: On 11/15/2011 08:58 PM, Jarry wrote: Hi, today I upgraded gcc from 4.4.5 to the last stable version 4.5.3-r1. [...] But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 I did full backup before, so I compared world-file before and after gcc-upgrade just to find out, these two lines have been really inserted now, during gcc-upgrade. And my question is: what does it mean? Does my system need now both gcc 4.4 and 4.5? Why is actually gcc in world-file, when it is part of system? The old GCC version does not get removed. This is a good thing just in case the new one doesn't work for some reason. If it works OK, you can manually unmerge the old version: emerge -aC gcc:4.4 Before doing that, however, make sure the new one has been activated with gcc-config and verify that it works by building some random package. And if you're adventurous, add USE graphite, reemerge gcc, and reemerge world :) Rgds,
Re: [gentoo-user] Re: [OT] Binary install distro
Neil Bothwick wrote: On Tue, 15 Nov 2011 14:19:48 -0600, Dale wrote: Heh indeed; you can even keep an lvm setup across distros. I used to have `gentoo' and `debian' volume groups and it's easy to mount logical volumes in either direction (/home was on a separate large physical partition.) Learned something new then. I really need to master LVM some day. Or you can use a single volume group, which makes space management simpler, by including the distro name in the names of the logical volumes. Well I have played with LVM a bit and done pretty well. I just haven't actually used it for anything but playing yet. I need to write down some key commands so that I have them in case I'm desperate. You know, nothing is working but can't figure out how to turn something back on or do a reset. lol I like your sigs. I post them on facebook sometimes. Some of them have a bit of irony to them tho, depending on the subject of the email. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Re: [OT] Binary install distro
On Nov 16, 2011 8:07 AM, Dale rdalek1...@gmail.com wrote: Pandu Poluan wrote: On Nov 16, 2011 3:26 AM, Dale rdalek1...@gmail.com wrote: I always make /home separate. Well, until udev needs it too I guess. lol Heh, I knew you'd bring up that monstrosity ;-) Rgds, I couldn't resist. Sorry. o_O Just shows people on here know me to well. Have you tried waltdnes' udev-less guide? Rgds,
Re: [gentoo-user] Re: [OT] Binary install distro
Pandu Poluan wrote: On Nov 16, 2011 8:07 AM, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: Pandu Poluan wrote: On Nov 16, 2011 3:26 AM, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: I always make /home separate. Well, until udev needs it too I guess. lol Heh, I knew you'd bring up that monstrosity ;-) Rgds, I couldn't resist. Sorry. o_O Just shows people on here know me to well. Have you tried waltdnes' udev-less guide? Rgds, I read the messages and am following it. Since I rarely change hardware, I may at some point give it a shot. I just got a lot going on right now. My health being one of them. My body does not like cool weather or when the pressure changes. Crappy arthritis. :/ Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
Plus, I'm feeling adventurous and will experiment with VirtualBox also ;) Rgds, On Nov 16, 2011 7:52 AM, Pandu Poluan pa...@poluan.info wrote: On Nov 16, 2011 3:21 AM, waltd...@waltdnes.org wrote: On Tue, Nov 15, 2011 at 02:44:58PM +0700, Pandu Poluan wrote However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. (Apologies if my email is OOT) The more scenarios we can test, the better. mdev might shave a second or two off the VM's bootup time, versus udev. Okay, I have two staging VMs on XenServer and one on VMware. I'm going to report back what happens. If anything bad happens, *should* be an easy rollback to the previous snapshot. Rgds,
Re: [gentoo-user] Re: Another hardware thread
Performance is one issue, another one is energy/noise ... the phenom 1090t seems to pull in a lot and need good (and maybe noisy) fans. I've just bought a 965 (a 1100T wouldn't boot despite being supported by the latest bios). The CPU fan is very quiet when the system is idling, but spins up and gets noisy when working hard.
[gentoo-user] [OT] Where to discuss Xming
Sorry about the OT, this was one of those times where I cannot think of a better place to ask this... and there are many well informed people here. I've been unable to turn up a mailing list about Xming. gmanes active list doesn't appear to have any group with xming in the name... googling turns up Xming home site , and usually one can find about mailing lists on a home site... not so this time. http://www.straightrunning.com/XmingNotes/ Their sourceforge site has nothing helpful either and in fact refers to the above citation. Straight google on xming mailing list, turns up quite a few threads where xming is mentioned but none appear to be on an xming mailing list.
Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?
I'm using systemd as init. Currently there's no .service file for mdev. Hope someone on this list can provide one :-) On Wed, Nov 16, 2011 at 9:41 AM, Pandu Poluan pa...@poluan.info wrote: Plus, I'm feeling adventurous and will experiment with VirtualBox also ;) Rgds, On Nov 16, 2011 7:52 AM, Pandu Poluan pa...@poluan.info wrote: On Nov 16, 2011 3:21 AM, waltd...@waltdnes.org wrote: On Tue, Nov 15, 2011 at 02:44:58PM +0700, Pandu Poluan wrote However, my Gentoo systems are all virtual servers (DomU VMs on XenServer). So, the hardware devices are static. Will switching over to mdev give any benefits? I even am toying around with the idea of having a completely static /dev, but still can't find any guide/pointers yet. (Apologies if my email is OOT) The more scenarios we can test, the better. mdev might shave a second or two off the VM's bootup time, versus udev. Okay, I have two staging VMs on XenServer and one on VMware. I'm going to report back what happens. If anything bad happens, *should* be an easy rollback to the previous snapshot. Rgds,
Re: [gentoo-user] Re: [OT] Binary install distro
is it possible to install lightDM (ubuntu 11.10) in gentoo? Érico V. Porto On Tue, Nov 15, 2011 at 11:23 PM, Dale rdalek1...@gmail.com wrote: Pandu Poluan wrote: On Nov 16, 2011 8:07 AM, Dale rdalek1...@gmail.com wrote: Pandu Poluan wrote: On Nov 16, 2011 3:26 AM, Dale rdalek1...@gmail.com wrote: I always make /home separate. Well, until udev needs it too I guess. lol Heh, I knew you'd bring up that monstrosity ;-) Rgds, I couldn't resist. Sorry. o_O Just shows people on here know me to well. Have you tried waltdnes' udev-less guide? Rgds, I read the messages and am following it. Since I rarely change hardware, I may at some point give it a shot. I just got a lot going on right now. My health being one of them. My body does not like cool weather or when the pressure changes. Crappy arthritis. :/ Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Re: [OT] Binary install distro
Érico Porto wrote: is it possible to install lightDM (ubuntu 11.10) in gentoo? Érico V. Porto It looks like you can. http://www.omgubuntu.co.uk/2011/10/simple-lightdm-manager-lets-easily-tweak-ubuntu-11-10-login-screen/ I have not tested this tho so no idea what it could/might break. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
[gentoo-user] Re: swapping processor problem
On 11/15/2011 08:33 AM, Raffaele Belardi wrote: I have two gentoo boxes, X has an ASUS M2NPV-VM with AMD64 3500+ CPU, Y has a AMD64 X2 5600+ CPU. Since I need more juice on X I thought I could swap CPUs. After updating X's BIOS the system with the 'new' CPU boots up to the MythTv screen with no error but does not respond to the USB keyboard nor My first thought was that X (and Y) WERE compiled with '-march=native' GCC flag and maybe the 5600+ does not execute properly the 3500+ code. But a quick search on wikipedia shows that 5600+ has a superset of the 3500+ so I should have problems putting the 3500+ in the Y box, not vice-versa. I did some more testing, the lock occurs also when booting from CD so I excluded a software problem. So I tried swapping also the PSU, still locks. I ended up swapping also the motherboards, apparently no locks (but I need a new kernel). So it looks like the combination of ASUS M2NPV-VM motherboard plus MD64 X2 5600+ CPU was causing the lock. I just don't understand why.
Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?
On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote: On Nov 16, 2011 8:00 AM, Nikos Chantziaras rea...@arcor.de wrote: On 11/15/2011 08:58 PM, Jarry wrote: Hi, today I upgraded gcc from 4.4.5 to the last stable version 4.5.3-r1. [...] But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 I did full backup before, so I compared world-file before and after gcc-upgrade just to find out, these two lines have been really inserted now, during gcc-upgrade. And my question is: what does it mean? Does my system need now both gcc 4.4 and 4.5? Why is actually gcc in world-file, when it is part of system? The old GCC version does not get removed. This is a good thing just in case the new one doesn't work for some reason. If it works OK, you can manually unmerge the old version: emerge -aC gcc:4.4 Before doing that, however, make sure the new one has been activated with gcc-config and verify that it works by building some random package. And if you're adventurous, add USE graphite, reemerge gcc, and reemerge world :) Rgds, what does graphite add ? thanks -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] swapping processor problem
On Tue, Nov 15, 2011 at 2:33 AM, Raffaele BELARDI raffaele.bela...@st.com wrote: I have two gentoo boxes, X has an ASUS M2NPV-VM with AMD64 3500+ CPU, Y has a AMD64 X2 5600+ CPU. Since I need more juice on X I thought I could swap CPUs. After updating X's BIOS the system with the 'new' CPU boots up to the MythTv screen with no error but does not respond to the USB keyboard nor to the remote control keypresses. More precisely: - keyboard is fine at grub boot, I can select up and down or edit the entries - keyboard is no longer responsive at the init scripts start (when you can press 'I' to select services) My first thought was that X (and Y) WERE compiled with '-march=native' GCC flag and maybe the 5600+ does not execute properly the 3500+ code. But a quick search on wikipedia shows that 5600+ has a superset of the 3500+ so I should have problems putting the 3500+ in the Y box, not vice-versa. Any suggestions? Play with your BIOS settings. Look for things like legacy USB support. Also, double-check that all the relevant USB drivers (UHCI, EHCI, XHCI, HID, etc) are either built-into the kernel, or are loaded as modules. Consider rebuilding your kernel. Just because one processor has a superset of the instructions of the other doesn't mean there may not be other compatibilities. Some time back, a thread on here discussed how to find out what -march=native becomes, in terms of -march and a bunch of other parameters. I've noticed parameters like cache line sizes and cache sizes, among a couple others. I imagine a bungling of, e.g., cache line sizes could break code that has heavy dependency on data locality and/or memory models; it might have broken your USB drivers, for example. But, really, I think BIOS settings and driver presence are the more likely culprit. -- :wq
Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?
On Wed, Nov 16, 2011 at 02:11, Stéphane Guedon steph...@22decembre.eu wrote: On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote: On Nov 16, 2011 8:00 AM, Nikos Chantziaras rea...@arcor.de wrote: On 11/15/2011 08:58 PM, Jarry wrote: Hi, today I upgraded gcc from 4.4.5 to the last stable version 4.5.3-r1. [...] But at the and I noticed gcc 4.4 has not been unmerged and my world file is somehow larger. To my surprise, it contains these lines: sys-devel/gcc sys-devel/gcc:4.4 I did full backup before, so I compared world-file before and after gcc-upgrade just to find out, these two lines have been really inserted now, during gcc-upgrade. And my question is: what does it mean? Does my system need now both gcc 4.4 and 4.5? Why is actually gcc in world-file, when it is part of system? The old GCC version does not get removed. This is a good thing just in case the new one doesn't work for some reason. If it works OK, you can manually unmerge the old version: emerge -aC gcc:4.4 Before doing that, however, make sure the new one has been activated with gcc-config and verify that it works by building some random package. And if you're adventurous, add USE graphite, reemerge gcc, and reemerge world :) Rgds, what does graphite add ? andrey@robot9000 /tmp $ grep graphite /usr/portage/profiles/use*.desc /usr/portage/profiles/use.local.desc:app-office/libreoffice:graphite - Enable support for non-Roman fonts via media-gfx/graphite2 /usr/portage/profiles/use.local.desc:app-portage/eix:strong-optimization - Adds several more agressive CXXFLAGS/LDFLAGS for optimization like graphite (if available). May cause trouble with some buggy compiler versions. Absense of this USE flag does not strip user's *FLAGS /usr/portage/profiles/use.local.desc:media-libs/harfbuzz:graphite - Enable support for non-Roman fonts via media-gfx/graphite2 /usr/portage/profiles/use.local.desc:media-libs/silgraphite:pango - Enables the pango-graphite pango module. /usr/portage/profiles/use.local.desc:sys-devel/gcc:graphite - Add support for the framework for loop optimizations based on a polyhedral intermediate representation
Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?
On Wed, Nov 16, 2011 at 2:11 AM, Stéphane Guedon steph...@22decembre.eu wrote: On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote: And if you're adventurous, add USE graphite, reemerge gcc, and reemerge world :) what does graphite add ? Thanks for reminding me; I meant to look it up when I got home. shortcircuit:1@serenity~ Wed Nov 16 02:16 AM !501 #1 j0 ?0 $ euse -i graphite global use flags (searching: graphite) no matching entries found local use flags (searching: graphite) [snip] [- ] graphite sys-devel/gcc: Add support for the framework for loop optimizations based on a polyhedral intermediate representation So, a new, experimental optimization model and framework inside your compiler. If it's specifically for optimizing on loops, I'll venture a guess it's going to be mostly effective for graphics libraries and apps. I've got some slightly riskier educated guesses on how it works and what some numeric side effects and consequences might be, but they scare me, so I think I'll leave it to someone who actually knows more about it... -- :wq
Re: [gentoo-user] swapping processor problem
On 11/16/2011 08:11 AM, Michael Mol wrote: Play with your BIOS settings. Look for things like legacy USB support. Also, double-check that all the relevant USB drivers (UHCI, EHCI, XHCI, HID, etc) are either built-into the kernel, or are loaded as modules. Consider rebuilding your kernel. Just because one processor has a superset of the instructions of the other doesn't mean there may not be other compatibilities. Some time back, a thread on here discussed how to find out what -march=native becomes, in terms of -march and a bunch of other parameters. I've noticed parameters like cache line sizes and cache sizes, among a couple others. I imagine a bungling of, e.g., cache line sizes could break code that has heavy dependency on data locality and/or memory models; it might have broken your USB drivers, for example. But, really, I think BIOS settings and driver presence are the more likely culprit. I don't think it was a software issue because the same lock happened also booting from a live-CD. I ended up swapping the motherboards, now live-CD boots fine but I need a new kernel. The march=native thread looks interesting, do you remember the subject line so I can search it in the archives?
Re: [gentoo-user] swapping processor problem
Michael Mol wrote: Play with your BIOS settings. Look for things like legacy USB support. Also, double-check that all the relevant USB drivers (UHCI, EHCI, XHCI, HID, etc) are either built-into the kernel, or are loaded as modules. Consider rebuilding your kernel. Just because one processor has a superset of the instructions of the other doesn't mean there may not be other compatibilities. Some time back, a thread on here discussed how to find out what -march=native becomes, in terms of -march and a bunch of other parameters. I've noticed parameters like cache line sizes and cache sizes, among a couple others. I imagine a bungling of, e.g., cache line sizes could break code that has heavy dependency on data locality and/or memory models; it might have broken your USB drivers, for example. But, really, I think BIOS settings and driver presence are the more likely culprit. Here it is: gcc -Q --help=target -march=native I agree tho that checking those BIOS setting is a good start. If that fails, boot a CD or something, chroot in, do a emerge -e system. Maybe make some corrections to the kernel then try booting. Oh, I'd rebuild the input drivers to, mouse and keyboard. Check the USE flags too. I'm not sure what all options they have. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!