Re: CDROMPLAYTRKIND causes an oops on aic7xxx

From: Brian Gerst (bgerst@didntduck.org)
Date: Mon Nov 27 2000 - 08:29:49 EST


Jens Axboe wrote:
>
> 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

That worked. Thanks.

-- 

Brian Gerst - 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:17 EST