No Ethernet with... Sound Blaster card ?
No Ethernet with... Sound Blaster card ?
Hi Linux-friends,
I changed my audio card on my X5000. I went from a CMI8738 card to a Sound Blaster card. The Sound Blaster card doesn't seem to work, but what surprises me the most is that my Ethernet connection doesn't work either. When I put the CMI8738 card back in the Ethernet is working again.
Faced with this curiosity, I checked if something was changed in the configuration files and I realize... they are missing! In particular, I can't find the 'interfaces' file which was placed under /etc/network. Ditto for ifconfig and dhclient.
The connection works well on enP4096p7s0 with the CMI8738 card, but how can this work?
I changed my audio card on my X5000. I went from a CMI8738 card to a Sound Blaster card. The Sound Blaster card doesn't seem to work, but what surprises me the most is that my Ethernet connection doesn't work either. When I put the CMI8738 card back in the Ethernet is working again.
Faced with this curiosity, I checked if something was changed in the configuration files and I realize... they are missing! In particular, I can't find the 'interfaces' file which was placed under /etc/network. Ditto for ifconfig and dhclient.
The connection works well on enP4096p7s0 with the CMI8738 card, but how can this work?
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
Re: No Ethernet with... Sound Blaster card ?
Hi Amiguy,
Have you seen any error messages during the boot? You can use the commands dmesg and journalctl for investigating the boot process. You can look in the log files in /var/log as well.
Thanks,
Christian
Have you seen any error messages during the boot? You can use the commands dmesg and journalctl for investigating the boot process. You can look in the log files in /var/log as well.
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: No Ethernet with... Sound Blaster card ?
Hi Christian,
Thank you for your answer.
When I try to add an 18KB compressed file, I get an error message that says the attached file quota has been reached. I did not see anything in particular during the boot.
I'll tell you the main errors:
dmesg :
Xorg.0.log :
I have many, many lines like this :
I hope that these traces will speak sufficiently.
Thank you for your answer.
When I try to add an 18KB compressed file, I get an error message that says the attached file quota has been reached. I did not see anything in particular during the boot.
I'll tell you the main errors:
dmesg :
Code: Select all
[ 0.000001] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x5c0589001, max_idle_ns: 440795202458 ns
[ 0.000007] clocksource: timebase mult[2819aa06] shift[24] registered
[ 0.000018] clockevent: decrementer mult[6624dd3] shift[32] cpu[0]
[ 0.001395] clk_qoriq: [b]mux_get_parent: mux at (____ptrval____) has bad clksel[/b]
...
[ 0.057669] fsl-of-rio ffe0c0000.rapidio: Of-device full name /rapidio@ffe0c0000
[ 0.057682] fsl-of-rio ffe0c0000.rapidio: Regs: [mem 0xffe0c0000-0xffe0d0fff]
[ 0.057698] fsl-of-rio ffe0c0000.rapidio: [b]No valid fsl,srio-rmu-handle property[/b]
[ 0.057718] fsl-of-rio: probe of ffe0c0000.rapidio failed with error -2
...
[ 0.837182] [drm] radeon: irq initialized.
[ 1.311773] [drm] ring test on 0 succeeded in 1 usecs
[ 1.311787] [drm] ring test on 1 succeeded in 1 usecs
[ 1.311799] [drm] ring test on 2 succeeded in 1 usecs
[ 1.311820] [drm] ring test on 3 succeeded in 10 usecs
[ 1.311835] [drm] ring test on 4 succeeded in 4 usecs
[ 1.482296] [drm] ring test on 5 succeeded in 2 usecs
[ 1.482311] [drm] UVD initialized successfully.
[ 1.588262] [drm] ring test on 6 succeeded in 22 usecs
[ 1.588282] [drm] ring test on 7 succeeded in 3 usecs
[ 1.588289] [drm] VCE initialized successfully.
[ 1.588441] [drm] ib test on ring 0 succeeded in 0 usecs
[ 1.588503] [drm] ib test on ring 1 succeeded in 0 usecs
[ 1.588562] [drm] ib test on ring 2 succeeded in 0 usecs
[ 1.588621] [drm] ib test on ring 3 succeeded in 0 usecs
[ 1.588679] [drm] ib test on ring 4 succeeded in 0 usecs
[ 2.234175] [drm] ib test on ring 5 succeeded
[ 2.738173] [drm] ib test on ring 6 succeeded
[ 3.242174] [drm] ib test on ring 7 succeeded
[ 3.242872] [drm] Radeon Display Connectors
[ 3.242881] [drm] Connector 0:
[ 3.242887] [drm] HDMI-A-1
[ 3.242892] [drm] HPD1
[ 3.242897] [drm] DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[ 3.242909] [drm] Encoders:
[ 3.242915] [drm] DFP1: INTERNAL_UNIPHY2
[ 3.242922] [drm] Connector 1:
[ 3.242927] [drm] DVI-D-1
[ 3.242932] [drm] HPD2
[ 3.242937] [drm] DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[ 3.242949] [drm] Encoders:
[ 3.242954] [drm] DFP2: INTERNAL_UNIPHY
[ 3.242961] [drm] Connector 2:
[ 3.242966] [drm] VGA-1
[ 3.242971] [drm] DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[ 3.242983] [drm] Encoders:
[ 3.242988] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 3.339131] [drm] fb mappable at 0xC005E9000
[ 3.339141] [drm] vram apper at 0xC00000000
[ 3.339152] [drm] size 8294400
[ 3.339158] [drm] fb depth is 24
[ 3.339164] [drm] pitch is 7680
[ 3.506824] [b][drm:.si_dpm_set_power_state] *ERROR* si_restrict_performance_levels_before_switch failed[/b]
...
[ 4.700783] fsl_dpaa_mac ffe4e6000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e6000) failed
[ 4.701045] fsl_dpaa_mac ffe4e6000.ethernet: FMan dTSEC version: 0x08240101
[ 4.701547] fsl_dpaa_mac ffe4e8000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e8000) failed
[ 4.701789] fsl_dpaa_mac ffe4e8000.ethernet: FMan dTSEC version: 0x08240101
[ 4.702291] fsl_dpaa_mac ffe4f0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f0000) failed
[ 4.702519] fsl_dpaa_mac ffe4f0000.ethernet: of_get_phy_mode() for /soc@ffe000000/fman@400000/ethernet@f0000 failed. Defaulting to SGMII
[ 4.702749] fsl_dpaa_mac: [b]10G MAC driver only support 10G speed[/b]
[ 4.702847] fsl_dpaa_mac ffe4f0000.ethernet: [b]mac_dev->init() = -22[/b]
[ 4.702960] fsl_dpaa_mac: probe of ffe4f0000.ethernet failed with error -22
[ 4.704732] fsl_dpaa_mac ffe4e6000.ethernet: Using random MAC address: 5e:f7:9d:67:c0:70
[ 4.705411] fsl_dpaa_mac ffe4e6000.ethernet eth0: Probed interface eth0
[ 4.711557] fsl_dpaa_mac ffe4e8000.ethernet: Using random MAC address: e2:1d:2c:fb:0a:5e
[ 4.717186] fsl_dpaa_mac ffe4e8000.ethernet eth1: Probed interface eth1
...
[ 5.224216] hdaudio hdaudioC2D1: [b]Unable to bind the codec[/b]
...
[ 7.254884] systemd[1]: [b]Failed to start Load Kernel Modules.[/b]
...
[ 11.284095] r8169 1000:06:00.0 enP4096p6s0: renamed from eth2
[ 11.559215] r8169 1000:06:00.0: Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2
[ 11.559235] r8169 1000:06:00.0: [b]Unable to load firmware rtl_nic/rtl8168e-3.fw (-2)[/b]
[ 11.569189] RTL8211E Gigabit Ethernet r8169-600:00: attached PHY driver (mii_bus:phy_addr=r8169-600:00, irq=MAC)
[ 11.641054] r8169 1000:06:00.0 enP4096p6s0: Link is Down
[ 14.575982] snd_hda_intel 0000:01:00.1: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[ 14.633207] r8169 1000:06:00.0 enP4096p6s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 14.633238] IPv6: ADDRCONF(NETDEV_CHANGE): enP4096p6s0: link becomes ready
I have many, many lines like this :
Code: Select all
[ 673.080] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
Last edited by Amiguy on Sun Jul 25, 2021 2:52 pm, edited 1 time in total.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
Re: No Ethernet with... Sound Blaster card ?
Thanks for your answer.Amiguy wrote: ↑Fri Jul 23, 2021 12:40 pm [ 11.284095] r8169 1000:06:00.0 enP4096p6s0: renamed from eth2
[ 11.559215] r8169 1000:06:00.0: Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2
[ 11.559235] r8169 1000:06:00.0: Unable to load firmware rtl_nic/rtl8168e-3.fw (-2)
[ 11.569189] RTL8211E Gigabit Ethernet r8169-600:00: attached PHY driver (mii_bus:phy_addr=r8169-600:00, irq=MAC)
[ 11.641054] r8169 1000:06:00.0 enP4096p6s0: Link is Down
[ 14.575982] snd_hda_intel 0000:01:00.1: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[ 14.633207] r8169 1000:06:00.0 enP4096p6s0: Link is Up - 1Gbps/Full - flow control rx/tx
Did you test it with your Sound Blaster Audigy FX 5.1 SBX?
Network card issue: First the firmware doesn't load. Then the link is down. After that the link is up. Strange. Did your network card work in this test?
Please test the output of ip a. Maybe your network card works and doesn't have an ip address.
The Sound Blaster Audigy Fx SBX is a newer model that takes the ALC898 chip of Realtek and uses the snd_hda_intel kernel module on Linux. I think snd_hda_intel 0000:01:00.1 is your Sound Blaster.
Code: Select all
lkddb hda 10ec0899 00000000 .. "ALC898" : CONFIG_SND CONFIG_SND_HDA_CODEC_REALTEK : sound/pci/hda/patch_realtek.c # in 4.4–4.20, 5.0–5.13, 5.13+HEAD
Code: Select all
CONFIG_SND_HDA_CODEC_REALTEK=m
Please post the output of lspci.
Could you also please test the kernel with the boot argument mem=3500M?
Which kernel version do you use?
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: No Ethernet with... Sound Blaster card ?
Dear Christian,
Yes, I do the tests with the Sound Blaster Audigy FX 5.1 SBX.
The 'ip a' command does not generate any output : bash: ip: command not found
In '/lib/modules/, I have a directory for X5000 modules. The directory is named 5.7.0_A-EON_X5000. My kernel version is 5.12.
Here are the lines of the lspci command :
For your information, after having noticed that I no longer have an Ethernet network, I configured the network manually by passing the connection parameters via the symbol of the two computers on the menu line. Finally, the network works. Maybe that's what explains the line :
However, I do not have the Ethernet network as with the CMI8738 card. The Ethernet symbol on the menu line shows 'enP4096p7s0 is down'.
Yes, I do the tests with the Sound Blaster Audigy FX 5.1 SBX.
The 'ip a' command does not generate any output : bash: ip: command not found
In '/lib/modules/, I have a directory for X5000 modules. The directory is named 5.7.0_A-EON_X5000. My kernel version is 5.12.
Here are the lines of the lspci command :
Code: Select all
0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0421 (rev 20)
0000:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
0000:01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
1000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0421 (rev 20)
1000:01:00.0 PCI bridge: Microsemi / PMC / IDT 89HPES12NT12G2 12-Lane 12-Port PCIe Gen2 System Interconnect Switch (rev 02)
1000:02:01.0 PCI bridge: Microsemi / PMC / IDT 89HPES12NT12G2 12-Lane 12-Port PCIe Gen2 System Interconnect Switch (rev 02)
1000:02:02.0 PCI bridge: Microsemi / PMC / IDT 89HPES12NT12G2 12-Lane 12-Port PCIe Gen2 System Interconnect Switch (rev 02)
1000:02:03.0 PCI bridge: Microsemi / PMC / IDT 89HPES12NT12G2 12-Lane 12-Port PCIe Gen2 System Interconnect Switch (rev 02)
1000:02:08.0 PCI bridge: Microsemi / PMC / IDT 89HPES12NT12G2 12-Lane 12-Port PCIe Gen2 System Interconnect Switch (rev 02)
1000:02:10.0 PCI bridge: Microsemi / PMC / IDT 89HPES12NT12G2 12-Lane 12-Port PCIe Gen2 System Interconnect Switch (rev 02)
1000:03:00.0 PCI bridge: Pericom Semiconductor PI7C9X111SL PCIe-to-PCI Reversible Bridge (rev 02)
1000:04:04.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
1000:05:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)
1000:06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
Code: Select all
[ 14.633207] r8169 1000:06:00.0 enP4096p6s0: Link is Up - 1Gbps/Full - flow control rx/tx
Last edited by Amiguy on Sun Jul 25, 2021 2:54 pm, edited 1 time in total.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
Re: No Ethernet with... Sound Blaster card ?
This is an old kernel modules directory for the kernel 5.7.0. Therefore your Sound Blaster doesn’t work. You need the kernel modules directory for the kernel 5.12. Do you use the kernel 5.12.0?
OK, this output looks good.Amiguy wrote: ↑Fri Jul 23, 2021 4:31 pmCode: Select all
1000:05:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01) 1000:06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
Great!
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: No Ethernet with... Sound Blaster card ?
I have no sound
I completely replaced the 5.12 kernel files (last version 04/26/21 from viewtopic.php?f=58&t=4612&start=70). The uImage-5.12 file was inconsistent. Now, I no longer have the 'Failed to start Load Kernel Modules' error, but I additionally have the following error:
It might be worth upgrading to a higher kernel...
I completely replaced the 5.12 kernel files (last version 04/26/21 from viewtopic.php?f=58&t=4612&start=70). The uImage-5.12 file was inconsistent. Now, I no longer have the 'Failed to start Load Kernel Modules' error, but I additionally have the following error:
Code: Select all
[ 0.831690] [drm] radeon: irq initialized.
[ 1.306283] [drm] ring test on 0 succeeded in 1 usecs
[ 1.306298] [drm] ring test on 1 succeeded in 1 usecs
[ 1.306309] [drm] ring test on 2 succeeded in 1 usecs
[ 1.306331] [drm] ring test on 3 succeeded in 10 usecs
[ 1.306345] [drm] ring test on 4 succeeded in 4 usecs
[ 1.476807] [drm] ring test on 5 succeeded in 2 usecs
[ 1.476821] [drm] UVD initialized successfully.
[ 1.582771] [drm] ring test on 6 succeeded in 22 usecs
[ 1.582791] [drm] ring test on 7 succeeded in 3 usecs
[ 1.582799] [drm] VCE initialized successfully.
[ 1.582954] [drm] ib test on ring 0 succeeded in 0 usecs
[ 1.583017] [drm] ib test on ring 1 succeeded in 0 usecs
[ 1.583077] [drm] ib test on ring 2 succeeded in 0 usecs
[ 1.583136] [drm] ib test on ring 3 succeeded in 0 usecs
[ 1.583201] [drm] ib test on ring 4 succeeded in 0 usecs
[ 2.786219] [drm:.uvd_v1_0_ib_test] *ERROR* radeon: [b]fence wait timed out[/b].
[ 2.786244] [drm:.radeon_ib_ring_tests] *ERROR* radeon: [b]failed testing IB on ring 5 (-110).[/b]
[ 3.290224] [drm] ib test on ring 6 succeeded
[ 3.794228] [drm] ib test on ring 7 succeeded
[ 3.794938] [drm] Radeon Display Connectors
Last edited by Amiguy on Sun Jul 25, 2021 2:54 pm, edited 1 time in total.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
Re: No Ethernet with... Sound Blaster card ?
If you open the sound prefs, can you see yor Audigy FX 5.1 card there, and select it? Or is it totally absent?
The Radeon graphics cards have the same audio chip as AudigyFX 5.1, and that can cause identification problems. In audio prefs that is shown as 'HDMI audio'. If it is still enabled, try to disable it, and check that only the Audigy card is selected.
If you have a HDMI cable, and your monitor has a port for that, you could also try if you can get sound using the HDMI audio chip. If that works, it at least shows that the audio chip is supported by your current kernel.
- Roland -
Re: No Ethernet with... Sound Blaster card ?
Hi Roland,
Indeed, in the sound preferences I see the audio chip from my Radeon graphics card as 'HDMI Audio' , but the Sound Blaster card is ignored. I can't see anything more than the audio from the graphics card.
Unfortunately, my screen does not have a port for sound. Anyway, thank you for the tip.
I will be migrating to the 5.14 kernel and hope that changes something.
I still cannot understand the reasons for the behaviour of the system. When I change my sound card, the network management changes at the same time
Thanks guys for your help.
Indeed, in the sound preferences I see the audio chip from my Radeon graphics card as 'HDMI Audio' , but the Sound Blaster card is ignored. I can't see anything more than the audio from the graphics card.
Unfortunately, my screen does not have a port for sound. Anyway, thank you for the tip.
I will be migrating to the 5.14 kernel and hope that changes something.
I still cannot understand the reasons for the behaviour of the system. When I change my sound card, the network management changes at the same time
Thanks guys for your help.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
Re: No Ethernet with... Sound Blaster card ?
Have you tested the kernel with the boot argument mem=3500M yet?
Please post the output of cat /proc/asound/cards.
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.