Your message dated Sun, 31 Aug 2014 07:34:00 +0000
with message-id <e1xnzec-0007qy...@franck.debian.org>
and subject line Bug#751143: fixed in initramfs-tools 0.116
has caused the Debian Bug report #751143,
regarding initramfs-tools: please add support for virtio-mmio
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 ow...@bugs.debian.org
immediately.)


-- 
751143: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751143
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.115
Severity: normal
Tags: patch

Hi,

On most virtual machines it is possible to use the virtio interface
through the PCI bus to export for example block or net devices. On some
architectures the emulated machine does not have a PCI bus, and thus the
transport goes through an MMIO interface.

Currently initramfs-tools correctly handle the PCI case, but not the
MMIO on. In case of a virtio based root device, the virtio_mmio module
is not available in the initramfs causing the boot to fail. The patch
below adds the virtio_mmio module if virtio is used (in dep mode), or by
default (in most mode). Could you please apply it in the next upload?

Thanks,
Aurelien


--- a/hook-functions
+++ b/hook-functions
@@ -399,7 +399,7 @@
        fi
 
        if [ -e /sys/bus/virtio ] ; then
-               modules="$modules virtio_pci"
+               modules="$modules virtio_pci virtio_mmio"
        fi
 
        if [ -e /sys/bus/i2o/devices/ ]; then
@@ -437,7 +437,8 @@
                        modules="$modules btrfs ext2 ext3 ext4 ext4dev "
                        modules="$modules isofs jfs reiserfs udf xfs"
                        modules="$modules nfs nfsv2 nfsv3 nfsv4"
-                       modules="$modules af_packet atkbd i8042 virtio_pci"
+                       modules="$modules af_packet atkbd i8042"
+                       modules="$modules virtio_pci virtio_mmio"
 
                        # Include all HID drivers unless we're sure they
                        # don't support keyboards.  hid-*ff covers various


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 5.3M Jun 10 20:14 /boot/initrd.img-3.14-1-arm64
-- /proc/cmdline
root=/dev/vda1 console=ttyAMA0

-- /proc/filesystems
        ext3
        ext2
        ext4

-- lsmod
Module                  Size  Used by
virtio_rng              2400  0 
rtc_pl031               4112  0 
ext4                  454832  1 
crc16                   1314  1 ext4
mbcache                 5984  1 ext4
jbd2                   79674  1 ext4
virtio_net             19090  0 
virtio_blk              7329  3 
virtio_mmio             4334  0 
virtio_ring             7645  4 virtio_blk,virtio_net,virtio_rng,virtio_mmio
virtio                  4224  4 virtio_blk,virtio_net,virtio_rng,virtio_mmio

-- /etc/initramfs-tools/modules
pl031

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

-- /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

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

/usr/share/initramfs-tools/hooks:
busybox
keymap
klibc
kmod
resume
thermal
udev


-- System Information:
Debian Release: jessie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 3.14-1-arm64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11+dfsg-2
ii  klibc-utils        2.0.3-1
ii  kmod               17-2
ii  module-init-tools  17-2
ii  udev               204-10

Versions of packages initramfs-tools recommends:
pn  busybox | busybox-initramfs | busybox-static  <none>

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

-- no debconf information

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

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.

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 751...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Prokop <m...@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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 31 Aug 2014 00:12:42 -0700
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.116
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Michael Prokop <m...@debian.org>
Description:
 initramfs-tools - generic modular initramfs generator
Closes: 633582 679436 689558 697368 745731 748805 750360 751143 751488
Changes:
 initramfs-tools (0.116) unstable; urgency=medium
 .
   The "DebConf14" release
 .
   [ Helge Deller ]
   * [cee3e18] get_fstype: initialize FSTYPE variable (Closes: #745731)
 .
   [ maximilian attems ]
   * [7bc24f8] scripts/nfs: fix nfs mount check for possible init symlink
     (Closes: #750360)
 .
   [ Aurelien Jarno ]
   * [2e325a2] hook-functions: add support for virtio-mmio
     (Closes: #751143)
 .
   [ Michael Prokop ]
   * [4c0338a] Fix hidden dependency issue with btrfs and crc32c. Thanks to
     Markus Wanner <mar...@bluegap.ch> for the analysis and patch
     (Closes: #748805)
   * [2290173] Do not spawn shell when panic=... is used. Thanks to Lukas
     Anzinger <l.anzin...@gmail.com> for the analysis and patch
     (Closes: #751488)
   * [0e914d0] Preserve file permissions if root builds the initramfs
     images. Thanks to Harald Hoyer <har...@redhat.com> for providing the
     patch in dracut (Closes: #633582)
   * [39d0561] Support drop_capabilities=... boot option. Thanks to Kees
     Cook <k...@debian.org> for the patch (Closes: #679436)
   * [3d6fe1e] Support MODULES=dep usage on i2o hardware RAID controller.
     Thanks to Stephen Powell <zlinux...@wowway.com> for the patch
     (Closes: #689558)
   * [a5126cf] Support usage of partitioned nbd devices with MODULES=dep.
     Thanks to Ian Campbell <i...@hellion.org.uk> for the patch
     (Closes: #697368)
   * [ebeffcd] Inform user that lsinitramfs doesn't support cpio archives
     yet. Thanks to Javier Barroso <javibarr...@gmail.com> for the initial
     patch
   * [ad7ab64] Bump Standards-Version to 3.9.5
Checksums-Sha1:
 2a8865be87ad08dd4922987e9645c9dc94aaaa03 1077 initramfs-tools_0.116.dsc
 3ac18ba91f79e9774c880710156cf318b8e7cbab 74508 initramfs-tools_0.116.tar.xz
 908f307bd9aa7d33dcc9a5a40166b30e6940f26c 88996 initramfs-tools_0.116_all.deb
Checksums-Sha256:
 4ee5a11eb84c2134caf6cedaf4d0ea6404286e7795f044585811a4928043951d 1077 
initramfs-tools_0.116.dsc
 fe3d8eccc6590323d29480da171b051f13148adbc64d32af906e734556622ed2 74508 
initramfs-tools_0.116.tar.xz
 61062075502e177ea28e43340950ee64b45d5598b6585f8bf1d38f37bf241154 88996 
initramfs-tools_0.116_all.deb
Files:
 dc5d69975136f08acf3c735fd6628fd3 88996 utils optional 
initramfs-tools_0.116_all.deb
 411f9c40f3545dfe7408540175e41e5e 1077 utils optional initramfs-tools_0.116.dsc
 950b01f36b166fea941a4e9448d1d750 74508 utils optional 
initramfs-tools_0.116.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlQCzFoACgkQ2N9T+zficugn9QCdEdZRfghx9mUPPXdY3qlNxCGF
qZcAn07eQgmPvNDYsgz68/bplP9dqYXf
=Vo4t
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to