You are not logged in.

#1 2020-03-18 01:29:49

NSW
Member
Registered: 2020-03-18
Posts: 5

Updating older system results in unbootable "failed: I/O error"...

Hello everyone, i have a system that hasn't been updated in several months that i'm trying to bring current. Trying to go straight to current is resulting in an unbootable system with the error "../vmlinuz-linux... failed: I/O error".

I have the ability to rollback the file system and i've been able to walk the updates to November 1 with the use of the Arch Linux Archive. As soon as i attempt to update beyond this point, i get the aforementioned error. The only thing of note between Nov 1 and Dec 1 on the main blog is "2019-11-10 - New kernel packages and mkinitcpio hooks".

Anyone have a good starting point to troubleshoot this issue? I'm not sure if something in the kernel has changed or if something else is causing the error. The storage drives are fine and i can boot backup versions of the previous working kernel just fine. Not getting any noticeable failure errors during the pacman update and the update completes successfully. Seems like the newer kernel wants to just instantly fail when called.

Any help, guidance or suggestions to resolve the issue are appreciated.

System Info:
BIOS based older system with no UEFI.
/boot on ext4 partition, root file system is on zfs

Gigabyte 990FXA-UD5
AMD FX8350 Eight-Core Processor
32GB RAM

Offline

#2 2020-03-18 11:15:27

sabroad
Member
Registered: 2015-05-24
Posts: 242

Re: Updating older system results in unbootable "failed: I/O error"...

NSW wrote:

resulting in an unbootable system with the error "../vmlinuz-linux... failed: I/O error".

This looks like an error with syslinux loading the kernel before execution (so not a kernel issue).

NSW wrote:

Anyone have a good starting point to troubleshoot this issue? [...]The storage drives are fine

Check the filesystem (/boot unmounted), if you haven't done so:

# fsck -f /dev/sdxX

Reinstall syslinux (/boot mounted) for updates:

# syslinux-install_update -i -a -m

Last edited by sabroad (2020-03-18 11:16:29)


--
saint_abroad

Offline

#3 2020-03-19 04:46:32

NSW
Member
Registered: 2020-03-18
Posts: 5

Re: Updating older system results in unbootable "failed: I/O error"...

sabroad wrote:
NSW wrote:

resulting in an unbootable system with the error "../vmlinuz-linux... failed: I/O error".

This looks like an error with syslinux loading the kernel before execution (so not a kernel issue).

I had considered this but didn't think it was probable because syslinux happily loads the backup kernel and ramdisk from the same drive and location.

sabroad wrote:

Check the filesystem (/boot unmounted), if you haven't done so:

# fsck -f /dev/sdxX

Ran fsck again just to be sure and it returned no errors.

sabroad wrote:

Reinstall syslinux (/boot mounted) for updates:

# syslinux-install_update -i -a -m

This completed without errors. Rebooted without updating to make sure everything was working, it was. After updating it still fails with "../vmlinuz-linux... failed: I/O error".

I really wish syslinux or the kernel would actually output more information then just "I/O error", would make fixing this a million times easier. Haha. I do appreciate the attempt though, thanks!

I'm at a loss as to why this would happen. The only other oddity i've noticed on this upgrade is a reduction in "Net Upgrade Size" with pacman only replacing one package. Dropping 487.95MB seems like a lot without really removing packages, but it could also be perfectly normal.

:: Synchronizing package databases...
 core                                      134.8 KiB  66.8 KiB/s 00:02 [########################################] 100%
 extra                                    1646.6 KiB   109 KiB/s 00:15 [########################################] 100%
 community                                   4.7 MiB   229 KiB/s 00:21 [########################################] 100%
 multilib                                  164.8 KiB   358 KiB/s 00:00 [########################################] 100%
 archzfs is up to date
:: Starting full system upgrade...
warning: discord: local (0.0.10-2) is newer than community (0.0.9-5)
:: Replace pygobject2-devel with extra/python2-gobject2? [Y/n] y
resolving dependencies...
looking for conflicting packages...

Packages (591) acl-2.2.53-2  adwaita-icon-theme-3.34.3-1  alsa-lib-1.2.1.2-2  alsa-plugins-1.2.1-1
               alsa-topology-conf-1.2.1-1  alsa-ucm-conf-1.2.1.2-1  alsa-utils-1.2.1-1  apm-2.4.5-1
               archlinux-keyring-20191018-2  argon2-20190702-2  attica-5.64.0-1  attr-2.4.48-2  audacity-1:2.3.3-1
               audit-2.8.5-6  autoconf-2.69-6  automake-1.16.1-2  avahi-0.7+18+g1b5f401-3  bash-5.0.011-2
               bind-tools-9.14.8-1  binutils-2.33.1-2  bison-3.4.2-2  blas-3.9.0-2  blender-17:2.81-1
               bluez-libs-5.52-1  boost-1.71.0-4  boost-libs-1.71.0-4  brotli-1.0.7-3  btrfs-progs-5.3.1-3
               bubblewrap-0.4.0-1  bzip2-1.0.8-3  ca-certificates-20181109-2  ca-certificates-mozilla-3.47.1-1
               ca-certificates-utils-20181109-2  calibre-4.4.0-1  calibre-common-4.4.0-1  cblas-3.9.0-2
               chromium-78.0.3904.108-1  cifs-utils-6.9-1  clang-9.0.0-3  cmake-3.16.0-1  code-1.40.2-1
               coreutils-8.31-3  cpio-2.13-1  cracklib-2.9.7-2  cronie-1.5.5-1  cryptsetup-2.2.2-1
               cups-filters-1.25.12-1  curl-7.67.0-3  dav1d-0.5.1-1  db-5.3.28-5  dbus-1.12.16-3
               device-mapper-2.02.186-3  dhcpcd-8.1.2-1  dialog-1:1.3_20191110-2  diffutils-3.7-3  dkms-2.8.1-1
               dmraid-1.0.0.rc16.3-12  dnssec-anchors-20190629-2  dosfstools-4.1-3  e2fsprogs-1.45.4-2
               egl-wayland-1.1.4-2  eglexternalplatform-1.1-1  electron-7.1.2-1  electron4-4.2.12-2
               electron6-6.1.5-1  elfutils-0.177-2  evince-3.34.2-1  exo-0.12.10-1  expac-10-1  expat-2.2.9-2
               faac-1.30-1  faad2-2.9.1-2  fakeroot-1.24-2  faudio-19.11-1  ffmpeg-1:4.2.1-4  file-5.37-4
               file-roller-3.32.3-1  filesystem-2019.10-2  findutils-4.7.0-2  firefox-70.0.1-3
               flashplugin-32.0.0.293-1  flex-2.6.4-3  fluidsynth-2.1.0-1  fuse-common-3.8.0-1  fuse3-3.8.0-1
               gawk-5.0.1-2  gc-8.0.4-3  gcc-9.2.0-4  gcc-libs-9.2.0-4  gdbm-1.18.1-3  gegl-0.4.18-1
               geoclue-2.5.5+6+gea52170-1  gettext-0.20.1-3  ghostscript-9.50-2  gimp-2.10.14-1  git-2.24.0-1
               glib2-2.62.3-1  glib2-docs-2.62.3-1  glibc-2.30-3  glslang-7.13.3496-2  gmp-6.1.2-3  gnupg-2.2.18-1
               gnutls-3.6.10-2  gobject-introspection-runtime-1.62.0-3  gpgme-1.13.1-3  gpm-1.20.7.r27.g1fd1941-2
               grep-3.3-3  groff-1.22.4-2  gst-editing-services-1.16.1-3  gst-plugins-bad-1.16.1-4
               gst-plugins-ugly-1.16.1-2  gst-python-1.16.1-3  gtk-doc-1.32-2  gtk-update-icon-cache-1:3.24.13-1
               gtk3-1:3.24.13-1  gvfs-1.42.2-1  gvfs-mtp-1.42.2-1  gvfs-smb-1.42.2-1  gzip-1.10-3  handbrake-1.3.0-1
               handbrake-cli-1.3.0-1  harfbuzz-2.6.4-2  harfbuzz-icu-2.6.4-2  hwids-20191025-2  iana-etc-20191123-1
               icu-65.1-2  imagemagick-7.0.9.7-1  imlib2-1.6.0-1  inetutils-1.9.4-8  inkscape-0.92.4-9
               iproute2-5.4.0-1  iptables-1:1.8.3-3  iputils-20190709-2  iso-codes-4.4-1  jfsutils-1.1.15-7
               json-c-0.13.1-3  karchive-5.64.0-1  kauth-5.64.0-2  kbd-2.2.0-5  kbookmarks-5.64.0-1  kcodecs-5.64.0-2
               kcompletion-5.64.0-2  kconfig-5.64.0-2  kconfigwidgets-5.64.0-2  kcoreaddons-5.64.0-2  kcrash-5.64.0-1
               kdbusaddons-5.64.0-2  keyutils-1.6.1-3  kglobalaccel-5.64.0-1  kguiaddons-5.64.0-2  ki18n-5.64.0-2
               kiconthemes-5.64.0-1  kinit-5.64.0-1  kio-5.64.0-1  kitemmodels-5.64.0-2  kitemviews-5.64.0-2
               kjobwidgets-5.64.0-2  kmod-26-3  knotifications-5.64.0-1  krb5-1.17-2  krita-4.2.8.2-1
               kservice-5.64.0-1  ktextwidgets-5.64.0-1  kwallet-5.64.0-1  kwidgetsaddons-5.64.0-2
               kwindowsystem-5.64.0-1  kxmlgui-5.64.0-1  lapack-3.9.0-2  ldb-1:1.5.6-2  ldns-1.7.1-2  lensfun-0.3.2-9
               less-551-3  lib32-alsa-lib-1.2.1.2-1  lib32-alsa-plugins-1.2.1-1  lib32-curl-7.67.0-2
               lib32-expat-2.2.9-1  lib32-faudio-19.11-1  lib32-gcc-libs-9.2.0-4  lib32-glib2-2.62.3-1
               lib32-glibc-2.30-3  lib32-harfbuzz-2.6.4-2  lib32-icu-65.1-2  lib32-imlib2-1.6.0-1
               lib32-libcurl-compat-7.67.0-2  lib32-libcurl-gnutls-7.67.0-2  lib32-libice-1.0.10-1
               lib32-libjpeg-turbo-2.0.3-1  lib32-libpng-1.6.37-2  lib32-libssh2-1.9.0-1  lib32-libtiff-4.1.0-1
               lib32-libva-2.5.0-1  lib32-libxi-1.7.10-1  lib32-libxml2-2.9.10-1  lib32-mesa-19.2.6-1
               lib32-nss-3.47.1-1  lib32-nvidia-utils-440.36-1  lib32-opencl-nvidia-440.36-1  lib32-systemd-243.162-2
               lib32-v4l-utils-1.16.7-1  libaio-0.3.112-2  libarchive-3.4.0-3  libassuan-2.5.3-2  libblockdev-2.23-3
               libbytesize-2.1-3  libcap-2.27-2  libcap-ng-0.7.9-2  libcdio-paranoia-10.2+2.0.1-1  libcdr-0.1.5-3
               libcurl-compat-7.67.0-2  libcurl-gnutls-7.67.0-2  libdvdnav-6.0.1-1  libdvdread-6.0.2-1
               libe-book-0.1.3-6  libedit-20191025_3.1-1  libelf-0.177-2  libepoxy-1.5.4-1  libevent-2.1.11-3
               libffi-3.2.1-4  libftdi-1.4-4  libgcrypt-1.8.5-2  libgexiv2-0.12.0-4  libgpg-error-1.36-3
               libgssglue-0.4-4  libgusb-0.3.1-1  libheif-1.6.0-1  libibus-1.5.21-3  libidn-1.35-2  libidn2-2.3.0-1
               libimobiledevice-1.2.0+87+g92c5462-6  libixion-0.14.1-5  libksba-1.3.5-2  libldap-2.4.48-2
               liblouis-3.11.0-3  libmagick6-6.9.10.74-1  libmbim-1.20.2-1  libmm-glib-1.12.0-2  libmnl-1.0.4-3
               libmpc-1.1.0-2  libmspub-0.1.4-6  libnewt-0.52.21-3  libnftnl-1.1.4-2  libnghttp2-1.39.2-2
               libnl-3.5.0-2  libnm-1.20.8-1  libnsl-1.2.0-2  libopenshot-0.2.3-6  libopenshot-audio-0.1.8-3
               liborcus-0.14.1-5  libpcap-1.9.1-2  libpipeline-1.5.1-2  libplacebo-1.21.0-1  libplist-2.1.0-2
               libproxy-0.4.15-13  libpsl-0.21.0-2  libqxp-0.0.2-3  libreoffice-fresh-6.3.3-1  librsvg-2:2.46.4-1
               libsasl-2.1.27-2  libseccomp-2.4.1-3  libsecret-0.19.1-2  libshout-1:2.4.3-2  libspeechd-0.9.1-3
               libssh-0.9.2-1  libssh2-1.9.0-2  libsynctex-2019.51075-4  libtasn1-4.15.0-1  libteam-1.29-4
               libtiff-4.1.0-1  libtirpc-1.1.4-2  libtool-2.4.6+42+gb88cebd5-8  libunistring-0.9.10-2
               libunrar-1:5.8.4-1  libusb-1.0.23-2  libusbmuxd-2.0.0-2  libutil-linux-2.34-8  libvisio-0.1.7-2
               libvoikko-4.3-1  libwbclient-4.10.10-2  libwpe-1.4.0.1-1  libxml2-2.9.10-1  libxnvctrl-440.36-1
               libxslt-1.1.34-1  libzmf-0.0.2-7  licenses-20191011-2  lilv-0.24.6-2  linux-5.3.13.1-1
               linux-api-headers-5.3.1-2  linux-firmware-20191022.2b016af-3  linux-headers-5.3.13.1-1
               lirc-1:0.10.1-4  llvm-9.0.0-4  llvm-libs-9.0.0-4  logrotate-3.15.1-2  lvm2-2.02.186-3  lz4-1:1.9.2-2
               lzo-2.10-3  m4-1.4.18-3  make-4.2.1-4  mallard-ducktype-1.0.2-3  man-pages-5.04-1  mathjax2-2.7.7-1
               maven-3.6.3-1  mdadm-4.1-2  meld-3.20.1-2  mesa-19.2.6-1  minizip-1:1.2.11-4  mkinitcpio-27-2
               mkinitcpio-busybox-1.30.1-2  mkvtoolnix-cli-40.0.0-1  mkvtoolnix-gui-40.0.0-1  mlt-6.18.0-2
               modemmanager-1.12.0-2  mono-6.4.0.198-1  mpfr-4.0.2-2  mpg123-1.25.13-1  mplayer-38139-2
               mpv-1:0.30.0-4  nano-4.5-2  ncurses-6.1-7  net-tools-1.60.20181103git-2  nettle-3.5.1-2
               networkmanager-1.20.8-1  node-gyp-6.0.1-1  nodejs-13.2.0-1  npth-1.6-2  nspr-4.23-2  nss-3.47.1-1
               numactl-2.0.13-1  nvidia-440.36-2  nvidia-utils-440.36-1  oniguruma-6.9.4-1  opencl-nvidia-440.36-1
               opencolorio-1.1.1-4  opencv-4.1.2-4  openexr-2.4.0-6  openimageio-2.0.12-2  openshot-2.4.4-4
               openssh-8.1p1-2  openssl-1.1.1.d-2  openssl-1.0-1.0.2.t-1  openvdb-6.2.1-5  openvpn-2.4.8-1
               opera-ffmpeg-codecs-78.0.3895.5-1  orc-0.4.31-1  p11-kit-0.23.18.1-2  packer-1.4.5-1  pacman-5.2.1-1
               pacman-mirrorlist-20191001-2  pam-1.3.1-2  pambase-20190105.1-2  patch-2.7.6-8  pciutils-3.6.2-2
               pcre-8.43-2  pcre2-10.34-1  perl-5.30.1-1  perl-http-cookies-6.07-1  perl-http-date-6.05-1
               perl-libwww-6.43-1  pinentry-1.1.0-5  pitivi-0.999-3  pkcs11-helper-1.25.1-2  pkgconf-1.6.3-3
               poppler-0.82.0-1  poppler-glib-0.82.0-1  popt-1.16-12  postgresql-libs-12.1-2  ppp-2.4.7-6
               procps-ng-3.3.15-2  protobuf-3.10.1-1  psmisc-23.3-2  pth-2.0.7-7  pygobject-devel-3.34.0-3
               pygobject2-devel-2.28.7-2 [removal]  pyqt5-common-5.13.2-3  pyqtwebengine-common-5.13.2-3
               python-3.8.0-1  python-anytree-2.7.2-3  python-appdirs-1.4.3-5  python-arrow-0.15.2-3
               python-attrs-19.3.0-3  python-beautifulsoup4-4.8.1-1  python-cachecontrol-0.12.5-6
               python-cairo-1.18.2-3  python-chardet-3.0.4-4  python-colorama-0.4.1-3  python-css-parser-1.0.4-3
               python-cycler-0.10.0-5  python-dateutil-2.8.1-2  python-dbus-1.2.14-1  python-dbus-common-1.2.14-1
               python-distlib-0.3.0-1  python-distro-1.4.0-3  python-gobject-3.34.0-3  python-html5lib-1.0.1-7
               python-httplib2-0.13.1-3  python-idna-2.8-3  python-importlib-metadata-0.23-2  python-jinja-2.10.3-3
               python-kiwisolver-1.1.0-3  python-lockfile-0.12.2-6  python-lxml-4.4.2-1  python-markupsafe-1.1.1-3
               python-matplotlib-3.1.1-4  python-mlt-6.18.0-2  python-more-itertools-7.2.0-3  python-msgpack-0.6.2-3
               python-numpy-1.17.4-1  python-olefile-0.46-2  python-ordered-set-3.1.1-1  python-packaging-19.2-5
               python-pep517-0.6.0-3  python-pillow-6.2.0-4  python-pip-19.2.3-3  python-progress-1.5-3
               python-pygments-2.5.2-1  python-pyparsing-2.4.5-1  python-pyqt5-5.13.2-3  python-pytoml-0.1.21-3
               python-pytz-2019.3-3  python-pyzmq-18.1.0-3  python-requests-2.22.0-3  python-retrying-1.3.3-6
               python-setuptools-1:41.6.0-1  python-sip-4.19.19-3  python-sip-pyqt5-4.19.19-3  python-six-1.13.0-2
               python-soupsieve-1.9.5-2  python-urllib3-1.25.7-1  python-webencodings-0.5.1-4  python-xdg-0.26-4
               python-zipp-0.6.0-3  python2-appdirs-1.4.3-5  python2-apsw-3.30.1-2  python2-asn1crypto-1.2.0-3
               python2-attrs-19.3.0-3  python2-beautifulsoup4-4.8.1-1  python2-cairo-1.18.2-3  python2-cffi-1.13.2-2
               python2-chardet-3.0.4-4  python2-cheroot-8.2.1-4  python2-contextlib2-0.6.0-3
               python2-cryptography-2.8-1  python2-css-parser-1.0.4-3  python2-cssselect-1.1.0-3
               python2-dateutil-2.8.1-2  python2-dbus-1.2.14-1  python2-dnspython-1.16.0-3  python2-dukpy-0.3-4
               python2-feedparser-5.2.1-5  python2-gobject2-2.28.7-4  python2-html2text-2019.8.11-3
               python2-html5-parser-0.4.9-2  python2-html5lib-1.0.1-7  python2-httplib2-0.13.1-3  python2-idna-2.8-3
               python2-jaraco-2019.10.22-3  python2-jinja-2.10.3-3  python2-lxml-4.4.2-1  python2-markdown-3.1.1-4
               python2-markupsafe-1.1.1-3  python2-mechanize-1:0.4.4-2  python2-mock-3.0.5-3  python2-msgpack-0.6.2-3
               python2-netifaces-0.10.9-3  python2-olefile-0.46-2  python2-ordered-set-3.1.1-1
               python2-packaging-19.2-5  python2-pbr-5.4.4-1  python2-pillow-6.2.0-4  python2-ply-3.11-4
               python2-portend-2.6-1  python2-psutil-5.6.7-1  python2-pyasn1-0.4.8-1  python2-pycparser-2.19-3
               python2-pygments-2.5.2-1  python2-pyopenssl-19.1.0-1  python2-pyparsing-2.4.5-1
               python2-pyqt5-5.13.2-3  python2-pyqtwebengine-5.13.2-3  python2-pytz-2019.3-3
               python2-regex-2019.08.19-3  python2-requests-2.22.0-3  python2-setuptools-1:41.6.0-1
               python2-sip-pyqt5-4.19.19-3  python2-six-1.13.0-2  python2-soupsieve-1.9.5-2  python2-tempora-1.14.1-4
               python2-typing-3.7.4.1-1  python2-unrardll-0.1.4-2  python2-urllib3-1.25.7-1
               python2-webencodings-0.5.1-4  python2-wheel-0.33.6-3  python2-xdg-0.26-4  python2-zc.lockfile-2.0-3
               qpdf-9.1.0-1  qt5-base-5.13.2-3  qt5-declarative-5.13.2-1  qt5-imageformats-5.13.2-1
               qt5-location-5.13.2-2  qt5-multimedia-5.13.2-1  qt5-quickcontrols2-5.13.2-1  qt5-script-5.13.2-1
               qt5-sensors-5.13.2-1  qt5-speech-5.13.2-1  qt5-svg-5.13.2-1  qt5-tools-5.13.2-1
               qt5-translations-5.13.2-1  qt5-webchannel-5.13.2-1  qt5-webengine-5.13.2-3  qt5-webkit-5.212.0alpha3-6
               qt5-x11extras-5.13.2-1  qt5-xmlpatterns-5.13.2-1  raptor-2.0.15-12  re2-20191101-1  readline-8.0.001-2
               reiserfsprogs-3.6.27-3  rubberband-1.8.2-3  run-parts-4.8.6.1-2  s-nail-14.9.15-2  samba-4.10.10-2
               sane-1.0.28-2  sed-4.7-3  shaderc-2019.0-3  shadow-4.7-3  sigil-0.9.18-3  sip-4.19.19-3
               smbclient-4.10.10-2  smplayer-19.10.2-1  solid-5.64.0-1  sonnet-5.64.0-1  sord-0.16.4-1
               speech-dispatcher-0.9.1-3  sqlite-3.30.1-2  sratom-0.6.4-1  steam-native-runtime-1.0.0.61-2
               subversion-1.13.0-1  suil-0.10.6-2  suitesparse-5.6.0-1  sysfsutils-2.1.0-11
               syslinux-6.04.pre2.r11.gbf6db5b4-3  systemd-243.162-2  systemd-libs-243.162-2
               systemd-sysvcompat-243.162-2  talloc-2.3.0-1  tar-1.32-3  tdb-1.3.18-4  telegram-desktop-1.8.15-2
               tevent-1:0.9.39-4  texinfo-6.7-2  thin-provisioning-tools-0.8.5-3  thunar-1.8.11-1  tiled-1.3.1-1
               traceroute-2.1.0-5  twolame-0.4.0-2  tzdata-2019c-3  unrar-1:5.8.4-1  usbutils-012-2
               util-linux-2.34-8  vamp-plugin-sdk-2.9.0-1  vde2-2.3.2-13  vi-1:070224-4  vim-8.1.2268-2
               vim-runtime-8.1.2268-2  virtualbox-6.0.14-4  virtualbox-host-dkms-6.0.14-4  vlc-3.0.8-6
               volume_key-0.3.12-2  vte-common-0.58.3-1  vte3-0.58.3-1  vulkan-icd-loader-1.1.127-1
               webkit2gtk-2.26.2-2  which-2.21-5  wine-staging-4.20-1  wireless_tools-30.pre9-3
               wpa_supplicant-2:2.9-2  wpebackend-fdo-1.4.0-2  x264-3:0.157.r2980.34c06d1-2  xcb-proto-1.13-4
               xdg-utils-1.1.3+18+g0547886-4  xfburn-0.6.1-1  xfce4-screenshooter-1.9.7-1  xfsprogs-5.2.1-3
               xine-lib-1.2.9-11  xinetd-2.3.15-6  xorg-server-1.20.6-1  xorg-server-common-1.20.6-1
               xorg-xprop-1.2.4-1  xz-5.2.4-2  yelp-xsl-3.34.2-1  zlib-1:1.2.11-4  zstd-1.4.3-2

Total Download Size:   1919.92 MiB
Total Installed Size:  8476.46 MiB
Net Upgrade Size:      -487.95 MiB

:: Proceed with installation? [Y/n] n

Offline

#4 2020-03-19 08:43:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: Updating older system results in unbootable "failed: I/O error"...

A mkinitcpio hook should run after the update that generates the kernel image, what is it's output ?

Offline

#5 2020-03-20 00:20:09

sabroad
Member
Registered: 2015-05-24
Posts: 242

Re: Updating older system results in unbootable "failed: I/O error"...

NSW wrote:

Rebooted without updating to make sure everything was working, it was. After updating it still fails with "../vmlinuz-linux... failed: I/O error".

I see you've got syslinux-6.04.pre2.r11.gbf6db5b4-3 in the list of updates. Did you run

# syslinux-install_update -i -a -m

after the package update?

Can you post your config?

cat /boot/syslinux/syslinux.cfg

--
saint_abroad

Offline

#6 2020-03-20 05:06:58

NSW
Member
Registered: 2020-03-18
Posts: 5

Re: Updating older system results in unbootable "failed: I/O error"...

V1del wrote:

A mkinitcpio hook should run after the update that generates the kernel image, what is it's output ?

Here is the post-transaction hooks section, including mkinitcpio...

:: Running post-transaction hooks...
( 1/29) Creating system user accounts...
( 2/29) Registering binary formats...
( 3/29) Updating journal message catalog...
( 4/29) Reloading system manager configuration...
( 5/29) Updating udev hardware database...
( 6/29) Applying kernel sysctl settings...
( 7/29) Creating temporary files...
( 8/29) Reloading device manager configuration...
( 9/29) Arming ConditionNeedsUpdate...
(10/29) Updating module dependencies...
(11/29) Install DKMS modules
==> dkms install vboxhost/6.0.14_OSE -k 5.3.13-arch1-1
==> dkms install zfs/0.8.3 -k 5.3.13-arch1-1
(12/29) Restarting cronie for libc upgrade...
(13/29) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.3.13-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [zfs]
  -> Running build hook: [usr]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [shutdown]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.3.13-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [zfs]
  -> Running build hook: [usr]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [shutdown]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.3.13-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
  -> Running build hook: [zfs]
  -> Running build hook: [usr]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [shutdown]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
(14/29) Reloading system bus configuration...
(15/29) Warn about old perl modules
(16/29) Updating fontconfig cache...
(17/29) Updating 32-bit fontconfig cache...
(18/29) Probing GDK-Pixbuf loader modules...
(19/29) Updating GIO module cache...
(20/29) Compiling GSettings XML schema files...
(21/29) Probing GTK3 input method modules...
(21/29) Probing GTK3 input method modules...
(22/29) Updating icon theme caches...
(23/29) Reloading GVFS config...
(24/29) Updating the info directory file...
(25/29) Rebuilding certificate stores...
(26/29) Updating the desktop file MIME type cache...
(27/29) Updating the MIME type database...
(28/29) Updating the vlc plugin cache...
(29/29) Updating X fontdir indices...

It completes without any errors and returns to the command prompt.

Here is the boot partition with files after update. The .bak files are my copies before the update. The sizes look good for the newly generated files.

drwxr-xr-x  5 root root     1024 Mar 19 21:37 .
drwxr-xr-x 19 root root       27 Mar 17 17:54 ..
-rw-r--r--  1 root root 11550720 Dec 16  2012 boot
drwxr-xr-x  5 root root     1024 Mar 15 13:28 grub
-rw-r--r--  1 root root 35356598 Mar 19 21:36 initramfs-linux-fallback.img
-rw-r--r--  1 root root 35555189 Mar 17 20:17 initramfs-linux-fallback.img.bak
-rw-r--r--  1 root root 12836557 Mar 19 21:35 initramfs-linux.img
-rw-r--r--  1 root root 12837841 Mar 17 20:17 initramfs-linux.img.bak
drwx------  2 root root    12288 Dec 14  2012 lost+found
drwxr-xr-x  2 root root     3072 Mar 19 21:38 syslinux
-rw-r--r--  1 root root  6285696 Mar 19 21:35 vmlinuz-linux
-rw-r--r--  1 root root  6289792 Mar 17 20:16 vmlinuz-linux.bak

Also checked both boot partition and zfs root for errors again...

sudo fsck -f /dev/sda1
fsck from util-linux 2.34
e2fsck 1.45.4 (23-Sep-2019)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 407/128016 files (0.5% non-contiguous), 153827/512000 blocks
sudo zpool status
  pool: archpool
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
	still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
	the pool may no longer be accessible by software that does not support
	the features. See zpool-features(5) for details.
  scan: scrub repaired 0B in 0 days 00:07:27 with 0 errors on Thu Mar 19 21:54:04 2020
config:

	NAME        STATE     READ WRITE CKSUM
	archpool    ONLINE       0     0     0
	  mirror-0  ONLINE       0     0     0
	    sda2    ONLINE       0     0     0
	    sdb2    ONLINE       0     0     0

errors: No known data errors

Offline

#7 2020-03-20 05:15:09

NSW
Member
Registered: 2020-03-18
Posts: 5

Re: Updating older system results in unbootable "failed: I/O error"...

sabroad wrote:

I see you've got syslinux-6.04.pre2.r11.gbf6db5b4-3 in the list of updates. Did you run

# syslinux-install_update -i -a -m

after the package update?

I didn't before, but i did on this run. Same result. smile

sabroad wrote:

Can you post your config?

cat /boot/syslinux/syslinux.cfg

Sure! I haven't touched this file in years outside of setting the backup entry last week.

# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
#   * menu.c32 - provides a text menu
#   * vesamenu.c32 - provides a graphical menu
#   * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
#   * hdt.c32 - hardware detection tool
#   * reboot.c32 - reboots the system
#   * poweroff.com - shutdown the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples

DEFAULT arch
PROMPT 0        # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl

# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32

# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std

# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

LABEL arch
        MENU LABEL Arch Linux
        LINUX ../vmlinuz-linux
        INITRD ../initramfs-linux.img
        APPEND zfs=archpool/ROOT/archfs rw zfs_force=1

LABEL archfallback
        MENU LABEL Arch Linux Fallback
        LINUX ../vmlinuz-linux
        INITRD ../initramfs-linux-fallback.img
        APPEND zfs=archpool/ROOT/archfs zfs_force=1

LABEL archbak
        MENU LABEL Arch Linux Backup
        LINUX ../vmlinuz-linux.bak
        INITRD ../initramfs-linux.img.bak
        APPEND zfs=archpool/ROOT/archfs rw zfs_force=1

LABEL hdt
        MENU LABEL HDT (Hardware Detection Tool)
        COM32 hdt.c32

LABEL reboot
        MENU LABEL Reboot
        COM32 reboot.c32

LABEL off
        MENU LABEL Power Off
        COMBOOT poweroff.com

Offline

Board footer

Powered by FluxBB