View previous topic :: View next topic |
Author |
Message |
slartibartfasz Veteran


Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Sat Feb 28, 2004 10:08 pm Post subject: |
|
|
krausatis wrote: | I did
Code: |
golem:/home/sebl # e2fsck -pfc /dev/hda4
nyarlathotep (/dev/hda4): 139759/572320 Dateien (1.5% nicht verbunden ), 557569/1144631 Blöcke
|
Might this be the reason?
|
>>nyarlathotep<< there is something evil in your box
(Sorry couldnt resist... ) _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
 |
fimblo Guru

Joined: 19 Feb 2003 Posts: 306 Location: European Union, Stockholm
|
|
Back to top |
|
 |
discomfitor l33t


Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Sat Feb 28, 2004 11:38 pm Post subject: |
|
|
Have you tried prelink? _________________ There is no substitute for experience.
Imperfection indicates a lack of effort. |
|
Back to top |
|
 |
neonik Guru


Joined: 08 Oct 2003 Posts: 501
|
Posted: Sun Feb 29, 2004 11:08 am Post subject: |
|
|
Yeah, been thinking you might have some bad linkage... Some apps might be statically linked while they should be dynamic and vice-versa. _________________ Best regards,
neonik
netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated). |
|
Back to top |
|
 |
krausatis n00b

Joined: 22 Feb 2004 Posts: 19 Location: Regensburg, Bavaria
|
Posted: Sun Feb 29, 2004 5:32 pm Post subject: |
|
|
Quote: |
Did you actually follow exactly the manual when installing? Got no broken /etc (etc-update)?
|
I ran etc-update recently. I ran it again:
Code: |
golem / # etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
|
If there is still something wrong with my etc-files, I don't know what could cause the problems I am having.
Quote: |
Do you have a hostname set on both systems?
|
Yes, I have.
Quote: |
Have you tried prelink?
|
I guess you want me to build some packages statically. I'll post the results soon.
Quote: |
>>nyarlathotep<< there is something evil in your box
|
I thought about that myself and ran an exorcism program: didn't help. So if if's evil, it's a nasty kind of evil.  |
|
Back to top |
|
 |
krausatis n00b

Joined: 22 Feb 2004 Posts: 19 Location: Regensburg, Bavaria
|
Posted: Sun Feb 29, 2004 6:13 pm Post subject: |
|
|
The evil gets a face:
I built a statically linked emacs and it started without delay.
Greetings
K |
|
Back to top |
|
 |
krausatis n00b

Joined: 22 Feb 2004 Posts: 19 Location: Regensburg, Bavaria
|
Posted: Sun Feb 29, 2004 9:33 pm Post subject: |
|
|
Things are getting real weird. I chrooted from my SuSE partition to the gentoo partition
and built a statically linked emacs ( I added -static to CFLAGS and LDFLAGS). This one started quickly. At that time I wrote my former post. Then I booted gentoo, the static emacs started slowly. I built it again and it didn't improve. I booted SuSE again and remembered that I
forgot to bindmount dev and proc to the gentoo tree, the time I built the first static emacs.
So I built it again chrooted to /mnt/gentoo with dev and proc bindmounted: slow; then with /mnt/gentoo/proc umounted: slow; with both umounted: fast; with /mnt/gentoo/proc mounted: fast. I noticed that also the ordinary emacs started fast. I bindmounted dev: both started quickly;I exited, chrooted to gentoo again: everything wonderful. I exited, booted gentoo and I had my startup problem back. Even more strange: Booted back SuSE, I cannot build a fast static emacs (chrooted to gentoo, of course) no matter what I try. |
|
Back to top |
|
 |
krausatis n00b

Joined: 22 Feb 2004 Posts: 19 Location: Regensburg, Bavaria
|
Posted: Sun Feb 29, 2004 11:56 pm Post subject: |
|
|
I emerged prelink; it didn't help.
I built emacs and bash statically on my SuSE system, copied them to /mnt/gentoo, started a chroot with the static bash and started the static emacs: It took again 5 sec. Does this rule out any bad linkage? |
|
Back to top |
|
 |
neonik Guru


Joined: 08 Oct 2003 Posts: 501
|
Posted: Tue Mar 02, 2004 4:12 pm Post subject: |
|
|
It has now become really odd...
You sure you compiled them with right CFLAGS? Also, what GCC version did you use? _________________ Best regards,
neonik
netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated). |
|
Back to top |
|
 |
EugeneTSWong n00b

Joined: 18 Sep 2003 Posts: 45
|
Posted: Tue Mar 02, 2004 8:31 pm Post subject: |
|
|
neonik wrote: | It has now become really odd...
You sure you compiled them with right CFLAGS? Also, what GCC version did you use? | I don't think that this is becoming odd. I noticed that Gentoo has become slower & slower for me as well. I can't prelink because certain binaries won't work anymore [kdeinit can't be found or something like that]. I think that Gentoo might be becoming bloated in some sort of way.
I've basically unset every USE variable, yet it all starts so slow. Everytime I upgrade, the boot up pauses in more & more places. I'm beginning to hate Gentoo. I'm trying to avoid complaining, though. That's not my point. I mention these negative things for the sake of emphasis.
Disclaimer: I'm not an expert, but I'm not a newbie either.
I looked @ that fellows configurations [except .config because it takes so long, & I wouldn't know any better], & they all seem to look good. For my own computer, I noticed that my "emerge info" output didn't match the portage version that was most recently emerged.
I wonder if this has anything to do with devfs. Did anybody try running Gentoo without it?
This whole thing is becoming messier & messier. _________________ Sincerely, & with thanks,
Eugene T.S. Wong |
|
Back to top |
|
 |
krausatis n00b

Joined: 22 Feb 2004 Posts: 19 Location: Regensburg, Bavaria
|
Posted: Wed Mar 03, 2004 9:50 pm Post subject: |
|
|
My problem is gone! Well, I formatted my gentoo partition and build everything anew from stage1 and without any CLAGS. Not an obvious step to do, I had gentoo installed three times from scratch and I always faced the problems I mentioned. But this time it worked, don't ask me why.
Thanks to you, Neonik, and all of you, who gave me advice. Without your compassion, I might not have tried another install and so my gentoo experience would have ended here.
K |
|
Back to top |
|
 |
neonik Guru


Joined: 08 Oct 2003 Posts: 501
|
Posted: Thu Mar 04, 2004 12:39 pm Post subject: |
|
|
That's great. Glad it works now  _________________ Best regards,
neonik
netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated). |
|
Back to top |
|
 |
|