Hi, On Thu, Jul 11, 2019 at 11:46 PM Marc Haber <[email protected]> wrote: > > On Wed, Jul 10, 2019 at 10:50:35PM +0200, Marc Haber wrote: > > and the running system has no network interface. Suspicious entries > > would be: > > > > |Jul 10 22:39:15 entrada kernel: [ 6.510668] sun7i-dwmac > > 1c50000.ethernet: PTP uses main clock > > |Jul 10 22:39:15 entrada kernel: [ 6.516592] sun7i-dwmac > > 1c50000.ethernet: no reset control found > > |Jul 10 22:39:15 entrada kernel: [ 6.527634] sun7i-dwmac > > 1c50000.ethernet: could not get tx clock > > This is the unsuccessful result of an afternoon of bisecting: > > git bisect start > # bad: [0ecfebd2b52404ae0c54a878c872bb93363ada36] Linux 5.2 > git bisect bad 0ecfebd2b52404ae0c54a878c872bb93363ada36 > # good: [e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd] Linux 5.1 > git bisect good e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd > # good: [e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd] Linux 5.1 > git bisect good e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd > # good: [a2d635decbfa9c1e4ae15cb05b68b2559f7f827c] Merge tag > # 'drm-next-2019-05-09' of git://anongit.freedesktop.org/drm/drm > git bisect good a2d635decbfa9c1e4ae15cb05b68b2559f7f827c > # bad: [22c58fd70ca48a29505922b1563826593b08cc00] Merge tag 'armsoc-soc' > # of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc > git bisect bad 22c58fd70ca48a29505922b1563826593b08cc00 > # bad: [c367dc8d0dd2a1e1ed9fdc2dd831053bdfdf0968] Merge branch > # 'next-tomoyo2' of > # git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security > git bisect bad c367dc8d0dd2a1e1ed9fdc2dd831053bdfdf0968 > # good: [45182e4e1f8ac04708ca7508c51d9103f07d81ab] Merge branch > # 'i2c/for-5.2' of > # git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux > git bisect good 45182e4e1f8ac04708ca7508c51d9103f07d81ab > # bad: [9b6c9e96f941c5ab13dad7278a3622f58e5672fc] Merge > # git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc > git bisect bad 9b6c9e96f941c5ab13dad7278a3622f58e5672fc > # bad: [c1157f60d72e8b20efc670cef28883832f42406c] Merge branch > # 'clk-parent-rewrite-1' into clk-next > git bisect bad c1157f60d72e8b20efc670cef28883832f42406c > > Already c1157f60d72e8b20efc670cef28883832f42406c wouldn't boot, > but one can see the error message "could not get tx clock" before both > CPU cores get stalled. > > The next commit was f6111b9d7970df07f783d3891735003fef2bc37e, which also > stalls on both CPU cores, but without emitting the "could not get tx > clock" message. I don't know whether this kernel is good or bad. > > git log > 45182e4e1f8ac04708ca7508c51d9103f07d81ab..c1157f60d72e8b20efc670cef28883832f42406c > > lets me end up with 189 lines of log > > A second unsuccessful result of bisecting just > drivers/net/ethernet/stmicro/stmmac: > > git bisect start 'drivers/net/ethernet/stmicro/stmmac' > # bad: [0ecfebd2b52404ae0c54a878c872bb93363ada36] Linux 5.2 > git bisect bad 0ecfebd2b52404ae0c54a878c872bb93363ada36 > # good: [e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd] Linux 5.1 > git bisect good e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd > # bad: [f75b6f303bd80249a56cce9028954b4f731270e3] Merge > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net > git bisect bad f75b6f303bd80249a56cce9028954b4f731270e3 > # bad: [d4c26eb6e721683a0f93e346ce55bc8dc3cbb175] net: ethernet: stmmac: > dwmac-sun8i: enable support of unicast filtering > git bisect bad d4c26eb6e721683a0f93e346ce55bc8dc3cbb175 > > e9989339063dd3a566b67caaa857e6077bfee2cb ends up in a CPU soft lockup as > well. > > Am therefore out of ideas. Help?
Do you have CONFIG_CLK_SUNXI=y CONFIG_CLK_SUNXI_CLOCKS=y in your config? The A20 GMAC clock driver has not been ported to the newer sunxi-ng / SUNXI_CCU driver bundle, so you need to enable the legacy clock drivers. ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CAGb2v65wV_o8tg-8MvF7VJUZ7oFeHtd%2Bu1cFZEq_n2q6AoxFuA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
