Skip to content

Borked my Kernel

I got an error modprobing v4l2loopback-dkms (im not exactly sure of the error anymore but it was something like "lib/modules/xxx not found".
I then was at kernel 5.6.10 because 5.6.13 didnt boot for me and i downgraded.
Then i tried to deinstall v4l2loopback-dkms and reinstall it, which resulted in a lib/modules error that i also can not exactly remember. I upgraded my system to 5.6.13. in hopes of the v4l2 module working again.

Now i get a boot loop saying
"Loading ../vmlinuz-linux... EDD: Error 0100 reading sector xxxxx
Loading ../initramfs-linux.img... EDD: Error 0100 reading sector xxxxx
Booting Kernel failed: invalid argument"
When i run mkinitcpio -p linux in chroot everything works well, but if i run just "mkinitcpio" it gives me this error: "lib/modules/5.6.13-arch is not a valid kernel directory" If i downgrade again i get a black screen after my syslinux menu.

I have no idea whats broken. I tried different kernel parameters, went over my syslinux.cfg, rolling back all my packages to a few days ago.
I suspect it has something to do with me borking kernel stuff while reinstalling v4l2loopback-dkms.
I would love any direction because ive been trying to fix this for hours now.

Edited 21 May 2020. We only hold this version.

0 points13 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 50% up
Kind
Text
ID
gnu2s3

Author

1
posts
6
comments
0
media
View profile

15 comments

I got an error modprobing v4l2loopback-dkms (im not exactly sure of the error anymore but it was something like "lib/modules/xxx not found". I then was at kernel 5.6.10 because 5.6.13 didnt boot for me and i downgraded. Then i tried to deinstall v4l2loopback-dkms and reinstall it, which resulted in a lib/modules error that i also can not exactly remember.

You didn't reboot after a kernel upgrade, then you downgraded your kernel but left updated kernel headers.

5 points
unknown author

Deleted before we saved it.

1 points

Thanks. How do i fix that? My linux-headers are on the same version as the kernel right now.

1 points

uname -r; pacman -Q linux

​

Also get and post the exact errors and your syslinux config.

1 points

uname -r: 5.3.13
pacman -Q linux: 5.6.13.arch1-1
syslinux.cfg: https://pastebin.com/YUAguayn
The boot error from the post is exact, it returns to automatic boot and repeats.
mkinitcpio: Error: lib/modules/5.6.13-arch is not a valid kernel directory

It seems as though ive solved the problem for myself, because while backing up files to a usb drive and being in a hurry, i deleted /bin. I dont think theres any way out of this except reinstalling anymore. Ive been able to recover gladly.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.