Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errore in fase di compilazione kernel (eth0) [Risolto]
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
Giulio
n00b
n00b


Joined: 23 Mar 2004
Posts: 12

PostPosted: Tue Mar 23, 2004 11:27 pm    Post subject: Errore in fase di compilazione kernel (eth0) [Risolto] Reply with quote

Ciao a tutti, questo è il messaggio che ottengo alla fine della compilazione del kerner 2.4.25 della mia gentoo.

Code:

cp cannot stat '8139too.o': no such file or directory
cp cannot stat dummy.o: no such file or directory

più un altro dello stesso tipo per un terzo file che non ricordo..
ed anche:
Code:

make[2] xxx [_modinst__] error 1


ho configurato il kernel per utilizzare una RealTek 8139 (la mia scheda) come modulo
Ovviamente il sistema durante il boot mi da un messaggio di errore relativo all'avvio di eth0. dmesg non mi fornisce nessun dato relativo alla scheda che di fatto non trovo come dispositovo riconosciuto
Qualche suggerimento?


Last edited by Giulio on Wed Mar 31, 2004 10:13 am; edited 1 time in total
Back to top
View user's profile Send private message
^Sporting^
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2003
Posts: 131
Location: 009°11'28'' E 045°36'39'' N

PostPosted: Tue Mar 23, 2004 11:38 pm    Post subject: Reply with quote

Ciao e benvenuto nel forum 8)
se nn ricordo male i moduli nel kernel sono 2 x le realtek. Tu quale hai compilato? Dicci anche se lo hai compilato come modulo o built-in. E x finire mi pare che 'dummy net' vada compilato come modulo e nn built-in.
Puoi usare
Code:
lspci
x sapere con esattezza che scheda hai.
Bye!
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Mar 23, 2004 11:48 pm    Post subject: Reply with quote

Sei sicuro di aver compilato i moduli prima del modules_install? Prova a (ri)dare un

Code:
# make modules && make modules_install


P.S.: Benvenuto!
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
Giulio
n00b
n00b


Joined: 23 Mar 2004
Posts: 12

PostPosted: Wed Mar 24, 2004 1:29 pm    Post subject: Reply with quote

grazie del caloroso benvenuto e della celerità di risposta
duque tornando al mio problema e seguendo i Vs consigli posso aggiungere altri dati che forse sono utili:
chiamando lspci mi dice che il comando è sconosciuto (come se lspci non esistesse)
ho cmq rieseguito la compilazione, ma non è cambiato il risultato :?

quando ho configurato il kernel ho selezionato entrambe le possbili voci relative alla scheda RealTek compilandole stavolta come built-in
il modulo 'dummy net' l'ho configurato come modulo
ho fatto anche il passaggio:
make modules && make modules_install (l'ho eseguito DOPO aver ri-compilato il kerner e non ha dato errori)
ho copitato il tutto in boot ma il problema persiste.

io continuo a tantare, ma se avete altri suggerimenti sappiate che li accetterò molto volentieri :wink:
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Wed Mar 24, 2004 1:39 pm    Post subject: Reply with quote

se vuoi essere ancora + certo del modulo boota col live cd e dai un lsmod e guarda che moduli sono caricati se nn riconosci quale è.. posta il risultato (se nn vuoi scriverlo a mano fai:

Code:

lsmod > lsmod.txt
lspci > lspci.txt
mount /dev/tuapartizione /mnt/gentoo

cp lsmod.txt /mnt/gentoo

cp lspci.txt /mnt/gentoo

:)
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31455
Location: here

PostPosted: Wed Mar 24, 2004 1:56 pm    Post subject: Reply with quote

Giulio wrote:
chiamando lspci mi dice che il comando è sconosciuto (come se lspci non esistesse)

devi emergiare il pacchetto pciutils.

Prova a mettere moduli invece che buit-in.

EDIT: Benvenuto anche da parte mia.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Giulio
n00b
n00b


Joined: 23 Mar 2004
Posts: 12

PostPosted: Thu Mar 25, 2004 7:23 pm    Post subject: Reply with quote

ok, sono riuscito ad installare il pacchetto pciutils ed ora lspci funziona!
questo mi conferma che la scheda ethernet è una RealTek RTL 8139/8139C/9139C+

ho provato anche a dare un lsmod ma il risultato è la sola intestazione senza nessun modulo (possibile!??) con il boot da LiveCD invece ne ottengo diversi tra cui il famoso 8139too

ho ricmpilato il kernel impostando entrambe le voci relative alla realtek come moduli ma il risultato non è cambiato
Back to top
View user's profile Send private message
b10m
Apprentice
Apprentice


Joined: 04 Aug 2003
Posts: 204
Location: Monza

PostPosted: Thu Mar 25, 2004 7:50 pm    Post subject: Reply with quote

io fossi in te non lo metterei come modulo.
Cmq per test compilalo direttamente nel kernel e guarda se ti da lo stesso errore
Back to top
View user's profile Send private message
Giulio
n00b
n00b


Joined: 23 Mar 2004
Posts: 12

PostPosted: Thu Mar 25, 2004 11:00 pm    Post subject: Reply with quote

la cosa si sta facendo lunga...
il problema è sempre quello. indipendentemente da tipo di configurazione della scheda sul kernel (modulo o integrato) al boot nel momento del riconoscimento della eht0 (qui è l'ultima fase) appare questo:

Bringhing eth0 up...
SIOCSIFADDR: so such device
eth0: unknown interface: no such device
SIOCSIFBRADDR: not such device
eth0: unknown interface: no such device
SIOCSIFNETMASK: no such device

Failed to bring eth0 up
error: problem starting needed services
"netmount" was not started

:(
Back to top
View user's profile Send private message
Giulio
n00b
n00b


Joined: 23 Mar 2004
Posts: 12

PostPosted: Wed Mar 31, 2004 10:11 am    Post subject: Reply with quote

ho risolto installando il kernel 2.6.3
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