Boot in init 5 without gui

Hello :wink:

i upgraded my xorg and kernel in order to compile last driver from nvidia, but had an error with /usr/src/linux not ok.
I then went there and did make oldconfig and make prepare.
I can now compile the driver bu i can’t boot but in init 5 with command line interface (cli) .

I have last nvidia driver , xorg.conf using nvidia driver.

startx gives me error messages , here’s the error message :
: cannot move old log file /var/log/Xorg.0.log to /var/log/Xorg.0.log.old
xinit no such file or dir errno 2 : unable to connect to X server
xinit no such process errno3 ; server error

Renaming Xorg.0.log.old is not helping.

Can you help me with this ?
thanks :wink:

How exactly did You upgrade xorg and kernel ? Could You specify the exact method You used ?

Best regards,
Greg

yes,
i looked for xorg and kernel in opensuse download site, and used the appropriate repositories that i added in yast, which i used to upgrade, this was not enough as some packages were missing : sources, syms, i don’t remember exactly which ones.
I added them from init3.

I then upgraded and my 256.63 driver was claiming for /usr/src/linux not being ok. Which is why i did as mentionned above in #1 message.

Can You Try reverting xorg to the original OSS version ?

Could You post here your current repo list ?

Best regards,
Greg

which one is the original version of xorg ?

Repos are default plus community ones and the ones i told you, i left only oss, non oss , update and packman enabled .

The version in the oss repo.

Repos are default plus community ones and the ones i told you, i left only oss, non oss , update and packman enabled .
There are many repositories containing xorg You need to be more specific. Also the packages which You installed and don’t remember what they were exactly might make a difference. In short there are to many questions to help You out.

Best regards,
Greg

i can’t tell you, the details are on a different machine

You don’t have to hurry. Just post it here once You’ll get access to that machine.

Best regards,
Greg

@manchette_fr: Please post the output of:

> ls -l /usr/bin/Xorg
-rws--x--x 1 root root 1999580 19. Aug 17:36 /usr/bin/Xorg

Make sure that it has the setuid bit set, like in my example. If it is not set then this was the problem.

hi :wink:

ok i reinstalled from scratch , but i still have a (different ) problem 


pc is ok with nv dirver but i’m a a bit stuborn and would like to understand what’s happening , i have a warning while building nvidia driver :
WARNING: Symbol version dump /usr/src/linux-2.6.29/Module.symvers is missing; module will have no dependencies and modversions.

a link explaining my warning : Preparing Linux kernel sources for compiling “external” out of tree kernel modules | Debian Ubuntu Linux Solutions Blog

Do you think this link is a good tip to follow ? it’s talking of headers so i’m not sure anymore what i shall do


Also it says cd /usr/src/my-graphics-kernel-module-source/
something i don’t get is where are these ? (my-graphics-kernel-module-source/)
is it in /usr/src/linux-2.6.34.7-0.7/drivers> ?
i can’t see anything looking like it there, what is this looking like ?

thanks :wink:

btw :
ls -l /usr/bin/Xorg
-rws–x–x 1 root root 1999580 aoĂ»t 19 17:36 /usr/bin/Xorg

Two options:

  • Your kernel-* packages are not all the same version. Should be.
  • Your kernel is too new for the NVIDIA driver, download the latest from the NVIDIA site.

Then this:
Do you have the driver from the NVIDIA repo installed as well? Then uninstall that first, install ‘hard way’ after that.

hey :wink:
i have default suse version :
uname -r
2.6.34.7-0.7-desktop
and driver is NVIDIA-Linux-x86-256.53.run which was ok before, so i guess it’s 1st option , but how can i sort this out ?

here are some versions of files , am i missing important ones ?

rpm -q kernel-desktop
kernel-desktop-2.6.34.7-0.7.1.i586
fabrice@linux-66k9:~> rpm -q kernel-source
kernel-source-2.6.34.7-0.7.1.noarch
fabrice@linux-66k9:~> rpm -q kernel-devel
kernel-devel-2.6.34.7-0.7.1.noarch
fabrice@linux-66k9:~> rpm -q kernel-desktop-devel
kernel-desktop-devel-2.6.34.7-0.7.1.i586
fabrice@linux-66k9:~> rpm -q kernel-syms
kernel-syms-2.6.34.7-0.7.1.i586

also i’m giving you the errors seen (lines with EE) in /var/log/Xorg.0.log : 18538.143] X.Org X Server 1.8.0 Release Date: - Xorg log](http://pastebin.com/MxBmt7G7)

I think You’ve got way too much packages installed. I think unless You’re building packages You just need kernel-desktop-2.6.34.7-0.7.1.i586 and You might also require kernel-firmware but I don’t think that’s the problem in your case. Check if they are installed from the same vendor and also confirm that preload package is from the same vendor as well. For me it looks like this (it should be different for standard openSUSE installation) :

grzes@opensuse:~> rpm -qi kernel-desktop
Name        : kernel-desktop               Relocations: (not relocatable)
Version     : 2.6.37                            Vendor: obs://build.opensuse.org/Kernel
Release     : 40.1                          Build Date: wto, 18 sty 2011, 12:48:16
Install Date: ƛro, 19 sty 2011, 06:20:37      Build Host: build27
Group       : System/Kernel                 Source RPM: kernel-desktop-2.6.37-40.1.nosrc.rpm
Size        : 110080141                        License: GPL v2 only
Signature   : DSA/SHA1, wto, 18 sty 2011, 13:32:09, Key ID dcbb9d72a29f6635
URL         : http://www.kernel.org/
Summary     : Kernel optimized for the desktop
Description :
This kernel is optimized for the desktop. It is configured for lower latency
and has many of the features that aren't usually used on desktop machines
disabled.


This kernel supports up to 64GB of main memory. It requires Physical
Addressing Extensions (PAE), which were introduced with the Pentium Pro
processor.

PAE is not only more physical address space but also important for the
"no execute" feature which disables execution of code that is marked as
non-executable. Therefore, the PAE kernel should be used on any systems
that support it, regardless of the amount of main memory.


Source Timestamp: 2011-01-18 01:48:18 +0100
GIT Revision: c4b823830a9bce0311c2b8d29472c0f20a5b45b3
GIT Branch: master
Distribution: Kernel:HEAD / openSUSE_11.3
grzes@opensuse:~> rpm -qi kernel-firmware
Name        : kernel-firmware              Relocations: (not relocatable)
Version     : 20101214                          Vendor: obs://build.opensuse.org/Kernel
Release     : 25.1                          Build Date: ƛro, 29 gru 2010, 00:22:53
Install Date: nie, 16 sty 2011, 06:48:22       Build Host: build21
Group       : System/Kernel                 Source RPM: kernel-firmware-20101214-25.1.src.rpm
Size        : 19824072                         License: NON-OSI-COMPLIANT(no modification) ; GPLv2 ; GPLv2+ ; MIT License (or similar)
Signature   : DSA/SHA1, ƛro, 29 gru 2010, 00:23:26, Key ID dcbb9d72a29f6635
URL         : ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
Summary     : Linux kernel firmware files
Description :
This package contains the firmware for in-kernel drivers that was
previously included in the kernel. It is shared by all kernels >=
2.6.27-rc1.
Distribution: Kernel:HEAD / openSUSE_11.3
grzes@opensuse:~> rpm -qi preload
Name        : preload                      Relocations: (not relocatable)
Version     : 1.2                               Vendor: obs://build.opensuse.org/Kernel
Release     : 50.11                         Build Date: ƛro, 12 sty 2011, 16:57:14
Install Date: nie, 16 sty 2011, 06:47:30       Build Host: build24
Group       : System/Boot                   Source RPM: preload-1.2-50.11.src.rpm
Size        : 60378                            License: GPLv2+
Signature   : DSA/SHA1, ƛro, 12 sty 2011, 16:58:31, Key ID dcbb9d72a29f6635
Summary     : Preloads Files into System Cache for Faster Booting
Description :
Preload lists files to load into the system cache. This shortens system
boot time if used correctly.
Distribution: Kernel:HEAD / openSUSE_11.3
  1. 18538.939] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
  2. 18538.939] (EE) NVIDIA: system’s kernel log for additional error messages.

Did You try following this advice ?

Best regards,
Greg

"You just need kernel-desktop-2.6.34.7-0.7.1.i586 "
i know this, but nvidia installer asked me for various things (gcc, make, kernel sources and zypper added all that stuff)

what’s preload package ?

i do not know where are system’s kernel log, nor what to look for there

vendor is the same for all above packages :
rpm -qi kernel-desktop
Name : kernel-desktop Relocations: (not relocatable)
Version : 2.6.34.7 Vendor: openSUSE
Release : 0.7.1 Build Date: mer. 15 déc. 2010 22:40:11 CET
Install Date: mer. 19 janv. 2011 00:11:51 CET Build Host: build14
Group : System/Kernel Source RPM: kernel-desktop-2.6.34.7-0.7.1.nosrc.rpm
Size : 102839265 License: GPLv2
Signature : RSA/8, mer. 15 déc. 2010 23:12:05 CET, Key ID b88b2fd43dbdc284
Packager : openSUSE:Submitting bug reports - openSUSE
URL : The Linux Kernel Archives
Summary : Kernel optimized for the desktop
Description :
This kernel is optimized for the desktop. It is configured for lower latency
and has many of the features that aren’t usually used on desktop machines
disabled.

This kernel supports up to 64GB of main memory. It requires Physical
Addressing Extensions (PAE), which were introduced with the Pentium Pro
processor.

PAE is not only more physical address space but also important for the
“no execute” feature which disables execution of code that is marked as
non-executable. Therefore, the PAE kernel should be used on any systems
that support it, regardless of the amount of main memory.

Source Timestamp: 2010-12-13 11:13:53 +0100
GIT Revision: 4d4b10f46816e1f07295489b7e10352799e6aaf9
GIT Branch: openSUSE-11.3
Distribution: openSUSE 11.3
fabrice@linux-66k9:~/.kde4/share> rpm -qi kernel-source
Name : kernel-source Relocations: /usr/src
Version : 2.6.34.7 Vendor: openSUSE
Release : 0.7.1 Build Date: mer. 15 déc. 2010 20:22:31 CET
Install Date: mar. 18 janv. 2011 22:47:01 CET Build Host: build21
Group : Development/Sources Source RPM: kernel-source-2.6.34.7-0.7.1.src.rpm
Size : 350790863 License: GPLv2
Signature : RSA/8, mer. 15 déc. 2010 20:59:00 CET, Key ID b88b2fd43dbdc284
Packager : openSUSE:Submitting bug reports - openSUSE
URL : The Linux Kernel Archives
Summary : The Linux Kernel Sources
Description :
Linux kernel sources with many fixes and improvements.

Source Timestamp: 2010-12-13 11:13:53 +0100
GIT Revision: 4d4b10f46816e1f07295489b7e10352799e6aaf9
GIT Branch: openSUSE-11.3
Distribution: openSUSE 11.3
fabrice@linux-66k9:~/.kde4/share> rpm -qi kernel-devel
Name : kernel-devel Relocations: /usr/src
Version : 2.6.34.7 Vendor: openSUSE
Release : 0.7.1 Build Date: mer. 15 déc. 2010 20:22:31 CET
Install Date: mar. 18 janv. 2011 22:46:07 CET Build Host: build21
Group : Development/Sources Source RPM: kernel-source-2.6.34.7-0.7.1.src.rpm
Size : 35248857 License: GPLv2
Signature : RSA/8, mer. 15 déc. 2010 20:59:00 CET, Key ID b88b2fd43dbdc284
Packager : openSUSE:Submitting bug reports - openSUSE
URL : The Linux Kernel Archives
Summary : Development files needed for building kernel modules
Description :
Kernel-level headers and Makefiles required for development of
external kernel modules.

Source Timestamp: 2010-12-13 11:13:53 +0100
GIT Revision: 4d4b10f46816e1f07295489b7e10352799e6aaf9
GIT Branch: openSUSE-11.3
Distribution: openSUSE 11.3
fabrice@linux-66k9:~/.kde4/share> rpm -qi kernel-desktop-devel
Name : kernel-desktop-devel Relocations: (not relocatable)
Version : 2.6.34.7 Vendor: openSUSE
Release : 0.7.1 Build Date: mer. 15 déc. 2010 22:40:11 CET
Install Date: mar. 18 janv. 2011 22:46:17 CET Build Host: build14
Group : Development/Sources Source RPM: kernel-desktop-2.6.34.7-0.7.1.nosrc.rpm
Size : 7750036 License: GPLv2
Signature : RSA/8, mer. 15 déc. 2010 23:12:21 CET, Key ID b88b2fd43dbdc284
Packager : openSUSE:Submitting bug reports - openSUSE
URL : The Linux Kernel Archives
Summary : Development files necessary for building kernel modules
Description :
This package contains files necessary for building kernel modules (and
kernel module packages) against the desktop flavor of the kernel.

Source Timestamp: 2010-12-13 11:13:53 +0100
GIT Revision: 4d4b10f46816e1f07295489b7e10352799e6aaf9
GIT Branch: openSUSE-11.3
Distribution: openSUSE 11.3
fabrice@linux-66k9:~/.kde4/share> rpm -qi kernel-syms
Name : kernel-syms Relocations: /usr/src
Version : 2.6.34.7 Vendor: openSUSE
Release : 0.7.1 Build Date: mer. 15 déc. 2010 20:18:04 CET
Install Date: mar. 18 janv. 2011 23:00:48 CET Build Host: build26
Group : Development/Sources Source RPM: kernel-syms-2.6.34.7-0.7.1.src.rpm
Size : 345 License: GPLv2
Signature : RSA/8, mer. 15 déc. 2010 20:18:30 CET, Key ID b88b2fd43dbdc284
Packager : openSUSE:Submitting bug reports - openSUSE
URL : The Linux Kernel Archives
Summary : Kernel Symbol Versions (modversions)
Description :
Kernel symbols, such as functions and variables, have version
information attached to them. This package contains the symbol versions
for the standard kernels.

This package is needed for compiling kernel module packages with proper
package dependencies.

Source Timestamp: 2010-12-13 11:13:53 +0100
GIT Revision: 4d4b10f46816e1f07295489b7e10352799e6aaf9
GIT Branch: openSUSE-11.3
Distribution: openSUSE 11.3
fabrice@linux-66k9:~/.kde4/share>

Could You wrap the output of such commands in code tags ?
Posting in Code Tags - A Guide

You didn’t show your version of the preload package. Preload lists files to load into the system cache. This shortens system
boot time if used correctly.

I’m guessing the kernel logs are somewhere in /var/log :wink: Can’t tell You exactly because I’m posting this from a windows machine.

Did You build Your nvidia driver with the kernel packages You’re using now or were they different at that time ? And after building the driver their version changed ?

Best regards,
Greg