Bug#445876: initramfs-tools: DEVICE /dev/sd* in mdadm.conf prevents finding of lvm volume groups - Debian

This is a discussion on Bug#445876: initramfs-tools: DEVICE /dev/sd* in mdadm.conf prevents finding of lvm volume groups - Debian ; Package: initramfs-tools Version: 0.85h Severity: normal hi, having DEVICE /dev/sd* or DEVICE /dev/sd[ab] in mdadm.conf (as specified in the mdadm.conf manpage) prevents finding of root lvm volumegroup by initrd. setting DEVICE partitions and then running update-initramfs -u solves this problem. ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Bug#445876: initramfs-tools: DEVICE /dev/sd* in mdadm.conf prevents finding of lvm volume groups

  1. Bug#445876: initramfs-tools: DEVICE /dev/sd* in mdadm.conf prevents finding of lvm volume groups

    Package: initramfs-tools
    Version: 0.85h
    Severity: normal

    hi,

    having
    DEVICE /dev/sd*
    or
    DEVICE /dev/sd[ab]
    in mdadm.conf (as specified in the mdadm.conf manpage) prevents finding of root lvm volumegroup by initrd.

    setting
    DEVICE partitions
    and then running update-initramfs -u solves this problem.

    regards

    martin sofaru

    -- Package-specific info:
    -- /proc/cmdline
    root=/dev/mapper/vgMandy0-mandy_root ro md=d0,/dev/sda,/dev/sdb pci=nommconf

    -- /proc/filesystems
    cramfs
    ext3

    -- lsmod
    Module Size Used by
    button 12192 0
    ac 10376 0
    battery 15496 0
    ipv6 286048 18
    loop 20112 0
    snd_hda_intel 23708 0
    snd_hda_codec 184192 1 snd_hda_intel
    snd_pcm 89096 2 snd_hda_intel,snd_hda_codec
    snd_timer 29192 1 snd_pcm
    snd 65256 4 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
    soundcore 15392 1 snd
    serio_raw 12036 0
    snd_page_alloc 14864 2 snd_hda_intel,snd_pcm
    psmouse 44432 0
    pcspkr 7808 0
    evdev 15360 0
    parport_pc 41640 0
    parport 44684 1 parport_pc
    intel_agp 30400 1
    floppy 67112 0
    dm_mirror 25216 0
    dm_snapshot 20664 0
    dm_mod 62800 5 dm_mirror,dm_snapshot
    usbhid 45088 0
    ide_generic 5760 0 [permanent]
    ehci_hcd 36104 0
    e1000 123968 0
    uhci_hcd 28696 0
    generic 10500 0 [permanent]
    ide_core 147584 2 ide_generic,generic
    thermal 20240 0
    processor 38248 1 thermal
    fan 9864 0
    ext3 138512 1
    jbd 65392 1 ext3
    mbcache 14216 1 ext3
    ata_piix 19976 0
    sata_sil24 20740 0
    ahci 24708 2
    libata 106784 3 ata_piix,sata_sil24,ahci
    sd_mod 25856 2
    scsi_mod 153008 3 ahci,libata,sd_mod
    raid1 27008 1
    md_mod 82844 3 raid1

    -- kernel-img.conf
    # Kernel image management overrides
    # See kernel-img.conf(5) for details
    do_symlinks = yes
    relative_links = yes
    do_bootloader = no
    do_bootfloppy = no
    do_initrd = yes
    link_in_boot = no
    postinst_hook = update-grub
    postrm_hook = update-grub


    -- System Information:
    Debian Release: 4.0
    APT prefers stable
    APT policy: (500, 'stable')
    Architecture: i386 (x86_64)
    Shell: /bin/sh linked to /bin/bash
    Kernel: Linux 2.6.18-5-amd64
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

    Versions of packages initramfs-tools depends on:
    ii busybox 1:1.1.3-4 Tiny utilities for small and embed
    ii cpio 2.6-17 GNU cpio -- a program to manage ar
    ii klibc-utils 1.4.34-1 small statically-linked utilities
    ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
    ii udev 0.105-4 /dev/ and hotplug management daemo

    initramfs-tools recommends no packages.

    -- no debconf information



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#445876: initramfs-tools: DEVICE /dev/sd* in mdadm.conf prevents finding of lvm volume groups

    reassign 445876 mdadm
    stop

    On Mon, 08 Oct 2007, Martin Sofaru wrote:

    > Package: initramfs-tools
    > Version: 0.85h
    > Severity: normal


    wrong package the mdadm hooks pertain to mdadm

    > having
    > DEVICE /dev/sd*
    > or
    > DEVICE /dev/sd[ab]
    > in mdadm.conf (as specified in the mdadm.conf manpage) prevents finding of root lvm volumegroup by initrd.
    >
    > setting
    > DEVICE partitions
    > and then running update-initramfs -u solves this problem.


    i thought mdadm.conf was machine generated but i might be wrong :O

    > -- Package-specific info:
    > -- /proc/cmdline
    > root=/dev/mapper/vgMandy0-mandy_root ro md=d0,/dev/sda,/dev/sdb pci=nommconf
    >
    > -- /proc/filesystems
    > cramfs
    > ext3
    >
    > -- lsmod
    > Module Size Used by
    > button 12192 0
    > ac 10376 0
    > battery 15496 0
    > ipv6 286048 18
    > loop 20112 0
    > snd_hda_intel 23708 0
    > snd_hda_codec 184192 1 snd_hda_intel
    > snd_pcm 89096 2 snd_hda_intel,snd_hda_codec
    > snd_timer 29192 1 snd_pcm
    > snd 65256 4 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
    > soundcore 15392 1 snd
    > serio_raw 12036 0
    > snd_page_alloc 14864 2 snd_hda_intel,snd_pcm
    > psmouse 44432 0
    > pcspkr 7808 0
    > evdev 15360 0
    > parport_pc 41640 0
    > parport 44684 1 parport_pc
    > intel_agp 30400 1
    > floppy 67112 0
    > dm_mirror 25216 0
    > dm_snapshot 20664 0
    > dm_mod 62800 5 dm_mirror,dm_snapshot
    > usbhid 45088 0
    > ide_generic 5760 0 [permanent]
    > ehci_hcd 36104 0
    > e1000 123968 0
    > uhci_hcd 28696 0
    > generic 10500 0 [permanent]
    > ide_core 147584 2 ide_generic,generic
    > thermal 20240 0
    > processor 38248 1 thermal
    > fan 9864 0
    > ext3 138512 1
    > jbd 65392 1 ext3
    > mbcache 14216 1 ext3
    > ata_piix 19976 0
    > sata_sil24 20740 0
    > ahci 24708 2
    > libata 106784 3 ata_piix,sata_sil24,ahci
    > sd_mod 25856 2
    > scsi_mod 153008 3 ahci,libata,sd_mod
    > raid1 27008 1
    > md_mod 82844 3 raid1
    >
    > -- kernel-img.conf
    > # Kernel image management overrides
    > # See kernel-img.conf(5) for details
    > do_symlinks = yes
    > relative_links = yes
    > do_bootloader = no
    > do_bootfloppy = no
    > do_initrd = yes
    > link_in_boot = no
    > postinst_hook = update-grub
    > postrm_hook = update-grub
    >
    >
    > -- System Information:
    > Debian Release: 4.0
    > APT prefers stable
    > APT policy: (500, 'stable')
    > Architecture: i386 (x86_64)
    > Shell: /bin/sh linked to /bin/bash
    > Kernel: Linux 2.6.18-5-amd64
    > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
    >
    > Versions of packages initramfs-tools depends on:
    > ii busybox 1:1.1.3-4 Tiny utilities for small and embed
    > ii cpio 2.6-17 GNU cpio -- a program to manage ar
    > ii klibc-utils 1.4.34-1 small statically-linked utilities
    > ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
    > ii udev 0.105-4 /dev/ and hotplug management daemo
    >
    > initramfs-tools recommends no packages.
    >
    > -- no debconf information
    >
    >
    >
    > --
    > To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    >

    --
    maks



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Processed: Re: Bug#445876: initramfs-tools: DEVICE /dev/sd* in mdadm.conf prevents finding of lvm volume groups

    Processing commands for control@bugs.debian.org:

    > reassign 445876 mdadm

    Bug#445876: initramfs-tools: DEVICE /dev/sd* in mdadm.conf prevents finding of lvm volume groups
    Bug reassigned from package `initramfs-tools' to `mdadm'.

    > stop

    Stopping processing here.

    Please contact me if you need assistance.

    Debian bug tracking system administrator
    (administrator, Debian Bugs database)


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread