Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
On Fri, 26 Sep 2014 14:59:28 +0200 Jakub Wilk jw...@debian.org wrote: -f: No such file or directory I believe this was caused by: http://anonscm.debian.org/cgit/kernel/initramfs-tools.git/commit/?id=be18fee1bd52 The readlink command in initramfs doesn't seem to support -f: $ readlink -f / -f: No such file or directory Inspired from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762870#42 Have had the same symptoms on one machine. Installing busybox works around this issue and boots as expected, though. Elimar -- You cannot propel yourself forward by patting yourself on the back. -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140928102046.ga3...@galadriel.home.lxtec.de
Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
-f: No such file or directory I believe this was caused by: http://anonscm.debian.org/cgit/kernel/initramfs-tools.git/commit/?id=be18fee1bd52 The readlink command in initramfs doesn't seem to support -f: $ readlink -f / -f: No such file or directory -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140926125928.ga7...@jwilk.net
Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
On Fri, 2014-09-26 at 14:59 +0200, Jakub Wilk wrote: -f: No such file or directory I believe this was caused by: http://anonscm.debian.org/cgit/kernel/initramfs-tools.git/commit/?id=be18fee1bd52 The readlink command in initramfs doesn't seem to support -f: $ readlink -f / -f: No such file or directory That depends on whether you use klibc-utils or busybox: $ /usr/lib/klibc/bin/readlink -f / -f: No such file or directory $ busybox readlink -f / / I wish we didn't try to support both. Ben. -- Ben Hutchings The two most common things in the universe are hydrogen and stupidity. signature.asc Description: This is a digitally signed message part
Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
Hi Michael, On Thu, 25 Sep 2014 23:08:03 +0200 Michael Prokop m...@debian.org wrote: Do you have a separate /usr partition? If so, is it a normal partition or used on top of LVM/RAID/...? No separate /usr, no LVM or RAID. See my fstab (attached), quite not exotic Can you please execute: bash -x mkinitramfs -o /dev/null /tmp/trace.log 21 and provide us the resulting /tmp/trace.log file? trace.log attached. Thanks Regards Pascal trace.log Description: Binary data fstab Description: Binary data
Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
On Fri, 2014-09-26 at 14:59 +0200, Jakub Wilk wrote: -f: No such file or directory I believe this was caused by: http://anonscm.debian.org/cgit/kernel/initramfs-tools.git/commit/?id=be18fee1bd52 The readlink command in initramfs doesn't seem to support -f: $ readlink -f / -f: No such file or directory That depends on whether you use klibc-utils or busybox: $ /usr/lib/klibc/bin/readlink -f / -f: No such file or directory $ busybox readlink -f / / I wish we didn't try to support both. Ben. -- Ben Hutchings The two most common things in the universe are hydrogen and stupidity. Same problem here with 116 - 117, what is this pissbox, this computer has had debian installed since 2003, updated to the latest sid about everyday and this is the first time hear of this busybox. I have done the systemd dance, busybox next? Jorma -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/4910010.149581411754784178.JavaMail.defaultUser@defaultHost
Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
Package: initramfs-tools Version: 0.117 Severity: normal Dear Maintainer, System fails to boot with 0.117. Following messages are displayed: -f: No such file or directory fsck: No such file or directory fsck exited with status code 1 Usage : mount [-r] [-w] [-o options] [-t type] [-f] [-i ] [-n] device directory mount: No such file or directory Could not copy file: No such file or directory Target filesystem doesn't have requested /sbin/init No init found. Try passing init=bootarg Please, let me know what other information may be usefull. Regards Pascal Dormeau -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 3.1M Sep 25 21:52 /boot/initrd.img-3.16-2-amd64 -rw-r--r-- 1 root root 2.7M Sep 25 20:05 /boot/initrd.img-3.16-2-amd64.bak -- /proc/cmdline initrd=\80e1174c194863841e502d0850c7a2be\3.16-2-amd64\initrd root=UUID=c9a553f9-665d-46b2-b434-452fc24b8582 ro quiet resume=UUID=ab57d779-1269-41c4-ae97-526adf9ec263 acpi_os_name=Linux acpi_osi=Linux vt.global_cursor_default=1 consoleblank=60 net.ifnames=1 add_efi_memmap -- resume RESUME=/dev/mapper/swap -- /proc/filesystems ext3 ext2 ext4 vfat -- lsmod Module Size Used by ctr12927 2 ccm17577 2 nf_conntrack_ipv6 13605 3 nls_utf8 12456 1 nf_defrag_ipv6 33358 1 nf_conntrack_ipv6 nls_cp437 16553 1 nf_conntrack_ipv4 18455 3 nf_defrag_ipv4 12483 1 nf_conntrack_ipv4 vfat 17135 1 fat61986 1 vfat arc4 12536 2 nft_ct 12770 3 nf_conntrack 87432 3 nft_ct,nf_conntrack_ipv4,nf_conntrack_ipv6 ath9k 90244 0 ath9k_common 21746 1 ath9k ath9k_hw 391172 2 ath9k_common,ath9k ath26067 3 ath9k_common,ath9k,ath9k_hw snd_hda_codec_hdmi 45118 1 mac80211 474202 1 ath9k iTCO_wdt 12831 0 x86_pkg_temp_thermal12951 0 cfg80211 405538 4 ath,ath9k_common,ath9k,mac80211 iTCO_vendor_support12649 1 iTCO_wdt intel_powerclamp 17159 0 snd_hda_codec_via 26894 1 intel_rapl 17356 0 rtsx_pci_sdmmc 21105 0 rfkill 18867 2 cfg80211 nouveau 1122354 0 mmc_core 102374 1 rtsx_pci_sdmmc coretemp 12820 0 crc32_pclmul 12915 0 crc32c_intel 21809 0 mxm_wmi12515 1 nouveau psmouse98616 0 nft_meta 12693 8 efi_pstore 12805 1 snd_hda_codec_generic63107 1 snd_hda_codec_via ghash_clmulni_intel12978 0 ttm69670 1 nouveau aesni_intel 151423 4 rtsx_pci 37719 1 rtsx_pci_sdmmc aes_x86_64 16719 1 aesni_intel lrw12757 1 aesni_intel nft_hash 16936 4 nft_rbtree 12775 0 gf128mul 12970 1 lrw glue_helper12695 1 aesni_intel ablk_helper12572 1 aesni_intel cryptd 14516 3 ghash_clmulni_intel,aesni_intel,ablk_helper nf_tables_inet 12539 3 evdev 17445 13 snd_hda_intel 26327 1 nf_tables_ipv6 12574 1 nf_tables_inet snd_hda_controller 26727 1 snd_hda_intel snd_hda_codec 104463 5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller ehci_pci 12512 0 ac 12715 0 serio_raw 12849 0 xhci_hcd 148941 0 ehci_hcd 69837 1 ehci_pci sg 29973 0 usbcore 195340 3 ehci_hcd,ehci_pci,xhci_hcd tpm_infineon 16844 0 efivars17257 1 efi_pstore tpm_tis17182 0 shpchp 31121 0 mei_me 17941 0 battery13356 0 snd_hwdep 13148 1 snd_hda_codec lpc_ich20768 0 snd_pcm88662 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_timer 26614 1 snd_pcm snd65244 10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel soundcore 13026 2 snd,snd_hda_codec i2c_i801 16965 0 nf_tables_ipv4 12621 1 nf_tables_inet usb_common 12440 1 usbcore tpm31511 2 tpm_tis,tpm_infineon mfd_core 12601 2 lpc_ich,rtsx_pci mei74977 1 mei_me nf_tables 54347 52 nf_tables_inet,nf_tables_ipv4,nf_tables_ipv6,nft_ct,nft_hash,nft_meta,nft_rbtree processor 28221 0 nfnetlink 12989 1 nf_tables wmi17339 2 mxm_wmi,nouveau i915 836937 2 button 12944 2 i915,nouveau video
Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
* pdorm...@free.fr [Thu Sep 25, 2014 at 10:21:42PM +0200]: System fails to boot with 0.117. Following messages are displayed: -f: No such file or directory fsck: No such file or directory fsck exited with status code 1 Usage : mount [-r] [-w] [-o options] [-t type] [-f] [-i ] [-n] device directory mount: No such file or directory Could not copy file: No such file or directory Target filesystem doesn't have requested /sbin/init No init found. Try passing init=bootarg Do you have a separate /usr partition? If so, is it a normal partition or used on top of LVM/RAID/...? Please, let me know what other information may be usefull. Can you please execute: bash -x mkinitramfs -o /dev/null /tmp/trace.log 21 and provide us the resulting /tmp/trace.log file? regards, -mika- signature.asc Description: Digital signature
Bug#762870: initramfs-tools: fails to boot after upgrade from 0.116 to 0.117
Hi Mika, Michael Prokop wrote: * pdorm...@free.fr [Thu Sep 25, 2014 at 10:21:42PM +0200]: System fails to boot with 0.117. Following messages are displayed: -f: No such file or directory fsck: No such file or directory fsck exited with status code 1 Usage : mount [-r] [-w] [-o options] [-t type] [-f] [-i ] [-n] device directory mount: No such file or directory Could not copy file: No such file or directory Target filesystem doesn't have requested /sbin/init No init found. Try passing init=bootarg as mentioned on IRC, this currently makes xen-tools no more being able to create Xen DomU running Sid. It still can create them, they fail to boot as follows, too: [1.206468] xenbus_probe_frontend: Device with no driver: device/vbd/51714 [1.206472] xenbus_probe_frontend: Device with no driver: device/vbd/51713 [1.206477] xenbus_probe_frontend: Device with no driver: device/vif/0 [1.206521] /build/linux-P15SNz/linux-3.16.3/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [1.207696] Freeing unused kernel memory: 1196K (818ed000 - 81a18000) [1.207712] Write protecting the kernel read-only data: 8192k [1.211765] Freeing unused kernel memory: 944K (880001514000 - 88000160) [1.211978] Freeing unused kernel memory: 224K (8800017c8000 - 88000180) Loading, please wait... [1.236483] systemd-udevd[58]: starting version 215 [1.237364] random: systemd-udevd urandom read with 3 bits of entropy available [1.261487] xen_netfront: Initialising Xen virtual ethernet driver [1.300840] blkfront: xvda2: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled; [1.303567] blkfront: xvda1: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled; Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. -f: No such file or directory Begin: Checking file system ... fsck: No such file or directory fsck exited with status code 1 done. Usage: mount [-r] [-w] [-o options] [-t type] [-f] [-i] [-n] device directory done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... mount: No such file or directory done. Could not copy file: No such file or directory Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. [1.665567] usbcore: registered new interface driver usbfs [1.665916] usbcore: registered new interface driver hub [1.665976] usbcore: registered new device driver usb [1.55] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [1.666840] ehci-pci: EHCI PCI platform driver [1.673431] uhci_hcd: USB Universal Host Controller Interface driver [1.676679] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [1.680132] hidraw: raw HID events driver (C) Jiri Kosina [1.680892] usbcore: registered new interface driver usbhid [1.680897] usbhid: USB HID core driver (initramfs) ls /sbin/fsck -rwxr-xr-x 1 0 0 31544 /sbin/fsck Do you have a separate /usr partition? No. If so, is it a normal partition or used on top of LVM/RAID/...? /dev/xvda2 does not use LVM inside the virtual machine, but on the hosting machine, it's an LV at /dev/${vg}/${hostname}-disk. Can you please execute: bash -x mkinitramfs -o /dev/null /tmp/trace.log 21 Attached the (compressed) output from bash -x /usr/sbin/mkinitramfs -o /dev/null 3.16-2-amd64 /root/trace.log 21 Regards, Axel -- ,''`. | Axel Beckert a...@debian.org, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 trace.log.xz Description: Binary data