Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Error "mdadm: No arrays found in config file or automatically" after updating  (Read 3144 times)

Offline DrJuanNadie

  • User
  • Posts: 6
First, thank you for your attention and please forgive me if my lack of knowledge makes you waste your time.

I just updated my system using:
Code: [Select]
sudo apt update
sudo apt --solver 3.0 full-upgrade

Previously, it was fairly up to date, from one week ago or less.

After finalizing the update without errors, I rebooted and I got the following messages:
Code: [Select]
mdadm: No arrays found in config file or automatically
... repeated a bunch of times ...
mdadm: error opening /dev/md?*: No such file or directory
mdadm: No arrays found in config file or automatically
... repeated a bunch of times ...
Gave up waiting for root file system device
mdadm: No arrays found in config file or automatically
Gave up waiting for root file system device.  Common problems:
  - Boot args (cat /proc/cmdline)
    - Check rootdelay = (did the system wait long enough?)
  - Missing modules (cat /proc/modules; ls /dev)
ALERT!  UUID=nnnnnnnnn does not exist.  Dropping to a shell!

nnnnnnnnn is in reality the UUID of my root partition.

Then it opens a shell that doesn't work (maybe because I use a cordless keyboard) and the system does not start.

After restoring the system to the previous state (using Timeshift) I tried updating everything but the kernel (I do this using Synaptic packet manager), but the same thing happened after rebooting.

Online michaa7

  • User
  • Posts: 2.383
I have the same problem (see other thread).

But I bet it's NOT the kernel (alone), but one of the new packages. kernel 6.10.5-1 was running fine during today d-u, but failed with reboot. So did kernel 6.10.6-1. BTW, the shell this failed boot ends in is dead here, too. Keyboard not working!!!

Debian standard kernel 6.10.4-amd64 still working.
« Last Edit: 2024/08/20, 16:09:55 by michaa7 »
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline ro_sid

  • User
  • Posts: 309
Have a look into Posting " Topic: [DE] dracut-install: symbol lookup error" [https://forum.siduction.org/index.php?topic=9434.0].
It contains the reason and the cure(s).
I would/did prefer the "kmod" solution.

Online michaa7

  • User
  • Posts: 2.383
Yes, this worked:
Code: [Select]
# apt install kmod=32+20240611-1  libkmod2=32+20240611-1

# apt-mark hold kmod libkmod2

Danke!
« Last Edit: 2024/08/20, 16:31:05 by michaa7 »
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline DrJuanNadie

  • User
  • Posts: 6
Thank you for your answers. I read them as well as the related other topics of this same forum and Debian's and I understand that the problem is solved with packages kmod and libkmod2 version 33+20240816-2, which are already in the Debian's repos.

Consequently, I executed a full upgrade. The system booted well afterwards.

It is worth noting, though, that at the time of my upgrade the aforementioned packages were held to their previous version 32+20240611-1 and not upgraded, as you can see below (section "Not upgrading"):
Code: [Select]
sudo apt --solver 3.0 full-upgrade
Upgrading:
  baloo-kf5                  fakeroot                 libblockdev-crypto3  libflashrom1         libitm1                    libkf5wallet-bin        libreoffice-base                libstdc++6                     linux-image-siduction-amd64  python3-jaraco.functools                                 systemd-timesyncd
  bash                       firefox                  libblockdev-fs3      libfluidsynth3       libjxr-tools               libkf5wallet-data       libreoffice-base-core           libsystemd-shared              mariadb-client-core          python3-lxml                                             udev
  binutils                   g++-14                   libblockdev-loop3    libfontembed1t64     libjxr0t64                 libkf5wallet5           libreoffice-base-drivers        libsystemd0                    mariadb-common               python3-pkg-resources                                    uno-libs-private
  binutils-common            g++-14-x86-64-linux-gnu  libblockdev-mdraid3  libgbm1              libkf5baloo5               liblsan0                libreoffice-calc                libtiff6                       mariadb-server-core          python3-proton-vpn-api-core                              upower
  binutils-x86-64-linux-gnu  gcc-14                   libblockdev-nvme3    libgcc-14-dev        libkf5balooengine5         libmariadb3             libreoffice-core                libtry-tiny-perl               mesa-va-drivers              python3-proton-vpn-killswitch-network-manager            ure
  bluetooth                  gcc-14-base              libblockdev-part3    libgcc-s1            libkf5globalaccel-bin      libnss-myhostname       libreoffice-draw                libtsan2                       mesa-vdpau-drivers           python3-proton-vpn-killswitch-network-manager-wireguard  ure-java
  bluez                      gcc-14-x86-64-linux-gnu  libblockdev-swap3    libgck-2-2           libkf5globalaccel-data     libnss-mymachines       libreoffice-impress             libubsan1                      mesa-vulkan-drivers          python3-proton-vpn-network-manager-wireguard             vlc
  bluez-obexd                gcr4                     libblockdev-utils3   libgcr-4-4           libkf5globalaccel5         libnss-systemd          libreoffice-kf5                 libudev1                       ntfs-3g                      python3-setuptools                                       vlc-bin
  breeze-icon-theme          gdal-data                libblockdev3         libgdal35            libkf5globalaccelprivate5  libntfs-3g89t64         libreoffice-math                libuno-cppu3t64                openssl                      python3-soupsieve                                        vlc-data
  bzip2                      gdal-plugins             libbluetooth3        libgfortran5         libkf5guiaddons-data       libnvidia-egl-gbm1      libreoffice-plasma              libuno-cppuhelpergcc3-3t64     openssl-provider-legacy      python3-tornado                                          vlc-plugin-access-extra
  chromium                   gir1.2-glib-2.0          libbz2-1.0           libgl1-mesa-dri      libkf5guiaddons5           libnvidia-egl-wayland1  libreoffice-qt5                 libuno-purpenvhelpergcc3-3t64  plasma-framework             python3-uno                                              vlc-plugin-base
  chromium-common            gnustep-base-common      libcap-ng0           libglapi-mesa        libkf5kiocore5             libobjc4                libreoffice-report-builder-bin  libuno-sal3t64                 poppler-utils                qbittorrent                                              vlc-plugin-notify
  chromium-sandbox           gnustep-base-runtime     libcc1-0             libglib2.0-0t64      libkf5kiofilewidgets5      libpam-kwallet-common   libreoffice-sdbc-hsqldb         libuno-salhelpergcc3-3t64      proton-vpn-gnome-desktop     qml-module-org-kde-kirigami-addons-labs-mobileform       vlc-plugin-qt
  cpp-14                     gnustep-common           libcrypt-dev         libglib2.0-bin       libkf5kiogui5              libpam-kwallet5         libreoffice-sdbc-mysql          libupower-glib3                proton-vpn-gtk-app           qml-module-org-kde-purpose                               vlc-plugin-samba
  cpp-14-x86-64-linux-gnu    intel-microcode          libcrypt1            libglib2.0-data      libkf5kiontlm5             libpam-systemd          libreoffice-sdbc-postgresql     libvlc-bin                     python3-aiohttp              readline-common                                          vlc-plugin-skins2
  cryfs                      ipp-usb                  libctf-nobfd0        libglx-mesa0         libkf5kiowidgets5          libpoppler-glib8t64     libreoffice-writer              libvlc5                        python3-bcrypt               systemd                                                  vlc-plugin-video-output
  cups-browsed               kio                      libctf0              libgnustep-base1.30  libkf5plasma5              libpoppler-qt5-1t64     libsframe1                      libvlccore9                    python3-bs4                  systemd-container                                        vlc-plugin-video-splitter
  cups-filters               libasan8                 libcupsfilters1t64   libgomp1             libkf5plasmaquick5         libquadmath0            libsqlite3-0                    libxapp-gtk3-module            python3-gdal                 systemd-coredump                                         vlc-plugin-visualization
  cups-filters-core-drivers  libatomic1               libegl-mesa0         libgprofng0          libkf5purpose-bin          libreadline8t64         libssl3t64                      libxapp1                       python3-jaraco.classes       systemd-cryptsetup                                       xapp-sn-watcher
  dns-root-data              libbinutils              libfakeroot          libhwasan0           libkf5purpose5             libreoffice             libstdc++-14-dev                linux-headers-siduction-amd64  python3-jaraco.context       systemd-sysv                                             xapps-common

Installing dependencies:
  kded6                  libkf6bluezqt6          libkf6configcore6         libkf6doctools6        libkf6itemviews-data   libkf6notifications-data  libkf6service6            libkirigami-data        libpoppler140                           python3-aiohappyeyeballs                  qml6-module-org-kde-purpose
  kf6-breeze-icon-theme  libkf6breezeicons6      libkf6configgui6          libkf6guiaddons-bin    libkf6itemviews6       libkf6notifications6      libkf6solid-data          libkirigami6            libqca-qt6-2                            python3-autocommand                       qml6-module-qtqml
  kio6                   libkf6codecs-data       libkf6configwidgets-data  libkf6guiaddons-data   libkf6jobwidgets-data  libkf6prison6             libkf6solid6              libkirigamidelegates6   libqca-qt6-plugins                      python3-inflect                           qml6-module-qtquick
  kirigami-addons5-data  libkf6codecs6           libkf6configwidgets6      libkf6guiaddons6       libkf6jobwidgets6      libkf6prisonscanner6      libkf6wallet-data         libkirigamidialogs6     libqt6core5compat6                      python3-proton-vpn-local-agent            qml6-module-qtquick-controls
  kwallet6               libkf6colorscheme-data  libkf6coreaddons-data     libkf6i18n-data        libkf6kcmutils-data    libkf6purpose-bin         libkf6wallet6             libkirigamilayouts6     libqt6multimedia6                       python3-typeguard                         qml6-module-qtquick-dialogs
  libkf6archive-data     libkf6colorscheme6      libkf6coreaddons6         libkf6i18n6            libkf6kcmutilscore6    libkf6purpose-data        libkf6walletbackend6      libkirigamiplatform6    libqt6quickcontrols2-6                  qml6-module-org-kde-bluezqt               qml6-module-qtquick-layouts
  libkf6archive6         libkf6completion-data   libkf6crash6              libkf6iconthemes-bin   libkf6kcmutilsquick6   libkf6purpose6            libkf6widgetsaddons-data  libkirigamiprimitives6  libqt6quickshapes6                      qml6-module-org-kde-kcmutils              qml6-module-qtquick-shapes
  libkf6auth-data        libkf6completion6       libkf6dbusaddons-bin      libkf6iconthemes-data  libkf6kiocore6         libkf6purposewidgets6     libkf6widgetsaddons6      libkirigamiprivate6     libqt6quicktemplates2-6                 qml6-module-org-kde-kirigami              qml6-module-qtquick-templates
  libkf6authcore6        libkf6config-bin        libkf6dbusaddons-data     libkf6iconthemes6      libkf6kiogui6          libkf6service-bin         libkf6windowsystem-data   libpolkit-qt6-1-1       linux-headers-6.10.6-1-siduction-amd64  qml6-module-org-kde-kquickcontrolsaddons  qml6-module-qtquick-tooling
  libkf6bluezqt-data     libkf6config-data       libkf6dbusaddons6         libkf6iconwidgets6     libkf6kiowidgets6      libkf6service-data        libkf6windowsystem6       libpoppler-cpp1         linux-image-6.10.6-1-siduction-amd64    qml6-module-org-kde-prison

Suggested packages:
  crda

Not upgrading:
  kmod  libkmod2

REMOVING:
  kirigami-addons-data  libkf5guiaddons-bin

Summary:
  Upgrading: 220, Installing: 109, Removing: 2, Not Upgrading: 2
  Download size: 142 MB / 509 MB
  Space needed: 583 MB / 382 GB available

I guess we will have to wait for the repos to "unhold" those packages to see if everything is back to normal.

Offline hone

  • User
  • Posts: 24
Quote
# apt install kmod=32+20240611-1  libkmod2=32+20240611-1

is this in the repo ??

weird, here it isn't

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.397
    • Land of the Buckeye

is this in the repo ??

weird, here it isn't

It's just kmod now. But watch the removals -- you need initramfs-tools and initramfs-tools-core.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Online michaa7

  • User
  • Posts: 2.383
...
It's just kmod now. ...

Does this mean we don't need to hold back kmod any more because its now all fixed and handled accordingly by the Debian maintainers?
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline DrJuanNadie

  • User
  • Posts: 6
Does this mean we don't need to hold back kmod any more because its now all fixed and handled accordingly by the Debian maintainers?

For what it says on Debian's forum (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079022#124), yes it does.

Offline ro_sid

  • User
  • Posts: 309
@michaa7, @DrJuanNadie:
But only "now", where dracut-install in version 103-1.1 is available. Previously it could have been fatal [too many removals of important packages].

Offline DrJuanNadie

  • User
  • Posts: 6
The new packages are already in Debian's repos and they work fine.

I just upgraded my system. No package was held back and the system upgraded and rebooted well.

Code: [Select]
@ sudo apt --solver 3.0 full-upgrade
Upgrading:
  dracut-install  kmod  libcpupower1  libkmod2  linux-cpupower  linux-doc  linux-doc-6.10  linux-libc-dev  python3-attr

Summary:
  Upgrading: 9, Installing: 0, Removing: 0, Not Upgrading: 0
  Download size: 42,7 MB
  Space needed: 43,0 kB / 382 GB available

Continue? [Y/n]

Offline xerol

  • User
  • Posts: 6
Quote
# apt install kmod=32+20240611-1  libkmod2=32+20240611-1

is this in the repo ??

weird, here it isn't

can be found in debian snapshots: https://snapshot.debian.org/binary/kmod/

Offline hone

  • User
  • Posts: 24
Quote
can be found in debian snapshots: https://snapshot.debian.org/binary/kmod/

thanks I did find it,
but it seems to be obsolete now as the bug is fixed ?

Offline xerol

  • User
  • Posts: 6

thanks I did find it,
but it seems to be obsolete now as the bug is fixed ?
seems so, link was meant as hint for possible future package searches ;-)