Updating from 12.2 to 12.3 failed

I attempted to upgrade my 12.2 desktop to a 12.3, basically followed this link

How To Upgrade OpenSUSE 12.2 To 12.3 (Desktop & Server) | HowtoForge - Linux Howtos and Tutorials

While going through the upgrade I noticed that there seemed to be a problem regarding the nvidia driver. I had the 12.3 nvidia repository enabled. The card is a nvidia geforce gtx 650.

After rebooting it complains about (with 12.2 I have had to compile the network driver manually, it’s a Atheros AR8161/8165)


Failed to start LSB .... something about the xinetd 

Then it continues to


Reached target Multi-User
Reached target Graphical Interface

and hangs there.

Any and all ideas would be welcomed on how to continue.

Cheers!

](http://www.howtoforge.com/how-to-upgrade-opensuse-12.2-to-12.3-desktop-and-server)

Did you try to uninstall the nVIDIA video driver by chance? I would have done it first I think. A clean install is an option while NOT formatting /home.

Thank You,

That’s normal. That’s because you don’t have any xinetd services activated.

Then it continues to

Reached target Multi-User
Reached target Graphical Interface

and hangs there.

Any and all ideas would be welcomed on how to continue.

Try to select “recovery mode” in the boot menu (under “Advanced Options”), then you should get to a graphical system.
Then post the file /var/log/Xorg.0.log and the output of:

rpm -qa | grep nvidia

Ok, I could get terminal access via Alt-F2. I saw that it has installed the G03 versions of the nvidia drivers. I removed them and compiled the network card driver. Aftet that I regained access when booting up in the recovery mode


zypper se -is nvidia
Loading repository data...
Reading installed packages...

S | Name                      | Type    | Version                 | Arch   | Repository
--+---------------------------+---------+-------------------------+--------+-----------
i | nvidia-computeG02         | package | 304.88-26.1             | x86_64 | Nvidia    
i | nvidia-gfxG02-kmp-desktop | package | 304.88_k3.7.10_1.1-25.1 | x86_64 | Nvidia    
i | x11-video-nvidiaG02       | package | 304.88-26.1             | x86_64 | Nvidia

But now it only recognized one of my two monitors . When I try to use nvidia-settings I get


You do not appear to be using the NVIDIA X driver.  Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.

nvidia-xconfig gives me


sudo nvidia-xconfig 
root's password:

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

but after a reboot nothing has changed.


 /sbin/lspci | grep -i -e nvidia -e ether
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
03:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 10)

The log file is too long. Is there anything specific I should look for?

Thanks!

But that’s the G02 driver now, not G03… :wink:
Anyway, both support your card.

But now it only recognized one of my two monitors . When I try to use nvidia-settings I get

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run nvidia-xconfig as root), and restart the X server.

The driver can’t be loaded for some reason. If you booted to recovery mode that’s normal of course (the purpose of recovery mode is to use some fallback video driver).
Remove /etc/X11/xorg.conf and you should get at least a graphical system with the opensource driver in normal mode.

The log file is too long. Is there anything specific I should look for?

Upload it to SUSE Paste and post a link.

SUSE Paste

That’s from recovery mode, that doesn’t tell anything.

Please do a normal boot and post /var/log/Xorg.0.log.
If that boot fails, reboot to recovery mode again and post /var/log/Xorg.0.log.old instead.

SUSE Paste

Sorry about that.

After I removed the xorg.conf file it boots up in normal mode now.


/sbin/lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)

Is that strange?

No, not really.
Your xorg.conf told X to use the nvidia driver, but that failed to load so X failed to start.
By removing xorg.conf, X can now fall back to the VESA driver (nouveau can’t be loaded because it is blacklisted by the nvidia driver packages).

So your log file says:

    23.135] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
    23.135] (EE) NVIDIA:     system's kernel log for additional error messages.


That’s why the nvidia driver cannot be loaded.

Please reinstall the nvidia kernel module:

sudo zypper in -f nvidia-gfxG02-kmp-desktop

and post the output.

And please also post the output of:

dmesg | grep -i nvidia

Thank you for your help, and sorry about the time delay. I just got back home from work.

SUSE Paste


> dmesg | grep -i nvidia
    6.193437] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input10
    6.193603] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
    6.193724] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12

Apparently you are missing the kernel headers, which I find strange since zypper should install them automatically.
Please run this:

sudo zypper in -f kernel-desktop-devel-3.7.10-1.16.1 kernel-devel-3.7.10-1.16.1

and then try to reinstall the nvidia kernel module again. (and post the output)

To download all the kernel headers, you can use YaST to do it this way:

Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:

[X] Development 

[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development

Then Press the Accept button on the bottom right and allow these applications to install.

For anyone that uses Zypper, have a look at this blog:

Zypper Command - Zypper Package Management Menu System - Version 2.00 - Blogs - openSUSE Forums

Thank You,

Ok, installed the header files and re-installed the module:

SUSE Paste

Installing the missing kernel header files worked perfectly. I rebooted it normally after that and both the monitors where correctly (and automatically) detected.

Great! :slight_smile:

You might want to switch to the G03 driver again though, since that one is actively supported by nvidia. But that’s your decision of course… :wink: