SoundBlaster Live!

AmigaOne X5000 platform specific issues related to Linux only.
Post Reply
Roland
Posts: 476
Joined: Tue May 02, 2017 7:23 am

SoundBlaster Live!

Post by Roland »

Do the latest Kernel versions still have the 3.5M Ram limit when using SoundBlaster Live! soundboard? Is there any other bord without this limitation, which would work with ALL operating systems (AmigaOS, Linux, MorphOS) available for X5000?
- Roland -

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

Re: SoundBlaster Live!

Post by Skateman »

Roland wrote:Do the latest Kernel versions still have the 3.5M Ram limit when using SoundBlaster Live! soundboard? Is there any other bord without this limitation, which would work with ALL operating systems (AmigaOS, Linux, MorphOS) available for X5000?
As far as i can remember is the memory limit gone. If not, i use the M-Audio Revolution pci soundcard. Its Envy based and works perfect with AmigaOS4.1 FE and Linux.
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: 6175
Joined: Fri Mar 23, 2012 7:58 am

Re: SoundBlaster Live!

Post by xeno74 »

Hi Roland,
Roland wrote:Do the latest Kernel versions still have the 3.5M Ram limit when using SoundBlaster Live! soundboard? Is there any other bord without this limitation, which would work with ALL operating systems (AmigaOS, Linux, MorphOS) available for X5000?
Did you test the Soundblaster Live! sound card with the latest kernels? You don't have to add the 3.5M RAM limit to the boot arguments when you have a SoundBlaster Live! installed since the kernel 4.19.

xeno74 wrote:Hi All,

Greg Kroah-Hartman released the final version of kernel 4.19 today. In the development time, Darren created a new Nemo patch and the kernel developers added Darren's Nemo/PASEMI updates to the official kernel. Many thanks to Darren for the Nemo patch and for the Nemo/PASEMI updates. There were some USB issues with the kernel 4.19 on the X5000. Darren figured out where the problem is. He did a bisect and found the bad commit. He also found a bad kernel config option. Disabling 'HAVE_ARCH_PREL32_RELOCATIONS' in arch/powerpc/Kconfig fixed the problems. He reported the bad commit to the Linuxppc-dev mailing list and after that the kernel developers removed 'HAVE_ARCH_PREL32_RELOCATIONS' in arch/powerpc/Kconfig. He also solved the mem issue with the SoundBlaster Live! It works without the mem=3500M boot argument now.
Thanks a lot to Tom for testing the kernels on his X1000 and many thanks to Skateman, kilaueabart, and acefnq for testing the kernels on the X5000.
Patch for solving the SoundBlaster Live! issue:

Code: Select all

diff -rupN a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
--- a/arch/powerpc/sysdev/fsl_pci.c	2018-09-02 23:37:30.000000000 +0200
+++ b/arch/powerpc/sysdev/fsl_pci.c	2018-09-03 09:08:35.193482962 +0200
@@ -127,9 +127,6 @@ static inline void setup_swiotlb_ops(str
 
 static int fsl_pci_dma_set_mask(struct device *dev, u64 dma_mask)
 {
-	if (!dev->dma_mask || !dma_supported(dev, dma_mask))
-		return -EIO;
-
 	/*
 	 * Fix up PCI devices that are able to DMA to the large inbound
 	 * mapping that allows addressing any RAM address from across PCI.
This patch has been added with the PowerPC updates 5.1-1 to the official Linux kernel. (5.1-alpha2).

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

Running Linux on AmigaONEs can require some tinkering.

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

Re: SoundBlaster Live!

Post by Roland »

Skateman wrote: As far as i can remember is the memory limit gone. If not, i use the M-Audio Revolution pci soundcard. Its Envy based and works perfect with AmigaOS4.1 FE and Linux.
Thanks for the tip! Is that M-Audio still in production, or do you need to find a second-hand board? I wonder whether it works also with MOS... What chip set has it?
- Roland -

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

Re: SoundBlaster Live!

Post by Roland »

xeno74 wrote: Did you test the Soundblaster Live! sound card with the latest kernels? You don't have to add the 3.5M RAM limit to the boot arguments when you have a SoundBlaster Live! installed since the kernel 4.19.
I do not have that card yet... I have currently an Envy24HT which works with AmigaOS and (partly) with MOS, but _not_ with Linux, and also a second card, CMI8738 (PCI-e, unfortunately with Revision 1 bridge), which works only with Linux. But now I'm looking for a card which would work perfectly with all OSs, so that I would not need to move cables when I switch from one OS to another.

A CMI8738 with newer bridge chip would be one possibility, but they are very difficult to find. Most mail-order shops do not know what they really have...
- Roland -

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

Re: SoundBlaster Live!

Post by Skateman »

Hi,

The M-Audio card is not being made and bought it second hand.
It does work perfect and also with linux.

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 214817.png

As show in dmesg:

5.435182] ALSA device list:
[ 5.445353] #0: Virtual MIDI Card 1
[ 5.450484] #1: HDA ATI HDMI at 0xc10040000 irq 43
[ 5.455608] #2: M Audio Revolution-5.1 at 0x8000080000022000, irq 19
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: 6175
Joined: Fri Mar 23, 2012 7:58 am

Re: SoundBlaster Live!

Post by xeno74 »

Hi All,

I bought the Creative Soundblaster LIVE Player 1024 PCI card last week. It works without any problems with the latest Linux kernels. I don't have to add the RAM limit "mem=3500M" to the boot arguments.

Image

Image

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

Running Linux on AmigaONEs can require some tinkering.

Post Reply