Re: compilation du noyau et mauvais modules au démarrages
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=viewarticlearticle=29 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
Re: compilation du noyau et mauvais modules au démarrages
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=viewarticlearticle=29 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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
compilation du noyau et mauvais modules au démarrages
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=viewarticlearticle=29 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