weird problem reading Adaptec-written CD-R

weird problem reading Adaptec-written CD-R

Post by Jim Shaffer, Jr » Tue, 16 Oct 2001 08:30:07



I have a CD-R with a bunch of MP3s on it.  I wrote it under Windows 98 SE with
Adaptec's software.  It was written as a UDF filesystem a few files at a time,
then converted to ISO9660 when it was full.  If I listen to the MP3s under
Linux, a number of them will 'skip', repeating a previously-played bit of music
for about a second at several spots.  If I listen to them on the system that
wrote them (physically the same as my Linux system), or on a Windows ME laptop,
they behave normally.  The files show up as exactly the same size in Linux and
Windows, but when I downloaded a fresh copy of one of them and did a diff, it
reported that they were different.  This rules out a bug in the program I was
using to play them, or in the encoding.  

I'm currently using Mandrake Linux 8.1, with kernel 2.4.8 SMP, but the problem
has been with me since at least early summer.  I can't pin down when it started
because it was only today that I thought to try the CD again under Windows.
Originally I was blaming player bugs, then I thought it might be a bad CD (which
it may be, for all I know, but Windows doesn't mind it.)

Does anyone have any suggestions what else I could look for, or ways to work
around this?  (Other than the obvious one of copying the CD to HD under Windows,
then burning a new one under Linux.)

 
 
 

1. Problem with reading CD-R/W written in TAO mode

I am using Mandrake kernel 2.4.18-13mdk (based on 2.4.19-pre7). There is
strange problem in raw-reading some CD-R/Ws (e.g. to verify checksum
like md5sum /dev/cdrom) reported by several people - read aborts with
I/O error at the end.

Experimenting with different CD-R/Ws lead to conclusion that CD-Rs
written in DAO are read correctly and those written in TAO (and possibly
multisession) give an error. Printed CD-Rs never show any error. It does
not seem to matter what program has been used to create CD - identical
problem appears using mkisofs/cdrecord and Nero (I cannot verify DAO
with cdrecord because it is not supported for my CDD-3610).

My first thought was that for some reason wrong CD size has been
reported, so I added printk to cdrom_read_toc() to verify the real size
it gets (toc->capacity). To my surprise bot DAO and TAO written CD-RWs
report identical capacity but reading disk written in TAO consistently
ends with error. There are no problems using both CDs as far as I can
tell.

Here are results of writing the same image:

-rw-r--r--    1 root     root     22118400 May  4 14:24 mindi.iso

once in DAO/close disk and once in TAO/leave disk open:

{pts/0}% dd if=/dev/cdrom of=/dev/null bs=2048
10800+0 records in
10800+0 records out
{pts/0}% dd if=/dev/cdrom of=/dev/null bs=2048
dd: reading `/dev/cdrom': Input/output error
10788+0 records in
10788+0 records out

and in dmesg:

{pts/2}% dmesg | grep 16:0
blkdev_size: dev = 16:00 size = 4294967295
ide-cd capacity = 10800 dev = 16:00
blkdev_size: dev = 16:00 size = 21600
ide-cd capacity = 10800 dev = 16:00
blkdev_size: dev = 16:00 size = 21600
end_request: I/O error, dev 16:00 (hdc), sector 43152
end_request: I/O error, dev 16:00 (hdc), sector 43156
end_request: I/O error, dev 16:00 (hdc), sector 43160
end_request: I/O error, dev 16:00 (hdc), sector 43164
end_request: I/O error, dev 16:00 (hdc), sector 43168
end_request: I/O error, dev 16:00 (hdc), sector 43172
end_request: I/O error, dev 16:00 (hdc), sector 43176
end_request: I/O error, dev 16:00 (hdc), sector 43180
end_request: I/O error, dev 16:00 (hdc), sector 43184
end_request: I/O error, dev 16:00 (hdc), sector 43188
end_request: I/O error, dev 16:00 (hdc), sector 43192
end_request: I/O error, dev 16:00 (hdc), sector 43196

errors are:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 43152
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 43156
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
... etc

Please, tell if I can provide any more info.

regards

-andrej

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. /etc/daily -- magic time?

3. Sockets: write() writes OK, yet read() reads garbage...?

4. Batch file

5. Weird read/write behaviour

6. Sendfax multiple pages problem

7. cd writing/reading problem

8. Tuff Competition for LINUX!

9. RH9 with HP 8200e CD burner, writes but has problems reading?

10. Problems reading CDs written on PC

11. Problems with serial link while reading or writing CDs

12. cd writing/reading problem

13. Reading CD-R & CD-RW with an ATAPI HP 7200e CD-Writer on RH 6.0...