Summary: | =sys-kernel/dracut-033-r1 - Partial mode. Incomplete logical volumes will be processed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cyberbat <cyberbat83> |
Component: | [OLD] Core system | Assignee: | Patrick McLean <chutzpah> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alexander, nikoli, prometheanfire |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
cyberbat
2013-10-01 21:24:59 UTC
USE="device-mapper" DRACUT_MODULES="caps gensplash lvm" (In reply to cyberbat from comment #0) > 33.735528] dracut Warning: Could not boot. > [ 33.736033] dracut Warning: /dev/mapper/crypt-swap does not exist ... > kernel /vmlinuz rd.lvm.lv=ssd/usr > root=UUID=6efd858c-8237-40b8-9931-1aa1f27bba0b > rootflags=rw,relatime,user_xattr,barrier=1,data=ordered rootfstype=ext4 Why it waits for activation of /dev/mapper/crypt-swap? Do you have a "kernel_cmdline" option in dracut.conf or dracut.conf.d? (In reply to Alexander Tsoy from comment #2) > (In reply to cyberbat from comment #0) > > 33.735528] dracut Warning: Could not boot. > > [ 33.736033] dracut Warning: /dev/mapper/crypt-swap does not exist > ... > > kernel /vmlinuz rd.lvm.lv=ssd/usr > > root=UUID=6efd858c-8237-40b8-9931-1aa1f27bba0b > > rootflags=rw,relatime,user_xattr,barrier=1,data=ordered rootfstype=ext4 > > Why it waits for activation of /dev/mapper/crypt-swap? Do you have a > "kernel_cmdline" option in dracut.conf or dracut.conf.d? I don't have kernel_cmdline option in dracut.conf nor in dracut.conf.d. I have crypt-swap configuration in conf.d/dmcrypt: swap=crypt-swap source='/dev/raid0/swap' and fstab: /dev/mapper/crypt-swap none swap sw 0 0 "swap" is logical volume of "raid0" volume group which is located on raid0 mdraid array. (In reply to cyberbat from comment #3) Please generate initramfs with dracut-033-r1 and post the output of following commands: # lsinitrd /path/to/initramfs | grep 'hooks/emergency' # dracut --print-cmdline I think you can ignore my previous comment. Looks like possible workarounds/solutions would be: 1. Create a fake /etc/crypttab: # echo 'crypt-swap /dev/raid0/swap /dev/urandom swap' > /etc/crypttab Then dracut will not include this device into host_devs stack. (Also see bug 429966 - I hope the migration will ever happen. :) ) 2. Wait for upstream fix of "- remove wait for swap devs, if no "resume=" is given on the kernel command line" http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/TODO 3. Activate encryted swap in initramfs. And message "Partial mode. Incomplete logical volumes will be processed." is not related to this issue. It's just a warning shown by lvm when --partial option is passed. Any news on this bug? Does adding swap to /etc/crypttab help? @cyberbat: Any news on the bug? |