Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 22:25:14 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        arno@heho.snv.jussieu.fr
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG
Subject:   Re: Problem reading (and writing ...) Rewriteable CDs
Message-ID:  <20020207222514.A18292@panzer.kdm.org>
In-Reply-To: <wppu3iojat.fsf@heho.snv.jussieu.fr>; from arno@heho.snv.jussieu.fr on Wed, Feb 06, 2002 at 02:02:02PM %2B0100
References:  <wppu3iojat.fsf@heho.snv.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 06, 2002 at 14:02:02 +0100, arno@heho.snv.jussieu.fr wrote:
> 
> Hi,
> 
> ehmm, am I the only one who sees this problem (since end November):
> 
> I cannot mount, let alone burn, rewriteable CDs on -stable boxes (two)
> with adaptec SCSI-controller (one 1542, the other 2940) and
> SCSI-2 cd-writers. Recordable CDs read and write without any problem,
> changes settings in the Adaptec BIOS do not seem to make any difference.
> 
> step 1, put (Windows created) CDRW in cd-writer:
> 
>   su-2.05a# mount_cd9660 -v /dev/cd1c /cdrom
>   could not determine starting sector, using very first session
>   mount_cd9660: /dev/cd1c: Device not configured

Is there any dmesg information here?

What happens when you issue the following command:

camcontrol cmd cd1 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"

> step 2, put very same CDRW in cd-reader on very same machine:
> 
>   su-2.05a# mount_cd9660 -v /dev/cd0c /cdrom
>   using starting sector 0
>   su-2.05a# ls /cdrom
>   cd
>   su-2.05a#
> 
> step 3, put a CDR in cdwriter:
> 
>   su-2.05a# mount_cd9660  -v /dev/cd1c /cdw  
>   using starting sector 0
>   su-2.05a# ls -l /cdw
>   total 1
>   -r-xr-xr-x  1 root  wheel  3728 May  1  1997 readme.txt

At this point it really looks like you've got a media or drive problem.

If FreeBSD can read it in one drive, but not in another...the code paths
are the same for both.

> If this helps, this is the output when trying to blank a CDRW:
> 
>   su-2.05a# cdrecord -v dev=6,0 speed=1 blank=fast
>   Cdrecord 1.10 (i386-unknown-freebsd4.5) Copyright (C) 1995-2001 Jörg Schilling
>   TOC Type: 1 = CD-ROM
>   scsidev: '6,0'
>   scsibus: 0 target: 6 lun: 0
>   Using libscg version 'schily-0.5'
>   atapi: 0
>   Device type    : Removable CD-ROM
>   Version        : 2
>   Response Format: 2
>   Capabilities   : RELADR SYNC LINKED 
>   Vendor_info    : 'TEAC    '
>   Identifikation : 'CD-R55S         '
>   Revision       : '1.0F'
>   Device seems to be: Teac CD-R50S.
>   Using driver for Teac CD-R50S, Teac CD-R55S, JVC XR-W2010, Pinnacle RCD-5020 (teac_cdr50).
>   Driver flags   : SWABAUDIO
>   cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error
>   CDB:  00 00 00 00 00 00
>   status: 0x2 (CHECK CONDITION)
>   Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   Sense Key: 0x2 Not Ready, Segment 0
>   Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
>   Sense flags: Blk 0 (not valid) 
>   cmd finished after 0.005s timeout 40s
>   cdrecord: No disk / Wrong disk!

cdrecord doesn't see a disk in the drive.

Again, this looks like a media or drive problem, since cdrecord can talk to
the drive just fine.  (It has the inquiry information, and also has valid
sense information.)

> The other machine wich exhibits this behaviour, has a YAMAHA CRW4416S 1.0f cdwriter
> (and both of them work correctly for CDRWs until end November).
> 
> Any help, suggestions are appreciated. One of the machines is a production box, but
> the other is halted almost every evening and I can easily test a patched kernel.

Have you changed the type of media you're using?

Perhaps the lenses on the drives have gotten dirty?

If FreeBSD can talk to the drive at all, there's not a whole lot we can do
if the drive doesn't recognize the CD.

This appears to be a drive or media problem.

Try using a different kind of media (make sure it's rated for the same
speed range your drive is rated for), and if that doesn't seem to help, you
might look into how to clean the lens on the drive.  (I don't know how,
there might be instructions in the manual.)

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020207222514.A18292>