I get the following error messages when trying to open a CD device
(specifically, the Teac CD-ROM CD-224E) that has no media present:
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x54 { AbortedCommand
LastFailedSense=0x05 }
ide: failed
The system can panic with a null pointer dereference using ide-scsi if
PIO is being done on scatter gather pages that are in high memory,
because page_address() returns 0. We are actually seeing this using a
tape drive. This patch will kmap_atomic() the pages before performing
PIO.
I'm copying
Hi,
On Apr 5, 2005 9:12 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
The system can panic with a null pointer dereference using ide-scsi
if PIO is being done on scatter gather pages that are in high memory,
because page_address() returns 0. We are actually seeing this using
a tape
Bartlomiej Zolnierkiewicz wrote:
On Thu, 17 Mar 2005 10:17:58 -0600, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Jens Axboe wrote:
On Fri, Mar 04 2005, [EMAIL PROTECTED] wrote:
There's still a problem here, you are not initializing nsectors
for non-pc requests. And your comments wrap :)
I'd recommend applying this patch if nobody sees any problems with it.
--- ide-cd.c.orig 2005-02-07 10:56:42.0 -0500
+++ ide-cd.c 2005-02-07 10:57:06.0 -0500
@@ -3301,6 +3301,7 @@ static ide_driver_t ide_cdrom_driver = {
.supports_dsc_overlap = 1,
Hayes, Stuart wrote:
I'd recommend applying this patch if nobody sees any problems with
it.
--- ide-cd.c.orig2005-02-07 10:56:42.0 -0500
+++ ide-cd.c 2005-02-07 10:57:06.0 -0500
@@ -3301,6 +3301,7 @@ static ide_driver_t ide_cdrom_driver = {
If there is a bug, it is in ide_cdrom_driver declaration.
.end_request is not set to ide_cdrom_error.
I wondered about that. I'll give that a try.
OK, 2.6.11-rc3 has the same issue. The function ide_atapi_error() is
calling
drive-driver-end_request() when rq-errors exceeds ERROR_MAX,