Bug#633880: mdadm: breaks booting with empty sublevel definition in uname -r (like kernel 3.0)

Stefan Lippers-Hollmann s.L-H at gmx.de
Thu Jul 14 17:38:28 UTC 2011


Package: mdadm
Version: 3.1.4-1+8efb9d1
Severity: minor

Hi

Using a kernel with empty SUBLEVEL definition, like

VERSION = 3
PATCHLEVEL = 0
SUBLEVEL =
EXTRAVERSION = -rc7
NAME = Sneaky Weasel

breaks booting with / on LVM2 on RAID1 (mdadm), as the RAID array can't
be assembled. An according fix has been added to Fedora with

http://pkgs.fedoraproject.org/gitweb/?p=mdadm.git;a=blob;f=mdadm-3.2.1-version.patch;h=2a935e97ced2b244249496d3a758ae119aee548f;hb=HEAD
(I can confirm this patch to be working, if I ignore -Werror - #625392)

Be aware that current Debian kernels in experimental define SUBLEVEL 
as 0, to defer compatibility issues like this. So this won't be an
immediate issue in Debian, although it would be nice to get this fixed
to work with upcomming upstream kernels.

Regards
	Stefan Lippers-Hollmann

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0-rc7-aptosid-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mdadm depends on:
ii  debconf                       1.5.40     Debian configuration management sy
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-27     Linux Standard Base 3.2 init scrip
ii  makedev                       2.3.1-89   creates device files in /dev
ii  udev                          171-3      /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  module-init-tools             3.16-1     tools for managing Linux kernel mo
ii  postfix [mail-transport-agent 2.8.3-1    High-performance mail transport ag

mdadm suggests no packages.

-- debconf information:
  mdadm/autostart: true
* mdadm/mail_to: root
  mdadm/initrdstart_msg_errmd:
* mdadm/initrdstart: all
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_notinconf: false
  mdadm/initrdstart_msg_errexist:
  mdadm/initrdstart_msg_intro:
* mdadm/autocheck: true
  mdadm/initrdstart_msg_errblock:
* mdadm/start_daemon: true





More information about the pkg-mdadm-devel mailing list