Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-16-07, 06:46 AM   #13
Amr_not_Amr
*BANNED*
 
Amr_not_Amr's Avatar
 
Join Date: Apr 2006
Posts: 11
Default Re: [Patch] unified patch for Xen or Realtime Preemption for 1.0-8776

Can this patch work with NVIDIA-Linux-x86_64-100.14.09 version?
Amr_not_Amr is offline   Reply With Quote
Old 06-16-07, 06:55 AM   #14
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: [Patch] unified patch for Xen or Realtime Preemption for 1.0-8776

Quote:
Originally Posted by Amr_not_Amr
Can this patch work with NVIDIA-Linux-x86_64-100.14.09 version?
For xen or real-time preemption?

Please note that for 9755 the patch is not necessary any more for real-time
preemption (with recent -rt kernels)! I didn't yet tried it out for 100.14.09,
but it should work OOTB.

I'm pretty sure xen-awareness still needs to be patched in, but the existing
patch should be fairly easy adoptible.

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 06-16-07, 07:03 AM   #15
Amr_not_Amr
*BANNED*
 
Amr_not_Amr's Avatar
 
Join Date: Apr 2006
Posts: 11
Default Re: [Patch] unified patch for Xen or Realtime Preemption for 1.0-8776

Quote:
Originally Posted by JaXXoN
For xen or real-time preemption?

Please note that for 9755 the patch is not necessary any more for real-time
preemption (with recent -rt kernels)! I didn't yet tried it out for 100.14.09,
but it should work OOTB.

I'm pretty sure xen-awareness still needs to be patched in, but the existing
patch should be fairly easy adoptible.

regards

Bernhard
Thanks alot,
I mean for Dom0 kernels ...
should I use this patch or the patch for 1.0-9625 .. or it makes no difference?
and should I follow the exact steps here ... or there are some changes that should be made?

Thanks really
Amr_not_Amr is offline   Reply With Quote
Old 07-28-07, 10:17 AM   #16
trukix
Registered User
 
Join Date: Jul 2007
Posts: 2
Default Re: [Patch] unified patch for Xen or Realtime Preemption for 1.0-8776

Hi,

running on Debian Etch with 2.6.18-4-xen-amd64 kernel and nvidia-kernel-source package version 1.0.8776-4.

The patch didn't apply easily. I got the following errors :

patching file nv.c
Hunk #2 succeeded at 927 (offset 4 lines).
Hunk #3 succeeded at 941 (offset 4 lines).
Hunk #4 succeeded at 951 (offset 4 lines).
patching file nv-linux.h
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #2 FAILED at 94.
Hunk #3 FAILED at 225.
Hunk #4 FAILED at 593.
Hunk #5 FAILED at 733.
Hunk #6 FAILED at 745.
5 out of 6 hunks FAILED -- saving rejects to file nv-linux.h.rej
patching file nv-vm.c
patching file os-agp.c
patching file os-interface.c

The nv-linux.h.rej shows that the differences are already applied to the debian file.

I then compiled with the
MODULE_LOC=tmp/modules module-assistant --unpack-once build nvidia
command (from http://www.debian-administration.org/articles/493) and installed it with no problems.

I then started X and my screen get blank with no possibilities to return to console (Ctrl-Alt-F1/F2/...) or kill the X server (Ctrl-Alt-Backspace)

If I check the X.org logfiles, I got the following differences between a non-Xen kernel with running X and the Xen kernel with non running X :

6c6
< Current Operating System: Linux sietch 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64
---
> Current Operating System: Linux sietch 2.6.18-4-xen-amd64 #1 SMP Fri May 4 02:40:51 UTC 2007 x86_64
14c14
< (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 28 17:03:07 2007
---
> (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 28 17:01:24 2007
48c48,49
< (II) Open ACPI successful (/var/run/acpid.socket)
---
> (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
> (II) No APM support in BIOS or kernel
449,507d449
< (II) NVIDIA(0): Setting mode "1280x1024"
< (II) Loading extension NV-GLX
< (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
< (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
< (==) NVIDIA(0): Backing store disabled
< (==) NVIDIA(0): Silken mouse enabled
< (**) Option "dpms"
< (**) NVIDIA(0): DPMS enabled
< (II) Loading extension NV-CONTROL
< (==) RandR enabled
< (II) Initializing built-in extension MIT-SHM
< (II) Initializing built-in extension XInputExtension
< (II) Initializing built-in extension XTEST
< (II) Initializing built-in extension XKEYBOARD
< (II) Initializing built-in extension XC-APPGROUP
< (II) Initializing built-in extension SECURITY
< (II) Initializing built-in extension XINERAMA
< (II) Initializing built-in extension XFIXES
< (II) Initializing built-in extension XFree86-Bigfont
< (II) Initializing built-in extension RENDER
< (II) Initializing built-in extension RANDR
< (II) Initializing built-in extension COMPOSITE
< (II) Initializing built-in extension DAMAGE
< (II) Initializing built-in extension XEVIE
< (II) Initializing extension GLX
< (**) Option "CoreKeyboard"
< (**) Generic Keyboard: Core Keyboard
< (**) Option "Protocol" "standard"
< (**) Generic Keyboard: Protocol: standard
< (**) Option "AutoRepeat" "500 30"
< (**) Option "XkbRules" "xorg"
< (**) Generic Keyboard: XkbRules: "xorg"
< (**) Option "XkbModel" "pc105"
< (**) Generic Keyboard: XkbModel: "pc105"
< (**) Option "XkbLayout" "fr"
< (**) Generic Keyboard: XkbLayout: "fr"
< (**) Option "XkbVariant" "latin9"
< (**) Generic Keyboard: XkbVariant: "latin9"
< (**) Option "CustomKeycodes" "off"
< (**) Generic Keyboard: CustomKeycodes disabled
< (**) Option "Protocol" "ImPS/2"
< (**) Configured Mouse: Device: "/dev/input/mice"
< (**) Configured Mouse: Protocol: "ImPS/2"
< (**) Option "CorePointer"
< (**) Configured Mouse: Core Pointer
< (**) Option "Device" "/dev/input/mice"
< (**) Option "Emulate3Buttons" "true"
< (**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
< (**) Configured Mouse: ZAxisMapping: buttons 4 and 5
< (**) Configured Mouse: Buttons: 9
< (II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
< (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
< (II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
< xkb_keycodes { include "xfree86+aliases(azerty)" };
< xkb_types { include "complete" };
< xkb_compatibility { include "complete" };
< xkb_symbols { include "pc(pc105)+fr(latin9)" };
< xkb_geometry { include "pc(pc105)" };
< (II) Configured Mouse: ps2EnableDataReporting: succeeded

I hope it can help.

For the moment, I go back to the 'nv' open source driver.
trukix is offline   Reply With Quote
Old 07-28-07, 10:39 AM   #17
trukix
Registered User
 
Join Date: Jul 2007
Posts: 2
Default Re: [Patch] unified patch for Xen or Realtime Preemption for 1.0-8776

I have redone the process of patching, compilation and test from scratch.

Now, I have a different error on /var/log/XFree86.0.log :

(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.6
(EE) No drivers available.

Fatal server error:
no screens found

Very strange because a
/lib/modules # find . -name *nvidia*
./2.6.18-4-amd64/nvidia
./2.6.18-4-amd64/nvidia/nvidia.ko
./2.6.18-4-amd64/kernel/drivers/video/nvidia
./2.6.18-4-amd64/kernel/drivers/video/nvidia/nvidiafb.ko
./2.6.18-4-xen-amd64/nvidia
./2.6.18-4-xen-amd64/nvidia/nvidia.ko

Anyone got an idea ?
trukix is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:05 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.