All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Plail <plail@web.de>
To: linux-kernel@vger.kernel.org
Subject: Re: [Bug] 2.5.44-ac2 cdrom eject panic
Date: Sun, 27 Oct 2002 20:41:59 +0100	[thread overview]
Message-ID: <874rb71xfc.fsf@gitteundmarkus.de> (raw)
In-Reply-To: 20021025165354.GG4153@suse.de

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 :-)
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

Thanks
Markus


  reply	other threads:[~2002-10-27 18:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 10:36 [Bug] 2.5.44-ac2 cdrom eject panic 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 [this message]
2002-10-27 18:56             ` Jens Axboe
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=874rb71xfc.fsf@gitteundmarkus.de \
    --to=plail@web.de \
    --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.