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

General support questions
mvrk
Posts: 7
Joined: 2008/02/04 14:08:44

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

Postby mvrk » 2011/08/03 15:29:27

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?

mvrk
Posts: 7
Joined: 2008/02/04 14:08:44

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

Postby mvrk » 2011/08/05 22:05:29

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.

User avatar
AlanBartlett
Forum Moderator
Posts: 9296
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

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

Postby AlanBartlett » 2011/08/06 01:28:21

Thank you for reporting back with your self-found solution.

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


Return to “CentOS 6 - General Support”

Who is online

Users browsing this forum: No registered users and 1 guest