Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[genkernel] errore copiando System.map
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
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 416
Location: Brescia

PostPosted: Tue Oct 26, 2004 7:56 am    Post subject: [genkernel] errore copiando System.map Reply with quote

Ciao a tutti,
questo è quanto mi succede quando dico a genkernel di ricompilarmi il kernel con il seguente comando
Code:
genkernel --menuconfig all

-Crea il file bzImage e lo copia nella boot
-Tenta di copiare il file System.map nella boot, ma restituisce l'errore che non riesce a copiare il file

Allora provo a copiarlo manualmente, ma quando rispondo YES alla richiesta di sovrascrivere il file il sistema si impalla, come se entrasse in un loop furioso perchè non riesce a portare a termine l'operazione.
Per assurdo ho provato a fare lo shutdown da un'altra console, ma il sistema non và giù (credo aspetti che si congluda l'altra operazione, che non riesco a sbloccare).
Così non mi resta altro da fare che CTRL+ALT+CANC.

Ho notato una cosa:
il file che dovrebbe essere sovrascritto ha dimensione 0, ma quando vado a vederlo dopo il riavvio del sistema (che avviene regolare) la sua dimensione è come quella di prima.... GENTOO MISTERY... :? 8O
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
Back to top
View user's profile Send private message
RockSteady
Guru
Guru


Joined: 28 Jun 2003
Posts: 432
Location: mestre - venice -italy

PostPosted: Tue Oct 26, 2004 8:14 am    Post subject: Reply with quote

non e consigliabile ricompilare il kernel con genkernel che la maggior parte delle volte fa casino
ho iniziato anche io con genkernel ma t assicuro che e meglio fare tutto a mano non e difficile come credi e come credevo io al inizio basta seguire le ottime guide che c sono qui su questo portale e stare un pelino attento a seconda del tuo hw :)
(consiglio personale) :D
_________________
Linux yoyo 2.6.5 #2 SMP Sat May 22 10:52:10 Local time zone must be set--see zic i686 mobile AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31210
Location: here

PostPosted: Tue Oct 26, 2004 8:15 am    Post subject: Reply with quote

Questo post https://forums.gentoo.org/viewtopic.php?p=1659971 e' un buon inizio
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 416
Location: Brescia

PostPosted: Tue Oct 26, 2004 10:53 am    Post subject: Reply with quote

Inizialmente ero partito con il voler compilare manualmente il kernel come ho fatto con il mio server, poi dato che dopo vari tentativi falliti non riuscivo a configurarlo correttamente (Linux è montato su un portatile compaq presario 2500), sono passato a genkernel, che mi ha compiltato correttamente tutto.

Dato che avevo una scheda wireless (D-Link DWL-G650+) ho trovato in giro come installare i driver, peccato che la cosa comportava:
- aggiungere i driver all'albero del kernel (make inject)
- configurare il kernel per caricare il driver (ovviamente avendo l'hotplug lo carico come modulo)
- ricompilare il kernel cosicchè venisse generato il modulo compilato e pronto per essere caricato.

Il problema è che l'ultimo passaggio non son riuscito a farlo per il problema segnalato nel post precedente.

Stavo pensando quasi quasi di montare la partizione di boot, rinominare / eliminare i vecchi file (kernel e system.map), quindi rilanciare genkernel...

Secondo voi è una cosa corretta e fattibile...
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31210
Location: here

PostPosted: Tue Oct 26, 2004 12:19 pm    Post subject: Reply with quote

Controlla se in /usr/src/linux esista il file in questione
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 416
Location: Brescia

PostPosted: Tue Oct 26, 2004 1:18 pm    Post subject: Reply with quote

il file /usr/src/linux/System.map esiste ed ha anche una dimensione corretta (>0).
Quello che invece mi sembra scorretto è quello in boot, che dopo aver ricevuto l'errore da genkernel risulta di 0 byte...

THE MISTERY OF GENTOO DISTRO..... :twisted:
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
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