Re: cdrecord hangs my computer

From: Linus Torvalds
Date: Sat Dec 06 2003 - 03:13:42 EST




On Sat, 6 Dec 2003, Tero Knuutila wrote:
>
> My system hangs everytime I try to burn my .wav files to cd with cdrecord.
> Usually few tracks go succesfully but then everything stops. Even the mouse
> won't move and powerbutton does not affect.

Is this with ide-scsi? If so, does the appended patch help?

If not, we really need a whole lot more information (hw config, messages
etc).

Linus

---
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1499 -> 1.1500
# drivers/scsi/ide-scsi.c 1.33 -> 1.34
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/12/02 torvalds@xxxxxxxxxxxxx 1.1500
# Fix ide-scsi.c uninitialized variable
# --------------------------------------------
#
diff -Nru a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c
--- a/drivers/scsi/ide-scsi.c Sat Dec 6 00:12:13 2003
+++ b/drivers/scsi/ide-scsi.c Sat Dec 6 00:12:13 2003
@@ -517,6 +517,7 @@
pc->current_position=pc->buffer;
bcount.all = IDE_MIN(pc->request_transfer, 63 * 1024); /* Request to transfer the entire buffer at once */

+ feature.all = 0;
if (drive->using_dma && rq->bio) {
if (test_bit(PC_WRITING, &pc->flags))
feature.b.dma = !HWIF(drive)->ide_dma_write(drive);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/