Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2002 14:37:17 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Nadav Eiron <nadav@TheEirons.org>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Problems using cdrecord and a Yamaha CRW4416S CD-RW drive
Message-ID:  <20020608143717.A12905@panzer.kdm.org>
In-Reply-To: <Pine.BSF.4.21_heb2.09.0206081322001.15590-100000@piglet.theeirons.org>; from nadav@TheEirons.org on Sat, Jun 08, 2002 at 01:28:44PM -0700
References:  <Pine.BSF.4.21_heb2.09.0206081322001.15590-100000@piglet.theeirons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 08, 2002 at 13:28:44 -0700, Nadav Eiron wrote:
> Greetings,
> 
> I have a SCSI-only machine (AHA-2940U2 controller), running 4.5-STABLE
> from early April. It has a Yamaha 4x4x16 CD-RW drive, that I can use fine
> for reading (as /dev/cd1c), but I cannot get cdrecord to recognize. I.e.,
> camcontrol shows it:
> 
> piglet# camcontrol devlist
> <IBM DDRS-39130D DC1B>             at scbus0 target 0 lun 0 (pass0,da0)
> <IBM DDRS-39130D DC1B>             at scbus0 target 2 lun 0 (pass1,da1)
> <IBM DRVS09D 0100>                 at scbus0 target 3 lun 0 (pass2,da2)
> <TEAC CD-ROM CD-532S 1.0A>         at scbus0 target 5 lun 0 (pass3,cd0)
> <YAMAHA CRW4416S 1.0g>             at scbus0 target 6 lun 0 (pass4,cd1)
> <SanDisk ImageMate II 1.30>        at scbus1 target 0 lun 0 (da3,pass5)

Can you talk to it directly with camcontrol?

e.g.:

camcontrol tur cd1 -v
camcontrol inquiry cd1

> But cdrecord -scanbus doesn't:
> piglet# cdrecord -scanbus
> Cdrecord 1.11a19 (i386-unknown-freebsd4.5) Copyright (C) 1995-2002 JZrg
> Schilling
> Using libscg version 'schily-0.6'
> scsibus0:
>         0,0,0     0) 'IBM     ' 'DDRS-39130D     ' 'DC1B' Disk
>         0,1,0     1) *
>         0,2,0     2) 'IBM     ' 'DDRS-39130D     ' 'DC1B' Disk
>         0,3,0     3) 'IBM     ' 'DRVS09D         ' '0100' Disk
>         0,4,0     4) *
> cdrecord: Warning: controller returns zero sized CD capabilities page.
> cdrecord: Warning: controller returns wrong size for CD capabilities page.
> cdrecord: Warning: controller returns wrong page 0 for CD capabilities
> page (2A).
>         0,5,0     5) 'TEAC    ' 'CD-ROM CD-532S  ' '1.0A' Removable CD-ROM
>         0,6,0     6) *
>         0,7,0     7) *
> 
> There has been a similar problem reported to questions@ in January (see
> http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=5958+8394+/usr/local/www/db/text/2002/freebsd-questions/20020120.freebsd-questions
> ) but it seems to have not been resolved. I don't know if the warnings
> cdrecord gives for the TEAC CD-ROM have anything to do with it. FWIW, the
> guy who reported the similar problem to questions didn't have any
> warnings from cdrecord.
> 
> The CD-RW drive works fine on the same machine with WNT, and it also used
> to work long ago (I haven't used it for a year, at least), with FreeBSD
> 3.4 and the then-current cdrecord from ports. It may even have worked with
> FreeBSD 4.2, but I'm not sure about that.

My guess is that you haven't made enough pass(4) devices in /dev.

By default, I think there are 4 pass devices created, and since cd1 uses
the 5th pass device (pass4), it wouldn't have been created on install.

So go into /dev, and type:

su
./MAKEDEV pass10

That will make 10 pass devices.  (pass0 through pass9)

Ken
-- 
Kenneth Merry
ken@kdm.org

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




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