找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 27519|回复: 188

[openwrt(x86)] 给 openwrt 内核添加 binfmt 支持

 火.. [复制链接]
发表于 2020-9-20 11:27 | 显示全部楼层 |阅读模式
本帖最后由 noreph 于 2020-9-20 11:32 编辑

openwrt 在某些使用场景如跨平台运行 docker 镜像
  1. # docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
复制代码

的时候提示:
  1. No binfmt support in the kernel.

  2.   Try: '/sbin/modprobe binfmt_misc' from the host
复制代码

解决方法是编译 openwrt 时打开内核对 binfmt 的支持:

打开内核配置

$ make kernel_menuconfig

找到 Executable file formats,然后勾选上 Kernel support for MISC binaries,再编译固件即可。



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1恩山币 +1 收起 理由
Nothend + 1 图片选的好,高手少不了!

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-9-20 11:30 | 显示全部楼层
好的,我看看,那完蛋了,自己不会编译
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-20 11:45 | 显示全部楼层
感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-20 13:20 | 显示全部楼层
看看怎么添加
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-20 15:08 | 显示全部楼层
编译时打开哪个开关
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-20 15:44 | 显示全部楼层
6666666666666666666666
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-20 15:47 | 显示全部楼层
好的,我看看,那完蛋了,自己不会编译
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-20 17:49 | 显示全部楼层
这个是什么 干嘛的

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-21 08:43 | 显示全部楼层
感谢分享!看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-21 21:19 | 显示全部楼层
支持楼主分享~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-22 10:52 | 显示全部楼层
1111111111111
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-22 12:02 | 显示全部楼层
感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-22 16:28 来自手机 | 显示全部楼层
这是你要的膝盖
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-22 22:52 | 显示全部楼层
多谢分享!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-23 00:13 | 显示全部楼层
看看内容,谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-24 08:56

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表