You are not logged in.

#1 2025-04-26 22:49

josek
Member
Registered: 2025-02-23
Posts: 38

Modules-load.service list problem

I was checking the services that load when Linux starts and I found, I think, two errors related only to the SSD and the sound card.
The first error I get related to this

[    0.301623] ACPI Error: Needed type [Reference], found [Integer] (____ptrval_                                                                                      ___) (20220331/exresop-66)
[    0.301634] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Op                                                                                      codeName unavailable] (20220331/dswexec-431)
[    0.301643] ACPI Error: Aborting method \_PR.CPU0._PDC due to previous error                                                                                       (AE_AML_OPERAND_TYPE) (20220331/psparse-529)

The solution he found in the meantime was using the command libata.noacpi=1 modifying grub
I understand that it is a temporary solution while I investigate if it has anything to do with the Bios.

_______________________________  ---_______________________________________________--______________________________________________

The second error is the sound, but it has something to do with power management because my speakers work without any problem and I haven't had any issues.


[    5.402116] snd_hda_intel 0000:01:00.1: Unable to change power state from unk                                                                                      nown to D0, device inaccessible
[    5.402968] snd_hda_intel 0000:01:00.1: Unable to change power state from D3c                                                                                      old to D0, device inaccessible
[    5.568420] hdaudio hdaudioC1D0: no AFG or MFG node found
[    5.569539] hdaudio hdaudioC1D1: no AFG or MFG node found
[    5.570632] hdaudio hdaudioC1D2: no AFG or MFG node found
[    5.571741] hdaudio hdaudioC1D3: no AFG or MFG node found
[    5.572842] hdaudio hdaudioC1D4: no AFG or MFG node found
[    5.573927] hdaudio hdaudioC1D5: no AFG or MFG node found
[    5.574974] hdaudio hdaudioC1D6: no AFG or MFG node found
[    5.575992] hdaudio hdaudioC1D7: no AFG or MFG node found
[    5.576995] snd_hda_intel 0000:01:00.1: no codecs initialized

_________________________________----________________________________________________---___________________________________________

Then I got another related error as well. "DMAR: DRHD: handling fault status reg 3"
the solution was  the command intel_mmu=off

I want to clarify that my laptop turns on in 10 seconds without any problem and I had no performance issues or anything.

Startup finished in 1.451s (firmware) + 1.466s (loader) + 2.932s (kernel) + 5.039s (userspace) = 10.890s
graphical.target reached after 4.950s in userspace.

As always, I appreciate any help.

Offline

#2 2025-05-06 20:50

josek
Member
Registered: 2025-02-23
Posts: 38

Re: Modules-load.service list problem

Hi, I want to let you know that I've already solved the problem with my laptop's sound card.
It turns out the problem was that I had two integrated sound cards, one from Intel and one from Nvidia, and the cause of all these errors was the Nvidia. I had to disable that module and tell the kernel not to load and only use the one from my laptop because I rarely use HDMI through my TV, and that was the cause of the problem.

1.lspci -nn | grep NVIDIA
You will see the installed sound cards with their corresponding code number and comparing with the error
2.sudo nano /etc/udev/rules.d/90-disable-nvidia.rules
SUBSYSTEM=="pci", ATTRS{vendor}=="0x10de", ATTRS{device}=="0x0e1b", ATTR{driver_override}="(none)", ATTR{remove}="1"

3.sudo udevadm control --reload-rules
sudo udevadm trigger

I hope they are useful to you..

Offline

#3 2025-05-06 22:10

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,845
Website

Re: Modules-load.service list problem

Thanks for sharing the solution.

Offline

#4 2025-05-06 23:41

josek
Member
Registered: 2025-02-23
Posts: 38

Re: Modules-load.service list problem

I would only need pending ACPI errors: The _PR.CPU0._PDC errors persist, I think it has to do with power management but I will continue investigating, I am impressed by how stable the kernel is because of all the tests and modifications made to the system, it remains stable, imagine starting your PC from cold start took 25 to 30 seconds, you managed to get it down to 8 to 9 seconds without breaking anything
it means that the Q40S is very stable

~$ systemd-analyze time
Startup finished in 1.063s (firmware) + 873ms (loader) + 3.071s (kernel) + 3.064s (userspace) = 8.173s
graphical.target reached after 3.007s in userspace.
dx@dx-s550cb:~$


I'd like to modify or reduce the kernel and user space. That's all I'm missing because I've already reduced the size of the initramfs by modifying the compression a zstd and modules to =dep.
What do you recommend I do?
I want to achieve a 5-second cold boot.

Offline

Board footer

Powered by FluxBB