Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] svgalib vuole kernel preparato: ma uso genkernel!
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
dark_knight
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2006
Posts: 112

PostPosted: Sat Sep 30, 2006 1:12 pm    Post subject: [risolto] svgalib vuole kernel preparato: ma uso genkernel! Reply with quote

Salve a tutti

Poco fa, mentre aggiornavo il sistema, emerge ha tentato di aggiornare il pacchetto media-libs/svgalib dalla versione 1.9.24 alla 1.9.25. Subito dopo il fetch, la procedura si interrompe con un:
Code:
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.17-gentoo-r8

 * These sources have not yet been prepared.
 * We cannot build against an unprepared tree.
 * To resolve this, please type the following:
 *
 * # cd /usr/src/linux
 * # make oldconfig
 * # make modules_prepare
 *
 * Then please try merging this module again.

!!! ERROR: media-libs/svgalib-1.9.25 failed.

Dunque, io uso genkernel per compilare il kernel ed uso la release 2.6.17-gentoo-r8 da tempo (fin da quando è diventata stabile). Quello che mi chiedo è: come è possibile che emerge non trovi il kernel compilato?
Non avrei nessun problema a seguire la procedura suggerita dal messaggio d'errore e compilare a mano, ma perchè dovrei farlo due volte se ci ha già pensato genkernel, a suo tempo? Alla stessa maniera, però, preferirei non mischiare i due metodi di compilazione (trovandomi già abbastanza bene con la procedura automatizzata fornita da genkernel).
_________________
You can say that you are a true Gentoo-addicted when you type emerge --update --deep --newuse happiness.


Last edited by dark_knight on Sun Oct 01, 2006 11:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Oct 01, 2006 8:36 am    Post subject: Reply with quote

si in effetti non è molto normale...
hai controllato che -ad es- l'immagine del kernel sia compilata e che /usr/src/linux punti ai sorgenti che stai attualmente usando?
per vedere il kernel che stai usando dai
Code:
# uname -a

poi un bel listato di
Code:
# ls -l /usr/src/

ed infine (supponendo che tu sia sotto x86)
Code:
# ls -l /usr/src/linux/arch/i386/boot/bzImage

se è veramente possibile che il kernel sia stato ripulito e quindi abbisogni una ricompilata, se genkernel ti ha salvato da qualche parte il .config (o se questo è presente in /usr/src/linux/) dare
Code:
# make oldconfig
è completamente indolore, non ti incasina niente e non entra in conflitto con genkernel.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
dark_knight
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2006
Posts: 112

PostPosted: Sun Oct 01, 2006 10:36 am    Post subject: Reply with quote

Dunque... uso l'ultimo kernel stabile
Code:
dark@darkplace /usr/src $ uname -a
Linux darkplace 2.6.17-gentoo-r8 #1 SMP Mon Sep 11 21:33:28 CEST 2006 i686 Intel(R) Pentium(R) M processor 1.60GHz GNU/Linux

/usr/src/linux punta al sorgente corretto
Code:
dark@darkplace /usr/src $ ls -l
totale 12
lrwxrwxrwx  1 root root   22 19 set 18:37 linux -> linux-2.6.17-gentoo-r8
drwxr-xr-x 19 root root 4096  7 set 10:58 linux-2.6.17-gentoo-r4
drwxr-xr-x 19 root root 4096 17 set 21:44 linux-2.6.17-gentoo-r7
drwxr-xr-x 19 root root 4096 13 set 16:31 linux-2.6.17-gentoo-r8

ma bzImage non c'è nella directory da te segnalata (si, sono sotto x86)
Code:
dark@darkplace /usr/src/linux/arch/i386/boot $ ls -al
totale 116
drwxr-xr-x  4 root root  4096 13 set 16:30 .
drwxr-xr-x 16 root root  4096 11 set 20:49 ..
-rw-r--r--  1 root root  2156 19 set 18:34 bootsect.S
drwxr-xr-x  2 root root  4096 13 set 16:30 compressed
-rw-r--r--  1 root root  6124 19 set 18:34 edd.S
-rw-r--r--  1 root root    23 19 set 18:34 .gitignore
-rw-r--r--  1 root root  1413 19 set 18:34 install.sh
-rw-r--r--  1 root root  4737 19 set 18:34 Makefile
-rw-r--r--  1 root root   330 19 set 18:34 mtools.conf.in
-rw-r--r--  1 root root 26129 19 set 18:34 setup.S
drwxr-xr-x  2 root root  4096 13 set 16:30 tools
-rw-r--r--  1 root root 40666 19 set 18:34 video.S

Il .config, però, è al suo posto:
Code:
dark@darkplace /usr/src/linux $ ls -al .config
-rw-r--r-- 1 root root 50541 13 set 16:31 .config


Ora provo...

Aggiornamento: ricompilato il kernel, con genkernel (cosa che avevo già fatto da tempo), l'emerge funziona senza problemi... strano, però, non capisco come mai...
[risolto] ;)
_________________
You can say that you are a true Gentoo-addicted when you type emerge --update --deep --newuse happiness.
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Oct 01, 2006 5:39 pm    Post subject: Reply with quote

ottimo... si cmq anche dando `make oldconfig`, sebbene tu abbia sempre usato genkernel, non disturbava assolutamente, né gli poteva rompere le balle.

;)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
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