Bug 137988

Summary: prelink kills agpgart
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Mark Delvaux <jamnt>
Component: OtherAssignee: Marcus Meissner <meissner>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mark Delvaux 2005-12-11 23:47:44 UTC
OS:
SuSE linux ver 9.2, 9.3 10.0 64-bit
video GeForce 4200 and GeForce 6600GT
RAM 2GB
HDD SATA, 120GB, 
CPU AMD64 3000+

Condition:
installed nvidia driver (SuSE's or from nVidia site) and installed prelink.

required setting in xorg.conf option:
Option "NvAGP" "2"

nVidia driver (set with NvAGP "2" = AGPGART) in combination with installed prelink causes GUI to freeze randomly (time between seconds since login to 2 days). Mouse is working, however keyboard does not, so hard reset is required.
This happened on the same machine with SuSE 9.2 32-bit, SuSE 9.2 64-bit, SuSE 9.3 64-bit and SuSE 10.0 64-bit

Without prelink  installed and with NvAGP set to "2" system is stable (for 21 days at least)
with prelink installed system with nvidia driver is stable onlt if specifically set in xorg.conf
Option "NvAGP" "1"

Resolution: do not install prelink or set NvAGP "1"
Second option is suboptimal.
It is obviously easy fix, however I could not find any information that prelink is not compatible with AGPGART. It took some time before I realised that there is fatal connection between prelink and AGPGART.
Comment 1 Martin Lasarsch 2005-12-12 12:28:33 UTC
coolo: is there something we can do about that or not because of the closed source drivers?
Comment 2 Stephan Kulow 2005-12-12 12:51:37 UTC
sorry, you _install_ prelink and that breaks something? prelink does _nothing_ when being installed. You first need to enable it /etc/sysconfig/prelink - unless you did that, there is nothing prelink does beside sitting there. So if that breaks something, then this driver checks for the existance of some files to assume a certain functionality.
Comment 3 Mark Delvaux 2005-12-12 13:28:26 UTC
I just answered to both of you. My answer is gone. So try again.
Yes I activated prlink
changed
USE_PRELINK="no"
to
USE_PRELINK="yes"

prelink is then eaither activated from command line:
prelink -a
or by installation of any software using Yast

I don't want to really comment "closed source drivers"
However what you may do:
set "conflict" flag if one is trying to install prelink and nvidia drivers. Add warning to the Novell's page about prelink
It is possible to set prelink without prelinking nvidia driver
Comment 4 Marcus Meissner 2007-01-18 12:45:23 UTC
likely prelink does not like the nvidia.

not much we can do except perhaps suppress prelinking
the nvidia libs.

prelink is not recommended to use anymore by us.