Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module zfs not found in /lib/modules/5.15.90 #10128

Open
1 of 2 tasks
infdahai opened this issue May 22, 2023 · 1 comment
Open
1 of 2 tasks

Module zfs not found in /lib/modules/5.15.90 #10128

infdahai opened this issue May 22, 2023 · 1 comment
Labels

Comments

@infdahai
Copy link

infdahai commented May 22, 2023

Windows Version

Windows version: 10.0.19045.2846

WSL Version

WSL version: 1.2.5.0 Kernel version: 5.15.90.1

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Ubuntu 22.04(I use ubuntu-upgrade-commands from 20.04 to 22.04, so my distro shows the system icon Ubuntu 20.04)

Other Software

No response

Repro Steps

I build and run zfs based on the doc from zfs.

cd ./zfs
git checkout master
sh autogen.sh
./configure
make -s -j$(nproc)

And I also get the kernel file from the github with the version of 5.15.90.1 and compile it.

Expected Behavior

None.

Actual Behavior

Then I exec modprobe zfs and it throws the error modprobe: FATAL: Module zfs not found in directory /lib/modules/5.15.90.1-microsoft-standard-WSL2.

I see the /lib/modules dir and find that the only dir in it is 5.15.0-72-generic.
And I get the extra dir and the zfs.ko file with the same as make install.

/usr/src # ls                                                                                                            root@DESKTOP-CO31SAO
googletest  gtest  linux-headers-5.15.0-72  linux-headers-5.15.0-72-generic  zfs-2.1.5
/usr/src # cd /lib/modules 
/lib/modules # ls                                                                                                        
5.15.0-72-generic
/lib/modules # uname -a
Linux DESKTOP-CO31SAO 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

So it means I only have the 5.15.0-72-generic dir.

Diagnostic Logs

No response

@ghost ghost added the feature label May 23, 2023
@SeparateReality
Copy link

Same here:
/sbin/modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/5.15.153.1-microsoft-standard-WSL2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants