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

scst/include/backport.h: fix iscsi_scst build probem on rhel7.4 #132

Closed
wants to merge 1 commit into from

Conversation

zhujing3
Copy link

rhel7.4 kernel: 3.10.0-693.el7.x86_64 , do not have kobj_ns_grab_current & kobj_ns_drop defined
building process without error, but when insert to kernel failed:
[ 457.326962] iscsi_scst: Unknown symbol kobj_ns_grab_current (err 0)
[ 457.326971] iscsi_scst: Unknown symbol kobj_ns_drop (err 0)

so trying to change RHEL_MAJOR -0 <8 ,
rebuid->modprobe,works fine.

rhel7.4  kernel: 3.10.0-693.el7.x86_64 , do not have kobj_ns_grab_current  & kobj_ns_drop defined
building process without error, but when insert to kernel failed:
[  457.326962] iscsi_scst: Unknown symbol kobj_ns_grab_current (err 0)
[  457.326971] iscsi_scst: Unknown symbol kobj_ns_drop (err 0)
####
so trying to change RHEL_MAJOR -0 <8 ,
rebuid->modprobe,works fine.
@lnocturno
Copy link
Contributor

Hi,

Thank you for the report!

I changed the patch you made a bit because not all versions of RHEL7 are affected by this problem (this problem has been fixed since RHEL 7.6).
#133

Thanks,
Gleb.

@lnocturno lnocturno closed this Feb 19, 2023
lnocturno added a commit that referenced this pull request Feb 19, 2023
lnocturno added a commit that referenced this pull request May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants