View previous topic :: View next topic |
Author |
Message |
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 11:49 am Post subject: [AMD64]Gentoo lento...lentissimo... |
|
|
Salve,ho installato gentoo sul mio amd64..però ho un problema..va lentissimo,ci mette molto a caricare le applicazioni,alcune volte crashano e tanti altri problemi....da cosa può dipendere?? |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sat Nov 26, 2005 11:57 am Post subject: Re: [AMD64]Gentoo lento...lentissimo... |
|
|
difficile dirlo. non hai fornito nessun elemento
inizia col postare a cosa punta make.profile, e l'output di emerge info |
|
Back to top |
|
|
devilheart l33t
Joined: 17 Mar 2005 Posts: 848 Location: Villach, Austria
|
Posted: Sat Nov 26, 2005 12:00 pm Post subject: |
|
|
tanto per chiedere, hai abilitato il dma sul disco fisso? |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 12:03 pm Post subject: |
|
|
devilheart,no non credo ora controllo.
k.gothmog:
lrwxrwxrwx 1 root root 50 Nov 22 21:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/amd64/2005.1 |
|
Back to top |
|
|
kattivo Guru
Joined: 28 Jan 2005 Posts: 450 Location: Treviso
|
Posted: Sat Nov 26, 2005 12:04 pm Post subject: |
|
|
Waea...
Anche io all'inizio ho avuto problemi con amd64..
pero' come ti è gia stato detto, non ci hai dato nessuna informazione...
incollaci l'output di certi comandi tipo:
Code: |
cat /etc/make.conf
cat /etc/resolv.conf
cat /var/log/emerge.log
uname -a
|
_________________ Eurostep Consulting S.r.l.
Andrea P. <andrea@eurostep.it> |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 12:13 pm Post subject: |
|
|
Ho messo tutto qui:
http://phpfi.com/88828
kattivo,poi tu come hai risolto?
il log di emerge non l'ho messo perchè non finiva più... |
|
Back to top |
|
|
kattivo Guru
Joined: 28 Jan 2005 Posts: 450 Location: Treviso
|
Posted: Sat Nov 26, 2005 12:22 pm Post subject: |
|
|
Mm hai un make pieno di USE...sei sicuro che ti servono tutte? sono veramente troppe..
Prova a iniziare semplificando un po il make.conf
tipo :
Code: |
USE="cups foomaticdb ppds usb altra_var1 altra_var2 nvidia opengl gtk2 qt kde dvd dvb dvdr X ipv6 av i alsa ssl xml jpeg png mpeg"
CFLAGS="-pipe -O2 -fomit-frame-pointer -march=k7"
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
RSYNC_RETRIES="3"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://mirror.switch .ch/ftp/mirror/gentoo/"
SYNC="rsync://rsync1.it.gentoo.org/gentoo-portage"
LINGUAS="it"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j2"
PORTDIR_OVERLAY="/usr/local/portage"
|
Questo è un esempio...doverbbe funzionare..
km prova a modificare il tuo make cosi..poi dai un bel
Code: |
emerge --sync && emerge world -e
|
Io avevo fatto la stessa cosa che sto dicendo di fare a te..
pero' era un problema Di RETE la rete mi impiantava tutto il sistema
per dirti, con un server tyan dual processor opteron, per aprire firefox ci stava 13 secondi...
era un problema di impostazione rete.. _________________ Eurostep Consulting S.r.l.
Andrea P. <andrea@eurostep.it>
Last edited by kattivo on Sat Nov 26, 2005 12:28 pm; edited 1 time in total |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 12:26 pm Post subject: |
|
|
Ok provo.Poi ti faccio sapere. |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 1:10 pm Post subject: |
|
|
xkè quest'errore:
Code: |
ecking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
!!! ERROR: sys-devel/patch-2.5.9 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
|
cmq quando do un emerge mi da quest'errore in rosso:
!!! Invalid PORTDIR_OVERLAY (not a dir): /usr/local/portage |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sat Nov 26, 2005 1:20 pm Post subject: |
|
|
hai passato delle opzioni illegali nelle CFLAGS/CXXFLAGS/LDFLAGS |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 1:23 pm Post subject: |
|
|
Cioè??
Come make.conf uso quello che mi ha passato Kattivo... |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sat Nov 26, 2005 1:26 pm Post subject: |
|
|
bigfantasy wrote: | Cioè??
Come make.conf uso quello che mi ha passato Kattivo... |
evidentemente c'è qualcosa di sbagliato, oppure haiu sbagliato a copiare, perché con quelle opzioni il compilatore "non può creare eseguibili"
comincia ad eliminare -march=k7, dato che tu NON hai un processore k7 |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 1:28 pm Post subject: |
|
|
Non capisco cosa c'è di sbagliato...
e cosa metto?? |
|
Back to top |
|
|
kattivo Guru
Joined: 28 Jan 2005 Posts: 450 Location: Treviso
|
Posted: Sat Nov 26, 2005 1:35 pm Post subject: |
|
|
allora..ti ho detto che quello era un esempio
prova a dare
Code: |
mkdir /usr/local/portage
|
forse ti manca la cartella..
k7 ho visto che lo usano per amd64...quindi credo sia giusto..
è scritto anche nel manuale di gentoo per amd64..
Ti sistemo io il make....copialo identico a questo:
Code: |
USE="cups foomaticdb ppds usb altra_var1 altra_var2 nvidia opengl gtk2 qt kde dvd dvb dvdr X ipv6 avi alsa ssl xml jpeg png mpeg"
CFLAGS="-pipe -O2 -fomit-frame-pointer -march=k7"
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
RSYNC_RETRIES="3"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
SYNC="rsync://rsync1.it.gentoo.org/gentoo-portage"
LINGUAS="it"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j2"
|
Provalo cosi, se non dovesse andare modifica:
Code: |
CFLAGS="-pipe -O2 -fomit-frame-pointer -march=k7"
|
e fallo diventare cosi:
Code: |
CFLAGS="-pipe -O2 -fomit-frame-pointer -march=amd64"
|
Poi fammi sapere cosa succede...
ricordati il solito aggiornamento:
Code: |
emerge --sync && emerge world -e
|
_________________ Eurostep Consulting S.r.l.
Andrea P. <andrea@eurostep.it> |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 1:40 pm Post subject: |
|
|
Niente sempre stesso errore... |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sat Nov 26, 2005 1:54 pm Post subject: |
|
|
bigfantasy wrote: | Non capisco cosa c'è di sbagliato...
e cosa metto?? |
non è obbligatorio mettere -march, e comunque...
man gcc wrote: | The choices for cpu-type are i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro, pentium2, pentium3, pentium4, prescott, nocona, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-4, athlon-xp, athlon-mp, winchip-c6, winchip2 and c3. |
non c'è k7.
verifica di avere settato questo: CHOST="x86_64-pc-linux-gnu"
@kattivo: non mi sembra il caso di dare consigli sbagliati
esistono queste impostazioni:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
ma non tutte le versioni di gcc le accettano (come si è visto). dipende dalla tua versione del compilatore. ripeto che, se proprio non sai cosa mettere puoi anche fare a meno di mettere -march (make.defaults esiste apposta) |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sat Nov 26, 2005 1:57 pm Post subject: |
|
|
è andato |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sat Nov 26, 2005 2:12 pm Post subject: |
|
|
k.gothmog wrote: |
non c'è k7.
verifica di avere settato questo: CHOST="x86_64-pc-linux-gnu"
@kattivo: non mi sembra il caso di dare consigli sbagliati
|
appunto si chiama k8 semmai _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Sun Nov 27, 2005 10:16 am Post subject: |
|
|
-march=k7 va bene su un athlon64 SE si vuole compilare il sistema a 32bit, ma NON se si vuole fare un'installazione a 64bit!
In questo caso (il tuo da come hai settato tutto il resto), devi usare un -march=k8|athlon64 _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
u238 Guru
Joined: 04 Mar 2005 Posts: 373
|
Posted: Sun Nov 27, 2005 11:52 am Post subject: |
|
|
si, io ho -march=k8 ed è ok.
inoltre se nn ho visto male prima avevi tutto il sistema in ~amd64, forse è quello il motivo per cui si bloccava spesso... tieni il sistema in ACCEPT_KEYWORDS="amd64" come ti ha suggerito anche kattivo, e sblocca i vari pakketti in ~amd con package.keywords... avrai 1 sistema sicuramente + stabile! |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sun Nov 27, 2005 12:44 pm Post subject: |
|
|
Ok grazie per il consiglio |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Sun Nov 27, 2005 12:52 pm Post subject: |
|
|
u238 wrote: | inoltre se nn ho visto male prima avevi tutto il sistema in ~amd64, forse è quello il motivo per cui si bloccava spesso... |
Direi proprio che non c'entra nulla...
Quote: | tieni il sistema in ACCEPT_KEYWORDS="amd64" come ti ha suggerito anche kattivo, e sblocca i vari pakketti in ~amd con package.keywords... avrai 1 sistema sicuramente + stabile! |
Io continuo a ribadire di non fare terrorismo ad usare pacchetti ~ su amd64 _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sun Nov 27, 2005 12:55 pm Post subject: |
|
|
u238 wrote: | si, io ho -march=k8 ed è ok.
inoltre se nn ho visto male prima avevi tutto il sistema in ~amd64, forse è quello il motivo per cui si bloccava spesso... tieni il sistema in ACCEPT_KEYWORDS="amd64" come ti ha suggerito anche kattivo, e sblocca i vari pakketti in ~amd con package.keywords... avrai 1 sistema sicuramente + stabile! |
che versione del compilatore hai?
non è che tutti hanno installato la stessa, e come si può vedere semplicemente consultando la man, non tutte le versioni di gcc supportano lo stesso arch set. |
|
Back to top |
|
|
bigfantasy Tux's lil' helper
Joined: 07 Apr 2005 Posts: 98
|
Posted: Sun Nov 27, 2005 9:51 pm Post subject: |
|
|
uso gcc-3.4 |
|
Back to top |
|
|
u238 Guru
Joined: 04 Mar 2005 Posts: 373
|
Posted: Mon Nov 28, 2005 8:35 am Post subject: |
|
|
lavish wrote: | u238 wrote: | inoltre se nn ho visto male prima avevi tutto il sistema in ~amd64, forse è quello il motivo per cui si bloccava spesso... |
Direi proprio che non c'entra nulla...
Quote: | tieni il sistema in ACCEPT_KEYWORDS="amd64" come ti ha suggerito anche kattivo, e sblocca i vari pakketti in ~amd con package.keywords... avrai 1 sistema sicuramente + stabile! |
Io continuo a ribadire di non fare terrorismo ad usare pacchetti ~ su amd64 |
Beh, se lo dice un moderatore sarà anche vero.. allora a sto punto di agli sviluppatori o tester o quello che sono di lasciar perdere a farsi il mazzo per testare la stabilità dei pacchetti e di tenere ordine tra gli stabili e instabili. Tanto come dici tu non serve a niente, possiamo anche toglierlo, no? |
|
Back to top |
|
|
|