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: Sun, 27 Oct 2002 19:56:36 +0100	[thread overview]
Message-ID: <20021027185636.GJ3966@suse.de> (raw)
In-Reply-To: <874rb71xfc.fsf@gitteundmarkus.de>

On Sun, Oct 27 2002, Markus Plail wrote:
> Hi Jens!
> 
> * Jens Axboe writes:
> >On Fri, Oct 25 2002, Markus Plail wrote:
> >>Yes it does. I can't burn though. I attached the cdrecord output. Hava
> >>a look at the Blocks numbers. Although the image is only 500MB, it
> >>says it wouldn't fit on the disc which is 700MB. In another try it
> >>wanted to start burning although I had a bought audio CD in the
> >>burner.
> 
> >As a hack, can you change:
> 
> >	if ((rq->flags & REQ_BLOCK_PC) && !rq->errors)
> rq->errors = sense_key;
> >in drivers/ide/ide-cd.c:cdrom_decode_status() to
> >	if ((rq->flags & REQ_BLOCK_PC) && !rq->errors)
> rq->errors = 2;
> 
> Works fine now :-)

Cool great, the above change was already in my tree when I sent the
suggestion, glad to hear it works.

> 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.

-- 
Jens Axboe


  reply	other threads:[~2002-10-27 18:50 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 [this message]
2002-10-28 12:14               ` Jens Axboe
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=20021027185636.GJ3966@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