TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why no stable binary kernel interface for drivers?

26 pointsby 708145_almost 8 years ago
Linux does not have a stable binary kernel interface for drivers. This enforces either that all the drivers must be in the kernel source tree or that drivers become broken with kernel updates.<p>I don&#x27;t want to have a political debate here about free software. But I can see ideological reasons for how Linux try to force hardware manufacturers to share the code for their drivers.<p>The (proprietary) driver issue is a big pain for people who want to use Linux for desktop as a workstation e.g. development. I would say that it is the biggest obstacle for adaption of Linux desktop.<p>Why couldn&#x27;t we have long term supported kernels with decoupled drivers?<p>Discussion: http:&#x2F;&#x2F;lkml.iu.edu&#x2F;hypermail&#x2F;linux&#x2F;kernel&#x2F;1604.0&#x2F;00998.html

5 comments

rtbalmost 8 years ago
This is addressed in the docs, at &quot;stable_api_nonsense.txt&quot;: <a href="https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux&#x2F;blob&#x2F;master&#x2F;Documentation&#x2F;process&#x2F;stable-api-nonsense.rst" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux&#x2F;blob&#x2F;master&#x2F;Documentation&#x2F;...</a><p>(You might disagree with that doc, but if so you should address its arguments directly.)
microcolonelalmost 8 years ago
Maintaining the drivers together with the rest of the system allows subsystem maintainers to make broad improvements to the functioning of drivers, and encourages vendors to upstream them as free software.<p>If you want a stable kernel driver ABI, then you&#x27;re going to have to maintain your own wrapper which will retain all of the anachronisms that have been excised from the upstream kernel.<p>You are perfectly at liberty to do this for yourself, just don&#x27;t expect kernel maintainers to willingly make their own lives harder, reduce the quality of running kernels, and reduce the enthusiasm for releasing and upstreaming high quality drivers.<p>As an alternative to a stable ABI, you can just go with a single LTS release, and you can expect binary compatibility on the order of four years.
评论 #14534193 未加载
Someonealmost 8 years ago
As <a href="http:&#x2F;&#x2F;lkml.iu.edu&#x2F;hypermail&#x2F;linux&#x2F;kernel&#x2F;1604.0&#x2F;03993.html" rel="nofollow">http:&#x2F;&#x2F;lkml.iu.edu&#x2F;hypermail&#x2F;linux&#x2F;kernel&#x2F;1604.0&#x2F;03993.html</a> states, you can get binary stability for in the order of five years from the likes of Red Hat and SuSe.<p>I don&#x27;t know where you can get binary stability for decades, but it wouldn&#x27;t surprise me if some military applications guaranteed that.<p>Since there&#x27;s nothing stopping suppliers from selling it, there apparently isn&#x27;t that much demand for it.
评论 #14533920 未加载
评论 #14533665 未加载
mixmastamykalmost 8 years ago
I use a Ubuntu desktop daily as a development workstation and have for a decade at least. Never really had a problem, though it slows down Virtual Box installation once or twice a year. <i>shrugs</i>
评论 #14534184 未加载
catdogalmost 8 years ago
&gt; The (proprietary) driver issue is a big pain for people who want to use Linux for desktop as a workstation e.g. development. I would say that it is the biggest obstacle for adaption of Linux desktop.<p>Simply don&#x27;t buy Nvidia. Apart from that there shouldn&#x27;t be a lot of hardware requiring blobs on the desktop.