Bug#661597: multipath-tools-boot: modprobe --syslog fails

Ritesh Raj Sarraf rrs at debian.org
Tue Feb 28 18:55:23 UTC 2012


Thank you for filing this bug report. From what you describe, this looks
a bug which could have been fairly easily caught. We did some Debian SAN
Boot testing (which pulls-in the dm-multipath driver into the initrd),
but I wasn't reported of any such issue.

For saving me some time, Do you have exact steps that can reproduce this
bug? That'll help me quick.

Anyways, Thank you. And I will look into it.


Ritesh


On Tuesday 28 February 2012 04:45 PM, Martin Sofaru wrote:
> Package: multipath-tools-boot
> Version: 0.4.9-3
> Severity: normal
>
> Dear Maintainer,
>
> the file /usr/share/initramfs-tools/scripts/local-top/multipath which gets included into the initrd invokes modprobe 
> with the parameter "--syslog" which fails during wheezy initrd phase. Maybe busybox modprobe does not include this option yet?
>
> In any case, this parameter interrupts the bootprocess on my machine, i have to manually modprobe dm-multipath to boot.
>
> Regards,
>
> Martin Sofaru
>
> (...)
> Begin: Loading essential drivers ... modprobe: module unix not found in modules.dep                                                                                                                                                                   
> done.                                                                           
> Begin: Running /scripts/init-premount ... done.
> Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Begin: Loading multipath modules ... modprobe: unrecognized option '--syslog'
> BusyBox v1.19.3 (Debian 1:1.19.3-5) multi-call binary.
>  
> Usage: modprobe [-alrqvsDb] MODULE [symbol=value]...
>  
>         -a      Load multiple MODULEs
>         -l      List (MODULE is a pattern)
>         -r      Remove MODULE (stacks) or do autoclean
>         -q      Quiet
>         -v      Verbose
>         -s      Log to syslog
>         -D      Show dependencies
>         -b      Apply blacklist to module names too
>                                                                                                                                                                                                                                                                                  
> Failure: failed to load module dm-multipath.                                                                                                                                                                                                                                     
> modprobe: unrecognized option '--syslog'                                                                                                                                                                                                                                         
> BusyBox v1.19.3 (Debian 1:1.19.3-5) multi-call binary.                                                                                                                                                                                                                           
>                                                                                                                                                                                                                                                                                  
> Usage: modprobe [-alrqvsDb] MODULE [symbol=value]...                                                                                                                                                                                                                             
>                                                                                                                                                                                                                                                                                  
>         -a      Load multiple MODULEs                                                                                                                                                                                                                                           
>         -l      List (MODULE is a pattern)                                                                                                                                                                                                                                       
>         -r      Remove MODULE (stacks) or do autoclean                                                                                                                                                                                                                           
>         -q      Quiet                                                                                                                                                                                                                                                           
>         -v      Verbose                                                                                                                                                                                                                                                         
>         -s      Log to syslog                                                                                                                                                                                                                                                   
>         -D      Show dependencies                                                                                                                                                                                                                                               
>         -b      Apply blacklist to module names too                                                                                                                                                                                                                             
>                                                                                                                                                                                                                                                                                  
> Failure: failed to load module dm-emc.                                                                                                                                                                                                                                           
> done.                                                                                                                                                                                                                                                                           
> Begin: Discovering multipaths ... Feb 28 10:23:46 | DM multipath kernel driver not loaded                                                                                                                                                                                       
> done.                                                                                                                                                                                                                                                                           
>   Volume group "kvm01" not found                                                                                                                                                                                                                                                 
>   Skipping volume group kvm01                                                                                                                                                                                                                                                   
> Unable to find LVM volume kvm01/root                                                                                                                                                                                                                                             
>   Volume group "kvm01" not found                                                                                                                                                                                                                                                 
>   Skipping volume group kvm01                                                                                                                                                                                                                                                   
> Unable to find LVM volume kvm01/swap_1                                                                                                                                                                                                                                           
> done.                                                                                                                                                                                                                                                                           
> Begin: Waiting for root file system ... done.                                                                                                                                                                                                                                   
> Gave up waiting [  106.987976] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                                                                                                                                                                           
> for root device.  Common problems:                                                                                                                                                                                                                                               
>  - Boot args (cat /proc/cmdline)                                                                                                                                                                                                                                                 
>    - Check rootdelay= (did the system wait long enough?)                                                                                                                                                                                                                         
>    - Check root= (did the system wait for the right device?)                                                                                                                                                                                                                     
>  - Missing modules (cat /proc/modules; ls /dev)                                                                                                                                                                                                                                 
> ALERT!  /dev/mapper/kvm01-root does not exist.  Dropping to a shell!                                                                                                                                                                                                             
> modprobe: module i8042 not found in modules.dep                                                                                                                                                                                                                                 
> modprobe: module atkbd not found in modules.dep                                                                                                                                                                                                                                 
>                                                                                                                                                                                                                                                                                  
>                                                                                                                                                                                                                                                                                  
> BusyBox v1.19.3 (Debian 1:1.19.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) modprobe dm-multipath                                                                                                                                                                                                                                               
> [  119.043449] device-mapper: multipath: version 1.3.0 loaded                                                                                                                                                                                                                   
> (initramfs) multipath -r                                                                                                                                                                                                                                                         
> [  124.838711] device-mapper: multipath round-robin: version 1.0.0 loaded                                                                                                                                                                                                       
> create: 360060e80108346e004d42aae00000076 undef HITACHI,DF600F                                                                                                                                                                                                                   
> size=10G features='1 queue_if_no_path' hwhandler='0' wp=undef
> `-+- policy='round-robin 0' prio=0 status=undef
>   |- 1:0:1:118 sddd 70:176 undef ready running
>   |- 1:0:0:118 sdca 68:224 undef ready running
>   |- 0:0:0:118 sdu  65:64  undef ready running
>   `- 0:0:1:118 sdax 67:16  undef ready running
> (...)
>
>
> -- Package-specific info:
> Contents of /etc/multipath.conf:
> defaults {
>     path_grouping_policy multibus
>     user_friendly_names no
> }
> devices {
>     device {
>         vendor                   "HITACHI"
>         product                  "DF.*"
>         path_grouping_policy  multibus
>         path_checker              tur
>         getuid_callout "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
>         no_path_retry             1
>     }
> }
> blacklist {
>         wwid 360060e80108346e004d42aae00000000
>         wwid 360060e80108346e004d42aae00000002
>         wwid 360060e80108346e004d42aae00000003
>         wwid 360060e80108346e004d42aae00000004
>         wwid 360060e80108346e004d42aae00000005
>         wwid 360060e80108346e004d42aae00000006
>         wwid 360060e80108346e004d42aae00000007
>         wwid 360060e80108346e004d42aae00000008
>         wwid 360060e80108346e004d42aae00000009
> }
>
>
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.39-bpo.2-amd64 (SMP w/16 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages multipath-tools-boot depends on:
> ii  debconf [debconf-2.0]  1.5.41
> ii  initramfs-tools        0.100
> ii  multipath-tools        0.4.9-3
>
> multipath-tools-boot recommends no packages.
>
> multipath-tools-boot suggests no packages.
>
> -- debconf information:
>   multipath-tools-boot/scsi_id:
>
>
>


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20120229/c77d5555/attachment.pgp>


More information about the pkg-lvm-maintainers mailing list