public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: "Paul E. Erkkila" <pee@erkkila.org>
Cc: linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: vcdxrip , CDROM_SEND_PACKET, and 2.5.42->2.5.43 ide-cd changes
Date: Thu, 20 Feb 2003 17:49:01 +0100	[thread overview]
Message-ID: <20030220164901.GZ31031@suse.de> (raw)
In-Reply-To: <3E5500BF.2000706@erkkila.org>

On Thu, Feb 20 2003, Paul E. Erkkila wrote:
> 
> 
> Hi,
> 
>  I often use vcdxrip to pull mpeg data off of
> old vcd's/svcds to archive to tape/dvd. This
> worked fine in the 2.5 kernel series up to
> 2.5.42 where it worked after running the app
> more then once ( i assumed it was an initialization
> error someplace). After kernel 2.5.43 it no longer
> works. I've sent mail to the authors and they
> suggested switching it from using ioctl(CDROM_SEND_PACKET)
> to ioctl(CDROMREADMODE2) , which does work only
> a little slower.
> 
> I've traced it down to cdrom_queue_packet_command() in ide-cd.c
> returning a 0 error status from ide_do_drive_cmd(), and
> req.data_len is 0, and there doesn't appear to be any sense
> available.

Hmm interesting, nothing comes to mind right now. I'll try vcdxrip
myself, please tell me how you typically invoke it to produce the bug.

The best approach for 2.5.x and later is to use the SG_IO ioctl. It's
similar in spirit to CDROM_SEND_PACKET, but much faster. CDROMREADMODE2
should work too, of course.

-- 
Jens Axboe


      reply	other threads:[~2003-02-20 16:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 16:22 vcdxrip , CDROM_SEND_PACKET, and 2.5.42->2.5.43 ide-cd changes Paul E. Erkkila
2003-02-20 16:49 ` Jens Axboe [this message]

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=20030220164901.GZ31031@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pee@erkkila.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