[gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Grant
I've installed and updated Gentoo on my girlfriend's Acer Aspire One
netbook and it's just so slow.  The only things I can think of to
speed it up would be to upgrade the RAM from 1GB (not sure if that's
possible) and/or swap out the SSD for a HD.  Anyone running a netbook
not excruciatingly slow?

- Grant



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Saphirus Sage
Grant wrote:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant

   
Netbooks are designed to be underpowered, and as such, compiling on them
is  bit nuts. However, you could compile on a faster machine and export
this binary to the netbook, I've done something similar when updating an
old first generation iMac.



Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Alan McKinnon
On Wednesday 11 March 2009 22:40:54 Michael Higgins wrote:
 Don't know the proper term, but I want to stop version updates for a while,
 yet allow package-rN updates...

This doesn't seem to be a built-in feature of portage after a quick scan of 
the man pages. But I can think of a method to do it the long way round:

The atom syntax you want is package~ which means any -rN version (including 
-r0) of the base version.

You could grab a complete list of your system and world (emerge -et), mangle 
it into shape with grep, sed and awk and redirect the whole lot to a 
package.mask file in a format something like this:

app-1.1.0~



 I spent most of the last couple of days killing two bugs that were a
 serious drag on my laptop, involving kacpid hogging the CPU on a resume, or
 bay swap, and gnome panel freezing on  7 open windows (a real deal
 killer). I'd like to spend a few months just using it now that it all
 works...

 So with the latest kernel in the tree unmasked (kacpid bug fix) and a
 couple of patches and ebuilds in my overlay for a pair of unmasked x11 and
 gnome packages, what is the method to keep this 'world' in a 'set' and
 'forgotten' state? '-)

 Cheers,

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Dale
Alan McKinnon wrote:
 On Wednesday 11 March 2009 22:40:54 Michael Higgins wrote:
   
 Don't know the proper term, but I want to stop version updates for a while,
 yet allow package-rN updates...
 

 This doesn't seem to be a built-in feature of portage after a quick scan of 
 the man pages. But I can think of a method to do it the long way round:

 The atom syntax you want is package~ which means any -rN version (including 
 -r0) of the base version.

 You could grab a complete list of your system and world (emerge -et), mangle 
 it into shape with grep, sed and awk and redirect the whole lot to a 
 package.mask file in a format something like this:

   
 app-1.1.0~
 


   
 I spent most of the last couple of days killing two bugs that were a
 serious drag on my laptop, involving kacpid hogging the CPU on a resume, or
 bay swap, and gnome panel freezing on  7 open windows (a real deal
 killer). I'd like to spend a few months just using it now that it all
 works...

 So with the latest kernel in the tree unmasked (kacpid bug fix) and a
 couple of patches and ebuilds in my overlay for a pair of unmasked x11 and
 gnome packages, what is the method to keep this 'world' in a 'set' and
 'forgotten' state? '-)

 Cheers,
 

   


Could he just not sync and call it a day?  I suspect this is going to
bite him one day tho.  We know Gentoo likes to be updated fairly
regular.  I been around Gentoo for years and I don't think I would want
to do this.  I'm not sure how much experience the OP has tho.

I do understand that getting something stable and working then wanting
to keep it that way.  I'm just wondering what his mileage may be in the
long run.

Dale

:-)  :-)



Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Alan McKinnon
On Thursday 12 March 2009 10:07:03 Dale wrote:

 Could he just not sync and call it a day?  I suspect this is going to
 bite him one day tho.  We know Gentoo likes to be updated fairly
 regular.  I been around Gentoo for years and I don't think I would want
 to do this.  I'm not sure how much experience the OP has tho.

Michael's been around a while, his name is familiar. He did say he wants -rN 
updates so I take that to mean he wants bug fixes and security updates but 
everything else to stay that same and especially no potential ABI/API changes

Not an unreasonable thing actually - it's what you get with RedHat or any 
decent enterprise distro

 I do understand that getting something stable and working then wanting
 to keep it that way.  I'm just wondering what his mileage may be in the
 long run.

I can only imagine what will happen if he forgets that package.mask and then 
removes it six months later:-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Dale
Alan McKinnon wrote:
 On Thursday 12 March 2009 10:07:03 Dale wrote:

   
 Could he just not sync and call it a day?  I suspect this is going to
 bite him one day tho.  We know Gentoo likes to be updated fairly
 regular.  I been around Gentoo for years and I don't think I would want
 to do this.  I'm not sure how much experience the OP has tho.
 

 Michael's been around a while, his name is familiar. He did say he wants -rN 
 updates so I take that to mean he wants bug fixes and security updates but 
 everything else to stay that same and especially no potential ABI/API changes

 Not an unreasonable thing actually - it's what you get with RedHat or any 
 decent enterprise distro

   
 I do understand that getting something stable and working then wanting
 to keep it that way.  I'm just wondering what his mileage may be in the
 long run.
 

 I can only imagine what will happen if he forgets that package.mask and then 
 removes it six months later:-)

   

Since he has been around a while and knows what he wants, then I guess
he knows the possible pitfalls too.  I just wanted to mention it in case
he doesn't know that not updating can lead to issues later on.  Didn't I
post on a thread recently about a system not being updated in a long
while and a reinstall was better than updating?  It's one of those
things that worries me.

I must confess that I do the same with my kernel.  When I get one that
works, I just don't want to update.  I download them and build a new one
but just don't boot them.  Of course this is another reason why too:

r...@smoker / # uptime
 03:23:09 up 60 days, 11:10,  3 users,  load average: 1.16, 1.33, 1.37
r...@smoker / #

I go for a while without rebooting and forget the new kernel is there.

Yea, if something happens to the package.mask file, he's in for a
surprise for sure.

OP, you may also want to make package.mask a directory and then you can
sort out your files easier too.  Just something to think about.  I think
that is a new feature.

Dale

:-)  :-)



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Neil Bothwick
On Thu, 12 Mar 2009 00:45:16 -0700, Grant wrote:

 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

I'm writing this on an Eee PC900 running Gentoo and it's fine apart
from occasional annoying pauses when Konqueror goes to sleep for a couple
of seconds while loading  pages. That could be down it writing its caches
to an encrypted home partition.

If anything, it's faster than I expected from the spec.


-- 
Neil Bothwick

A Smith  Weason beats Four Aces everytime.


signature.asc
Description: PGP signature


Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Neil Bothwick
On Thu, 12 Mar 2009 09:56:47 +0200, Alan McKinnon wrote:

 The atom syntax you want is package~ which means any -rN version
 (including -r0) of the base version.

