Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

FS#2371 - Multicast/IGMP/DSA Issues #7217

Closed
openwrt-bot opened this issue Jul 9, 2019 · 5 comments
Closed

FS#2371 - Multicast/IGMP/DSA Issues #7217

openwrt-bot opened this issue Jul 9, 2019 · 5 comments
Labels

Comments

@openwrt-bot
Copy link

tiagogaspar8:

  • Device problem occurs on

Linksys WRT3200ACM

  • Software versions of OpenWrt/LEDE release, packages, etc.

Latest trunk (with 4.19 kernel)

I have enabled DSA in my router with the kernel version 4.14, and it worked well, but since the kernel was bumped to 4.19 DSA has been giving some issues, namely:

  • When I add a interface, for example a DHCP client and select for the interface wan.12 OpenWRT crashes and bootloops until it reboots to the last system. After some testing I found out that if I added a interface connected to wan and thern connect the mentioned DHCP client interface to wan.12 the system doesn't crash

-When I have the system working and connect a IPTV STB to the lan interface, with the exact configuration as in kernel 4.14 the TV works for a while but then image stops. After some testing found out that only the channel that stopped wouldn't work, while other channels worked, until they stopped working (the same issue as the first channel) and it goes on and on and on until either something (I don't know what) times out or I restart the router.

This only happened after the kernel 4.14 bump, and I believe this issue also happens with Turris omnia devices.
If you need I'm currently able to test patches as you need.
My question is, Is this a OpenWRT bug or a device drive issue that must be reported to the kernel develp team?
Either way I'm posting the same in the forums.

@openwrt-bot
Copy link
Author

ynezz:

OpenWRT crashes

Please ideally provide the exact steps to reproduce the issue and complete crashlog.

@openwrt-bot
Copy link
Author

tiagogaspar8:

Steps for the Vlan bug:

  • Flash a OpenWRT image with the latest trunk
  • Create a bridge connected to a vlan interface (for example wan.12)
  • Apply the configuration
  • The system will bootloop until it boots to the other partition or if you're lucky it will discard changes and restore your previous settings

Workaround for the Vlan bug:

  • Create a dummy bridge interface connected to a interface without vlan (for example wan)
  • Apply the configuration
  • Create the bridge you need connected to the vlan interface (for example wan.12)
  • Apply the configuration
  • Now the interface works as expected

Steps for the bridge bug:

  • Create a bridge connected to a vlan interface (for example wan.12) and to a interface without vlan (for example lan1)
  • If a device is connected it won't get any trafic/be able to comunicate with devices on the other vlan's network (vlan 12)

Steps for the IPTV bug:

  • Use the default OpenWRT configuration
  • Install omcproxy
  • Connect any STB to the lan and the TV will stop randomly ant no specific time, but if you change channels it returns to normal

About the crashlogs I can't take one from my device but a forum member posted this one on a device with similar specs:

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.56 (Wacke@HOME-Server) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r9551-483498808e)) #0 Thu Jul 4 19:40:12 2019
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: QiZhiTong 501M V2
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] random: get_random_bytes called from start_kernel+0x70/0x47c with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,9600
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 511108K/524288K available (5002K kernel code, 169K rwdata, 1316K rodata, 1024K init, 201K bss, 13180K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (5995 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 170 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 202 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.000039] Switching to timer-based delay loop, resolution 5ns
[ 0.000115] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.000138] pid_max: default: 32768 minimum: 301
[ 0.000346] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000367] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000929] CPU: Testing write buffer coherency: ok
[ 0.001640] Setting up static identity map for 0x100000 - 0x10003c
[ 0.001889] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.005941] VFP support v0.3: not present
[ 0.006110] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006133] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.006224] pinctrl core: initialized pinctrl subsystem
[ 0.007106] NET: Registered protocol family 16
[ 0.007431] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.008445] cpuidle: using governor ladder
[ 0.008775] Feroceon L2: Enabling L2
[ 0.008816] Feroceon L2: Cache support initialised.
[ 0.009058] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.009165] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[ 0.013017] No ATAGs?
[ 0.030232] SCSI subsystem initialized
[ 0.030920] usbcore: registered new interface driver usbfs
[ 0.030984] usbcore: registered new interface driver hub
[ 0.031039] usbcore: registered new device driver usb
[ 0.032993] clocksource: Switched to clocksource orion_clocksource
[ 0.033793] NET: Registered protocol family 2
[ 0.034344] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.034372] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.034425] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.034476] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.034553] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.034576] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.034724] NET: Registered protocol family 1
[ 0.038307] Crashlog allocated RAM at address 0x3f00000
[ 0.039000] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.044278] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.044291] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.052617] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.052632] io scheduler noop registered
[ 0.052640] io scheduler deadline registered (default)
[ 0.054095] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.055349] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[ 0.055367] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.055379] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[ 0.055390] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff]
[ 0.056843] PCI: bus0: Fast back to back transfers disabled
[ 0.056860] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.058483] PCI: bus1: Fast back to back transfers disabled
[ 0.058684] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[ 0.058702] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe001ffff 64bit]
[ 0.058722] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0020000-0xe002ffff pref]
[ 0.058734] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.058747] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff]
[ 0.082250] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.083156] console [ttyS0] disabled
[ 0.083219] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 6.324687] console [ttyS0] enabled
[ 6.367432] sata_mv f1080000.sata: slots 32 ports 1
[ 6.427931] scsi host0: sata_mv
[ 6.465757] ata1: SATA max UDMA/133 irq 33
[ 6.515182] nand: device found, Manufacturer ID: 0x20, Chip ID: 0x76
[ 6.591338] nand: ST Micro NAND 64MiB 3,3V 8-bit
[ 6.646637] nand: 64 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[ 6.734239] Scanning device for bad blocks
[ 6.911900] Bad eraseblock 2455 at 0x00000265c000
[ 7.054093] 3 fixed-partitions partitions found on MTD device orion_nand
[ 7.134416] Creating 3 MTD partitions on "orion_nand":
[ 7.195984] 0x000000000000-0x000000100000 : "uboot"
[ 7.254981] 0x000000100000-0x000000500000 : "kernel"
[ 7.315048] 0x000000500000-0x000004000000 : "ubi"
[ 7.374213] libphy: Fixed MDIO Bus: probed
[ 7.423530] libphy: orion_mdio_bus: probed
[ 7.475372] mv88e6085 f1072004.mdio-bus-mii:0a: switch 0x1610 detected: Marvell 88E6161, revision 2
[ 7.598400] libphy: mdio: probed
[ 7.640105] random: fast init done
[ 7.714685] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 7.796849] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[ 7.870265] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:90:0b:19:ee:25
[ 7.974528] mv643xx_eth_port mv643xx_eth_port.1: DMA mask not set
[ 8.047608] ata1: SATA link down (SStatus 0 SControl F300)
[ 8.114937] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:90:0b:19:ee:26
[ 8.219225] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 8.297472] ehci-orion: EHCI orion driver
[ 8.345650] orion-ehci f1050000.ehci: EHCI Host Controller
[ 8.411345] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 8.503201] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[ 8.603009] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 8.675466] hub 1-0:1.0: USB hub found
[ 8.720550] hub 1-0:1.0: 1 port detected
[ 8.768011] usbcore: registered new interface driver usb-storage
[ 8.840292] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[ 8.922715] i2c /dev entries driver
[ 8.965412] orion_wdt: Initial timeout 21 sec
[ 9.018471] mvsdio f1090000.mvsdio: Got CD GPIO
[ 9.097939] marvell-cesa f1030000.crypto: CESA device successfully registered
[ 9.184290] NET: Registered protocol family 10
[ 9.239372] Segment Routing with IPv6
[ 9.283336] NET: Registered protocol family 17
[ 9.336858] 8021q: 802.1Q VLAN Support v1.8
[ 9.389692] mv88e6085 f1072004.mdio-bus-mii:0a: switch 0x1610 detected: Marvell 88E6161, revision 2
[ 9.498173] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 9.592097] libphy: mdio: probed
[ 9.773969] hub 1-1:1.0: USB hub found
[ 9.819036] hub 1-1:1.0: 2 ports detected
[ 10.687434] mv88e6085 f1072004.mdio-bus-mii:0a lan1 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0a!mdio:00] driver [Generic PHY]
[ 10.853361] mv88e6085 f1072004.mdio-bus-mii:0a lan2 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0a!mdio:01] driver [Generic PHY]
[ 11.022245] mv88e6085 f1072004.mdio-bus-mii:0a lan3 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0a!mdio:02] driver [Generic PHY]
[ 11.188781] mv88e6085 f1072004.mdio-bus-mii:0a lan4 (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0a!mdio:03] driver [Generic PHY]
[ 11.355360] mv88e6085 f1072004.mdio-bus-mii:0a aux (uninitialized): PHY [!ocp@f1000000!mdio-bus@72004!switch@0a!mdio:04] driver [Generic PHY]
[ 11.511191] DSA: tree 0 setup
[ 11.546979] UBI: auto-attach mtd2
[ 11.586647] ubi0: attaching mtd2
[ 11.938038] ubi0: scanning is finished
[ 11.993648] ubi0: attached mtd2 (name "ubi", size 59 MiB)
[ 12.058298] ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15872 bytes
[ 12.137538] ubi0: min./max. I/O unit sizes: 512/512, sub-page size 256
[ 12.215761] ubi0: VID header offset: 256 (aligned 256), data offset: 512
[ 12.296067] ubi0: good PEBs: 3775, bad PEBs: 1, corrupted PEBs: 0
[ 12.369088] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 92
[ 12.454601] ubi0: max/mean erase counter: 60/32, WL threshold: 4096, image sequence number: 23227124
[ 12.564075] ubi0: available PEBs: 0, total reserved PEBs: 3775, PEBs reserved for bad PEB handling: 79
[ 12.676271] block ubiblock0_0: created from ubi0:0(rootfs)
[ 12.741988] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 12.825611] rtc-mv f1010300.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 12.927277] ubi0: background thread "ubi_bgt0d" started, PID 1043
[ 13.004289] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 13.092633] Freeing unused kernel memory: 1024K
[ 13.146964] Run /sbin/init as init process
[ 13.583234] init: Console is alive
[ 13.624052] init: - watchdog -
[ 14.944393] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 15.108141] exFAT: Version 1.2.9
[ 15.161258] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 15.258103] init: - preinit -
[ 15.973753] random: jshn: uninitialized urandom read (4 bytes read)
[ 16.116339] random: jshn: uninitialized urandom read (4 bytes read)
[ 16.222185] random: jshn: uninitialized urandom read (4 bytes read)
RTNETLINK answers: Network is down
sendto(): Network unreachable
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 19.787789] mount_root: loading kmods from internal overlay
[ 19.886155] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 19.971882] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 20.223652] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 1141
[ 20.341205] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 20.435059] UBIFS (ubi0:1): LEB size: 15872 bytes (15 KiB), min./max. I/O unit sizes: 512 bytes/512 bytes
[ 20.549715] UBIFS (ubi0:1): FS size: 17792512 bytes (16 MiB, 1121 LEBs), journal size 888832 bytes (0 MiB, 56 LEBs)
[ 20.674809] UBIFS (ubi0:1): reserved for root: 840383 bytes (820 KiB)
[ 20.751990] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID CE26F882-78A4-4F7F-A163-E783319927EA, small LPT model
[ 20.888148] urandom_read: 2 callbacks suppressed
[ 20.888154] random: procd: uninitialized urandom read (4 bytes read)
[ 21.019846] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 21.103339] block: unable to load configuration (fstab: Entry not found)
[ 21.183694] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[ 21.260903] block: unable to load configuration (fstab: Entry not found)
[ 21.341280] block: attempting to load /etc/config/fstab
[ 21.406659] block: unable to load configuration (fstab: Entry not found)
[ 21.487008] block: no usable configuration
[ 21.539162] UBIFS (ubi0:1): un-mount UBI device 0
[ 21.595500] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[ 21.683707] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 1143
[ 21.770529] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 21.864330] UBIFS (ubi0:1): LEB size: 15872 bytes (15 KiB), min./max. I/O unit sizes: 512 bytes/512 bytes
[ 21.978999] UBIFS (ubi0:1): FS size: 17792512 bytes (16 MiB, 1121 LEBs), journal size 888832 bytes (0 MiB, 56 LEBs)
[ 22.104090] UBIFS (ubi0:1): reserved for root: 840383 bytes (820 KiB)
[ 22.181271] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID CE26F882-78A4-4F7F-A163-E783319927EA, small LPT model
[ 22.364385] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 22.447930] block: unable to load configuration (fstab: Entry not found)
[ 22.528360] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[ 22.605626] block: unable to load configuration (fstab: Entry not found)
[ 22.685983] block: attempting to load /etc/config/fstab
[ 22.748616] block: unable to load configuration (fstab: Entry not found)
[ 22.828984] block: no usable configuration
[ 22.878747] mount_root: overlay filesystem has not been fully initialized yet
[ 22.965038] mount_root: switching to ubifs overlay
[ 23.053685] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.

  • config restore -
    [ 23.974032] urandom-seed: Seed file not found (/etc/urandom.seed)
    [ 24.117658] procd: - early -
    [ 24.152588] procd: - watchdog -
    [ 25.191167] procd: - watchdog -
    [ 25.231369] procd: - ubus -
    [ 25.433132] random: ubusd: uninitialized urandom read (4 bytes read)
    [ 25.573732] random: ubusd: uninitialized urandom read (4 bytes read)
    [ 25.673075] random: crng init done
    [ 26.060685] procd: - init -
    Please press Enter to activate this console.
    [ 26.946109] urngd: v1.0.0 started.
    [ 27.018357] kmodloader: loading kernel modules from /etc/modules.d/*
    [ 27.381259] NET: Registered protocol family 38
    [ 27.522706] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [ 27.666572] tun: Universal TUN/TAP device driver, 1.6
    [ 27.797476] ipip: IPv4 and MPLS over IPv4 tunneling driver
    [ 27.935967] l2tp_core: L2TP core driver, V2.0
    [ 28.044147] l2tp_netlink: L2TP netlink interface
    [ 28.224614] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 28.397598] gre: GRE over IPv4 demultiplexor driver
    [ 28.517762] ip_gre: GRE over IPv4 tunneling driver
    [ 28.646716] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [ 28.913202] cryptodev: driver 1.10 loaded.
    [ 29.017412] Mirror/redirect action on
    [ 29.134113] u32 classifier
    [ 29.166469] input device check on
    [ 29.210294] Actions configured
    [ 29.367759] GACT probability on
    [ 29.451649] Simple TC action Loaded
    [ 29.570143] fuse init (API version 7.27)
    [ 29.682907] usbcore: registered new interface driver cdc_wdm
    [ 29.825443] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7
    [ 29.916223] Backport generated by backports.git v4.19.32-1-0-g1c4f7569
    [ 30.188964] lib80211: common routines for IEEE802.11 drivers
    [ 30.452457] usbcore: registered new interface driver ums-alauda
    [ 30.600728] usbcore: registered new interface driver ums-cypress
    [ 30.743960] usbcore: registered new interface driver ums-datafab
    [ 30.880560] usbcore: registered new interface driver ums-freecom
    [ 31.027059] usbcore: registered new interface driver ums-isd200
    [ 31.173945] usbcore: registered new interface driver ums-jumpshot
    [ 31.308374] usbcore: registered new interface driver ums-karma
    [ 31.453639] usbcore: registered new interface driver ums-sddr09
    [ 31.593997] usbcore: registered new interface driver ums-sddr55
    [ 31.744036] usbcore: registered new interface driver ums-usbat
    [ 31.884165] usbcore: registered new interface driver usblp
    [ 32.027136] wireguard: WireGuard 0.0.20190702 loaded. See www.wireguard.com for information.
    [ 32.128269] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
    [ 32.542556] xt_time: kernel timezone is -0000
    [ 32.870675] PPP generic driver version 2.4.2
    [ 32.968410] PPP MPPE Compression module registered
    [ 33.092861] NET: Registered protocol family 24
    [ 33.201863] PPTP driver version 0.8.5
    [ 33.295027] usbcore: registered new interface driver qmi_wwan
    [ 33.686902] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [ 33.889572] usbcore: registered new interface driver ath9k_htc
    [ 34.113619] pci 0000:00:01.0: enabling device (0140 -> 0142)
    [ 34.199224] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xe1260000, irq=65
    [ 34.636231] kmodloader: done loading kernel modules from /etc/modules.d/*
    crond[2948]: crond (busybox 1.31.0) started, log level 8
    [ 65.859036] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
    [ 65.978138] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 66.499433] mv88e6085 f1072004.mdio-bus-mii:0a lan3: configuring for phy/ link mode
    [ 66.591292] IPv6: ADDRCONF(NETDEV_UP): lan3: link is not ready
    [ 66.883067] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 67.228723] br-iptv: port 1(lan3.10) entered blocking state
    [ 67.295511] br-iptv: port 1(lan3.10) entered disabled state
    [ 67.362547] device lan3.10 entered promiscuous mode
    [ 67.420994] device lan3 entered promiscuous mode
    [ 67.476287] device eth0 entered promiscuous mode
    [ 68.373862] Unable to handle kernel NULL pointer dereference at virtual address 00000470
    [ 68.470835] pgd = c9517280
    [ 68.503206] [00000470] *pgd=1e8b6831, *pte=00000000, *ppte=00000000
    [ 68.578311] Internal error: Oops: 17 [#1] ARM
    [ 68.630465] Modules linked in: ath9k ath9k_htc ath9k_common pppoe ppp_async l2tp_ppp ath9k_hw ath5k ath10k_pci ath10k_core ath qmi_wwan pptp pppox ppp_mppe ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_u32 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_hashlimit xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TPROXY xt_TCPMSS xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbnet usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet
    [ 69.481660] nft_reject nft_redir_ipv6 nft_redir_ipv4 nft_redir nft_quota nft_numgen nft_nat nft_masq_ipv6 nft_masq_ipv4 nft_masq nft_log nft_limit nft_flow_offload nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nft_chain_nat_ipv6 nft_chain_nat_ipv4 nfnetlink_queue nfnetlink_log nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount macvlan lib80211_crypt_wep lib80211_crypt_tkip lib80211_crypt_ccmp lib80211 iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc8 crc_itu_t crc_ccitt cordic compat cdc_wdm fuse sch_teql sch_sfq sch_red sch_prio sch_pie sch_multiq sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp
    [ 70.331814] act_simple act_police act_pedit act_ipt act_gact act_csum libcrc32c act_connmark sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred sg tmp421 hwmon ledtrig_heartbeat cryptodev xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net 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 ip6table_nat ip6t_NPT ip6t_MASQUERADE nf_nat_ipv6 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos bonding ip_gre
    [ 71.176759] gre ifb sit l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipip tunnel4 ip_tunnel tun vfat fat ntfs autofs4 bcma nls_utf8 nls_iso8859_1 nls_cp950 nls_cp936 nls_cp437 eeprom_93cx6 algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_generic sha256_generic seqiv jitterentropy_rng drbg hmac ghash_generic gf128mul gcm ecb ctr cmac ccm authenc ahci libahci gpio_button_hotplug f2fs exfat ssb mii aead crypto_null cryptomgr crc32_generic
    [ 71.657152] CPU: 0 PID: 4360 Comm: netifd Not tainted 4.19.56 #0
    [ 71.729121] Hardware name: Marvell Kirkwood (Flattened Device Tree)
    [ 71.804228] PC is at br_vlan_enabled+0xc/0x1c
    [ 71.856411] LR is at dsa_port_vlan_add+0x48/0x90
    [ 71.911715] pc : [] lr : [] psr: 60000013
    [ 71.986813] sp : ddae5b68 ip : ddae5b78 fp : ddae5b74
    [ 72.049414] r10: c05b8444 r9 : 00000001 r8 : ddf52460
    [ 72.112015] r7 : ddae5c0c r6 : ddae5c64 r5 : ffffffa1 r4 : df77e94c
    [ 72.190239] r3 : 00000002 r2 : ddae5c0c r1 : ddae5c64 r0 : 00000000
    [ 72.268464] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
    [ 72.353979] Control: 0005397f Table: 1da74000 DAC: 00000051
    [ 72.422830] Process netifd (pid: 4360, stack limit = 0xd8f5ae87)
    [ 72.494803] Stack: (0xddae5b68 to 0xddae6000)
    [ 72.546991] 5b60: ddae5b9c ddae5b78 c05bdf9c c05b8510 ddae5c64 ddae5c0c
    [ 72.645007] 5b80: 00000000 00000002 c01410a8 df4c2800 ddae5bac ddae5ba0 c05be81c c05bdf64
    [ 72.743022] 5ba0: ddae5bd4 ddae5bb0 c05c6458 c05be7e8 df69b360 df671770 da84c000 ffffffa1
    [ 72.841036] 5bc0: ddae5c64 ddae5c0c ddae5bfc ddae5bd8 c05c6488 c05c6430 00000000 da84c068
    [ 72.939050] 5be0: ddae5c0c ddb2dd00 da84c000 ddae5c64 ddae5c34 ddae5c00 c05c6528 c05c6430
    [ 73.037066] 5c00: ddae5c2c ddae5c10 c013e1d0 ddae5c0c ddae5c0c df69b301 ddae5c64 ddb2dd00
    [ 73.135080] 5c20: da84c000 ddb3ca00 ddae5c5c ddae5c38 c05c6acc c05c64c0 00000000 df69b360
    [ 73.233094] 5c40: ddae5c74 ddb2dd00 ddb2dd00 dda98300 ddae5c8c ddae5c60 c05bc34c c05c69a8
    [ 73.331108] 5c60: 00000002 da84c000 00000001 00000000 00000000 00000000 00010006 00000001
    [ 73.429123] 5c80: ddae5cec ddae5c90 c05b9b84 c05bc314 ddae5d7c ddae5d24 da84c000 00000006
    [ 73.527138] 5ca0: c05bdcf8 c04297e0 ddae5cc4 ddae5cb8 c05be860 c05bdcd4 df401dc0 ddb2dd00
    [ 73.625153] 5cc0: 006080c0 dda98300 ddb2dd00 00000000 ddb3ca00 00000001 ddae5d06 c05b8444
    [ 73.723167] 5ce0: ddae5d74 ddae5cf0 c05baa90 c05b9b30 c03a2c78 c03a1910 00000006 ddae5d7b
    [ 73.821181] 5d00: 006000c0 0001834c dda98300 ddae5d06 00020003 00000008 00001000 01010000
    [ 73.919196] 5d20: 00000000 00000000 c05b8444 00020003 00000008 00001000 01010000 00000000
    [ 74.017211] 5d40: 00000000 c05b8444 c0336000 00000000 00000000 ddb3ca00 c0903028 dda98300
    [ 74.115226] 5d60: ddb3ca80 00000000 ddae5ddc ddae5d78 c05babcc c05ba8a8 00832d80 ddf52000
    [ 74.213239] 5d80: 00000007 00000002 00000000 00000000 00000000 00000000 00000000 00000000
    [ 74.311254] 5da0: 00000000 00000000 00000000 00000000 00000000 cff91ccb ddae5ddc da84c000
    [ 74.409268] 5dc0: 00000000 ddf52460 ddb3ca00 00000000 ddae5e0c ddae5de0 c05a95e4 c05baaec
    [ 74.507283] 5de0: 00000000 ddae5df0 c0924a00 ddf52460 00000014 00000001 ddae5eac 00000000
    [ 74.605298] 5e00: ddae5e2c ddae5e10 c05aa384 c05a9218 ddae5eb4 ddf52000 ddae5eb4 c0619e30
    [ 74.703313] 5e20: ddae5e44 ddae5e30 c05aae14 c05aa338 000089a2 ddf52000 ddae5e7c ddae5e48
    [ 74.801328] 5e40: c04defbc c05aadc0 c04b6cbc c05d8e70 ddae5eb4 000089a2 ddae5e7c ddae5eb4
    [ 74.899342] 5e60: 000089a2 c0924a00 00000000 ddae5eac ddae5ea4 ddae5e80 c04df604 c04decbc
    [ 74.997356] 5e80: 000089a2 c0903028 bee11b28 c0924a00 00000051 ffffe000 ddae5efc ddae5ea8
    [ 75.095371] 5ea0: c049b3f8 c04df0a8 ddb4c320 00000001 df1bb000 692d7262 00767470 00000000
    [ 75.193384] 5ec0: 00000000 00000014 00000000 00000000 00000000 cff91ccb bee11b28 dd11c1a0
    [ 75.291400] 5ee0: 00000008 000089a2 ddb231e0 00000008 ddae5f6c ddae5f00 c01ef59c c049af78
    [ 75.389414] 5f00: df1bb000 df4129b0 ddae5f24 ddae5f18 c0153bd8 c0153b78 ddae5f5c ddae5f28
    [ 75.487429] 5f20: c01ddf18 c0153bd4 00000000 00000000 ddae5f54 df671740 c092b264 00000000
    [ 75.585444] 5f40: 00000006 ddb231e0 ddb231e0 00000008 000089a2 bee11b28 ddae4000 00000000
    [ 75.683458] 5f60: ddae5f94 ddae5f70 c01ef688 c01eedd0 00fe2910 000089a2 b6e87068 00000036
    [ 75.781473] 5f80: c01011e4 ddae4000 ddae5fa4 ddae5f98 c01ef6bc c01ef65c 00000000 ddae5fa8
    [ 75.879487] 5fa0: c0101000 c01ef6bc 00fe2910 000089a2 00000008 000089a2 bee11b28 bee11b20
    [ 75.977502] 5fc0: 00fe2910 000089a2 b6e87068 00000036 00fe2948 b6e87068 00fe2ab4 0003d768
    [ 76.075516] 5fe0: 0003cd58 bee11b08 00013764 b6f260b8 60000010 00000008 00000000 00000000
    [ 76.173524] Backtrace:
    [ 76.202801] [] (br_vlan_enabled) from [] (dsa_port_vlan_add+0x48/0x90)
    [ 76.301858] [] (dsa_port_vlan_add) from [] (dsa_slave_port_obj_add+0x44/0x48)
    [ 76.408198] r4:df4c2800
    [ 76.438517] [] (dsa_slave_port_obj_add) from [] (__switchdev_port_obj_add+0x38/0x90)
    [ 76.552152] [] (__switchdev_port_obj_add) from [] (__switchdev_port_obj_add+0x68/0x90)
    [ 76.667872] r7:ddae5c0c r6:ddae5c64 r5:ffffffa1 r4:da84c000
    [ 76.735681] [] (__switchdev_port_obj_add) from [] (switchdev_port_obj_add_now+0x78/0xf4)
    [ 76.853485] r7:ddae5c64 r6:da84c000 r5:ddb2dd00 r4:ddae5c0c
    [ 76.921295] [] (switchdev_port_obj_add_now) from [] (switchdev_port_obj_add+0x134/0x164)
    [ 77.039098] r7:ddb3ca00 r6:da84c000 r5:ddb2dd00 r4:ddae5c64
    [ 77.106909] [] (switchdev_port_obj_add) from [] (br_switchdev_port_vlan_add+0x48/0x50)
    [ 77.222627] r6:dda98300 r5:ddb2dd00 r4:ddb2dd00
    [ 77.277938] [] (br_switchdev_port_vlan_add) from [] (__vlan_add+0x64/0x5dc)
    [ 77.382202] [] (__vlan_add) from [] (nbp_vlan_add+0x1f8/0x244)
    [ 77.472927] r10:c05b8444 r9:ddae5d06 r8:00000001 r7:ddb3ca00 r6:00000000 r5:ddb2dd00
    [ 77.566768] r4:dda98300
    [ 77.597085] [] (nbp_vlan_add) from [] (nbp_vlan_init+0xf0/0x154)
    [ 77.689893] r10:00000000 r9:ddb3ca80 r8:dda98300 r7:c0903028 r6:ddb3ca00 r5:00000000
    [ 77.783734] r4:00000000
    [ 77.814058] [] (nbp_vlan_init) from [] (br_add_if+0x3dc/0x5fc)
    [ 77.904774] r8:00000000 r7:ddb3ca00 r6:ddf52460 r5:00000000 r4:da84c000
    [ 77.985083] [] (br_add_if) from [] (add_del_if+0x5c/0x78)
    [ 78.070597] r9:00000000 r8:ddae5eac r7:00000001 r6:00000014 r5:ddf52460 r4:c0924a00
    [ 78.163403] [] (add_del_if) from [] (br_dev_ioctl+0x64/0x70)
    [ 78.252041] r7:c0619e30 r6:ddae5eb4 r5:ddf52000 r4:ddae5eb4
    [ 78.319854] [] (br_dev_ioctl) from [] (dev_ifsioc+0x310/0x334)
    [ 78.410571] r5:ddf52000 r4:000089a2
    [ 78.453384] [] (dev_ifsioc) from [] (dev_ioctl+0x56c/0x5e8)
    [ 78.540982] r8:ddae5eac r7:00000000 r6:c0924a00 r5:000089a2 r4:ddae5eb4
    [ 78.621291] [] (dev_ioctl) from [] (sock_ioctl+0x490/0x4dc)
    [ 78.708889] r9:ffffe000 r8:00000051 r7:c0924a00 r6:bee11b28 r5:c0903028 r4:000089a2
    [ 78.801696] [] (sock_ioctl) from [] (do_vfs_ioctl+0x7dc/0x88c)
    [ 78.892420] r9:00000008 r8:ddb231e0 r7:000089a2 r6:00000008 r5:dd11c1a0 r4:bee11b28
    [ 78.985224] [] (do_vfs_ioctl) from [] (ksys_ioctl+0x3c/0x60)
    [ 79.073867] r10:00000000 r9:ddae4000 r8:bee11b28 r7:000089a2 r6:00000008 r5:ddb231e0
    [ 79.167708] r4:ddb231e0
    [ 79.198023] [] (ksys_ioctl) from [] (sys_ioctl+0x10/0x14)
    [ 79.283541] r9:ddae4000 r8:c01011e4 r7:00000036 r6:b6e87068 r5:000089a2 r4:00fe2910
    [ 79.376345] [] (sys_ioctl) from [] (ret_fast_syscall+0x0/0x50)
    [ 79.467065] Exception stack(0xddae5fa8 to 0xddae5ff0)
    [ 79.527585] 5fa0: 00fe2910 000089a2 00000008 000089a2 bee11b28 bee11b20
    [ 79.625601] 5fc0: 00fe2910 000089a2 b6e87068 00000036 00fe2948 b6e87068 00fe2ab4 0003d768
    [ 79.723612] 5fe0: 0003cd58 bee11b08 00013764 b6f260b8
    [ 79.784133] Code: e89da810 e1a0c00d e92dd800 e24cb004 (e5d00470)
    [ 79.857275] ---[ end trace 8632fd73a01f0d17 ]---
    [ 79.914490] Kernel panic - not syncing: Fatal exception
    [ 79.978077] Rebooting in 3 seconds..

@openwrt-bot
Copy link
Author

tiagogaspar8:

I believe I have found something
http://lists.openwrt.org/pipermail/openwrt-devel/2019-March/016332.html 7

I tried the same steps in this website and the symptoms are the same!

Also, just found out that the issue is related to vlan filtering in the bridge, when I compiled a openwrt version with it disabled the issue is gone!

@openwrt-bot
Copy link
Author

tiagogaspar8:

This patch fixed vlan interfaces for me:

https://lore.kernel.org/patchwork/patch/1043590/

But the issue with IPTV and vlan interface to non-vlan interface bridging doesn't work.

@tiagogaspar8
Copy link
Contributor

tiagogaspar8 commented Feb 17, 2022

This can be closed

Edit: tagging you @aparcar since you closed the other ones 😁

@aparcar aparcar closed this as completed Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants