View previous topic :: View next topic |
Author |
Message |
berto79 n00b
Joined: 31 May 2004 Posts: 4
|
Posted: Mon May 31, 2004 9:08 pm Post subject: Il Kernel 2.6 non completa il boot |
|
|
Salve a tutti, in questo momento ho su un kernel 2.4.25. Volevo provare ad installare un 2.6.5 e, con grub, a tenermi sia uno che l'altro. Il kernel 2.4, quello che avevo scelto durante l'installazione va benissimo. Il problema è col 2.6... Io divento root, cambio il link simbolico di usr/src/linux, ci entro dentro, faccio :
make mrproper
make menuconfig (configuro tutto)
make
make modules_install
mount /boot
cp arch/i386/boot/bzImage /boot/bzImage-2.6.5b
Queste le istruzioni che eseguo. Poi ho modificato il file /boot/grub.conf e questo è il file risultante (c'è il kernel originale, kernel-2.4.25, che va, e gli altri due, bzImage-2.6.5 e bzImage-2.6.5b, che non vanno entrambi). Questo il file:
----------grub.conf----------------------
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
title= Kernel 2.4.25 (Modalità Video console)
root (hd0,0)
kernel (hd0,0)/kernel-2.4.25 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
initrd=/boot/initrd-1280x1024
title= Kernel 2.4.25 (Modalità Text-Only)
root (hd0,0)
kernel (hd0,0)/kernel-2.4.25 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
title= Kernel 2.6.5 (Modalità Video console)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
initrd=/boot/initrd-1280x1024
title= Kernel 2.6.5 (Modalità Text-Only)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
title= Kernel nuovo (Video)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5b root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
initrd=/boot/initrd-1280x1024
title=Kernel nuovo (Testo)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5b root=/dev/hda3
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
title= Kernel 2.4.25 (Modalità Video console)
root (hd0,0)
kernel (hd0,0)/kernel-2.4.25 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
initrd=/boot/initrd-1280x1024
title= Kernel 2.4.25 (Modalità Text-Only)
root (hd0,0)
kernel (hd0,0)/kernel-2.4.25 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
title= Kernel 2.6.5 (Modalità Video console)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
initrd=/boot/initrd-1280x1024
title= Kernel 2.6.5 (Modalità Text-Only)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5 root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
title= Kernel nuovo (Video)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5b root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A
initrd=/boot/initrd-1280x1024
title=Kernel nuovo (Testo)
root (hd0,0)
kernel (hd0,0)/bzImage-2.6.5b root=/dev/hda3
--------fine grub.conf---------------------------------
Il problema è che non capisco perchè si blocca, dato che non da alcun messaggio di errore. Arriva, nelle schermate iniziali a scrivere:
hda: Western digital ecc.
hdc: Master ecc
hdd: Liteon ecc
Poi qua si pianta. Semplicemente, smette di andare. Rimane muto. Ho controllato nel kernel 2.4 cosa fa dopo, fa un check dello stato di ReiserFS (mi sono ricordato di includerlo, ho già controllato)... Altre cose strane... ho installato bootsplash (e nella configurazione del kernel 2.6 ho quindi aggiunto i character device) e i sensori per gkrellm (e qua per il 2.6 ho aggiunto il supporto a I2C)... Altre cose... ho devfs installato, e non ho udev... mi sono ricordato anche questo di aggiungerlo nel kernel 2.6 e ho attivato l'opzione per farlo aprtire automaticamente al boot... altre cose non mi vengono in mente. Mi sono letto la troubleshooting del Kernel HOWTO, ma non trovo niente riconducibile al mio problema.... voi avete qualche idea?
Grazie a tutti quelli che sono arrivati a leggere fino a qua
Ciao
|
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Mon May 31, 2004 9:18 pm Post subject: |
|
|
Mamma mia che grub.conf lungo!!
Magari non hai compilato il supporto per reiserfs...
Controlla facendo
Code: | #cd /usr/src/linux
#make menuconfig |
se non hai cancellato il file .configure e se non l'hai cambiato ti fa vedere che opzioni hai usato per la compilazione, io me lo son scordato un paio di volte di mettere il supporto per reiserfs (che tra l'altro mi sta deludendo, prossima volta metto ext3). |
|
Back to top |
|
|
berto79 n00b
Joined: 31 May 2004 Posts: 4
|
Posted: Mon May 31, 2004 9:28 pm Post subject: |
|
|
Anche io avevo lo stesso dubbio, invece purtroppo ho controllato e il supporto a ReiserFS è abilitato... altre possibilità vi vengono in mente? |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Mon May 31, 2004 9:32 pm Post subject: |
|
|
azz l'avevi pure scritto...
Non so... dai un occhio ai logs se ti riesce, ricontrollati tutte le opzioni magrari hai messo qualcosa di brutto... ?boh? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31453 Location: here
|
Posted: Tue Jun 01, 2004 6:10 am Post subject: |
|
|
Non ti da nessun kenel panic? Si blocca li e basta? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
berto79 n00b
Joined: 31 May 2004 Posts: 4
|
Posted: Tue Jun 01, 2004 6:28 am Post subject: |
|
|
Esattamente. Nessun kernel panic e nessun messaggio d'errore. Ora ho provato a fare un kernel 2.6 minimale, non c'è quasi niente dentro, e così funziona. Ora volevo provare piano piano ad aggiungere funzioni per cercare di capire cosa gli da fastidio |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Tue Jun 01, 2004 6:35 am Post subject: |
|
|
berto79 wrote: | Ora volevo provare piano piano ad aggiungere funzioni per cercare di capire cosa gli da fastidio |
Potresti anche provare direttamente una configurazione simile a quella che hai nel 2.4 con qualcosa tipo:
Code: |
cd /usr/src/linux-2.4.x
cp .config ../config-2.4
cd ../linux-2.6.x
cp ../config-2.4 .config
make oldconfig
|
rispondi tendenzialmente con invio (ovvero la scelta di default) a tutte le domande che ti fa il make oldconfig. _________________ Ciao da me! |
|
Back to top |
|
|
berto79 n00b
Joined: 31 May 2004 Posts: 4
|
Posted: Tue Jun 01, 2004 6:40 am Post subject: |
|
|
Grazie mille, più tardi provo e vi faccio sapere |
|
Back to top |
|
|
eaglematt Tux's lil' helper
Joined: 27 Jan 2004 Posts: 140
|
Posted: Tue Jun 01, 2004 6:53 am Post subject: |
|
|
Mah a me sucedeva quando abilitavo il supporto local APIC
Disabilitato quest'ultimo e il kernel 2.6 finalmete completava il boot
In effetti un bel mistero
prova a controllare il suddetto flag
Ciao Ciao Matt |
|
Back to top |
|
|
|
|
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
|
|