Skip to content

lantiq: switch to 6.18 - #24650

Merged
openwrt-bot merged 2 commits into
openwrt:mainfrom
abajk:drop-6.12
Sep 13, 2026
Merged

openwrt-bot merged 2 commits into
openwrt:mainfrom
abajk:drop-6.12

Conversation

@abajk

@abajk abajk commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Move lantiq to the 6.18 kernel after testing it as the testing kernel.

TODO:

Tested on BT Home Hub 5A (xrx200) and AVM 5490 (xrx200).

Signed-off-by: Aleksander Jan Bajkowski [email protected]

@openwrt openwrt Bot added kernel pull request/issue with Linux kernel related changes target/lantiq pull request/issue for lantiq target labels Aug 10, 2026

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 new commits; no new issues found.


Generated by Claude Code

@namiltd namiltd mentioned this pull request Aug 10, 2026
46 of 53 tasks
@abajk

abajk commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor Author

On the AVM 7330 (xway), kernel 6.18 hangs. Investigating:

[    0.000000] Linux version 6.18.44 (abajkowski@abajkowski) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 14.4.0 r35840-1a77cc5e12) 14.4.0, GNU ld (GNU Binutils) 2.46.1) #0 SMP Mon Aug 17 19:30:40 2026
[    0.000000] SoC: AR9 rev 1.2
[    0.000000] printk: legacy bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001954c (MIPS 34Kc)
[    0.000000] MIPS: machine is AVM FRITZ!Box 7320
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s18256 r8192 d22704 u49152
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    0.000000] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00016280
[    0.000000] Readback ErrCtl register=00016280
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16384
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000] NR_IRQS: 256
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.000000] CPU Clock: 393MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9721189849 ns
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
[    0.010000] Calibrating delay loop... 261.73 BogoMIPS (lpj=1308672)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.120000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.130000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.170000] rcu: Hierarchical SRCU implementation.
[    0.170000] rcu:     Max phase no-delay instances is 1000.
[    0.180000] smp: Bringing up secondary CPUs ...
[    0.180000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.180000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.180000] CPU1 revision is: 0001954c (MIPS 34Kc)
[    0.260000] Counter synchronization [CPU#0 -> CPU#1]: passed
[    0.270000] smp: Brought up 1 node, 2 CPUs
[    0.270000] Memory: 51480K/65536K available (8520K kernel code, 643K rwdata, 1752K rodata, 1292K init, 219K bss, 13236K reserved, 0K cma-reserved)
[    0.290000] posixtimers hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.290000] futex hash table entries: 512 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).
[    0.310000] pinctrl core: initialized pinctrl subsystem
[    0.320000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.340000] /fpi@10000000/pinmux@e100b10: Fixed dependency cycle(s) with /fpi@10000000/pinmux@e100b10/pinmux
[    0.350000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.370000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20
[    0.410000] usbcore: registered new interface driver usbfs
[    0.420000] usbcore: registered new interface driver hub
[    0.420000] usbcore: registered new device driver usb
[    0.430000] PCI host bridge to bus 0000:00
[    0.430000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.440000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.440000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.450000] pci 0000:00:0e.0: [168c:ff1d] type 00 class 0x020000 conventional PCI endpoint
[    0.450000] pci 0000:00:0e.0: BAR 0 [mem 0x00000000-0x0000ffff]
[    0.460000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.460000] pci 0000:00:0e.0: BAR 0 [mem 0x18000000-0x1800ffff]: assigned
[    0.470000] clocksource: Switched to clocksource MIPS
[    0.490000] NET: Registered PF_INET protocol family
[    0.500000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.510000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.520000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.520000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.530000] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.540000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.550000] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.550000] UDP hash table entries: 256 (order: 2, 14336 bytes, linear)
[    0.560000] UDP-Lite hash table entries: 256 (order: 2, 14336 bytes, linear)
[    0.570000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.580000] PCI: CLS 0 bytes, default 32
[    0.580000] gptu: totally 6 16-bit timers/counters
[    0.590000] gptu: misc_register on minor 256
[    0.590000] gptu: succeeded to request irq 126
[    0.590000] gptu: succeeded to request irq 127
[    0.600000] gptu: succeeded to request irq 128
[    0.600000] gptu: succeeded to request irq 129
[    0.610000] gptu: succeeded to request irq 130
[    0.610000] gptu: succeeded to request irq 131
[    0.620000] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.670000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.680000] printk: legacy console [ttyLTQ0] enabled
[    0.680000] printk: legacy console [ttyLTQ0] enabled
[    0.690000] printk: legacy bootconsole [early0] disabled
[    0.690000] printk: legacy bootconsole [early0] disabled
[    0.710000] lantiq nor flash device: 01000000 at 10000000
[    0.710000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.720000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.730000]   Amd/Fujitsu Extended Query version 1.3.
[    0.730000] number of CFI chips: 1
[    0.730000] 4 fixed-partitions partitions found on MTD device ltq_nor
[    0.740000] Creating 4 MTD partitions on "ltq_nor":
[    0.750000] 0x000000000000-0x000000020000 : "urlader"
[    0.760000] 0x000000020000-0x000000f80000 : "firmware"
[    0.840000] 2 uimage-fw partitions found on MTD device firmware
[    0.840000] Creating 2 MTD partitions on "firmware":
[    0.850000] 0x000000000000-0x00000034cf85 : "kernel"
[    0.850000] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.860000] 0x00000034cf85-0x000000f60000 : "rootfs"
[    0.870000] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.880000] mtd: setting mtd3 (rootfs) as root device
[    0.880000] 1 squashfs-split partitions found on MTD device rootfs
[    0.890000] 0x000000840000-0x000000f60000 : "rootfs_data"
[    0.900000] 0x000000f80000-0x000000fc0000 : "tffs (1)"
[    0.900000] 0x000000fc0000-0x000001000000 : "tffs (2)"
[  124.400000] random: crng init done

6.12:

[    0.000000] Linux version 6.12.103 (abajkowski@abajkowski) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 14.4.0 r35840-1a77cc5e12) 14.4.0, GNU ld (GNU Binutils) 2.46.1) #0 SMP Mon Aug 17 19:30:40 2026
[    0.000000] SoC: AR9 rev 1.2
[    0.000000] printk: legacy bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001954c (MIPS 34Kc)
[    0.000000] MIPS: machine is AVM FRITZ!Box 7320
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s18128 r8192 d22832 u49152
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00014088
[    0.000000] Readback ErrCtl register=00014088
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16384
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000] NR_IRQS: 256
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.000000] CPU Clock: 393MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9721189849 ns
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
[    0.010000] Calibrating delay loop... 261.73 BogoMIPS (lpj=1308672)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.120000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.130000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.160000] rcu: Hierarchical SRCU implementation.
[    0.160000] rcu:     Max phase no-delay instances is 1000.
[    0.170000] smp: Bringing up secondary CPUs ...
[    0.170000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.170000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.170000] CPU1 revision is: 0001954c (MIPS 34Kc)
[    0.250000] Counter synchronization [CPU#0 -> CPU#1]: passed
[    0.260000] smp: Brought up 1 node, 2 CPUs
[    0.260000] Memory: 51932K/65536K available (8128K kernel code, 648K rwdata, 1700K rodata, 1284K init, 225K bss, 12792K reserved, 0K cma-reserved)
[    0.270000] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.290000] pinctrl core: initialized pinctrl subsystem
[    0.310000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.330000] /fpi@10000000/pinmux@e100b10: Fixed dependency cycle(s) with /fpi@10000000/pinmux@e100b10/pinmux
[    0.340000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.360000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20
[    0.390000] usbcore: registered new interface driver usbfs
[    0.400000] usbcore: registered new interface driver hub
[    0.400000] usbcore: registered new device driver usb
[    0.410000] PCI host bridge to bus 0000:00
[    0.410000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.420000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.420000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.430000] pci 0000:00:0e.0: [168c:ff1d] type 00 class 0x020000 conventional PCI endpoint
[    0.430000] pci 0000:00:0e.0: BAR 0 [mem 0x00000000-0x0000ffff]
[    0.440000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.440000] pci 0000:00:0e.0: BAR 0 [mem 0x18000000-0x1800ffff]: assigned
[    0.450000] clocksource: Switched to clocksource MIPS
[    0.470000] NET: Registered PF_INET protocol family
[    0.480000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.490000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.500000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.500000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.510000] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.520000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.530000] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.530000] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.540000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.550000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.560000] PCI: CLS 0 bytes, default 32
[    0.560000] gptu: totally 6 16-bit timers/counters
[    0.560000] gptu: misc_register on minor 256
[    0.570000] gptu: succeeded to request irq 126
[    0.570000] gptu: succeeded to request irq 127
[    0.580000] gptu: succeeded to request irq 128
[    0.580000] gptu: succeeded to request irq 129
[    0.590000] gptu: succeeded to request irq 130
[    0.590000] gptu: succeeded to request irq 131
[    0.600000] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
M    0.650000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
 [    0.660000] printk: legacy console [ttyLTQ0] enabled
[    0.660000] printk: legacy console [ttyLTQ0] enabled
[    0.670000] printk: legacy bootconsole [early0] disabled
[    0.670000] printk: legacy bootconsole [early0] disabled
[    0.690000] lantiq nor flash device: 01000000 at 10000000
[    0.690000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.700000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.710000]   Amd/Fujitsu Extended Query version 1.3.
[    0.710000] number of CFI chips: 1
[    0.710000] 4 fixed-partitions partitions found on MTD device ltq_nor
[    0.720000] Creating 4 MTD partitions on "ltq_nor":
[    0.730000] 0x000000000000-0x000000020000 : "urlader"
[    0.730000] 0x000000020000-0x000000f80000 : "firmware"
[    0.820000] 2 uimage-fw partitions found on MTD device firmware
[    0.820000] Creating 2 MTD partitions on "firmware":
[    0.830000] 0x000000000000-0x00000032ff99 : "kernel"
[    0.830000] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.840000] 0x00000032ff99-0x000000f60000 : "rootfs"
[    0.850000] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.860000] mtd: setting mtd3 (rootfs) as root device
[    0.860000] 1 squashfs-split partitions found on MTD device rootfs
[    0.870000] 0x000000820000-0x000000f60000 : "rootfs_data"
[    0.870000] 0x000000f80000-0x000000fc0000 : "tffs (1)"
[    0.880000] 0x000000fc0000-0x000001000000 : "tffs (2)"
[    0.990000] Qualcomm Atheros AR8035 1e180000.ethernet-ffffffff:00: attached PHY driver (mii_bus:phy_addr=1e180000.ethernet-ffffffff:00, irq=POLL)
[    1.010000] NET: Registered PF_INET6 protocol family
[    1.020000] Segment Routing with IPv6
[    1.020000] In-situ OAM (IOAM) with IPv6
[    1.030000] NET: Registered PF_PACKET protocol family
[    1.030000] 8021q: 802.1Q VLAN Support v1.8
[    1.130000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.140000] Freeing unused kernel image (initmem) memory: 1284K
[    1.150000] This architecture does not have kernel memory protection.
[    1.150000] Run /sbin/init as init process
[    2.840000] init: Console is alive
[    2.850000] init: - watchdog -
[    5.650000] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.810000] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    5.840000] dwc2 1e101000.usb: supply vusb_d not found, using dummy regulator
[    5.840000] dwc2 1e101000.usb: supply vusb_a not found, using dummy regulator
[    5.890000] dwc2 1e101000.usb: DWC OTG Controller
[    5.890000] dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
[    5.900000] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[    5.910000] hub 1-0:1.0: USB hub found
[    5.910000] hub 1-0:1.0: 1 port detected
[    5.920000] dwc2 1e106000.usb: supply vusb_d not found, using dummy regulator
[    5.920000] dwc2 1e106000.usb: supply vusb_a not found, using dummy regulator
[    5.970000] dwc2 1e106000.usb: DWC OTG Controller
[    5.970000] dwc2 1e106000.usb: new USB bus registered, assigned bus number 2
[    5.980000] dwc2 1e106000.usb: irq 91, io mem 0x1e106000
[    5.990000] hub 2-0:1.0: USB hub found
[    5.990000] hub 2-0:1.0: 1 port detected
[    6.000000] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.010000] init: - preinit -
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
[   10.320000] random: crng init done
[   12.810000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   12.840000] urandom-seed: Seed file not found (/etc/urandom.seed)
- generating board file -
[   15.950000] procd: - early -
[   15.950000] procd: - watchdog -
[   16.940000] procd: - watchdog -
[   16.940000] procd: - ubus -
[   17.180000] procd: - init -
Please press Enter to activate this console.
[   21.320000] kmodloader: loading kernel modules from /etc/modules.d/*
[   23.510000] NET: Registered PF_ATMPVC protocol family
[   23.510000] NET: Registered PF_ATMSVC protocol family
[   23.530000] PPP generic driver version 2.4.2
[   23.540000] IFX MEI Version 5.00.00
[   23.570000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   23.620000] Loading modules backported from Linux version v6.18.39-0-gf89c29685
[   23.630000] Backport generated by backports.git 614e5ed
[   23.650000] Infineon Technologies DEU driver version 2.0.0 
[   23.650000] IFX DEU DES initialized (multiblock).
[   23.660000] IFX DEU AES initialized (multiblock).
[   23.660000] IFX DEU SHA1 initialized.
[   23.660000] IFX DEU MD5 initialized.
[   23.670000] IFX DEU SHA1_HMAC initialized.
[   23.670000] IFX DEU MD5_HMAC initialized.
[   23.710000] NET: Registered PF_PPPOX protocol family
[   23.720000] ath9k_pci_owl_loader 0000:00:0e.0: enabling device (0000 -> 0002)
[   23.730000] ath9k_pci_owl_loader 0000:00:0e.0: fixup device configuration
[   23.740000] urngd: v1.0.2 started.
[   23.750000] pci 0000:00:0e.0: [168c:002d] type 00 class 0x028000 conventional PCI endpoint
[   23.760000] pci 0000:00:0e.0: BAR 0 [mem 0x18000000-0x1800ffff]
[   23.770000] pci 0000:00:0e.0: PME# supported from D0 D3hot
[   23.770000] pci 0000:00:0e.0: BAR 0 [mem 0x18000000-0x1800ffff]: assigned
[   24.900000] ath9k 0000:00:0e.0: enabling device (0000 -> 0002)
[   24.990000] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0x5c9eb622, irq=30
[   25.000000] kmodloader: done loading kernel modules from /etc/modules.d/*

@abajk

abajk commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

All signs point to the etop driver. Disabling this driver causes the device to boot normally.

@abajk

abajk commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor Author

All signs point to the etop driver. Disabling this driver causes the device to boot normally.

Reverting the etop and phy driver to version 6.12 didn't help. Git bisect points to commit 96ecf8d from #23222. Dropping target/linux/generic/pending-6.18/896-03-net-phy-own-phydev-psec-via-PSE-notifier-and-remove-.patch fixes issue.

@jonasjelonek

Copy link
Copy Markdown
Member

According to a quick AI check:

Root cause: ndo_init() already holds rtnl_lock() when the ETOP driver enumerates the AR8035

  The call chain

  ltq_etop_probe() → register_netdev(dev) → register_netdevice(dev) (asserts/holds rtnl) → dev->netdev_ops->ndo_init(dev) == ltq_etop_init() → ltq_etop_mdio_init() → mdiobus_register() / of_mdiobus_register().

  - register_netdevice() has ASSERT_RTNL() at its top and is always called with rtnl held (register_netdev() wraps it in rtnl_net_lock_killable()/rtnl_net_unlock(), which takes the global rtnl_mutex too).
  - ltq_etop_init is wired up as ndo_init (target/linux/.../drivers/net/ethernet/lantiq_etop.c:636), so ltq_etop_mdio_init() (lantiq_etop.c:385) runs under rtnl, before register_netdevice() even returns.
  - ltq_etop_mdio_init() registers the mii bus via mdiobus_register() (or, with 701-NET-lantiq-etop-of-mido.patch, of_mdiobus_register() when a mdio-bus DT subnode is present). Both paths enumerate PHYs on the bus and end up calling phy_device_register() — either through mdiobus_scan()
  (drivers/net/phy/mdio_bus_provider.c:163) or through fwnode_mdiobus_register_phy()/fwnode_mdiobus_phy_device_register() (drivers/net/mdio/fwnode_mdio.c:87,132) for the AR8035 discovered via the DT mdio-bus child node.

So it's the same situation I had, a RTNL deadlock. Apparently triggered by the ETOP driver doing MDIO probe in its ndo_init hook. But I think this rather deserves an improvement of the pending patch. I suggest to report this issue here: https://lore.kernel.org/netdev/[email protected]/

@abajk

abajk commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

But I think this rather deserves an improvement of the pending patch. I suggest to report this issue here: https://lore.kernel.org/netdev/[email protected]/

Reported: https://lore.kernel.org/netdev/[email protected]/

@jonasjelonek

Copy link
Copy Markdown
Member

are all issues sorted out now?

@abajk

abajk commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

are all issues sorted out now?

Yep

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 new commits; no new issues found.


Generated by Claude Code

Move lantiq to the 6.18 kernel after testing it as the testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
Remove the 6.12 kernel configuration and patch stack after switching to 6.18.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
@openwrt-bot
openwrt-bot merged commit 2f466d1 into openwrt:main Sep 13, 2026
5 checks passed
@jonasjelonek

Copy link
Copy Markdown
Member

Thanks! Rebased on top of main and merged!

@abajk
abajk deleted the drop-6.12 branch September 13, 2026 12:13
cuechan pushed a commit to cuechan/openwrt that referenced this pull request Sep 19, 2026
Move lantiq to the 6.18 kernel after testing it as the testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
cuechan pushed a commit to cuechan/openwrt that referenced this pull request Sep 19, 2026
Remove the 6.12 kernel configuration and patch stack after switching to 6.18.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
xize pushed a commit to xize/openwrt-xsdk that referenced this pull request Sep 20, 2026
Move lantiq to the 6.18 kernel after testing it as the testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
xize pushed a commit to xize/openwrt-xsdk that referenced this pull request Sep 20, 2026
Remove the 6.12 kernel configuration and patch stack after switching to 6.18.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
Quarx2k pushed a commit to Quarx2k/OpenWRT-BE7000 that referenced this pull request Sep 22, 2026
Move lantiq to the 6.18 kernel after testing it as the testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt/openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
Quarx2k pushed a commit to Quarx2k/OpenWRT-BE7000 that referenced this pull request Sep 22, 2026
Remove the 6.12 kernel configuration and patch stack after switching to 6.18.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt/openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request Oct 10, 2026
Move lantiq to the 6.18 kernel after testing it as the testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request Oct 10, 2026
Remove the 6.12 kernel configuration and patch stack after switching to 6.18.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
xize pushed a commit to xize/openwrt-xsdk that referenced this pull request Oct 17, 2026
Move lantiq to the 6.18 kernel after testing it as the testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
xize pushed a commit to xize/openwrt-xsdk that referenced this pull request Oct 17, 2026
Remove the 6.12 kernel configuration and patch stack after switching to 6.18.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#24650
Signed-off-by: Jonas Jelonek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel pull request/issue with Linux kernel related changes target/lantiq pull request/issue for lantiq target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants