<div dir="ltr"><div dir="ltr">Hi Andrew,<div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">śr., 21 paź 2020 o 14:32 Andrew Elwell <<a href="mailto:andrew.elwell@gmail.com" target="_blank">andrew.elwell@gmail.com</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Well, I tried a dist upgrade from Fedora 30 to 32, pulling in a 5.8 kernel<br>
<br>
5.8.15-201.fc32.aarch64<br>
<br>
which looked promising till I realised no network was loaded and lo...<br>
<br>
<br>
[root@alfred ~]# modprobe mvpp2<br>
[ 252.942499] mvpp2 MRVL0110:00: using 8 per-cpu buffers<br>
[ 252.959653] mvpp2 MRVL0110:00 eth0: Using random mac address<br>
72:03:75:b1:27:f7<br>
[ 252.985424] mvpp2 MRVL0110:00 enamrvl110i0: renamed from eth0<br>
[ 252.993378] mvpp2 MRVL0110:01: using 8 per-cpu buffers<br>
[ 253.042205] mvpp2 MRVL0110:01 eth0: Using random mac address<br>
2e:c8:b3:0c:7b:15<br>
[ 253.055667] mvpp2 MRVL0110:01 eth1: Using random mac address<br>
2e:d5:39:68:ee:aa<br>
[ 253.063025] mvpp2 MRVL0110:01 enamrvl110i1: renamed from eth1<br>
[root@alfred ~]# [ 253.186519] Unable to handle kernel access to user<br>
memory outside uaccess routines at virtual address 0000000000000548<br>
[ 253.197313] Mem abort info:<br>
[ 253.200122] ESR = 0x96000004<br>
[ 253.203224] EC = 0x25: DABT (current EL), IL = 32 bits<br>
[ 253.208559] SET = 0, FnV = 0<br>
[ 253.211640] EA = 0, S1PTW = 0<br>
[ 253.214795] Data abort info:<br>
[ 253.217688] ISV = 0, ISS = 0x00000004<br>
[ 253.221552] CM = 0, WnR = 0<br>
[ 253.224534] user pgtable: 4k pages, 48-bit VAs, pgdp=000000042572e000<br>
[ 253.231001] [0000000000000548] pgd=0000000000000000, p4d=0000000000000000<br>
[ 253.237837] Internal error: Oops: 96000004 [#1] SMP<br>
[ 253.242737] Modules linked in: mvpp2 phylink xt_CHECKSUM<br>
xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nft_objref<br>
nf_conntrack_tftp nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib<br>
nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct<br>
nft_chain_nat ip_set_hash_net nf_tables tun bridge ebtable_nat stp llc<br>
ebtable_broute ip6table_nat ip6table_mangle ip6table_raw<br>
ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6<br>
nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security rfkill<br>
ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables<br>
iptable_filter vfat fat sbsa_gwdt omap_rng nfsd auth_rpcgss nfs_acl<br>
lockd drm grace sunrpc ip_tables xfs chaoskey crct10dif_ce ghash_ce<br>
xhci_plat_hcd ahci_platform fuse<br>
[ 253.307937] CPU: 3 PID: 808 Comm: NetworkManager Not tainted<br>
5.8.15-201.fc32.aarch64 #1<br>
[ 253.315974] Hardware name: SolidRun Armada 8040 MacchiatoBin/Armada<br>
8040 MacchiatoBin, BIOS EDK II Nov 8 2019<br>
[ 253.326018] pstate: 60400005 (nZCv daif +PAN -UAO BTYPE=--)<br>
[ 253.331624] pc : mvpp2_mac_config+0x3c/0x15c [mvpp2]<br>
[ 253.336615] lr : mvpp2_start_dev+0x1a0/0x1e0 [mvpp2]<br>
[ 253.341599] sp : ffff800010e03320<br>
[ 253.344925] x29: ffff800010e03320 x28: ffff800010e037e8<br>
[ 253.350259] x27: ffff000425634000 x26: ffffd7c7ba0006c0<br>
[ 253.355591] x25: ffffd7c7ece2f1a4 x24: 0000000000000000<br>
[ 253.360925] x23: ffff000425634900 x22: 0000000000000017<br>
[ 253.366258] x21: 0000000000000002 x20: ffff800010e03388<br>
[ 253.371591] x19: 00000000000003f0 x18: 00000000fffffffd<br>
[ 253.376925] x17: 0000000000000000 x16: ffffd7c7ec3040c0<br>
[ 253.382258] x15: 0000000000000020 x14: ffffffffffffffff<br>
[ 253.387592] x13: ffff000000000000 x12: 0000000000000040<br>
[ 253.392924] x11: ffff00042a000920 x10: ffff00042a000922<br>
[ 253.398257] x9 : ffffd7c7b9ff3880 x8 : 00000000000000ff<br>
[ 253.403589] x7 : 00000000000001b8 x6 : 0000000000000001<br>
[ 253.408922] x5 : 0000000000000008 x4 : 000000000000000f<br>
[ 253.414255] x3 : 0000000000000017 x2 : ffff800010e03388<br>
[ 253.419587] x1 : 0000000000000001 x0 : 0000000000000000<br>
[ 253.424921] Call trace:<br>
[ 253.427385] mvpp2_mac_config+0x3c/0x15c [mvpp2]<br>
[ 253.432026] mvpp2_start_dev+0x1a0/0x1e0 [mvpp2]<br>
[ 253.436669] mvpp2_open+0x130/0x2bc [mvpp2]<br>
[ 253.440876] __dev_open+0xf0/0x1b0<br>
[ 253.444292] __dev_change_flags+0x17c/0x1d0<br>
[ 253.448494] dev_change_flags+0x30/0x70<br>
[ 253.452346] do_setlink+0x204/0x910<br>
[ 253.455849] __rtnl_newlink+0x4e4/0x7e4<br>
[ 253.459701] rtnl_newlink+0x5c/0x8c<br>
[ 253.463204] rtnetlink_rcv_msg+0x2a8/0x344<br>
[ 253.467318] netlink_rcv_skb+0x48/0x10c<br>
[ 253.471170] rtnetlink_rcv+0x24/0x30<br>
[ 253.474761] netlink_unicast+0x294/0x300<br>
[ 253.478700] netlink_sendmsg+0x1d0/0x3e0<br>
[ 253.482639] sock_sendmsg+0x60/0x70<br>
[ 253.486142] ____sys_sendmsg+0x280/0x2b0<br>
[ 253.490081] ___sys_sendmsg+0x74/0xa0<br>
[ 253.493758] __sys_sendmsg+0x64/0xbc<br>
[ 253.497348] __arm64_sys_sendmsg+0x30/0x40<br>
[ 253.501465] el0_svc_common.constprop.0+0x7c/0x184<br>
[ 253.506274] do_el0_svc+0x30/0x9c<br>
[ 253.509603] el0_sync_handler+0x90/0x1ec<br>
[ 253.513542] el0_sync+0x17c/0x180<br>
[ 253.516876] Code: f9400000 b9402056 910fc013 51005ac1 (b9415a77)<br>
[ 253.522995] ---[ end trace 52f6ffca93221fd3 ]---<br>
<br>
<br>
Sigh. USB dongle for networking it is then :-/<br></blockquote><div><br></div><div><div>This was unnoticed regression for mvpp2 + ACPI. I found a root cause and (unintentional) fix and asked stable for backporting:</div><div><a href="https://www.spinics.net/lists/netdev/msg690904.html">https://www.spinics.net/lists/netdev/msg690904.html</a></div></div><div>Fedora 32 with DT works smoothely though.</div><div><br></div><div>Regarding other distros:</div><div>- Debian works fine (with DT)</div><div>- Centos 8.2 installs and works. Unfortunately they did not include mvpp2 module, I need to reach out to the distro maintainers to add it back into config.</div><div>- FreeBSD works fine with ACPI. With DT there are more interfaces available, but for that we'd need to use the latest DT from Linux. After the switch Debian stops working
(broken backward compat in bindings around interrupts), so I decided to keep the older one for now.<br></div><div><br></div><div>You can try one of my latest builds:</div><div><a href="https://drive.google.com/file/d/1FR5cVum7o2w8Ug1cjBSznJCeCIkhrI5R/view?usp=sharing">https://drive.google.com/file/d/1FR5cVum7o2w8Ug1cjBSznJCeCIkhrI5R/view?usp=sharing</a><br></div><div><br></div><div>- I managed to instal the VMware ESXI. </div><div>The ESXI itself had a bug (after my report fix for it will be in the next release - I was told it's a matter of days). If you want to play with it now, you can try an image with a hack in SPCR description:</div><div><a href="https://drive.google.com/file/d/1c-gE5GBKs7e5slO7vV7sva1X6SJtSWBJ/view?usp=sharing">https://drive.google.com/file/d/1c-gE5GBKs7e5slO7vV7sva1X6SJtSWBJ/view?usp=sharing</a><br></div><div><br></div><div>- I tried to install ubuntu 20.04, but for some reason at the end of the install process it terminates without setting the proper efi boot partition. I did not debug it.</div><div><br></div><div>Best regards,</div><div>Marcin</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
_______________________________________________<br>
Macchiato mailing list<br>
<a href="mailto:Macchiato@lists.einval.com" target="_blank">Macchiato@lists.einval.com</a><br>
<a href="https://lists.einval.com/cgi-bin/mailman/listinfo/macchiato" rel="noreferrer" target="_blank">https://lists.einval.com/cgi-bin/mailman/listinfo/macchiato</a><br>
</blockquote></div>
</div>