Build for Netgear R7800


#1243

This is the error I get with the "git pull" command:

Updating d3b43f49ac..0308385d1d
error: Your local changes to the following files would be overwritten by merge:
	package/base-files/files/bin/config_generate
Please commit your changes or stash them before you merge.
Aborting

#1244

Did a little research. Would this work without messing up my build environment?

git reset --hard
git pull


#1245

git stash
git pull
git stash pop
(and then editing the possible change conflicts, if any real ones)

This might also work, but that would also remove all my/your personal uncommitted changes.


#1246

You were right about that. It wiped out your scripts. Live and learn. I just rebuilt your whole environment.
I noticed your using the CT firmware now?


#1247

Master switched to it, that's why.


#1248

I tried 3.6.0.1 qca firmware myself, some clients seem to connect at higher rates than before.


#1249

These builds as well as master all use the ct driver though, did you just put the qca firmware with the ct driver?


#1250

I guess you could do that maybe.
I have an ipk package you should be able to use I think, it should replace the ath10k ct firmware package.
I did some source patching and made it include the latest firmware instead.
3.6.0.1 qca firmware should be the right one if you want to try, I haven't done it this way myself so I don't know if it will work.


#1251

Hi everybody.
I made a rookie mistake: never change a running system.
I updated from 1806-r7157 to OpenWrt 18.06-SNAPSHOT r7346 can confirm that 5 Ghz is crashing. Galaxy S7 Edge is "connected" but can't even ping. Needs to reset 5Ghz and it is working again for a few minutes.
Also 2.4Ghz crashed one time and was not available any more.

Anybody has an older sysupgrade file which works better? Or are there any archive files saved from you @hnyman?

Thank you!

