[Macchiato] Latest supported distros for Macciatobin?
Marcin Wojtas
mw at semihalf.com
Wed Oct 21 15:31:41 BST 2020
Hi Andrew,
śr., 21 paź 2020 o 14:32 Andrew Elwell <andrew.elwell at gmail.com> napisał(a):
> Well, I tried a dist upgrade from Fedora 30 to 32, pulling in a 5.8 kernel
>
> 5.8.15-201.fc32.aarch64
>
> which looked promising till I realised no network was loaded and lo...
>
>
> [root at alfred ~]# modprobe mvpp2
> [ 252.942499] mvpp2 MRVL0110:00: using 8 per-cpu buffers
> [ 252.959653] mvpp2 MRVL0110:00 eth0: Using random mac address
> 72:03:75:b1:27:f7
> [ 252.985424] mvpp2 MRVL0110:00 enamrvl110i0: renamed from eth0
> [ 252.993378] mvpp2 MRVL0110:01: using 8 per-cpu buffers
> [ 253.042205] mvpp2 MRVL0110:01 eth0: Using random mac address
> 2e:c8:b3:0c:7b:15
> [ 253.055667] mvpp2 MRVL0110:01 eth1: Using random mac address
> 2e:d5:39:68:ee:aa
> [ 253.063025] mvpp2 MRVL0110:01 enamrvl110i1: renamed from eth1
> [root at alfred ~]# [ 253.186519] Unable to handle kernel access to user
> memory outside uaccess routines at virtual address 0000000000000548
> [ 253.197313] Mem abort info:
> [ 253.200122] ESR = 0x96000004
> [ 253.203224] EC = 0x25: DABT (current EL), IL = 32 bits
> [ 253.208559] SET = 0, FnV = 0
> [ 253.211640] EA = 0, S1PTW = 0
> [ 253.214795] Data abort info:
> [ 253.217688] ISV = 0, ISS = 0x00000004
> [ 253.221552] CM = 0, WnR = 0
> [ 253.224534] user pgtable: 4k pages, 48-bit VAs, pgdp=000000042572e000
> [ 253.231001] [0000000000000548] pgd=0000000000000000,
> p4d=0000000000000000
> [ 253.237837] Internal error: Oops: 96000004 [#1] SMP
> [ 253.242737] Modules linked in: mvpp2 phylink xt_CHECKSUM
> xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nft_objref
> nf_conntrack_tftp nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib
> nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct
> nft_chain_nat ip_set_hash_net nf_tables tun bridge ebtable_nat stp llc
> ebtable_broute ip6table_nat ip6table_mangle ip6table_raw
> ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6
> nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security rfkill
> ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables
> iptable_filter vfat fat sbsa_gwdt omap_rng nfsd auth_rpcgss nfs_acl
> lockd drm grace sunrpc ip_tables xfs chaoskey crct10dif_ce ghash_ce
> xhci_plat_hcd ahci_platform fuse
> [ 253.307937] CPU: 3 PID: 808 Comm: NetworkManager Not tainted
> 5.8.15-201.fc32.aarch64 #1
> [ 253.315974] Hardware name: SolidRun Armada 8040 MacchiatoBin/Armada
> 8040 MacchiatoBin, BIOS EDK II Nov 8 2019
> [ 253.326018] pstate: 60400005 (nZCv daif +PAN -UAO BTYPE=--)
> [ 253.331624] pc : mvpp2_mac_config+0x3c/0x15c [mvpp2]
> [ 253.336615] lr : mvpp2_start_dev+0x1a0/0x1e0 [mvpp2]
> [ 253.341599] sp : ffff800010e03320
> [ 253.344925] x29: ffff800010e03320 x28: ffff800010e037e8
> [ 253.350259] x27: ffff000425634000 x26: ffffd7c7ba0006c0
> [ 253.355591] x25: ffffd7c7ece2f1a4 x24: 0000000000000000
> [ 253.360925] x23: ffff000425634900 x22: 0000000000000017
> [ 253.366258] x21: 0000000000000002 x20: ffff800010e03388
> [ 253.371591] x19: 00000000000003f0 x18: 00000000fffffffd
> [ 253.376925] x17: 0000000000000000 x16: ffffd7c7ec3040c0
> [ 253.382258] x15: 0000000000000020 x14: ffffffffffffffff
> [ 253.387592] x13: ffff000000000000 x12: 0000000000000040
> [ 253.392924] x11: ffff00042a000920 x10: ffff00042a000922
> [ 253.398257] x9 : ffffd7c7b9ff3880 x8 : 00000000000000ff
> [ 253.403589] x7 : 00000000000001b8 x6 : 0000000000000001
> [ 253.408922] x5 : 0000000000000008 x4 : 000000000000000f
> [ 253.414255] x3 : 0000000000000017 x2 : ffff800010e03388
> [ 253.419587] x1 : 0000000000000001 x0 : 0000000000000000
> [ 253.424921] Call trace:
> [ 253.427385] mvpp2_mac_config+0x3c/0x15c [mvpp2]
> [ 253.432026] mvpp2_start_dev+0x1a0/0x1e0 [mvpp2]
> [ 253.436669] mvpp2_open+0x130/0x2bc [mvpp2]
> [ 253.440876] __dev_open+0xf0/0x1b0
> [ 253.444292] __dev_change_flags+0x17c/0x1d0
> [ 253.448494] dev_change_flags+0x30/0x70
> [ 253.452346] do_setlink+0x204/0x910
> [ 253.455849] __rtnl_newlink+0x4e4/0x7e4
> [ 253.459701] rtnl_newlink+0x5c/0x8c
> [ 253.463204] rtnetlink_rcv_msg+0x2a8/0x344
> [ 253.467318] netlink_rcv_skb+0x48/0x10c
> [ 253.471170] rtnetlink_rcv+0x24/0x30
> [ 253.474761] netlink_unicast+0x294/0x300
> [ 253.478700] netlink_sendmsg+0x1d0/0x3e0
> [ 253.482639] sock_sendmsg+0x60/0x70
> [ 253.486142] ____sys_sendmsg+0x280/0x2b0
> [ 253.490081] ___sys_sendmsg+0x74/0xa0
> [ 253.493758] __sys_sendmsg+0x64/0xbc
> [ 253.497348] __arm64_sys_sendmsg+0x30/0x40
> [ 253.501465] el0_svc_common.constprop.0+0x7c/0x184
> [ 253.506274] do_el0_svc+0x30/0x9c
> [ 253.509603] el0_sync_handler+0x90/0x1ec
> [ 253.513542] el0_sync+0x17c/0x180
> [ 253.516876] Code: f9400000 b9402056 910fc013 51005ac1 (b9415a77)
> [ 253.522995] ---[ end trace 52f6ffca93221fd3 ]---
>
>
> Sigh. USB dongle for networking it is then :-/
>
This was unnoticed regression for mvpp2 + ACPI. I found a root cause and
(unintentional) fix and asked stable for backporting:
https://www.spinics.net/lists/netdev/msg690904.html
Fedora 32 with DT works smoothely though.
Regarding other distros:
- Debian works fine (with DT)
- 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.
- 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.
You can try one of my latest builds:
https://drive.google.com/file/d/1FR5cVum7o2w8Ug1cjBSznJCeCIkhrI5R/view?usp=sharing
- I managed to instal the VMware ESXI.
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:
https://drive.google.com/file/d/1c-gE5GBKs7e5slO7vV7sva1X6SJtSWBJ/view?usp=sharing
- 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.
Best regards,
Marcin
>
> _______________________________________________
> Macchiato mailing list
> Macchiato at lists.einval.com
> https://lists.einval.com/cgi-bin/mailman/listinfo/macchiato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einval.com/pipermail/macchiato/attachments/20201021/c6c6d65e/attachment-0001.htm>
More information about the Macchiato
mailing list