Artix Linux Forum

Init systems => OpenRC => Topic started by: brooker on 19 October 2022, 03:41:48

Title: Device Drivers not Loading
Post by: brooker on 19 October 2022, 03:41:48
Seemingly overnight, my install of Artix Linux began to no longer recognize any devices. Connman couldn't find any technologies, Xorg couldn't find /dev/dri/card0, and I was unable to mount a FAT transfer partition without it throwing up an error saying that the previously mountable partition could not be mounted because it didn't recognize the file system. From what I've read, this would likely be a kernel issue.
The solution in this post (https://forum.artixlinux.org/index.php/topic,4673.0.html) didn't seem to work. I'll probably end up copying my documents over to the FAT partition and reinstalling Artix using my USB. Before I did that, however, I wanted to see if anyone knew a good solution to the problem. If there are error logs, I'd be happy to provide them if you point them out.

Thanks!

Thinkpad T14 Gen 2.
Ryzen 7 Pro 5850U
Dual Booted Artix & Windows 10
16 GB RAM
Title: Re: Device Drivers not Loading
Post by: AndBenn on 19 October 2022, 06:00:56
Sounds like failing hardware including the disk.  Does a live boot from an ISO work?  Or seem to work?  I'd back up that drive first priority.
Title: Re: Device Drivers not Loading
Post by: brooker on 19 October 2022, 06:40:50
Sounds like failing hardware including the disk.  Does a live boot from an ISO work?  Or seem to work?  I'd back up that drive first priority.
I don't think the hardware is failing. The laptop is only a year or so old and the Windows partitions are functioning normally.
Live boot from an ISO does work. I'm able to chroot in just fine.
I already backed up the drive just in case.
Title: Re: Device Drivers not Loading
Post by: gripped on 19 October 2022, 13:40:45
If there are error logs, I'd be happy to provide them if you point them out.
The output of
Code: [Select]
 sudo dmesg
I'd guess at a mismatch between kernel and modules, or a bad initramfs?
But without any error messages purely a guess.

Also try just reinstalling your kernel.

Title: Re: Device Drivers not Loading
Post by: Lancia on 19 October 2022, 18:26:00
The output of
Code: [Select]
 sudo dmesg
I'd guess at a mismatch between kernel and modules, or a bad initramfs?
But without any error messages purely a guess.

I would also suggest logs from the syslog daemon if you have one installed, if not, install metalog and send us logs from it.

I would also make another suggestion, just to be sure, use smartctl(1) to check the health of your drive:
Code: [Select]
# smartctl --health /dev/sdX
Title: Re: Device Drivers not Loading
Post by: brooker on 24 October 2022, 18:39:47
Sorry for the very delayed response! Busy weekend.

I managed to fix the problem. Turns out, I bungled my set up of the boot directory when I set up the dual booting. Now that I've fixed it (and after a kernel update and reboot), I'm able to load into a graphical environment and connect to the internet just fine.

Thanks for all the help!