Jump to content

Can't start X


YaAqoB
 Share

Recommended Posts

Hello all.

For some reason my PC won't start into X.

It starts directly into a terminal. If I type startx I get an error.

The error is in the following log.

 

Release Date: 18 December 2003

X Protocol Version 11, Revision 0, Release 6.7

Build Operating System: Linux 2.4.19-44mdkenterprise i686 [ELF]

Current Operating System: Linux localhost 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686

Build Date: 18 November 2004

Before reporting problems, check http://wiki.X.Org

to make sure that you have the latest version.

Module Loader present

Markers: (--) probed, (**) from config file, (==) default setting,

(++) from command line, (!!) notice, (II) informational,

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 9 20:59:14 2005

(==) Using config file: "/etc/X11/xorg.conf"

(==) ServerLayout "layout1"

(**) |-->Screen "screen1" (0)

(**) | |-->Monitor "monitor1"

(**) | |-->Device "device1"

(**) |-->Input Device "Keyboard1"

(**) Option "XkbModel" "pc105"

(**) XKB: model: "pc105"

(**) Option "XkbLayout" "us,tml(UNI)"

(**) XKB: layout: "us,tml(UNI)"

(**) Option "XkbOptions" "compose:rwin,grp:shift_toggle,grp_led:scroll"

(**) XKB: options: "compose:rwin,grp:shift_toggle,grp_led:scroll"

(==) Keyboard: CustomKeycode disabled

(**) |-->Input Device "Mouse1"

(**) FontPath set to "unix/:-1"

(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"

(==) ModulePath set to "/usr/X11R6/lib/modules"

(**) Option "AllowMouseOpenFail"

(II) Open APM successful

(II) Module ABI versions:

X.Org ANSI C Emulation: 0.2

X.Org Video Driver: 0.7

X.Org XInput driver : 0.4

X.Org Server Extension : 0.2

X.Org Font Renderer : 0.4

(II) Loader running on linux

(II) LoadModule: "bitmap"

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a

(II) Module bitmap: vendor="X.Org Foundation"

compiled for 6.7.0, module version = 1.0.0

Module class: X.Org Font Renderer

ABI class: X.Org Font Renderer, version 0.4

(II) Loading font Bitmap

(II) LoadModule: "pcidata"

(II) Loading /usr/X11R6/lib/modules/libpcidata.a

(II) Module pcidata: vendor="X.Org Foundation"

compiled for 6.7.0, module version = 1.0.0

ABI class: X.Org Video Driver, version 0.7

Using vt 7

(--) using VT number 7

 

(II) PCI: Probing config type using method 1

(II) PCI: Config type is 1

(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000

(II) PCI: PCI scan (all values are in hex)

(II) PCI: 00:00:0: chip 10de,01e0 card 0000,0000 rev c1 class 06,00,00 hdr 80

(II) PCI: 00:00:1: chip 10de,01eb card 10de,0c17 rev c1 class 05,00,00 hdr 80

(II) PCI: 00:00:2: chip 10de,01ee card 10de,0c17 rev c1 class 05,00,00 hdr 80

(II) PCI: 00:00:3: chip 10de,01ed card 10de,0c17 rev c1 class 05,00,00 hdr 80

(II) PCI: 00:00:4: chip 10de,01ec card 10de,0c17 rev c1 class 05,00,00 hdr 80

(II) PCI: 00:00:5: chip 10de,01ef card 10de,0c17 rev c1 class 05,00,00 hdr 80

(II) PCI: 00:01:0: chip 10de,0060 card 1458,0c11 rev a4 class 06,01,00 hdr 80

(II) PCI: 00:01:1: chip 10de,0064 card 1458,0c11 rev a2 class 0c,05,00 hdr 80

(II) PCI: 00:02:0: chip 10de,0067 card 1458,5004 rev a4 class 0c,03,10 hdr 80

(II) PCI: 00:02:1: chip 10de,0067 card 1458,5004 rev a4 class 0c,03,10 hdr 80

(II) PCI: 00:02:2: chip 10de,0068 card 1458,5004 rev a4 class 0c,03,20 hdr 80

(II) PCI: 00:04:0: chip 10de,0066 card 1458,e000 rev a1 class 02,00,00 hdr 00

(II) PCI: 00:08:0: chip 10de,006c card 0000,0000 rev a3 class 06,04,00 hdr 01

(II) PCI: 00:09:0: chip 10de,0065 card 1458,5002 rev a2 class 01,01,8a hdr 00

(II) PCI: 00:1e:0: chip 10de,01e8 card 0000,0000 rev c1 class 06,04,00 hdr 01

(II) PCI: 01:07:0: chip 1102,0002 card 1102,8040 rev 05 class 04,01,00 hdr 80

(II) PCI: 01:07:1: chip 1102,7002 card 1102,0020 rev 05 class 09,80,00 hdr 80

(II) PCI: 01:09:0: chip 1737,1032 card 1737,0015 rev 12 class 02,00,00 hdr 00

(II) PCI: 02:00:0: chip 10de,0312 card 107d,2937 rev a1 class 03,00,00 hdr 00

(II) PCI: End of PCI scan

(II) Host-to-PCI bridge:

(II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)

(II) Bus 0 I/O range:

[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX

(II) Bus 0 non-prefetchable memory range:

[0] -1 0 0x00000000 - 0xffffffff (0x0) MX

(II) Bus 0 prefetchable memory range:

[0] -1 0 0x00000000 - 0xffffffff (0x0) MX

(II) PCI-to-ISA bridge:

(II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)

(II) PCI-to-PCI bridge:

(II) Bus 1: bridge is at (0:8:0), (0,1,1), BCTRL: 0x0202 (VGA_EN is cleared)

(II) Bus 1 I/O range:

[0] -1 0 0x0000d000 - 0x0000dfff (0x1000) IX

(II) Bus 1 non-prefetchable memory range:

[0] -1 0 0xe6000000 - 0xe6ffffff (0x1000000) MX

(II) PCI-to-PCI bridge:

(II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x000a (VGA_EN is set)

(II) Bus 2 non-prefetchable memory range:

[0] -1 0 0xe4000000 - 0xe5ffffff (0x2000000) MX

(II) Bus 2 prefetchable memory range:

[0] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX

(--) PCI:*(2:0:0) nVidia Corporation NV31 [GeForce FX 5600] rev 161, Mem @ 0xe4000000/24, 0xd0000000/28

(II) Addressable bus resource ranges are

[0] -1 0 0x00000000 - 0xffffffff (0x0) MX

[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX

(II) OS-reported resource ranges:

[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)

[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)

[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX

[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX

[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX

[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX

[6] -1 0 0x00000000 - 0x000000ff (0x100) IX

(II) PCI Memory resource overlap reduced 0xe0000000 from 0xe3ffffff to 0xdfffffff

(II) Active PCI resource ranges:

[0] -1 0 0xe6000000 - 0xe6003fff (0x4000) MX

[1] -1 0 0xe7000000 - 0xe7000fff (0x1000) MX

[2] -1 0 0xe7004000 - 0xe70040ff (0x100) MX

[3] -1 0 0xe7003000 - 0xe7003fff (0x1000) MX

[4] -1 0 0xe7002000 - 0xe7002fff (0x1000) MX

[5] -1 0 0xe0000000 - 0xdfffffff (0x0) MXO

[6] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX(B)

[7] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX(B)

[8] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX

[9] -1 0 0x0000d400 - 0x0000d407 (0x8) IX

[10] -1 0 0x0000d000 - 0x0000d01f (0x20) IX

[11] -1 0 0x0000f000 - 0x0000f00f (0x10) IX

[12] -1 0 0x0000e000 - 0x0000e007 (0x8) IX

[13] -1 0 0x0000ec00 - 0x0000ec1f (0x20) IX

(II) Active PCI resource ranges after removing overlaps:

[0] -1 0 0xe6000000 - 0xe6003fff (0x4000) MX

[1] -1 0 0xe7000000 - 0xe7000fff (0x1000) MX

[2] -1 0 0xe7004000 - 0xe70040ff (0x100) MX

[3] -1 0 0xe7003000 - 0xe7003fff (0x1000) MX

[4] -1 0 0xe7002000 - 0xe7002fff (0x1000) MX

[5] -1 0 0xe0000000 - 0xdfffffff (0x0) MXO

[6] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX(B)

[7] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX(B)

[8] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX

[9] -1 0 0x0000d400 - 0x0000d407 (0x8) IX

[10] -1 0 0x0000d000 - 0x0000d01f (0x20) IX

[11] -1 0 0x0000f000 - 0x0000f00f (0x10) IX

[12] -1 0 0x0000e000 - 0x0000e007 (0x8) IX

[13] -1 0 0x0000ec00 - 0x0000ec1f (0x20) IX

(II) OS-reported resource ranges after removing overlaps with PCI:

[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)

[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)

[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX

[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX

[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX

[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX

[6] -1 0 0x00000000 - 0x000000ff (0x100) IX

(II) All system resource ranges:

[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)

[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)

[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX

[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX

[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX

[5] -1 0 0xe6000000 - 0xe6003fff (0x4000) MX

[6] -1 0 0xe7000000 - 0xe7000fff (0x1000) MX

[7] -1 0 0xe7004000 - 0xe70040ff (0x100) MX

[8] -1 0 0xe7003000 - 0xe7003fff (0x1000) MX

[9] -1 0 0xe7002000 - 0xe7002fff (0x1000) MX

[10] -1 0 0xe0000000 - 0xdfffffff (0x0) MXO

[11] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX(B)

[12] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX(B)

[13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX

[14] -1 0 0x00000000 - 0x000000ff (0x100) IX

[15] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX

[16] -1 0 0x0000d400 - 0x0000d407 (0x8) IX

[17] -1 0 0x0000d000 - 0x0000d01f (0x20) IX

[18] -1 0 0x0000f000 - 0x0000f00f (0x10) IX

[19] -1 0 0x0000e000 - 0x0000e007 (0x8) IX

[20] -1 0 0x0000ec00 - 0x0000ec1f (0x20) IX

(II) LoadModule: "dbe"

(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a

(II) Module dbe: vendor="X.Org Foundation"

compiled for 6.7.0, module version = 1.0.0

Module class: X.Org Server Extension

ABI class: X.Org Server Extension, version 0.2

(II) Loading extension DOUBLE-BUFFER

(II) LoadModule: "v4l"

(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o

(II) Module v4l: vendor="X.Org Foundation"

compiled for 6.7.0, module version = 0.0.1

ABI class: X.Org Video Driver, version 0.7

(II) LoadModule: "extmod"

(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a

(II) Module extmod: vendor="X.Org Foundation"

compiled for 6.7.0, module version = 1.0.0

Module class: X.Org Server Extension

ABI class: X.Org Server Extension, version 0.2

(II) Loading extension SHAPE

(II) Loading extension MIT-SUNDRY-NONSTANDARD

(II) Loading extension BIG-REQUESTS

(II) Loading extension SYNC

(II) Loading extension MIT-SCREEN-SAVER

(II) Loading extension XC-MISC

(II) Loading extension XFree86-VidModeExtension

(II) Loading extension XFree86-Misc

(II) Loading extension XFree86-DGA

(II) Loading extension DPMS

(II) Loading extension FontCache

(II) Loading extension TOG-CUP

(II) Loading extension Extended-Visual-Information

(II) Loading extension XVideo

(II) Loading extension XVideo-MotionCompensation

(II) Loading extension X-Resource

(II) LoadModule: "type1"

(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a

(II) Module type1: vendor="X.Org Foundation"

compiled for 6.7.0, module version = 1.0.2

Module class: X.Org Font Renderer

ABI class: X.Org Font Renderer, version 0.4

(II) Loading font Type1

(II) Loading font CID

(II) LoadModule: "freetype"

(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so

(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"

compiled for 6.7.0, module version = 2.1.0

Module class: X.Org Font Renderer

ABI class: X.Org Font Renderer, version 0.4

(II) Loading font FreeType

(II) LoadModule: "glx"

(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so

(II) Module glx: vendor="NVIDIA Corporation"

compiled for 4.0.2, module version = 1.0.6629

Module class: XFree86 Server Extension

ABI class: XFree86 Server Extension, version 0.1

(II) Loading extension GLX

(II) LoadModule: "nvidia"

(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o

(II) Module nvidia: vendor="NVIDIA Corporation"

compiled for 4.0.2, module version = 1.0.6629

Module class: XFree86 Video Driver

(II) LoadModule: "mouse"

(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o

(II) Module mouse: vendor="X.Org Foundation"

compiled for 6.7.0, module version = 1.0.0

Module class: X.Org XInput Driver

ABI class: X.Org XInput driver, version 0.4

(II) v4l driver for Video4Linux

(II) NVIDIA X Driver 1.0-6629 Wed Nov 3 13:14:07 PST 2004

(II) NVIDIA Unified Driver for all NVIDIA GPUs

(II) Primary Device is: PCI 02:00:0

(--) Assigning device section with no busID to primary device

(--) Chipset NVIDIA GPU found

(II) resource ranges after xf86ClaimFixedResources() call:

[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)

[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)

[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX

[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX

[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX

[5] -1 0 0xe6000000 - 0xe6003fff (0x4000) MX

[6] -1 0 0xe7000000 - 0xe7000fff (0x1000) MX

[7] -1 0 0xe7004000 - 0xe70040ff (0x100) MX

[8] -1 0 0xe7003000 - 0xe7003fff (0x1000) MX

[9] -1 0 0xe7002000 - 0xe7002fff (0x1000) MX

[10] -1 0 0xe0000000 - 0xdfffffff (0x0) MXO

[11] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX(B)

[12] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX(B)

[13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX

[14] -1 0 0x00000000 - 0x000000ff (0x100) IX

[15] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX

[16] -1 0 0x0000d400 - 0x0000d407 (0x8) IX

[17] -1 0 0x0000d000 - 0x0000d01f (0x20) IX

[18] -1 0 0x0000f000 - 0x0000f00f (0x10) IX

[19] -1 0 0x0000e000 - 0x0000e007 (0x8) IX

[20] -1 0 0x0000ec00 - 0x0000ec1f (0x20) IX

(II) resource ranges after probing:

[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)

[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)

[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX

[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX

[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX

[5] -1 0 0xe6000000 - 0xe6003fff (0x4000) MX

[6] -1 0 0xe7000000 - 0xe7000fff (0x1000) MX

[7] -1 0 0xe7004000 - 0xe70040ff (0x100) MX

[8] -1 0 0xe7003000 - 0xe7003fff (0x1000) MX

[9] -1 0 0xe7002000 - 0xe7002fff (0x1000) MX

[10] -1 0 0xe0000000 - 0xdfffffff (0x0) MXO

[11] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX(B)

[12] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX(B)

[13] 0 0 0x000a0000 - 0x000affff (0x10000) MS

[14] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS

[15] 0 0 0x000b8000 - 0x000bffff (0x8000) MS

[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX

[17] -1 0 0x00000000 - 0x000000ff (0x100) IX

[18] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX

[19] -1 0 0x0000d400 - 0x0000d407 (0x8) IX

[20] -1 0 0x0000d000 - 0x0000d01f (0x20) IX

[21] -1 0 0x0000f000 - 0x0000f00f (0x10) IX

[22] -1 0 0x0000e000 - 0x0000e007 (0x8) IX

[23] -1 0 0x0000ec00 - 0x0000ec1f (0x20) IX

[24] 0 0 0x000003b0 - 0x000003bb (0xc) IS

[25] 0 0 0x000003c0 - 0x000003df (0x20) IS

(II) Setting vga for screen 0.

(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32

(==) NVIDIA(0): RGB weight 888

(==) NVIDIA(0): Default visual is TrueColor

(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)

(**) NVIDIA(0): Option "NoLogo" "1"

(**) NVIDIA(0): Option "NvAGP" "3"

(--) NVIDIA(0): Linear framebuffer at 0xD0000000

(--) NVIDIA(0): MMIO registers at 0xE4000000

(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!

(EE) NVIDIA(0): *** Aborting ***

(II) UnloadModule: "nvidia"

(EE) Screen(s) found, but none have a usable configuration.

 

Fatal server error:

no screens found

 

Please consult the The X.Org Foundation support

at http://wiki.X.Org

for help.

Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Link to comment
Share on other sites

Guest J2Dope

im no expert by any means... but when you installed MDK, after all your selected packages are installed, did u configure *and* test your graphics display driver thingy?

Link to comment
Share on other sites

Yep.

I have had the proper Nvidia drivers running for about a month now.

Just all of a sudden it won't load now.

Not sure what has changed. I'm thinking its something simple.

Like it says its loading the screen0 but in the config file its screen1.

If you have any other clues please let me know.

Link to comment
Share on other sites

You have installed something that has affected the nvidia installation. Reinstall the nvidia driver. If you want to verify that x is not at fault, edit the /etc/X11/xfconfig file to read "nv" rather than "nvidia" and see if the gui comes up. If it does, just reinstall nvidia.

Link to comment
Share on other sites

Hey wicked, thanks for your advice. I changed back to the NV and now it will start.

Only prob now is that it wont let me reinstall the NVIDIA drivers. Gives a few errors.

I have paisted the nvidia installer log below.

 

---------------------------------------------------------

 

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Mon Jan 10 14:32:14 2005

 

option status:

license pre-accepted : false

update : false

force update : false

expert : false

uninstall : false

driver info : false

no precompiled interface: false

no ncurses color : false

query latest driver ver : false

OpenGL header files : false

no questions : false

silent : false

no backup : false

kernel module only : false

sanity : false

add this kernel : false

no runlevel check : false

no network : false

no ABI note : false

no RPMs : false

force tls : (not specified)

force compat32 tls : (not specified)

X install prefix : /usr/X11R6

OpenGL install prefix : /usr

compat32 install prefix : (not specified)

installer install prefix: /usr

utility install prefix : /usr

kernel name : (not specified)

kernel include path : (not specified)

kernel source path : (not specified)

kernel output path : (not specified)

kernel install path : (not specified)

proc mount point : /proc

ui : (not specified)

tmpdir : /root/tmp

ftp mirror : ftp://download.nvidia.com

RPM file list : (not specified)

 

Using: nvidia-installer ncurses user interface

-> License accepted.

-> There appears to already be a driver installed on your system (version: 1.0-

6629). As part of installing this driver (version: 1.0-6629), the existing

driver will be uninstalled. Are you sure you want to continue? ('no' will a

bort installation) (Answer: Yes)

-> No precompiled kernel interface was found to match your kernel; would you li

ke the installer to attempt to download a kernel interface for your kernel f

rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)

ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again

later))

-> No matching precompiled kernel interface was found on the NVIDIA ftp site;

this means that the installer will need to compile a kernel interface for

your kernel.

-> Kernel source path: '/lib/modules/2.6.8.1-12mdk/build'

-> Performing CC test with CC="cc".

-> Performing rivafb check.

-> Performing rivafb module check.

WARNING: Your kernel was configured to include rivafb support as

a loadable kernel module.

 

The rivafb driver conflicts with the NVIDIA driver; the

NVIDIA kernel module will still be built and installed,

but be aware that the NVIDIA driver will not be able to

function properly if the rivafb module is loaded!

-> Cleaning kernel module build directory.

executing: 'cd ./usr/src/nv; make clean'...

rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-

agp.o os-interface.o os-registry.o nvidia.mod.o

rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}

rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~

rm -f -rf .tmp_versions

-> Building kernel module:

executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.8.1-12mdk/b

uild SYSOUT=/lib/modules/2.6.8.1-12mdk/build'...

Your kernel was configured to include rivafb support as

a loadable kernel module.

 

The rivafb driver conflicts with the NVIDIA driver; the

NVIDIA kernel module will still be built and installed,

but be aware that the NVIDIA driver will not be able to

function properly if the rivafb module is loaded!

 

*** Failed rivafb module sanity check, but continuing! ***

 

 

NVIDIA: calling KBUILD...

make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.8.1-12mdk/build SUBDIRS=/ro

ot/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules

mkdir -p /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp

_versions

make -f scripts/Makefile.build obj=/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0

-6629-pkg1/usr/src/nv

echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz468

6/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h

cc -Wp,-MD,/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/

.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstric

t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-fl

oat -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/a

sm-i386/mach-default -O2 -Wdeclaration-after-statement -I/root/tmp/selfgz468

6/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -

Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi

char -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL

_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_

_KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE

L=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U

_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_P

CI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUIL

D_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz4686/NVIDIA-Linu

x-x86-1.0-6629-pkg1/usr/src/nv/nv.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.

0-6629-pkg1/usr/src/nv/nv.c

cc -Wp,-MD,/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/

.nv-vm.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wst

rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft

-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclud

e/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/root/tmp/selfgz

4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-typ

e -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mu

ltichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KER

NEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES

-D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHL

EVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG

-U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV

_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBU

ILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /root/tmp/self

gz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.o /root/tmp/selfgz468

6/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c

/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: w

arning: 'cache_flush' defined but not used

cc -Wp,-MD,/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/

.os-agp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Ws

trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msof

t-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclu

de/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/root/tmp/selfg

z4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-ty

pe -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-m

ultichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KE

RNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES

-D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHL

EVEL=6629 -DNV_

UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEB

UG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DE

VICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=os

_agp -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0

-6629-pkg1/usr/src/nv/os-agp.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-662

9-pkg1/usr/src/nv/os-agp.c

cc -Wp,-MD,/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/

.os-interface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wa

ll -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe

-msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I

include/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/root/tmp/

selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wretu

rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -

Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOO

SE_KERNE

L_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D

__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV

EL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -

U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_

PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUI

LD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz4686/

NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.o /root/tmp/selfgz468

6/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.c

cc -Wp,-MD,/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/

.os-registry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wal

l -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe

-msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I

include/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/root/tmp/

selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv

-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth

eses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast

-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_

SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DN

V_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_

OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV

_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_

CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=os_registry -DKBUILD_MODNAME=nvid

ia -c -o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-r

egistry.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-

registry.c

ld -m elf_i386 -r -o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/

usr/src/nv/nvidia.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/

src/nv/nv-kernel.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s

rc/nv/nv.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv

-vm.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.

o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interfac

e.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-regist

ry.o

Building modules, stage 2.

make -rR -f /usr/src/linux-2.6.8.1-12mdk/scripts/Makefile.modpost

scripts/mod/modpost -i /usr/src/linux-2.6.8.1-12mdk/Module.symvers /root/t

mp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.o

cc -Wp,-MD,/root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/

.nvidia.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall

-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -m

soft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iin

clude/asm-i386/mach-default -O2 -Wdeclaration-after-statement -DKBUILD_BA

SENAME=nvidia -DKBUILD_MODNAME=nvidia -DMODULE -c -o /root/tmp/selfgz4686/NV

IDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.

mod.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.

mod.c

ld -m elf_i386 -r -o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/u

sr/src/nv/nvidia.ko /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/

src/nv/nvidia.o /root/tmp/selfgz4686/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/

nv/nvidia.mod.o

NVIDIA: left KBUILD.

-> done.

-> Kernel module compilation complete.

ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely

because the kernel module was built using the wrong kernel source files.

Please make sure you have installed the kernel source files for your

kernel; on Red Hat Linux systems, for example, be sure you have the

'kernel-source' rpm installed. If you know the correct kernel source

files are installed, you may specify the kernel source path with the

'--kernel-source-path' commandline option.

-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':

-1 File exists

-> Kernel messages:

bootsplash: status on console 3 changed to on

bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377

bytes, v3).

bootsplash: status on console 4 changed to on

bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377

bytes, v3).

bootsplash: status on console 5 changed to on

ERROR: Installation has failed. Please see the file

'/var/log/nvidia-installer.log' for details. You may find suggestions

on fixing installation problems in the README available on the Linux

driver download page at www.nvidia.com.

Link to comment
Share on other sites

This tells me that you have loaded a new kernel for the system and have not replaced or updated the sources. Your kernel sources must match the running kernel for any software to compile correctly on the machine. When you loaded the new kernel, the nvidia driver stopped working because it was compiled against a different kernel.

Please post the conrent of your /etc/lilo.conf file.

Link to comment
Share on other sites

Ok here goes.

I havn't updated my kernel, well not that I know off anyway.

The only thing I have done is install java1.4

--------------------------------------

 

# File generated by DrakX/drakboot

# WARNING: do not forget to run lilo after modifying this file

 

default="linux"

boot=/dev/hda

map=/boot/map

keytable=/boot/us.klt

prompt

nowarn

timeout=400

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label="linux"

root=/dev/hda6

initrd=/boot/initrd.img

append="acpi=ht splash=silent"

vga=788

read-only

image=/boot/vmlinuz

label="linux-nonfb"

root=/dev/hda6

initrd=/boot/initrd.img

append="devfs=nomount acpi=ht"

read-only

image=/boot/vmlinuz

label="failsafe"

root=/dev/hda6

initrd=/boot/initrd.img

append="failsafe acpi=ht devfs=nomount"

read-only

other=/dev/hda1

label="windows"

table=/dev/hda

image=/boot/vmlinuz-2.6.8.1-10mdk

label="2681-10"

root=/dev/hda6

initrd=/boot/initrd-2.6.8.1-10mdk.img

append="devfs=nomount acpi=ht splash=silent"

vga=788

read-only

image=/boot/vmlinuz-2.6.8.1-12mdk

label="2681-12"

root=/dev/hda6

initrd=/boot/initrd-2.6.8.1-12mdk.img

append="acpi=ht splash=silent"

vga=788

read-only

----------------------------------------

 

Hope this helps :)

Link to comment
Share on other sites

You show 2 kernels, 2.6.8.1-10 and 2.6.8.1-12. You need to install a file called kernel-source-2.6.8.1-12mdk.i586.rpm (or something similar to this) and install it. Then, boot the new kernel and run the nvidia installer again. I think 10 was the default release and 12 was a bug release. Install the sources and you'll be fine.

Link to comment
Share on other sites

uname -r

will tell you what kernel you are using

 

rpm -qa | grep kernel

will tell you what kernel pkgs you have installed. If what is installed does not match the running kernel then uninstall it or them. Then try

urpmi kernel-source

If needed after that, use google or these links to find the right kernel-source, manually download it and install it with (as root)

rpm -ivh kernel-source-x.x.x.mdk.ixxx.rpm

(x's being for the version)

http://rpm.pbone.net/index.php3/stat/2/simple/2

http://rpmfind.net/

http://www.rpmseek.com/index.html

Edited by bvc
Link to comment
Share on other sites

I have downloaded this file from about 4 different locations and I get the same error every time:

 

[root@localhost misc]# rpm -ivh kernel-2.6.8.1.12mdk-1-1mdk.src.rpm

1:kernel-2.6.8.1.12mdk warning: user quintela does not exist - using root

warning: group quintela does not exist - using root

warning: user quintela does not exist - using root

warning: group quintela does not exist - using root

warning: user quintela does not exist - using root

warning: group quintela does not exist - using root

warning: user quintela does not exist - using root

warning: group quintela does not exist - using root

warning: user quintela does not exist - using root

warning: group quintela does not exist - using root

########################################### [100%]

warning: user quintela does not exist - using root

warning: group quintela does not exist - using root

warning: user quintela does not exist - using root

warning: group quintela does not exist - using root

 

 

I'm not actually sure if it has installed.

Anyway it still won't let me reinstall the nvidia drivers so I'm assuming it has not.

Link to comment
Share on other sites

That is not the correct file. The file is named "kernel-source-2.4.6-blahblah" The file you are installing is a source file for compiling a kernel. It is different. The kernel-source is a regular rpm, not a .src rpm.

 

GO HERE

Link to comment
Share on other sites

Good morning.

I downloaded the rpm from your link, and tried to install it. It told me it was already installed.

I then uninstalled the existing one and the older version and then installed the rpm.

I then tried to install the nvidia drives as per normal but i still get the same kernel errors.

Any other ideas??

Thanks for all your help so far by the way.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...