lkml.org 
[lkml]   [1999]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: bug: kernel timer added twice....
Alan Cox wrote:
>
> > bug: kernel timer added twice at c0185a78
> >
> > Hi there, just caught some bug? Here's what happened:
> > Mounting a CDROM caused
> > bug: kernel timer added twice at c0185a78
>
> Its been fixed in 2.2.2ac for ages 8)
>
> > Maybe someone can answer this question, or tell me the ac-patch, that
> > fixes it ;-)
>
> 2.2.2ac1 had it fixed

This is the actual patch you need (if you
don't want to apply the whole of ac -- although
I would recommend that, coz it's usually a
good line of kernels):

diff -u --new-file --recursive --exclude-from ../exclude linux.vanilla/drivers/scsi/scsi_error.c linux.ac/drivers/scsi/scsi_error.c
--- linux.vanilla/drivers/scsi/scsi_error.c Sat Jan 9 21:50:44 1999
+++ linux.ac/drivers/scsi/scsi_error.c Sun Feb 21 17:03:08 1999
@@ -563,6 +563,7 @@
struct semaphore sem = MUTEX_LOCKED;
struct timer_list timer;

+ init_timer(&timer);
timer.data = (unsigned long) &sem;
timer.expires = jiffies + timeout;
timer.function = (void (*)(unsigned long))scsi_sleep_done;
Rich.

--
Bibliotech Ltd., 631-633 Fulham Rd., London SW6 5UQ. +44 171 460 4646
http://www.bibliotech.co.uk/ ------ Home page: http://www.annexia.org/
Work email: rich@bibliotech.co.uk ----- Home: rich@annexia.demon.co.uk
Original message content Copyright © 1999 Richard Jones
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:4.675 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site