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

Bug#728622: initramfs-tools: post-update.d/runlilo fails if RAID is degraded



Package: initramfs-tools
Version: 0.109.1
Severity: important

Dear Maintainer,

the root filesystem of my system resides on a degraded mdadm RAID1. This leads
to the situation that I cannot install some packages. Here the apt-get output:

	Processing triggers for initramfs-tools ...
	update-initramfs: Generating /boot/initrd.img-3.2.0-4-686-pae
	Warning: LBA32 addressing assumed
	Fatal: Not all RAID-1 disks are active; use '-H' to install to active disks only
	run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1
	dpkg: error processing initramfs-tools (--configure):
	 subprocess installed post-installation script returned error exit status 1
	Processing triggers for python-support ...
	Processing triggers for menu ...
	Errors were encountered while processing:
	 initramfs-tools
	E: Sub-process /usr/bin/dpkg returned an error code (1)

I had the same problem with D-I as well, wenn I wanted to install lilo, it failed.
I managed to work around the problem by switching to the shell and running `lilo -H'
manually.

It might be a solution to use the `-H' flag of lilo in
/etc/initramfs/post-update.d//runlilo

IMO the system should be fully usable if the RAID it resides on is degraded.
(In my current case, I'll add the second disk when the system is fully running
and I've copied the data from the second disk to the new system.)


meillo


-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
auto BOOT_IMAGE=Linux ro root=900

-- /proc/filesystems
	ext4

-- lsmod
Module                  Size  Used by
dm_mod                 57362  0 
ppdev                  12651  0 
lp                     12797  0 
loop                   17810  0 
usblp                  17115  0 
snd_wavefront          26625  0 
snd_cs4236             26487  0 
snd_opl3_lib           13141  2 snd_cs4236,snd_wavefront
nouveau               526808  2 
snd_hwdep              12943  2 snd_opl3_lib,snd_wavefront
mxm_wmi                12467  1 nouveau
wmi                    13051  2 mxm_wmi,nouveau
snd_wss_lib            22493  2 snd_cs4236,snd_wavefront
snd_mpu401             12633  0 
snd_mpu401_uart        13299  3 snd_mpu401,snd_cs4236,snd_wavefront
video                  17459  1 nouveau
snd_seq_midi           12744  0 
snd_intel8x0           22372  0 
ttm                    47786  1 nouveau
snd_seq_midi_event     13124  1 snd_seq_midi
snd_ac97_codec         84236  1 snd_intel8x0
snd_rawmidi            22472  3 snd_seq_midi,snd_mpu401_uart,snd_wavefront
drm_kms_helper         22738  1 nouveau
snd_pcm                53461  4 snd_ac97_codec,snd_intel8x0,snd_wss_lib,snd_cs4236
snd_page_alloc         12867  3 snd_pcm,snd_intel8x0,snd_wss_lib
i2c_sis96x             12485  0 
drm                   146387  4 drm_kms_helper,ttm,nouveau
power_supply           13283  1 nouveau
i2c_algo_bit           12713  1 nouveau
snd_seq                39512  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         13016  4 snd_seq,snd_rawmidi,snd_seq_midi,snd_opl3_lib
snd_timer              22356  4 snd_seq,snd_pcm,snd_wss_lib,snd_opl3_lib
ns558                  12431  0 
snd                    42722  14 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_rawmidi,snd_ac97_codec,snd_intel8x0,snd_mpu401_uart,snd_mpu401,snd_wss_lib,snd_hwdep,snd_opl3_lib,snd_cs4236,snd_wavefront
parport_pc             22036  1 
evdev                  17225  9 
gameport               13375  2 ns558
pcspkr                 12515  0 
soundcore              12921  1 snd
ac97_bus               12462  1 snd_ac97_codec
parport                31254  3 parport_pc,lp,ppdev
i2c_core               19116  5 i2c_algo_bit,drm,i2c_sis96x,drm_kms_helper,nouveau
shpchp                 26717  0 
button                 12817  1 nouveau
processor              27565  0 
ext4                  306996  2 
crc16                  12327  1 ext4
jbd2                   52330  1 ext4
mbcache                12938  1 ext4
raid1                  26218  2 
md_mod                 85719  3 raid1
usbhid                 31554  0 
hid                    60152  1 usbhid
usb_storage            35142  0 
sg                     21476  0 
sd_mod                 35425  3 
sr_mod                 17468  0 
crc_t10dif             12332  1 sd_mod
cdrom                  34813  1 sr_mod
ata_generic            12439  0 
pata_sis               13123  2 
libata                125014  2 pata_sis,ata_generic
ohci_hcd               22059  0 
ehci_hcd               35509  0 
floppy                 48087  0 
scsi_mod              135037  5 libata,sr_mod,sd_mod,sg,usb_storage
fan                    12594  0 
thermal                13103  0 
thermal_sys            17752  4 thermal,fan,processor,video
firewire_ohci          26784  0 
usbcore               104555  6 ehci_hcd,ohci_hcd,usb_storage,usbhid,usblp
sis900                 21945  0 
mii                    12595  1 sis900
usb_common             12338  1 usbcore
firewire_core          38753  1 firewire_ohci
crc_itu_t              12331  1 firewire_core

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /proc/mdstat
Personalities : [raid1] 
md1 : active raid1 sda2[0]
      83007424 blocks [2/1] [U_]
      
md0 : active raid1 sda1[0]
      29295552 blocks [2/1] [U_]
      
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fuse
keymap
klibc
kmod
mdadm
thermal
udev


-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11+dfsg-0.1
ii  klibc-utils        2.0.1-3.1
ii  kmod               9-3
ii  module-init-tools  9-3
ii  udev               175-7.2

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.20.0-7

Versions of packages initramfs-tools suggests:
pn  bash-completion  <none>

-- no debconf information


Reply to: