lkml.org 
[lkml]   [1999]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectPROBLEM: "bug: kernel timer added twice at c018879d" in 2.2.2
I detected a bug in Linux kernel 2.2.2.

Description: message "bug: kernel timer added twice at c018879d"
is displayed on mounting scsi cdrom. Mount command
hangs and cannot be killed.

Investigation: investigation shows, that this message is printed
by function add_timer in file kernel/sched.c.
2.2.2 added a consistency check to this function.

System.map shows that the address c018879d belongs
to function scsi_sleep. This function is in
drivers/scsi/scsi_error.c file.
The timer, declared in this function,
is not properly initialized. Field timer.prev is not
initialized. It is used in a call
to add_timer, which misunderstands it as added twice.

Victor Sologoubov


-
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.029 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site