Hi,
On Sun, Mar 14, Avi Schwartz wrote:
> I am in the process of evaluating Informix Dynamic Server but for that I
> need to patch the kernel for >3000 file descriptors. I am running SuSE
> 6.0 international (non German) version.
>
> I obtained the kernel 2.0.36 patch file for >3000 file descriptors per
> process from SuSE's ftp site. I patched the kernel source with no
> errors but when I try to compile the new kernel it fails with the
> following error:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -V2.7.2.3 -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
> -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c
> -o init/main.o init/main.c
> In file included from /usr/src/linux/include/linux/types.h:16,
> from init/main.c:17:
> /usr/src/linux/include/linux/posix_types.h:47: `NR_OPEN' undeclared here
> (not in a function)
> /usr/src/linux/include/linux/posix_types.h:47: size of array `fds_bits'
> has non-integer type
> make: *** [init/main.o] Error 1
Did you do a "make config" and set the number of open files allowed?
> To perform the patch I used the following command from the
> /usr/src/linux directory:
>
> root@Seahorse:/usr/src/linux # cat ~/large-fd-2.0.36 | patch -p1 2> out
>
> So, is the patch for a version different from the one shipped with the
> international version of SuSE 6.0? Is there a *source code* patch that
> will work?
There is no difference in kernels between the german and the international
version.
> Thanks,
> Avi
-o)
Hubert Mantel Goodbye, dots... /\\
_\_v
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html