lkml.org 
[lkml]   [1999]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.2.1-ac6 CDROM bug (not in 2.2.1-vanilla)
Date
> Actually its not that simple. Plain 2.2.1 doesn't have the timer reuse
> trap code in it. 2.2.1 potentially added the timer twice.
>
> Can you boot 2.2.1 vanilla with just Ingo's timer bug check patch in it ?

Better yet try this instead. scsi_error wasnt calling init_timer(). Thats
a non fatal offence in 2.2 but trips the bug trap up. It is a real bug
though, some time in the future init_timer() might have done far more.

Alan

--- scsi_error.c~ Fri Feb 19 00:00:42 1999
+++ 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;
-
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:0.065 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site