I've only even seen the ~ used at the start of an atom, I didn't know it
could be used at the end too.

 You could grab a complete list of your system and world (emerge -et),
 mangle it into shape with grep, sed and awk and redirect the whole lot
 to a package.mask file in a format something like this:
 
 app-1.1.0~  

emerge portage-utils
qatom $(qlist -ICv) | awk '{print $1/$2-$3~}'


-- 
Neil Bothwick

I was married by a judge. I should have asked for a jury.


signature.asc
Description: PGP signature


Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Neil Bothwick
On Thu, 12 Mar 2009 10:13:30 +0200, Alan McKinnon wrote:

  Could he just not sync and call it a day?  I suspect this is going to
  bite him one day tho.  We know Gentoo likes to be updated fairly
  regular.  I been around Gentoo for years and I don't think I would
  want to do this.  I'm not sure how much experience the OP has tho.  
 
 Michael's been around a while, his name is familiar. He did say he
 wants -rN updates so I take that to mean he wants bug fixes and
 security updates but everything else to stay that same and especially
 no potential ABI/API changes

One potential problem is ebuilds disappearing from the portage tree as
packages are updated, so it would be worth copying everything he uses (or
the whole tree) into an overlay.


-- 
Neil Bothwick

It may be that your sole purpose in life is simply to serve as a warning
to others.


signature.asc
Description: PGP signature


Re: [gentoo-user] backup program recommendations?

2009-03-12 Thread Geralt
Hi,

I'm using Clonezilla for my system backups, it's very easy to use and
restoring the backups actually works (that's normally the tricky part,
not copying everything to another medium) :-)
If it's just for data, I'm making a daily backup on a flash disk using
rsync and from time to time a backup on an external hdd drive using
again rsync. If you tar it up, you can't store the differences only
anymore, so you have to decide first what you want.

Oh and if you're using a ram-dvd you can access the dvd as if it were
a flash medium and just rsync/tar/... to it :-)




Geralt.



Re: [gentoo-user] backup program recommendations?

2009-03-12 Thread Neil Bothwick
On Thu, 12 Mar 2009 11:39:01 +0100, Geralt wrote:

 If it's just for data, I'm making a daily backup on a flash disk using
 rsync and from time to time a backup on an external hdd drive using
 again rsync. If you tar it up, you can't store the differences only
 anymore, so you have to decide first what you want.

You can store differences within files, but tar is quite capable of
making incremental backups.


-- 
Neil Bothwick

Celery is not food. It is a member of the plywood family.


signature.asc
Description: PGP signature


Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Alan McKinnon
On Thursday 12 March 2009 11:48:48 Neil Bothwick wrote:
 On Thu, 12 Mar 2009 09:56:47 +0200, Alan McKinnon wrote:
  The atom syntax you want is package~ which means any -rN version
  (including -r0) of the base version.

 I've only even seen the ~ used at the start of an atom, I didn't know it
 could be used at the end too.

sigh and we both know what assume stands for, right?

You must be English. Only an Englishman could point out a blunder like that in 
such a subtle way as to make the other guy cringe with embarrassment...

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Bash and ACPI issue - laptop lid

2009-03-12 Thread Sebastian Günther
* Saphirus Sage (saphirus...@gmail.com) [12.03.09 00:53]:
 I've been trying to setup my laptop to enter ACPI S3 (suspend to ram)
 when I close the lid. I currently have the scripts setup as such:
 /etc/acpi/events/lid
 event=button[ /]lid.*
 action=/etc/acpi/actions/lid.sh

Looks normal.

 /etc/acpi/actions/lid.sh
 #!/bin/bash
Maybe a 
  sleep 1 
will help with your issue (or more secs...)
 for i in $(cat /proc/acpi/button/lid/LID/state | grep -o closed); do
   ^^^
   This only has elements when the lid is closed, so the do 
   block will only be exexuted, if the lid is closed.
 if [ $i = closed ]; then
  ^^
  Therefor this is totally pointless, because we only come to 
  this point if the lid is closed and thus $i is always == closed
 /usr/sbin/pm-suspend
 fi
 if [ $i != closed ]; then
 sleep 5
 fi
This whole block will never ever be reached, so you can easily erase it.

 done

 The issue I've run into is that this will cause my laptop to suspend to
 the RAM upon any change in the lid state, irregardless of if it is open
 or closed. I tried to be more specific by utilizing the suffix of the
 event, but it's incremental, which is a bit beyond my abilities. Any
 suggestions to make this suspend only when the lid is closed?
 

You should test if your Desktop Environment does the suspending for you. 
Then you have to tweak there, to get the behaviour you want.

HTH 
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpJB2EZXHSAu.pgp
Description: PGP signature


[gentoo-user] Re: emerge amazonmp3 fails

2009-03-12 Thread Douglas J Hunley
On Wednesday 11 March 2009 18:41:58 Willie Wong wrote:
 For future reference, it'd be nice if you trimmed the build log a
 little bit.

Sorry. Duly noted

 In any case, you are running K8, and on B.G.O. there are some
 suggestions that the stable version of boost does not play well with
 newer versions of GCC on 64bit systems. A suggested workaround is to
 unmask =boost 1.36 and install that.

Hrm, I'll check that out.





[gentoo-user] emerge Error

2009-03-12 Thread dhk
All,

After sync'ing yesterday and getting a whole bunch of packages evince
had problems and gnome never got installed.  Today after sync'ing I get
the following which doesn't make sense to me.  Can someone help.

# emerge -uDNp world
!!! CONFIG_PROTECT is empty
These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
=app-text/poppler-bindings-0.8[gtk,cairo].
!!! One of the following packages is required to complete your request:
- app-text/poppler-bindings-0.10.4 (Change USE: +cairo)
(dependency required by app-text/evince-2.24.2 [ebuild])
(dependency required by gnome-base/gnome-2.24.1 [ebuild])
(dependency required by world [argument])

Thanks,

Dave



Re: [gentoo-user] emerge Error

2009-03-12 Thread Justin
dhk schrieb:

 - app-text/poppler-bindings-0.10.4 (Change USE: +cairo)


This line tells you what to do:

reemerge poppler-bindings with USE=cairo



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Daniel da Veiga
On Thu, Mar 12, 2009 at 04:45, Grant emailgr...@gmail.com wrote:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?


I have an EEE 701 that run Gentoo, with XFCE4 and Compiz Fusion, and I
think its really fast considering its size. No slowdowns at all, of
course it has 2GB of RAM, while the default is  512MB.

-- 
Daniel da Veiga



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Dan Cowsill
On Thu, Mar 12, 2009 at 3:45 AM, Grant emailgr...@gmail.com wrote:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant



Yeah, Gentoo can be a big O/S if you let it.  I recently installed
Gentoo on an eee 701 with 512M RAM and the 8 GB SSD.  I decided to use
the minimal USE flag with a few exceptions.  This keeps the size of
X11 down and affects a few other packages in that vein.  Also, I used
XFCE in place of Gnome.  You can still have Gnome apps on it (if you
are willing to commit the extra disk space) and the memory foot print
is much smaller.  I used ccache to help out with compile times, so
even on the 500MHz processor, it still took less than a day to slap
X11 together.

Have a specific idea in mind for what you want the computer to be used
for.  My eee does three or four things really well and that's it.
Some may say it's archaic, but I thought it was a great learning
experience.  That said, installing Gentoo on an eee 701 was such an
incredible pain in the ass...  Not for the faint of heart.

D



Re: [gentoo-user] emerge Error

2009-03-12 Thread dhk
Justin wrote:
 dhk schrieb:
 
 - app-text/poppler-bindings-0.10.4 (Change USE: +cairo)
 
 
 This line tells you what to do:
 
 reemerge poppler-bindings with USE=cairo
 
That worked, Thanks.



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Florian Philipp
Grant schrieb:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?
 
 - Grant
 

I've got an Acer One for my father. I don't know the exact type; it is
the one with the 8GB SSD.

I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
Compiled with -Os, of course. RAM usage is below 256MB most of the time.
The only things I didn't get to work are 3D acceleration and the SSD
card slots but I haven't invested much time into it.

The slowest part of the system is the SSD. It really slows things done
when they are loaded for the first time (for example the HTML part of
Konqueror takes 3s to load AFTER Konqueror itself came up).

The rest of the system is pretty fast for my expectations.I compiled
most things in a chroot on my Celeron notebook (2 or 3 times the speed)
before moving it over but I really found compiling not _that_ slow. Its
usable for most regular updates and even kernels and such alike. For
larger packages, I mount an NFS share on /var/tmp/portage because I
don't want to wear down the SSD.

Other tips:
Use ext2 FS. You don't want the journalling to cost you even more
performance and wear down the SSD.

I wouldn't use laptop-mode. You don't want it to bog down the system
when it decides to flush its write cache.

No syslog, it will only wear down the disk with many small write cycles.

Use the noop IO scheduler (boot parameter elevator=noop). There is no
need for a scheduler on an SSD.

ArchLinux also recommends deactivating DRI ('Option DRI 0' in
xorg.conf) to free up 32MB of memory.

Hope this helps.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Grant
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant


 I've got an Acer One for my father. I don't know the exact type; it is
 the one with the 8GB SSD.

 I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
 Compiled with -Os, of course. RAM usage is below 256MB most of the time.
 The only things I didn't get to work are 3D acceleration and the SSD
 card slots but I haven't invested much time into it.

 The slowest part of the system is the SSD. It really slows things done
 when they are loaded for the first time (for example the HTML part of
 Konqueror takes 3s to load AFTER Konqueror itself came up).

 The rest of the system is pretty fast for my expectations.I compiled
 most things in a chroot on my Celeron notebook (2 or 3 times the speed)
 before moving it over but I really found compiling not _that_ slow. Its
 usable for most regular updates and even kernels and such alike. For
 larger packages, I mount an NFS share on /var/tmp/portage because I
 don't want to wear down the SSD.

 Other tips:
 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 I wouldn't use laptop-mode. You don't want it to bog down the system
 when it decides to flush its write cache.

 No syslog, it will only wear down the disk with many small write cycles.

 Use the noop IO scheduler (boot parameter elevator=noop). There is no
 need for a scheduler on an SSD.

 ArchLinux also recommends deactivating DRI ('Option DRI 0' in
 xorg.conf) to free up 32MB of memory.

 Hope this helps.

Thanks guys, these are the kinds of tips I need.  I really want this
thing to work out so I can switch over to one.  Lemme see if I've got
this:

1. run xfce4 (already do)
2. compile with -Os (I was using -O2)
3. use ext2 (I was using ext3)
4. don't use laptop-mode (I didn't know it existed)
5. no syslog (does this mean don't even emerge a system logger like metalog?)
6. use elevator=noop at boot
7. deactivate DRI
8. upgrade RAM to the max

Sound about right?

- Grant



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Justin
Grant schrieb:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant

 I've got an Acer One for my father. I don't know the exact type; it is
 the one with the 8GB SSD.

 I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
 Compiled with -Os, of course. RAM usage is below 256MB most of the time.
 The only things I didn't get to work are 3D acceleration and the SSD
 card slots but I haven't invested much time into it.

 The slowest part of the system is the SSD. It really slows things done
 when they are loaded for the first time (for example the HTML part of
 Konqueror takes 3s to load AFTER Konqueror itself came up).

 The rest of the system is pretty fast for my expectations.I compiled
 most things in a chroot on my Celeron notebook (2 or 3 times the speed)
 before moving it over but I really found compiling not _that_ slow. Its
 usable for most regular updates and even kernels and such alike. For
 larger packages, I mount an NFS share on /var/tmp/portage because I
 don't want to wear down the SSD.

 Other tips:
 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 I wouldn't use laptop-mode. You don't want it to bog down the system
 when it decides to flush its write cache.

 No syslog, it will only wear down the disk with many small write cycles.

 Use the noop IO scheduler (boot parameter elevator=noop). There is no
 need for a scheduler on an SSD.

 ArchLinux also recommends deactivating DRI ('Option DRI 0' in
 xorg.conf) to free up 32MB of memory.

 Hope this helps.
 
 Thanks guys, these are the kinds of tips I need.  I really want this
 thing to work out so I can switch over to one.  Lemme see if I've got
 this:
 
 1. run xfce4 (already do)
 2. compile with -Os (I was using -O2)
 3. use ext2 (I was using ext3)
 4. don't use laptop-mode (I didn't know it existed)
 5. no syslog (does this mean don't even emerge a system logger like metalog?)
 6. use elevator=noop at boot
 7. deactivate DRI
 8. upgrade RAM to the max

9. use distcc

 
 Sound about right?
 
 - Grant
 




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Paul Hartman
On Thu, Mar 12, 2009 at 2:17 PM, Justin jus...@j-schmitz.net wrote:
 Grant schrieb:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant

 I've got an Acer One for my father. I don't know the exact type; it is
 the one with the 8GB SSD.

 I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
 Compiled with -Os, of course. RAM usage is below 256MB most of the time.
 The only things I didn't get to work are 3D acceleration and the SSD
 card slots but I haven't invested much time into it.

 The slowest part of the system is the SSD. It really slows things done
 when they are loaded for the first time (for example the HTML part of
 Konqueror takes 3s to load AFTER Konqueror itself came up).

 The rest of the system is pretty fast for my expectations.I compiled
 most things in a chroot on my Celeron notebook (2 or 3 times the speed)
 before moving it over but I really found compiling not _that_ slow. Its
 usable for most regular updates and even kernels and such alike. For
 larger packages, I mount an NFS share on /var/tmp/portage because I
 don't want to wear down the SSD.

 Other tips:
 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 I wouldn't use laptop-mode. You don't want it to bog down the system
 when it decides to flush its write cache.

 No syslog, it will only wear down the disk with many small write cycles.

 Use the noop IO scheduler (boot parameter elevator=noop). There is no
 need for a scheduler on an SSD.

 ArchLinux also recommends deactivating DRI ('Option DRI 0' in
 xorg.conf) to free up 32MB of memory.

 Hope this helps.

 Thanks guys, these are the kinds of tips I need.  I really want this
 thing to work out so I can switch over to one.  Lemme see if I've got
 this:

 1. run xfce4 (already do)
 2. compile with -Os (I was using -O2)
 3. use ext2 (I was using ext3)
 4. don't use laptop-mode (I didn't know it existed)
 5. no syslog (does this mean don't even emerge a system logger like metalog?)
 6. use elevator=noop at boot
 7. deactivate DRI
 8. upgrade RAM to the max

 9. use distcc

Won't that require another machine using the same CPU arch? Or can
cross-compiler be setup on the remote distcc box? (I don't even know
if GCC has an atom-specific CPU or if it is using something more
generic)



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Neil Bothwick
On Thu, 12 Mar 2009 18:30:13 +0100, Florian Philipp wrote:

 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 No syslog, it will only wear down the disk with many small write cycles.

SSDs have more sophisticated wear-levelling than flash memory cards or
sticks so this isn't such an issue. Having said that, I do have
$PORTAGE_TMPDIR on an SDcard.


-- 
Neil Bothwick

After two weeks of dieting, all I lost was two weeks.


signature.asc
Description: PGP signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Justin
Paul Hartman schrieb:
 On Thu, Mar 12, 2009 at 2:17 PM, Justin jus...@j-schmitz.net wrote:
 Grant schrieb:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant

 I've got an Acer One for my father. I don't know the exact type; it is
 the one with the 8GB SSD.

 I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
 Compiled with -Os, of course. RAM usage is below 256MB most of the time.
 The only things I didn't get to work are 3D acceleration and the SSD
 card slots but I haven't invested much time into it.

 The slowest part of the system is the SSD. It really slows things done
 when they are loaded for the first time (for example the HTML part of
 Konqueror takes 3s to load AFTER Konqueror itself came up).

 The rest of the system is pretty fast for my expectations.I compiled
 most things in a chroot on my Celeron notebook (2 or 3 times the speed)
 before moving it over but I really found compiling not _that_ slow. Its
 usable for most regular updates and even kernels and such alike. For
 larger packages, I mount an NFS share on /var/tmp/portage because I
 don't want to wear down the SSD.

 Other tips:
 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 I wouldn't use laptop-mode. You don't want it to bog down the system
 when it decides to flush its write cache.

 No syslog, it will only wear down the disk with many small write cycles.

 Use the noop IO scheduler (boot parameter elevator=noop). There is no
 need for a scheduler on an SSD.

 ArchLinux also recommends deactivating DRI ('Option DRI 0' in
 xorg.conf) to free up 32MB of memory.

 Hope this helps.
 Thanks guys, these are the kinds of tips I need.  I really want this
 thing to work out so I can switch over to one.  Lemme see if I've got
 this:

 1. run xfce4 (already do)
 2. compile with -Os (I was using -O2)
 3. use ext2 (I was using ext3)
 4. don't use laptop-mode (I didn't know it existed)
 5. no syslog (does this mean don't even emerge a system logger like 
 metalog?)
 6. use elevator=noop at boot
 7. deactivate DRI
 8. upgrade RAM to the max
 9. use distcc
 
 Won't that require another machine using the same CPU arch? Or can
 cross-compiler be setup on the remote distcc box? 
I am using it cross x86 and amd64,
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
 (I don't even know
 if GCC has an atom-specific CPU or if it is using something more
 generic)
CFLAGS=-march=prescott -mssse3
nearly same as core2 in 32bit mode



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Neil Bothwick
On Thu, 12 Mar 2009 12:52:16 +0200, Alan McKinnon wrote:

  I've only even seen the ~ used at the start of an atom, I didn't know
  it could be used at the end too.  

 You must be English. Only an Englishman could point out a blunder like
 that in such a subtle way as to make the other guy cringe with
 embarrassment...

LOL! Actually, I checked the portage man page and when I saw no reference
to it there, I assumed it was a new feature you had discovered that
hadn't made it to the man page. It didn't occur to me that when putting
the tilde at the wrong end, you were talking out of the wrong end :)


-- 
Neil Bothwick

LISP: To call a spade a thpade.


signature.asc
Description: PGP signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Grant
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant


 I've got an Acer One for my father. I don't know the exact type; it is
 the one with the 8GB SSD.

 I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
 Compiled with -Os, of course. RAM usage is below 256MB most of the time.
 The only things I didn't get to work are 3D acceleration and the SSD
 card slots but I haven't invested much time into it.

 The slowest part of the system is the SSD. It really slows things done
 when they are loaded for the first time (for example the HTML part of
 Konqueror takes 3s to load AFTER Konqueror itself came up).

 The rest of the system is pretty fast for my expectations.I compiled
 most things in a chroot on my Celeron notebook (2 or 3 times the speed)
 before moving it over but I really found compiling not _that_ slow. Its
 usable for most regular updates and even kernels and such alike. For
 larger packages, I mount an NFS share on /var/tmp/portage because I
 don't want to wear down the SSD.

 Other tips:
 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 I wouldn't use laptop-mode. You don't want it to bog down the system
 when it decides to flush its write cache.

 No syslog, it will only wear down the disk with many small write cycles.

 Use the noop IO scheduler (boot parameter elevator=noop). There is no
 need for a scheduler on an SSD.

 ArchLinux also recommends deactivating DRI ('Option DRI 0' in
 xorg.conf) to free up 32MB of memory.

 Hope this helps.

 Thanks guys, these are the kinds of tips I need.  I really want this
 thing to work out so I can switch over to one.  Lemme see if I've got
 this:

 1. run xfce4 (already do)
 2. compile with -Os (I was using -O2)
 3. use ext2 (I was using ext3)
 4. don't use laptop-mode (I didn't know it existed)
 5. no syslog (does this mean don't even emerge a system logger like metalog?)
 6. use elevator=noop at boot
 7. deactivate DRI
 8. upgrade RAM to the max

Which of these still apply when using a conventional HD instead of a
SSD in the netbook?

- Grant



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Paul Hartman
On Thu, Mar 12, 2009 at 3:12 PM, Grant emailgr...@gmail.com wrote:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant


 I've got an Acer One for my father. I don't know the exact type; it is
 the one with the 8GB SSD.

 I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
 Compiled with -Os, of course. RAM usage is below 256MB most of the time.
 The only things I didn't get to work are 3D acceleration and the SSD
 card slots but I haven't invested much time into it.

 The slowest part of the system is the SSD. It really slows things done
 when they are loaded for the first time (for example the HTML part of
 Konqueror takes 3s to load AFTER Konqueror itself came up).

 The rest of the system is pretty fast for my expectations.I compiled
 most things in a chroot on my Celeron notebook (2 or 3 times the speed)
 before moving it over but I really found compiling not _that_ slow. Its
 usable for most regular updates and even kernels and such alike. For
 larger packages, I mount an NFS share on /var/tmp/portage because I
 don't want to wear down the SSD.

 Other tips:
 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 I wouldn't use laptop-mode. You don't want it to bog down the system
 when it decides to flush its write cache.

 No syslog, it will only wear down the disk with many small write cycles.

 Use the noop IO scheduler (boot parameter elevator=noop). There is no
 need for a scheduler on an SSD.

 ArchLinux also recommends deactivating DRI ('Option DRI 0' in
 xorg.conf) to free up 32MB of memory.

 Hope this helps.

 Thanks guys, these are the kinds of tips I need.  I really want this
 thing to work out so I can switch over to one.  Lemme see if I've got
 this:

 1. run xfce4 (already do)
 2. compile with -Os (I was using -O2)
 3. use ext2 (I was using ext3)
 4. don't use laptop-mode (I didn't know it existed)
 5. no syslog (does this mean don't even emerge a system logger like metalog?)
 6. use elevator=noop at boot
 7. deactivate DRI
 8. upgrade RAM to the max

 Which of these still apply when using a conventional HD instead of a
 SSD in the netbook?

This is all just my opinion and not backed by scientific method... I
would use a journaling file system no matter what, just to recover
from crashes/dead batteries better... I'm not sure the journaling
would have a significant negative impact on the SSD life (certainly
not as much as, say, running Gentoo on it in the first place).

Otherwise, I think normal laptop performance tuning guidelines would
apply... Do whatever you can to reduce disk access. On my laptop I
disabled swap, set the hdd to power off after X minutes of idle,
disable disk cache in web browsers, use /dev/shm for portate tmpdir,
disable cron and hald disk polling and slocate and all the other
things that run in the background on their own and cause the disks to
wake up. And cpu frequency scaling of course.

With all of that I'm able to get a whopping 75 or 80 minutes battery
life out of my Acer laptop. Compared to about 30 minutes when it's
running full steam ahead. :)



Re: [gentoo-user] How to freeze my Gentoo system

2009-03-12 Thread Alan McKinnon
On Thursday 12 March 2009 21:43:32 Neil Bothwick wrote:
 It didn't occur to me that when putting
 the tilde at the wrong end, you were talking out of the wrong end :)

I seem to be doing that a lot lately. You should have seen Tuesdays' blunder:

mysql UPDATE passwds set passwd=a_hash, status=NEW, updated=1236889084;
Rows matched: 4329  Changed: 4329  Warnings: 0

Hang on, that doesn't look right. sigh there's no WHERE
I hope there's a backup...
What's in crontab -l?


Lucky for me, some OTHER bright spark had mysqldump in a daily cron!

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Sharing an internet connection

2009-03-12 Thread Grant
I travel with a strong external antenna for picking up faint wireless
signals.  It works great, but my girlfriend struggles to connect with
her built-in antenna.  I do have a travel router (D-Link DWL-G730) so
I'd like to be able to do something like this:

WAN-my laptop-travel router-girlfriend's laptop

I use wicd and I'm not sure how to go about this, especially since my
laptop DHCPs for an IP from the WAN so I'm not sure how to define the
gateway for the travel router when following this:

http://www.gentoo.org/doc/en/home-router-howto.xml

Is there a simple way to pull this off?

- Grant



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Thanasis
on 03/12/2009 09:45 AM Grant wrote the following:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant
Here is my setup so far:
Aspire one A110L, MMCs are Transcend’s 8GB Class 6 SDHC (SD
High-Capacity) Lifetime Warranty :-)

# uname -a
Linux atom 2.6.28-gentoo-r3 #1 SMP PREEMPT Sun Mar 8 16:00:20 EET 2009
i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
# cat /etc/fstab
LABEL=GENTOOROOT/ext2noatime0 1
LABEL=SYSTEM/mnt/SYSTEMext2noatime0 2
LABEL=ARXEIO/mnt/ARXEIOext2noatime0 2

LABEL=SWAPnoneswapsw0 0

/mnt/SYSTEM/var /varnone  rbind 0 0
/mnt/SYSTEM/tmp/tmpnone  rbind 0 0
/mnt/SYSTEM/home/homenone  rbind 0 0
/mnt/SYSTEM/portage/usr/portagenone  rbind 0 0

shm/dev/shm tmpfssize=20M,nodev,nosuid,noexec0 0

 # fdisk -l

Disk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6aa76660

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1 981 7879851   83  Linux

Disk /dev/mmcblk0: 8017 MB, 8017412096 bytes
4 heads, 16 sectors/track, 244672 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x65221dec

Device Boot  Start End  Blocks   Id  System
/dev/mmcblk0p1   1   32769 1048600   82  Linux swap
/ Solaris
/dev/mmcblk0p2   32770  244672 6780896   83  Linux

Disk /dev/mmcblk1: 8017 MB, 8017412096 bytes
4 heads, 16 sectors/track, 244672 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0xea7e7be7

Device Boot  Start End  Blocks   Id  System
/dev/mmcblk1p1   1  244672 7829496   83  Linux

 # cat /etc/make.conf |grep -v \# |cat -s

CFLAGS=-march=native -O2 -pipe -msse3 -fomit-frame-pointer
CXXFLAGS=${CFLAGS}

VIDEO_CARDS=intel
INPUT_DEVICES=keyboard synaptics mouse
ALSA_CARDS=hda-intel

ACCEPT_KEYWORDS=~x86

MAKEOPTS=-j2
LINGUAS=en el

FEATURES=buildpkg parallel-fetch userfetch metadata-transfer
AUTOCLEAN=yes
PORTAGE_NICENESS=18
PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID}

PORTDIR=/usr/portage/
PORT_LOGDIR=/var/tmp/portage/
PORTAGE_TMPDIR=/var/tmp/
PORTAGE_TMPFS=/dev/shm
PORTAGE_ELOG_CLASSES=warn error log

DISTDIR=/usr/distfiles/
PKGDIR=/usr/packages/

DISTCC_DIR=${PORTAGE_TMPDIR}/.distcc/
CCACHE_DIR=${PORTAGE_TMPDIR}/ccache/

GENTOO_MIRRORS=...

SYNC=...

USE=acpi alsa ao avahi bash-completion cairo cscope cups dbus dri
encode ffmpeg gif gimp gmp gnome gnome-keyring gstreamer gtk gtkhtml hal
java java6 javascript jpeg jpeg2k lm_sensors lzo mad mbox mikmod mmx
mpeg msn networkmanager nls nptl nptlonly nsplugin ogg opengl oss php
png ppds samba scanner sdl sndfile sse sse2 truetype unicode usb
vim-syntax vorbis wifi wavpack win32codecs X xinetd xft xulrunner xv
xvid zeroconf


I' m running gnome, firefox, thunderbird, etc, and have compiled even
openoffice on it without a problem. :-)





Re: [gentoo-user] Sharing an internet connection

2009-03-12 Thread Dan Farrell
On Thu, 12 Mar 2009 13:26:45 -0700
Grant emailgr...@gmail.com wrote:

 I travel with a strong external antenna for picking up faint wireless
 signals.  It works great, but my girlfriend struggles to connect with
 her built-in antenna.  I do have a travel router (D-Link DWL-G730) so
 I'd like to be able to do something like this:
 
 WAN-my laptop-travel router-girlfriend's laptop

That sounds right to me.  Read on...

 I use wicd and I'm not sure how to go about this, especially since my
 laptop DHCPs for an IP from the WAN so I'm not sure how to define the
 gateway for the travel router when following this:

I don't have experience with wicd or the DWL-G730, but I did do a
little research on those and have suggestions.  

If I were setting this up myself it would be with another Wifi card in
AP mode, which I'd be running DHCP on.  In that case, the client (in
this case your girlfriend's laptop) would be given a DHCP address and a
default route of my AP's address.  Alternately I might forego the DHCP
server setup and instruct the client to set a particular IP and route
(the route would be my AP's IP).  In either case, nameservers could be
copied directly from my laptop to the client's, or my laptop could
supply its own IP for nameserver and provide DNS service or proxy
itself.  

My laptop would then have a route through the AP for internal traffic,
and use the (dhcp provided) default route for other traffic.
Therefore, the AP would never need to specify the IP of the external
connection.  

The client box would route all traffic through the AP's IP so it
wouldn't need to know the external IP either.  

My laptop would have to run IPTables for NAT.  You'll need network
address translation because external IPs like websites won't be able to
route to the client box's IP.  NAT gets around this.  

The AP provided by my laptop must also be on a different subnet than
the external network my laptop is connected to.  If my laptop was
connected to an access point offering a 192.168.1.0/24 subnet, for
example, a seperate subnet like 192.168.2.0/24 ought to be used on the
client side of my laptop.  Personally I'd probably use an rfc class
b subnet since they're rare, or another rare subnet like
192.168.66.0/24.  

 http://www.gentoo.org/doc/en/home-router-howto.xml
 
 Is there a simple way to pull this off?

In short, no, but it's not too complicated, and the home router guide
will help you, but using your travel router may make things more
complicated.  The travel router probably will itself provide NAT and
DHCP so I'm not sure without playing with one how it would look to set
it up that way.  You might want to provide those services yourself and
use the travel router as an AP instead.  



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Justin
Justin wrote:
 can oyu provide us our kernel config?
 

Thats the only problems I have with my netbook:

My fingers are incompatible with the size if the keyboard!



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Justin
Thanasis wrote:
 on 03/12/2009 09:45 AM Grant wrote the following:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant
 Here is my setup so far:
 Aspire one A110L, MMCs are Transcend’s 8GB Class 6 SDHC (SD
 High-Capacity) Lifetime Warranty :-)
 
 # uname -a
 Linux atom 2.6.28-gentoo-r3 #1 SMP PREEMPT Sun Mar 8 16:00:20 EET 2009
 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
 # cat /etc/fstab
 LABEL=GENTOOROOT/ext2noatime0 1
 LABEL=SYSTEM/mnt/SYSTEMext2noatime0 2
 LABEL=ARXEIO/mnt/ARXEIOext2noatime0 2
 
 LABEL=SWAPnoneswapsw0 0
 
 /mnt/SYSTEM/var /varnone  rbind 0 0
 /mnt/SYSTEM/tmp/tmpnone  rbind 0 0
 /mnt/SYSTEM/home/homenone  rbind 0 0
 /mnt/SYSTEM/portage/usr/portagenone  rbind 0 0
 
 shm/dev/shm tmpfssize=20M,nodev,nosuid,noexec0 0
 
  # fdisk -l
 
 Disk /dev/sda: 8069 MB, 8069677056 bytes
 255 heads, 63 sectors/track, 981 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x6aa76660
 
Device Boot  Start End  Blocks   Id  System
 /dev/sda1   1 981 7879851   83  Linux
 
 Disk /dev/mmcblk0: 8017 MB, 8017412096 bytes
 4 heads, 16 sectors/track, 244672 cylinders
 Units = cylinders of 64 * 512 = 32768 bytes
 Disk identifier: 0x65221dec
 
 Device Boot  Start End  Blocks   Id  System
 /dev/mmcblk0p1   1   32769 1048600   82  Linux swap
 / Solaris
 /dev/mmcblk0p2   32770  244672 6780896   83  Linux
 
 Disk /dev/mmcblk1: 8017 MB, 8017412096 bytes
 4 heads, 16 sectors/track, 244672 cylinders
 Units = cylinders of 64 * 512 = 32768 bytes
 Disk identifier: 0xea7e7be7
 
 Device Boot  Start End  Blocks   Id  System
 /dev/mmcblk1p1   1  244672 7829496   83  Linux
 
  # cat /etc/make.conf |grep -v \# |cat -s
 
 CFLAGS=-march=native -O2 -pipe -msse3 -fomit-frame-pointer
 CXXFLAGS=${CFLAGS}
 
 VIDEO_CARDS=intel
 INPUT_DEVICES=keyboard synaptics mouse
 ALSA_CARDS=hda-intel
 
 ACCEPT_KEYWORDS=~x86
 
 MAKEOPTS=-j2
 LINGUAS=en el
 
 FEATURES=buildpkg parallel-fetch userfetch metadata-transfer
 AUTOCLEAN=yes
 PORTAGE_NICENESS=18
 PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID}
 
 PORTDIR=/usr/portage/
 PORT_LOGDIR=/var/tmp/portage/
 PORTAGE_TMPDIR=/var/tmp/
 PORTAGE_TMPFS=/dev/shm
 PORTAGE_ELOG_CLASSES=warn error log
 
 DISTDIR=/usr/distfiles/
 PKGDIR=/usr/packages/
 
 DISTCC_DIR=${PORTAGE_TMPDIR}/.distcc/
 CCACHE_DIR=${PORTAGE_TMPDIR}/ccache/
 
 GENTOO_MIRRORS=...
 
 SYNC=...
 
 USE=acpi alsa ao avahi bash-completion cairo cscope cups dbus dri
 encode ffmpeg gif gimp gmp gnome gnome-keyring gstreamer gtk gtkhtml hal
 java java6 javascript jpeg jpeg2k lm_sensors lzo mad mbox mikmod mmx
 mpeg msn networkmanager nls nptl nptlonly nsplugin ogg opengl oss php
 png ppds samba scanner sdl sndfile sse sse2 truetype unicode usb
 vim-syntax vorbis wifi wavpack win32codecs X xinetd xft xulrunner xv
 xvid zeroconf
 
 
 I' m running gnome, firefox, thunderbird, etc, and have compiled even
 openoffice on it without a problem. :-)
 
 
 
can oyu provide us our kernel config?



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread James
Grant emailgrant at gmail.com writes:



  1. run xfce4 (already do)
  2. compile with -Os (I was using -O2)
  3. use ext2 (I was using ext3)
  4. don't use laptop-mode (I didn't know it existed)
  5. no syslog (does this mean don't even emerge a system logger like 
  metalog?)
  6. use elevator=noop at boot
  7. deactivate DRI
  8. upgrade RAM to the max

 Which of these still apply when using a conventional HD instead of a
 SSD in the netbook?

If the drive is indeed a bottle neck (use bonnie or bonnie++ to test) 
then try to NFS mount all voluminous log files.


Prune the kernel, really small, it always helps.

It may need swap space on the drive (be careful with this and research it.

Make sure you active all of the hardware features of the cpu.

http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel
or
http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD


Lean out what you autostart at boot time.

LESS is better if you bog down the processor or ram or SSD.

hth,
James






Re: [gentoo-user] Sharing an internet connection

2009-03-12 Thread b.n.
Grant ha scritto:
 I travel with a strong external antenna for picking up faint wireless
 signals.  It works great,

May I ask which antenna? It's a long time I'm looking for something like
that but I keep being told that external antennas are often useless (I'm
thinking of the over-the-counter usb stuff)

m.




Re: [gentoo-user] Sharing an internet connection

2009-03-12 Thread Grant
 I travel with a strong external antenna for picking up faint wireless
 signals.  It works great,

 May I ask which antenna? It's a long time I'm looking for something like
 that but I keep being told that external antennas are often useless (I'm
 thinking of the over-the-counter usb stuff)

 m.

Here it is:

http://www.hawkingtech.com/products/productlist.php?CatID=32FamID=58ProdID=152

Pair this with a USB network adapter and a 15 meter USB extender cable
and you're set.  It's a great antenna.

- Grant



Re: [gentoo-user] Sharing an internet connection

2009-03-12 Thread Grant
 I travel with a strong external antenna for picking up faint wireless
 signals.  It works great, but my girlfriend struggles to connect with
 her built-in antenna.  I do have a travel router (D-Link DWL-G730) so
 I'd like to be able to do something like this:

 WAN-my laptop-travel router-girlfriend's laptop

 That sounds right to me.  Read on...

 I use wicd and I'm not sure how to go about this, especially since my
 laptop DHCPs for an IP from the WAN so I'm not sure how to define the
 gateway for the travel router when following this:

 I don't have experience with wicd or the DWL-G730, but I did do a
 little research on those and have suggestions.

 If I were setting this up myself it would be with another Wifi card in
 AP mode, which I'd be running DHCP on.  In that case, the client (in
 this case your girlfriend's laptop) would be given a DHCP address and a
 default route of my AP's address.  Alternately I might forego the DHCP
 server setup and instruct the client to set a particular IP and route
 (the route would be my AP's IP).  In either case, nameservers could be
 copied directly from my laptop to the client's, or my laptop could
 supply its own IP for nameserver and provide DNS service or proxy
 itself.

 My laptop would then have a route through the AP for internal traffic,
 and use the (dhcp provided) default route for other traffic.
 Therefore, the AP would never need to specify the IP of the external
 connection.

 The client box would route all traffic through the AP's IP so it
 wouldn't need to know the external IP either.

 My laptop would have to run IPTables for NAT.  You'll need network
 address translation because external IPs like websites won't be able to
 route to the client box's IP.  NAT gets around this.

 The AP provided by my laptop must also be on a different subnet than
 the external network my laptop is connected to.  If my laptop was
 connected to an access point offering a 192.168.1.0/24 subnet, for
 example, a seperate subnet like 192.168.2.0/24 ought to be used on the
 client side of my laptop.  Personally I'd probably use an rfc class
 b subnet since they're rare, or another rare subnet like
 192.168.66.0/24.

 http://www.gentoo.org/doc/en/home-router-howto.xml

 Is there a simple way to pull this off?

 In short, no, but it's not too complicated, and the home router guide
 will help you, but using your travel router may make things more
 complicated.  The travel router probably will itself provide NAT and
 DHCP so I'm not sure without playing with one how it would look to set
 it up that way.  You might want to provide those services yourself and
 use the travel router as an AP instead.

Thanks Dan.  No matter what I do, I can't get the other laptop to
communicate with my laptop.  It can ping the router which is between
us, but it can't get to the other side.  I've got dnsmasq and
shorewall running on my laptop.  Any idea what the problem could be?

- Grant



[gentoo-user] simple A/V recording software to grab Internet seminar?

2009-03-12 Thread Mark Knecht
Hi,
   I administer my dad's Gentoo machine from a distance. He's going to
take some sort of seminar over the net and asked me if there was a way
for him to record it - both audio and video. I don't know how the
seminar will be given, but my dad's in his 80's, isn't Gentoo
knowledgeable and if this is going to work what ever the software is
would have to be pretty easy to use.

   Anyone have any ideas about how to record everything on his screen
along with any audio?

Thanks,
Mark



Re: [gentoo-user] simple A/V recording software to grab Internet seminar?

2009-03-12 Thread Andrey Falko
On Thu, Mar 12, 2009 at 5:51 PM, Mark Knecht markkne...@gmail.com wrote:
 Hi,
   I administer my dad's Gentoo machine from a distance. He's going to
 take some sort of seminar over the net and asked me if there was a way
 for him to record it - both audio and video. I don't know how the
 seminar will be given, but my dad's in his 80's, isn't Gentoo
 knowledgeable and if this is going to work what ever the software is
 would have to be pretty easy to use.

   Anyone have any ideas about how to record everything on his screen
 along with any audio?

 Thanks,
 Mark



Install xvidcap for him and see if he'll be able to use it. WIth
xvidcap, it should not matter what format the lecture he'll be
listening to is in.



Re: [gentoo-user] simple A/V recording software to grab Internet seminar?

2009-03-12 Thread Jake Todd
On Thu, 12 Mar 2009 17:51:28 -0700
Mark Knecht markkne...@gmail.com wrote:

 Hi,
I administer my dad's Gentoo machine from a distance. He's going to
 take some sort of seminar over the net and asked me if there was a way
 for him to record it - both audio and video. I don't know how the
 seminar will be given, but my dad's in his 80's, isn't Gentoo
 knowledgeable and if this is going to work what ever the software is
 would have to be pretty easy to use.
 
Anyone have any ideas about how to record everything on his screen
 along with any audio?
 
 Thanks,
 Mark
 
media-video/gtk-recordmydesktop
or
media-video/qt-recordmydesktop

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s+:+ a--- C++ UL--- P+ L++
E--- W++ N+ o-- K--- w--  O- M V-
PS++ PE-- Y+ PGP+++ t- 5- X R tv+
b+++ DI+ D++ G e+++ h-- r y+ 
--END GEEK CODE BLOCK--



Re: [gentoo-user] backup program recommendations?

2009-03-12 Thread fei huang
A shell script is all you want.

On Fri, Mar 6, 2009 at 4:55 AM, James Wall wallservi...@gmail.com wrote:

 Hi all,

 I am looking for a backup program that can back up to my DVD+-R/RW drive
 to back up my private portage tree/distfile/music/web server. What
 programs would you recommend to handle this task?

 TIA James Wall




Re: [gentoo-user] rsync + tar + bz2 ?

2009-03-12 Thread Enrico Weigelt
* Grant emailgr...@gmail.com wrote:

 I'm backing up numerous large files on another machine on my 
 local network. 

Let me suggest another idea: 

Put a venti on the remote machine and push the tree to be backed
up with vac. Never think about maintaining incremental backups
anymore - just pull in the stuff, and venti will store equal 
data blocks only once. All you now have to do is to put the 
root score (printed out by vac) into some safe place. 
You can even directly mount the backup via vacfs :)


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-



Re: [gentoo-user] simple A/V recording software to grab Internet seminar?

2009-03-12 Thread Mark Knecht
On Thu, Mar 12, 2009 at 5:57 PM, Andrey Falko ma3ox...@gmail.com wrote:
 On Thu, Mar 12, 2009 at 5:51 PM, Mark Knecht markkne...@gmail.com wrote:
 Hi,
   I administer my dad's Gentoo machine from a distance. He's going to
 take some sort of seminar over the net and asked me if there was a way
 for him to record it - both audio and video. I don't know how the
 seminar will be given, but my dad's in his 80's, isn't Gentoo
 knowledgeable and if this is going to work what ever the software is
 would have to be pretty easy to use.

   Anyone have any ideas about how to record everything on his screen
 along with any audio?

 Thanks,
 Mark



 Install xvidcap for him and see if he'll be able to use it. WIth
 xvidcap, it should not matter what format the lecture he'll be
 listening to is in.


Thanks. I'll check it out tomorrow.

- Mark



Re: [gentoo-user] simple A/V recording software to grab Internet seminar?

2009-03-12 Thread Mark Knecht
On Thu, Mar 12, 2009 at 5:59 AM, Jake Todd jaketodd...@gmail.com wrote:
 On Thu, 12 Mar 2009 17:51:28 -0700
 Mark Knecht markkne...@gmail.com wrote:

 Hi,
    I administer my dad's Gentoo machine from a distance. He's going to
 take some sort of seminar over the net and asked me if there was a way
 for him to record it - both audio and video. I don't know how the
 seminar will be given, but my dad's in his 80's, isn't Gentoo
 knowledgeable and if this is going to work what ever the software is
 would have to be pretty easy to use.

    Anyone have any ideas about how to record everything on his screen
 along with any audio?

 Thanks,
 Mark

 media-video/gtk-recordmydesktop
 or
 media-video/qt-recordmydesktop


Another good one. Thanks!
- Mark



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Thanasis
on 03/12/2009 11:54 PM Justin wrote the following:

 can you provide us our kernel config?
Attached it.
(Acer Aspire ONE A110L Atom 1.6GHz/512 MB/8.9/8GB)
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.28-gentoo-r2
# Thu Mar  5 23:20:28 2009
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_ARCH_DEFCONFIG=arch/x86/configs/i386_defconfig
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_FAST_CMPXCHG_LOCAL=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_DEFAULT_IDLE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_X86_SMP=y
CONFIG_USE_GENERIC_SMP_HELPERS=y
CONFIG_X86_32_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y
CONFIG_KTIME_SCALAR=y
CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
# CONFIG_CGROUPS is not set
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_GROUP_SCHED is not set
# CONFIG_SYSFS_DEPRECATED_V2 is not set
CONFIG_RELAY=y
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
# CONFIG_COMPAT_BRK is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PCI_QUIRKS=y
CONFIG_SLUB_DEBUG=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
# CONFIG_MARKERS is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_AS is not set
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED=deadline
CONFIG_CLASSIC_RCU=y
CONFIG_FREEZER=y

#
# Processor type and features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_SMP=y
# CONFIG_X86_MPPARSE is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_VSMP is not set
# CONFIG_X86_RDC321X is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not set
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
#