ASUS CD-ROM problem reading CD-RW

linux

ASUS CD-ROM problem reading CD-RW

Postby Michal Kosmulski » Thu, 13 Nov 2003 00:30:13 GMT

ello,

this is my first post to lkml, please excuse if my post is against the
guidelines of the mailing list in any way. Please also CC: any answers to
my e-mail address as I am not subscribed to the list.

I own a 40x ASUS CD-ROM drive CD-S400 (this is an IDE drive but it runs
under ide-scsi). Recently I noticed that more and more CD-Rs and CD-RWs
can't be read by the drive under linux. However, under windows (95) on the
same machine, most of those CDs can be read.
A more complete description of my system can be found at the end of this
post.

The drive's behavior under linux is somewhat strange. I made a test with
several different brands of CD-Rs and CD-RWs (further in this document I
will refer to them as CDs; I have not experienced any problems with
regular (not recordable) CD-ROMs yet), recorded with two different
recorders and here's what I noticed:

1. some of the CDs simply wouldn't mount; that's bad, but at least one
knows there's some kind of trouble

2. worse, some CD's would mount, but then the content of the files would
be corrupted. There were no I/O errors when reading the files, but the
file's content was not what it should have been. Archives would not unpack
etc. I had some BMP images on one of the disks and there I could easily
see random-colored horizontal lines in the image - some bytes were just
not read correctly, but instead of giving an error, the I/O subsystem just
read some garbage from the disks and returned that as the contents of the
file.
Note that while some of the lines were random-colored, some of them were
just black - this suggests there are two kinds of situations - in both of
them a buffer is returned although actually an I/O error should occur, but
in one case the buffer contains random data and in the other case it is
zeroed.

3. the strangest of all - I can perform the following experiment:
- take any of the CDs which behave like what is described in point 2.
- mount it
- md5sum any file larger than a few kB
- umount the disk
- mount it again
- md5sum the same file
- the md5sums differ ! The random bytes which are inserted are
different each time I mount the disk and they appear in different areas of
the file. I could see this with the BMP images: the funky random colored
lines appeared in different parts of the image each time the cd was
mounted. By mounting the CD several times and copying the parts of the
image which were not corrupted after that particular mount, and then
stitching them together with the GIMP, I would probably be able to
retrieve the whole image from the disk. By looking at the lines I could
find out how large areas of the disk could not be read - the length of the
lines varied greatly: from about a hundred pixels (meaning about 300 bytes
of data) to probably several thousand. Sometimes the lines seemed to be
located in a completely random fashin, but there were also groups of lines
which looked like this:
----------
----------
----------
This suggests, that there is a problematic area somewhere on the disk, so
that with each rotation of the disk, a "line of data bytes" going through
this area is read erronueously (the length of the lines in this patter was
uniform, and so was the vertical distance between the lines as well as the
horizontal shift between them).

4. Now, hadn't I accidentally tried to read one of the "broken" CDs under
windows, I would have thaught that e

Re: ASUS CD-ROM problem reading CD-RW

Postby Michal Kosmulski » Thu, 13 Nov 2003 06:40:15 GMT

> > I own a 40x ASUS CD-ROM drive CD-S400 (this is an IDE drive but it runs
I like k3b and other kde tools dealing with CDs and they require the use
of ide-scsi at least as far as I know (I tried to use cdrecord 2 without
ide-scsi with k3b but without success). I use k3b because I sometimes use
an external usb cd-recorder. However it is currently not connected to the
system.
Michal


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to  XXXX@XXXXX.COM 
More majordomo info at   http://www.**--****.com/ 
Please read the FAQ at   http://www.**--****.com/ 

Re: ASUS CD-ROM problem reading CD-RW

Postby Gene Heskett » Thu, 13 Nov 2003 12:10:11 GMT



k3b does indeed allow the use of straight ide access for at least 
kernel 2.6.0-test9-mm2.  I'm running it that way.  Likewise, grip 
seems to be happy as long as /dev/cdrom is a softlink to /dev/hdc.
I'm running both of them that way here.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to  XXXX@XXXXX.COM 
More majordomo info at   http://www.**--****.com/ 
Please read the FAQ at   http://www.**--****.com/ 

Similar Threads:

1.Reading CD-RWs in a CD-ROM Drive

I've got a Linux box running the SuSE 9 distro.  Today I was looking
to read the contents of a CD-RW in the CD-ROM drive (the Linux box
doesn't have a CD writer), and KDE came back with an error that no
media was found.  Is there some software that I need to run to allow
this?

Thanks.
Bill Lugg

2.PROBLEM: Impossible to read files from a CD-Rom

3.cd rom RW not accessible

i have mandrake 9.0
when i click on the cd rom icon on the desktop in order to start a
music cd, i get the following message

'unable to open file :mnt/cdrom. i do not have access'
i would appreciate help on resolving this problem. thank you.
 XXXX@XXXXX.COM 

4.Sony CD-RW/DVD-ROM CRX320E

I just bought a new CD burner, Sony CD-RW CRX320E.  I'm running
Slackware 10.0 with kernel 2.4.26.  I installed the drive and it reads
CDs, but when I try to burn CDs it gives me errors.  It can't run in DAO,
so I tried TAO.  It then gives me a buffer underrun error.  It then
gives me unknown errors.  Does anyone know if this drive works in kernel
2.4 or do I need 2.6?

Selex

5.Looking for CD-ROM RW for Linux redhat 7.1

I am seeking advice for purchasing CD-ROM RW for my box running Redhat
7.1...any advice will be welcomed.

Thanks

Rey

6. Sony DVD-RW/CD-RW drive problems

7. PROBLEM: Panic reading EFS CDs on SCSI CD drives through loop

8. PROBLEM: Linux ATAPI CDROM ->FIX: SAMSUNG CD-ROM SC-140



Return to linux

 

Who is online

Users browsing this forum: No registered users and 26 guest