Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2ray-core-mini mipsel_24kc无法正常运行 #90

Closed
wyzdot opened this issue Jun 26, 2020 · 9 comments
Closed

v2ray-core-mini mipsel_24kc无法正常运行 #90

wyzdot opened this issue Jun 26, 2020 · 9 comments

Comments

@wyzdot
Copy link

wyzdot commented Jun 26, 2020

mipsel_24kc架构的v2ray-core-mini无法在mt7621下正常运行,试了好几个版本都不行,设备为:Newifi D2,表现为运行就卡住,无任何输出。

cat /etc/*release

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.3'
DISTRIB_REVISION='r11063-85e04e9f46'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 19.07.3 r11063-85e04e9f46'
DISTRIB_TAINTS=''
NAME="OpenWrt"
VERSION="19.07.3"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.3"
VERSION_ID="19.07.3"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11063-85e04e9f46"
OPENWRT_BOARD="ramips/mt7621"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.3 r11063-85e04e9f46"

opkg print-architecture

arch all 1
arch noarch 1
arch mipsel_24kc 10
@kuoruan
Copy link
Owner

kuoruan commented Jun 26, 2020

先看看能不能输出版本号

@wyzdot
Copy link
Author

wyzdot commented Jun 26, 2020

先看看能不能输出版本号

不能,运行就卡住了,没有stdout 需Ctrl+C终止。感觉可能是upx压缩的问题。

@wyzdot
Copy link
Author

wyzdot commented Jun 26, 2020

还有是softfloat构建的吗?

@kuoruan
Copy link
Owner

kuoruan commented Jun 26, 2020

默认在 mipsel_24kc 是开启了 softfloat 的

@saszsj
Copy link

saszsj commented Jun 29, 2020

我也碰到了 设备是 MT300N-V2
cat /etc/*release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.3'
DISTRIB_REVISION='r11063-85e04e9f46'
DISTRIB_TARGET='ramips/mt76x8'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 19.07.3 r11063-85e04e9f46'
DISTRIB_TAINTS=''
NAME="OpenWrt"
VERSION="19.07.3"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.3"
VERSION_ID="19.07.3"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11063-85e04e9f46"
OPENWRT_BOARD="ramips/mt76x8"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.3 r11063-85e04e9f46"

opkg print-architecture
arch all 1
arch noarch 1
arch mipsel_24kc 10

v2ray --version 也无法输出版本信息

@kuoruan
Copy link
Owner

kuoruan commented Jun 29, 2020

你们可以尝试自己编译一个 mini 但是关闭 upx 压缩试试

@imapproxy
Copy link

imapproxy commented Jul 2, 2020

可能是同样的问题,设备是极路由1s 5661A,系统19.07.3.
V4.25.1-1安装顺利没有报错。
浏览器进入路由器后台,看不到V2RAY;
终端SSH进入路由器,v2ray --version同样无法输出版本号,卡住了。

cat /etc/*release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.3'
DISTRIB_REVISION='r11063-85e04e9f46'
DISTRIB_TARGET='ramips/mt76x8'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 19.07.3 r11063-85e04e9f46'
DISTRIB_TAINTS=''
NAME="OpenWrt"
VERSION="19.07.3"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.3"
VERSION_ID="19.07.3"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11063-85e04e9f46"
OPENWRT_BOARD="ramips/mt76x8"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.3 r11063-85e04e9f46"

opkg print-architecture
arch all 1
arch noarch 1
arch mipsel_24kc 10

@imlk0
Copy link

imlk0 commented Jul 15, 2020

看起来v2ray+upx在别的openwrt设备(MT7620A)上也遇到了问题:https://zyfdegh.github.io/post/202002-go-compile-for-mips/

这里写道:

But the upx compressed one hang on command line, let’s skip this.

root@OpenWrt:/tmp# ./v2ray --help
<hang, nothing prints>

@kuoruan
Copy link
Owner

kuoruan commented Aug 2, 2020

这是 UPX 的BUG,已经修复 upx/upx#339 (comment)
我会在下个版本做个更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants