[FS#384] IPQ806X: CMD: swconfig on R7800 generate Kernel Panic!

LEDE Bugs lede-bugs at lists.infradead.org
Fri Jan 13 09:33:36 PST 2017


The following task has a new comment added:

FS#384 - IPQ806X: CMD: swconfig on R7800 generate Kernel Panic!
User who did this - Stijn Tintel (stintel)

----------
I'm seeing similar behavior on my DAP-2695, which also has the AR8337 rev. 2 switch. Running swconfig dev switch0 show shortly after boot seems to completely lock the SoC. I do not see any kernel messages however, the serial console freezes right after the last line here:

root at ap0:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300


I traced it back to this part of the code in ar8337.c:

        case AR8XXX_ARL_INITIALIZE:
                /* all ATU registers are on the same page
                * therefore set page only once
                */
                bus->write(bus, 0x18, 0, page);


----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=384#comment1254



More information about the lede-bugs mailing list