Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

compilation du noyau et mauvais modules au démarrages

2 réponses
Avatar
Jean-Paul Lacquement
Bonjour,

J'ai compil=E9 un noyau ce matin(2.6.22 avec patch mm1).
Pour ce faire, j'ai =E9t=E9 ici:
http://www.debian-fr.org/article.php?page=3Dviewarticle&article=3D29

Ensuite, au reboot, le mkinitrd manquait. J'ai donc utilis=E9

mkinitrd.yaird -o /boot/initrd.img-2.6.22-mm1-mm1

Au boot, voici le genre de messages que j'obtiens:

evdev: disagrees about version of symbol strict_module: -1 invalid module f=
ormat

Dans les autres lignes qui suivent, il semble faire r=E9f=E9rence aux
modules du noyau 2.6.18 install=E9 sur ma machine =E9galement. En gros, je
pense qu'au lieu de prendre les modules dans /lib/modules/2.6.22-mm1,
il va dans /lib/modules/2.6.18

Bizarre, non?

Voici le contenu de /boot

-rw-r--r-- 1 root root 70781 2007-03-26 18:32 config-2.6.18-4-686
-rw-r--r-- 1 root root 65101 2007-05-31 09:39 config-2.6.22-rc2-mm1-mm1
drwxr-xr-x 3 root root 472 2007-05-31 11:43 grub
-rw-r--r-- 1 root root 5420052 2007-05-16 17:32 initrd.img-2.6.18-4-686
-rw-r--r-- 1 root root 5395196 2007-05-09 14:19 initrd.img-2.6.18-4-686.bak
-rw------- 1 root root 1153165 2007-05-31 11:35 initrd.img-2.6.22-rc2-mm1-m=
m1
-rw-r--r-- 1 root root 722037 2007-03-27 00:42 System.map-2
.6.18-4-686
-rw-r--r-- 1 root root 795611 2007-05-31 10:52 System.map-2.6.22-rc2-mm1-m=
m1
-rw-r--r-- 1 root root 1260290 2007-03-27 00:42 vmlinuz-2.6.18-4-686
-rw-r--r-- 1 root root 1532408 2007-05-31 10:52 vmlinuz-2.6.22-rc2-mm1-mm1


Voici mon menu.lst de grub:


splashimage=3D(hd0,4)/boot/grub/splash.xpm.gz

title Debian GNU/Linux, kernel 2.6.22-rc2-mm1-mm1
root (hd0,4)
kernel /boot/vmlinuz-2.6.22-rc2-mm1-mm1 root=3D/dev/hda5 ro
initrd /boot/initrd.img-2.6.22-rc2-mm1-mm1
savedefault

title Debian GNU/Linux, kernel 2.6.22-rc2-mm1-mm1 (single-user mo=
de)
root (hd0,4)
kernel /boot/vmlinuz-2.6.22-rc2-mm1-mm1 root=3D/dev/hda5 ro single
initrd /boot/initrd.img-2.6.22-rc2-mm1-mm1
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=3D/dev/hda5 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=3D/dev/hda5 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault


title Other operating systems:
root


title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1


Une id=E9e?

Zelos

2 réponses

Avatar
Guy Roussin
mkinitrd.yaird a visiblement utilisé le noyau courant (2.6.18)
pour produire l'initrd. Essayes peut-être d'utiliser directement
la commande yaird qui te permettra de passer en parametre
le bon numero de noyau ...

Guy

Jean-Paul Lacquement a écrit :
Bonjour,

J'ai compilé un noyau ce matin(2.6.22 avec patch mm1).
Pour ce faire, j'ai été ici:
http://www.debian-fr.org/article.php?page=viewarticle&article)

Ensuite, au reboot, le mkinitrd manquait. J'ai donc utilisé

mkinitrd.yaird -o /boot/initrd.img-2.6.22-mm1-mm1

Au boot, voici le genre de messages que j'obtiens:

evdev: disagrees about version of symbol strict_module: -1 invalid
module format

Dans les autres lignes qui suivent, il semble faire référence aux
modules du noyau 2.6.18 installé sur ma machine également. En gros, je
pense qu'au lieu de prendre les modules dans /lib/modules/2.6.22-mm1,
il va dans /lib/modules/2.6.18

Bizarre, non?

Voici le contenu de /boot

-rw-r--r-- 1 root root 70781 2007-03-26 18:32 config-2.6.18-4-686
-rw-r--r-- 1 root root 65101 2007-05-31 09:39 config-2.6.22-rc2-mm1-m m1
drwxr-xr-x 3 root root 472 2007-05-31 11:43 grub
-rw-r--r-- 1 root root 5420052 2007-05-16 17:32 initrd.img-2.6.18-4-686
-rw-r--r-- 1 root root 5395196 2007-05-09 14:19 initrd.img-2.6.18-4-686 .bak
-rw------- 1 root root 1153165 2007-05-31 11:35
initrd.img-2.6.22-rc2-mm1-mm1
-rw-r--r-- 1 root root 722037 2007-03-27 00:42 System.map-2
.6.18-4-686
-rw-r--r-- 1 root root 795611 2007-05-31 10:52
System.map-2.6.22-rc2-mm1-mm1
-rw-r--r-- 1 root root 1260290 2007-03-27 00:42 vmlinuz-2.6.18-4-686
-rw-r--r-- 1 root root 1532408 2007-05-31 10:52 vmlinuz-2.6.22-rc2-mm1- mm1


Voici mon menu.lst de grub:


splashimage=(hd0,4)/boot/grub/splash.xpm.gz

title Debian GNU/Linux, kernel 2.6.22-rc2-mm1-mm1
root (hd0,4)
kernel /boot/vmlinuz-2.6.22-rc2-mm1-mm1 root=/dev/hda5 ro
initrd /boot/initrd.img-2.6.22-rc2-mm1-mm1
savedefault

title Debian GNU/Linux, kernel 2.6.22-rc2-mm1-mm1 (single-use r
mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.22-rc2-mm1-mm1 root=/dev/hda5 ro si ngle
initrd /boot/initrd.img-2.6.22-rc2-mm1-mm1
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda5 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode )
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault


title Other operating systems:
root


title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1


Une idée?

Zelos





Avatar
Zelos
Impeccable. Ca fonctionne!


Merci bcp.


Guy Roussin wrote:

mkinitrd.yaird a visiblement utilisé le noyau courant (2.6.18)
pour produire l'initrd. Essayes peut-être d'utiliser directement
la commande yaird qui te permettra de passer en parametre
le bon numero de noyau ...

Guy

Jean-Paul Lacquement a écrit :
Bonjour,

J'ai compilé un noyau ce matin(2.6.22 avec patch mm1).
Pour ce faire, j'ai été ici:
http://www.debian-fr.org/article.php?page=viewarticle&article)

Ensuite, au reboot, le mkinitrd manquait. J'ai donc utilisé

mkinitrd.yaird -o /boot/initrd.img-2.6.22-mm1-mm1

Au boot, voici le genre de messages que j'obtiens:

evdev: disagrees about version of symbol strict_module: -1 invalid
module format

Dans les autres lignes qui suivent, il semble faire référence aux
modules du noyau 2.6.18 installé sur ma machine également. En gros, je
pense qu'au lieu de prendre les modules dans /lib/modules/2.6.22-mm1,
il va dans /lib/modules/2.6.18

Bizarre, non?

Voici le contenu de /boot

-rw-r--r-- 1 root root 70781 2007-03-26 18:32 config-2.6.18-4-686
-rw-r--r-- 1 root root 65101 2007-05-31 09:39
config-2.6.22-rc2-mm1-mm1
drwxr-xr-x 3 root root 472 2007-05-31 11:43 grub
-rw-r--r-- 1 root root 5420052 2007-05-16 17:32 initrd.img-2.6.18-4-686
-rw-r--r-- 1 root root 5395196 2007-05-09 14:19
initrd.img-2.6.18-4-686.bak
-rw------- 1 root root 1153165 2007-05-31 11:35
initrd.img-2.6.22-rc2-mm1-mm1
-rw-r--r-- 1 root root 722037 2007-03-27 00:42 System.map-2
.6.18-4-686
-rw-r--r-- 1 root root 795611 2007-05-31 10:52
System.map-2.6.22-rc2-mm1-mm1
-rw-r--r-- 1 root root 1260290 2007-03-27 00:42 vmlinuz-2.6.18-4-686
-rw-r--r-- 1 root root 1532408 2007-05-31 10:52
vmlinuz-2.6.22-rc2-mm1-mm1


Voici mon menu.lst de grub:


splashimage=(hd0,4)/boot/grub/splash.xpm.gz

title Debian GNU/Linux, kernel 2.6.22-rc2-mm1-mm1
root (hd0,4)
kernel /boot/vmlinuz-2.6.22-rc2-mm1-mm1 root=/dev/hda5 ro
initrd /boot/initrd.img-2.6.22-rc2-mm1-mm1
savedefault

title Debian GNU/Linux, kernel 2.6.22-rc2-mm1-mm1
(single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.22-rc2-mm1-mm1 root=/dev/hda5 ro
single
initrd /boot/initrd.img-2.6.22-rc2-mm1-mm1
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda5 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault


title Other operating systems:
root


title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1


Une idée?

Zelos










--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact