如果你需要的kernel driver被申明为依赖BROKEN,这是什么意思

本文解释了Linux内核配置中BROKEN标记的意义及其解决方法。BROKEN标记表明驱动存在严重问题,不能正常工作甚至无法编译。文章建议寻找没有此标记的驱动版本,或者自行修复标记为BROKEN的驱动。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自:https://unix.stackexchange.com/questions/312850/init-kconfig-broken

当想要使能kernel的usb uas时,发现uas依赖BROKEN,而BROKEN又找不到如何开启,所以搜到了以下的内容。

BROKEN indicates that a driver is broken: it doesn't work and may not even compile. It's deliberate that you can't include it in your kernel. CONFIG_BROKEN is not supposed to be defined anywhere.

Look for a different version of the kernel where the drivers you need aren't marked as broken.

If you want to use a driver that's marked as BROKEN and you can't find a suitable kernel version, you should remove the dependency on BROKEN and start working on fixing the driver: first get it to build, then get it to run. Obviously that's an option only if you know Linux kernel programming.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值