@stephane are you sure you don’t mean MODULES
instead of HOOKS
?
Unfortunately this did not work.
[manjaro /]# sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: 5.4.58-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: Hook 'amdgpu' cannot be found
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: 5.4.58-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: Hook 'amdgpu' cannot be found
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: 'default'
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64.img
==> Starting build: 5.7.15-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: Hook 'amdgpu' cannot be found
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: 'fallback'
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64-fallback.img -S autodetect
==> Starting build: 5.7.15-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: Hook 'amdgpu' cannot be found
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux58.preset: 'default'
-> -k /boot/vmlinuz-5.8-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.8-x86_64.img
==> Starting build: 5.8.1-3-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: Hook 'amdgpu' cannot be found
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.8-x86_64.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux58.preset: 'fallback'
-> -k /boot/vmlinuz-5.8-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.8-x86_64-fallback.img -S autodetect
==> Starting build: 5.8.1-3-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: Hook 'amdgpu' cannot be found
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.8-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
remove amdgpu from hook and redo
sudo mkinitcpio -P
have you a blacklist file
in /etc/modprobe.d/*
I tried to put it into MODULES again, but it didn’t bring any improvement.
Now I have brought everything back to its original state.
[manjaro modprobe.d]# sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: 5.4.58-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: 5.4.58-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: 'default'
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64.img
==> Starting build: 5.7.15-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: 'fallback'
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64-fallback.img -S autodetect
==> Starting build: 5.7.15-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.7-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux58.preset: 'default'
-> -k /boot/vmlinuz-5.8-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.8-x86_64.img
==> Starting build: 5.8.1-3-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.8-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux58.preset: 'fallback'
-> -k /boot/vmlinuz-5.8-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.8-x86_64-fallback.img -S autodetect
==> Starting build: 5.8.1-3-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.8-x86_64-fallback.img
==> Image generation successful
[manjaro modprobe.d]# ls -a
. .. airspy.conf blacklist.conf deepin-screen-recorder.conf hackrf.conf rtlsdr.conf
[manjaro modprobe.d]# cat blacklist.conf
blacklist dvb_usb_rtl28xxu
[manjaro modprobe.d]# cat airspy.conf
# disable official kernel driver
# (remove this when Airspy supports kernel driver)
blacklist airspy
[manjaro modprobe.d]# cat deepin-screen-recorder.conf
[manjaro modprobe.d]# cat hackrf.conf
# disable kernel drivers
blacklist hackrf
[manjaro modprobe.d]# cat rtlsdr.conf
# disable DVB drivers
blacklist rtl2830
blacklist rtl2832
blacklist dvb_usb_rtl28xxu
try with another mirror
sudo pacman-mirrors --continent
sudo pacman -Syyu
[manjaro /]# sudo pacman-mirrors --continent
::WARNING https://gitlab.manjaro.org '<urlopen error [Errno -2] Name or service not known>'
::INFO Downloading mirrors from repo.manjaro.org
::INFO User generated mirror list
::------------------------------------------------------------
::INFO Custom mirror file saved: /var/lib/pacman-mirrors/custom-mirrors.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
..... Austria : http://mirror.inode.at/manjaro/
0.411 Austria : http://mirror.easyname.at/manjaro/
0.651 Austria : ftp://mirror.easyname.at/manjaro/
..... Belarus : http://mirror.datacenter.by/pub/mirrors/manjaro/
..... Belgium : https://mirror.futureweb.be/manjaro/
..... Belgium : http://mirror.futureweb.be/manjaro/
..... Bulgaria : https://mirrors.netix.net/manjaro/
0.782 Bulgaria : http://manjaro.telecoms.bg/
..... Czech : https://mirror.dkm.cz/manjaro/
..... Denmark : https://mirrors.dotsrc.org/manjaro/
0.761 Denmark : https://www.uex.dk/public/manjaro/
..... France : https://mirror.oldsql.cc/manjaro/
0.759 France : https://manjaro.mcofficer.me/
0.723 France : https://manjaro.ynh.ovh/
0.601 France : http://ftp.free.org/mirrors/repo.manjaro.org/repos/
0.896 France : ftp://ftp.free.org/mirrors/repo.manjaro.org/repos/
0.561 France : http://kibo.remi.lu/
..... Germany : https://mirror.alpix.eu/manjaro/
..... Germany : https://mirror.23media.com/manjaro/
..... Germany : http://mirror.23media.com/manjaro/
..... Germany : https://ftp.halifax.rwth-aachen.de/manjaro/
0.741 Germany : ftp://ftp.halifax.rwth-aachen.de/manjaro/
..... Germany : http://ftp.tu-chemnitz.de/pub/linux/manjaro/
0.875 Germany : ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/
0.278 Germany : https://mirror.netzspielplatz.de/manjaro/packages/
..... Germany : https://mirror.netcologne.de/manjaro/
0.557 Germany : https://manjaro.moson.eu/
0.239 Germany : http://manjaro.moson.eu/
0.643 Germany : https://manjaro.moson.org/
0.241 Germany : http://manjaro.moson.org/
..... Greece : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/
..... Greece : http://ftp.cc.uoc.gr/mirrors/linux/manjaro/
1.315 Greece : ftp://ftp.cc.uoc.gr/mirrors/linux/manjaro/
0.898 Hungary : https://quantum-mirror.hu/mirrors/pub/manjaro/
0.412 Hungary : http://quantum-mirror.hu/mirrors/pub/manjaro/
0.786 Hungary : https://nova.quantum-mirror.hu/mirrors/pub/manjaro/
0.562 Hungary : http://nova.quantum-mirror.hu/mirrors/pub/manjaro/
..... Iceland : https://mirrors.opensource.is/manjaro/
..... Iceland : http://mirrors.opensource.is/manjaro/
..... Iceland : ftp://mirrors.opensource.is/manjaro/
::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirrors.opensource.is/manjaro/'
..... Italy : https://manjaro.mirror.garr.it/manjaro/
..... Italy : https://ba.mirror.garr.it/mirrors/manjaro/
..... Italy : https://ct.mirror.garr.it/mirrors/manjaro/
0.915 Netherlands : https://manjaro.mirrors.lavatech.top/
0.264 Netherlands : http://manjaro.mirrors.lavatech.top/
..... Netherlands : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
0.843 Netherlands : ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
..... Netherlands : http://ftp.snt.utwente.nl/pub/linux/manjaro/
0.812 Netherlands : ftp://ftp.snt.utwente.nl/pub/linux/manjaro/
..... Netherlands : https://mirror.koddos.net/manjaro/
..... Norway : http://mirror.terrahost.no/linux/manjaro/
..... Poland : https://mirror.tuchola-dc.pl/manjaro/
0.656 Poland : http://ftp.vectranet.pl/manjaro/
0.900 Poland : ftp://ftp.vectranet.pl/manjaro/
..... Portugal : http://ftp.dei.uc.pt/pub/linux/manjaro/
..... Russia : https://mirror.yandex.ru/mirrors/manjaro/
..... Sweden : https://ftp.lysator.liu.se/pub/manjaro/
1.038 Sweden : ftp://ftp.lysator.liu.se/pub/manjaro/
..... Sweden : https://mirror.zetup.net/manjaro/
0.524 Switzerland : https://manjaro.osmir.ch/
0.251 Switzerland : http://manjaro.osmir.ch/
..... United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/
1.272 United_Kingdom : http://manjaro.mirrors.uk2.net/
2.111 United_Kingdom : https://uk.mirrors.fossho.st/manjaro/
0.315 United_Kingdom : http://uk.mirrors.fossho.st/manjaro/
::INFO Writing mirror list
::Germany : https://manjaro.moson.eu/stable
::Germany : https://manjaro.moson.org/stable
::Switzerland : https://manjaro.osmir.ch/stable
::Netherlands : https://manjaro.mirrors.lavatech.top/stable
::Germany : https://mirror.netzspielplatz.de/manjaro/packages/stable
::United_Kingdom : https://uk.mirrors.fossho.st/manjaro/stable
::Hungary : https://quantum-mirror.hu/mirrors/pub/manjaro/stable
::France : http://kibo.remi.lu/stable
::Hungary : https://nova.quantum-mirror.hu/mirrors/pub/manjaro/stable
::Austria : http://mirror.easyname.at/manjaro/stable
::France : https://manjaro.ynh.ovh/stable
::Germany : https://ftp.halifax.rwth-aachen.de/manjaro/stable
::France : https://manjaro.mcofficer.me/stable
::Denmark : https://www.uex.dk/public/manjaro/stable
::Bulgaria : http://manjaro.telecoms.bg/stable
::Netherlands : http://ftp.snt.utwente.nl/pub/linux/manjaro/stable
::Netherlands : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable
::Germany : http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable
::France : http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable
::Poland : http://ftp.vectranet.pl/manjaro/stable
::Sweden : https://ftp.lysator.liu.se/pub/manjaro/stable
::United_Kingdom : http://manjaro.mirrors.uk2.net/stable
::Greece : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable
::Belgium : https://mirror.futureweb.be/manjaro/stable
::Austria : http://mirror.inode.at/manjaro/stable
::Norway : http://mirror.terrahost.no/linux/manjaro/stable
::Belarus : http://mirror.datacenter.by/pub/mirrors/manjaro/stable
::Germany : https://mirror.23media.com/manjaro/stable
::Portugal : http://ftp.dei.uc.pt/pub/linux/manjaro/stable
::Germany : https://mirror.netcologne.de/manjaro/stable
::Germany : https://mirror.alpix.eu/manjaro/stable
::United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable
::Sweden : https://mirror.zetup.net/manjaro/stable
::Poland : https://mirror.tuchola-dc.pl/manjaro/stable
::Netherlands : https://mirror.koddos.net/manjaro/stable
::Denmark : https://mirrors.dotsrc.org/manjaro/stable
::Bulgaria : https://mirrors.netix.net/manjaro/stable
::Russia : https://mirror.yandex.ru/mirrors/manjaro/stable
::Czech : https://mirror.dkm.cz/manjaro/stable
::France : https://mirror.oldsql.cc/manjaro/stable
::Italy : https://manjaro.mirror.garr.it/manjaro/stable
::Italy : https://ct.mirror.garr.it/mirrors/manjaro/stable
::Italy : https://ba.mirror.garr.it/mirrors/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[manjaro /]# sudo pacman -Syyu
:: Synchronizing package databases...
core 169.1 KiB 1626 KiB/s 00:00 [###########################################################] 100%
extra 2006.2 KiB 1911 KiB/s 00:01 [###########################################################] 100%
community 6.1 MiB 2.05 MiB/s 00:03 [###########################################################] 100%
multilib 196.3 KiB 2.13 MiB/s 00:00 [###########################################################] 100%
:: Starting full system upgrade...
there is nothing to do
[manjaro /]#
I have already done a Bios update to the latest version A.90
always same error in Xorg , or something else
sudo journalctl -b0 -p4
sudo more /var/log/Xorg.0.log | grep '(EE)'
Yes, it’s always the same errors.
I can’t post the output of journalctl because it is too big. Unfortunately I can’t send links either.
[manjaro pkg]# sudo more /var/log/Xorg.0.log | grep '(EE)'
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 9.066] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 9.108] (EE) AMDGPU(0): eglGetDisplay() failed
[ 9.108] (EE) AMDGPU(0): glamor detected, failed to initialize EGL.
[ 9.200] (EE)
[ 9.200] (EE) Backtrace:
[ 9.200] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x55b3350d4ac3]
[ 9.200] (EE) 1: /usr/lib/Xorg (0x55b334f8e000+0x151905) [0x55b3350df905]
[ 9.200] (EE) 2: /usr/lib/libc.so.6 (0x7f8260ff5000+0x3c3e0) [0x7f82610313e0]
[ 9.200] (EE) 3: /usr/lib/libc.so.6 (gsignal+0x145) [0x7f8261031355]
[ 9.201] (EE) 4: /usr/lib/libc.so.6 (abort+0x127) [0x7f826101a853]
[ 9.201] (EE) 5: /usr/lib/libc.so.6 (0x7f8260ff5000+0x25727) [0x7f826101a727]
[ 9.201] (EE) 6: /usr/lib/libc.so.6 (0x7f8260ff5000+0x34936) [0x7f8261029936]
[ 9.201] (EE) 7: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f8260432000+0x8fd3) [0x7f826043afd3]
[ 9.201] (EE) 8: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f8260432000+0x933a) [0x7f826043b33a]
[ 9.201] (EE) 9: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f8260432000+0x1534d) [0x7f826044734d]
[ 9.201] (EE) 10: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f8260432000+0x1746a) [0x7f826044946a]
[ 9.201] (EE) 11: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f8260432000+0x19127) [0x7f826044b127]
[ 9.201] (EE) 12: /usr/lib/Xorg (MapWindow+0x251) [0x55b335031961]
[ 9.201] (EE) 13: /usr/lib/Xorg (0x55b334f8e000+0x39619) [0x55b334fc7619]
[ 9.201] (EE) 14: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f826101c002]
[ 9.201] (EE) 15: /usr/lib/Xorg (_start+0x2e) [0x55b334fc85de]
[ 9.201] (EE)
[ 9.201] (EE)
[ 9.201] (EE) Caught signal 6 (Aborted). Server aborting
[ 9.201] (EE)
[ 9.201] (EE)
[ 9.201] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 9.201] (EE)
[ 9.254] (EE) Server terminated with error (1). Closing log file.
[manjaro pkg]#
try to downgrade xf86-video-amdgpu ?
sudo downgrade xf86-video-amdgpu
Hello,
Sorry for my late answer but I had to work.
I downgraded xf86-video-amdgpu to version 19.1.0-1 but this did not change anything and the x server still does not start. These are exactly the same error messages.
So slowly I am really desperate…
so if you want to re-install
save list package into /home ,
save /home ,
and do re -install with only / ( do not format /home , only add for mountpoint )
Ok, I will try to reinstall manjaro.
My home directory is located on an extra partition.
When I install manjaro, I simply enter this partition as home directory and if I then use the same username, everything should be as before, right?
I have also backed up my installed packages.
pacman -Qqen > packages.txt
What is the best way to use this file to reinstall the packages with pacman afterwards?
you need this
sudo pacman -S --needed $( < packages.txt)
Thanks for the quick answer, I will reinstall. I will let you know if it worked.
Hello,
so, I’m pretty sure now that it must have something to do with the last official updates. Here’s what I have done:
Downloaded the latest Manjaro Plasma iso and reinstalled it. I replaced my existing manjaro installation and kept the home partition.
It all worked fine, now I installed kernel 5.7 and 5.8 and rebooted.
It starts without problems with kernel 5.8.
Now I have run sudo pacman-mirrors -c Germany
and then sudo pacman -Syyu
Even after that, it still starts perfectly.
Now I ran sudo pacman -S --needed $( < packages.txt)
, it downloaded and installed about 4 GB (without error messages), now I restarted and have exactly the same problem again. Since there were over 800 packages he installed, I don’t know which package caused the error.
So I will have to do the whole thing again and then install everything separately.
@inko I had the exact same problem as you, and I found the solution here: Black screen since the latest update (tty ok)
Then the problem aren’t the updates. There’s a package causing the issue. cat /var/log/pacman.log
should show you which if those packages were installed fresh or were already installed.