Hi Andrei, applied that patch by hand https://kernel.googlesource.com/pub/scm/boot/dracut/dracut/+/ c41df7e1db1adc51399ab2c22f251b15eb2065b1%5E!/ and reinstalled the kernel after. the error changed to... Feb 04 07:51:37 circassia dracut-cmdline[146]: dracut- dracut-044-20.1 dracut-044-20.1 Feb 04 07:51:37 circassia dracut-cmdline[146]: Using kernel command line parameters: rd.luks.uuid=luks-1b1dd170-a13d-4d89-a6b5-0eaa84888d9d rd.lvm.lv=system/root root=/dev/mapper/system-root rootfstype=ext4 rootflags=rw,relatime,data=ordered BOOT_IMAGE=/boot/vmlinuz-4.10.0- rc6-2.g18f6269-default root=/dev/mapper/system-root splash=silent quiet showopts Feb 04 07:51:37 circassia systemd[1]: Started Setup Virtual Console. Feb 04 07:51:37 circassia systemd[1]: Started dracut cmdline hook. Feb 04 07:51:37 circassia systemd[1]: Starting dracut pre-udev hook... Feb 04 07:51:37 circassia kernel: device-mapper: uevent: version 1.0.3 Feb 04 07:51:37 circassia kernel: device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com Feb 04 07:51:37 circassia systemd[1]: Started dracut pre-udev hook. Feb 04 07:51:37 circassia systemd[1]: Starting udev Kernel Device Manager... Feb 04 07:51:37 circassia systemd[1]: Started udev Kernel Device Manager. Feb 04 07:51:37 circassia systemd[1]: Starting dracut pre-trigger hook... Feb 04 07:51:37 circassia systemd[1]: Started dracut pre-trigger hook. Feb 04 07:51:37 circassia systemd[1]: Starting udev Coldplug all Devices... Feb 04 07:51:37 circassia systemd[1]: Started udev Coldplug all Devices. Feb 04 07:51:37 circassia systemd[1]: Starting Show Plymouth Boot Screen... Feb 04 07:51:37 circassia systemd[1]: Starting dracut initqueue hook... Feb 04 07:51:37 circassia systemd[1]: Started Show Plymouth Boot Screen. Feb 04 07:51:37 circassia kernel: ACPI: bus type USB registered Feb 04 07:51:37 circassia kernel: usbcore: registered new interface driver usbfs Feb 04 07:51:37 circassia kernel: usbcore: registered new interface driver hub Feb 04 07:51:37 circassia kernel: usbcore: registered new device driver usb Feb 04 07:51:37 circassia kernel: [drm] Initialized Feb 04 07:51:37 circassia systemd[1]: Reached target Encrypted Volumes. Feb 04 07:51:37 circassia systemd[1]: Reached target System Initialization. Feb 04 07:51:37 circassia systemd[1]: Reached target Paths. Feb 04 07:51:37 circassia systemd[1]: Started Forward Password Requests to Plymouth Directory Watch. Feb 04 07:51:37 circassia systemd[1]: Reached target Basic System. Feb 04 07:51:37 circassia kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller Feb 04 07:51:37 circassia kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 Feb 04 07:51:37 circassia kernel: xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00109810 Feb 04 07:51:37 circassia kernel: xhci_hcd 0000:00:14.0: cache line size of 64 is not supported Feb 04 07:51:37 circassia kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 Feb 04 07:51:37 circassia kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Feb 04 07:51:37 circassia kernel: usb usb1: Product: xHCI Host Controller Feb 04 07:51:37 circassia kernel: usb usb1: Manufacturer: Linux 4.10.0- rc6-2.g18f6269-default xhci-hcd Feb 04 07:51:37 circassia kernel: usb usb1: SerialNumber: 0000:00:14.0 Feb 04 07:51:37 circassia kernel: hub 1-0:1.0: USB hub found Feb 04 07:51:37 circassia kernel: hub 1-0:1.0: 12 ports detected Feb 04 07:51:37 circassia kernel: rtsx_pci 0000:3b:00.0: rtsx_pci_acquire_irq: pcr->msi_en = 1, pci->irq = 123 Feb 04 07:51:37 circassia kernel: nvme nvme0: pci function 0000:3c:00.0 Feb 04 07:51:37 circassia kernel: nvme0n1: p1 p2 Feb 04 07:51:37 circassia systemd[1]: Found device /dev/disk/by-uuid/ 7822-9D89. Feb 04 07:51:38 circassia kernel: input: Lid Switch as /devices/LNXSYSTM:00/ LNXSYBUS:00/PNP0C0D:00/input/input3 Feb 04 07:51:38 circassia kernel: ACPI: Lid Switch [LID0] Feb 04 07:51:38 circassia kernel: input: Power Button as /devices/LNXSYSTM:00/ LNXSYBUS:00/PNP0C0C:00/input/input4 Feb 04 07:51:38 circassia kernel: ACPI: Power Button [PBTN] Feb 04 07:51:38 circassia kernel: input: Sleep Button as /devices/LNXSYSTM:00/ LNXSYBUS:00/PNP0C0E:00/input/input5 Feb 04 07:51:38 circassia kernel: ACPI: Sleep Button [SBTN] Feb 04 07:51:38 circassia kernel: input: Power Button as /devices/LNXSYSTM:00/ LNXPWRBN:00/input/input6 Feb 04 07:51:38 circassia kernel: ACPI: Power Button [PWRF] Feb 04 07:51:38 circassia kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller Feb 04 07:51:38 circassia kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 Feb 04 07:51:38 circassia kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 Feb 04 07:51:38 circassia kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Feb 04 07:51:38 circassia kernel: usb usb2: Product: xHCI Host Controller Feb 04 07:51:38 circassia kernel: usb usb2: Manufacturer: Linux 4.10.0- rc6-2.g18f6269-default xhci-hcd Feb 04 07:51:38 circassia kernel: usb usb2: SerialNumber: 0000:00:14.0 Feb 04 07:51:38 circassia kernel: hub 2-0:1.0: USB hub found Feb 04 07:51:38 circassia kernel: hub 2-0:1.0: 6 ports detected Feb 04 07:51:38 circassia kernel: usb: port power management may be unreliable Feb 04 07:51:38 circassia kernel: [drm] Memory usable by graphics device = 4096M Feb 04 07:51:38 circassia kernel: checking generic (90000000 15f9000) vs hw (90000000 10000000) Feb 04 07:51:38 circassia kernel: fb: switching to inteldrmfb from EFI VGA Feb 04 07:51:38 circassia kernel: Console: switching to colour dummy device 80x25 Feb 04 07:51:38 circassia kernel: [drm] Replacing VGA console driver Feb 04 07:51:38 circassia kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). Feb 04 07:51:38 circassia kernel: [drm] Driver supports precise vblank timestamp query. Feb 04 07:51:38 circassia kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem Feb 04 07:51:38 circassia kernel: [drm] Finished loading i915/ skl_dmc_ver1_26.bin (v1.26) Feb 04 07:51:38 circassia kernel: [drm] GuC firmware load skipped Feb 04 07:51:38 circassia kernel: ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) Feb 04 07:51:38 circassia kernel: input: Video Bus as /devices/LNXSYSTM:00/ LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7 Feb 04 07:51:38 circassia kernel: [drm] Initialized i915 1.6.0 20161121 for 0000:00:02.0 on minor 0 Feb 04 07:51:39 circassia kernel: fbcon: inteldrmfb (fb0) is primary device Feb 04 07:51:39 circassia kernel: random: fast init done Feb 04 07:51:39 circassia kernel: psmouse serio1: synaptics: queried max coordinates: x [..5666], y [..4734] Feb 04 07:51:39 circassia kernel: psmouse serio1: synaptics: queried min coordinates: x [1276..], y [1118..] Feb 04 07:51:39 circassia kernel: usb 1-3: new full-speed USB device number 2 using xhci_hcd Feb 04 07:51:39 circassia kernel: psmouse serio1: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2a1, caps: 0xf00223/0x840300/0x12e800/0x0, board id: 3038, fw id: 2011643 Feb 04 07:51:39 circassia kernel: input: SynPS/2 Synaptics TouchPad as / devices/platform/i8042/serio1/input/input2 Feb 04 07:51:39 circassia kernel: clocksource: Switched to clocksource tsc Feb 04 07:51:39 circassia kernel: usb 1-3: New USB device found, idVendor=0a5c, idProduct=6412 Feb 04 07:51:39 circassia kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Feb 04 07:51:39 circassia kernel: usb 1-3: Product: BCM2045A0 Feb 04 07:51:39 circassia kernel: usb 1-3: Manufacturer: Broadcom Corp Feb 04 07:51:39 circassia kernel: usb 1-3: SerialNumber: 3052CB83DCBA Feb 04 07:51:39 circassia kernel: usb 1-4: new full-speed USB device number 3 using xhci_hcd Feb 04 07:51:39 circassia kernel: random: crng init done Feb 04 07:51:39 circassia kernel: usb 1-4: New USB device found, idVendor=04f3, idProduct=20d0 Feb 04 07:51:39 circassia kernel: usb 1-4: New USB device strings: Mfr=4, Product=14, SerialNumber=0 Feb 04 07:51:39 circassia kernel: usb 1-4: Product: Touchscreen Feb 04 07:51:39 circassia kernel: usb 1-4: Manufacturer: ELAN Feb 04 07:51:39 circassia kernel: usbcore: registered new interface driver usbhid Feb 04 07:51:39 circassia kernel: usbhid: USB HID core driver Feb 04 07:51:39 circassia kernel: input: ELAN Touchscreen as /devices/ pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:04F3:20D0.0001/input/input8 Feb 04 07:51:39 circassia kernel: hid-multitouch 0003:04F3:20D0.0001: input,hiddev0,hidraw0: USB HID v1.10 Device [ELAN Touchscreen] on usb-0000:00:14.0-4/input0 Feb 04 07:51:39 circassia kernel: usb 1-5: new high-speed USB device number 4 using xhci_hcd Feb 04 07:51:39 circassia kernel: usb 1-5: New USB device found, idVendor=0bda, idProduct=5682 Feb 04 07:51:39 circassia kernel: usb 1-5: New USB device strings: Mfr=3, Product=1, SerialNumber=2 Feb 04 07:51:39 circassia kernel: usb 1-5: Product: Integrated_Webcam_HD Feb 04 07:51:39 circassia kernel: usb 1-5: Manufacturer: CKFEH41I385010020402 Feb 04 07:51:39 circassia kernel: usb 1-5: SerialNumber: 200901010001 Feb 04 07:51:39 circassia kernel: [drm] RC6 on Feb 04 07:51:39 circassia kernel: Console: switching to colour frame buffer device 400x112 Feb 04 07:51:39 circassia kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device Feb 04 07:51:39 circassia dracut-initqueue[306]: Failed to start systemd- cryptsetup@luks\x2d1b1dd170\x2da13d\x2d4d89\x2da6b5\x2d0eaa84888d9d.service: Unit systemd-cryptsetup@luks\x2d1b1dd170\x2da13d \x2d4d89\x2da6b5\x2d0eaa84888d9d.service not found. Feb 04 07:51:44 circassia systemd[1]: Received SIGRTMIN+20 from PID 307 (plymouthd). Feb 04 07:51:46 circassia systemd[1]: Received SIGRTMIN+20 from PID 307 (plymouthd). Feb 04 07:53:45 circassia dracut-initqueue[306]: Warning: dracut-initqueue timeout - starting timeout scripts Feb 04 07:53:45 circassia dracut-initqueue[306]: Warning: dracut-initqueue timeout - starting timeout scripts Feb 04 07:54:47 circassia dracut-initqueue[306]: Warning: Could not boot. Feb 04 07:54:47 circassia systemd[1]: Received SIGRTMIN+20 from PID 307 (plymouthd). Feb 04 07:54:47 circassia dracut-initqueue[306]: Warning: /dev/mapper/system- root does not exist Feb 04 07:54:47 circassia dracut-initqueue[306]: Warning: /dev/system/root does not exist Feb 04 07:54:47 circassia systemd[1]: Starting Setup Virtual Console... Feb 04 07:54:47 circassia systemd[1]: Started Setup Virtual Console. Feb 04 07:54:47 circassia systemd[1]: Starting Dracut Emergency Shell... Feb 04 07:54:47 circassia systemd[1]: Received SIGRTMIN+21 from PID 307 (plymouthd). the solution is still the same. I suspect there is more than one patch needed. On Friday, 3 February 2017 03:45:08 GMT Andrei Borzenkov wrote:
02.02.2017 23:46, Alin M Elena пишет:
I have an opensuse install with encrypted root and home partitions. lvm + luks. afte the update I ended up with a failure at boot, after grub
Feb 02 20:28:15 circassia dracut-initqueue[368]: systemd-escape: invalid option -- '1'
Could be this problem fixed upstream
commit c41df7e1db1adc51399ab2c22f251b15eb2065b1 Author: Alexander Tsoy
Date: Tue Jan 5 22:11:57 2016 +0300 base/dracut-lib.sh:dev_unit_name() guard against $dev beginning with "-"
crypt/parse-crypt.sh generate initqueue job which always call dev_unit_name() with an argument beginning with "-". This results in the following error:
dracut-initqueue[307]: + systemd-escape -p -cfb4aa43-2f02-4c6b-a313-60ea99288087 dracut-initqueue[307]: systemd-escape: invalid option -- 'c'
Feb 02 20:28:15 circassia dracut-initqueue[368]: Failed to start systemd- cryptsetup@luks.service: Unit systemd-cryptsetup@luks.service not found. Feb 02 20:30:21 circassia dracut-initqueue[368]: Warning: dracut-initqueue timeout - starting timeout scripts Feb 02 20:31:22 circassia dracut-initqueue[368]: Warning: Could not boot. Feb 02 20:31:23 circassia dracut-initqueue[368]: Warning: /dev/mapper/system- root does not exist Feb 02 20:31:23 circassia dracut-initqueue[368]: Warning: /dev/system/root does not exist Feb 02 20:34:42 circassia dracut-initqueue[368]: Warning: Not all disks have been found. Feb 02 20:34:42 circassia dracut-initqueue[368]: Warning: You might want to regenerate your initramfs. Feb 02 20:34:42 circassia systemd[1]: Started dracut initqueue hook.
and i endup in a shell. luckily enough with some magic I managed to boot but regenerating initrd as suggedsted did not help.
cryptsetup luksOpen /dev/<part> cr_lvm lvm vgchange -ay ln -s /dev/mapper/<root> /dev/root exit
and then it boots...
Alin
this happened with both kernel 4.10 from kernel head and 4.9 from Tumbleweed.
-- Without Questions there are no Answers! _______________________________________ Dr. Alin Marin ELENA http://alin.elena.space/ _______________________________________