Re: [gentoo-user] Introduction (new member) and first ask-for-help... :-)

2007-10-10 Thread Volker Armin Hemmann
replace -Os with O2 and rebuild systembash?
and if that does not help:
remove all the crap you don't need from the kernel? try without raid? only 
start the init-scripts you really need?

oh, please remove the fb-stuff that makes nvidia complain
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Introduction (new member) and first ask-for-help... :-)

2007-10-10 Thread Ricardo Saffi Marques
@Iain: I tried that but it didn't really work. But thanks to THAT suggestion
I found the solution to the problem. Read below.
@ Volker: I may try to do that, though I must say I've installed many
systems using the -Os instead of -O2 without a single problem. It turned out
to be something really simple, though still weird. Read below.

When I tried to turn off bash_completion by not invoking it when a shell
opens (and it didn't work) I had an insight. :-)
My $HOME/.bash_profile makes theese two calls:

 [[ -f $HOME/.bashrc ]]  . $HOME/.bashrc
 [[ -f /etc/bash_completion ]]  source /etc/bash_completion


My $HOME/.bashrc, among other things (regular ones), calls a script I have
with many (many many) aliases and mods for my shells. So this is my .bashrc:

 [[ -f $HOME/.loginscript ]]  source $HOME/.loginscript


When I decided to comment the above call to $HOME/.loginscript, everything
worked ok. No more memory leak problems, no more weird shell command
interpretation. Everything started to work Super (as Al Pacino would say in
Scent of a Woman). :-)
What do I have inside .loginscript? Here it is:

 #! /bin/bash

 #PS1='\[\033[01;[EMAIL PROTECTED];34m\] \w \$\[\033[00m\] '
 DATE=$(date +%Y-%m-%d)

 alias up=cd ..
 alias sshic='ssh -Cl ra037415 xaveco.lab.ic.unicamp.br'
 alias sshquasar='ssh -Cl saffi quasar.las.ic.unicamp.br'
 alias sshquasarroot='ssh -Cl root quasar.las.ic.unicamp.br'
 alias sshbackup='ssh -Cl root backup.las'
 alias sshargonath='ssh -Cl saffi argonath.las.ic.unicamp.br'
 alias sshargonathroot='ssh -Cl root argonath.las.ic.unicamp.br'
 alias sshpulsar='ssh -Cl root pulsar.itautec.inovasoft.unicamp.br'
 alias sshdeathstar='ssh -Cl root deathstar.itautec.inovasoft.unicamp.br'
 alias sshhaya='ssh -Cl saffi hayabusa.las'
 alias ssheagle='ssh -Cl saffi saffi.homeip.net'
 alias ssheagleroot='ssh -Cl root saffi.homeip.net'
 alias spy='echo -e Last refresh: $(date +%r) ; echo; finger; echo; w;
 echo; tty ; echo'
 alias usage='echo ; echo -en \a$USER disk usage is of ; du -sh ~; echo;'
 alias ls='ls -F --color=auto'
 alias ll='ls -lh'
 alias llr='ll -R'
 alias lla='ll -a'
 alias can='cat -n'
 alias myproc='ps -u $USER'
 alias showM='du -h . 2 /dev/null | grep [0-9].[0-9]M | sort'
 alias showK='du -h . 2 /dev/null | grep [1-9][0-9][0-9]K | sort'
 alias resume='screen -r'
 alias stop='screen -d'
 alias steal='screen -dr'
 alias share='screen -x'
 alias list='screen -ls'
 alias improve='vim ~/.loginscript'
 alias quasartunnel='ssh -D 5000 -Cl saffi quasar.las.ic.unicamp.br'

 # Disable console messaging
 mesg n

 # Allow a larger console history
 HISTSIZE=3840
 HISTFILESIZE=524288
 HISTTIMEFORMAT=%F %T 


Again: I already do this with other computers I work with and never had a
problem with such thing. Two funny things: the very same sequence os scripts
runs when I login with my local user (rsaffi). No problem, just with root.
Another funny thing: after commenting the [[ -f $HOME/.loginscript ]] 
source $HOME/.loginscript from the .bashrc file, the problem was gone.
Then, after I log in, I ran: source ~/.loginscript and had no problem.
That's weird.

Anyway, I appreciate your help, guys. Thanks for all the patience and tips.

Regards,

Saffi

On 10/10/07, Volker Armin Hemmann [EMAIL PROTECTED]
wrote:

 replace -Os with O2 and rebuild systembash?
 and if that does not help:
 remove all the crap you don't need from the kernel? try without raid? only
 start the init-scripts you really need?

 oh, please remove the fb-stuff that makes nvidia complain
 --
 [EMAIL PROTECTED] mailing list


-- 
bRicardo Saffi Marques/b
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
iCell:/i +55 (19) 8128-0435
iSkype:/i ricardo_saffi_marques
iWebsite:/i uhttp://www.rsaffi.com/u


[gentoo-user] Introduction (new member) and first ask-for-help... :-)

2007-10-09 Thread Ricardo Saffi Marques
Hello fellows. I'm new to the mailling list, though I'm not really new to
linux nor Gentoo. I'm a 21 year old Brazilian and I'm currently being
trained by the actual admin of the lab I work (see signature) to become the
new admin. The lab (www.las.ic.unicamp.br) hosts a project named Tutoo,
which is a Gentoo-based distribution. We're also Gentoo official-mirror.

My first question is whether any of you can please help me with this issue:
http://forums.gentoo.org/viewtopic-p-4347959.html
I'm really sorry for the inconvenience.

Regards,

Saffi

-- 
*Ricardo Saffi Marques*
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
*Cell:* +55 (19) 8128-0435
*Skype:* ricardo_saffi_marques
*Website:* *http://www.rsaffi.com*


Re: [gentoo-user] Introduction (new member) and first ask-for-help... :-)

2007-10-09 Thread Iain Buchanan
On Tue, 2007-10-09 at 20:11 -0300, Ricardo Saffi Marques wrote:

 
 My first question is whether any of you can please help me with this
 issue: http://forums.gentoo.org/viewtopic-p-4347959.html

a wild stab in the dark: can you turn off bash-completion?  I noticed
it's in your use flags.  Maybe something there is causing the every
letter is a command issue...

 I'm really sorry for the inconvenience.

If it was an inconvenience, then I wouldn't reply :)

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

C-3PO: 
We seem to be made to suffer. It's our lot in life.

-- 
[EMAIL PROTECTED] mailing list