Myy Posted August 21, 2017 Share Posted August 21, 2017 Let's make a topic dedicated to the latest issues with the latest Linux Release Candidate provided on the Linus Torvalds git repository. So, on the 4.13.0-rc6, I got a crash on boot on my MiQi devices due to some changes in the logging functions used by the STMMAC Ethernet driver. I reverted some of their changes by just commenting the new logging function. I'll try to get in touch with the person who wrote the commit that generated this issue, as he tends to roam in the #linux-rockchip IRC channel. Meanwhile, here's the patch : https://github.com/Miouyouyou/RockMyy/blob/master/patches/kernel/v4.13/0012-net-stmmac-Reverting-a-part-of-Use-the-right-logging.patch Here's the issue : https://github.com/Miouyouyou/RockMyy/issues/1 And here's the commit that generated that issue : https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c?id=fbca164776e438b639af592c522b8b0506b54dcc Link to comment Share on other sites More sharing options...
TonyMac32 Posted August 21, 2017 Share Posted August 21, 2017 Why can't things just work??? Thanks for the heads up @Myy 1 Link to comment Share on other sites More sharing options...
zador.blood.stained Posted August 21, 2017 Share Posted August 21, 2017 3 hours ago, TonyMac32 said: Why can't things just work??? (A little bit off-topic) Because it's a release candidate kernel, and moreover it's not an LTS kernel. For example even in stable 4.12 LIRC was completely broken, and then in 4.12.5 to 4.12.6 changelog I've found this (fix). Stuff like this makes you rethink tying the Armbian releases to mainline releases. Link to comment Share on other sites More sharing options...
Myy Posted August 25, 2017 Author Share Posted August 25, 2017 So the issue is now resolved in linux-next, which is one of the official git repository that pull the changes that will happen in the next version following the current Release or Release Candidate. I imported the patch and here it is : https://github.com/Miouyouyou/RockMyy/blob/master/patches/kernel/v4.13/0012-net-phy-Deal-with-unbound-phy-driver-in-phy_attached.patch The official patch being : https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fcd03e362b1cd17de487953aac34f2d4574895cf 1 Link to comment Share on other sites More sharing options...
Myy Posted September 4, 2017 Author Share Posted September 4, 2017 The patch seems to have been backported in time for the 4.13.0 release and can now be omitted. Link to comment Share on other sites More sharing options...
TonyMac32 Posted September 4, 2017 Share Posted September 4, 2017 Awesome. I've had a lot of home projects come due, sorry it's been so quiet everyone. Link to comment Share on other sites More sharing options...
bedalus Posted September 10, 2017 Share Posted September 10, 2017 Is it possible to get the stock OS with the new kernel? Is this something I should be having a go at building myself? At the moment I can only use the last nightly because of my bluetooth keyboard limitation. Link to comment Share on other sites More sharing options...
Myy Posted September 10, 2017 Author Share Posted September 10, 2017 Stock OS ? You mean ASUS Debian image ? Yeah, I guess you can give it a try. I got ready-to-use kernel files here : https://github.com/Miouyouyou/RockMyy-Build That said, my configuration and ARMbian kernel configuration might differ in some places. Also, I'm only testing my kernels on MiQi devices so I can't guarantee that everything will work on Tinkerboard systems. 1 Link to comment Share on other sites More sharing options...
bedalus Posted September 10, 2017 Share Posted September 10, 2017 No, I mean the stock Armbian OS of course! Armbian for the win! 2 Link to comment Share on other sites More sharing options...
TonyMac32 Posted September 10, 2017 Share Posted September 10, 2017 The current nightly Dev image will be the release 4.13 [edit] This image does not have Bluetooth support 1 Link to comment Share on other sites More sharing options...
Recommended Posts