mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Markus Plail <plail@web.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Bug] 2.5.44-ac2 cdrom eject panic
Date: Mon, 28 Oct 2002 13:14:33 +0100	[thread overview]
Message-ID: <20021028121433.GA872@suse.de> (raw)
In-Reply-To: <20021027185636.GJ3966@suse.de>

On Sun, Oct 27 2002, Jens Axboe wrote:
> > Now if C2 scans would work that'd be great ;-)
> > 
> > [plail@plailis_lfs:plail]$ readcd dev=/dev/hdc -c2scan
> > Read  speed:  7056 kB/s (CD  40x, DVD  5x).
> > Write speed:     0 kB/s (CD   0x, DVD  0x).
> > Capacity: 4116432 Blocks = 8232864 kBytes = 8039 MBytes = 8430 prMB
> > Sectorsize: 2048 Bytes
> > Copy from SCSI (0,0,0) disk to file '/dev/null'
> > end:   4116432
> > addr:        0 cnt: 99^Mreadcd: Operation not permitted. Cannot send SCSI cmd vi
> > readcd: Operation not permitted. Cannot send SCSI cmd via ioctl
> 
> Interesting, have no tried readcd at all myself. Will give it a spin and
> fix this tomorrow.

It uses SCSI_IOCTL_SEND_COMMAND ioctl, an old piece of crap interface
instead of libscg. I can add the 50 lines or so to emulate that ioctl,
but it would probably be better if readcd just got converted to use
libscg instead.

-- 
Jens Axboe


  reply	other threads:[~2002-10-28 12:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 10:36 Nyk Tarr
2002-10-25 10:39 ` Jens Axboe
2002-10-25 13:09   ` Markus Plail
2002-10-25 14:35     ` Jens Axboe
2002-10-25 14:42     ` Jens Axboe
2002-10-25 16:39       ` Markus Plail
2002-10-25 16:53         ` Jens Axboe
2002-10-27 19:41           ` Markus Plail
2002-10-27 18:56             ` Jens Axboe
2002-10-28 12:14               ` Jens Axboe [this message]
2002-10-28 15:14                 ` Markus Plail
2002-10-28 14:58                   ` Jens Axboe
2002-10-25 13:10   ` Nyk Tarr
2002-10-25 14:46     ` Jens Axboe
2002-10-25 14:48       ` Jens Axboe
2002-10-25 17:25         ` Nyk Tarr
2002-10-25 17:31           ` Jens Axboe
2002-10-25 13:49   ` Alan Cox

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=20021028121433.GA872@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=plail@web.de \
    /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

Powered by JetHome