coolsnowwolf / lede

Lean's LEDE source
Other
29.85k stars 19.53k forks source link

新三路由报错, Cannot install package kmod-mt7603e. #6478

Closed vewWLE829 closed 3 years ago

vewWLE829 commented 3 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:Cannot install package kmod-mt7603e

(2) 路由器型号和固件版本

A:Newifi D2(新三路由)

(3) 详细日志

A:
2021-03-06T04:49:21.3063034Z Configuring kmod-mmc. 2021-03-06T04:49:21.3063641Z Configuring wireless-tools. 2021-03-06T04:49:21.3064108Z Configuring mt_wifi. 2021-03-06T04:49:21.3064515Z Configuring uci. 2021-03-06T04:49:21.4306053Z Collected errors: 2021-03-06T04:49:21.4307177Z Configuring kmod-ipt-offload. 2021-03-06T04:49:21.4331791Z * check_data_file_clashes: Package kmod-mt7603e wants to install file /home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/lib/modules/5.4.101/mt7603e.ko 2021-03-06T04:49:21.4334404Z But that file is already provided by package * kmod-mt7603* 2021-03-06T04:49:21.4335078Z Configuring kmod-tcp-bbr. 2021-03-06T04:49:21.4337931Z opkg_install_cmd: Cannot install package kmod-mt7603e. 2021-03-06T04:49:21.4338850Z Configuring luci-app-flowoffload. 2021-03-06T04:49:21.4340836Z make[2]: ** [package/install] Error 255 2021-03-06T04:49:21.4341919Z Configuring luci-i18n-flowoffload-zh-cn. 2021-03-06T04:49:21.4343132Z Configuring strongswan-mod-hmac. 2021-03-06T04:49:21.4343772Z Configuring dropbear. 2021-03-06T04:49:21.4344378Z Configuring luci-theme-argon. 2021-03-06T04:49:21.4345619Z make[1]: [/home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2 2021-03-06T04:49:21.4347026Z Configuring libcurl4. 2021-03-06T04:49:21.4347417Z Configuring curl.

我的差异.config CONFIG_TARGET_ramips=y CONFIG_TARGET_ramips_mt7621=y CONFIG_TARGET_ramips_mt7621_DEVICE_d-team_newifi-d2=y

CONFIG_PACKAGE_autosamba=y CONFIG_PACKAGE_curl=y CONFIG_PACKAGE_ddns-scripts_no-ip_com=y CONFIG_PACKAGE_f2fsck=y CONFIG_PACKAGE_htop=y CONFIG_PACKAGE_nano=y CONFIG_PACKAGE_openssh-sftp-client=y CONFIG_PACKAGE_openssh-sftp-server=y CONFIG_PACKAGE_openssl-util=y CONFIG_PACKAGE_kmod-fs-f2fs=y CONFIG_PACKAGE_kmod-mt76=y CONFIG_PACKAGE_kmod-usb-storage=y CONFIG_PACKAGE_kmod-usb-storage-extras=y CONFIG_PACKAGE_kmod-usb-storage-uas=y CONFIG_PACKAGE_kmod-usb2=y CONFIG_PACKAGE_kmod-usb3=y CONFIG_PACKAGE_kmod-sdhci=y CONFIG_PACKAGE_kmod-sdhci-mt7620=y CONFIG_PACKAGE_kmod-usb-ohci=y CONFIG_PACKAGE_kmod-usb-uhci=y CONFIG_PACKAGE_luci-app-webadmin=y CONFIG_PACKAGE_luci-app-ipsec-vpnd=y CONFIG_PACKAGE_luci-app-nps=y CONFIG_PACKAGE_luci-app-samba=y CONFIG_PACKAGE_luci-app-ttyd=y CONFIG_PACKAGE_ttyd=y CONFIG_PACKAGE_luci-app-p910nd=y CONFIG_PACKAGE_p910nd=y CONFIG_PACKAGE_luci-app-ssr-plus=y CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NaiveProxy=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray=y CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y CONFIG_PACKAGE_luci-i18n-ssr-plus-zh-cn=y

CONFIG_PACKAGE_luci-app-jd-dailybonus=y CONFIG_PACKAGE_luci-app-adbyby-plus=y CONFIG_PACKAGE_luci-app-vnstat=y CONFIG_PACKAGE_luci-app-unblockmusic=y CONFIG_UnblockNeteaseMusic_Go=y CONFIG_UnblockNeteaseMusic_NodeJS=y

CONFIG_PACKAGE_luci-theme-argon=y CONFIG_PACKAGE_luci-theme-netgear=y CONFIG_PACKAGE_luci-theme-edge=y CONFIG_PACKAGE_luci-theme-infinityfreedom=y

minlang112 commented 3 years ago

kmod-mt7603 和 kmod-mt7603 这两个内核模块冲突,检查一下menuconfig

acooler15 commented 3 years ago

kmod-mt76是开源驱动吧?若用开源驱动就把闭源驱动取消掉,可以参考这个 #6341

vewWLE829 commented 3 years ago

多谢各位提醒,后来修改配置文件.删除以下代码可以解决问题

CONFIG_PACKAGE_kmod-mt76=y
CONFIG_PACKAGE_kmod-sdhci=y
CONFIG_PACKAGE_kmod-sdhci-mt7620=y