You are not logged in.

#1 2023-01-16 00:01:01

phibroptix
Member
Registered: 2023-01-15
Posts: 15

Missing drivers/modules after reboot.

No update was run this session, i think last thing i installed via pacman was "go go-utils" (don't think it's relevant) but after a reboot I am now missing my ethernet, wifi, usb and audio drivers. (so i can't paste command outputs, i have to type all by hand on another computer, f)

Lspci -v output shows all devices are recognized but no "kernel driver in use" message for the aforementioned devices, here are what's missing:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
Subsystem: ASUSTeK Computer Inc. Device 87c0
Flags: fast devsel
lspci: Unable to load libkmod resources: error -2

05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
Flags: fast devsel, IRQ 255, IOMMU group 15
Memory at fc600000 (64-bit, non-prefetchable) [disabled] [size=16k]

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 87d7
Flags: bus master, fast devsel, latency 0, IRQ 255, IOMMU group 15
I/O ports at f000 [size=256]
Memory at fc500000 (64-bit, non-prefetchable) [size=64k]
Memory at fc510000 (64-bit, non-prefetchable) [size=16k]

07:00.1 Audio device: NVIDIA Corporation GP102 HDMI Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3602
Flags: fast devsel, IRQ 255, IOMMU group 16
Memory at fc080000 (32-bit, non-prefetchable) [disabled] [size=16k]

09:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 8797
FLags: fast devsel, IRQ 255, IOMMU group 21
Memory at fc400000 (32-bit, non-prefetchable) [disabled] [size=32K]

uname -a :

Linux DESKTOP 6.1.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 21 Dec 2022 22:27:55 +0000 x86_64 GNU/Linux

Let me know what else is needed to troubleshoot, would love help on this as I'm stuck and hoping I don't have to wipe and re-install from scratch.

Edit1: In continuing to troubleshoot "systemctl list-unit-files" shows alot of important services etc. disabled, not sure if this is causative or a symptom of kernel drivers not being loaded?

Last edited by phibroptix (2023-01-16 00:15:01)

Offline

#2 2023-01-16 00:31:43

loqs
Member
Registered: 2014-03-06
Posts: 18,887

Re: Missing drivers/modules after reboot.

What is the output of `pacman -Q linux`

Offline

#3 2023-01-16 01:11:38

phibroptix
Member
Registered: 2023-01-15
Posts: 15

Re: Missing drivers/modules after reboot.

pacman -Q linux returns

linux 6.1.2.arch1-1

Offline

#4 2023-01-16 01:43:24

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,676

Re: Missing drivers/modules after reboot.

Mount your boot partition. Update. Reboot

Offline

#5 2023-01-16 02:17:41

phibroptix
Member
Registered: 2023-01-15
Posts: 15

Re: Missing drivers/modules after reboot.

Trying to mount, "mount /dev/nvme0n1p1 /boot" returns:

mount: /boot: unknown filesystem type 'vfat'

Offline

#6 2023-01-16 07:42:07

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Missing drivers/modules after reboot.

Use a live ISO image and chroot in with the /boot partition already mounted, just as you did when installing Arch, and perform the upgrade from there.

When the system is rebooted check to see if the /boot partition is correctly mounted there and also check /etc/fstab for any errors that may have caused the original problem.


Jin, Jîyan, Azadî

Offline

#7 2023-01-16 19:26:46

phibroptix
Member
Registered: 2023-01-15
Posts: 15

Re: Missing drivers/modules after reboot.

With Live ISO I am able to run "mount --mkdir /dev/nvme0n1p1 /mnt/boot" without errors, but when I try "arch-chroot /mnt" it tells me mount point does not exist. This is likely due to me not running pacstrap (from https://bbs.archlinux.org/viewtopic.php?id=271495) but running that will overwrite my kernel? I tried anyway (might as well learn) and it told me /mnt too full.

Is my core problem that my 500MB /boot partition isn't big enough? The pacstrap command in the installation guide on the wiki

# pacstrap -K /mnt base linux linux-firmware

says it needs 873MB(!), which is way more then was originally recommended on the guide! What am I missing here?

Offline

#8 2023-01-16 19:27:52

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Missing drivers/modules after reboot.

How did you install Arch?


Jin, Jîyan, Azadî

Offline

#9 2023-01-16 19:42:56

phibroptix
Member
Registered: 2023-01-15
Posts: 15

Re: Missing drivers/modules after reboot.

Following the installation guide.

Offline

#10 2023-01-16 19:54:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Missing drivers/modules after reboot.

Hmm.

You need to mount the root partition first then the /boot partition. If you do that then you won't need that --mkdir option for the mount command.


Jin, Jîyan, Azadî

Offline

#11 2023-01-16 23:29:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,732

Re: Missing drivers/modules after reboot.

With Live ISO I am able to run "mount --mkdir /dev/nvme0n1p1 /mnt/boot" without errors, but when I try "arch-chroot /mnt" it tells me mount point does not exist.

At this point, post the outpout of "lsblk -f" and "mount" (you can use the tip in the 1st link below to paste them from the console)

Edit: though HoaS is probably right in his assumption about your mistake.

Last edited by seth (2023-01-16 23:30:46)

Offline

#12 2023-01-17 01:25:53

phibroptix
Member
Registered: 2023-01-15
Posts: 15

Re: Missing drivers/modules after reboot.

His assumption was correct, once I mounted root then I was able to mount /boot and update successfully! Update ran, had some warnings about missing modules (not the ones that went mising) but after a reboot everything seems back to normal! My audio, wifi, eth and usb devices now show they are using kernel drivers in lspci output. Thanks for all the help!

Regarding the cause, I did check /etc/fstab and it outputs:

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=c0a05215-0429-4e56-8adf-ccfe67ac1ca2       /               ext4            rw,relatime     0 1

The /dev/ device is correct but I don't know enough to say if this has issues or not?

Offline

#13 2023-01-17 02:43:50

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,676

Re: Missing drivers/modules after reboot.

You need to add your boot partition to /etc/fstab else we will all have to go through this again the next time there is a kernel update

Offline

Board footer

Powered by FluxBB