Audio CD writing errors

Audio CD writing errors

Post by my.. » Mon, 02 Jun 1997 04:00:00



Thanks to the many folks who pointed me to "tosha", which reads CD audio
tracks from a SCSI CD-ROM drive.  Now that I've got my audio tracks on
disk, I'd like to burn a custom audio CD.  Here's the process I go through:

wormcontrol select PHILIPS CDD2000
wormcontrol prepdisk double
wormcontrol track audio
rtprio 5 team -v 1m 5 < track1.cdr | rtprio 5 dd of=/dev/rworm0 obs=23520
...
wormcontrol fixate 0

Except that the rtprio command line generates the following errors:

dd: /dev/rworm0: Invalid argument
92+0 records in
1+0 records out
23520 bytes transferred in 0.528387 secs (44513 bytes/sec)
team: guy pid 3495: error on upstream receive
team: stop remaining 4 guys
team: guy had error
team: guy pid 3496: guy was aborted
team: guy pid 3497: guy was aborted

And the console shows the following errors:

worm0(ahc1:4:0): ILLEGAL REQUEST asc:21,0 Logical block address out of range
worm0(ahc1:4:0): ILLEGAL REQUEST asc:b5,0 Vendor Specific ASC

Writing data CDs appears to work fine -- I just ran a dummy test case.  OS
is version 2.2.2; CD writer is a Philips CDD2600.

Any ideas?  Many thanks.

-David.

 
 
 

Audio CD writing errors

Post by J Wuns » Tue, 03 Jun 1997 04:00:00



> And the console shows the following errors:

> worm0(ahc1:4:0): ILLEGAL REQUEST asc:21,0 Logical block address out of range
> worm0(ahc1:4:0): ILLEGAL REQUEST asc:b5,0 Vendor Specific ASC

This is part of a larger patch by Jean-Marc Zucchoni that went into
-current.  It should fix your problem.

Index: /sys/scsi/worm.c
===================================================================
RCS file: /home/cvs/src/sys/scsi/worm.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -u -r1.38 -r1.39
--- worm.c      1997/05/10 12:12:47     1.38

                        flags |= SCSI_DATA_IN;
                }

+               worm->error = 0;

                lba = bp->b_blkno / (worm->blk_size / DEV_BSIZE);
                tl = bp->b_bcount / worm->blk_size;

-               scsi_uto4b(lba, &cmd.addr_3);
+               if (bp->b_flags & B_READ)
+                   /*
+                    * Leave the LBA as 0 for write operations, it
+                    * is reserved in this case (and wouldn't make
+                    * any sense to set it at all, since CD-R write
+                    * operations are in `streaming' mode anyway.
+                    */
+                   scsi_uto4b(lba, &cmd.addr_3);
                scsi_uto2b(tl, &cmd.length2);

                /*

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

Audio CD writing errors

Post by J Wuns » Tue, 03 Jun 1997 04:00:00



> And the console shows the following errors:

> worm0(ahc1:4:0): ILLEGAL REQUEST asc:21,0 Logical block address out of range
> worm0(ahc1:4:0): ILLEGAL REQUEST asc:b5,0 Vendor Specific ASC

This is part of a larger patch by Jean-Marc Zucchoni that went into
-current.  It should fix your problem.

Index: /sys/scsi/worm.c
===================================================================
RCS file: /home/cvs/src/sys/scsi/worm.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -u -r1.38 -r1.39
--- worm.c      1997/05/10 12:12:47     1.38

                        flags |= SCSI_DATA_IN;
                }

+               worm->error = 0;

                lba = bp->b_blkno / (worm->blk_size / DEV_BSIZE);
                tl = bp->b_bcount / worm->blk_size;

-               scsi_uto4b(lba, &cmd.addr_3);
+               if (bp->b_flags & B_READ)
+                   /*
+                    * Leave the LBA as 0 for write operations, it
+                    * is reserved in this case (and wouldn't make
+                    * any sense to set it at all, since CD-R write
+                    * operations are in `streaming' mode anyway.
+                    */
+                   scsi_uto4b(lba, &cmd.addr_3);
                scsi_uto2b(tl, &cmd.length2);

                /*

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

1. cdrdao error, unable to write mp3 to audio cd

Hello,

With my debian box (mainly woody + kde 3.1.1) kernel 2.4.20-1-K7 I can't
write audio cd's with cdrdao. I have used arson, k3b, cdbakeoven. I can
write data cd's with cdrecord.

The error I got from cdrdaoa:

cdrdao
-----------------------

  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver
tables.
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
0,0,0:  RW-321248       Rev: 1.00
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options
0x0000)
Starting write at speed 32...
Process can be aborted with QUIT signal (usually CTRL-\).
Using 96 byte raw P-W sub-channel data mode.
Executing power calibration...
Power calibration successful.
Writing lead-in and gap...
Wrote 1 of 27 MB. Wrote 2 of 27 MB. Wrote 3 of 27 MB. Wrote 4 of 27 MB.
Wrote 5 of 27 MB. Wrote 6 of 27 MB. Wrote 7 of 27 MB. Wrote 8 of 27 MB.
Wrote 9 of 27 MB. Wrote 10 of 27 MB. Wrote 11 of 27 MB. Wrote 12 of 27 MB.
Wrote 13 of 27 MB. Wrote 14 of 27 MB. Wrote 15 of 27 MB. Wrote 16 of 27 MB.
Wrote 17 of 27 MB. Wrote 18 of 27 MB. Wrote 19 of 27 MB. Wrote 20 of 27 MB.
Wrote 21 of 27 MB. Wrote 22 of 27 MB. Wrote 23 of 27 MB. Wrote 24 of 27 MB.
Wrote 25 of 27 MB. Wrote 26 of 27 MB. Wrote 27 of 27 MB. Writing track 01
(mode AUDIO/AUDIO )...
Wrote 1 of 738 MB (Buffer 100%).
?: Input/output error.  : scsi sendcmd: no error
CDB:  2A 00 00 00 02 0D 00 00 1A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0C 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.160s timeout 20s
ERROR: Write data failed.
ERROR: Writing failed - buffer under run?
ERROR: Writing failed.

I followed the instruction from the cd-howto and also other found with
google. Is there anybody Who knows what the problem is. In the past
(kernel 2.4.18-K7) I could write audio cd's.

Any help will be appreciate.

Johnny

2. How to make NT and linux dual boot in my PC

3. Can LG CD-RW CED-8080B write audio CD's in RedHat 7.2?

4. Network cameras

5. Burning data/audio CD Error Audio

6. DE-600TP-E does not work in Linux

7. Creative CD-ROM audio cd errors

8. Somebody please tell me how to learn!

9. error writing CD with Plextor-CD-writer

10. Writing audio CD with a HP 7200i

11. Noise on CD Audio when writing to screen in XF86

12. cdrecord: Problems writing audio CD

13. cdrecord 1.10 LG CD-RW CED-8080B audio write won't work