Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Come correggere questa situazione:Gentoo 2004.1-PPC-G3-Imac
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Sat Sep 11, 2004 1:06 pm    Post subject: Come correggere questa situazione:Gentoo 2004.1-PPC-G3-Imac Reply with quote

Come correggere questo errore su Gentoo 2004.1-PPC-G3-Imac 500Mhz e kernel 2.6.7 ???

modprobe: FATAL: Could not load /lib/modules/2.6.7/modules.dep: No such file or directory

Sembrerebbe non riesca a trovare la cartella dei moduli che in effetti in quel percorso non esiste, perche ???

E di conseguenza non mi carica i moduli

E cosa posso fare ???
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sat Sep 11, 2004 1:25 pm    Post subject: Reply with quote

Se non esiste quella directory vuol dire che non hai installato i moduli.

Quando hai compilato il kernel dovevi dare anche
Code:

make modules_install

_________________
...
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Sat Sep 11, 2004 1:41 pm    Post subject: Reply with quote

é vero, posso farlo adesso senza dover ricompilare il kernel o devo per forza ricompilare ???

Ho seguido la guida di Silian87 per PPC G4:

http://www.gentoo.it/doc/pbook_al.html

e non è indicato ma non escludo fosse sottointeso
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sat Sep 11, 2004 1:43 pm    Post subject: Reply with quote

certo, vai nella directory dei sorgenti del kernel e dai quel comando, poi controlla che la directory /lib/modules/2.6.7 sia stata creata
_________________
...
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sat Sep 11, 2004 7:22 pm    Post subject: Reply with quote

Quote:
e non è indicato ma non escludo fosse sottointeso


Scusami, ma quella versione della guida e' vecchia, quella piu' nuova sta su un mirror cancellato :-(
Fai pure:
Code:

make clean vmlinux modules modules_install

_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Sun Sep 12, 2004 1:19 am    Post subject: Reply with quote

silian87 wrote:
Quote:
e non è indicato ma non escludo fosse sottointeso


Scusami, ma quella versione della guida e' vecchia, quella piu' nuova sta su un mirror cancellato :-(
Fai pure:
Code:

make clean vmlinux modules modules_install


Ho eseguido il:make clean vmlinux modules modules_install
ha compilato ma non ha creato /lib/modules/2.6.7
mentre sotto lib ho le tutte le librerie

Cosa faccio riemergo il kernel ???
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Sun Sep 12, 2004 2:41 am    Post subject: Reply with quote

OK riemerso e ricompilato il kernel e mi ha creato /lib/modules/2.6.7 e fin quì tutto OK


Ma non mi starta la scheda di rete e non so se non carica il modulo o cosa anche perchè non so come si chiami, e non c'è neanche in /dev eth0, semba proprio non esista, cosa posso fare ???

Che strano con modprobe o insmod non mi carica neanche altri moduli, tipo agpgart o r128, ed lsmod non mi mostra nessun modulo perchè ???
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun Sep 12, 2004 9:27 am    Post subject: Reply with quote

ti restituisce un errore o non dice nulla? (eventualmente postalo)

per vedere l'elenco dei moduli compilati e' comodo

Code:

modprobe -ls


ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Sun Sep 12, 2004 7:35 pm    Post subject: Reply with quote

xchris wrote:
ti restituisce un errore o non dice nulla? (eventualmente postalo)

per vedere l'elenco dei moduli compilati e' comodo

Code:

modprobe -ls


ciao


Si di moduli caricati c'è ne sono molti, ma il problema è che se mentre con il livecd la scheda di rete parte regolarmente, con il boot da HD la scheda di rete non parte e il dev/eth0 non viene creato.

Ma non so se non carica il modulo corretto della scheda, che non so quale sia o non crea correttamente /dev/eth0.

Cosa si può fare
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun Sep 12, 2004 7:46 pm    Post subject: Reply with quote

parti con il livecd e poi fai un "lsmod" per vedere i moduli caricati.
Cerca di individuare quello della tua scheda di rete.

parti con l'hd e fai modprobe "nomerilevatoprimo" (sperando che sia compliato come modulo)

eventualmente prova a fare anche un "ifconfig -a"

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Sep 12, 2004 8:43 pm    Post subject: Reply with quote

1) /dev/eth0 non esiste, é una interfaccia di rete non un device, a meno che alcuni moduli lo creino...

2) Se vuoi il caricamento automatico, attiva hotplug
Code:

emerge hotplug
rc-update add hotplug boot

ovviamente devi avere compilato il modulo adeguato per la tua scheda.
_________________
...
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Sun Sep 12, 2004 9:42 pm    Post subject: Reply with quote

motaboy wrote:
1) /dev/eth0 non esiste, é una interfaccia di rete non un device, a meno che alcuni moduli lo creino...

2) Se vuoi il caricamento automatico, attiva hotplug
Code:

emerge hotplug
rc-update add hotplug boot

ovviamente devi avere compilato il modulo adeguato per la tua scheda.


Emerso hotplug ma continua a non caricare nulla

dhcpd eth0 non starta la rete.

La scheda è una SUNGEM ma non so come cappero si chiami il modulo :twisted:

Credo di aver fatto troppi casini compilando il kernel.
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Sep 12, 2004 9:47 pm    Post subject: Reply with quote

Basta che lo ricompili con TUTTI i driver per le schede di rete compilati come moduli.
_________________
...
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Sun Sep 12, 2004 11:05 pm    Post subject: Reply with quote

motaboy wrote:
Basta che lo ricompili con TUTTI i driver per le schede di rete compilati come moduli.


Ho scoperto solo adesso l'esistenza del kernel ppc-development-sources, mentre prima ho emerso development-sources
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Mon Sep 13, 2004 4:19 pm    Post subject: Reply with quote

Stasera riemergerò il kernel e volevo chiedervi 3 cose:

1)Come posso forzare il sistema ad emergere "ppc-development-sources" invece che il "development-sources", emerge mi dice che non può farlo perchè il pacchetto è instabileinstabile ???

Me li consigliate o megli direttamente i "development-sources" ???
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Tue Sep 14, 2004 9:04 pm    Post subject: Reply with quote

NIX.NIX wrote:
Stasera riemergerò il kernel e volevo chiedervi 3 cose:

1)Come posso forzare il sistema ad emergere "ppc-development-sources" invece che il "development-sources", emerge mi dice che non può farlo perchè il pacchetto è instabileinstabile ???

Me li consigliate o megli direttamente i "development-sources" ???


Shev se ci & :roll:
Back to top
View user's profile Send private message
NIX.NIX
Apprentice
Apprentice


Joined: 02 Sep 2003
Posts: 214

PostPosted: Tue Sep 14, 2004 11:44 pm    Post subject: Reply with quote

Bisogna abilitare qualche opzione nel kernel 2.6.7 per utilizzare 1024MB di RAM ???

CPUINFO me ne vede correttamente 1024MB ma TOP mi rileva:

774268K perchè ???
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31461
Location: here

PostPosted: Wed Sep 15, 2004 6:39 am    Post subject: Reply with quote

Processor type and features ---> High Memory Support (off) ---> (X) 4GB perche' l'help dice "Select this if you have a 32-bit processor and between 1 and 4 gigabytes of physical RAM."
_________________
Questions are guaranteed in life; Answers aren't.
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
Page 1 of 1

 
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