Kernel 5.6

AmigaOne X5000 platform specific issues related to Linux only.
daz
Beta Tester
Beta Tester
Posts: 314
Joined: Tue Dec 21, 2010 7:32 pm

Re: Kernel 5.6

Post by daz »

Skateman wrote:
Sun Mar 08, 2020 10:59 am
xeno74 wrote:
Sun Mar 08, 2020 6:25 am
Skateman,

Could you please test the RC4-2 with the DPAA Ethernet as well?

Thanks,
Christian
RC4-2 Tested and broke the DPAA Ethernet functionality. The adapter does not get an IP address. Seems like link negotiation is not working. Reverted back to RC4 and posting this with a working DPAA Ethernet adapter
The IOMMU is breaking the DPAA, I've suspected this for a while. I've looked but there is no easy way to add the required code to fix it.

The fixes we need have been pushed to the U-Boot tree, and the iommu_domain structure in the kernel (needed for IOMMU) has been changed. We need Matthew to get U-Boot updated to the latest version.

The more people who ask the better,.
Regards
Darren

User avatar
Skateman
Posts: 418
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.6

Post by Skateman »

Hi,

Digging through my Log files i found this:

With kernel RC4-2 this seems to happen (see log below), and does not with kernel RC4. RC4 kernel is working fine with DPAA Ethernet and U-boot version Molsen 2018-10-05

Mar 8 10:49:44 X5000LNX kernel: platform ff4200000.qman-portal: Adding to iommu group 0
Mar 8 10:49:44 X5000LNX kernel: platform ff4204000.qman-portal: Adding to iommu group 1
Mar 8 10:49:44 X5000LNX kernel: platform ff4208000.qman-portal: Adding to iommu group 2
Mar 8 10:49:44 X5000LNX kernel: platform ff420c000.qman-portal: Adding to iommu group 3
Mar 8 10:49:44 X5000LNX kernel: platform ff4210000.qman-portal: Adding to iommu group 4
Mar 8 10:49:44 X5000LNX kernel: platform ff4214000.qman-portal: Adding to iommu group 5
Mar 8 10:49:44 X5000LNX kernel: platform ff4218000.qman-portal: Adding to iommu group 6
Mar 8 10:49:44 X5000LNX kernel: platform ff421c000.qman-portal: Adding to iommu group 7
Mar 8 10:49:44 X5000LNX kernel: platform ff4220000.qman-portal: Adding to iommu group 8
Mar 8 10:49:44 X5000LNX kernel: platform ff4224000.qman-portal: Adding to iommu group 9
Mar 8 10:49:44 X5000LNX kernel: platform ffe100300.dma: Adding to iommu group 10
Mar 8 10:49:44 X5000LNX kernel: platform ffe101300.dma: Adding to iommu group 11
Mar 8 10:49:44 X5000LNX kernel: platform ffe114000.sdhc: Adding to iommu group 12
Mar 8 10:49:44 X5000LNX kernel: platform ffe210000.usb: Adding to iommu group 13
Mar 8 10:49:44 X5000LNX kernel: platform ffe211000.usb: Adding to iommu group 14
Mar 8 10:49:44 X5000LNX kernel: platform ffe220000.sata: Adding to iommu group 15
Mar 8 10:49:44 X5000LNX kernel: platform ffe221000.sata: Adding to iommu group 16
Mar 8 10:49:44 X5000LNX kernel: platform ffe318000.qman: Adding to iommu group 17
Mar 8 10:49:44 X5000LNX kernel: platform ffe31a000.bman: Adding to iommu group 18
Mar 8 10:49:44 X5000LNX kernel: fsl-pci ffe200000.pcie: Adding to iommu group 19
Mar 8 10:49:44 X5000LNX kernel: fsl-pci ffe201000.pcie: Adding to iommu group 20
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

User avatar
xeno74
Posts: 5681
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Hi All,

I released the RC5 of kernel 5.6 for the X1000 and X5000 today.

New:
Download: linux-image-5.6-rc5-X1000_X5000.tar.gz

Screenshot:

Image

Please test the kernels.

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
Skateman
Posts: 418
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.6

Post by Skateman »

Kernel 5.6 RC5 is running great on the AmigaOne X5000 with working DPAA Ethernet adapter!

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 193415.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

Roland
Posts: 416
Joined: Tue May 02, 2017 7:23 am

Re: Kernel 5.6

Post by Roland »

Had finally an opportunity to test RC4/RC5 with the onboard ethernet... If I start Linux (Fienix or Ubuntu) with the onboard ethernet socket connected to internet (via optical fiber modem), there is no connection created. But if I then unplug and replug the ethernet cable, net connection is created and seems also to work. I wonder what can cause this kind of peculiarity...?

PS. here is what dmesg gives:

~$ dmesg | grep dpaa
[ 2.763849] fsl_dpaa_mac ffe4e6000.ethernet: FMan dTSEC version: 0x08240101
[ 2.764200] fsl_dpaa_mac ffe4e6000.ethernet: FMan MAC address: 00:50:c2:ff:ff:00
[ 2.764476] fsl_dpaa_mac ffe4e8000.ethernet: FMan dTSEC version: 0x08240101
[ 2.764820] fsl_dpaa_mac ffe4e8000.ethernet: FMan MAC address: 00:50:c2:ff:ff:01
[ 2.765066] fsl_dpaa_mac ffe4e0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e0000) failed
[ 2.765278] fsl_dpaa_mac: probe of ffe4e0000.ethernet failed with error -22
[ 2.765451] fsl_dpaa_mac ffe4e2000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e2000) failed
[ 2.765643] fsl_dpaa_mac: probe of ffe4e2000.ethernet failed with error -22
[ 2.765816] fsl_dpaa_mac ffe4e4000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e4000) failed
[ 2.766007] fsl_dpaa_mac: probe of ffe4e4000.ethernet failed with error -22
[ 2.770124] fsl_dpaa_mac ffe4f0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f0000) failed
[ 2.774321] fsl_dpaa_mac: probe of ffe4f0000.ethernet failed with error -22
[ 2.780548] fsl_dpa dpaa-ethernet.0 eth0: Probed interface eth0
[ 2.786702] fsl_dpa dpaa-ethernet.1 eth1: Probed interface eth1
- Roland -

User avatar
Skateman
Posts: 418
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.6

Post by Skateman »

Hi,

I have seen this behavior before. It takes a moment for the adapter to get his ip address by DHCP.
Can you reboot your X5K and wait a while to see if the adapter gets his IP address automaticly by DHCP?
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

Roland
Posts: 416
Joined: Tue May 02, 2017 7:23 am

Re: Kernel 5.6

Post by Roland »

Skateman wrote:
Tue Mar 10, 2020 9:08 pm

I have seen this behavior before. It takes a moment for the adapter to get his ip address by DHCP.
Can you reboot your X5K and wait a while to see if the adapter gets his IP address automaticly by DHCP?
I let it wait for a half an hour but it did not get connection. My RTL card does not have similar problems, and with AmigaOS both adapters get their address without delays.
- Roland -

User avatar
Skateman
Posts: 418
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.6

Post by Skateman »

I could be more specific sorry... waiting a while was based on not more than 30 seconds.

The only difference i have compared to you is that i dont have any internal pci adapters anymore..
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

User avatar
xeno74
Posts: 5681
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Skateman wrote:
Tue Mar 10, 2020 7:36 pm
Kernel 5.6 RC5 is running great on the AmigaOne X5000 with working DPAA Ethernet adapter!
Thank you very much for testing the RC5!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5681
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Roland wrote:
Tue Mar 10, 2020 8:44 pm
Had finally an opportunity to test RC4/RC5 with the onboard ethernet... If I start Linux (Fienix or Ubuntu) with the onboard ethernet socket connected to internet (via optical fiber modem), there is no connection created. But if I then unplug and replug the ethernet cable, net connection is created and seems also to work.
Interesting! Thanks a lot for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

Post Reply