Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[AMD64]Gentoo lento...lentissimo...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 11:49 am    Post subject: [AMD64]Gentoo lento...lentissimo... Reply with quote

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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Nov 26, 2005 11:57 am    Post subject: Re: [AMD64]Gentoo lento...lentissimo... Reply with quote

difficile dirlo. non hai fornito nessun elemento
inizia col postare a cosa punta make.profile, e l'output di emerge info
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Sat Nov 26, 2005 12:00 pm    Post subject: Reply with quote

tanto per chiedere, hai abilitato il dma sul disco fisso?
Back to top
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
kattivo
Guru
Guru


Joined: 28 Jan 2005
Posts: 450
Location: Treviso

PostPosted: Sat Nov 26, 2005 12:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
kattivo
Guru
Guru


Joined: 28 Jan 2005
Posts: 450
Location: Treviso

PostPosted: Sat Nov 26, 2005 12:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 12:26 pm    Post subject: Reply with quote

Ok provo.Poi ti faccio sapere.
Back to top
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Nov 26, 2005 1:20 pm    Post subject: Reply with quote

hai passato delle opzioni illegali nelle CFLAGS/CXXFLAGS/LDFLAGS
Back to top
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 1:23 pm    Post subject: Reply with quote

Cioè?? 8O
Come make.conf uso quello che mi ha passato Kattivo...
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Nov 26, 2005 1:26 pm    Post subject: Reply with quote

bigfantasy wrote:
Cioè?? 8O
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
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 1:28 pm    Post subject: Reply with quote

Non capisco cosa c'è di sbagliato...
e cosa metto??
Back to top
View user's profile Send private message
kattivo
Guru
Guru


Joined: 28 Jan 2005
Posts: 450
Location: Treviso

PostPosted: Sat Nov 26, 2005 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 1:40 pm    Post subject: Reply with quote

Niente sempre stesso errore...
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Nov 26, 2005 1:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sat Nov 26, 2005 1:57 pm    Post subject: Reply with quote

è andato :D
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sat Nov 26, 2005 2:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Nov 27, 2005 10:16 am    Post subject: Reply with quote

-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
View user's profile Send private message
u238
Guru
Guru


Joined: 04 Mar 2005
Posts: 373

PostPosted: Sun Nov 27, 2005 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sun Nov 27, 2005 12:44 pm    Post subject: Reply with quote

Ok grazie per il consiglio :wink:
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Nov 27, 2005 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sun Nov 27, 2005 12:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
bigfantasy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2005
Posts: 98

PostPosted: Sun Nov 27, 2005 9:51 pm    Post subject: Reply with quote

uso gcc-3.4
Back to top
View user's profile Send private message
u238
Guru
Guru


Joined: 04 Mar 2005
Posts: 373

PostPosted: Mon Nov 28, 2005 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum