Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#440206: multipath-tools: installing multipath tools causes mkinitramfs to generate an initrd which does not boot

37 views
Skip to first unread message

Ian Campbell

unread,
Aug 30, 2007, 1:40:11 PM8/30/07
to
Package: multipath-tools
Version: 0.4.8-3
Severity: critical
Justification: breaks the whole system

My system does not use multipath but I installed multipath-tools to get
kpartx (I know now this is a separate package). When my ramdisk was
next generated (new kernel or initramfs-tools I suppose) I ended up with
an initrd which did not boot (hence severity: critical). This seems to
be because the multipath tools hooks "dmsetup create" on my root disk
but do not undo this when no multipath configuration is discovered (or
whatever I don't really know what is supposed to happen) therefore the
device is busy when the initrd comes to mount it.

Console log, copied by hand since no serial or netconsole available, is
pasted below.

Thanks,
Ian.

---start console output---
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-d...@redhat.com
device-mapper: multipath: version 1.0.5 loaded
device-mapper: multipath emc: version 0.0.3 loaded
Discovering multipaths...
device-mapper: multipath round-robin: version 1.0.0 loaded
Done.
Begin: Running /scripts/local-premount
kinit: name_to_dev_t(/dev/sda4) = sda4(8,4)
kinit: trying to resume from /dev/sda4
Attempting manual resume
kinit: No resume image, doing normal boot...
resume: libgcrypt version: 1.2.4
Done.
mount: Mounting /dev/sda3 on /root failed: Device or resource busy
Being: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
Done.
mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init

BusyBox v1.1.3 (Debian 1:1.1.3-5) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) mount /dev/sda3 /root
mount: Mounting /dev/sda3 on /root failed: Device or resource busy
(initramfs) ls /dev/mapper
SATA_FUJITSU_MHV2080_NW9UT6C27043 SATA_FUJITSU_MHV2080_NW9UT6C27043-part2 SATA_FUJITSU_MHV2080_NW9UT6C27043-part4
SATA_FUJITSU_MHV2080_NW9UT6C27043-part1 SATA_FUJITSU_MHV2080_NW9UT6C27043-part3 control
(initramfs) dmsetup remove /dev/mapper/SATA_FUJITSU_MHV2080_NW9UT6C27043-part1
(initramfs) dmsetup remove /dev/mapper/SATA_FUJITSU_MHV2080_NW9UT6C27043-part2
(initramfs) dmsetup remove /dev/mapper/SATA_FUJITSU_MHV2080_NW9UT6C27043-part3
(initramfs) dmsetup remove /dev/mapper/SATA_FUJITSU_MHV2080_NW9UT6C27043-part4
(initramfs) dmsetup remove /dev/mapper/SATA_FUJITSU_MHV2080_NW9UT6C27043
(initramfs) mount /dev/sda3 /root
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
(initramfs) ls /root
bin...[etc]...
---end console output---

-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages multipath-tools depends on:
ii dmsetup 2:1.02.20-2 The Linux Kernel Device Mapper use
ii initscripts 2.86.ds1-38.1 Scripts for initializing and shutt
ii kpartx 0.4.8-3 create device mappings for partiti
ii libaio1 0.3.106-6 linux kernel aio access library -
ii libc6 2.6.1-1 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.20-2 The Linux Kernel Device Mapper use
ii libncurses5 5.6+20070825-1 Shared libraries for terminal hand
ii libreadline5 5.2-3 GNU readline and history libraries
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii udev 0.114-2 /dev/ and hotplug management daemo

multipath-tools recommends no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Debian Bug Tracking System

unread,
Sep 5, 2007, 6:50:09 PM9/5/07
to
Your message dated Wed, 05 Sep 2007 22:31:56 +0000
with message-id <E1IT3Pg-...@ries.debian.org>
and subject line Bug#440206: fixed in multipath-tools 0.4.8-4
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)

0 new messages