Kernel 5.4
Re: Kernel 5.4
FYI:
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.4
Hi All,xeno74 wrote: Unfortunately this patch doesn't solve the issue.
I have seen that I have activated the kernel config option CONFIG_ARCH_DMA_ADDR_T_64BIT. That means the code in the following patch won't work if this kernel option is enabled.
Code: Select all
+#ifndef CONFIG_ARCH_DMA_ADDR_T_64BIT
+ /* Check if DMA address overflowed */
+ if (min(addr, addr + size - 1) <
+ __phys_to_dma(dev, (phys_addr_t)(min_low_pfn << PAGE_SHIFT)))
+ return false;
+#endif
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.4
Now, I can definitely say that this patch does not solve the issue.xeno74 wrote: Hi All,
I have seen that I have activated the kernel config option CONFIG_ARCH_DMA_ADDR_T_64BIT. That means the code in the following patch won't work if this kernel option is enabled.
I will delete the lines with ifndef and endif and will try it again.Code: Select all
+#ifndef CONFIG_ARCH_DMA_ADDR_T_64BIT + /* Check if DMA address overflowed */ + if (min(addr, addr + size - 1) < + __phys_to_dma(dev, (phys_addr_t)(min_low_pfn << PAGE_SHIFT))) + return false; +#endif
Cheers,
Christian
-- Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.4
Hi All,
The RC7 of kernel 5.4 has been released for testing.
New:
Please note: There are problems with some PCI cards if you have more than 3.5G RAM in your X5000. If you have this problem please reduce the RAM with the boot argument "mem=3500M". The X1000 isn't affected. We created a bug report a month ago. Link to the bug report: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M
BTW, a new version of ViewTube with new settings is available.
Screenshot of Fienix PowerPC with the kernel 5.4-rc7 and with the new ViewTube:
Please test the kernels.
Thanks,
Christian
The RC7 of kernel 5.4 has been released for testing.
New:
- Linux 5.4-rc7 Kernel Released With VirtualBox Shared Folder Driver In Place -- phoronix.com
- Torvalds' release announcement
- Linux Git log
- Phoronix articles, reviews and news stories covering Linux 5.4
Please note: There are problems with some PCI cards if you have more than 3.5G RAM in your X5000. If you have this problem please reduce the RAM with the boot argument "mem=3500M". The X1000 isn't affected. We created a bug report a month ago. Link to the bug report: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M
BTW, a new version of ViewTube with new settings is available.
Screenshot of Fienix PowerPC with the kernel 5.4-rc7 and with the new ViewTube:
Please test the kernels.
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.4
Kernel 5.4 RC7 is up and running on the AmigaOne X5000!
Big picture http://www.skateman.nl/wp-content/uploa ... 200815.png
Big picture http://www.skateman.nl/wp-content/uploa ... 200815.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Re: Kernel 5.4
Thanks a lot for testing!Skateman wrote:Kernel 5.4 RC7 is up and running on the AmigaOne X5000!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.4
Skateman,
Good to know that your PCI cards work (see your screenshot).
Cheers,
Christian
Good to know that your PCI cards work (see your screenshot).
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.4
I have also had the PCI problems before and changed the PCI Soundblaster card back then...
http://forum.hyperion-entertainment.com ... ive#p43611
http://forum.hyperion-entertainment.com ... ive#p43611
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Re: Kernel 5.4
Hi All,
Great news!
The issue with the BT878 TV cards is solved.
GFP_DMA32 was renamed to GFP_DMA in the PowerPC updates 4.21-1 in December last year.
Some PCI devices still use GFP_DMA32 (grep -r GFP_DMA32 *). I renamed GFP_DMA32 to GFP_DMA in the file "drivers/media/v4l2-core/videobuf-dma-sg.c".
After compiling the RC7 of kernel 5.4, my BT878 TV card works again.
I created a patch for renaming GFP_DMA32 to GFP_DMA.
I compiled the RC7-2 with this patch for testing today.
Download: linux-image-5.4-rc7-2-X5000.tar.gz
Screenshot:
Cheers,
Christian
Great news!
The issue with the BT878 TV cards is solved.
GFP_DMA32 was renamed to GFP_DMA in the PowerPC updates 4.21-1 in December last year.
Some PCI devices still use GFP_DMA32 (grep -r GFP_DMA32 *). I renamed GFP_DMA32 to GFP_DMA in the file "drivers/media/v4l2-core/videobuf-dma-sg.c".
After compiling the RC7 of kernel 5.4, my BT878 TV card works again.
I created a patch for renaming GFP_DMA32 to GFP_DMA.
Code: Select all
--- a/drivers/media/v4l2-core/videobuf-dma-sg.c 2019-11-11 01:17:15.000000000 +0100
+++ b/drivers/media/v4l2-core/videobuf-dma-sg.c 2019-11-13 10:07:19.288958966 +0100
@@ -440,7 +440,7 @@ static vm_fault_t videobuf_vm_fault(stru
dprintk(3, "fault: fault @ %08lx [vma %08lx-%08lx]\n",
vmf->address, vma->vm_start, vma->vm_end);
- page = alloc_page(GFP_USER | __GFP_DMA32);
+ page = alloc_page(GFP_USER | __GFP_DMA);
if (!page)
return VM_FAULT_OOM;
clear_user_highpage(page, vmf->address);
Download: linux-image-5.4-rc7-2-X5000.tar.gz
Screenshot:
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.4
Kernel 5.4 RC7-2 running on the AmigaOne X5000
Big picture http://www.skateman.nl/wp-content/uploa ... 193606.png
Big picture http://www.skateman.nl/wp-content/uploa ... 193606.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full