Kernel 4.16

AmigaOne X1000 platform specific issues related to Linux only.

Kernel 4.16

Postby xeno74 » Wed Jan 31, 2018 3:14 pm

Hi Everyone,

The merge window is open for the kernel 4.16. A lot of source code has been added for the kernel 4.16 to the Linux git.

Here is the first alpha for the X5000 and X1000.

New:


Download: vmlinux-4.16-alpha1-AmigaOne_X1000_X5000.tar.gz

Please test the first alpha.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Thu Feb 01, 2018 8:37 pm

Hi All,

I compiled the second alpha for the X5000 and X1000 today.

New:


Issue:

  • X1000: PA Semi PWRficient Gigabit Ethernet doesn't work anymore. Unfortunately I haven't found the problematic patch yet.

Download: vmlinux-4.16-alpha2-AmigaOne_X1000_X5000.tar.gz

Screenshot of Debian Buster/Sid PPC64 with the kernel 4.16-alpha2:

Image

Please test the second alpha.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Fri Feb 02, 2018 10:45 am

Hi All,

Since the alpha2 the PA Semi PWRficient Gigabit Ethernet doesn't work anymore. Here are some error messages:

Code: Select all
[    0.634241] libphy: pasemi gpio mdio bus: probed
[    0.634749] pasemi gpio mdio bus: Cannot register as MDIO bus, err -38
[    2.311496] pasemi_mac 0000:00:14.0: runtime IRQ mapping not provided by arch
[    2.311554] pasemi_mac 0000:00:14.1: runtime IRQ mapping not provided by arch
[    2.311599] pasemi_mac 0000:00:14.2: runtime IRQ mapping not provided by arch
[    2.311641] pasemi_mac 0000:00:14.3: runtime IRQ mapping not provided by arch
[    2.312276] pasemi_mac 0000:00:15.0: runtime IRQ mapping not provided by arch
[    2.312903] pasemi_mac 0000:00:15.1: runtime IRQ mapping not provided by arch
[    3.817420] i2c-pasemi 0000:00:1c.0: runtime IRQ mapping not provided by arch
[    3.817616] i2c-pasemi 0000:00:1c.1: runtime IRQ mapping not provided by arch
[    3.817809] i2c-pasemi 0000:00:1c.2: runtime IRQ mapping not provided by arch
[    4.299984] pasemi_edac 0000:00:04.0: runtime IRQ mapping not provided by arch
[    4.300281] pasemi_edac 0000:00:05.0: runtime IRQ mapping not provided by arch
[   39.633565] pasemi_mac 0000:00:14.3: PHY init failed: -19.
[   39.633569] pasemi_mac 0000:00:14.3: Defaulting to 1Gbit full duplex


pasemi gpio mdio bus: Cannot register as MDIO bus, err -38
pasemi_mac 0000:00:14.3: PHY init failed: -19.
runtime IRQ mapping not provided by arch

The question is, what have the kernel developers done?

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Fri Feb 02, 2018 11:13 am

Hi All,

I reverted the patch 'net: pasemi: Replace mac address parsing' today. Unfortunately It doesn't solve the problem with the PA Semi PWRficient Gigabit Ethernet.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Fri Feb 02, 2018 11:33 am

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Fri Feb 02, 2018 1:15 pm

Hi All,

I was able to revert the commit 'Pull networking updates from David Miller -- Merge net-next'. This solved the problem with the PA Semi PWRficient Gigabit Ethernet on my AmigaOne X1000. That means the bug is somewhere in the commit 'Pull networking updates from David Miller -- Merge net-next'.

Revert log:

Code: Select all
git revert b2fe5fa68642860e7de76167c3111623aa0d5de1 -m 1

Output:

[master f83dce2] Revert "Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next"

1666 files changed, 49145 insertions(+), 124062 deletions(-)
 delete mode 100644 Documentation/ABI/testing/devlink-resource-mlxsw
 delete mode 100644 Documentation/bpf/bpf_devel_QA.txt
 delete mode 100644 Documentation/devicetree/bindings/net/can/can-transceiver.txt
 delete mode 100644 Documentation/devicetree/bindings/net/cortina,gemini-ethernet.txt
 delete mode 100644 Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt
 delete mode 100644 Documentation/devicetree/bindings/net/socionext-netsec.txt
 rename Documentation/devicetree/bindings/net/{ti-bluetooth.txt => ti,wilink-st.txt} (64%)
 delete mode 100644 Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt
 delete mode 100644 Documentation/networking/can.rst
 create mode 100644 Documentation/networking/can.txt
 delete mode 100644 Documentation/networking/xfrm_device.txt
 delete mode 100644 arch/x86/include/asm/error-injection.h
 delete mode 100644 arch/x86/lib/error-inject.c
 rewrite drivers/net/ethernet/aquantia/atlantic/aq_common.h (65%)
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_nic_internal.h
 rewrite drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c (74%)
 rewrite drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.h (61%)
 rewrite drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c (77%)
 rewrite drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h (66%)
 delete mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c
 delete mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c
 rewrite drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h (81%)
 delete mode 100644 drivers/net/ethernet/cavium/common/Makefile
 delete mode 100644 drivers/net/ethernet/cavium/common/cavium_ptp.c
 delete mode 100644 drivers/net/ethernet/cavium/common/cavium_ptp.h
 delete mode 100644 drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c
 delete mode 100644 drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.h
 delete mode 100644 drivers/net/ethernet/cortina/Kconfig
 delete mode 100644 drivers/net/ethernet/cortina/Makefile
 delete mode 100644 drivers/net/ethernet/cortina/gemini.c
 delete mode 100644 drivers/net/ethernet/cortina/gemini.h
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
 rename drivers/net/ethernet/hisilicon/hns3/{ => hns3pf}/hns3_dcbnl.c (97%)
 rename drivers/net/ethernet/hisilicon/hns3/{ => hns3pf}/hns3_enet.c (89%)
 rename drivers/net/ethernet/hisilicon/hns3/{ => hns3pf}/hns3_enet.h (94%)
 rename drivers/net/ethernet/hisilicon/hns3/{ => hns3pf}/hns3_ethtool.c (70%)
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/Makefile
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
 delete mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c
 delete mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
 delete mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
 delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_dim.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c
 rewrite drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c (68%)
 delete mode 100644 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c
 delete mode 100644 drivers/net/ethernet/netronome/nfp/bpf/fw.h
 delete mode 100644 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c
 delete mode 100644 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
 rewrite drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c (75%)
 delete mode 100644 drivers/net/ethernet/socionext/Kconfig
 delete mode 100644 drivers/net/ethernet/socionext/Makefile
 delete mode 100644 drivers/net/ethernet/socionext/netsec.c
 delete mode 100644 drivers/net/ethernet/socionext/sni_ave.c
 delete mode 100644 drivers/net/netdevsim/Makefile
 delete mode 100644 drivers/net/netdevsim/bpf.c
 delete mode 100644 drivers/net/netdevsim/netdev.c
 delete mode 100644 drivers/net/netdevsim/netdevsim.h
 delete mode 100644 drivers/net/wireless/ath/ath10k/coredump.c
 delete mode 100644 drivers/net/wireless/ath/ath10k/coredump.h
 delete mode 100644 drivers/net/wireless/intel/iwlwifi/cfg/22000.c
 create mode 100644 drivers/net/wireless/intel/iwlwifi/cfg/a000.c
 delete mode 100644 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
 delete mode 100644 drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
 delete mode 100644 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/Kconfig
 delete mode 100644 drivers/net/wireless/mediatek/mt76/Makefile
 delete mode 100644 drivers/net/wireless/mediatek/mt76/agg-rx.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/debugfs.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/dma.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/dma.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/eeprom.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mac80211.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mmio.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_core.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_dfs.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_dfs.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_dma.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_dma.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_init.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_mac.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_mac.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_main.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_mcu.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_mcu.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_pci.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_phy.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_regs.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_trace.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_trace.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2_tx.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/trace.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/trace.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/tx.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/util.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/util.h
 rewrite drivers/net/wireless/realtek/rtlwifi/debug.c (84%)
 delete mode 100644 include/asm-generic/error-injection.h
 delete mode 100644 include/linux/error-injection.h
 delete mode 100644 include/linux/net_dim.h
 rewrite include/linux/netfilter_ipv4.h (73%)
 rewrite include/linux/phylink.h (66%)
 rewrite include/linux/qed/fcoe_common.h (66%)
 rewrite include/linux/qed/iscsi_common.h (61%)
 rewrite include/net/erspan.h (76%)
 delete mode 100644 include/net/netfilter/nf_conntrack_count.h
 delete mode 100644 include/net/netfilter/nf_flow_table.h
 delete mode 100644 include/net/sctp/stream_interleave.h
 delete mode 100644 include/net/xdp.h
 delete mode 100644 include/trace/events/net_probe_common.h
 delete mode 100644 include/trace/events/sctp.h
 rewrite include/trace/events/sock.h (64%)
 delete mode 100644 include/uapi/linux/erspan.h
 delete mode 100644 include/uapi/linux/netfilter_ipv6/ip6t_srh.h
 rewrite kernel/bpf/offload.c (70%)
 delete mode 100644 kernel/fail_function.c
 delete mode 100644 lib/bucket_locks.c
 delete mode 100644 lib/error-inject.c
 rename include/uapi/linux/batadv_packet.h => net/batman-adv/packet.h (80%)
 delete mode 100644 net/core/xdp.c
 create mode 100644 net/dccp/probe.c
 delete mode 100644 net/dccp/trace.h
 delete mode 100644 net/ipv4/netfilter/nf_flow_table_ipv4.c
 delete mode 100644 net/ipv4/netfilter/nf_nat_snmp_basic.asn1
 create mode 100644 net/ipv4/netfilter/nf_nat_snmp_basic.c
 delete mode 100644 net/ipv4/netfilter/nf_nat_snmp_basic_main.c
 create mode 100644 net/ipv4/tcp_probe.c
 delete mode 100644 net/ipv6/netfilter/ip6t_srh.c
 delete mode 100644 net/ipv6/netfilter/nf_flow_table_ipv6.c
 delete mode 100644 net/netfilter/nf_conncount.c
 delete mode 100644 net/netfilter/nf_flow_table.c
 delete mode 100644 net/netfilter/nf_flow_table_inet.c
 delete mode 100644 net/netfilter/nft_flow_offload.c
 delete mode 100644 net/netfilter/utils.c
 create mode 100644 net/sctp/probe.c
 delete mode 100644 net/sctp/stream_interleave.c
 delete mode 100755 samples/bpf/test_override_return.sh
 delete mode 100644 samples/bpf/tracex7_kern.c
 delete mode 100644 samples/bpf/tracex7_user.c
 delete mode 100755 samples/bpf/xdp2skb_meta.sh
 delete mode 100644 samples/bpf/xdp2skb_meta_kern.c
 delete mode 100644 samples/bpf/xdp_rxq_info_kern.c
 delete mode 100644 samples/bpf/xdp_rxq_info_user.c
 delete mode 100644 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst
 rewrite tools/bpf/bpftool/Makefile (61%)
 delete mode 100644 tools/bpf/bpftool/cgroup.c
 delete mode 100644 tools/build/feature/test-disassembler-four-args.c
 delete mode 100644 tools/testing/selftests/bpf/sample_map_ret0.c
 delete mode 100644 tools/testing/selftests/bpf/sample_ret0.c
 delete mode 100755 tools/testing/selftests/bpf/tcp_client.py
 delete mode 100755 tools/testing/selftests/bpf/tcp_server.py
 delete mode 100644 tools/testing/selftests/bpf/test_l4lb_noinline.c
 delete mode 100755 tools/testing/selftests/bpf/test_offload.py
 delete mode 100644 tools/testing/selftests/bpf/test_stacktrace_map.c
 delete mode 100644 tools/testing/selftests/bpf/test_tcpbpf.h
 delete mode 100644 tools/testing/selftests/bpf/test_tcpbpf_kern.c
 delete mode 100644 tools/testing/selftests/bpf/test_tcpbpf_user.c
 delete mode 100644 tools/testing/selftests/bpf/test_tracepoint.c
 delete mode 100644 tools/testing/selftests/bpf/test_xdp_noinline.c
 delete mode 100755 tools/testing/selftests/net/fib_tests.sh
 delete mode 100644 tools/virtio/linux/thread_info.h


Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Fri Feb 02, 2018 9:27 pm

Hi All,

I released the alpha3 of kernel 4.16 for testing today.

New:


Issue:

  • The QorIQ DPAA Ethernet driver works but unfortunately it losts the connection after a while.

Download: vmlinux-4.16-alpha3-AmigaOne_X1000_X5000.tar.gz

Please test the alpha3.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Sat Feb 03, 2018 1:17 am

Error message: pasemi_mac 0000:00:14.3: PHY init failed: -19.

PHY = Vitesse VSC8221

Maybe this change is the problem in the networking updates from David Miller: a/drivers/net/phy/vitesse.c

Error message: pasemi gpio mdio bus: Cannot register as MDIO bus, err -38

Maybe this change: a/drivers/of/of_mdio.c
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Sat Feb 03, 2018 2:27 pm

Hi All,

I compiled the alpha4 with the first PowerPC updates for testing today. Additionally I have added a kernel without the networking updates for a working PA Semi PWRficient Gigabit Ethernet.

New:


Issue:

  • The QorIQ DPAA Ethernet driver works but unfortunately it losts the connection after a while.

Download: vmlinux-4.16-alpha4-AmigaOne_X1000_X5000.tar.gz

Please test the alpha4.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.16

Postby xeno74 » Sat Feb 03, 2018 4:45 pm

Little success! I figured out that the problematic code is in the PHY changes of the networking updates.

I reverted the PHY changes and the PA Semi PWRficient Gigabit Ethernet works again. :-)

Log:

Code: Select all
cp -R /home/christian/Downloads/linux-4.15/a/drivers/net/phy a/drivers/net/
cp /home/christian/Downloads/linux-4.15/a/include/linux/phy.h include/linux/phy.h
cp /home/christian/Downloads/linux-4.15/a/include/linux/phy_fixed.h include/linux/phy_fixed.h
cp /home/christian/Downloads/linux-4.15/a/include/linux/phylink.h include/linux/phylink.h
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3726
Joined: Fri Mar 23, 2012 8:58 am

Next

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 8 guests