2003-01-19 12:51:48

by Gregoire Favre

[permalink] [raw]
Subject: Status of ide-cdrom writing?

Hello,

I sent this email to the cdwrite ml a while ago, and the conclusion was
that it was a kernel bug... so I forward here ;-)

I got the same result with 2.5.58 (I need to compil a 2.5.59...).

Thank you very much ;-)

----- Forwarded message from Gregoire Favre <[email protected]> -----

Date: Sun, 12 Jan 2003 22:58:50 +0100
From: Gregoire Favre <[email protected]>
To: [email protected]
Subject: Status of ide writing?

Hello,

is it possible to burn without idescsi under 2.5.56?

I got:

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 3502 MB
Total size: 3502 MB = 1793056 sectors
Current Secsize: 2048
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 505440
Starting to write CD/DVD at speed 1 in real SAO mode for single session.
Last chance to quit, starting real write in 9 seconds. 0.28% done, estimate finish Sun Jan 12 22:32:14 2003
0.56% done, estimate finish Sun Jan 12 22:29:15 2003
0.84% done, estimate finish Sun Jan 12 22:28:15 2003
1.12% done, estimate finish Sun Jan 12 22:27:45 2003
8 seconds. 1.39% done, estimate finish Sun Jan 12 22:28:39 2003
1.67% done, estimate finish Sun Jan 12 22:28:15 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 3502 MB written (fifo 99%) 13.1x.cdrecord-prodvd: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 08 B8 00 00 1F 00
status: 0x1 (GOOD STATUS)
resid: 63488
cmd finished after 0.011s 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.315s
Average write speed 501.9x.
Fixating...
Fixating time: 84.976s
cdrecord-prodvd: fifo had 1095 puts and 73 gets.
cdrecord-prodvd: fifo was 0 times empty and 7 times full, min fill was 99%.
Exit 254

Should I compil again with ide-scsi?

Thank you very much,

Gr?goire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]


2003-01-19 14:58:29

by Paul Erkkila

[permalink] [raw]
Subject: Re: Status of ide-cdrom writing?


I can confirm it worked this morning with 2.5.58.

cdrecord --version
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling

uname -a
Linux nipplehead 2.5.58 #77 Thu Jan 16 02:57:13 GMT 2003 i686 AMD
Athlon(TM) XP2000+ AuthenticAMD GNU/Linux

I do know vcdxrip hasn't worked since 2.5.42 or so.

This is a 1/2 gentoo, 1/2 my fault box.

-pee


Gregoire Favre wrote:

>Hello,
>
>I sent this email to the cdwrite ml a while ago, and the conclusion was
>that it was a kernel bug... so I forward here ;-)
>
>I got the same result with 2.5.58 (I need to compil a 2.5.59...).
>
>Thank you very much ;-)
>
>----- Forwarded message from Gregoire Favre <[email protected]> -----
>
>Date: Sun, 12 Jan 2003 22:58:50 +0100
>From: Gregoire Favre <[email protected]>
>To: [email protected]
>Subject: Status of ide writing?
>
>Hello,
>
>is it possible to burn without idescsi under 2.5.56?
>
>I got:
>
>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 3502 MB
>Total size: 3502 MB = 1793056 sectors
>Current Secsize: 2048
>Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 505440
>Starting to write CD/DVD at speed 1 in real SAO mode for single session.
>Last chance to quit, starting real write in 9 seconds. 0.28% done, estimate finish Sun Jan 12 22:32:14 2003
> 0.56% done, estimate finish Sun Jan 12 22:29:15 2003
> 0.84% done, estimate finish Sun Jan 12 22:28:15 2003
> 1.12% done, estimate finish Sun Jan 12 22:27:45 2003
> 8 seconds. 1.39% done, estimate finish Sun Jan 12 22:28:39 2003
> 1.67% done, estimate finish Sun Jan 12 22:28:15 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 3502 MB written (fifo 99%) 13.1x.cdrecord-prodvd: Input/output error. write_g1: scsi sendcmd: no error
>CDB: 2A 00 00 00 08 B8 00 00 1F 00
>status: 0x1 (GOOD STATUS)
>resid: 63488
>cmd finished after 0.011s 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.315s
>Average write speed 501.9x.
>Fixating...
>Fixating time: 84.976s
>cdrecord-prodvd: fifo had 1095 puts and 73 gets.
>cdrecord-prodvd: fifo was 0 times empty and 7 times full, min fill was 99%.
>Exit 254
>
>Should I compil again with ide-scsi?
>
>Thank you very much,
>
> Gr?goire
>________________________________________________________________
>http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>

2003-01-19 15:16:00

by Gregoire Favre

[permalink] [raw]
Subject: Re: Status of ide-cdrom writing?

On Sun, Jan 19, 2003 at 03:00:44PM +0000, Paul E. Erkkila wrote:

> I can confirm it worked this morning with 2.5.58.
>
> cdrecord --version
> Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
>
> uname -a
> Linux nipplehead 2.5.58 #77 Thu Jan 16 02:57:13 GMT 2003 i686 AMD
> Athlon(TM) XP2000+ AuthenticAMD GNU/Linux
>
> I do know vcdxrip hasn't worked since 2.5.42 or so.
>
> This is a 1/2 gentoo, 1/2 my fault box.

Well, lots of people have CD-writer working, as you don't tell which
unit you have, I don't know wheter it's a CD or a DVD writer one???

And are you really not using ide-scsi?

Is there anybody which has success with DVD-writer under 2.5.59 without
ide-scsi?

Thank you very much,

Gr?goire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]

2003-01-19 15:50:30

by Shane Shrybman

[permalink] [raw]
Subject: Re: Status of ide-cdrom writing?

Hi,

[..SNIP..]

Starting to write CD/DVD at speed 1 in real SAO mode for single session.
Last chance to quit, starting real write in 9 seconds. 0.28% done,
estimate finish Sun Jan 12 22:32:14 2003
0.56% done, estimate finish Sun Jan 12 22:29:15 2003
0.84% done, estimate finish Sun Jan 12 22:28:15 2003
1.12% done, estimate finish Sun Jan 12 22:27:45 2003
8 seconds. 1.39% done, estimate finish Sun Jan 12 22:28:39 2003
1.67% done, estimate finish Sun Jan 12 22:28:15 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 3502 MB written (fifo 99%) 13.1x.cdrecord-prodvd:
Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 08 B8 00 00 1F 00
status: 0x1 (GOOD STATUS)
resid: 63488
cmd finished after 0.011s timeout 100s

I am using 2.5.59-mm2 and cd writing seems to work well if you don't use
SAO/DAO mode, use TAO instead. My drive claims to support SAO and it
used to work with ide-scsi but I get the same error as you if I try SAO
now.

Regards,

Shane

2003-01-19 16:17:16

by Gregoire Favre

[permalink] [raw]
Subject: Re: Status of ide-cdrom writing?

On Sun, Jan 19, 2003 at 10:59:31AM -0500, Shane Shrybman wrote:

> I am using 2.5.59-mm2 and cd writing seems to work well if you don't use
> SAO/DAO mode, use TAO instead. My drive claims to support SAO and it
> used to work with ide-scsi but I get the same error as you if I try SAO
> now.

Hello,

thank you very much for the info ;-)
I find it a little strange to be forced to forget SAO...

Gr?goire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]

2003-01-19 17:06:15

by Rudmer van Dijk

[permalink] [raw]
Subject: Re: Status of ide-cdrom writing?

