Re: Kernel bug.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 25 Jan 1999 01:06:45 +0000 (GMT)


> changed HZ to 1024! If you haven't touched HZ, then there is another
> problem.
>
> Paul Laufer
>
> --- drivers/scsi/sg.c.orig Wed Jan 20 22:27:14 1999
> +++ drivers/scsi/sg.c Wed Jan 20 22:27:29 1999
> @@ -54,7 +54,7 @@
> struct wait_queue *generic_wait; /* wait for device to be available
> */
> struct wait_queue *read_wait; /* wait for response */
> struct wait_queue *write_wait; /* wait for free buffer */
> - int timeout; /* current default value for device */
> + long timeout; /* current default value for device */
> int buff_len; /* length of current buffer */

That doesn't help you at all. The field is read/written directly as an
int from syscalls - you need to define new ioctls and the like as well

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/