openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.07k stars 2.47k forks source link

<adblock>: [SyntaxError] unexpected token: string literal in https://192.168.1.1/luci-static/resources/protocol/modemmanager.js?v=2.2.4:7 at compileClass/< (https://192.168.1.1/luci-static/resources/luci.js?v=git-21.314.39479-e1ccb66:181:29) #5560

Closed sla-te closed 2 years ago

sla-te commented 2 years ago

After activating adblock I am getting the exception mentioned in the subject.

I am running http://rpi4.wulfy23.info/builds/rpi-4_21.02.1_1.0.7-3_r16325_extra/rpi4.64-21.02.1-27006-1.0.7-3-r16325-ext4-sys.img.gz

dmesg

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 SMP Sun Oct 24 09:01:35 2021
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 504832
[    0.000000]   DMA zone: 3792 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 4096 pages used for memmap
[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63
[    0.000000] percpu: Embedded 21 pages/cpu s45336 r8192 d32488 u86016
[    0.000000] pcpu-alloc: s45336 r8192 d32488 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 496944
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:3B:09:72 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=07022009-02 rootfstype=squashfs,ext4 rootwait pci=pcie_bus_perf fsckparts
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x37400000-0x3b400000] (64MB)
[    0.000000] Memory: 1837624K/2019328K available (7102K kernel code, 432K rwdata, 1144K rodata, 512K init, 541K bss, 116168K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     CONFIG_RCU_FANOUT set to non-default value of 32.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from 0xffffffc0108a0b98 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000158] Console: colour dummy device 80x25
[    0.000394] printk: console [tty1] enabled
[    0.000429] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000450] pid_max: default: 32768 minimum: 301
[    0.000610] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000663] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001278] cgroup: Disabling memory control group subsystem
[    0.002081] ASID allocator initialised with 32768 entries
[    0.002174] rcu: Hierarchical SRCU implementation.
[    0.002819] smp: Bringing up secondary CPUs ...
[    0.003225] Detected PIPT I-cache on CPU1
[    0.003282] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.003736] Detected PIPT I-cache on CPU2
[    0.003771] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.004284] Detected PIPT I-cache on CPU3
[    0.004318] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.004387] smp: Brought up 1 node, 4 CPUs
[    0.004414] SMP: Total of 4 processors activated.
[    0.004428] CPU features: detected: 32-bit EL0 Support
[    0.004441] CPU features: detected: CRC32 instructions
[    0.004496] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.004514] CPU: All CPU(s) started at EL2
[    0.004543] alternatives: patching kernel code
[    0.012196] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.012237] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.013982] pinctrl core: initialized pinctrl subsystem
[    0.014864] NET: Registered protocol family 16
[    0.016300] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.016866] cpuidle: using governor ladder
[    0.016894] cpuidle: using governor menu
[    0.017180] Serial: AMBA PL011 UART driver
[    0.018669] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.028039] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-10-19 11:50, variant start
[    0.032041] raspberrypi-firmware soc:firmware: Firmware hash is 0403e22018aafab833d0a16374ac773f66fd7be9
[    0.056838] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.058654] SCSI subsystem initialized
[    0.058803] usbcore: registered new interface driver usbfs
[    0.058844] usbcore: registered new interface driver hub
[    0.058882] usbcore: registered new device driver usb
[    0.059007] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[    0.059287] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.060260] clocksource: Switched to clocksource arch_sys_counter
[    0.063417] thermal_sys: Registered thermal governor 'step_wise'
[    0.063654] NET: Registered protocol family 2
[    0.064016] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.065649] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.065698] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.065825] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.066102] TCP: Hash tables configured (established 16384 bind 16384)
[    0.066298] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.066342] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.066531] NET: Registered protocol family 1
[    0.066567] PCI: CLS 0 bytes, default 64
[    0.067700] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.072082] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.096487] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.098510] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.098539] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.098577] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[    0.098612] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[    0.162327] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[    0.162489] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.162508] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.162527] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.162569] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.162661] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.166143] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.166237] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.166421] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.169734] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.169756] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.169816] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.169831] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.169856] pci 0000:00:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    0.169919] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  256
[    0.170067] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.170184] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[    0.170415] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[    0.170592] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    0.217271] pci 0000:01:00.0: 0xffffffc0104f3db8 took 45616 usecs
[    0.220043] bcm2708_fb soc:fb: FB found 1 display(s)
[    0.245220] Console: switching to colour frame buffer device 228x61
[    0.255494] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1824x984
[    0.257415] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.258346] iproc-rng200 fe104000.rng: hwrng registered
[    0.258420] random: fast init done
[    0.258533] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.258811] random: crng init done
[    0.259050] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.259342] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.266140] brd: module loaded
[    0.269364] loop: module loaded
[    0.270108] Loading iSCSI transport class v2.0-870.
[    0.271437] libphy: Fixed MDIO Bus: probed
[    0.271725] bcmgenet fd580000.ethernet: failed to get enet clock
[    0.271801] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.271869] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[    0.271941] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[    0.272019] bcmgenet: Skipping UMAC reset
[    0.284266] libphy: bcmgenet MII bus: probed
[    0.332293] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.333252] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.333340] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.333963] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000009000000890
[    0.334659] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.334725] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.334808] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.335070] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.335156] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.335229] usb usb1: Product: xHCI Host Controller
[    0.335284] usb usb1: Manufacturer: Linux 5.4.154 xhci-hcd
[    0.335342] usb usb1: SerialNumber: 0000:01:00.0
[    0.335675] hub 1-0:1.0: USB hub found
[    0.338278] hub 1-0:1.0: 1 port detected
[    0.341240] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    0.343762] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.346266] usb usb2: Product: xHCI Host Controller
[    0.348752] usb usb2: Manufacturer: Linux 5.4.154 xhci-hcd
[    0.351187] usb usb2: SerialNumber: 0000:01:00.0
[    0.353872] hub 2-0:1.0: USB hub found
[    0.356400] hub 2-0:1.0: 4 ports detected
[    0.359667] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.362226] dwc_otg: FIQ enabled
[    0.362229] dwc_otg: NAK holdoff enabled
[    0.362233] dwc_otg: FIQ split-transaction FSM enabled
[    0.362239] Module dwc_common_port init
[    0.362538] usbcore: registered new interface driver uas
[    0.365125] usbcore: registered new interface driver usb-storage
[    0.367600] mousedev: PS/2 mouse device common for all mice
[    0.370400] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.374415] sdhci: Secure Digital Host Controller Interface driver
[    0.376928] sdhci: Copyright(c) Pierre Ossman
[    0.379652] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.382382] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[    0.384790] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.392989] vchiq: vchiq_init_state: slot_zero = 000000007c044683
[    0.396418] NET: Registered protocol family 10
[    0.398461] Segment Routing with IPv6
[    0.399996] NET: Registered protocol family 17
[    0.401547] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.403139] 8021q: 802.1Q VLAN Support v1.8
[    0.404912] Key type ._fscrypt registered
[    0.406288] Key type .fscrypt registered
[    0.410000] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.411279] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 14, base_baud = 0) is a PL011 rev2
[    0.512441] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    0.517007] printk: console [ttyAMA0] enabled
[    0.545408] usb 2-2: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00
[    0.602466] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.608122] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    0.608126] usb 2-2: Product: USB 10/100/1000 LAN
[    0.619104] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.626897] usb 2-2: Manufacturer: TP-LINK
[    0.631330] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.693581] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.695131] usb 2-2: SerialNumber: 000001000000
[    0.702255] of_cfs_init
[    0.764256] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.768365] of_cfs_init: OK
[    0.922855] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.117236] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.122883] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.159255] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.162644] usb 1-1: Product: USB2.0 Hub
[    1.194152] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.199873] hub 1-1:1.0: USB hub found
[    1.263777] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.269163] hub 1-1:1.0: 4 ports detected
[    1.313160] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.612250] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[    1.646950] Waiting for root device PARTUUID=07022009-02...
[    1.709642] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.717934] mmcblk0: mmc0:aaaa SP32G 29.7 GiB
[    1.724851] mmc1: new high speed SDIO card at address 0001
[    1.731822]  mmcblk0: p1 p2
[    1.754207] usb 1-1.1: New USB device found, idVendor=0e8d, idProduct=7612, bcdDevice= 1.00
[    1.765413] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.769544] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.774217] usb 1-1.1: Product: 802.11ac WLAN
[    1.774221] usb 1-1.1: Manufacturer: MediaTek Inc.
[    1.783223] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.788980] usb 1-1.1: SerialNumber: 000000000
[    1.795816] Freeing unused kernel memory: 512K
[    1.816298] Run /sbin/init as init process
[    1.877663] init: Console is alive
[    1.882844] init: - watchdog -
[    2.269020] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.316819] Key type encrypted registered
[    2.330444] raid6: using algorithm neonx8 gen() 0 MB/s
[    2.337226] raid6: .... xor() 0 MB/s, rmw enabled
[    2.343630] raid6: using neon recovery algorithm
[    2.351759] xor: measuring software checksum speed
[    2.396244]    8regs     :  5982.000 MB/sec
[    2.440242]    32regs    :  6846.000 MB/sec
[    2.484244]    arm64_neon:  6826.000 MB/sec
[    2.489634] xor: using function: 32regs (6846.000 MB/sec)
[    2.546783] Btrfs loaded, crc32c=crc32c-generic
[    2.557070] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.567630] ehci-fsl: Freescale EHCI Host controller driver
[    2.574981] ehci-platform: EHCI generic platform driver
[    2.585308] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.593109] ohci-platform: OHCI generic platform driver
[    2.602287] uhci_hcd: USB Universal Host Controller Interface driver
[    2.616369] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.633850] init: - preinit -
[    2.710553] 79_move_config> BOOTPART: /dev/mmcblk0p1
[    2.940480] fsckparts bootpart:/dev/mmcblk0p1 [clean]
[    4.121792] fsckparts rootfspart:/dev/mmcblk0p2 [clean]
[    4.176428] bcmgenet: Skipping UMAC reset
[    4.184154] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[    4.193717] bcmgenet fd580000.ethernet eth0: Link is Down
[    8.264602] mount_root: mounting /dev/root
[    8.271184] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    8.284153] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    8.290795] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.300140] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.300263] mount_root: loading kmods from internal overlay
[    8.333229] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    8.342410] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    8.395317] block: attempting to load /etc/config/fstab
[    8.405347] block: extroot: device not present, retrying in 5 seconds
[   13.430783] block: extroot: cannot find device with UUID 061525fe-9ae7-46a0-927d-d33c64c030aa
[   13.462192] 79_move_config> BOOTPART: /dev/mmcblk0p1 /boot/sysupgrade.tgz [nope]
[   13.471701] urandom-seed: Seeding with /etc/urandom.seed
[   13.598311] bcmgenet fd580000.ethernet eth0: Link is Down
[   13.611234] procd: - early -
[   13.616999] procd: - watchdog -
[   14.145751] procd: - watchdog -
[   14.152821] procd: - ubus -
[   14.208372] procd: - init -
[   14.217270] uart-pl011 fe201000.serial: no DMA platform data
[   15.688414] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.714000] NET: Registered protocol family 38
[   15.730250] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[   15.762896] Key type cifs.idmap registered
[   15.789917] tun: Universal TUN/TAP device driver, 1.6
[   15.803327] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   15.812846] l2tp_core: L2TP core driver, V2.0
[   15.819193] l2tp_netlink: L2TP netlink interface
[   15.828081] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   15.841543] gre: GRE over IPv4 demultiplexor driver
[   15.848995] ip_gre: GRE over IPv4 tunneling driver
[   15.858769] ip6_gre: GRE over IPv6 tunneling driver
[   15.868654] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   15.909285] cryptodev: driver 1.11 loaded.
[   15.919959] i2c /dev entries driver
[   15.937202] hidraw: raw HID events driver (C) Jiri Kosina
[   15.946581] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   15.962028] GACT probability on
[   15.966883] Mirror/redirect action on
[   15.974727] u32 classifier
[   15.978928]     input device check on
[   15.983956]     Actions configured
[   15.995748] Simple TC action Loaded
[   16.010632] fuse: init (API version 7.31)
[   16.046118] Bridge firewalling registered
[   16.053513] usbcore: registered new interface driver cdc_acm
[   16.060709] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   16.070927] usbcore: registered new interface driver cdc_wdm
[   16.078657] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35
[   16.087654] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32
[   16.120275] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   16.129022] usbcore: registered new interface driver pegasus
[   16.138883] usbcore: registered new interface driver r8152
[   16.149162] usbcore: registered new interface driver rtl8150
[   16.158244] usbcore: registered new interface driver ums-alauda
[   16.165825] usbcore: registered new interface driver ums-cypress
[   16.173483] usbcore: registered new interface driver ums-datafab
[   16.181102] usbcore: registered new interface driver ums-freecom
[   16.188896] usbcore: registered new interface driver ums-isd200
[   16.196422] usbcore: registered new interface driver ums-jumpshot
[   16.204061] usbcore: registered new interface driver ums-karma
[   16.211561] usbcore: registered new interface driver ums-sddr09
[   16.219258] usbcore: registered new interface driver ums-sddr55
[   16.226929] usbcore: registered new interface driver ums-usbat
[   16.235224] usbcore: registered new interface driver usbhid
[   16.241795] usbhid: USB HID core driver
[   16.250420] usbcore: registered new interface driver usbserial_generic
[   16.258200] usbserial: USB Serial support registered for generic
[   16.279005] xt_time: kernel timezone is -0000
[   16.286230] usbcore: registered new interface driver aqc111
[   16.293299] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[   16.301801] usbcore: registered new interface driver asix
[   16.309015] usbcore: registered new interface driver ax88179_178a
[   16.317502] usbcore: registered new interface driver cdc_ether
[   16.325795] usbcore: registered new interface driver cdc_ncm
[   16.353314] usbcore: registered new interface driver ch341
[   16.360226] usbserial: USB Serial support registered for ch341-uart
[   16.369415] usbcore: registered new interface driver dm9601
[   16.377045] usbcore: registered new interface driver ftdi_sio
[   16.377278] r8152 2-2:1.0 eth1: v1.10.11
[   16.383877] usbserial: USB Serial support registered for FTDI USB Serial Device
[   16.397770] usbcore: registered new interface driver huawei_cdc_ncm
[   16.406616] iscsi: registered transport (tcp)
[   16.536706] usb 1-1.1: reset high-speed USB device number 3 using xhci_hcd
[   16.650366] mt76x2u 1-1.1:1.0: ASIC revision: 76120044
[   16.691033] mt76x2u 1-1.1:1.0: ROM patch build: 20141115060606a
[   16.836775] mt76x2u 1-1.1:1.0: Firmware Version: 0.0.00
[   16.842985] mt76x2u 1-1.1:1.0: Build: 1
[   16.848086] mt76x2u 1-1.1:1.0: Build Time: 201507311614____
[   17.651505] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.652611] usbcore: registered new interface driver mt76x2u
[   17.660710] usbcore: registered new interface driver pl2303
[   17.667533] usbserial: USB Serial support registered for pl2303
[   17.676589] PPP generic driver version 2.4.2
[   17.682943] NET: Registered protocol family 24
[   17.689483] usbcore: registered new interface driver qmi_wwan
[   17.697806] usbcore: registered new interface driver rndis_host
[   17.706552] usbcore: registered new interface driver smsc95xx
[   17.714820] usbcore: registered new interface driver sr9700
[   17.725168] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   17.734344] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   17.760016] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   17.929373] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   17.946478] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[   17.988564] usbcore: registered new interface driver brcmfmac
[   17.996573] usbcore: registered new interface driver cdc_mbim
[   18.005540] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   18.012372] usbcore: registered new interface driver option
[   18.019066] usbserial: USB Serial support registered for GSM modem (1-port)
[   18.029201] usbcore: registered new interface driver qcserial
[   18.036153] usbserial: USB Serial support registered for Qualcomm USB modem
[   18.044483] kmodloader: done loading kernel modules from /etc/modules.d/*
[   18.278942] /etc/init.d/bootstatus: sh bin/bootwait.sh & [ok] ucidef
[   18.312740] ip_local_port_range: prefer different parity for start/end values.
[   19.712880] bcmgenet: Skipping UMAC reset
[   19.719267] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[   19.728231] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.728665] br-lan: port 1(eth0) entered blocking state
[   19.743955] br-lan: port 1(eth0) entered disabled state
[   19.750618] device eth0 entered promiscuous mode
[   19.757578] br-lan: port 1(eth0) entered blocking state
[   19.764220] br-lan: port 1(eth0) entered forwarding state
[   19.798442] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   19.808975] r8152 2-2:1.0 eth1: carrier on
[   20.416919] /etc/init.d/persistentdata: boot> shutdown.sh plog boot notupgraded
[   20.473173] plog-saved-to: /boot/plog /boot/plog/plogread-202111292013-boot-1.0.7-3.log
[   20.633119] /etc/init.d/persistentlucistatistics: boot> /boot/psave/rrd > /tmp/rrd [ok:1.4M:1:1]
[   20.643732] br-lan: port 2(wlan0) entered blocking state
[   20.650463] br-lan: port 2(wlan0) entered disabled state
[   20.657164] device wlan0 entered promiscuous mode
[   20.663295] br-lan: port 2(wlan0) entered blocking state
[   20.670083] br-lan: port 2(wlan0) entered forwarding state
[   20.732298] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   20.742774] br-lan: port 2(wlan0) entered disabled state
[   20.876844] /etc/init.d/persistentnlbwmon: boot> pri&alt-data-ok [isrunning:1]
[   20.905267] /etc/init.d/persistentnlbwmon: boot-or-> nlbwmoncleanstop [1] pid: 5548
[   20.966024] /etc/init.d/persistentnlbwmon: boot> cleanstop-complete stop-ok
[   20.985998] /etc/init.d/persistentnlbwmon: boot> nlbwmon STOP [ok:1:8]
[   21.001721] /etc/init.d/persistentnlbwmon: boot-restore-pri> /boot/psave/nlbwmon(8)
[   21.036697] /etc/init.d/persistentnlbwmon: boot> start-as-wasrunning nlbwmon
[   21.165171] /etc/init.d/persistentnlbwmon: boot> complete  ok.S [running:6958 - wasrunning: 1]
[   21.245525] rc.local> ############################################################## start rc.local
[   21.379049] rc.custom>  ################################### startup init 20211129-2013
[   21.415847] rc.custom> /etc/custom/startup/* [run]
[   21.457286] 11-tap-opK> tapping opK
[   21.485194] 11-tap-opK> tapping snapstate.sh
[   21.587598] 32-spindown> SPINDOWN_TIME [notset]
[   21.633703] 35-masqaddrouter> entry router@192.168.1.1 [ok]
[   21.689935] 71-macrunstartup> /etc/custom/d22506ef2dd8.sh startup [ok]
[   21.758107] 99-try-packagerepeat> retrytxt:/root/.99-try-packageinstalltxt.retry [dbg-nope]
[   21.821129] 996-boardrunstartup> Model:4-model-b /etc/custom/startup/4-model-b [ok:2]
[   21.856937] 996-boardrunstartup> /etc/custom/startup/4-model-b/17-rpi-4-startup-sample [run]
[   21.911617] 996-boardrunstartup> /etc/custom/startup/4-model-b/30-experimentalonboot [run]
[   21.964376] 30-experimentalonboot> config.txt dtparam=sd_poll_once live-plug-disabled reboot for card change
[   21.998377] rc.custom>  ################################### startup end 20211129-2013
[   22.052010] rc.custom> raspberrypi,4-model-b perftweaks /bin/rpi-perftweaks.sh [run]
[   22.093761] rc.custom> /etc/custom/everyboot/* [run]
[   22.154052] br-lan: port 3(wlan1) entered blocking state
[   22.160832] br-lan: port 3(wlan1) entered disabled state
[   22.167725] device wlan1 entered promiscuous mode
[   22.190786] 55-dummy> placeholder
[   22.239222] 71-macruneveryboot> /etc/custom/d22506ef2dd8.sh everyboot [ok]
[   22.289444] rc.custom> running mount-cmds: /bin/mountcmds.sh [mount]
[   22.342857] rc.local> no commit: nothing or nochanges
[   22.372788] rc.local> ############################################################## end rc.local
[   30.727274] br-bb6be9367275: port 1(veth0538829) entered blocking state
[   30.735546] br-bb6be9367275: port 1(veth0538829) entered disabled state
[   30.744260] device veth0538829 entered promiscuous mode
[   30.752027] br-bb6be9367275: port 1(veth0538829) entered blocking state
[   30.760162] br-bb6be9367275: port 1(veth0538829) entered forwarding state
[   30.768903] br-bb6be9367275: port 1(veth0538829) entered disabled state
[   31.295338] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   31.303544] br-lan: port 3(wlan1) entered blocking state
[   31.310378] br-lan: port 3(wlan1) entered forwarding state
[   33.094708] eth0: renamed from vethe146d09
[   33.129781] IPv6: ADDRCONF(NETDEV_CHANGE): veth0538829: link becomes ready
[   33.137986] br-bb6be9367275: port 1(veth0538829) entered blocking state
[   33.146072] br-bb6be9367275: port 1(veth0538829) entered forwarding state
[   33.154355] IPv6: ADDRCONF(NETDEV_CHANGE): br-bb6be9367275: link becomes ready
[   37.549738] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   37.557508] br-lan: port 2(wlan0) entered blocking state
[   37.564072] br-lan: port 2(wlan0) entered forwarding state
[   59.317185] EEE_DISABLE [off]
jow- commented 2 years ago

Please open https://192.168.1.1/luci-static/resources/protocol/modemmanager.js in your browser and paste the exact contents here.

sla-te commented 2 years ago
'use strict';
'require fs';
'require form';
'require network';

function getModemList() {
    return fs.exec_direct('/usr/bin/mmcli', ['-L']).then(function (res) {
        var lines = (res || '').split(/\n/), tasks = [];
        for (var i = 0; i < lines.length; i++) {
            var m = lines[i].match(/\/Modem\/(\d+)/);
            if (m)
                tasks.push(fs.exec_direct('/usr/bin/mmcli', ['-m', m[1]]));
        }
        return Promise.all(tasks).then(function (res) {
            var modems = [];
            for (var i = 0; i < res.length; i++) {
                var man = res[i].match(/manufacturer: ([^\n]+)/), mod = res[i].match(/model: ([^\n]+)/), dev = res[i].match(/device: ([^\n]+)/);
                if (dev) {
                    modems.push({device: dev[1].trim(), manufacturer: (man ? man[1].trim() : '') || '?', model: (mod ? mod[1].trim() : '') || dev[1].trim()});
                }
            }
            return modems;
        });
    });
}

network.registerPatternVirtual(/^mobiledata-.+$/);
network.registerErrorCode('MM_CONNECT_FAILED', _('Connection attempt failed.'));
network.registerErrorCode('MM_DISCONNECT_IN_PROGRESS', _('Modem disconnection in progress. Please wait.'));
network.registerErrorCode('MM_CONNECT_IN_PROGRESS', _('Modem connection in progress. Please wait. This process will timeout after 2 minutes.'));
network.registerErrorCode('MM_TEARDOWN_IN_PROGRESS', _('Modem bearer teardown in progress.'));
network.registerErrorCode('MM_MODEM_DISABLED', _('Modem is disabled.'));
network.registerErrorCode('DEVICE_NOT_MANAGED', _('Device not managed by ModemManager.'));
network.registerErrorCode('INVALID_BEARER_LIST', _('Invalid bearer list. Possibly too many bearers created.  This protocol supports one and only one bearer.'));
network.registerErrorCode('UNKNOWN_METHOD', _('Unknown and unsupported connection method.'));
network.registerErrorCode('DISCONNECT_FAILED', _('Disconnection attempt failed.'));
return network.registerProtocol('modemmanager', {
    getI18n: function () {
        return _('ModemManager');
    }, getIfname: function () {
        return this._ubus('l3_device') || 'modemmanager-%s'.format(this.sid);
    }, getOpkgPackage: function () {
        return 'modemmanager';
    }, isFloating: function () {
        return true;
    }, isVirtual: function () {
        return true;
    }, getDevices: function () {
        return null;
    }, containsDevice: function (ifname) {
        return (network.getIfnameOf(ifname) == this.getIfname());
    }, renderFormOptions: function (s) {
        var dev = this.getL3Device() || this.getDevice(), o;
        o = s.taboption('general', form.ListValue, '_modem_device', _('Modem device'));
        o.ucioption = 'device';
        o.rmempty = false;
        o.load = function (section_id) {
            return getModemList().then(L.bind(function (devices) {
                for (var i = 0; i < devices.length; i++)
                    this.value(devices[i].device, '%s - %s'.format(devices[i].manufacturer, devices[i].model));
                return form.Value.prototype.load.apply(this, [section_id]);
            }, this));
        };
        s.taboption('general', form.Value, 'apn', _('APN'));
        s.taboption('general', form.Value, 'pincode', _('PIN'));
        o = s.taboption('general', form.ListValue, 'auth', _('Authentication Type'));
        o.value('both', _('PAP/CHAP (both)'));
        o.value('pap', 'PAP');
        o.value('chap', 'CHAP');
        o.value('none', _('None'));
        o.default = 'none';
        o = s.taboption('general', form.Value, 'username', _('PAP/CHAP username'));
        o.depends('auth', 'pap');
        o.depends('auth', 'chap');
        o.depends('auth', 'both');
        o = s.taboption('general', form.Value, 'password', _('PAP/CHAP password'));
        o.depends('auth', 'pap');
        o.depends('auth', 'chap');
        o.depends('auth', 'both');
        o.password = true;
        o = s.taboption('general', form.ListValue, 'iptype', _('IP Type'));
        o.value('ipv4v6', _('IPv4/IPv6 (both - defaults to IPv4)'))
        o.value('ipv4', _('IPv4 only'));
        o.value('ipv6', _('IPv6 only'));
        o.default = 'ipv4v6';
        o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU'));
        o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
        o.datatype = 'max(9200)';
        o = s.taboption('general', form.Value, 'signalrate', _('Signal Refresh Rate'), _("In seconds"));
        o.datatype = 'uinteger';
    }
});
jow- commented 2 years ago

What kind of "Adblock" do you mean btw.? Browser Addon? The "luci-app-adblock" package?

sla-te commented 2 years ago

What kind of "Adblock" do you mean btw.? Browser Addon? The "luci-app-adblock" package?

luci-app-adblock

image

jow- commented 2 years ago

And the error is gone when you disable the adblock service?

sla-te commented 2 years ago

I can only "suspend" the adblock service via luci and after doing that the error is still visible and even when it is "suspended", the error is being redisplayed upon refreshing the page. image

jow- commented 2 years ago

So what did you do exactly that caused the error to appear?

sla-te commented 2 years ago

So what did you do exactly that caused the error to appear?

Only navigating to https://192.168.1.1/cgi-bin/luci/admin/services/adblock/overview

jow- commented 2 years ago

Does the error appear on other pages? E.g. in the network interface overview.

sla-te commented 2 years ago

Does the error appear on other pages? E.g. in the network interface overview.

No, it only appears at https://192.168.1.1/cgi-bin/luci/admin/services/adblock/overview

wulfy23 commented 2 years ago

i've luckily stumble upon this... jow's been very kind

due to the multiple hacks in my custom build... best first point of call is to ask/report most issues on the forum first...

that said... I installed your version, enabled and started dbus/modemmanager and do not get this error... so I probably would have been lost as to how to help mostly anyway... (suspect the prescence of an actual modemmanaged interface is the differentiating factor here tho' still can't rule out build related issues )...

some things you can try;

opkg update
opkg install --force-reinstall modemmanager luci-proto-modemmanager
opkg install --force-reinstall --force-maintainer uhttpd
reboot

(test luci again)

use the boostrap theme (test luci again)

bring down modemmanaged interface ( ifdown XYZ ) or stop modemmanger service and test again... ( apologies not familiar with modemmangar to provide specifics... )

install 21.02.0 (or r1806x) and test with this to see if the issue is present also there.... ( or even the bonafide OpenWrt 21.02.1 if you have a spare sdcard... that said... the opkg --force-reinstall commands above pretty much get is back to this anyway )

sla-te commented 2 years ago

Sorry for the very late reply.

Meanwhile i have upgraded to "current" and the issue does not happen there anymore.