Code Monkey home page Code Monkey logo

Comments (66)

github-actions avatar github-actions commented on July 22, 2024

Invalid Version reported. snapshot
Is this from a clean repository?

from openwrt.

github-actions avatar github-actions commented on July 22, 2024

Invalid Release reported. r26490
Is this from a clean repository?

from openwrt.

github-actions avatar github-actions commented on July 22, 2024

Invalid Target/Subtarget reported. qualcommax
Is this from a supported device?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

yes it is:
it was running normally up to snashot r26434-openwrt-0adba846916d-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin

https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=qualcommax%2Fipq807x&id=zbtlink_zbt-z800ax

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

I don't know why is marked as invalid but is a valid devide
https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=qualcommax%2Fipq807x&id=zbtlink_zbt-z800ax

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

This is probably AUC issue again

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

I have tried to update it to newer snapshot either with uart console or attendedsys or auc, the result is the same
it remains unresponsive on[ 11.452083] kmodloader: no module folders for kernel version 6.6.30 found

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

You used the image provided by the firmware selector?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

Yes, I did, I only use official openwrt images

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Can you run ls -l /lib/modules/6.6.* ?

Because images contain kernel modules

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

I have to reinstall a newer snapshot because I had to revert to OpenWrt SNAPSHOT, r26403-e7661a808e
as this is my only router and I am working online now, I can try it again

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

z800axputty.log
you will find the console log before and after flashing
from r26403 to r26490 by attendedsysupgrade online

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Thats not a text file, please just provide plain text instead of Putty and like logs

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

z800axputty.txt

this one? can you open?

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

No, its just binary data

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

here the output:
it seems that some of them are missing:
root@OpenWrt:/# ls -l /lib/modules/6.6.*
-rw-r--r-- 1 root root 35784 Jun 1 01:29 [0;0maquantia.kom
-rw-r--r-- 1 root root 38904 Jun 1 01:29 math.kom
-rw-r--r-- 1 root root 753816 Jun 1 01:29 math11k.kom
-rw-r--r-- 1 root root 27632 Jun 1 01:29 math11k_ahb.kom
-rw-r--r-- 1 root root 23144 Jun 1 01:29 mcdc-wdm.kom
-rw-r--r-- 1 root root 518312 Jun 1 01:29 mcfg80211.kom
-rw-r--r-- 1 root root 14552 Jun 1 01:29 mchacha-neon.kom
-rw-r--r-- 1 root root 7152 Jun 1 01:29 mcmac.kom
-rw-r--r-- 1 root root 3976 Jun 1 01:29 mcompat.kom
-rw-r--r-- 1 root root 5184 Jun 1 01:29 mcrc-ccitt.kom
-rw-r--r-- 1 root root 4784 Jun 1 01:29 mcrc32_generic.kom
-rw-r--r-- 1 root root 4792 Jun 1 01:29 mcrc32c_generic.kom
-rw-r--r-- 1 root root 14824 Jun 1 01:29 mdrbg.kom
-rw-r--r-- 1 root root 20952 Jun 1 01:29 mdwc3-qcom.kom
-rw-r--r-- 1 root root 74360 Jun 1 01:29 mdwc3.kom
-rw-r--r-- 1 root root 726472 Jun 1 01:29 mext4.kom
-rw-r--r-- 1 root root 610080 Jun 1 01:29 mf2fs.kom
-rw-r--r-- 1 root root 6024 Jun 1 01:29 mgeniv.kom
-rw-r--r-- 1 root root 18016 Jun 1 01:29 mgpio-button-hotplug.kom
-rw-r--r-- 1 root root 8232 Jun 1 01:29 mhmac.kom
-rw-r--r-- 1 root root 26296 Jun 1 01:29 mhwmon.kom
-rw-r--r-- 1 root root 5408 Jun 1 01:29 mip6_udp_tunnel.kom
-rw-r--r-- 1 root root 131656 Jun 1 01:29 mjbd2.kom
-rw-r--r-- 1 root root 12400 Jun 1 01:29 mjitterentropy_rng.kom
-rw-r--r-- 1 root root 7024 Jun 1 01:29 mkpp.kom
-rw-r--r-- 1 root root 9208 Jun 1 01:29 mleds-gpio.kom
-rw-r--r-- 1 root root 3496 Jun 1 01:29 mlibchacha.kom
-rw-r--r-- 1 root root 11168 Jun 1 01:29 mlibchacha20poly1305.kom
-rw-r--r-- 1 root root 5128 Jun 1 01:29 mlibcrc32c.kom
-rw-r--r-- 1 root root 28784 Jun 1 01:29 mlibcurve25519-generic.kom
-rw-r--r-- 1 root root 2968 Jun 1 01:29 mlibcurve25519.kom
-rw-r--r-- 1 root root 979168 Jun 1 01:29 mmac80211.kom
-rw-r--r-- 1 root root 12392 Jun 1 01:29 mmbcache.kom
-rw-r--r-- 1 root root 6088 Jun 1 01:29 mmichael_mic.kom
-rw-r--r-- 1 root root 10680 Jun 1 01:29 mmii.kom
-rw-r--r-- 1 root root 2636 Jun 1 01:29 mmodules.builtinm
-rw-r--r-- 1 root root 8957 Jun 1 01:29 mmodules.builtin.modinfom
-rw-r--r-- 1 root root 162032 Jun 1 01:29 mnf_conntrack.kom
-rw-r--r-- 1 root root 6944 Jun 1 01:29 mnf_defrag_ipv4.kom
-rw-r--r-- 1 root root 16904 Jun 1 01:29 mnf_defrag_ipv6.kom
-rw-r--r-- 1 root root 41264 Jun 1 01:29 mnf_flow_table.kom
-rw-r--r-- 1 root root 5456 Jun 1 01:29 mnf_flow_table_inet.kom
-rw-r--r-- 1 root root 24720 Jun 1 01:29 mnf_log_syslog.kom
-rw-r--r-- 1 root root 47712 Jun 1 01:29 mnf_nat.kom
-rw-r--r-- 1 root root 9752 Jun 1 01:29 mnf_reject_ipv4.kom
-rw-r--r-- 1 root root 10688 Jun 1 01:29 mnf_reject_ipv6.kom
-rw-r--r-- 1 root root 288096 Jun 1 01:29 mnf_tables.kom
-rw-r--r-- 1 root root 17968 Jun 1 01:29 mnfnetlink.kom
-rw-r--r-- 1 root root 5808 Jun 1 01:29 mnft_chain_nat.kom
-rw-r--r-- 1 root root 21640 Jun 1 01:29 mnft_ct.kom
-rw-r--r-- 1 root root 6768 Jun 1 01:29 mnft_fib.kom
-rw-r--r-- 1 root root 5184 Jun 1 01:29 mnft_fib_inet.kom
-rw-r--r-- 1 root root 7872 Jun 1 01:29 mnft_fib_ipv4.kom
-rw-r--r-- 1 root root 9096 Jun 1 01:29 mnft_fib_ipv6.kom
-rw-r--r-- 1 root root 9752 Jun 1 01:29 mnft_flow_offload.kom
-rw-r--r-- 1 root root 7552 Jun 1 01:29 mnft_hash.kom
-rw-r--r-- 1 root root 9880 Jun 1 01:29 mnft_limit.kom
-rw-r--r-- 1 root root 6936 Jun 1 01:29 mnft_log.kom
-rw-r--r-- 1 root root 7976 Jun 1 01:29 mnft_masq.kom
-rw-r--r-- 1 root root 7736 Jun 1 01:29 mnft_nat.kom
-rw-r--r-- 1 root root 6568 Jun 1 01:29 mnft_numgen.kom
-rw-r--r-- 1 root root 6904 Jun 1 01:29 mnft_quota.kom
-rw-r--r-- 1 root root 7720 Jun 1 01:29 mnft_redir.kom
-rw-r--r-- 1 root root 5800 Jun 1 01:29 mnft_reject.kom
-rw-r--r-- 1 root root 5472 Jun 1 01:29 mnft_reject_inet.kom
-rw-r--r-- 1 root root 4936 Jun 1 01:29 mnft_reject_ipv4.kom
-rw-r--r-- 1 root root 4936 Jun 1 01:29 mnft_reject_ipv6.kom
-rw-r--r-- 1 root root 13712 Jun 1 01:29 mpoly1305-neon.kom
-rw-r--r-- 1 root root 16568 Jun 1 01:29 mppp_async.kom
-rw-r--r-- 1 root root 59128 Jun 1 01:29 mppp_generic.kom
-rw-r--r-- 1 root root 22528 Jun 1 01:29 mpppoe.kom
-rw-r--r-- 1 root root 7264 Jun 1 01:29 mpppox.kom
-rw-r--r-- 1 root root 70144 Jun 1 01:29 mqca-nss-dp.kom
-rw-r--r-- 1 root root 1625696 Jun 1 01:29 mqca-ssdk.kom
-rw-r--r-- 1 root root 11872 Jun 1 01:29 mqcserial.kom
-rw-r--r-- 1 root root 22304 Jun 1 01:29 mqmi_helpers.kom
-rw-r--r-- 1 root root 42728 Jun 1 01:29 mqmi_wwan.kom
-rw-r--r-- 1 root root 5328 Jun 1 01:29 mqrtr-smd.kom
-rw-r--r-- 1 root root 32144 Jun 1 01:29 mqrtr.kom
-rw-r--r-- 1 root root 5864 Jun 1 01:29 mseqiv.kom
-rw-r--r-- 1 root root 11264 Jun 1 01:29 msha3_generic.kom
-rw-r--r-- 1 root root 12944 Jun 1 01:29 msha512-arm64.kom
-rw-r--r-- 1 root root 11680 Jun 1 01:29 msha512_generic.kom
-rw-r--r-- 1 root root 9104 Jun 1 01:29 mslhc.kom
-rw-r--r-- 1 root root 23952 Jun 1 01:29 mudp_tunnel.kom
-rw-r--r-- 1 root root 100432 Jun 1 01:29 musb-storage.kom
-rw-r--r-- 1 root root 14832 Jun 1 01:29 musb_wwan.kom
-rw-r--r-- 1 root root 46328 Jun 1 01:29 musbnet.kom
-rw-r--r-- 1 root root 48016 Jun 1 01:29 musbserial.kom
-rw-r--r-- 1 root root 98616 Jun 1 01:29 mwireguard.kom
-rw-r--r-- 1 root root 210056 Jun 1 01:29 mxhci-hcd.kom
-rw-r--r-- 1 root root 18472 Jun 1 01:29 mxhci-pci.kom
-rw-r--r-- 1 root root 16088 Jun 1 01:29 mxhci-plat-hcd.kom

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

and this is from the working snapshot: (ignore the m at the end of the previous)
root@OpenWrt:~# ls -l /lib/modules/6.6.*
-rw-r--r-- 1 root root 35720 May 25 09:17 aquantia.ko
-rw-r--r-- 1 root root 38904 May 25 09:17 ath.ko
-rw-r--r-- 1 root root 753496 May 25 09:17 ath11k.ko
-rw-r--r-- 1 root root 27632 May 25 09:17 ath11k_ahb.ko
-rw-r--r-- 1 root root 23144 May 25 09:17 cdc-wdm.ko
-rw-r--r-- 1 root root 522240 May 25 09:17 cfg80211.ko
-rw-r--r-- 1 root root 14552 May 25 09:17 chacha-neon.ko
-rw-r--r-- 1 root root 7152 May 25 09:17 cmac.ko
-rw-r--r-- 1 root root 3976 May 25 09:17 compat.ko
-rw-r--r-- 1 root root 5184 May 25 09:17 crc-ccitt.ko
-rw-r--r-- 1 root root 4784 May 25 09:17 crc32_generic.ko
-rw-r--r-- 1 root root 4792 May 25 09:17 crc32c_generic.ko
-rw-r--r-- 1 root root 14824 May 25 09:17 drbg.ko
-rw-r--r-- 1 root root 20952 May 25 09:17 dwc3-qcom.ko
-rw-r--r-- 1 root root 73872 May 25 09:17 dwc3.ko
-rw-r--r-- 1 root root 726824 May 25 09:17 ext4.ko
-rw-r--r-- 1 root root 610040 May 25 09:17 f2fs.ko
-rw-r--r-- 1 root root 6024 May 25 09:17 geniv.ko
-rw-r--r-- 1 root root 18016 May 25 09:17 gpio-button-hotplug.ko
-rw-r--r-- 1 root root 8232 May 25 09:17 hmac.ko
-rw-r--r-- 1 root root 26296 May 25 09:17 hwmon.ko
-rw-r--r-- 1 root root 5408 May 25 09:17 ip6_udp_tunnel.ko
-rw-r--r-- 1 root root 131656 May 25 09:17 jbd2.ko
-rw-r--r-- 1 root root 12400 May 25 09:17 jitterentropy_rng.ko
-rw-r--r-- 1 root root 7024 May 25 09:17 kpp.ko
-rw-r--r-- 1 root root 9208 May 25 09:17 leds-gpio.ko
-rw-r--r-- 1 root root 3432 May 25 09:17 libchacha.ko
-rw-r--r-- 1 root root 11104 May 25 09:17 libchacha20poly1305.ko
-rw-r--r-- 1 root root 5128 May 25 09:17 libcrc32c.ko
-rw-r--r-- 1 root root 28784 May 25 09:17 libcurve25519-generic.ko
-rw-r--r-- 1 root root 2968 May 25 09:17 libcurve25519.ko
-rw-r--r-- 1 root root 980584 May 25 09:17 mac80211.ko
-rw-r--r-- 1 root root 12392 May 25 09:17 mbcache.ko
-rw-r--r-- 1 root root 6088 May 25 09:17 michael_mic.ko
-rw-r--r-- 1 root root 10680 May 25 09:17 mii.ko
-rw-r--r-- 1 root root 2636 May 25 09:17 modules.builtin
-rw-r--r-- 1 root root 8957 May 25 09:17 modules.builtin.modinfo
-rw-r--r-- 1 root root 161904 May 25 09:17 nf_conntrack.ko
-rw-r--r-- 1 root root 6944 May 25 09:17 nf_defrag_ipv4.ko
-rw-r--r-- 1 root root 16904 May 25 09:17 nf_defrag_ipv6.ko
-rw-r--r-- 1 root root 41264 May 25 09:17 nf_flow_table.ko
-rw-r--r-- 1 root root 5456 May 25 09:17 nf_flow_table_inet.ko
-rw-r--r-- 1 root root 24720 May 25 09:17 nf_log_syslog.ko
-rw-r--r-- 1 root root 47584 May 25 09:17 nf_nat.ko
-rw-r--r-- 1 root root 9688 May 25 09:17 nf_reject_ipv4.ko
-rw-r--r-- 1 root root 10688 May 25 09:17 nf_reject_ipv6.ko
-rw-r--r-- 1 root root 287696 May 25 09:17 nf_tables.ko
-rw-r--r-- 1 root root 17992 May 25 09:17 nfnetlink.ko
-rw-r--r-- 1 root root 5808 May 25 09:17 nft_chain_nat.ko
-rw-r--r-- 1 root root 21640 May 25 09:17 nft_ct.ko
-rw-r--r-- 1 root root 6768 May 25 09:17 nft_fib.ko
-rw-r--r-- 1 root root 5184 May 25 09:17 nft_fib_inet.ko
-rw-r--r-- 1 root root 7872 May 25 09:17 nft_fib_ipv4.ko
-rw-r--r-- 1 root root 9096 May 25 09:17 nft_fib_ipv6.ko
-rw-r--r-- 1 root root 9752 May 25 09:17 nft_flow_offload.ko
-rw-r--r-- 1 root root 7552 May 25 09:17 nft_hash.ko
-rw-r--r-- 1 root root 9880 May 25 09:17 nft_limit.ko
-rw-r--r-- 1 root root 6936 May 25 09:17 nft_log.ko
-rw-r--r-- 1 root root 7976 May 25 09:17 nft_masq.ko
-rw-r--r-- 1 root root 7736 May 25 09:17 nft_nat.ko
-rw-r--r-- 1 root root 6568 May 25 09:17 nft_numgen.ko
-rw-r--r-- 1 root root 6904 May 25 09:17 nft_quota.ko
-rw-r--r-- 1 root root 7720 May 25 09:17 nft_redir.ko
-rw-r--r-- 1 root root 5800 May 25 09:17 nft_reject.ko
-rw-r--r-- 1 root root 5472 May 25 09:17 nft_reject_inet.ko
-rw-r--r-- 1 root root 4936 May 25 09:17 nft_reject_ipv4.ko
-rw-r--r-- 1 root root 4936 May 25 09:17 nft_reject_ipv6.ko
-rw-r--r-- 1 root root 13712 May 25 09:17 poly1305-neon.ko
-rw-r--r-- 1 root root 16568 May 25 09:17 ppp_async.ko
-rw-r--r-- 1 root root 59128 May 25 09:17 ppp_generic.ko
-rw-r--r-- 1 root root 22528 May 25 09:17 pppoe.ko
-rw-r--r-- 1 root root 7264 May 25 09:17 pppox.ko
-rw-r--r-- 1 root root 70144 May 25 09:17 qca-nss-dp.ko
-rw-r--r-- 1 root root 1625696 May 25 09:17 qca-ssdk.ko
-rw-r--r-- 1 root root 11872 May 25 09:17 qcserial.ko
-rw-r--r-- 1 root root 22304 May 25 09:17 qmi_helpers.ko
-rw-r--r-- 1 root root 42640 May 25 09:17 qmi_wwan.ko
-rw-r--r-- 1 root root 5328 May 25 09:17 qrtr-smd.ko
-rw-r--r-- 1 root root 32144 May 25 09:17 qrtr.ko
-rw-r--r-- 1 root root 5864 May 25 09:17 seqiv.ko
-rw-r--r-- 1 root root 11264 May 25 09:17 sha3_generic.ko
-rw-r--r-- 1 root root 12944 May 25 09:17 sha512-arm64.ko
-rw-r--r-- 1 root root 11680 May 25 09:17 sha512_generic.ko
-rw-r--r-- 1 root root 9104 May 25 09:17 slhc.ko
-rw-r--r-- 1 root root 23952 May 25 09:17 udp_tunnel.ko
-rw-r--r-- 1 root root 100432 May 25 09:17 usb-storage.ko
-rw-r--r-- 1 root root 14832 May 25 09:17 usb_wwan.ko
-rw-r--r-- 1 root root 46328 May 25 09:17 usbnet.ko
-rw-r--r-- 1 root root 48016 May 25 09:17 usbserial.ko
-rw-r--r-- 1 root root 98424 May 25 09:17 wireguard.ko
-rw-r--r-- 1 root root 209584 May 25 09:17 xhci-hcd.ko
-rw-r--r-- 1 root root 18472 May 25 09:17 xhci-pci.ko
-rw-r--r-- 1 root root 16088 May 25 09:17 xhci-plat-hcd.ko

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Well, there is same number of kmods present so I am not seeing an issue at all.

Please post a full bootlog, and make sure to use code block formatting.

To clarify stuff:

  1. Are you using official snapshots from https://downloads.openwrt.org ?
  2. You are upgrading via sysupgrade?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

Hi Robert
yes from selector openwrt
Yes sysupgrade or attendedsysupgrade over gui, it plays no role which one

attached please find the output

Z800AXbootlog.txt

image

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Please try a current image from https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/

I am trying to figure out what is different in your setup since I cannot reproduce this.

from openwrt.

aiamadeus avatar aiamadeus commented on July 22, 2024

So which kernel version of the module exists under /lib/modules?
Did you upgrade to openwrt from stock firmware?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

6.6.32
no, it is a clean install

tftpboot openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-initramfs-uImage.itb
bootm
copy openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin to /tmp
and then sysupgrade -F openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin

or upgrade from snapshot r26403-openwrt-2f39ce9eae51-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin
after reboot no network is available

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

@robimarko
I will try a clean install again.

could you connect remotely to have a look? if so, reply to my email

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

I have the same issue on cleaning installation:

[ 10.083613] kmodloader: no module folders for kernel version 6.6.30 found
[ 10.251455] urngd: v1.0.2 started.
[ 31.844304] l11: disabling

root@OpenWrt:/# ifconfig
shows only loopback interface:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9984 (9.7 KiB) TX bytes:9984 (9.7 KiB)

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

do you know why by running auc the base-files package is marked as red:
image

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

If you installed 6.6.32, then why does the error message state 6.6.30?

In the broken state, can you post what lsmod reports?
Also, then try running modprobe qca_nss_dp

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

because I reinstalled the working one,
If I upgrade the only connection to router is possible over serial
let me update it again and I will post the lsmod report

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

lsmod outputs no information

OpenWrt SNAPSHOT, r26515-6e51b363e9


root@OpenWrt:/# lsmod
root@OpenWrt:/# modprobe qca_nss_dp
no module folders for kernel version 6.6.30 found
root@OpenWrt:/#

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

and ls /lib/modules shows 6.6.32, I think the router has ghosts inside....
root@OpenWrt:/# ls /lib/modules/
6.6.32
root@OpenWrt:/#

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Please use code formatting as its unreadable otherwise.

Does insmod /lib/modules/6.6.32/qca-ssdk.ko work?

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Wait, this thing has 2 rootfs partitions, maybe its mounting the wrong one.

@aiamadeus Since you added this device, can you reproduce this?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

no, it doesn't either:

root@OpenWrt:/# insmod /lib/modules/6.6.32/qca-ssdk.ko
no module folders for kernel version 6.6.30 found
Failed to find the folder holding the modules
root@OpenWrt:/#

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

What does uname -a say?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

root@OpenWrt:/# uname -a
Linux OpenWrt 6.6.30 #0 SMP Sat May 18 20:15:22 2024 aarch64 GNU/Linux

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Well, that explains why its trying to look at the wrong folder.

My best guess is that wrong rootfs is being used.

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

and how this can be corrected?

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

What does fw_printenv say?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

root@OpenWrt:/# fw_printenv
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Then you gotta reboot into U-Boot and just run print.

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

IPQ807x# printenv
baudrate=115200
bootargs=console=ttyMSM0,115200n8
bootcmd=bootipq
bootdelay=2
eth1addr=
eth2addr=
eth3addr=
eth4addr=
ethact=eth0
ethaddr=
fdt_high=0x4A400000
fdtcontroladdr=4a970220
flash_type=7
ipaddr=192.168.1.11
machid=8010008
netmask=255.255.255.0
serverip=192.168.1.10
soc_version_major=2
soc_version_minor=0
stderr=serial@78B3000
stdin=serial@78B3000
stdout=serial@78B3000

Environment size: 510/65532 bytes

I removed the MACs addresses from screen

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Well, it seems to rely on bootipq for the boot logic and bootargs.

I think we will have to wait for @aiamadeus if he has better insight

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

by the way I have a question regarding flashing this router
I am actually using the option:
1.tftpboot openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-initramfs-uImage.itb
2.bootm
3.copy openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin to /tmp
4.and then sysupgrade -F /tmp/openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin

is there any other way to flash the system with the bin file over serial ?
what is the difference between factory.bin & factory.ubi? images
what image format is required to use the usbboot command

Thank you

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

how can I take a dump of those two partitions?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

bootconfig0_1.zip

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

if you want to remote access on this router I can use teamsviewer or anydesk or what ever you prefer

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

here you go
upgrade process.txt

from openwrt.

testuser7 avatar testuser7 commented on July 22, 2024

@aiamadeus Are you sure that this bug prevents from sysupgrade?
There is sysupgrade successful message at the end.

I have reported this problem before: #14844 (comment)

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

here are the working snapshots I have and can be sysupgraded and run on z800 normally,
if it helps....
r26403
r26403-openwrt-2f39ce9eae51-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.zip

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

r26434
r26434-openwrt-0adba846916d-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.zip

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

@aiamadeus Its just a warning for sysfs that I have not been able to reproduce though it seems like a real bug in the kernel, a similar one was present for PCI and others before.

But it should not affect upgrading.

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

so until this issue is corrected, I will stay at the snapshot mentioned above.
I have no problem with those.

Thanks to both of you
:-)

from openwrt.

robimarko avatar robimarko commented on July 22, 2024

Well, its not going to fix itself

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

if you want to test anything on this router I will be more than willing to help

from openwrt.

aiamadeus avatar aiamadeus commented on July 22, 2024

I am actually using the option:
1.tftpboot openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-initramfs-uImage.itb
2.bootm 3.copy openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin to /tmp
4.and then sysupgrade -F /tmp/openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-sysupgrade.bin

I did this, upgraded from 6.6.29 to 6.6.32, no recurrence. Can you do this:
tftpboot openwrt-qualcommax-ipq807x-zbtlink_zbt-z800ax-squashfs-factory.ubi and flash rootfs

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

the same error
flash rootfs.txt

[ 12.237231] kmodloader: no module folders for kernel version 6.6.32 found

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

since I flash rootfs I cannot revert it to the previous working snapshot...
can you write how I can use my older snapshot again?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

by the way I have an original image but the file has an extension .img
how can I install the original .img to z800?

from openwrt.

aiamadeus avatar aiamadeus commented on July 22, 2024

bootconfig0_1.zip

image

NAND erase: device 0 offset 0x3c00000, size 0x3400000
NAND write: device 0 offset 0x3c00000, size 0x1180000

Sorry, I misread it before. This is booted from rootfs_1 partition.
Can you try this commit? aiamadeus@869669d

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