Update:
Crashed again. Might be helpful:

Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.635260] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat fuse sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.689741]  cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 usb_storage leds_gpio
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.760502]  xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat crc32c_generic
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.782747] CPU: 1 PID: 9826 Comm: kworker/1:1 Tainted: G        W       4.14.74 #0
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.804791] Hardware name: Generic DT based system
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.812382] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.817222] [<c030f8e4>] (unwind_backtrace) from [<c030bb24>] (show_stack+0x14/0x20)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.824070] [<c030bb24>] (show_stack) from [<c078a878>] (dump_stack+0x88/0x9c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.831883] [<c078a878>] (dump_stack) from [<c0318f2c>] (__warn+0xf0/0x11c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.838908] [<c0318f2c>] (__warn) from [<c0318f8c>] (warn_slowpath_fmt+0x34/0x4c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.845797] [<c0318f8c>] (warn_slowpath_fmt) from [<bf73a590>] (ieee80211_iter_keys_rcu+0x1b8/0x294 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.853464] [<bf73a590>] (ieee80211_iter_keys_rcu [mac80211]) from [<bf73b28c>] (ieee80211_free_keys+0xd8/0x248 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.863361] [<bf73b28c>] (ieee80211_free_keys [mac80211]) from [<bf721798>] (ieee80211_add_virtual_monitor+0x7b0/0x9e0 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.874472] [<bf721798>] (ieee80211_add_virtual_monitor [mac80211]) from [<bf7219dc>] (ieee80211_stop+0x14/0x24 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.886254] [<bf7219dc>] (ieee80211_stop [mac80211]) from [<c068561c>] (__dev_close_many+0xa4/0xdc)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.897246] [<c068561c>] (__dev_close_many) from [<c06856c0>] (dev_close_many+0x6c/0xf8)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.906274] [<c06856c0>] (dev_close_many) from [<c06899e0>] (dev_close+0x38/0x4c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.914633] [<c06899e0>] (dev_close) from [<bf6b29a0>] (cfg80211_shutdown_all_interfaces+0x60/0xbc [cfg80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.922025] [<bf6b29a0>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf73ea64>] (ieee80211_reconfig+0x734/0xacc [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.931933] [<bf73ea64>] (ieee80211_reconfig [mac80211]) from [<bf70c7b0>] (ieee80211_restart_work+0xb8/0xd4 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.943977] [<bf70c7b0>] (ieee80211_restart_work [mac80211]) from [<c032fc44>] (process_one_work+0x24c/0x404)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.954799] [<c032fc44>] (process_one_work) from [<c0330cf0>] (worker_thread+0x344/0x58c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.964608] [<c0330cf0>] (worker_thread) from [<c03358b4>] (kthread+0x140/0x14c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.972766] [<c03358b4>] (kthread) from [<c0308048>] (ret_from_fork+0x14/0x2c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.980306] ---[ end trace bab0e5598cae9919 ]---
Sun Oct 14 14:16:49 2018 kern.err kernel: [90889.987255] wlan1: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.992350] ------------[ cut here ]------------
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90889.999567] WARNING: CPU: 1 PID: 9826 at backports-2017-11-01/net/mac80211/driver-ops.h:17 drv_remove_interface+0x44/0x78 [mac80211]
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.004104] wlan1:  Failed check-sdata-in-driver check, flags: 0x9
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.016044] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat fuse sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.070562]  cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 usb_storage leds_gpio
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.141347]  xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat crc32c_generic
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.163564] CPU: 1 PID: 9826 Comm: kworker/1:1 Tainted: G        W       4.14.74 #0
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.185607] Hardware name: Generic DT based system
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.193190] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.198029] [<c030f8e4>] (unwind_backtrace) from [<c030bb24>] (show_stack+0x14/0x20)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.204883] [<c030bb24>] (show_stack) from [<c078a878>] (dump_stack+0x88/0x9c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.212694] [<c078a878>] (dump_stack) from [<c0318f2c>] (__warn+0xf0/0x11c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.219724] [<c0318f2c>] (__warn) from [<c0318f8c>] (warn_slowpath_fmt+0x34/0x4c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.226607] [<c0318f8c>] (warn_slowpath_fmt) from [<bf70f184>] (drv_remove_interface+0x44/0x78 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.234276] [<bf70f184>] (drv_remove_interface [mac80211]) from [<bf721940>] (ieee80211_add_virtual_monitor+0x958/0x9e0 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.243827] [<bf721940>] (ieee80211_add_virtual_monitor [mac80211]) from [<bf7219dc>] (ieee80211_stop+0x14/0x24 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.255521] [<bf7219dc>] (ieee80211_stop [mac80211]) from [<c068561c>] (__dev_close_many+0xa4/0xdc)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.266601] [<c068561c>] (__dev_close_many) from [<c06856c0>] (dev_close_many+0x6c/0xf8)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.275630] [<c06856c0>] (dev_close_many) from [<c06899e0>] (dev_close+0x38/0x4c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.283978] [<c06899e0>] (dev_close) from [<bf6b29a0>] (cfg80211_shutdown_all_interfaces+0x60/0xbc [cfg80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.291381] [<bf6b29a0>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf73ea64>] (ieee80211_reconfig+0x734/0xacc [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.301290] [<bf73ea64>] (ieee80211_reconfig [mac80211]) from [<bf70c7b0>] (ieee80211_restart_work+0xb8/0xd4 [mac80211])
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.313330] [<bf70c7b0>] (ieee80211_restart_work [mac80211]) from [<c032fc44>] (process_one_work+0x24c/0x404)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.324154] [<c032fc44>] (process_one_work) from [<c0330cf0>] (worker_thread+0x344/0x58c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.333964] [<c0330cf0>] (worker_thread) from [<c03358b4>] (kthread+0x140/0x14c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.342122] [<c03358b4>] (kthread) from [<c0308048>] (ret_from_fork+0x14/0x2c)
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.349653] ---[ end trace bab0e5598cae991a ]---
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.356617] ------------[ cut here ]------------
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.361465] WARNING: CPU: 1 PID: 9826 at backports-2017-11-01/net/mac80211/driver-ops.c:39 ieee80211_add_virtual_monitor+0x984/0x9e0 [mac80211]
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.365995] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat fuse sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.427223]  cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 usb_storage leds_gpio
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.497981]  xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat crc32c_generic
Sun Oct 14 14:16:49 2018 kern.warn kernel: [90890.520228] CPU: 1 PID: 9826 Comm: kworker/1:1 Tainted: G        W       4.14.74 #0
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.542289] Hardware name: Generic DT based system
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.549870] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.554711] [<c030f8e4>] (unwind_backtrace) from [<c030bb24>] (show_stack+0x14/0x20)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.561567] [<c030bb24>] (show_stack) from [<c078a878>] (dump_stack+0x88/0x9c)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.569377] [<c078a878>] (dump_stack) from [<c0318f2c>] (__warn+0xf0/0x11c)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.576409] [<c0318f2c>] (__warn) from [<c0319018>] (warn_slowpath_null+0x20/0x28)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.583296] [<c0319018>] (warn_slowpath_null) from [<bf72196c>] (ieee80211_add_virtual_monitor+0x984/0x9e0 [mac80211])
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.590962] [<bf72196c>] (ieee80211_add_virtual_monitor [mac80211]) from [<bf7219dc>] (ieee80211_stop+0x14/0x24 [mac80211])
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.601615] [<bf7219dc>] (ieee80211_stop [mac80211]) from [<c068561c>] (__dev_close_many+0xa4/0xdc)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.612608] [<c068561c>] (__dev_close_many) from [<c06856c0>] (dev_close_many+0x6c/0xf8)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.621637] [<c06856c0>] (dev_close_many) from [<c06899e0>] (dev_close+0x38/0x4c)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.629985] [<c06899e0>] (dev_close) from [<bf6b29a0>] (cfg80211_shutdown_all_interfaces+0x60/0xbc [cfg80211])
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.637389] [<bf6b29a0>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf73ea64>] (ieee80211_reconfig+0x734/0xacc [mac80211])
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.647298] [<bf73ea64>] (ieee80211_reconfig [mac80211]) from [<bf70c7b0>] (ieee80211_restart_work+0xb8/0xd4 [mac80211])
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.659337] [<bf70c7b0>] (ieee80211_restart_work [mac80211]) from [<c032fc44>] (process_one_work+0x24c/0x404)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.670162] [<c032fc44>] (process_one_work) from [<c0330cf0>] (worker_thread+0x344/0x58c)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.679969] [<c0330cf0>] (worker_thread) from [<c03358b4>] (kthread+0x140/0x14c)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.688128] [<c03358b4>] (kthread) from [<c0308048>] (ret_from_fork+0x14/0x2c)
Sun Oct 14 14:16:50 2018 kern.warn kernel: [90890.695671] ---[ end trace bab0e5598cae991b ]---

#1252

What about this feed error, not much to go on:
Create index file './feeds/telephony.index'
Updating the feeds failed.

EDIT: Deleting the feed files for telephony did not help. Same error.
@hnyman i edited your script to get pass this error. I also found out i had duplicate drivers selected. faceroll


#1253

Try the 3.6.0.1 firmware, even with the CT drivers. No crashes here.


#1254

What else can i do? I still have performance issues and only get 300mbps instead of 400mbps from my internet line :frowning:


#1255

hnyman: hi, I am trying to build R7800-owrt1806-r7350-4fa4b5edaf-20181012-1949 according to your build instructions and I am getting the following error while using hnscripts/updateNmake.sh:

/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/hostpkg/usr/bin/perl5.28.0 files/perlconfig.pl -Dowrt:target_cc='arm-openwrt-linux-muslgnueabi-gcc' -Dowrt:gccversion="7.3.0" -Dowrt:target_cross='arm-openwrt-linux-muslgnueabi-' -Dowrt:cflags='-Os -pipe -mcpu=cortex-a15 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -I/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include -I/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/include -I/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/usr/include -I/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/include/fortify -I/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/include' -Dowrt:ldflags='-L/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib -L/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/lib -L/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/usr/lib -L/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/lib -znow -zrelro' -Dowrt:libc="musl" -Dowrt:ipv6=undef -Dowrt:threads=no -Dowrt:staging_dir='/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi' -Dowrt:host_perl_prefix='/Volumes/OpenWrt/NETGEAR_R7800/master/staging_dir/hostpkg/usr' files/version.config files/base.config files/arm.config files/architecture.config files/signal.config files/threads.config files/libc.config files/misc.config > /Volumes/OpenWrt/NETGEAR_R7800/master/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/perl-5.28.0/config.sh
Can't load module List::Util, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the List::Util module statically linked into it.)
 at files/perlconfig.pl line 229.
Compilation failed in require at files/perlconfig.pl line 229.
BEGIN failed--compilation aborted at files/perlconfig.pl line 229.
make[3]: *** [/Volumes/OpenWrt/NETGEAR_R7800/master/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/perl-5.28.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 255
make[3]: Leaving directory `/Volumes/OpenWrt/NETGEAR_R7800/master/feeds/packages/lang/perl'
time: package/feeds/packages/perl/compile#0.24#0.13#0.41
make[2]: *** [package/feeds/packages/perl/compile] Error 2

I checked menuconfig and Perl is not selected in Languages. Am I missing anything? I am compiling on macOS 10.13.6 and I wonder if this is an issue.

Many thanks for your feedback in advance!

Andrejs


#1256

Perl is a dependency on some stats modules, if I remember right.
But i can't test compiling right now, so no further help right now.


#1257

Compiling on MacOS did not work for me either.
There was one posting about successful building when following the official guide on openwrt.org
But one setup step (with brew links) was not the same and building did never work - about 2 weeks ago.
I would recommend to run Ubuntu in a VM and compile without any issues. It is not even much slower than with all the brew stuff.


#1258

I have been able to successfully build images for my older TP-Link WDR3500 router on macOS for years, but not this particular build. There are probably some hidden dependencies, but it will take time to figure out. Btw, building natively is much faster using "-j5" on my iMac rather than using Virtual Box or Parallels.


#1259

Most of the time when you setup Virtual Box, etc you are creating a virtual
machine with one, sometimes two cpus, so a -j5 doesn't work very well there.


#1260

Yes, but I was describing native building with -j5.

Anyway, I just tested and R7800-owrt1806-r7350-4fa4b5edaf-20181012-1949 builds successfully under Ubuntu Linux running in VM. Must be something with macOS development environment it doesn't like then.

Andrejs


#1261

hello
what is the last build with old drivers?
i'm willing to kill someone having a samsung phone and a recent lede build :slight_smile:


#1262

What's the current status, is any of the builds good enough to use 24/7 or is there still some unfixed bugs that will effect normaluse