PC stopped booting - Possible swap issue

Hi,

I was using my PC when it suddenly crashed with the following message : https://dl.dropboxusercontent.com/u/78906691/DSC_0092.jpg

After I reboot my PC for the first time, I got this message https://dl.dropboxusercontent.com/u/78906691/DSC_0093.jpg and I had a log in box (which as you can see isn’t the usual Gnome one) and after I entered my username and password showed another error message saying that something went wrong. Pressing Alt + F1 or F2 doesn’t show any terminal.

At my second reboot I got this message : https://dl.dropboxusercontent.com/u/78906691/DSC_0094.jpg

I’m not sure what caused it, but it may have something to do with what I do this weekend : with GParted I noticed that there was a “useless” 8 Gb partition and I deleted it, but then I found out that it was my swap partition that I allocated a few weeks ago when installing the OS. That said I thought that since I have 8 Gb of RAM and I rarely exceed 3 Gb of usage I assumed that it was pointless to create a new swap partition. So I just updated the /etc/fstab file and commented out the line dealing with the swap partition. I haven’t had any issues since then.

Do you have any idea how I can fix this issue? As of now, I am unable to boot.

Thanks

On 2014-09-09 20:56, andrecmoi wrote:
>
> Hi,
>
> I was using my PC when it suddenly crashed with the following message :
> https://dl.dropboxusercontent.com/u/78906691/DSC_0092.jpg
>
> After I reboot my PC for the first time, I got this message
> https://dl.dropboxusercontent.com/u/78906691/DSC_0093.jpg and I had a
> log in box (which as you can see isn’t the usual Gnome one)

No, it is a failsafe.

> and after I
> entered my username and password showed another error message saying
> that something went wrong. Pressing Alt + F1 or F2 doesn’t show any
> terminal.

It would be ctrl-alt-f1.

But perhaps right click on the desktop should display a short menu.

> At my second reboot I got this message :
> https://dl.dropboxusercontent.com/u/78906691/DSC_0094.jpg

That’s alsa. Forget it.

> I’m not sure what caused it, but it may have something to do with what I
> do this weekend : with GParted I noticed that there was a “useless” 8 Gb
> partition and I deleted it, but then I found out that it was my swap

http://i.imgur.com/ziiLrRk.png

:-))

> partition that I allocated a few weeks ago when installing the OS. That
> said I thought that since I have 8 Gb of RAM and I rarely exceed 3 Gb of
> usage I assumed that it was pointless to create a new swap partition. So
> I just updated the /etc/fstab file and commented out the line dealing
> with the swap partition. I haven’t had any issues since then.
>
> Do you have any idea how I can fix this issue? As of now, I am unable to
> boot.

No, the photos show that you did boot perfectly.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

So ctrl-alt-f1 works and I am able to log in in CLI, but a right click on the desktop doesn’t change anything. Is Gnome broken?

On 2014-09-10 02:36, andrecmoi wrote:

> So ctrl-alt-f1 works and I am able to log in in CLI, but a right click
> on the desktop doesn’t change anything. Is Gnome broken?

You did not post a photo of your entire display, so I’m unsure.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Here you have it : https://dl.dropboxusercontent.com/u/78906691/DSC_0095.jpg

Thanks

On 2014-09-10 03:16, andrecmoi wrote:
>
> robin_listas;2663768 Wrote:
>> On 2014-09-10 02:36, andrecmoi wrote:
>>
>>> So ctrl-alt-f1 works and I am able to log in in CLI, but a right click
>>> on the desktop doesn’t change anything. Is Gnome broken?
>>
>> You did not post a photo of your entire display, so I’m unsure.

> Here you have it :
> https://dl.dropboxusercontent.com/u/78906691/DSC_0095.jpg

That’s what I call “the login manager”, but it is not the proper name.
It’s the “display manager”. I think that’s “xdm” or “wdm” you got there

  • I’d have to test here to find out which, I have a faulty photographic
    memory :wink:

It must be a failsafe. At least you did not get the infamous “Oh no!
Something has gone wrong” message and subsequent crash.

You can try first if you can login. Just type your user name, enter,
then your password, enter. You should get a desktop; gnome or not, I
don’t know yet. If gnome starts, I can guess what you have to change to
get your normal display manager back. Otherwise, we have to investigate
more.

The typical problem with gnome not starting is that the video driver is
not working properly, and this usually happens after some update. What
kind of video do you have? Intel, nvidia, ati? Hybrid? Normal or
proprietary driver?


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Yes, it is xdm.

So apparently gdm fails to start or is not installed any more.

The typical problem with gnome not starting is that the video driver is
not working properly, and this usually happens after some update. What
kind of video do you have? Intel, nvidia, ati? Hybrid? Normal or
proprietary driver?

Well, in this case it doesn’t look like a video driver problem IMHO.
Since there was a complete GNOME update yesterday, probably something has gone wrong there.
As the original post mentions that the system suddenly crashed, maybe it crashed during installing that update?

Try to login as mentioned. Does GNOME work?

If not, try to run “sudo zypper up” (in text mode probably), maybe some packages didn’t get updated.
Check that gdm and gnome-session are installed (yast can be used in text mode too).
You might want to edit /etc/sysconfig/windowmanager to load a different window manager than GNOME by default, to get a graphical session.
Set DEFAULT_WM=“icewm” f.i., that should be installed by default.

I’ll try what you just suggested, but FYI when I try to log in I do get the “Oh no! Something went wrong” message, with a “Try again” button underneath.

Well, this could indeed point to a graphics driver problem, but could also be caused by a broken GNOME installation.
And as gdm does not even start at all (so xdm is run) I’d rather suspect the latter.

You could still answer which graphics card/driver you use though.

On 2014-09-10 13:26, wolfi323 wrote:
>
> andrecmoi;2663839 Wrote:
>> I’ll try what you just suggested, but FYI when I try to log in I do get
>> the “Oh no! Something went wrong” message, with a “Try again” button
>> underneath.
> Well, this could indeed point to a graphics driver problem, but could
> also be caused by a broken GNOME installation.
> And as gdm does not even start at all (so xdm is run) I’d rather suspect
> the latter.

At this point I’d suggest switching to wdm instead of xdm (assuming it
is installed), or “lightdm”. Procedure:

  • Go to a text console (ctrl-alt-f1).
  • Login as root.
  • run “init 3”, which kills the graphic mode.
  • Edit “/etc/sysconfig/displaymanager” using joe (aka jstar, jmacs,
    jpico). This editor is installed by default, otherwise I would suggest
    “mcedit” instead, but you have to install “mc” first.
  • Change this line:

DISPLAYMANAGER=“wdm”

  • then start again X, via “init 5”.

This assumes wdm is installed (package wdm). If you have to install it,
probably “lightdm” is nicer (the xfce default display manager).

The purpose of this is that wdm allows the user to choose a desktop,
whereas xdm does not, leaving him stuck with a non-working gnome.

Changing “DEFAULT_WM” might also work, but no click and choose…


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I’m using the Intel HD4400. Is there any way to fix the broken Gnome installation?

I also ran the “zypper up” command, and I got a few updates but they had nothing to do with Gnome though (they were basically on Chrome, Samba and VLC).

So I installed the “wdm” package, and now all I get is a black screen with a “prompt” (but I can’t type anything), and when I press ESC I get the following : https://dl.dropboxusercontent.com/u/78906691/DSC_0098.jpg
Is it possible to just fix or reinstall Gnome?

Hm.

Well, apparently X fails to start now.
What’s in /var/log/Xorg.0.log?
Try to switch back to gdm or xdm.

Have you checked that gdm is installed like I suggested?
Try to reinstall it:

sudo zypper in -f gdm

[QUOTE=wolfi323;2663884

 sudo zypper in -f gdm

[/QUOTE]

Reinstalling Gnome did the trick ! Thanks :slight_smile:

Well you did not reinstall gnome you reinstalled gdm which is the windows manager. It is important to understand these things. But congratz anyway LOL

Well, actually gdm is no “windows manager” either. :wink:

gdm is the “display manager”, aka login screen.
https://en.wikipedia.org/wiki/X_display_manager_(program_type)
A “window manager” is something else, it manages windows and allows you to move and resize them.
Examples are kwin and GNOME’s mutter (or metacity in earlier versions).
https://en.wikipedia.org/wiki/Window_manager
Reinstalling gdm didn’t fix the issue in this case I suppose, but it might have pulled in some missing libraries which made GNOME work again.

OK thanks for the explanations :slight_smile: