Re: Still ide-scsi problem with 2.2.0-final

Meelis Roos (mroos@tartu.cyber.ee)
Mon, 8 Feb 1999 21:34:28 +0200 (EET)


> --- linux/drivers/scsi/scsi.c~ Mon Jan 11 19:56:56 1999
> +++ linux/drivers/scsi/scsi.c Fri Jan 22 23:14:49 1999
> @@ -1204,6 +1204,7 @@
> SCpnt->request.rq_status = RQ_SCSI_BUSY;
> SCpnt->request.sem = NULL; /* And no one is waiting for this
> * to complete */
> + SCpnt->request.rq_dev = 0;
> }
> atomic_inc(&SCpnt->host->host_active);
> SCSI_LOG_MLQUEUE(5, printk("Activating command for device %d (%d)\n",

I reported earlier that this fixes my ide-scsi problem with translation.
I was wrong :-( I found out that the same problem still appears (after
using cdrecodr without ejecting the disk the system is confused - for
example it finds bogus information about the cdrom like 1x/164x ...).

2.2.1-ac5 with your patch, HP 8100 cd-rw.

> Even if the patch won't work, try to change should_transform()
> in drivers/scsi/ide-scsi.c to unconditionally return 1 on your
> system, so that we'll at least establish that a missing command
> translation is really the cause of the second problem.

Tried this too, returning 1 unconditionally fixes my problem so this is
probably the translation.

---
Meelis Roos (mroos@tartu.cyber.ee)

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