Page 1 sur 1
[boot] Unable to determine major/minor...(résolu)
Publié : dim. 01 janv. 2012, 01:23
par @manubreizh
Bonsoir,
2012 commence bien !!!
Suite a une mise a jour du Kernel 3.15 vers 3.16, arch ne demarre plus... au demarrage j'ai le message suivant :
je ne sais pas comment faire, j'ai eu effectivement pas mal d'erreur lors de l'installation du kernel, Je n'aurais pas du rebooter.
Est t'il possible de revenir au kernel d'avant ? ou comment regler cela
Je suis nouveau sur arch et je craignais ce qui m'arrive...
Merci d'avance de votre aide et bonne années 2012

Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 09:28
par FoolEcho
@manubreizh a écrit :je ne sais pas comment faire, j'ai eu effectivement pas mal d'erreur lors de l'installation du kernel, Je n'aurais pas du rebooter.
Il nous faudrait ces messages... Si c'est consécutif à l'installation par pacman, merci de nous poster le passage adéquat du /var/log/pacman.log.
@manubreizh a écrit :Est t'il possible de revenir au kernel d'avant ? ou comment regler cela
Il y a différents sujets là-dessus. La première chose, au moyen d'un livecd ou d'une autre distribution installée, est de vérifier que ton /boot/grub/menu.lst et ton fstab utilise bien les uuids plutôt que /dev/sdXY pour désigner les partitions.
Pour revenir au kernel précédent, il te suffit d'utiliser le cache de pacman si tu as toujours le paquet ou ARM. Downgrade
Pour faire ces opérations de maintenance, tu auras besoin d'un autre système ou d'un livecd dans lequel monter tes partitions d'Arch, voire de faire un chroot (peu importe la distribution, il faut juste que l'architecture colle: c'est-à-dire 64 bits si Arch est du 64 bits). Pour faire un chroot, regarde sur le wiki et le forum, tu as des exemples (si tu n'es pas sûr, poste-nous le /etc/fstab d'Arch +
fdisk -l
(en root) +
blkid
).
Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 12:08
par @manubreizh
Merci de me repondre si vite. Comme lu dans des posts, j'ai verifié mon menu.lst et mon fstab et je n'y ai pas vu de problème.
Les messages lors de l'installation du kernel sont les suivants
Code : Tout sélectionner
2011-12-31 19:03] >>> Updating module dependencies. Please wait ...
[2011-12-31 19:03] /tmp/alpm_gPHmhX/.INSTALL: line 56: depmod: command not found
[2011-12-31 19:03] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2011-12-31 19:03] ==> Building image from preset: 'default'
[2011-12-31 19:03] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2011-12-31 19:03] ==> Starting build: 3.1.6-1-ARCH
[2011-12-31 19:03] -> Parsing hook: [base]
[2011-12-31 19:03] -> Parsing hook: [udev]
[2011-12-31 19:03] -> Parsing hook: [autodetect]
[2011-12-31 19:03] -> Parsing hook: [pata]
[2011-12-31 19:03] ==> ERROR: module not found: `pata_amd'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_acpi'
[2011-12-31 19:03] -> Parsing hook: [scsi]
[2011-12-31 19:03] -> Parsing hook: [sata]
[2011-12-31 19:03] -> Parsing hook: [filesystems]
[2011-12-31 19:03] -> Parsing hook: [usbinput]
[2011-12-31 19:03] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2011-12-31 19:03] ==> WARNING: errors were encountered during the build. The image may not be complete.
[2011-12-31 19:03] ==> Image generation successful
[2011-12-31 19:03] ==> Building image from preset: 'fallback'
[2011-12-31 19:03] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2011-12-31 19:03] ==> Starting build: 3.1.6-1-ARCH
[2011-12-31 19:03] -> Parsing hook: [base]
[2011-12-31 19:03] -> Parsing hook: [udev]
[2011-12-31 19:03] -> Parsing hook: [pata]
[2011-12-31 19:03] ==> ERROR: module not found: `pata_hpt3x3'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_netcell'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_cmd64x'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_mpiix'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_legacy'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_efar'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_amd'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_sch'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_sis'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_sc1200'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_ninja32'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_optidma'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_cypress'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_piccolo'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_hpt366'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_opti'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_cs5536'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_cmd640'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_sl82c105'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_jmicron'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_rz1000'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_it8213'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_atp867x'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_ns87410'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_acpi'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_via'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_triflex'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_serverworks'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_ali'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_cs5520'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_cs5530'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_pdc202xx_old'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_hpt3x2n'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_rdc'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_it821x'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_sil680'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_ns87415'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_hpt37x'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_pdc2027x'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_oldpiix'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_marvell'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_radisys'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_arasan_cf'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_pcmcia'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_atiixp'
[2011-12-31 19:03] ==> ERROR: module not found: `pata_artop'
[2011-12-31 19:03] ==> ERROR: module not found: `ata_generic'
[2011-12-31 19:03] ==> ERROR: module not found: `ata_piix'
[2011-12-31 19:03] -> Parsing hook: [scsi]
[2011-12-31 19:03] -> Parsing hook: [sata]
[2011-12-31 19:03] -> Parsing hook: [filesystems]
[2011-12-31 19:03] -> Parsing hook: [usbinput]
[2011-12-31 19:03] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2011-12-31 19:03] ==> WARNING: errors were encountered during the build. The image may not be complete.
[2011-12-31 19:03] ==> Image generation successful
[2011-12-31 19:03] upgraded linux (3.1.5-1 -> 3.1.6-1)
[2011-12-31 19:03] upgraded linux-headers (3.1.5-1 -> 3.1.6-1)
ca en fait pas mal !!!!
J'ai suivi la page du wiki : Kernel Panic. J'ai chroote mon installation et je vais reinstaller le kernel 3.1.6 ....
on va voir si c'est pareil ....
Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 12:24
par FoolEcho
@manubreizh a écrit :[2011-12-31 19:03] /tmp/alpm_gPHmhX/.INSTALL: line 56: depmod: command not found
Je pense que le problème vient de là.
Comme il serait plus qu'étonnant que tu n'aies pas le paquet module-init-tools, peut-être est-il corrompu ou plus probablement ton PATH n'est pas bon (il manquerait /sbin).
En root, depuis un chroot d'Arch forcément, que donne:
Il y avait un sujet qui parlait de ça, il y a un moment... j'édite si je le retrouve...
EDIT:
http://forums.archlinux.fr/post69916.ht ... mod#p69916
http://forums.archlinux.fr/topic8137-20 ... lit=depmod
Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 13:17
par @manubreizh
alors la commande pacman donne :
J'ai reinstallé le kernel 3.1.6 et la aucune erreur... mais rebootage toujours impossible. Je me demande si je ne doit pas repasser au 3.1.5. Je te met le pacman.log :
Code : Tout sélectionner
[2012-01-01 12:25] Running 'pacman -U /var/cache/pacman/pkg/linux-3.1.6-1-x86_64.pkg.tar.xz'
[2012-01-01 12:25] >>> Updating module dependencies. Please wait ...
[2012-01-01 12:25] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2012-01-01 12:25] ==> Building image from preset: 'default'
[2012-01-01 12:25] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2012-01-01 12:25] ==> Starting build: 3.1.6-1-ARCH
[2012-01-01 12:25] -> Parsing hook: [base]
[2012-01-01 12:25] -> Parsing hook: [udev]
[2012-01-01 12:25] -> Parsing hook: [autodetect]
[2012-01-01 12:25] -> Parsing hook: [pata]
[2012-01-01 12:25] -> Parsing hook: [scsi]
[2012-01-01 12:25] -> Parsing hook: [sata]
[2012-01-01 12:25] -> Parsing hook: [filesystems]
[2012-01-01 12:25] -> Parsing hook: [usbinput]
[2012-01-01 12:25] ==> Generating module dependencies
[2012-01-01 12:25] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2012-01-01 12:25] ==> Image generation successful
[2012-01-01 12:25] ==> Building image from preset: 'fallback'
[2012-01-01 12:25] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2012-01-01 12:25] ==> Starting build: 3.1.6-1-ARCH
[2012-01-01 12:25] -> Parsing hook: [base]
[2012-01-01 12:25] -> Parsing hook: [udev]
[2012-01-01 12:25] -> Parsing hook: [pata]
[2012-01-01 12:25] -> Parsing hook: [scsi]
[2012-01-01 12:25] -> Parsing hook: [sata]
[2012-01-01 12:25] -> Parsing hook: [filesystems]
[2012-01-01 12:25] -> Parsing hook: [usbinput]
[2012-01-01 12:25] ==> Generating module dependencies
[2012-01-01 12:25] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2012-01-01 12:25] ==> Image generation successful
[2012-01-01 12:25] upgraded linux (3.1.6-1 -> 3.1.6-1)
#
Avant, je te met le fstab et le menu.lst au cas ou tu vois un truc gros comme une maison
Code : Tout sélectionner
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
UUID=080c3e88-a5a9-4680-8023-47d7efd268db swap swap defaults 0 0
UUID=28f8b284-87f4-47eb-a09f-02c1cf165d10 /boot ext2 defaults 0 1
UUID=559ce83c-963e-4d29-be64-82c99e16f53e / ext4 defaults 0 1
UUID=f901ac98-cbf7-4711-9e52-509b696ca0f2 /home ext4 defaults 0 1
et ...
Code : Tout sélectionner
RT# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/559ce83c-963e-4d29-be64-82c99e16f53e ro
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/559ce83c-963e-4d29-be64-82c99e16f53e ro
initrd /initramfs-linux-fallback.img
Voila, j'attends d'eventuels suggestions avant de faire autre chose...
Merci d'avance
Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 14:00
par FoolEcho
"RT" ? C'est une coquille où c'est vraiment dans le menu.lst ?
@manubreizh a écrit :J'ai reinstallé le kernel 3.1.6 et la aucune erreur... mais rebootage toujours impossible.
Sinon, tu peux mettre le message d'erreur exact ?
Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 14:45
par @manubreizh
le message d'erreur au demarrage c'est :
Code : Tout sélectionner
Waiting 10 seconds for device /dev/disk/by-uuid/559ce83c-963e-4d29be64-82c99e16f53e ...
ERROR: Unable to determine major/minor number of root device '/dev/disk/by-uuid/559ce83c-963e-4d29be64-82c99e16f53e'
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[ramfs /]#
Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 14:52
par @manubreizh
pour le menu.lst, c'est une coquille lors de la sauvegarde du fichier

Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 15:15
par @manubreizh
Bon bein ca y est, j'ai reglé mon problème

.
J'ai re chrooté mon système et est réinstallé la dernière version du kernel (3.1.6) En rebootant ça à marché !!! ??? Bon, j'ai pas tous compris mais bon... Je vais quand même engoisser a la prochaine mise a jour de kernel...
En tous cas, merci de ton aide

Re: [boot] Unable to determine mzajor/minor
Publié : dim. 01 janv. 2012, 15:43
par Gr3e
Ne stresse pas, c'est en forgeant qu'on devient forgeron et j'en sais quelque chose !! C'est les avantages et les inconvénients d'un rolling distrib ...
Pour éviter tout stress je te conseille de cloner ton système sain sur un autre disque dur, en cas de souci hop on se met sur l'autre on réfléchit tranquillement au problème. Et on a les avantages du plantage (sisi) sans les inconvénients !
Bonne journée
Re: [boot] Unable to determine mzajor/minor...(resolu)
Publié : dim. 01 janv. 2012, 15:56
par @manubreizh
ha oui bon idée de cloner son système...
Mais comment on fait, en fait ? parce que moi je suis à mon compte et j'ai besoin de mon ordi tous les jours... La ça tombait bien... je travaillais pas dessus mais pour d'autre fois...
Merci d'avance
Re: [boot] Unable to determine mzajor/minor...(resolu)
Publié : dim. 01 janv. 2012, 16:03
par Gr3e
Si tu as deux disques durs de la même taille un sda qui est ton système et un sdb qui est ton disque vierge ou à écraser tu fais simplement :
L'avantage clonage exact du moindre octet de ton système donc si ton sda plante tu connectes ton sdb à ton pc tu boot et c'est fonctionnel sans rien faire.
L'inconvénient c'est que c'est long (17heures pour 1To dans mon cas) mais je ne le fais qu'une fois par mois donc cela ne me gène pas !
Il y à d'autres moyens peut-être plus adaptés à ton cas ou que tu peux préférer, essayes de parcourir le forum tu verras pas mal de post la dessus
Re: [boot] Unable to determine mzajor/minor...(resolu)
Publié : dim. 01 janv. 2012, 17:39
par FoolEcho
Tu as également un certain nombre de conseils par là (comme la sauvegarde de la liste des paquets):
https://wiki.archlinux.org/index.php/En ... ractices_2.
Re: [boot] Unable to determine mzajor/minor...(resolu)
Publié : dim. 01 janv. 2012, 19:29
par @manubreizh
Merci à tout les deux et meilleurs voeux pour 2012

Re: [boot] Unable to determine major/minor...(resolu)
Publié : mer. 18 janv. 2012, 22:58
par @manubreizh
Bonjour, je fait un deterrage de mon propre sujet : lors de la derniere maj j'ai les message suivants :
Code : Tout sélectionner
( 97/129) upgrading linux [-------------------------------------] 100%
>>> Updating module dependencies. Please wait ...
/tmp/alpm_ZOKzzy/.INSTALL: line 53: depmod: command not found
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.2.1-1-ARCH
-> Parsing hook: [base]
-> Parsing hook: [udev]
-> Parsing hook: [pata]
==> ERROR: module not found: `pata_hpt3x3'
==> ERROR: module not found: `pata_netcell'
==> ERROR: module not found: `pata_cmd64x'
==> ERROR: module not found: `pata_mpiix'
==> ERROR: module not found: `pata_legacy'
==> ERROR: module not found: `pata_efar'
==> ERROR: module not found: `pata_amd'
==> ERROR: module not found: `pata_sch'
==> ERROR: module not found: `pata_sis'
==> ERROR: module not found: `pata_sc1200'
==> ERROR: module not found: `pata_ninja32'
==> ERROR: module not found: `pata_optidma'
==> ERROR: module not found: `pata_cypress'
==> ERROR: module not found: `pata_piccolo'
==> ERROR: module not found: `pata_hpt366'
==> ERROR: module not found: `pata_opti'
==> ERROR: module not found: `pata_cs5536'
==> ERROR: module not found: `pata_cmd640'
==> ERROR: module not found: `pata_sl82c105'
==> ERROR: module not found: `pata_jmicron'
==> ERROR: module not found: `pata_rz1000'
==> ERROR: module not found: `pata_it8213'
==> ERROR: module not found: `pata_atp867x'
==> ERROR: module not found: `pata_ns87410'
==> ERROR: module not found: `pata_acpi'
==> ERROR: module not found: `pata_via'
==> ERROR: module not found: `pata_triflex'
==> ERROR: module not found: `pata_serverworks'
==> ERROR: module not found: `pata_ali'
==> ERROR: module not found: `pata_cs5520'
==> ERROR: module not found: `pata_cs5530'
==> ERROR: module not found: `pata_pdc202xx_old'
==> ERROR: module not found: `pata_hpt3x2n'
==> ERROR: module not found: `pata_rdc'
==> ERROR: module not found: `pata_it821x'
==> ERROR: module not found: `pata_sil680'
==> ERROR: module not found: `pata_ns87415'
==> ERROR: module not found: `pata_hpt37x'
==> ERROR: module not found: `pata_pdc2027x'
==> ERROR: module not found: `pata_oldpiix'
==> ERROR: module not found: `pata_marvell'
==> ERROR: module not found: `pata_radisys'
==> ERROR: module not found: `pata_arasan_cf'
==> ERROR: module not found: `pata_pcmcia'
==> ERROR: module not found: `pata_atiixp'
==> ERROR: module not found: `pata_artop'
==> ERROR: module not found: `ata_generic'
==> ERROR: module not found: `ata_piix'
-> Parsing hook: [scsi]
-> Parsing hook: [sata]
-> Parsing hook: [filesystems]
-> Parsing hook: [usbinput]
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Image generation successful
Pour l'instant, je n’éteins pas mon PC mais faudra bien le faire à un moment donné... Avez vous une idée si je risque quelquechose et que dois je faire pour l'eviter ?
Merci d'avance
Re: [boot] Unable to determine major/minor...(résolu)
Publié : jeu. 19 janv. 2012, 19:06
par @manubreizh
Bon bein c'était un problème de path du compte root qui empêchait depmod de s’exécuter.
Code : Tout sélectionner
/tmp/alpm_ZOKzzy/.INSTALL: line 53: depmod: command not found
J'ai modifié le Path du compte root et ai relancé la compilation du kernel et hop c'est bon maintenant (et aux prochaines mise à jour je pense!)