mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gregoire Favre <greg@ulima.unil.ch>
To: Jens Axboe <axboe@suse.de>
Cc: "Henning P. Schmiedehausen" <hps@intermeta.de>,
	linux-kernel@vger.kernel.org
Subject: Re: Can't burn DVD under 2.5.59 with ide-cd
Date: Sat, 25 Jan 2003 15:25:47 +0100	[thread overview]
Message-ID: <20030125142547.GB18989@ulima.unil.ch> (raw)
In-Reply-To: <20030124092616.GH910@suse.de>

On Fri, Jan 24, 2003 at 10:26:16AM +0100, Jens Axboe wrote:

> The interesting part is whether failed has a sense attached, and if so
> what length.
> > 
> > >                cdrom_analyze_sense_data(drive, failed, sense);
> 
> To avoid confusion, I made the patch. Would have been easier to do in
> the first place it seems :)
> 
> ===== drivers/ide/ide-cd.c 1.35 vs edited =====
> --- 1.35/drivers/ide/ide-cd.c	Thu Nov 21 22:56:59 2002
> +++ edited/drivers/ide/ide-cd.c	Fri Jan 24 10:25:53 2003
> @@ -649,6 +649,8 @@
>  		struct cdrom_info *info = drive->driver_data;
>  		void *sense = &info->sense_data;
>  		
> +		if (failed && blk_pc_request(failed))
> +			printk("%s: failed, sense %p, len=%d\n", __FUNCTION__, failed->sense, failed->sense_len);
>  		if (failed && failed->sense)
>  			sense = failed->sense;

Hello,

sorry I didn't understood that I was supposed to do this...
I have recompiled with your patch, and here the result of dmesg:

cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0
cdrom_end_request: failed, sense ce68de20, len=0

Maybe I should add that, also under 2.4, it goes till 4 Mb and then stay
at 4 Mb for a long time (something like one minute) and then it
continues perfectly (with ide-scsi under 2.4).

And in case still needed:

Cdrecord-ProDVD-Clone 2.0 (i586-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Unlocked features: ProDVD Clone 
Limited  features: speed 
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : 
Vendor_info    : 'SONY    '
Identifikation : 'DVD RW DRU-500A '
Revision       : '1.0f'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags   : DVD SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 8126464 = 7936 KB
FIFO size      : 67108864 = 65536 KB
Track 01: data  4001 MB        
Total size:     4001 MB = 2048512 sectors
Current Secsize: 2048
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 249984
Starting to write CD/DVD at speed 1 in dummy TAO mode for single session.
Last chance to quit, starting dummy write in 9 seconds.  0.24% done, estimate finish Sat Jan 25 15:26:58 2003
   8 seconds.  0.49% done, estimate finish Sat Jan 25 15:26:59 2003
   7 seconds.  0.73% done, estimate finish Sat Jan 25 15:26:59 2003
   6 seconds.  0.98% done, estimate finish Sat Jan 25 15:26:59 2003
   5 seconds.  1.22% done, estimate finish Sat Jan 25 15:26:59 2003
   4 seconds.  1.46% done, estimate finish Sat Jan 25 15:26:59 2003
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Starting new track at sector: 0
Track 01:    4 of 4001 MB written (fifo  97%)  16.2x.cdrecord-prodvd: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 08 B8 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes:
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid) 
resid: 63488
cmd finished after 0.001s timeout 100s

write track data: error after 4571136 bytes
Sense Bytes: 70 00 00 00 00 00 00 12 00 00 00 00 00 00 00 00 00 00
Writing  time:    5.294s
Average write speed 575.6x.
Fixating...
Fixating time:   77.019s
cdrecord-prodvd: fifo had 1095 puts and 73 gets.
cdrecord-prodvd: fifo was 0 times empty and 2 times full, min fill was 96%.
Exit 254

Thank you very much,

	Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch

  reply	other threads:[~2003-01-25 14:16 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 17:52 Joerg Schilling
2003-01-23 18:01 ` Gregoire Favre
2003-01-23 18:06   ` Jens Axboe
2003-01-23 18:10     ` Jens Axboe
2003-01-23 18:55       ` Gregoire Favre
2003-01-23 19:07         ` Jens Axboe
2003-01-23 19:21           ` Gregoire Favre
2003-01-23 21:18             ` Jens Axboe
2003-01-23 21:54               ` Gregoire Favre
2003-01-24  7:55                 ` Jens Axboe
2003-01-24  9:10     ` Henning P. Schmiedehausen
2003-01-24  9:26       ` Jens Axboe
2003-01-25 14:25         ` Gregoire Favre [this message]
2003-01-26 16:23           ` Jens Axboe
2003-01-26 16:38             ` Gregoire Favre
2003-01-23 18:02 ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2003-01-22 15:38 Joerg Schilling
2003-01-22  8:23 Joerg Schilling
2003-01-22  8:35 ` Jens Axboe
2003-01-22  9:47   ` Gregoire Favre
2003-01-22 12:57   ` Bob_Tracy(0000)
2003-01-23 17:51   ` Gregoire Favre
2003-01-22 12:00 ` Andre Hedrick
2003-01-22 18:13 ` William Lee Irwin III
2003-01-22  1:09 Joerg Schilling
2003-01-22  8:05 ` Jens Axboe
2003-01-21 22:07 Gregoire Favre

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=20030125142547.GB18989@ulima.unil.ch \
    --to=greg@ulima.unil.ch \
    --cc=axboe@suse.de \
    --cc=hps@intermeta.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®