PANNE : Kernel Panic - attempting to kill unit

Forum dédié à la distribution du même nom et que vous pourrez télécharger sur http://www.contribs.org. La nouvelle version de cette distribution se nomme SME Server. Une description est donnée sur le portail phénIXUS : http://www.ixus.net/sme-server/.

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 30 Août 2012 11:11

bon, j'ai 4 clones. Je travaille maintenant sur cela
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 31 Août 2012 14:05

Bon, voila ce que donne un Fdisk -l sur un jeu de clones


root@sysresccd /root % fdisk -l

Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf3d7f3d7

Device Boot Start End Blocks Id System
/dev/sda1 * 63 208844 104391 fd Linux raid autodetect
/dev/sda2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/sdc: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d419e

Device Boot Start End Blocks Id System
/dev/sdc1 * 63 208844 104391 fd Linux raid autodetect
/dev/sdc2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/sdd: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf3d77447

Device Boot Start End Blocks Id System
/dev/sdd1 * 63 208844 104391 fd Linux raid autodetect
/dev/sdd2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dc60e

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 208844 104391 fd Linux raid autodetect
/dev/sdb2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders, total 208640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md0: 213 MB, 213647360 bytes
2 heads, 4 sectors/track, 52160 cylinders, total 417280 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md127: 749.8 GB, 749849149440 bytes
2 heads, 4 sectors/track, 183068640 cylinders, total 1464549120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 196608 bytes
Disk identifier: 0x00000000

Disk /dev/md127 doesn't contain a valid partition table
root@sysresccd /root %


Merci si il y a encore quelqu'un
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 31 Août 2012 17:35

oot@sysresccd /root % fdisk -l

Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf3d7f3d7

Device Boot Start End Blocks Id System
/dev/sda1 * 63 208844 104391 fd Linux raid autodetect
/dev/sda2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/sdc: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d419e

Device Boot Start End Blocks Id System
/dev/sdc1 * 63 208844 104391 fd Linux raid autodetect
/dev/sdc2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/sdd: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf3d77447

Device Boot Start End Blocks Id System
/dev/sdd1 * 63 208844 104391 fd Linux raid autodetect
/dev/sdd2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dc60e

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 208844 104391 fd Linux raid autodetect
/dev/sdb2 208845 488392064 244091610 fd Linux raid autodetect

Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders, total 208640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md0: 213 MB, 213647360 bytes
2 heads, 4 sectors/track, 52160 cylinders, total 417280 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md127: 749.8 GB, 749849149440 bytes
2 heads, 4 sectors/track, 183068640 cylinders, total 1464549120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 196608 bytes
Disk identifier: 0x00000000

Disk /dev/md127 doesn't contain a valid partition table

Disk /dev/sde: 1998 MB, 1998585856 bytes
251 heads, 8 sectors/track, 1943 cylinders, total 3903488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00099ff1

Device Boot Start End Blocks Id System
/dev/sde1 2048 3903487 1950720 7 HPFS/NTFS/exFAT
root@sysresccd /root %
root@sysresccd /root % cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid5 sdc2[2] sda2[0] sdd2[3] sdb2[1]
732274560 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md0 : active raid5 sdb1[0] sdd1[2] sdc1[1]
208640 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

md1 : active raid1 sda1[0]
104320 blocks [3/1] [U__]

unused devices: <none>
root@sysresccd /root %
root@sysresccd /root % mdadm --examine --scan /dev/sda2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e
root@sysresccd /root % mdadm --examine --scan /dev/sdc2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e
root@sysresccd /root % mdadm --examine --scan /dev/sdb2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e
root@sysresccd /root % mdadm --examine --scan /dev/sdd2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e
root@sysresccd /root %
root@sysresccd /root %
root@sysresccd /root % mdadm --examine --scan /dev/sda1
ARRAY /dev/md1 UUID=c01728e5:fe28ef9d:07f0f832:5d57b3c5
root@sysresccd /root % mdadm --examine --scan /dev/sdc1
ARRAY /dev/md0 UUID=d0ee9027:f0bc9e82:012c3ef5:5d73a3ee
root@sysresccd /root % mdadm --examine --scan /dev/sdb1
ARRAY /dev/md0 UUID=d0ee9027:f0bc9e82:012c3ef5:5d73a3ee
root@sysresccd /root % mdadm --examine --scan /dev/sdd1
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 31 Août 2012 17:43

si il y a toujours quelqy'un pour m'aider

je dois reconstituer le schema suivant

md2 active raid 5 sda2(0) sdc2(2) sdb2(1)
md1 active raid 2 sda1(0) sdd1(3) sdc1(2) sdb1(1)

Et la normalement le raid
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 31 Août 2012 18:42

Rebonsoir,


j'ai un autre serveur qui fonctionne sur le même principe. je peux si vous me donnez les bonnes commandes vous donner le schéma de l'organisation.
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

Re: PANNE : Kernel Panic - attempting to kill unit

Message par unnilennium » 01 Sep 2012 03:00

pkege a écrit :root@sysresccd /root % mdadm --examine --scan /dev/sda1
ARRAY /dev/md1 UUID=c01728e5:fe28ef9d:07f0f832:5d57b3c5
root@sysresccd /root % mdadm --examine --scan /dev/sdc1
ARRAY /dev/md0 UUID=d0ee9027:f0bc9e82:012c3ef5:5d73a3ee
root@sysresccd /root % mdadm --examine --scan /dev/sdb1
ARRAY /dev/md0 UUID=d0ee9027:f0bc9e82:012c3ef5:5d73a3ee
root@sysresccd /root % mdadm --examine --scan /dev/sdd1



a priori les disques sd*1 devraient être sur la meme grappe md0 .... mais sda est lié a md1 avec uuid different


commençons par ceci qui est facile : logiquement c'est juste du raid mirror et pas de LVM

sauf qu'on imagine que cet array de boot a été séparé par une fausse manip en deux raid ...

soit
pkege a écrit :md0 : active raid5 sdb1[0] sdd1[2] sdc1[1]
208640 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

un raid avec 3 disque sur 3 en miroir donc fonctionnel
et
pkege a écrit :md1 : active raid1 sda1[0]
104320 blocks [3/1] [U__]

un raid avec 1 disque sur trois en miroir donc fonctionnel


pour le moment je ferais juste

Code : Tout sélectionner
mkdir /mnt/md0
mkdir /mnt/md1
mount /dev/md0 /mnt/md0
mount /dev/md1 /mnt/md1


puis un
Code : Tout sélectionner
ls -alR  /mnt/md0


et
Code : Tout sélectionner
ls -alR  /mnt/md0


on verra, avec une partie peut intéressante certes, avec la partition supposée de boot, si :
1- le clonage a réussi
2- les deux md(0|1) supposées être identiques le sont et on pourra peut être reflechir plus tard si on les fusionne et dans quel sens.



une fois des informations la dessus on pourra aller plus en avant sur la partition de données et swap. Soit :

pkege a écrit :md127 : active (auto-read-only) raid5 sdc2[2] sda2[0] sdd2[3] sdb2[1]
732274560 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
root@sysresccd /root % mdadm --examine --scan /dev/sda2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e
root@sysresccd /root % mdadm --examine --scan /dev/sdc2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e
root@sysresccd /root % mdadm --examine --scan /dev/sdb2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e
root@sysresccd /root % mdadm --examine --scan /dev/sdd2
ARRAY /dev/md0 UUID=8ec055b0:d21348ca:a6823ec9:b439290e



et la on tentera un
Code : Tout sélectionner
pvscan


si quelque chose est retourné on pourra dire que grâce à Jibé ton plus gros souci aura été de cloner les disques proprement pour être certain de pas tout perdre sur une fausse maneuvre ( qui est rapidement arrivée, j'ai effacé une partition de boot entière avant d'avoir le temps de réagir pas plus tard que cette après midi .. mais des backups étaient là heureusement ! et maintenant tu en as grâce à Jibé, sauf que dans ton cas il faut éviter d'Avoir a reprendre sur les backups au risque de les perdre à chaque lecture ) et de monter un lvm ...chose que nous verrons après ta réponse. et le retour des commandes citées plus haut dans ce post.
unnilennium
 
Message(s) : 218
Inscription : 28 Nov 2011 19:32
Localisation : Québec, QC, Canada

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 01 Sep 2012 15:10

Merci de votre réponse voici le resultat des 2 premières instructions:

root@sysresccd /root % mkdir /mnt/md0
root@sysresccd /root % mkdir /mnt/md1
root@sysresccd /root % mount /dev/md0 /mnt/md0
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@sysresccd /root % mount /dev/md1 /mnt/md1
root@sysresccd /root % ls -alR /mnt/md0
ls: invalid option -- '�'
Try `ls --help' for more information.
root@sysresccd /root % ls --help
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

Re: PANNE : Kernel Panic - attempting to kill unit

Message par unnilennium » 01 Sep 2012 15:56

comme le md0 monte pas pas besoin de ls dessus .

il semble que le raid md0 soit corrompu ( bad system block) ... on pourrait tenter de réparer le fs, mais ce n'est pas l'urgence ... on va deja voir si le md1 a qq chose.


l'option R est pour etre recursif, il semble que la version de ls dispo ne l'A pas

essayes pour tous et en liste complete avec detail :

Code : Tout sélectionner
ls -al


au besoin fais le pour chaque dossier dedans ( important pour voir si cela peut booter.)


pour comprendre l'Erreur comme le suggere la console apres le mount de md0 fais un
Code : Tout sélectionner
dmesg | tail
unnilennium
 
Message(s) : 218
Inscription : 28 Nov 2011 19:32
Localisation : Québec, QC, Canada

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 01 Sep 2012 17:22

Je n'ai pas compris quel dossier monter


root@sysresccd /root % ls -al /dev/md1
brw-rw---- 1 root disk 9, 1 Sep 1 16:09


dmesg | tail
[ 59.342998] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 59.343015] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 59.343017] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 59.343018] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 59.343020] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 59.343022] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 375.394875] EXT3-fs (md0): error: no journal found
[ 391.567708] kjournald starting. Commit interval 5 seconds
[ 391.579299] EXT3-fs (md1): using internal journal
[ 391.579304] EXT3-fs (md1): mounted filesystem with ordered data mode
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

Re: PANNE : Kernel Panic - attempting to kill unit

Message par pkege » 01 Sep 2012 17:27

root@sysresccd /mnt/md1 % ls -l
total 14813
-rw-r--r-- 1 root root 50924 Dec 19 2007 config-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 50549 Dec 19 2007 config-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 51501 Nov 20 2008 config-2.6.9-78.0.8.EL
-rw-r--r-- 1 root root 51126 Nov 20 2008 config-2.6.9-78.0.8.ELsmp
drwxr-xr-x 2 root root 1024 Jan 3 2009 grub
-rw-r--r-- 1 root root 1367073 Dec 31 2008 initrd-2.6.9-67.0.1.EL.img
-rw-r--r-- 1 root root 1350505 Dec 31 2008 initrd-2.6.9-67.0.1.ELsmp.img
-rw-rw-rw- 1 root 101 1386901 Dec 31 2008 initrd-2.6.9-78.0.8.EL.img
-rw-rw-rw- 1 root 101 1369334 Dec 31 2008 initrd-2.6.9-78.0.8.ELsmp.img
drwx------ 2 root root 12288 Dec 31 2008 lost+found
-rw-r--r-- 1 root root 64308 Dec 19 2007 symvers-2.6.9-67.0.1.EL.gz
-rw-r--r-- 1 root root 65129 Dec 19 2007 symvers-2.6.9-67.0.1.ELsmp.gz
-rw-r--r-- 1 root root 66235 Nov 20 2008 symvers-2.6.9-78.0.8.EL.gz
-rw-r--r-- 1 root root 67032 Nov 20 2008 symvers-2.6.9-78.0.8.ELsmp.gz
-rw-r--r-- 1 root root 759989 Dec 19 2007 System.map-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 776963 Dec 19 2007 System.map-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 780400 Nov 20 2008 System.map-2.6.9-78.0.8.EL
-rw-r--r-- 1 root root 797420 Nov 20 2008 System.map-2.6.9-78.0.8.ELsmp
-rw-r--r-- 1 root root 1518785 Dec 19 2007 vmlinuz-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 1458873 Dec 19 2007 vmlinuz-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 1545983 Nov 20 2008 vmlinuz-2.6.9-78.0.8.EL
-rw-r--r-- 1 root root 1483918 Nov 20 2008 vmlinuz-2.6.9-78.0.8.ELsmp

root@sysresccd /mnt/md1 % ls -l
total 14813
-rw-r--r-- 1 root root 50924 Dec 19 2007 config-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 50549 Dec 19 2007 config-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 51501 Nov 20 2008 config-2.6.9-78.0.8.EL
-rw-r--r-- 1 root root 51126 Nov 20 2008 config-2.6.9-78.0.8.ELsmp
drwxr-xr-x 2 root root 1024 Jan 3 2009 grub
-rw-r--r-- 1 root root 1367073 Dec 31 2008 initrd-2.6.9-67.0.1.EL.img
-rw-r--r-- 1 root root 1350505 Dec 31 2008 initrd-2.6.9-67.0.1.ELsmp.img
-rw-rw-rw- 1 root 101 1386901 Dec 31 2008 initrd-2.6.9-78.0.8.EL.img
-rw-rw-rw- 1 root 101 1369334 Dec 31 2008 initrd-2.6.9-78.0.8.ELsmp.img
drwx------ 2 root root 12288 Dec 31 2008 lost+found
-rw-r--r-- 1 root root 64308 Dec 19 2007 symvers-2.6.9-67.0.1.EL.gz
-rw-r--r-- 1 root root 65129 Dec 19 2007 symvers-2.6.9-67.0.1.ELsmp.gz
-rw-r--r-- 1 root root 66235 Nov 20 2008 symvers-2.6.9-78.0.8.EL.gz
-rw-r--r-- 1 root root 67032 Nov 20 2008 symvers-2.6.9-78.0.8.ELsmp.gz
-rw-r--r-- 1 root root 759989 Dec 19 2007 System.map-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 776963 Dec 19 2007 System.map-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 780400 Nov 20 2008 System.map-2.6.9-78.0.8.EL
-rw-r--r-- 1 root root 797420 Nov 20 2008 System.map-2.6.9-78.0.8.ELsmp
-rw-r--r-- 1 root root 1518785 Dec 19 2007 vmlinuz-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 1458873 Dec 19 2007 vmlinuz-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 1545983 Nov 20 2008 vmlinuz-2.6.9-78.0.8.EL
-rw-r--r-- 1 root root 1483918 Nov 20 2008 vmlinuz-2.6.9-78.0.8.ELsmp
pkege
 
Message(s) : 48
Inscription : 17 Juil 2012 08:55

PrécédentSuivant

Retour vers SME

Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité

cron