• Creating initramfs fails since initramfs-tools* version 0.137

    From Frank Scheiner@21:1/5 to All on Thu Jun 11 12:00:02 2020
    Hi all,

    this is possibly related to [1] but I'm unsure about it.

    [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950254

    When upgrading my OS installation of Debian unstable on my first c8000 a
    few minutes ago, a new kernel was installed and hence a new initramfs
    was to be created. Unfortunately that last step failed. I am running the
    c8000 from an NFS root FS and even removing and purging kernels and initramfs-tools* and reinstalling the current kernel (which again pulls
    in initramfs-tools*) did not make it work:

    ```
    root@c8000:/# apt install linux-image-parisc64
    [...]
    Setting up initramfs-tools-core (0.137) ...
    Setting up initramfs-tools (0.137) ...
    update-initramfs: deferring update (trigger activated)
    Setting up linux-image-5.6.0-2-parisc64 (5.6.14-2) ...
    I: /vmlinux.old is now a symlink to boot/vmlinuz-5.6.0-2-parisc64
    I: /initrd.img.old is now a symlink to boot/initrd.img-5.6.0-2-parisc64
    I: /vmlinux is now a symlink to boot/vmlinuz-5.6.0-2-parisc64
    I: /initrd.img is now a symlink to boot/initrd.img-5.6.0-2-parisc64 /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-5.6.0-2-parisc64
    E: /usr/share/initramfs-tools/hooks/udev failed with return 1. update-initramfs: failed for /boot/initrd.img-5.6.0-2-parisc64 with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-5.6.0-2-parisc64 (--configure):
    installed linux-image-5.6.0-2-parisc64 package post-installation
    script subprocess returned error exit status 1
    dpkg: dependency problems prevent configuration of linux-image-parisc64:
    linux-image-parisc64 depends on linux-image-5.6.0-2-parisc64 (=
    5.6.14-2); however:
    Package linux-image-5.6.0-2-parisc64 is not configured yet.

    dpkg: error processing package linux-image-parisc64 (--configure):
    dependency problems - leaving unconfigured
    Processing triggers for systemd (245.6-1) ...
    Processing triggers for mime-support (3.64) ...
    Processing triggers for libc-bin (2.30-8) ...
    Processing triggers for initramfs-tools (0.137) ...
    Errors were encountered while processing:
    linux-image-5.6.0-2-parisc64
    linux-image-parisc64
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ```

    Even when running `update-initramfs` in verbose mode, I can't get any additional information for the run of the udev hook with version 0.137.
    Any suggestions how to further debug this issue?

    Downgrading initramfs-tools* to version 0.136 seems to solve the issue
    for me:

    ```
    root@c8000:/# dpkg -i initramfs-tools_0.136_all.deb initramfs-tools-core_0.136_all.deb
    dpkg: warning: downgrading initramfs-tools from 0.137 to 0.136
    (Reading database ... 27443 files and directories currently installed.) Preparing to unpack initramfs-tools_0.136_all.deb ...
    Unpacking initramfs-tools (0.136) over (0.137) ...
    dpkg: warning: downgrading initramfs-tools-core from 0.137 to 0.136
    Preparing to unpack initramfs-tools-core_0.136_all.deb ...
    Unpacking initramfs-tools-core (0.136) over (0.137) ...
    Setting up initramfs-tools-core (0.136) ...
    Setting up initramfs-tools (0.136) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for initramfs-tools (0.136) ...

    root@c8000:/# dpkg --configure -a
    Setting up linux-image-5.6.0-2-parisc64 (5.6.14-2) ... /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-5.6.0-2-parisc64
    Setting up linux-image-parisc64 (5.6.14-2) ...
    ```

    BTW, the new kernel is not working for me and panics very early, but
    this should maybe go to a different message.

    Cheers,
    Frank

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Frank Scheiner on Thu Jun 11 12:10:03 2020
    Hi Frank!

    On 6/11/20 11:55 AM, Frank Scheiner wrote:
    this is possibly related to [1] but I'm unsure about it.

    [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950254

    When upgrading my OS installation of Debian unstable on my first c8000 a
    few minutes ago, a new kernel was installed and hence a new initramfs
    was to be created. Unfortunately that last step failed. I am running the c8000 from an NFS root FS and even removing and purging kernels and initramfs-tools* and reinstalling the current kernel (which again pulls
    in initramfs-tools*) did not make it work:
    See this bug report [1]. There is a patch by Helge, but it's still not been merged yet.

    Adrian

    [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959768

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Scheiner@21:1/5 to John Paul Adrian Glaubitz on Thu Jun 11 12:50:02 2020
    Hi Adrian,

    On 11.06.20 12:08, John Paul Adrian Glaubitz wrote:
    Hi Frank!

    On 6/11/20 11:55 AM, Frank Scheiner wrote:
    this is possibly related to [1] but I'm unsure about it.

    [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950254

    When upgrading my OS installation of Debian unstable on my first c8000 a
    few minutes ago, a new kernel was installed and hence a new initramfs
    was to be created. Unfortunately that last step failed. I am running the
    c8000 from an NFS root FS and even removing and purging kernels and
    initramfs-tools* and reinstalling the current kernel (which again pulls
    in initramfs-tools*) did not make it work:
    See this bug report [1]. There is a patch by Helge, but it's still not been merged yet.

    Ah, I see, that explains it. I saw that one below but asumed that the initramfs-tools* version 0.137 contains the/a fix for that. I should
    have checked the dates of both bugs.


    Adrian

    [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959768


    Cheers,
    Frank

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John David Anglin@21:1/5 to Frank Scheiner on Thu Jun 11 13:40:02 2020
    Hi Frank,

    There's also this bug:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959472

    I've been downgrading to 0.136 for some time now.

    On 2020-06-11 5:55 a.m., Frank Scheiner wrote:
    this is possibly related to [1] but I'm unsure about it.

    [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950254

    When upgrading my OS installation of Debian unstable on my first c8000 a
    few minutes ago, a new kernel was installed and hence a new initramfs
    was to be created. Unfortunately that last step failed. I am running the
    c8000 from an NFS root FS and even removing and purging kernels and
    initramfs-tools* and reinstalling the current kernel (which again pulls
    in initramfs-tools*) did not make it work:

    Regards,
    Dave

    --
    John David Anglin dave.anglin@bell.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Scheiner@21:1/5 to John Paul Adrian Glaubitz on Thu Jun 11 14:10:02 2020
    On 11.06.20 13:41, John Paul Adrian Glaubitz wrote:
    On 6/11/20 1:38 PM, John David Anglin wrote:
    There's also this bug:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959472

    I've been downgrading to 0.136 for some time now.

    I'm quite sure that this is the same bug.

    Indeed, this looks exactly like what I was seeing today. Thanks for the pointer. I'll put a hold on initramfs-tools* 0.136 for now.

    If snapshot.debian.org wouldn't already exist we would have to invent
    it! :-)

    Cheers,
    Frank

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to John David Anglin on Thu Jun 11 13:50:01 2020
    On 6/11/20 1:38 PM, John David Anglin wrote:
    There's also this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959472

    I've been downgrading to 0.136 for some time now.

    I'm quite sure that this is the same bug.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)