I would like to share the info which might be related:
Would you mind posting your complete serial log please so I can send it to the developer. _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Re MACs, OpenWRT corrects them for MX4200v2 using information from the devinfo partition.
But the router would boot before that was fixed anyway.
Initially solved here. Later on, a more sophisticated solution was added here (ignore the bits about removing regdomain, that's another issue altogether).
The error that katon888 reports about /dev/nvram seems related to what I mentioned earlier, the changes introduced here on the partitions on ipq8174-mx4200.dtsi. nvram is a partition that didn't exist on the original dtsi file and that is not a trivial change like the labels and more likely to be the problem.
But without serial logs (what a wasted opportunity to get them!) or input from the developer it's all an educated guess.
EDIT: there were issues on the MX4200v2 with the MAC of the switch (all 4 ports share the same, including WAN) and the BSSIDs of the 3 radios.
This definitely looks to be a typo. Good find. All the other partitions and regs do match. @kernel-panic69 Any thoughts on this? _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Joined: 08 May 2018 Posts: 16703 Location: Texas, USA
Posted: Tue Sep 17, 2024 16:08 Post subject:
First thought is link the file with line number, preferably on github since Trac is acting up because there's no mind melding going on around here. Going to forward this up the food chain.
Joined: 08 May 2018 Posts: 16703 Location: Texas, USA
Posted: Tue Sep 17, 2024 22:09 Post subject:
The point was, trying to view anything on Trac / SVN earlier was useless. It was a whole lot of "ERR_TIMED_OUT." Now that it is navigable, "for completeness":
There are some other odd things in this log besides no nvram. It looks more like an openwrt mtd layout. No linux or linux2 partitions. We have kernel and alt_kernel instead. _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
The point is, kernel and alt_kernel should not exist in dd-wrt...at all. Even the ipq8174-mx4200.dtsi file shows them to be linux and linux2, so something is not right. While it IS most certainly a log from DD-WRT, it looks to me like something went terribly wrong in the flashing, simply because of kernel/alt_kernel being present and nvram not being present at all. Note that kernel and alt_kernel is also a stock OEM configuration, not just openwrt.
This line proves this is indeed a dd-wrt kernel booting:
[ 0.000000] Linux version 6.6.50-rt29 (root@linux.shellfast) (aarch64-openwrt-linux-gcc (OpenWrt GCC 14.2.0 r27059+16-6bb334c5cf) 14.2.0, GNU ld (GNU Binutils) 2.42) #1228 SMP Thu Sep 12 17:29:36 +07 2024
It looks to me like the kernel got flashed but nothing else did, nor were the correct mtds created.
Again, I have NEVER owned a router with DD-WRT that does NOT have linux and linux2 mtds....or nvram for that matter, and I have owned many over the years. _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Mmmm, but how does it work with dual-boot devices? I wouldn't think that flashing DD-WRT is going to touch any of the other partitions. Anyway, I don't want to add more noise because I lack enough knowledge to question these comments, but the entire change of partition labels and regs looked strange to me.
Regarding the line that 'proves' that is DD-WRT, you can build OpenWRT with that if you want. It's under Global build settings -> Kernel build options -> Custom Kernel Build User Name / Custom Kernel Build Domain Name. I'm not saying that's what's happened, it's just for your info.
The mtds will be different on a dual boot system whenever a different OS is installed on one or the other. But you only see the ones dedicated to the booted partition. So we are not seeing anything from the other partition here.
The section in the kernel line that I intentionally made bold shows the machine it was built on. All dd-wrt kernels have this. Sure, it could be forced in a openwrt build, but why would anybody do that? _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
I currently have Linksys on kernel and OpenWRT on alt_kernel. From OpenWRT I am going to set partbootargs2, the U-Boot environment variable, with mtdparts as the partition layout on DD-WRT's ipq8174-mx4200.dtsi. Then I will flash DD-WRT onto alt_kernel from Linksys on kernel and see if it boots.
My only doubt at the moment is if nvram should be at 0x13b80000 or 0x12b80000.
It's also possible that even though that might have worked, it won't because the reg for nvram on ipq8174-mx4200.dtsi should be