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

Bug#257865: marked as done (initrd-tools: assembles raid using mdadm with devfs device names even when there's no devfs)



Your message dated Tue, 27 Jul 2004 15:08:55 +0100
with message-id <20040727140855.GA21062@deprecation.cyrius.com>
and subject line closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Jul 2004 12:05:44 +0000
>From kro@pobox.com Tue Jul 06 05:05:44 2004
Return-path: <kro@pobox.com>
Received: from puzzle.pobox.com [207.8.214.3] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bhohk-0005Et-00; Tue, 06 Jul 2004 05:05:44 -0700
Received: from localhost.localdomain (localhost [127.0.0.1])
	by puzzle.pobox.com (Postfix) with ESMTP
	id 98814139119; Tue,  6 Jul 2004 08:05:09 -0400 (EDT)
Received: from zabaione.sinusforschung.com (ppp-62-245-210-254.mnet-online.de [62.245.210.254])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by puzzle.pobox.com (Postfix) with ESMTP
	id E940E1391C9; Tue,  6 Jul 2004 08:05:07 -0400 (EDT)
SASL-Auth-Sender: akr@zabaione.sinusforschung.com
Received: from akr by zabaione.sinusforschung.com with local (Exim 4.34)
	id 1Bhohb-0006xU-BB; Tue, 06 Jul 2004 14:05:35 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andreas Kroschel <kro@pobox.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: initrd-tools: assembles raid using mdadm with devfs device names even when
 there's no devfs
X-Mailer: reportbug 2.62
Date: Tue, 06 Jul 2004 14:05:35 +0200
Message-Id: <[🔎] E1Bhohb-0006xU-BB@zabaione.sinusforschung.com>
Sender: Andreas Kroschel <kro@pobox.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

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


For starting a root software RAID in an initrd, mkinitrd creates a
command in /script to assemble the RAID on startup. With raidtools2,
this works fine. But with mdadm the line reads (example)

mdadm -A /devfs/md/0 -R <uid1:uid2:...> <dev1> <dev2> ...
         ^^^^^^^^^^^
instead of /dev/md0, even when there is no devfs installed. This renders
a system without devfs unbootable, if / is on a raid and the raid
modules are loaded from the initrd.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (20, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (ignored: LC_ALL set to de_DE.UTF-8)

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

-- no debconf information

---------------------------------------
Received: (at 257865-done) by bugs.debian.org; 27 Jul 2004 14:09:24 +0000
>From tbm@cyrius.com Tue Jul 27 07:09:24 2004
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [65.19.161.204] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BpSdw-0003tI-00; Tue, 27 Jul 2004 07:09:24 -0700
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id 24EB664D3C; Tue, 27 Jul 2004 14:09:23 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 1304FFF43; Tue, 27 Jul 2004 15:08:55 +0100 (BST)
Date: Tue, 27 Jul 2004 15:08:55 +0100
From: Martin Michlmayr <tbm@cyrius.com>
To: 257865-done@bugs.debian.org
Subject: closing
Message-ID: <20040727140855.GA21062@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040523i
Delivered-To: 257865-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

As I said before:

initrd-tools is made to work with Debian kernels which have a specific
configuration.  In this case, Debian kernels have devfs built-in and
there are no intentions of supporting something else.  Apparently, lvm
won't work at all without devfs.

So either use a Debian kernel and initrd-tools will work for you, or
don't use an initrd at all when you use custom kernels.

-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: