What's new

Entware dig can not run in 386.12

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

saccleo

Regular Contributor
i installed bind-dig from Entware, when i run dig in terminal, i got this

netmgr/uverr2result.c:101:isc___nm_uverr2result(): unable to convert libuv error code in udp_send_cb (netmgr/udp.c:802) to isc_result: -38: function not implemented

what wrong with this?
 
What router model is this?

What other features, options and scripts do you have running on it?
 
I had the same problem with the aarch64-k3.10 version of bind-dig. In my case it was just returning a Bus error message.

In the end I had to force remove and reinstall a lot of libraries to get it to work:
Code:
opkg --force-depends remove libgcc libpthread libc libssp librt libopenssl zlib libatomic libuv libnghttp2

Code:
opkg install libgcc libpthread libc libssp librt libopenssl zlib libatomic libuv libnghttp2
 
I had the same problem with the aarch64-k3.10 version of bind-dig. In my case it was just returning a Bus error message.

In the end I had to force remove and reinstall a lot of libraries to get it to work:
Code:
opkg --force-depends remove libgcc libpthread libc libssp librt libopenssl zlib libatomic libuv libnghttp2

Code:
opkg install libgcc libpthread libc libssp librt libopenssl zlib libatomic libuv libnghttp2
it does not work.
 
You're running a model that is no longer supported by RMerlin.

Are you using john9527's fork?
 
You're running a model that is no longer supported by RMerlin.

Supported models:​

Older platform:
  • RT-AC66U_B1 (same firmware as the RT-AC68U)
 
_B1, yes.
 
I also encountered the same problem as saccleo. I resolved the issue by reverting to an older version of libuv.so.1.0.0. I had an older version on a USB stick.

I am actively looking for new opportunities because the contract for the last job ended on 21st July 2023. https://www.garrigan.nyc

With the problem:

# nslookup www.google.com
netmgr/uverr2result.c:101:isc___nm_uverr2result(): unable to convert libuv error code in udp_send_cb (netmgr/udp.c:802) to isc_result: -38: function not implemented
;; communications error to 127.0.0.1#53: timed out
netmgr/uverr2result.c:101:isc___nm_uverr2result(): unable to convert libuv error code in udp_send_cb (netmgr/udp.c:802) to isc_result: -38: function not implemented
;; communications error to 127.0.0.1#53: timed out
netmgr/uverr2result.c:101:isc___nm_uverr2result(): unable to convert libuv error code in udp_send_cb (netmgr/udp.c:802) to isc_result: -38: function not implemented
;; communications error to 127.0.0.1#53: timed out
;; no servers could be reached

After replacing the file:

# nslookup www.google.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: www.google.com
Address: 142.250.80.36
Name: www.google.com
Address: 2607:f8b0:4006:81c::2004


I tried the solution from ColinTaylor with the knowledge that the error messages were different. The problem remained.

libuv - 1.45.0-1

I determined the issue existed on a few Asus routers and I know I had updated packages within minutes of updating the firmware on the newest router.

The solution for me was to revert to an earlier version of libuv.so.1.0.0. I had an older version on a USB stick.

From the file libuv.control
Package: libuv
Version: 1.44.1-1
Depends: libc, libssp, librt, libpthread, libpthread, librt
Source: feeds/packages/libs/libuv
SourceName: libuv
License: MIT
LicenseFiles: LICENSE
Section: libs
SourceDateEpoch: 1648915757
CPE-ID: cpe:/a:libuv_project:libuv
Maintainer: Marko Ratkaj <markoratkaj@gmail.com>
Architecture: armv7-2.6
Installed-Size: 58639
Description: libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it's also used by Luvit, Julia, pyuv, and others.


model=RT-AC88U
wps_modelnum=RT-AC88U

webs_state_info_am=386_12_0
innerver=3.0.0.4.386.7_0
buildno=386.12
webs_state_info=3004_386_12_0
buildno_org=386.12

model=RT-AC87U
wps_modelnum=RT-AC87U

innerver=3.0.0.4.384.13_10
buildno=384.13
buildno_org=384.13

tcp 0 0 router1.home.local:domain 0.0.0.0:* LISTEN 11416/dnsmasq
tcp 0 0 router1.home.local:domain 0.0.0.0:* LISTEN 11416/dnsmasq
tcp 0 0 ip6-localhost:domain :::* LISTEN 11416/dnsmasq
tcp 0 0 router1.home.local:domain :::* LISTEN 11416/dnsmasq
tcp 0 0 fe80::XXXXXXXXXXXXXXXXXdomain :::* LISTEN 11416/dnsmasq
udp 0 0 router1.home.local:domain 0.0.0.0:* 11416/dnsmasq
udp 0 0 router1.home.local:domain 0.0.0.0:* 11416/dnsmasq
udp 0 0 ip6-localhost:domain :::* 11416/dnsmasq
udp 0 0 router1.home.local:domain :::* 11416/dnsmasq
udp 0 0 fe80::XXXXXXXXXXXXXXXX:domain :::* 11416/dnsmasq
Active UNIX domain sockets (servers and established)
 
Last edited:
I had the same problem with the aarch64-k3.10 version of bind-dig. In my case it was just returning a Bus error message.

In the end I had to force remove and reinstall a lot of libraries to get it to work:
Code:
opkg --force-depends remove libgcc libpthread libc libssp librt libopenssl zlib libatomic libuv libnghttp2

Code:
opkg install libgcc libpthread libc libssp librt libopenssl zlib libatomic libuv libnghttp2

In my case something else. After an entware update earlier this weekend, my logs fill with dig Tainted. (4 in a row for each program every hour) Not realy a big problem for me because Skynet and Diversion work as intended. After fresh install RT-AC86U_386.12.

So i did as you stated, remove and install the packages. I think it will work. Thanks Colin!

Update: Ah it didnt work unfortunately.

ep 11 19:05:36 kernel: dig[25992]: syscall 425
Sep 11 19:05:36 kernel: Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
Sep 11 19:05:36 kernel: CPU: 0 PID: 25992 Comm: dig Tainted: P O 4.1.27 #2


Code:
Sep 11 12:00:00 uiDivStats: Starting stat update
Sep 11 12:00:07 kernel: dig[13019]: syscall 425
Sep 11 12:00:07 kernel: Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
Sep 11 12:00:07 kernel: CPU: 1 PID: 13019 Comm: dig Tainted: P           O    4.1.27 #2
Sep 11 12:00:07 kernel: Hardware name: Broadcom-v8A (DT)
Sep 11 12:00:07 kernel: task: ffffffc013874040 ti: ffffffc0058ec000 task.ti: ffffffc0058ec000
Sep 11 12:00:07 kernel: PC is at 0x7f80101ee4
Sep 11 12:00:07 kernel: LR is at 0x7f800193a4
Sep 11 12:00:07 kernel: pc : [<0000007f80101ee4>] lr : [<0000007f800193a4>] pstate: 20000000


Sep 11 13:00:02 Skynet: [#] 23606 IPs (+0) -- 78866 Ranges Banned (+0) || 0 Inbound -- 23 Outbound Connections Blocked! [save] [2s]
Sep 11 13:00:08 kernel: dig[17380]: syscall 425
Sep 11 13:00:08 kernel: Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
Sep 11 13:00:08 kernel: CPU: 1 PID: 17380 Comm: dig Tainted: P           O    4.1.27 #2
Sep 11 13:00:08 kernel: Hardware name: Broadcom-v8A (DT)
Sep 11 13:00:08 kernel: task: ffffffc013890ac0 ti: ffffffc003ffc000 task.ti: ffffffc003ffc000
Sep 11 13:00:08 kernel: PC is at 0x7f8b91eee4
Sep 11 13:00:08 kernel: LR is at 0x7f8b8363a4
Sep 11 13:00:08 kernel: pc : [<0000007f8b91eee4>] lr : [<0000007f8b8363a4>] pstate: 20000000

May  5 07:05:07 lldpd[1218]: could not open either /etc/os-release or /usr/lib/os-release
May  5 07:05:07 lldpd[1218]: lsb_release information not available
May  5 07:05:07 lldpd[1222]: created chroot directory /var/run/lldpd
May  5 07:05:07 lldpd[1222]: /etc/localtime copied to chroot
May  5 07:05:07 lldpd[1222]: protocol LLDP enabled
May  5 07:05:07 lldpd[1222]: protocol CDPv1 disabled
May  5 07:05:07 lldpd[1222]: protocol CDPv2 disabled
May  5 07:05:07 lldpd[1222]: protocol SONMP disabled
May  5 07:05:07 lldpd[1222]: protocol EDP disabled
May  5 07:05:07 lldpd[1222]: protocol FDP disabled
May  5 07:05:07 lldpd[1222]: libevent 2.0.21-stable initialized with epoll method
 
Last edited:
@Sonyrolfy Try this:
Code:
opkg remove --force-depends bind-dig bind-libs

opkg install bind-dig
If that doesn't work you could resort to the nuclear option :eek::
Code:
/opt/etc/init.d/rc.unslung stop

opkg list-installed | /usr/bin/awk '{print $1}' | /usr/bin/xargs opkg --force-reinstall install

/opt/etc/init.d/rc.unslung start
 
Last edited:
@Sonyrolfy Try this:
Code:
opkg remove --force-depends bind-dig bind-libs

opkg install bind-dig
If that doesn't work you could resort to the nuclear option :eek::
Code:
/opt/etc/init.d/rc.unslung stop

opkg list-installed | /usr/bin/awk '{print $1}' | /usr/bin/xargs opkg --force-reinstall install

/opt/etc/init.d/rc.unslung start

Thanks Colin for your help! First code i tried from you did nothing unfortunately. The second made think. So before i go war with this router, I remembered a similar case a while ago with a script from YazDHCP, Tainted bladibla in the logs. I removed his script, and put reservations in vram again. Outcome: clean logs! So i just removed uiDivStats. Outcome: clean logs! So if more and more scripts must be removed (in my case) due to Tainted bladibla. Maybe i need a new router. Not really need one for my case, but..

Update: I tried your war script. After installing uiDivStats again. No luck, the log still fills with kernel: dig[20978]: syscall 425 again. So i removed uiDivStats for now. And clean logs! Also i think as a side effect with the Tainted bladibla that i couldn't log into the router anymore. The router is still working fine, but its like a old car dashboard now, just pulling the lighted small bulbs from engine service or ABS or whatever:) But it does the job. (for now) Thanks!
 
Thanks Colin for your help! First code i tried from you did nothing unfortunately. The second made think. So before i go war with this router, I remembered a similar case a while ago with a script from YazDHCP, Tainted bladibla in the logs. I removed his script, and put reservations in vram again. Outcome: clean logs! So i just removed uiDivStats. Outcome: clean logs! So if more and more scripts must be removed (in my case) due to Tainted bladibla. Maybe i need a new router. Not really need one for my case, but..

Update: I tried your war script. After installing uiDivStats again. No luck, the log still fills with kernel: dig[20978]: syscall 425 again. So i removed uiDivStats for now. And clean logs! Also i think as a side effect with the Tainted bladibla that i couldn't log into the router anymore. The router is still working fine, but its like a old car dashboard now, just pulling the lighted small bulbs from engine service or ABS or whatever:) But it does the job. (for now) Thanks!
uiDivStats will no longer work anyway with the next Diversion update, unless it gets updated eventually.
 
uiDivStats will no longer work anyway with the next Diversion update, unless it gets updated eventually.

A oke that's one thing less to care about (for me, for now). Diversion is great and cant wait to see whats new!
uiDivStats is an great tool for a clear visible overview. I hope uiDivStats will be updated then.
 
This fixed it.
Code:
remove --force-depends bind-dig
opkg install --force-depends bind-dig

After:

opkg update
opkg remove libuv  --force-depends
opkg install libuv
Now: Log only messages more urgent than All instead to: Warning 😀
 
If that doesn't work you could resort to the nuclear option :eek::
Code:
/opt/etc/init.d/rc.unslung stop

opkg list-installed | /usr/bin/awk '{print $1}' | /usr/bin/xargs opkg --force-reinstall install

/opt/etc/init.d/rc.unslung start
Is this relatively clean to do? I am still chasing my favorite problem, and may try this. Here is the problem I have:

After holidays I'll probably go to 12_4 version, and re-do Entware packages here. Don't want family to lose holiday internet, LOL
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top