could you please clarify "can you try this commit?"
I am not experienced user, what do I have to run?

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

I could install it but I get the same error
[ 12.011390] kmodloader: no module folders for kernel version 6.6.32 found

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

root@OpenWrt:/# uname -a
Linux OpenWrt 6.6.32 #0 SMP Fri Jun 7 07:00:15 2024 aarch64 GNU/Linux
root@OpenWrt:/# find_mtd_index 0:bootconfig
/bin/ash: find_mtd_index: not found
root@OpenWrt:/# hexdump -e '1/1 "%01x|"' -n 1 -s 168 -C /dev/mtd6 | cut -f 1 -d
"|" | head -n1
1
root@OpenWrt:/#

from openwrt.

aiamadeus avatar aiamadeus commented on July 22, 2024

Execute the following command in uboot:

flasherase 0:BOOTCONFIG
flasherase 0:BOOTCONFIG1
reset

Then flash the firmware again.

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

the firmware you attached above, right?

from openwrt.

testuser7 avatar testuser7 commented on July 22, 2024

@aiamadeus There is some implementation of changing the boot in the bootconfig partition: https://github.com/openwrt/openwrt/blob/main/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
Maybe something similar should be implemented.

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

YES, IT WORKED:
image

from openwrt.

5gfreak avatar 5gfreak commented on July 22, 2024

so in future I hope I don't have to go through this burden for future releases?
would it be enough the bin file, right?

from openwrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.