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

Bug#524179: marked as done (initramfs-tools: mkinitramfs-kpkg fails silently if sysfs is not mounted)



Your message dated Wed, 10 Jun 2009 15:17:50 +0000
with message-id <E1MEPYk-0004G5-ND@ries.debian.org>
and subject line Bug#524179: fixed in initramfs-tools 0.93.3
has caused the Debian Bug report #524179,
regarding initramfs-tools: mkinitramfs-kpkg fails silently if sysfs is not mounted
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
524179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524179
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92o
Severity: normal


i have two debian installations on my harddisk(s).

a. the main installation on /dev/md0
b. a second installation on /dev/sda2

1. i boot into /dev/md0
2. mount /dev/sda2 /mnt && chroot /mnt

(from now on *inside* chroot)

3. mount /proc
4. apt-get update && apt-get -u dist-upgrade
-> a new kernel is installed but mkinitramfs-kpkg fails silently:

root@IMAGE / # apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up linux-image-2.6.26-1-amd64 (2.6.26-13lenny2) ...
Running depmod.
Running mkinitramfs-kpkg.
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.26-1-amd64 (--configure):
 subprocess post-installation script returned error exit status 9
Setting up linux-image-2.6.26-2-amd64 (2.6.26-15) ...
Running depmod.
Running mkinitramfs-kpkg.
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.26-2-amd64 (--configure):
 subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6-amd64:
 linux-image-2.6-amd64 depends on linux-image-2.6.26-2-amd64; however:
  Package linux-image-2.6.26-2-amd64 is not configured yet.
dpkg: error processing linux-image-2.6-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.26-1-amd64
 linux-image-2.6.26-2-amd64
 linux-image-2.6-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

5. i now mount /sys:
root@IMAGE / # mount /sys

6. now it mount /sys:
root@IMAGE / # mount /sys

root@IMAGE / # apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up linux-image-2.6.26-1-amd64 (2.6.26-13lenny2) ...
Running depmod.
Running mkinitramfs-kpkg.
W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf
W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz .
Setting up linux-image-2.6.26-2-amd64 (2.6.26-15) ...
Running depmod.
Running mkinitramfs-kpkg.
W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf
W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz .
Setting up linux-image-2.6-amd64 (2.6.26+17+lenny1) ...



--
afairc, using "mkinitramfs" i get the output that /sys is not mounted so
i suggest that this error is also displayed by mkinitramfs-kpkg.


thank you for taking care of this issue.

cheers,
raoul

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

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
sg                     36448  0
e100                   37648  0
mii                     9856  1 e100
e1000e                 99748  0
ipv6                  288328  22
psmouse                42268  0
i2c_i801               13596  0
serio_raw               9860  0
snd_pcm                81672  0
i2c_core               27936  1 i2c_i801
snd_timer              25744  1 snd_pcm
snd                    63688  2 snd_pcm,snd_timer
soundcore              12064  1 snd
snd_page_alloc         13072  1 snd_pcm
pcspkr                  7040  0
ehci_hcd               36108  0
iTCO_wdt               15696  0
container               8320  0
button                 11680  0
shpchp                 34080  0
uhci_hcd               25760  0
pci_hotplug            32056  1 shpchp
evdev                  14208  0
dm_mirror              20608  0
dm_log                 13956  1 dm_mirror
dm_snapshot            19400  0
dm_mod                 58864  3 dm_mirror,dm_log,dm_snapshot
raid456               125984  3
async_xor               8448  1 raid456
async_memcpy            6912  1 raid456
async_tx               11764  3 raid456,async_xor,async_memcpy
xor                     9744  2 raid456,async_xor
thermal                22688  0
processor              42304  1 thermal
fan                     9352  0
thermal_sys            17728  3 thermal,processor,fan
ahci                   33036  13
ext3                  125072  3
jbd                    51240  1 ext3
mbcache                12804  1 ext3
raid1                  24192  1
md_mod                 80164  4 raid456,raid1
sd_mod                 29376  16
sata_sil               13192  0
ata_piix               22660  0
libata                165472  3 ahci,sata_sil,ata_piix
scsi_mod              160760  3 sg,sd_mod,libata
dock                   14112  1 libata
r8169                  31492  0

-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = No
do_initrd = Yes

-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /sys/block
md0
md1
md10
md11
md12
md13
md14
md15
md16
md17
md18
md19
md2
md20
md21
md22
md23
md24
md25
md26
md27
md28
md29
md3
md30
md31
md4
md5
md6
md7
md8
md9
ram0
ram1
ram10
ram11
ram12
ram13
ram14
ram15
ram16
ram2
ram3
ram4
ram5
ram6
ram7
ram8
ram9
sda
sdb
sdc


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.9-13     GNU cpio -- a program to
manage ar
ii  findutils                     4.4.0-2    utilities for finding
files--find,
ii  klibc-utils                   1.5.12-2   small utilities built with
klibc f
ii  module-init-tools             3.4-1      tools for managing Linux
kernel mo
ii  udev                          0.125-7    /dev/ and hotplug
management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.10.2-2 Tiny utilities for small
and embed

initramfs-tools suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.93.3

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.93.3.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.93.3.dsc
initramfs-tools_0.93.3.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.93.3.tar.gz
initramfs-tools_0.93.3_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.93.3_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 524179@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (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.8
Date: Tue, 21 Apr 2009 15:05:40 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.93.3
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 523711 524179 524928 528094 529222
Changes: 
 initramfs-tools (0.93.3) unstable; urgency=low
 .
   [ maximilian attems ]
   * cleanup LABEL handling code.
   * update-initramfs: Use exit code of command -v too.
   * hook-functions: Add i915 module for kms.
   * update-initramfs: Pass version to flash-kernel. (closes: #523711)
   * update-initramfs: Don't hardcode path for lilo or elilo. (closes: #524928)
   * hook-functions: MODULES=dep error out if sysfs not mounted on /sys.
     (closes: #524179)
   * debian/control: No longer mention EVMS in long description.
   * hook-functions: MODULES=most fix old typo s/smc911x/smc91x/.
     (closes: #528094)
   * mkinitramfs: Invoke dpkg --print-architecture. (closes: #529222)
 .
   [ Loic Minier ]
   * copy_exec: also avoid picking sse2, neon, and vfp hwcaps libs.
Checksums-Sha1: 
 b62a0cc78a06b5e4e3397cc8225a05f7426da5a6 1011 initramfs-tools_0.93.3.dsc
 850b51ce54210af3c3f30c4b2acefa3975ee13b0 115819 initramfs-tools_0.93.3.tar.gz
 c04428ca4dbc1a282cfabcabf1a4a0510a432906 77944 initramfs-tools_0.93.3_all.deb
Checksums-Sha256: 
 5be8edc748458b6be63676c6037cb83fb2068593296295ede2555265570f85f9 1011 initramfs-tools_0.93.3.dsc
 d3e7cb0fafbfbd008661c96f1931d76bab8ac5aa5a10b76f15a1e21bfb2270c1 115819 initramfs-tools_0.93.3.tar.gz
 e780793761b5539a27d7df0e54fda933c46b71973204d83e876738b17fdbc697 77944 initramfs-tools_0.93.3_all.deb
Files: 
 dc74547fb3c2ae292ad44266d4ae908d 1011 utils optional initramfs-tools_0.93.3.dsc
 ff818c704f0fbfa37311e3493a4baa69 115819 utils optional initramfs-tools_0.93.3.tar.gz
 51e3837e325c7f687ffe2baf395a900b 77944 utils optional initramfs-tools_0.93.3_all.deb

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

iEYEARECAAYFAkovvJkACgkQeW7Lc5tEHqhMWgCfWZjdXKIVqG5dGdAmw/zeWAzw
rzgAoIQEu5GWxfmYSKX04xkbKR20RCSi
=bSUB
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: