this post was submitted on 30 Aug 2023
588 points (98.2% liked)

Linux

48331 readers
1553 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Luis Chamberlain sent out the modules changes today for the Linux 6.6 merge window. Most notable with the modules update is a change that better builds up the defenses against NVIDIA's proprietary kernel driver from using GPL-only symbols. Or in other words, bits that only true open-source drivers should be utilizing and not proprietary kernel drivers like NVIDIA's default Linux driver in respecting the original kernel code author's intent.

Back in 2020 when the original defense was added, NVIDIA recommended avoiding the Linux 5.9 for the time being. They ended up having a supported driver several weeks later. It will be interesting to see this time how long Linux 6.6+ thwarts their kernel driver.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] ArbitraryValue@sh.itjust.works 10 points 1 year ago* (last edited 1 year ago) (2 children)

I get why the Linux folks are doing this, but I don't expect that it will make them popular with anyone who actually uses Nvidia drivers on Linux (which is a lot of people). I'm sure that my employer will choose up-to-date Nvidia drivers over up-to-date versions of the kernel, at least in the short term. In the long term it probably won't be an issue since Nvidia will figure something out, but if it did become an issue then ultimately Nvidia driver support is non-negotiable for the company where I work.

(No one cares what a small tech company does, but the big guys need Nvidia too so it should be possible to piggyback on whatever they do.)

[–] rikudou@lemmings.world 5 points 1 year ago (2 children)

I use Nvidia drivers on Linux and fully support it. You know what else is non-negotiable? Linux support for Nvidia. Huge chunk of their money comes from people using their GPUs on Linux for machine learning. And while they can use older kernels for now (because they're still supported), they won't be able to forever. And corporates will want a supported OS with their Nvidia card.

load more comments (2 replies)
load more comments (1 replies)
[–] autotldr@lemmings.world 8 points 1 year ago

This is the best summary I could come up with:


The Linux 6.6 modules infrastructure is changing to better protect against the illicit behavior of NVIDIA's proprietary kernel driver.

Most notable with the modules update is a change that better builds up the defenses against NVIDIA's proprietary kernel driver from using GPL-only symbols.

Given that symbol_get was only ever intended for tightly cooperating modules using very internal symbols it is logical to restrict it to being used on EXPORY_SYMBOL_GPL and prevent nvidia from costly DMCA circumvention of access controls lawsuits.

Luis Chamberlain further added in today's pull request: "Christoph Hellwig's symbol_get() fix to Nvidia's efforts to circumvent the protection he put in place in year 2020 to prevent proprietary modules from using GPL only symbols, and also ensuring proprietary modules which export symbols grandfather their taint.

The circumvention tactic used by Nvidia was to use symbol_get() to purposely swift through proprietary module symbols and completley bypass our traditional EXPORT_SYMBOL*() annotations and community agreed upon restrictions."

Back in 2020 when the original defense was added, NVIDIA recommended avoiding the Linux 5.9 for the time being.


The original article contains 476 words, the summary contains 174 words. Saved 63%. I'm a bot and I'm open source!

[–] Zucca@sopuli.xyz 8 points 1 year ago (2 children)

Phoronix thinks I'm using ad blocker. In fact I'm not. I don't have any kind of adblocker on my network... *sigh*

[–] fhein@lemmy.world 6 points 1 year ago

Which browser are you using? Perhaps it has some built in blocking

load more comments (1 replies)
[–] Madex@lemm.ee 8 points 1 year ago (2 children)

So what does that mean for me on Arch, how will it affect me?

ELI5?

[–] Molecular0079@lemmy.world 8 points 1 year ago

If they don't fix it before 6.6 comes out on Arch, you may have to use the LTS kernel.

load more comments (1 replies)
[–] Rayspekt@kbin.social 4 points 1 year ago (1 children)

Can someone ELI5 what this is about? Why does Nvidia wants to access parts if the Linux kernel and why are linux kernel maintainers against it? Wouldn't it be good if Nvidia uses more open-source stuff?

[–] SSUPII@sopuli.xyz 11 points 1 year ago* (last edited 1 year ago)

Open source software is given with specific licenses. The Linux kernel is made of many smaller open-source components that each can have their own license. Some of the licenses used disallow the partial or full usage of the licensed software or components in proprietary settings, or in general given usage for specific cases only (in this case, the Nvidia driver using components they are not licensed to use.).

[–] librechad@lemm.ee 4 points 1 year ago (1 children)

Just installed the nvidia-driver for my 2080 SUPER and my system isn't starting now. I'm using Debian 12.1 and after installing the driver, it crashes after entering in my password for my encrypted drive.

I will load up a Live USB and see if I can fix the issue. Any help would be appreciated!

Blacklist the Nvidia driver and un-blacklist nouveau. I'm going from memory, but I think if you can get to GRUB, you can append 'single' to your kernel parameters. That should get you into a system with minimal drivers loaded.

load more comments
view more: ‹ prev next ›