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

Bug#382602: marked as done (Breaks Root-on-RAID when /boot != /root))



Your message dated Sat, 12 Aug 2006 04:02:08 -0700
with message-id <E1GBrFo-0003Vr-Cp@spohr.debian.org>
and subject line Bug#382602: fixed in initramfs-tools 0.73d
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)

--- Begin Message ---
Package: initramfs-tools
Version: 0.73c
Severity: important


Upgrading initramfs (when package in testing changed) resulted in
non-booting system.  I managed to fix things by adding a script to
init-premount that activates (mdam -assemble's) the raid5 device
(/dev/md1) that contains my root filessystem.  This probably won't
occur on systems where /boot is on the root filesystem because (AIUI)
the boot raid device is automagically activated.

The reason that the root device isn't activated by mdadm in local-top
is that it is trying to use /etc/mdadm.conf which it doesn't find.
(I don't know if /etc/mdadm/mdadm.conf is what it's trying to use, or
if it is supposed to copy that file to /etc in the initramfs file).

The script I added is (less the <script></script> tags):

<script>
#!/bin/sh

PREREQ="udev"

prereqs()
{
	echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

# Assemble root RAID
mknod /dev/md1 b 9 1
mdadm --assemble -m 1 /dev/md1 /dev/hda2 /dev/hdb2 /dev/hdc2
</script>


-- Package-specific info:
-- /proc/cmdline
root=/dev/md1 ro 

-- /proc/filesystems
	cramfs
	ext3

-- lsmod
Module                  Size  Used by
nfs                   189068  2 
nfsd                  200772  8 
exportfs                5248  1 nfsd
lockd                  54248  3 nfs,nfsd
nfs_acl                 3328  2 nfs,nfsd
sunrpc                133476  5 nfs,nfsd,lockd,nfs_acl
appletalk              31476  20 
ipv6                  218912  18 
tcp_diag                1664  0 
inet_diag              10056  2 tcp_diag
snd_pcm_oss            44128  0 
snd_mixer_oss          15744  2 snd_pcm_oss
ide_generic             1216  0 [permanent]
mousedev               10496  1 
tsdev                   7296  0 
i810_audio             31060  0 
ac97_codec             17100  1 i810_audio
evdev                   8832  0 
shpchp                 39424  0 
pci_hotplug            24308  1 shpchp
snd_intel8x0           29532  1 
sis_agp                 8196  1 
snd_ac97_codec         82848  1 snd_intel8x0
snd_ac97_bus            2112  1 snd_ac97_codec
agpgart                29296  1 sis_agp
snd_mpu401              7328  0 
snd_mpu401_uart         6656  1 snd_mpu401
snd_pcm                74504  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              20420  1 snd_pcm
snd_page_alloc          9864  2 snd_intel8x0,snd_pcm
snd_rawmidi            22496  1 snd_mpu401_uart
snd_seq_device          8332  1 snd_rawmidi
snd                    46400  10 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_mpu401,snd_mpu401_uart,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device
soundcore               8736  3 i810_audio,snd
rtc                    11444  0 
pcspkr                  3012  0 
psmouse                34504  0 
serio_raw               6532  0 
analog                  9888  0 
parport_pc             31728  0 
parport                32008  1 parport_pc
floppy                 55916  0 
gameport               13576  1 analog
ext3                  116872  8 
jbd                    47316  1 ext3
mbcache                 7684  1 ext3
dm_mirror              17460  0 
dm_snapshot            15388  0 
ide_cd                 35680  0 
cdrom                  32240  1 ide_cd
ide_disk               14720  15 
usbhid                 32416  1 
sis5513                12108  0 [permanent]
generic                 4228  0 [permanent]
ide_core              111536  5 ide_generic,ide_cd,ide_disk,sis5513,generic
ehci_hcd               26952  0 
ohci_hcd               17348  0 
usbcore               111136  5 usbhid,ehci_hcd,ohci_hcd
sis900                 20992  0 
mii                     5248  1 sis900
thermal                13064  0 
processor              21760  1 thermal
fan                     4548  0 
raid5                  22272  3 
xor                    13960  1 raid5
raid1                  19520  1 
md_mod                 64596  6 raid5,raid1
dm_mod                 48180  9 dm_mirror,dm_snapshot
sisfb                 205012  1 


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (200, 'testing'), (75, 'unstable'), (10, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages initramfs-tools depends on:
ii  busybox-cvs-static            20040623-1 Standalone rescue shell with tons 
ii  cpio                          2.5-1.3    GNU cpio -- a program to manage ar
ii  klibc-utils                   1.4.11-3   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.093-1    /dev/ and hotplug management daemo

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.73d

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.73d.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.73d.dsc
initramfs-tools_0.73d.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.73d.tar.gz
initramfs-tools_0.73d_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.73d_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 382602@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 12 Aug 2006 09:43:55 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.73d
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 381315 382602
Changes: 
 initramfs-tools (0.73d) unstable; urgency=high
 .
   * scripts/local-top/mdraid: Fix path of expected mdadm config file.
     Thanks Daniel Dickinson <cshore@wightman.ca> for report. (closes: 382602)
 .
   * mkinitramfs: Treat /usr/share/initramfs-tools/conf.d config snippets as
     the configuration files in /etc/initramfs-tools/conf.d. A configuration
     file with the same name will override the first. (closes: 381315)
     Thanks Vagrant Cascadian <vagrant+bugs@freegeek.org> for the patch.
 .
   * mkinitramfs.8: Document conf.d existence.
 .
   * hooks/lvm: Really remove it, logic is in mkinitramfs.
 .
   * urgency high for the mdraid bug fix, rest is trivial.
Files: 
 ba5bf210ff825fe2b3eb5619404df320 625 utils optional initramfs-tools_0.73d.dsc
 3266cf0960af31d3c5fcab98dc70050d 46033 utils optional initramfs-tools_0.73d.tar.gz
 505d6ceb23bf79b54fa8022e6c87db33 51190 utils optional initramfs-tools_0.73d_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE3bRW6n7So0GVSSARAjm5AJ460fzw4/AdCIQBGLI6lnz2LEc5sgCggP/D
b1VuEckBrCOIc0qFc/sPkTA=
=EmrS
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: