public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Brian Gerst <bgerst@didntduck.org>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: CDROMPLAYTRKIND causes an oops on aic7xxx
Date: Mon, 27 Nov 2000 08:59:38 +0100	[thread overview]
Message-ID: <20001127085938.G31641@suse.de> (raw)
In-Reply-To: <3A21E07C.C3A9880E@didntduck.org>
In-Reply-To: <3A21E07C.C3A9880E@didntduck.org>; from bgerst@didntduck.org on Sun, Nov 26, 2000 at 11:18:04PM -0500

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/

  reply	other threads:[~2000-11-27  8:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-27  4:18 CDROMPLAYTRKIND causes an oops on aic7xxx Brian Gerst
2000-11-27  7:59 ` Jens Axboe [this message]
2000-11-27 13:29   ` Brian Gerst

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001127085938.G31641@suse.de \
    --to=axboe@suse.de \
    --cc=bgerst@didntduck.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox