Page 1 of 1

[RESOLVED] kernel 2.6.32-71.29.1.el6.x86_64 + SCST patches

Posted: 2011/08/03 15:29:27
by mvrk
Hi,

I'm trying to apply SCST patches for kernel 2.6.32 and rebuild the RPM, with only scst_exec_req_fifo-2.6.32.patch it rebuilds ok, but if i apply both patches

scst_exec_req_fifo-2.6.32.patch and put_page_callback-2.6.32.patch

i get this compile error:

/root/rpmbuild/BUILD/kernel-2.6.32-71.29.1.el6/linux-2.6.32-71.29.1.el6.x86_64/usr/include/linux/net.h:23: included file 'linux/mm.h' is not exported
make[3]: *** [/root/rpmbuild/BUILD/kernel-2.6.32-71.29.1.el6/linux-2.6.32-71.29.1.el6.x86_64/usr/include/linux/.check] Error 123
make[2]: *** [linux] Error 2
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.GR3tgG (%build)

Anyone experienced this problem?

Re: kernel 2.6.32-71.29.1.el6.x86_64 + SCST patches

Posted: 2011/08/05 22:05:29
by mvrk
Problem solved.

It needed another patch (iscsi-scst/kernel/patches/rhel/put_page_callback_addendum-rhel6.patch)
that didn't came on the stable package (iscsi-scst-2.0.0.tar.gz), i had to download it from SVN.

[RESOLVED] kernel 2.6.32-71.29.1.el6.x86_64 + SCST patches

Posted: 2011/08/06 01:28:21
by AlanBartlett
Thank you for reporting back with your self-found solution.

For posterity, and on your behalf, this thread is marked [RESOLVED].