Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Neil Bothwick
On Sat, 16 Jul 2011 14:13:49 -0400, Michael Orlitzky wrote: CFLAGS=-march=native -O2 -pipe enables everything safe these days. As long as you don't want the VM to be portable. -- Neil Bothwick Angular Momentum Makes The World Go 'Round signature.asc Description: PGP signature

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Kfir Lavi
On Sat, Jul 16, 2011 at 9:13 PM, Michael Orlitzky mich...@orlitzky.comwrote: On 07/16/2011 09:54 AM, Kfir Lavi wrote: Hi, I'm creating a router based on Gentoo, that needs to run as a vm using qemu. The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread dong l
qemu has an option `*qemu* -*cpu host` that will use the host cpu features* 2011/7/17 Kfir Lavi lavi.k...@gmail.com On Sat, Jul 16, 2011 at 9:13 PM, Michael Orlitzky mich...@orlitzky.comwrote: On 07/16/2011 09:54 AM, Kfir Lavi wrote: Hi, I'm creating a router based on Gentoo, that needs

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Albert Hopkins
On Saturday, July 16 at 16:54 (+0300), Kfir Lavi said: The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the best performance out of this vm? A router is not going to be CPU-bound. Should matter little either way.

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Michael Mol
On Sun, Jul 17, 2011 at 8:02 AM, Albert Hopkins mar...@letterboxes.org wrote: On Saturday, July 16 at 16:54 (+0300), Kfir Lavi said: The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the best performance out of this vm? A router is not going to be CPU-bound.  

Re: [gentoo-user] Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread Stroller
On 16 July 2011, at 19:11, Michael Orlitzky wrote: On 07/16/2011 12:53 PM, Stroller wrote: I have no illusions that attempting this *will* be a pain the ass, because in the past I've updated machines which have been ignored for 18 months, and that required lots of manually digging in the

Re: [gentoo-user] Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread Stroller
On 16 July 2011, at 19:37, Alan Mackenzie wrote: ... I have a /usr/portage from 2009-12-20 on my rescue system. I don't think I've synched it after that (but I'm too lazy to look up the `find' info page to check properly). Is that any good? Yeah, that would be fantastic, thanks, Alan.

Re: [gentoo-user] Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread Stroller
On 16 July 2011, at 20:14, Mark Knecht wrote: On Sat, Jul 16, 2011 at 9:53 AM, Stroller strol...@stellar.eclipse.co.uk wrote: A bit of a long shot, this, but has anyone got any older Portage snapshots kicking around, by any chance? Amazingly enough, I have portage.latest.tar.bz2 dated

Re: [gentoo-user] Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread Stroller
On 16 July 2011, at 21:57, James Cloos wrote: I have a clone of the git conversion whose last commit is dated Sun Apr 12 21:54:28 2009 +, if that is of any help. Yeah, that would be fantastic, thanks. Could you put it somewhere I can download it from, please? Feel free to email me

Re: [gentoo-user] Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread Stroller
On 16 July 2011, at 22:00, Volker Armin Hemmann wrote: ... deinstall everything you don't need to install the rest. Then update that base system. Afterwards install all the stuff you need. The less packages installed, the easier the update. Excellent point! Thank you. I think once or

Re: [gentoo-user] Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread Stroller
On 17 July 2011, at 00:22, James wrote: Stroller stroller at stellar.eclipse.co.uk writes: in this case the box in question is a PS3 which was installed using the experimental PS3 stages Hello Stroller, I do not have what you seek, but I did run across this link, some time ago,

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Stroller
On 17 July 2011, at 13:02, Albert Hopkins wrote: On Saturday, July 16 at 16:54 (+0300), Kfir Lavi said: The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the best performance out of this vm? A router is not going to be CPU-bound. Should matter little

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Daniel da Veiga
On Sat, Jul 16, 2011 at 10:54, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I'm creating a router based on Gentoo, that needs to run as a vm using qemu. The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the best performance out of this vm? If you intend to

Re: [gentoo-user] Re: Problem with xf86-video-ati nvidia-drivers

2011-07-17 Thread Grant
I gave it a try but there was no change.  I tried plugging the TV and computer into a power strip and also into an isolation transformer. Any other ideas? I still think it's a driver problem.  Again: it's *physically* impossible to have these problems with the HDMI signal.  At most you get

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Kfir Lavi
On Sun, Jul 17, 2011 at 7:19 PM, Daniel da Veiga danieldave...@gmail.comwrote: On Sat, Jul 16, 2011 at 10:54, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I'm creating a router based on Gentoo, that needs to run as a vm using qemu. The mother machine will be Core I7 4 cores. What cpu and

[gentoo-user] Re: Problem with xf86-video-ati nvidia-drivers

2011-07-17 Thread Nikos Chantziaras
On 07/17/2011 07:22 PM, Grant wrote: I gave it a try but there was no change. I tried plugging the TV and computer into a power strip and also into an isolation transformer. Any other ideas? I still think it's a driver problem. Again: it's *physically* impossible to have these problems with

Re: [gentoo-user] Re: Problem with xf86-video-ati nvidia-drivers

2011-07-17 Thread Grant
I gave it a try but there was no change.  I tried plugging the TV and computer into a power strip and also into an isolation transformer. Any other ideas? I still think it's a driver problem.  Again: it's *physically* impossible to have these problems with the HDMI signal.  At most you get

[gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Grant
My crontab deletes all files of a certain type in a certain folder with yesterday's date in the filename. It usually executes but sometimes fails with: /bin/rm: Argument list too long What would you do about this? - Grant

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Alan Mackenzie
Hi, Grant. On Sun, Jul 17, 2011 at 12:32:42PM -0700, Grant wrote: My crontab deletes all files of a certain type in a certain folder with yesterday's date in the filename. It usually executes but sometimes fails with: /bin/rm: Argument list too long What would you do about this? Use

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread victor romanchuk
it could be slightly less efficient comparing to plain `rm', but worked around your problem: find your-dir -ctime -1 -exec rm {} \; basically `find' has a lot options filtering result set. these include time/date, file name (regexp), file type and so on. consult man for details victor Grant

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread David W Noon
On Sun, 17 Jul 2011 12:32:42 -0700, Grant wrote about [gentoo-user] Any way around Argument list too long?: My crontab deletes all files of a certain type in a certain folder with yesterday's date in the filename. It usually executes but sometimes fails with: /bin/rm: Argument list too

RE: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Pandu Poluan
-original message- Subject: Re: [gentoo-user] Any way around Argument list too long? From: Alan Mackenzie a...@muc.de Date: 2011-07-18 02:42 Hi, Grant. On Sun, Jul 17, 2011 at 12:32:42PM -0700, Grant wrote: My crontab deletes all files of a certain type in a certain folder with yesterday's

[gentoo-user] Re: Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread James
Stroller stroller at stellar.eclipse.co.uk writes: Hope this makes sense. Not a criticism of you, and thanks for trying to be helpful. Stroller, I do not even own a PS3. If firmware can be replaced, then I see no ethical issue in replacing the firmware; after all it's your hardware and I

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Alan McKinnon
Are you using wildcards in the arguments to rm ? Rather use find | xargs or find -exec which are designed to deal with exactly this circumstance. On 17 Jul 2011 9:32 PM, Grant emailgr...@gmail.com wrote: My crontab deletes all files of a certain type in a certain folder with yesterday's date in

[gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
I'm running into space issues (my / partition is at 99% of capacity) and I'd like some advice on what I can remove and how. My USE line in /etc/make.conf looks like this: USE=-setup declarative static-libs gallium moonlight semantic-desktop -kdeprefix -aqua policykit cdda vhosts automount

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread James Wall
On Sun, Jul 17, 2011 at 4:19 PM, Michael Sullivan msulli1...@gmail.com wrote: I'm running into space issues (my / partition is at 99% of capacity) and I'd like some advice on what I can remove and how.  My USE line in /etc/make.conf looks like this: USE=-setup declarative static-libs gallium

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Michael Mol
On Sun, Jul 17, 2011 at 3:54 PM, Pandu Poluan pa...@poluan.info wrote: -original message- Subject: Re: [gentoo-user] Any way around Argument list too long? From: Alan Mackenzie a...@muc.de Date: 2011-07-18 02:42 Hi, Grant. On Sun, Jul 17, 2011 at 12:32:42PM -0700, Grant wrote: My crontab

Re: [gentoo-user] Re: Problem with xf86-video-ati nvidia-drivers

2011-07-17 Thread Michael Mol
On Sun, Jul 17, 2011 at 12:54 PM, Grant emailgr...@gmail.com wrote: I was thinking about this.  The digital HDMI signal must be converted into an analog signal at some point if it's being represented as light on a TV screen.  Electrical interference generated by the computer and traveling up

[gentoo-user] Re: Any way around Argument list too long?

2011-07-17 Thread walt
On 07/17/2011 02:14 PM, Alan McKinnon wrote: Are you using wildcards in the arguments to rm ? Rather use find | xargs or find -exec which are designed to deal with exactly this circumstance. On 17 Jul 2011 9:32 PM, Grant emailgr...@gmail.com mailto:emailgr...@gmail.com wrote: My

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
I don't know much about what each USE flag below actually does. All of them have been recommended to me by various elog messages and failed attempts at emerge. I'm trying to put all the flags emerge recommends for a particular package in /etc/portage/package.use now. Can any of the below flags

[gentoo-user] Re: Decrapifying my system

2011-07-17 Thread walt
On 07/17/2011 02:28 PM, James Wall wrote: On Sun, Jul 17, 2011 at 4:19 PM, Michael Sullivan msulli1...@gmail.com wrote: I'm running into space issues (my / partition is at 99% of capacity) and I'd like some advice on what I can remove and how. My USE line in /etc/make.conf looks like this:

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Neil Bothwick
On Sun, 17 Jul 2011 16:19:14 -0500, Michael Sullivan wrote: I'm running into space issues (my / partition is at 99% of capacity) and I'd like some advice on what I can remove and how. It's impossible to answer that without knowing what is on /. Is /var on /? If so do you use logrotate, or is

Re: [gentoo-user] Re: Decrapifying my system

2011-07-17 Thread Michael Sullivan
My /usr/portage is shared via NFS from another machine on the network, so space there isn't really a problem. Yet. Anyway, I did an eclean distfiles a couple of days ago, along with an eclean packages for all three machines on the network... On 07/17/11 17:14, walt wrote: On 07/17/2011 02:28

Re: [gentoo-user] Re: Any way around Argument list too long?

2011-07-17 Thread Mick
On Sunday 17 Jul 2011 23:06:32 walt wrote: On 07/17/2011 02:14 PM, Alan McKinnon wrote: Are you using wildcards in the arguments to rm ? Rather use find | xargs or find -exec which are designed to deal with exactly this circumstance. On 17 Jul 2011 9:32 PM, Grant

Re: [gentoo-user] Re: Any way around Argument list too long?

2011-07-17 Thread Alan McKinnon
On Sunday 17 July 2011 15:06:32 walt did opine thusly: On 07/17/2011 02:14 PM, Alan McKinnon wrote: Are you using wildcards in the arguments to rm ? Rather use find | xargs or find -exec which are designed to deal with exactly this circumstance. On 17 Jul 2011 9:32 PM, Grant

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
I don't understand how to use logrotate, but I'm pretty sure cron runs it. /var/lib/mysql was using 21G, so I think I can go in there (or at least into the mysql client) and delete the databases that I myself have created and am no longer using. If I understood the command you recommended it

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
What should I do about the *-bin files in /var/lib/mysql? I've dropped the databases I've created and don't need anymore, but there's still a lot of files in there, and it's still 21G. There are several files there dated 2008 that are also on another computer. How do I safely remove them? On

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread kashani
On 7/17/2011 2:19 PM, Michael Sullivan wrote: I'm running into space issues (my / partition is at 99% of capacity) and I'd like some advice on what I can remove and how. Assuming your / partition isn't tiny I've never seen removing packages or changing use flags make enough of a difference

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Neil Bothwick
On Sun, 17 Jul 2011 17:48:28 -0500, Michael Sullivan wrote: What should I do about the *-bin files in /var/lib/mysql? I've dropped the databases I've created and don't need anymore, but there's still a lot of files in there, and it's still 21G. There are several files there dated 2008 that

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Neil Bothwick
On Sun, 17 Jul 2011 17:34:38 -0500, Michael Sullivan wrote: Please don't top-post, it makes conversations harder to follow. I don't understand how to use logrotate, but I'm pretty sure cron runs it. You should check that it is enabled and that you have rotated files in /var/log.

Re: [gentoo-user] Re: Any way around Argument list too long?

2011-07-17 Thread Neil Bothwick
On Mon, 18 Jul 2011 00:35:42 +0200, Alan McKinnon wrote: Okay, everyone, back away slowly from this post and then delete it from your cache. The *real* Alan McKinnon does not top post. He does when his ADSL modem craps out and he's forced to use the GMail app thingamajigy on his

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
Does this make sense: camille mysql # du -h 572K./mysql 8.0K./test 239M./mythconverg 128K./vpopmail 152K./myFantasy 120K./pmadb 332K./wikidb 36K ./mysql_cpp_data 592K./forum 124K./movies 84K ./myusers 4.4M./mythconverg.bak 21G . I'm pretty

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Grant
way around Argument list too long?: My crontab deletes all files of a certain type in a certain folder with yesterday's date in the filename.  It usually executes but sometimes fails with: /bin/rm: Argument list too long What would you do about this? Use find with the -delete option.

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread kashani
On 7/17/2011 4:18 PM, Michael Sullivan wrote: Does this make sense: camille mysql # du -h 572K./mysql 8.0K./test 239M./mythconverg 128K./vpopmail 152K./myFantasy 120K./pmadb 332K./wikidb 36K ./mysql_cpp_data 592K./forum 124K./movies 84K ./myusers 4.4M

Re: [gentoo-user] Re: Problem with xf86-video-ati nvidia-drivers

2011-07-17 Thread Grant
I was thinking about this.  The digital HDMI signal must be converted into an analog signal at some point if it's being represented as light on a TV screen.  Electrical interference generated by the computer and traveling up the HDMI wire should have its chance to affect things (i.e. create

Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Alan McKinnon
On Sunday 17 July 2011 18:18:58 Michael Sullivan did opine thusly: Does this make sense: camille mysql # du -h 572K ./mysql 8.0K ./test 239M ./mythconverg 128K ./vpopmail 152K ./myFantasy 120K ./pmadb 332K ./wikidb 36K ./mysql_cpp_data 592K ./forum 124K ./movies 84K

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Michael Mol
On Sun, Jul 17, 2011 at 7:23 PM, Grant emailgr...@gmail.com wrote: I'm getting the same thing from find: $ /usr/bin/find /home/user/*-`/bin/date -d 'yesterday' +\%Y\%m\%d`*.jpg /usr/bin/find: Argument list too long You're using find wrong; the first argument needs to be the root path it

Re: [gentoo-user] Anyone got any older Portage snapshots kicking around?

2011-07-17 Thread Stroller
On 17 July 2011, at 21:42, James wrote: … If firmware can be replaced, then I see no ethical issue in replacing the firmware; Indeed. ... Staying in Sony's good graces so as to stay active on their network, is a personal decision, and I respect that you know what you want. Yeah, it's

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Alan McKinnon
On Sunday 17 July 2011 16:23:54 Grant did opine thusly: way around Argument list too long?: My crontab deletes all files of a certain type in a certain folder with yesterday's date in the filename. It usually executes but sometimes fails with: /bin/rm: Argument list too long

Re: [gentoo-user] Re: Any way around Argument list too long?

2011-07-17 Thread Alan McKinnon
On Monday 18 July 2011 00:16:40 Neil Bothwick did opine thusly: On Mon, 18 Jul 2011 00:35:42 +0200, Alan McKinnon wrote: Okay, everyone, back away slowly from this post and then delete it from your cache. The *real* Alan McKinnon does not top post. He does when his ADSL modem craps

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Grant
You are doing it wrong. Each command has something between ``, so bash is expanding that entire list and just before feeding the whole lot to find, realizes that the list is longer than 65,536 characters. It's bash that is returning that error, not find. You're mistake is trying to marrow

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Albert Hopkins
On Sunday, July 17 at 17:47 (-0700), Grant said: ran this and the output was voluminous but looked good: /usr/bin/find /home/user -type f -name *-`/bin/date -d 'yesterday' +\%Y\%m\%d`*.jpg So I ran it again, adding -delete right before -type. After a lot of

Re: [gentoo-user] Any way around Argument list too long?

2011-07-17 Thread Grant
ran this and the output was voluminous but looked good: /usr/bin/find /home/user -type f -name *-`/bin/date -d 'yesterday' +\%Y\%m\%d`*.jpg So I ran it again, adding -delete right before -type.  After a lot of   That was a mistake.

[gentoo-user] {OT} Screen recorder?

2011-07-17 Thread Grant
Does there exist a program that allows you to record the activity taking place on a computer screen for later review? - Grant

Re: [gentoo-user] {OT} Screen recorder?

2011-07-17 Thread Stroller
On 18 July 2011, at 02:54, Grant wrote: Does there exist a program that allows you to record the activity taking place on a computer screen for later review? I'm pretty sure you can do this with mplayer / mencoder (to make a video screencast). It depends what your needs are, exactly. If

Re: [gentoo-user] {OT} Screen recorder?

2011-07-17 Thread William Kenworthy
On Mon, 2011-07-18 at 03:29 +0100, Stroller wrote: On 18 July 2011, at 02:54, Grant wrote: Does there exist a program that allows you to record the activity taking place on a computer screen for later review? I'm pretty sure you can do this with mplayer / mencoder (to make a video

Re: [gentoo-user] {OT} Screen recorder?

2011-07-17 Thread Mick
On Monday 18 Jul 2011 04:00:31 William Kenworthy wrote: On Mon, 2011-07-18 at 03:29 +0100, Stroller wrote: On 18 July 2011, at 02:54, Grant wrote: Does there exist a program that allows you to record the activity taking place on a computer screen for later review? I'm pretty sure you

Re: [gentoo-user] {OT} Screen recorder?

2011-07-17 Thread Leonardo Guilherme
Useful link http://verb3k.wordpress.com/2010/01/26/how-to-do-proper-screencasts-on-linux/ Leonardo 2011/7/18 Mick michaelkintz...@gmail.com On Monday 18 Jul 2011 04:00:31 William Kenworthy wrote: On Mon, 2011-07-18 at 03:29 +0100, Stroller wrote: On 18 July 2011, at 02:54, Grant wrote: