Re: [Security-Discuss] [ MDKSA-2006:086 ] - Don't update the kernel on Soft-RAID-Sytems

Luca Berra <[email protected]> Sat, 20 May 2006 18:08:58 +0200
Newsgroups gmane.linux.mandrake.security.general
Message-ID <[email protected]>
On Sat, May 20, 2006 at 02:30:20PM +0200, Juergen Holm wrote:
>On Sat, 20 May 2006, Luca Berra wrote:
>
>>On Fri, May 19, 2006 at 01:18:18PM -0300, Luiz Fernando N. Capitulino 
>>wrote:
>>>On Fri, 19 May 2006 13:00:28 +0200 (CEST)
>>>Juergen Holm <holm-cReBFXHS9TI9HBOmPq+WUkOITlckZahNbaYZWgcc/[email protected]> wrote:
>>>
>>>|  If you have system with software raid 1 only , don't upgrade to the
>>>|  new kernel.
>>>|  The system will not reboot because of problem with initrd (I think)
>>
>>could you please be more specific in describing your problem, so that we
>>might actually understand it.
>
>
>   DEVICE /dev/hda7 /dev/hdc6 /dev/hda5 /dev/hdc5 /dev/hda9 /dev/hdc8
>   /dev/hda8 /dev/hdc7 /dev/hda1 /dev/hdc1
>   DEVICE /dev/hda10 /dev/hdc9
>   ARRAY /dev/md1 devices=/dev/hda5,/dev/hdc5 spare-group=global
>   ARRAY /dev/md2 devices=/dev/hda7,/dev/hdc6 spare-group=global
>   ARRAY /dev/md4 devices=/dev/hda9,/dev/hdc8 spare-group=global
>   ARRAY /dev/md3 devices=/dev/hda8,/dev/hdc7 spare-group=global
>   ARRAY /dev/md0 level=raid1
>   devices=/dev/hda1,/dev/hdc1,/dev/hda10,/dev/hdc9 spares=2
>   spare-group=global
>   MAILADDR root-cReBFXHS9TI9HBOmPq+WUkOITlckZahNbaYZWgcc/[email protected]

note, i am not very fond of your mdadm.conf format, if possible switch
to the format you see in the initrd (i.e. "DEVICE partitions", instead
of the many "DEVICE" entries, and use UUID to identify arrays instead of
"devices").
>
>The etc/mdadm.conf on both initrd's  are identical:
>   DEVICE partitions
>   ARRAY /dev/md1 level=raid1 num-devices=2
>   UUID=4973a5d8:166afadc:7b19d182:742a1f1c


>
>This is my Bootlog (screenshots + ocr, is there an easier way?):
serial console, if you can, but anyway thanks for taking the pain

>Starting up RAID devices: mdadm: error opening /dev/md2: No such file or 
>directoty
>mdadm: error opening /dev/md4: No such file or directory
>mdadm: error openlng /dev/md3: No such file or directory
>mdadm: error openlng /dev/md0: No such file or directory
This looks like a known issue with mdadm and udev
try addind "auto=yes" to each ARRAY line in mdadm.conf

>
>18mdk boots fine! 
>I absolutly don't know what's going on!

i am quite surprised it works with -18mdk, it should have shown the same
issue.

L.

-- 
Luca Berra -- [email protected]
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________