There is a bug with fs/select.c which break the
Informix database (7.30UC2) on Redhat 6 (as well as other
They have changed sys_select considerably and probably
did not know that some programs depend heavily on it -
cannot return errors when there were none before without
Here's the code:
Search for the function
and look for the lines:
if (n < 0 || n > KFDS_NR)
This breaks Informix as it passes n as 4096 while
NR_OPEN is 1024!
Please assist in fixing this. Changing NR_OPEN in
linux.h from 1024 to 5120 etc. does more damage!
You cannot mount cdroms etc. after that.
Fixed - the problem was with Redhat 5.2 and Caldera OpenLinux 2.2
Redhat 6.0 - it's fixed already.
Sorry for the noise!
Bug closed (it seems that it is already fixed)