I have encountered a weird situation where my FW soundcard (RME FireFace400) disappears after the system idles for some time (1 day). Curious thing is, after this happens I have no way of resurrecting it: full reboot is required.
Here are some logs:
Code: Select all
$ ffado-diag
FFADO diagnostic utility 2.4.4
(C) 2008 Pieter Palmers
2009-2010 Arnold Krille
2018 Nicolas Boulenguez, Jonathan Woithe
gcc /usr/bin/gcc
gcc (Debian 10.2.1-6) 10.2.1 20210110
g++ /usr/bin/g++
g++ (Debian 10.2.1-6) 10.2.1 20210110
pyuic4 None
pyuic5 None
jackd /usr/bin/jackd
jackdmp version 1.9.17 tmpdir /dev/shm protocol 8
pkg-config /usr/bin/pkg-config
jack 1.9.17
-ljack
libraw1394 not found
libavc1394 not found
libiec61883 not found
libxml++-2.6 not found
dbus-1 1.12.20
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -ldbus-1
Build time info /usr/lib/x86_64-linux-gnu/libffado/static_info.txt
gcc /usr/bin/gcc
gcc (Debian 10.2.1-6) 10.2.1 20210110
g++ /usr/bin/g++
g++ (Debian 10.2.1-6) 10.2.1 20210110
pyuic4 None
pyuic5 /usr/bin/pyuic5
Python User Interface Compiler 5.15.2 for Qt version 5.15.2
jackd None
pkg-config /usr/bin/pkg-config
jack not found
libraw1394 2.1.2
-lraw1394
libavc1394 not found
libiec61883 1.2.0
-liec61883 -lraw1394
libxml++-2.6 2.40.1
-I/usr/include/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0
dbus-1 1.12.20
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -ldbus-1
kernel version 5.10.0-11-rt-amd64
Preempt (low latency) False
RT patched False
/dev/fw* []
User IDs uid=1000(ko) gid=1000(ko) groups=1000(ko),7(lp),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),109(netdev),111(lpadmin),120(scanner),127(sambashare),1001(vboxsf)
uname -a Linux stu 5.10.0-11-rt-amd64 #1 SMP PREEMPT_RT Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux
lspci /usr/bin/lspci
03:00.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW643 [TrueFire] PCIe 1394b Controller [11c1:5901] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel modules: firewire_ohci
lscpu /usr/bin/lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 126
Model name: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
Stepping: 5
CPU MHz: 1300.000
BogoMIPS: 2995.20
Virtualization: VT-x
L1d cache: 192 KiB
L1i cache: 128 KiB
L2 cache: 2 MiB
L3 cache: 8 MiB
NUMA node0 CPU(s): 0-3
Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm md_clear flush_l1d arch_capabilities
Hardware interrupts
IRQ 0 PID count 6,0,0,0 Sched priority drivers IR-IO-APIC,2-edge,timer
IRQ 1 PID count 0,0,0,4268 Sched priority drivers IR-IO-APIC,1-edge,i8042
IRQ 8 PID count 0,0,0,0 Sched priority drivers IR-IO-APIC,8-edge,rtc0
IRQ 9 PID count 0,295497,0,0 Sched priority drivers IR-IO-APIC,9-fasteoi,acpi
IRQ 12 PID count 0,0,77,0 Sched priority drivers IR-IO-APIC,12-edge,i8042
IRQ 14 PID count 0,0,177593,0 Sched priority drivers IR-IO-APIC,14-fasteoi,INT3455:00
IRQ 16 PID count 0,50,0,0 Sched priority drivers IR-IO-APIC,16-fasteoi,intel_ish_ipc,,idma64.0,,i801_smbus,,i2c_designware.0
IRQ 17 PID count 0,0,11417977,0 Sched priority drivers IR-IO-APIC,17-fasteoi,idma64.1,,i2c_designware.1
IRQ 20 PID count 0,5,0,0 Sched priority drivers IR-IO-APIC,20-fasteoi,idma64.2
IRQ 120 PID count 0,0,0,0 Sched priority drivers DMAR-MSI,0-edge,dmar0
IRQ 121 PID count 0,0,0,0 Sched priority drivers DMAR-MSI,1-edge,dmar1
IRQ 122 PID count 0,0,0,12 Sched priority drivers IR-PCI-MSI,114688-edge,PCIe,PME,,pciehp
IRQ 123 PID count 0,0,0,0 Sched priority drivers IR-PCI-MSI,118784-edge,PCIe,PME,,pciehp
IRQ 124 PID count 0,0,0,0 Sched priority drivers IR-PCI-MSI,475136-edge,PCIe,PME
IRQ 125 PID count 0,0,0,0 Sched priority drivers IR-PCI-MSI,489472-edge,PCIe,PME,,pciehp
IRQ 127 PID count 0,0,16071,0 Sched priority drivers IR-PCI-MSI,217088-edge,thunderbolt
IRQ 128 PID count 0,0,0,16090 Sched priority drivers IR-PCI-MSI,217089-edge,thunderbolt
IRQ 143 PID count 6,0,0,0 Sched priority drivers IR-PCI-MSI,46137344-edge,rtsx_pci
IRQ 144 PID count 0,3477295662,0,0 Sched priority drivers IR-PCI-MSI,1572864-edge,firewire_ohci
IRQ 145 PID count 0,0,745,0 Sched priority drivers IR-PCI-MSI,45613056-edge,nvme0q0
IRQ 146 PID count 0,0,0,190157 Sched priority drivers IR-PCI-MSI,212992-edge,xhci_hcd
IRQ 147 PID count 0,0,177593,0 Sched priority drivers INT3455:00,35,DLL096D:01
IRQ 148 PID count 7148,0,0,0 Sched priority drivers IR-PCI-MSI,327680-edge,xhci_hcd
IRQ 149 PID count 138112,0,0,0 Sched priority drivers IR-PCI-MSI,45613057-edge,nvme0q1
IRQ 150 PID count 0,137499,0,0 Sched priority drivers IR-PCI-MSI,45613058-edge,nvme0q2
IRQ 151 PID count 0,0,160213,0 Sched priority drivers IR-PCI-MSI,45613059-edge,nvme0q3
IRQ 152 PID count 0,0,0,150693 Sched priority drivers IR-PCI-MSI,45613060-edge,nvme0q4
IRQ 153 PID count 0,0,0,432 Sched priority drivers IR-PCI-MSI,219136-edge,thunderbolt
IRQ 154 PID count 470,0,0,0 Sched priority drivers IR-PCI-MSI,219137-edge,thunderbolt
IRQ 169 PID count 0,48,0,0 Sched priority drivers IR-PCI-MSI,360448-edge,mei_me
IRQ 172 PID count 0,0,412243,0 Sched priority drivers IR-PCI-MSI,333824-edge,iwlwifi:,default,queue
IRQ 173 PID count 63199,0,0,0 Sched priority drivers IR-PCI-MSI,333825-edge,iwlwifi:,queue,1
IRQ 174 PID count 0,38077,0,0 Sched priority drivers IR-PCI-MSI,333826-edge,iwlwifi:,queue,2
IRQ 175 PID count 0,0,28439,0 Sched priority drivers IR-PCI-MSI,333827-edge,iwlwifi:,queue,3
IRQ 176 PID count 0,0,0,27377 Sched priority drivers IR-PCI-MSI,333828-edge,iwlwifi:,queue,4
IRQ 177 PID count 0,0,0,3 Sched priority drivers IR-PCI-MSI,333829-edge,iwlwifi:,exception
IRQ 178 PID count 20301893,0,0,0 Sched priority drivers IR-PCI-MSI,32768-edge,i915
IRQ 179 PID count 0,2815,0,0 Sched priority drivers IR-PCI-MSI,514048-edge,snd_hda_intel:card0
Software interrupts
module directory /lib/modules/5.10.0-11-rt-amd64
Old 1394 stack
ieee1394 not present
ieee1394 not loaded
ohci1394 not present
ohci1394 not loaded
raw1394 not present
raw1394 not loaded
stack active False
statically linked False
New 1394 stack
firewire-core present
firewire-core loaded
firewire-ohci present
firewire-ohci loaded
stack active True
statically linked False
Kernel support:
The new FireWire kernel stack is loaded.
If running a kernel earlier than 2.6.37 and problems are experienced, either
try with the old Firewire kernel stack or upgrade to a newer kernel
(preferrably 2.6.37 or later).
Code: Select all
$ lsmod | grep fire
snd_fireface 40960 0
snd_firewire_lib 53248 1 snd_fireface
snd_rawmidi 45056 3 snd_seq_midi,snd_firewire_lib,snd_fireface
snd_hwdep 16384 2 snd_hda_codec,snd_fireface
snd_pcm 135168 11 snd_hda_codec_hdmi,snd_hda_intel,snd_firewire_lib,snd_hda_codec,soundwire_intel,snd_sof,snd_fireface,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_hda_core
snd 110592 14 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_fireface,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
firewire_ohci 45056 0
firewire_core 81920 7 snd_firewire_lib,snd_fireface,firewire_ohci
crc_itu_t 16384 1 firewire_core
Suspicious dmesg output:
Code: Select all
$ dmesg | grep fire
[1294614.762362] snd_fireface fw1.0: transaction failed: timeout
Any ideas?