From owner-freebsd-scsi Sat Jun 8 13:37:43 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 2C24537B403 for ; Sat, 8 Jun 2002 13:37:39 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g58KbH912948; Sat, 8 Jun 2002 14:37:17 -0600 (MDT) (envelope-from ken) Date: Sat, 8 Jun 2002 14:37:17 -0600 From: "Kenneth D. Merry" To: Nadav Eiron Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Problems using cdrecord and a Yamaha CRW4416S CD-RW drive Message-ID: <20020608143717.A12905@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from nadav@TheEirons.org on Sat, Jun 08, 2002 at 01:28:44PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 2 lun 0 (pass1,da1) > at scbus0 target 3 lun 0 (pass2,da2) > at scbus0 target 5 lun 0 (pass3,cd0) > at scbus0 target 6 lun 0 (pass4,cd1) > 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