On Sunday 19 January 2003 16:24, Gregoire Favre wrote:
> On Sun, Jan 19, 2003 at 03:00:44PM +0000, Paul E. Erkkila wrote:
>
> > I can confirm it worked this morning with 2.5.58.
> >
> > cdrecord --version
> > Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> >
> > uname -a
> > Linux nipplehead 2.5.58 #77 Thu Jan 16 02:57:13 GMT 2003 i686 AMD
> > Athlon(TM) XP2000+ AuthenticAMD GNU/Linux
> >
> > I do know vcdxrip hasn't worked since 2.5.42 or so.
> >
> > This is a 1/2 gentoo, 1/2 my fault box.
>
> Well, lots of people have CD-writer working, as you don't tell which
> unit you have, I don't know wheter it's a CD or a DVD writer one???
>
> And are you really not using ide-scsi?
>
> Is there anybody which has success with DVD-writer under 2.5.59 without
> ide-scsi?

yep:

Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev= "/dev/hdc"
fs=4096k -v driveropts=burnfree speed=16 -eject -pad tsize=14928s -

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
Cdrecord 1.11a40 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.7'
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'CD-RW GCE-8240B '
Revision : '1.06'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 6037504 = 5896 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 29 MB padsize: 30 KB
Total size: 33 MB (03:19.26) = 14945 sectors
Lout start: 33 MB (03:21/20) = 14945 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 2
Reference speed: 6
Is not unrestricted
Is erasable
Disk sub type: High speed Rewritable (CAV) media (1)
ATIP start of lead in: -11077 (97:34/23)
ATIP start of lead out: 336075 (74:43/00)
1T speed low: 4 1T speed high: 10
power mult factor: 2 6
recommended erase/write power: 5
A1 values: 24 2C DC
A2 values: 00 00 00
Disk type: Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 336075 Blocks current: 336075 Blocks remaining: 321130
Starting to write CD/DVD at speed 10 in real TAO mode for single session.
0 seconds. Operation starts.
Waiting for reader process to fill input buffer ...
input buffer ready.
BURN-Free is ON.
Performing OPC...
Starting new track at sector: 0

Track 01: writing 30 KB of pad data.
Track 01: Total bytes read/written: 30572544/30603264 (14943 sectors).
Writing time: 27.663s
Average write speed 7.2x.
Min drive buffer fill was 99%
Fixating...
Fixating time: 25.951s

to check that it really worked:

rudmer:~ # mount /mnt/cdrom/
rudmer:~ # ls /mnt/cdrom/
test_file_for_burning
rudmer:~ # cmp test_file_for_burning /mnt/cdrom/test_file_for_burning
rudmer:~ #

so it works for me(TM)...

Rudmer

2003-01-19 17:27:34

by Gregoire Favre

[permalink] [raw]
Subject: Re: Status of ide-cdrom writing?

On Sun, Jan 19, 2003 at 06:15:10PM +0100, Rudmer van Dijk wrote:

> > Is there anybody which has success with DVD-writer under 2.5.59 without
> > ide-scsi?
>
> yep:
> ...
> Identifikation : 'CD-RW GCE-8240B '

I doubt you could write a DVD-R with such an unit, or am I wrong?
And I should also add with DAO/SAO ;-)

Thank you very much,

Gr?goire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]

2003-01-19 18:06:44

by Rudmer van Dijk

[permalink] [raw]
Subject: Re: Status of ide-cdrom writing?

On Sunday 19 January 2003 18:36, Gregoire Favre wrote:
> On Sun, Jan 19, 2003 at 06:15:10PM +0100, Rudmer van Dijk wrote:
>
> > > Is there anybody which has success with DVD-writer under 2.5.59 without
> > > ide-scsi?
> >
> > yep:
> > ...
> > Identifikation : 'CD-RW GCE-8240B '
>
> I doubt you could write a DVD-R with such an unit, or am I wrong?
> And I should also add with DAO/SAO ;-)

oops, as i was reading this thread I thought lets try to burn again, as it
did not work around 2.5.56.
your first question was: is it possible to burn without idescsi under 2.5.56?
so i answered that one and so i mist the 'dvd' part in your second question...

if it can burn in sao/dao i don't know, will try that later

Rudmer