SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As many of you probably already know, I've been working on keeping the supremely vintage 304-version of the proprietary nVidia driver alive for Slackware 15. I do realize that, in all probability, there aren't many out there still running a GPU old enough to require this 304-version. But, if there are others like me--content to continue running the same hardware until it dies a natural death--and still run a very long-in-the-tooth nvidia GPU, you may find this stuff useful. (After tinkering with it on-and-off for over a year, I think it's ready to go.)
The build scripts haven't changed dramatically since my previous thread, but there have been minor tweaks and many patches added. The patches include five more for the nvidia kernel module to fix build issues on kernels 5.18-6.2 and fifteen(!) more to fix Xorg-server CVEs. Between the new ones and the ones from volkerdi that I'd already been applying, we are now up to 21 CVEs fixed from 2018 up to the latest batch for December 2022.
So, for any who want them, here they are. (As per usual, all necessary info can be found in the various README files and source download links are in the .info files.)
Feedback welcomed.
EDIT: Thanks to Daedra's heads-up about another CVE, I just removed the xorg-legacy119 temporarily while I test the latest patch. I'll attach the updated one soon.
EDIT #2: OK, the latest patch has been applied to the xorg-server-legacy build. Twenty-two CVEs now accounted for ;-) Latest SlackBuild attached to post #5 below.
OK, so the new patch referenced in my edit of the post above appears to compile and run nicely. Attached is the updated SlackBuild with the new (Jan 2023) CVE fix included.
Man, you are great! You made a set of fine SlackBuilds.
Specially, I loved how you build the kernel packages.
BTW, you tried "ignore-abi" for the Xorg driver? I remember that time ago I managed to run a legacy NVIDIA blob with -current almost Slackware 15.0 because somewhere on garage I have a NVIDIA GeForce 210. Ended that Nouveau already handled well this particular graphics card and I stuck in the end with it.
Last edited by LuckyCyborg; 02-07-2023 at 04:44 PM.
@JayByrd
Man, you are great! You made a set of fine SlackBuilds.
Specially, I loved how you build the kernel packages.
Thanks, LC.
Quote:
Originally Posted by LuckyCyborg
... Ended that Nouveau already handled well this particular graphics card and I stuck in the end with it.
Oh, how I wish nouveau worked well with my hardware... If it did, none of this would be required.
I did try the ignore-ABI option when I first ran into this problem back in September 2021. However, the Xserver failed to launch, and the error log still said something along the lines of "ABI incompatible."
Attached below is the latest update to the xorg-server-legacy119 SlackBuild. I added volkerdi's patch to fix CVE-2023-1393.
That makes 23 CVEs addressed so far, and I think that accounts for all of them. If anyone knows of any I have missed, let me know and I'll look into it.
Also attached is the latest update to the nvidia-legacy304-kernel SlackBuild. No substantive changes here, just a little clean-up.
Attached is the latest update to my nvidia-legacy304-kernel SlackBuild. Yet another patch has been added: this one to allow compilation on 6.3-rc kernels. (See changelog.txt and patch_credits.txt for info.)
xorg-server-legacy119.SlackBuild is not working for me
Hi,
xorg-server-legacy119.SlackBuild is not working for me. This is what I get:
Code:
root@lucia:/nvidia/xorg-server-legacy119# ./xorg-server-legacy119.SlackBuild
tar: /nvidia/xorg-server-legacy119/xorg-server-1.19.7.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
./xorg-server-legacy119.SlackBuild: line 96: cd: xorg-server-1.19.7: No such file or directory
Hmm... Looks like a unified diff to me...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur xorg-server-1.12.1.orig/dix/window.c xorg-server-1.12.1/dix/window.c
|--- xorg-server-1.12.1.orig/dix/window.c 2012-03-29 21:57:25.000000000 -0500
|+++ xorg-server-1.12.1/dix/window.c 2012-04-13 22:01:24.456073603 -0500
--------------------------
File to patch: ^C
xorg-server-legacy119.SlackBuild not working for me
Hi,
xorg-server-legacy119.SlackBuild is not working for me. This is what I get when I run it:
Code:
root@lucia:/nvidia/xorg-server-legacy119# ./xorg-server-legacy119.SlackBuild
tar: /nvidia/xorg-server-legacy119/xorg-server-1.19.7.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
./xorg-server-legacy119.SlackBuild: line 96: cd: xorg-server-1.19.7: No such file or directory
Hmm... Looks like a unified diff to me...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur xorg-server-1.12.1.orig/dix/window.c xorg-server-1.12.1/dix/window.c
|--- xorg-server-1.12.1.orig/dix/window.c 2012-03-29 21:57:25.000000000 -0500
|+++ xorg-server-1.12.1/dix/window.c 2012-04-13 22:01:24.456073603 -0500
--------------------------
File to patch: ^C
Am I doing something wrong?
[EDIT]Answer: Yes, you are. Simply download xorg-server-1.19.7.tar.gz in the same directory where the xorg-server-legacy119.SlackBuild is. That will fix it. Next time read more carefully the output.[EDIT]
Any help will be greatly appreciated. Please keep in mind that I am quite new to Slackware
Regards,
Sinanqapudan
Last edited by sinanqapudan; 05-21-2023 at 05:11 AM.
Reason: Solution found
Copy and paste this into your editor of choice and name it "0032-get_user_pages-6.5.patch". Then gzip the file and place it in the "patches" directory of the SlackBuild (see post #9.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.