All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: appro@fy.chalmers.se
Subject: Re: readcd with 2.5 kernels and ide-cd
Date: Fri, 30 May 2003 10:11:07 +1000	[thread overview]
Message-ID: <3ED6A19B.4000809@interlog.com> (raw)

Andy Polyakov wrote:

 > Nothing fishy, nothing at all... It's as simple as
 > driver/block/scsi_ioctl.c doesn't accepts requestes
 > larger than 64KB, while readcd asks for 256KB.

Yes, that 64KB should be increased. The sg driver
allows up to 255 * 32 KB (just less than 8MB). From
memory cdparanoia uses a 128 KB packet size.
cdrecord uses 63 KB so it gets through.

 > > 0x2285 is the SG_IO ioctl.

 > sg_io returns EINVAL (line 163), but driver/block/ioctl.c
 > transforms it to ENOTTY (see last 8 lines).

That is unhelpful. Is there a good reason for that?

I plan to get working on the SG_IO ioctl in the block
layer shortly. Andy has a patch to address the units
of the command timeout. sg's iovec may map simply as
well (maybe it won't either).

Doug Gilbert


             reply	other threads:[~2003-05-29 23:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-30  0:11 Douglas Gilbert [this message]
     [not found] <fa.hr5v5at.1e5iqab@ifi.uio.no>
     [not found] ` <fa.cqhesj4.p2oeoc@ifi.uio.no>
2003-05-29 21:43   ` readcd with 2.5 kernels and ide-cd Andy Polyakov
2003-05-30  6:48     ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2003-05-29 16:44 Markus Plail
2003-05-29 17:30 ` Jens Axboe

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=3ED6A19B.4000809@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=appro@fy.chalmers.se \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.