Re: CDROMPLAYTRKIND causes an oops on aic7xxx

From: Jens Axboe (axboe@suse.de)
Date: Mon Nov 27 2000 - 02:59:38 EST


On Sun, Nov 26 2000, Brian Gerst wrote:
> I get an oops from aic7xxx_buildscb() when CDROMPLAYTRKIND is used.
> I've tracked it down to sr_audio_ioctl() using SCSI_DATA_NONE for the
> direction of the command, which gets changed to PCI_DMA_NONE, which then
> triggers a BUG() in pci_map_single(). Is SCSI_DATA_NONE the correct
> direction code, or is there a problem further down the code? Oops
> attached.

NONE is the right direction, but buflen needs to be 0 too. The
patch is here

*.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.0-test11/cd-1.bz2

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:16 EST