Uninterruptible sleep processes

Wayne J. Salamon (salamon@cmr.ncsl.nist.gov)
Fri, 27 Mar 1998 13:43:49 -0500


The following code fragment will place the process in
uninterruptible sleep on my 2.1.90 systems:

sd = socket (AF_INET, SOCK_DGRAM, 0);
/* the socket call completes OK */

bind(...) /* succeeds */
:
ioctl(sd, SIOCGIFCONF, (char *) interfaces);

The process hangs at the ioctl() call.

This problem occurs on a non-SMP system, kernel 2.1.90.
It does not occur at 2.1.79 or 2.0.29 kernels.

Any ideas?

-- 
----------------------------------------------------------------------
 | Wayne J. Salamon   | National Institute of Standards & Technology |
 | Computer Scientist | (301) 975-4432                               |
 | wsalamon@nist.gov  |                                              |
----------------------------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu