Re: [BUG] kernel 2.6.15.4: soft lockup detected on CPU#0!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Charles-Edouard Ruault <[email protected]> wrote:
>
> i was trying to rip a CD when the whole machine started to freeze
>  periodicaly, i then looked at the logs and found the following :
> 
>  Feb 12 19:23:39 ruault kernel: hdc: irq timeout: status=0x80 { Busy }
>  Feb 12 19:23:39 ruault kernel: ide: failed opcode was: unknown
>  Feb 12 19:23:39 ruault kernel: hdd: status timeout: status=0x80 { Busy }
>  Feb 12 19:23:39 ruault kernel: ide: failed opcode was: unknown
>  Feb 12 19:23:39 ruault kernel: hdd: drive not ready for command

No idea what caused that.

>  Feb 12 19:23:39 ruault kernel: BUG: soft lockup detected on CPU#0!

The following was merged today.  Hopefully it suppresses this false
positive.

--- devel/drivers/ide/ide-taskfile.c~ide-touch-softlockup-detector-during-pio	2006-02-15 14:57:05.000000000 -0800
+++ devel-akpm/drivers/ide/ide-taskfile.c	2006-02-15 14:57:05.000000000 -0800
@@ -34,6 +34,7 @@
 #include <linux/kernel.h>
 #include <linux/timer.h>
 #include <linux/mm.h>
+#include <linux/sched.h>
 #include <linux/interrupt.h>
 #include <linux/major.h>
 #include <linux/errno.h>
@@ -314,6 +315,8 @@ static void ide_pio_datablock(ide_drive_
 	if (rq->bio)	/* fs request */
 		rq->errors = 0;
 
+	touch_softlockup_watchdog();
+
 	switch (drive->hwif->data_phase) {
 	case TASKFILE_MULTI_IN:
 	case TASKFILE_MULTI_OUT:
_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux