[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#262092: initrd-tools: Initrd causes segfaults /w kernel-2.6.7-1-686 and root on RAID-1(mdadm)+LVM2



Package: initrd-tools
Version: 0.1.72
Severity: critical
Justification: breaks the whole system

I am unable to get past the boot process due to some unusual segfaults.
I was able to manually determine one work-around (by interrupting
linuxrc and running mdadm by hand) however I still get a segfault later
in the line.

For mdadm... For some reason specifing the UUID (-u ...) causes a
segfault. I modified the line to do mdadm -A /dev/md/0 -R /dev/ide/...
(listing only my devices) and it worked fine. Specifing the UUID via -u
CONSISTENTLY caused a segfault. This does not happen in the normal
running environment, only in the initrd.

However, after fixing that problem. Something within the LVM2 chain
caused a segfault and I did not have time to investigate the issue.

The I have a RAID-1 array /w two identical IDE drives... /dev/hda1 &
/dev/hdd1 are the partitions for the RAID set. It has LVM2 on top of 
RAID to allow simplified partitioning of the 'large' disk.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  cpio                          2.5-1.1    GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.1-1    The Debian Almquist Shell
ii  util-linux                    2.12-3     Miscellaneous system utilities

-- no debconf information
# /etc/mkinitrd/mkinitrd.conf:
#  Configuration file for mkinitrd(8).  See mkinitrd.conf(5).
#
# This file is meant to be parsed as a shell script.

# What modules to install.
MODULES=most

# The length (in seconds) of the startup delay during which linuxrc may be
# interrupted.
DELAY=5

# If this is set to probe mkinitrd will try to figure out what's needed to
# mount the root file system.  This is equivalent to the old PROBE=on setting.
#ROOT=probe
ROOT=/dev/vgmirror/lvol0

# This controls the permission of the resulting initrd image.
UMASK=022

# Command to generate the initrd image.
MKIMAGE='mkcramfs %s %s > /dev/null'

# Set this to yes if you want to use busybox(1).
BUSYBOX=yes

# Set this to no if you want to disable /usr/share/initrd-tools/scripts.
PKGSCRIPTS=yes

# This is the value for LD_LIBRARY_PATH when deciding what goes onto the
# image.
INITRD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
DEVICE /dev/hda1 /dev/hdd1
#
ARRAY /dev/md0 level=1 devices=/dev/hda1,/dev/hdd1

Reply to: