Re: CD-blanking leads to machine freeze with current -git [was:Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux(stirring up a hornets' nest) ]]

From: Alan Cox
Date: Fri Feb 10 2006 - 18:19:35 EST


On Gwe, 2006-02-10 at 22:00 +0100, Marc Koschewski wrote:
> than to run this as root. Couldn't cdrecord 'watch' ide load or - even better -
> forcecast it? It knows blanking leads to inresponsiveness sometimes (even more due
> to the fact that both devices share the same bus). Why not kind of 'renice'
> the process that blanks?

It isn't about load. You issue a command to an ATA device and there is
no disconnect sequence as SCSI has. That bus is now locked until the
command completes.

There are mechanisms for certain cases like blanking and fixating that
allow you to avoid this. Some cd record apps let you choose them. There
isn't anything the kernel can do however.

Alan

-
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/