CyntexMore / tmx-ffb-driver

Linux kernel module for the Thrustmaster TMX Force Feedback racing wheel.
GNU General Public License v3.0
1 stars 1 forks source link

Fix the kernel module bricking the Linux kernel #12

Closed CyntexMore closed 1 month ago

CyntexMore commented 1 month ago

Fix the kernel module bricking the Linux kernel

vb2007 commented 1 month ago

Close the issue, that's intended functionality on an average linux driver.

CyntexMore commented 1 month ago

Seems fair

CyntexMore commented 1 month ago

Here's a follow up.

If you successfully compiled and "injected" the kernel module and it bricked your kernel you can do the following to reinstall the kernel:

  1. Get into emergency mode or chroot into the system via something like archiso;
  2. Let your package manager reinstall the Linux kernel by itself, for example on Arch you could run sudo pacman -Syy linux (or any Linux kernel fork) OR just reinstall the kernel yourself;
  3. Navigate to /path/to/tmx-ffb-driver/src and remove the tmx_driver.ka file so it won't load again, just to be sure;

I'll work on a fix as soon as possible.

CyntexMore commented 1 month ago

It seems like the issue is resolved (to be honest I don't know what solved it O-O) but I won't close the issue for now because the kernel module is very unstable and any commit could break it.

CyntexMore commented 1 month ago

It seems like the issue is fixed. If needed I'll reopen the issue in the future.