You are not logged in.
Pages: 1
Hello, I'd like to preface I'm pretty new to arch/ linux.
On booting up I noticed
libkmod: kmod_config_parse: /etc/modprobe.d/nvidia.conf line x: ignoring bad line starting with x("x" being what changes)
filling up my screen and the line number kept increasing. I decided to take a look at my
nvidia.conffile and saw all of the text looks what i think an encrypted/corrupted file would look like. random bunches or random nonsensical character. looking online I fist reinstalled nvidia then nvidia-utils. modprobe didn't work with nvidia before, but now it does which I assume is good. Unfortunately
sudo mkinitcpio -p linux came back with the ignoring bad line statement.
sudo mkinitcpio -p linux has also been spitting back
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
are these warnings a cause for concern, what should or can i do to fix. I appreciate any help, thank you
Last edited by OhKay_Bet (2024-05-19 03:37:36)
Offline
So what is "/etc/modprobe.d/nvidia.conf" and where does it come from?
What package (if any) owns it? (pacman -Qo /etc/modprobe.d/nvidia.conf)
Mod note: Moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
all of the text looks what i think an encrypted/corrupted file would look like. random bunches or random nonsensical characterAssuming it's not owned by any package, and you had previously fixed its contents, you can https://wiki.archlinux.org/title/Audit_ … ies_access the file to see what's accessing it.
Offline
So
pacman -Qosays no package owns it
and auditd says no audit.log file exists
Offline
Did you setup an audit rule?
Does the file show up when you explicitly edit it w/ eg. vim?
What is it supossed to look like and then really please post the "random bunches or random nonsensical character" content.
Offline
Did you setup an audit rule?
i believe so, i did
sudo auditctl -w /etc/modprobe.d/nvidia.conf -p rwxaDoes the file show up when you explicitly edit it w/ eg. vim?
What is it supossed to look like and then really please post the "random bunches or random nonsensical character" content.
using nano, trying to configure my system right and fix some things before i start adding programs.
nano shows this
(/^DX^E>^G"^\U^P^X)]^V/+@]GF^\DVg{-]Y^QF^T^AT!^@^D!Q^Qa^UYv^D^KIP̩"^R<K)^^^LL݈H^?2<o;^E^Z^[}^[;)k^T.^UPRld8UT^HmL5$Z^Q^F*^@+/B^Tb8GRX&^X{^A^Z~^Vb!^H=GȑҷJ>
^S^EqDD^HEC#_^Q^DH!^Hh^H@^_A^]^?4d4D^F
^Hh^L^Y wp
H*^Z\w.H%,QY^TFc|1]lgX^TҮ^Q~;'hڝ\:˅^^*,
^W^K~VU^VY^X^[[Zҭ^QH+^HFҳ^UK$®Х[٥_Kt]H3^K^KgM*gǷ(tbYhli^PF#U^[q^G(٥.Q^H$I{ez陞O_:^Y^?RI4-1-U
this is just 5 lines but this is the character layout of all 5 lines. it appears in my terminal as well but not in kitty. Im thinking its a fonts issue, but im not too sure to be honest. I still have no idea what this file is for, but i just noticed that it says at the bottom (converted from mac format).
i appreciate your help btw
Offline
the characters didnt translate over the forum so im thinking of getting an image and seeing if i can just post that as itll better show how it looks on my system
Offline
cat /etc/modprobe.d/nvidia.conf | curl -F 'file=@-' 0x0.stnb. that just running that auditctl command will not survive a reboot and what I meant was that if you have an audit rule in place and edit the file (with nano, if must be
), it should show up w/ an audit in the journal now.
Offline
I was looking online and it seems like the config file comes from Xorg? I don't have xXrg installed but i do have Hyprland which I believe has some Xorg compatability files. Is there a way I can see if thats where it was originally downloaded from? IIRC i built it from source and not a package from the aur.
Offline
ok, i posted my last reply and didnt even see your post. i ran that command and it came back with http://0x0.st/Hv3l.bin
Offline
I was looking online and it seems like the config file comes from Xorg?
No, the file would configure the nvidia kernel module, that's unrelated to any display server.
It's a 99MB zstd compressed file, decompressing it reveals it to be cpio and lsinitcpio shows that you're somehow compiling your initramfs into that location.
That's all I can tell - how that happens is very specific to your system (and obviously not supposed to hapen)
Offline
appreciate the help
Offline
If you've not even a remote idea how tihs might happen, look around in /etc/mkinitcpio.d
Offline
Yeah, thats what im currently doing. I see in modules (nvidia nvidia_modeset nvidia_uvm nvidia_drm). so now im going back into the wiki and relooking at the nvidia and mkinitcpio sections.
Offline
in /etc/mkinitcpio.d i see the linux.preset has default_image="/boot/initramfs-linux.img" un hashed. im going to go there and see what i find since nothing says anything about nvidia in linux.preset.
Offline
That's normal and fine.
Did you make sure that your audit rule works?
If so, blank the file, make the audit rule permanent, wait, hope anse see.
Offline
Pages: 1