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

None of the expected "get_disk_ro()" interfaces were detected #12537

Open
kocoman1 opened this issue Sep 5, 2021 · 6 comments
Open

None of the expected "get_disk_ro()" interfaces were detected #12537

kocoman1 opened this issue Sep 5, 2021 · 6 comments
Labels
Type: Building Indicates an issue related to building binaries Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@kocoman1
Copy link

kocoman1 commented Sep 5, 2021

using current 21 ubuntu hippo

running ./configure in latest source tree

checking whether get_disk_ro() is available... configure: error:

  *** None of the expected "get_disk_ro()" interfaces were detected.
  *** This may be because your kernel version is newer than what is
  *** supported, or you are using a patched custom kernel with
  *** incompatible modifications.
  ***
  *** ZFS Version: zfs-2.1.99-1
  *** Compatible Kernels: 3.10 - 5.13
   ---------
uname -a
mypc 5.8.0-63-generic #71-Ubuntu SMP Tue Jul 13 15:59:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

any ideas? thx

@kocoman1 kocoman1 added the Type: Defect Incorrect behavior (e.g. crash, hang) label Sep 5, 2021
@rincebrain
Copy link
Contributor

rincebrain commented Sep 5, 2021

5.8.0-63-generic is 20.10 (Groovy Gorilla), not 21.04 (Hirsute Hippo).

Which are you running?

e: So I tried this with up to date 21.04 (5.11.0-31-generic) and 20.10 (5.8.0-63-generic), and neither of them had this error.

Are you perhaps missing some kernel headers and it's erroring unusually about it?

@kocoman1
Copy link
Author

kocoman1 commented Sep 6, 2021

I updated now and its giving another error

checking whether struct shrink_control exists... configure: error:
*** None of the expected "shrink_control" interfaces were detected.
*** This may be because your kernel version is newer than what is
*** supported, or you are using a patched custom kernel with
*** incompatible modifications.
***
*** ZFS Version: zfs-2.1.99-1
*** Compatible Kernels: 3.10 - 5.13

uname -a
mypc 5.11.0-31-generic #33-Ubuntu SMP Wed Aug 11 13:19:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

thx

@rincebrain
Copy link
Contributor

rincebrain commented Sep 6, 2021 via email

@behlendorf behlendorf added the Type: Building Indicates an issue related to building binaries label Sep 17, 2021
@szubersk
Copy link
Contributor

@kocoman1 Is this issue still relevant? If it is, would you mind attaching relevant artifacts @rincebrain asked for?

@stale
Copy link

stale bot commented Mar 23, 2023

This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale No recent activity for issue label Mar 23, 2023
@behlendorf
Copy link
Contributor

Closing for now. @kocoman1 if this is still an issue please just let us know and provide the config.log so we can investigate.

@stale stale bot removed the Status: Stale No recent activity for issue label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

4 participants