You are not logged in.

#1 2014-04-28 20:20:06

DrShame
Member
Registered: 2014-04-26
Posts: 21

[SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

I did a Pacman -Syu a few moments ago, it did and upgrade on 12 components and now the system is unbootable sad  It looks like some video error. I see the login for a few moments, then X server starts, but no desktop loads and just black screen. Can't even switch to console with ctrl-alt-F1/2.

Posting this from my Mint backup distro. Anything i can do to fix this ? I recognize some video drivers in the log (i use catalyst-hook), maybe there's some conflict, but what now ?

pacman log from the operation:

[2014-04-28 21:55] [PACMAN] Running 'pacman -Syu'
[2014-04-28 21:55] [PACMAN] synchronizing package lists
[2014-04-28 21:55] [PACMAN] starting full system upgrade
[2014-04-28 21:59] [PACMAN] removed shared-color-profiles (0.1.5-1)
[2014-04-28 21:59] [PACMAN] upgraded elfutils (0.158-1 -> 0.158-2)
[2014-04-28 21:59] [PACMAN] upgraded mesa (10.1.1-1 -> 10.1.1-2)
[2014-04-28 21:59] [PACMAN] upgraded mesa-libgl (10.1.1-1 -> 10.1.1-2)
[2014-04-28 21:59] [PACMAN] upgraded ati-dri (10.1.1-1 -> 10.1.1-2)
[2014-04-28 21:59] [PACMAN] upgraded colord (1.0.6-1 -> 1.2.0-1)
[2014-04-28 21:59] [PACMAN] upgraded cronie (1.4.11-1 -> 1.4.11-2)
[2014-04-28 21:59] [PACMAN] upgraded gtk3 (3.12.1-1 -> 3.12.1-2)
[2014-04-28 21:59] [PACMAN] upgraded inxi (2.1.20-1 -> 2.1.23-1)
[2014-04-28 21:59] [PACMAN] upgraded kdeedu-ktouch (4.13.0-1 -> 4.13.0-2)
[2014-04-28 21:59] [PACMAN] upgraded lib32-elfutils (0.158-1 -> 0.158-2)
[2014-04-28 21:59] [PACMAN] upgraded openjpeg (1.5.1-2 -> 1.5.2-1)
[2014-04-28 21:59] [PACMAN] upgraded qt5-base (5.2.1-3 -> 5.2.1-4)


i also installed alsa-oss separately but don't think it would cause such a complete failure.

Last edited by DrShame (2014-04-30 18:20:22)

Offline

#2 2014-04-28 20:35:27

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,174
Website

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

DrShame wrote:

I see the login for a few moments, then X server starts, but no desktop loads and just black screen. Can't even switch to console with
ctrl-alt-F1/2.

What do you mean I see the login? Are you using a DM (GDM, KDM, something else)?

Anything from /var/log/Xorg.log or /var/log/Xorg.log.old when this happens? Easiest way to get one is to boot into Arch, what for this to happen, shutdown, boot into Mint and get the file(s).


Also, was the fglrx module built? If you enabled the catalyst-hook.service then yes.

======

Hmm... I have an AMD card, using AMD Catalyst, and I don't have ati-dri installed.

======

Also, [ code ] tags...

Last edited by clfarron4 (2014-04-28 20:39:03)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-04-28 20:39:10

DrShame
Member
Registered: 2014-04-26
Posts: 21

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

i see the login for a few secs then it goes black, i'm using kde

Last edited by DrShame (2014-04-28 20:40:48)

Offline

#4 2014-04-28 21:11:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

Could you chose a more informative title please.  I'd suggest something like "Catalyst-hook - black screen after upgrade"

As for the issue, have you rebuilt catalyst-hook since the upgrade?

This clearly does not actually prevent booting, it just locks up X.  Boot into the console to do repairs or get the logs (as mentioned above, X logs/output would be helpful).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-04-28 21:14:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

Well, let's at least get you to a console so you can log in.  Reboot and, from your boot loader, add systemd.unit=multi-user.target to the kernel command line.
Then, lets take a look at the logs and see what we can see.   

I am puzzled that you could not switch to a different console.  Had your kernel paniced?  Check to see if your keyboard lights are blinking.
If you did not have a panic, and you are running an sshd server, you might also try logging in from another box.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2014-04-29 01:41:59

Pse
Member
Registered: 2008-03-15
Posts: 415

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

Reinstall Catalyst. ati-dri should not be installed if you are using Catalyst.

Offline

#7 2014-04-29 05:47:28

DrShame
Member
Registered: 2014-04-26
Posts: 21

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

I chrooted into the arch installation and removed the ati-dri driver through pacman, no effect. Still locks up the same way. Last time i looked on Xorg.0.log it was empty. I suspect KDM is causing the crash, i'll chroot again and stop it from running on startup. Thanks for the multi-user trick, i'll try it for sure.

Keyboard lights weren't blinking, and when i pushed the power button on the pc case, the system started powering down correctly with rows of stuff being written on screen.

Yes, i reinstalled catalyst a few times but it didn't help.

I'll post more news in the evening when i get home. Thanks for your tips.

Last edited by DrShame (2014-04-29 06:02:57)

Offline

#8 2014-04-29 15:41:44

DrShame
Member
Registered: 2014-04-26
Posts: 21

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

got me some logs:

Xorg.0.log

kdm.log

i tried to fix it manually, it didn't work but at least the screen is not blocked anymore when trying to run kdm, so i can use the prompt now.

Offline

#9 2014-04-29 16:50:06

Pse
Member
Registered: 2008-03-15
Posts: 415

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

mesa-libgl should not be present when using catalyst either. Uninstall that and then reinstall catalyst.
Conflict list for catalyst-total:

conflicts=('libgl' 'catalyst' 'catalyst-daemon' 'catalyst-generator' 'catalyst-hook' 'catalyst-utils' 'libcl' 'catalyst-dkms' 'mesa-libgl' 'mesa-libgl-git')

Offline

#10 2014-04-29 17:14:06

DrShame
Member
Registered: 2014-04-26
Posts: 21

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

i tried but it mentions a few dependencies and also writes an error that it couldn't solve dependecies:

amdapp-sdk
cairo
freeglut
glamor-egl
glu
libva
mesa-demos
mplayer
qt4
qt5-base
xorg-xdriinfo


If i try to uninstall it and everything that is dependent on it (-Rsc flag), then it produces a list of components with total size of 3.2GB (guess the whole kde and something extra)

Offline

#11 2014-04-29 17:15:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

You need to install the libgl package for catalyst at the same time.

Offline

#12 2014-04-29 17:50:33

DrShame
Member
Registered: 2014-04-26
Posts: 21

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

Replaced mesa-libgl with catalyst-libgl, but things didn't change.

I noticed that if i rename fglrx_drv.so in /usr/lib/xorg/modules/drivers to something else, X or kdm doesn't even blink the screen during the attempt. But if i try to reinstall either catalyst from AUR or catalyst-hook from repository, the file isn't even recreated ?

Last edited by DrShame (2014-04-29 17:51:04)

Offline

#13 2014-04-30 11:13:04

Pse
Member
Registered: 2008-03-15
Posts: 415

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

DrShame wrote:

Replaced mesa-libgl with catalyst-libgl, but things didn't change.

I noticed that if i rename fglrx_drv.so in /usr/lib/xorg/modules/drivers to something else, X or kdm doesn't even blink the screen during the attempt. But if i try to reinstall either catalyst from AUR or catalyst-hook from repository, the file isn't even recreated ?

I believe that file is part of catalyst-utils.

Offline

#14 2014-04-30 18:19:53

DrShame
Member
Registered: 2014-04-26
Posts: 21

Re: [SOLVED] Pacman -Syu broke Arch (Catalyst/DM related)

I've finally made a breaktrough smile

Decided to reinstall Arch. So i've formatted the root partition, pacstrapped Arch onto it, did the usual configuration for locales etc ... installed Xorg, Catalyst-hook from Vi0lo's repository and KDE. To my pleasant surprise, the system booted into the kde graphical interface and the desktop looked exactly like before the breakdown. Icons and widgets, themes, graphic settings, wallpapper - untouched. Only had to reinstall wine, but the wine filesystem remained intact and windows games were working out of the box.

Therefore, i forgive you Arch and welcome you back to my PC smile

Also thanks Vi0lo for your wonderful repository smile

Last edited by DrShame (2014-04-30 18:21:51)

Offline

Board footer

Powered by FluxBB