NetBSD Problem Report #9191

Received: (qmail 17643 invoked from network); 15 Jan 2000 03:10:20 -0000
Message-Id: <200001150306.WAA00747@lust.indecency.org>
Date: Fri, 14 Jan 2000 22:06:19 -0500 (EST)
From: Keith Moore <moore@lust.indecency.org>
Reply-To: moore@indecency.org
To: gnats-bugs@gnats.netbsd.org
Subject: cdrecord won't work with SONY CDR-924S
X-Send-Pr-Version: 3.95

>Number:         9191
>Category:       kern
>Synopsis:       cdrecord won't work with SONY CDR-924S
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 14 19:12:00 +0000 2000
>Closed-Date:    Tue Jun 27 19:53:15 +0000 2000
>Last-Modified:  Tue Jun 27 19:53:15 +0000 2000
>Originator:     Keith Moore
>Release:        1.4.1
>Organization:
indecency.org
>Environment:
i386, NetBSD 1.4.1, cdrecord-1.8a31
System: NetBSD lust 1.4.1 NetBSD 1.4.1 (LUST) #1: Fri Jan 14 21:18:12 EST 2000 moore@lust:/usr/src/sys/arch/i386/compile/LUST i386


>Description:
	cdrecord fails with a SONY CDU-924S CD-R drive, even in -inq mode.
	the console complains about scsi command 0x25 (read capacity)
	not being supported by the drive.  read capacity seems to work
	okay if a cd-rom is in the drive but not if a blank disk is 
	in the drive (which actually makes sense to me, but I don't
	know how other drives behave)

>How-To-Repeat:
	hook up the aforementioned drive on ID 6, reboot, and do a 

	cdrecord dev=/dev/rcd0d:0,6,0 -dummy -inq

	look at the message displayed on the console
	(as well as the stderr output of cdrecord)

>Fix:
	add the following to the quirk table in /sys/dev/scsipi/scsiconf.c:

         "SONY    ", "CD-R   CDU924S  ", "1.1d"}, ADEV_NOCAPACITY},
        {{T_CDROM, T_REMOV,

	(why can't this quirk bit be set automagically if the read capacity
	command fails?)

	(would it be useful to have SCIOSETQUIRK and SCIOGETQUIRK ioctls?
	then the quirks could be maintained in a text file which was 
	scanned from /etc/rc*, rather than by compiling them into the kernel)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Tue Jan 18 08:24:03 PST 2000 
State-Changed-Why:  
Because the SONY CDU-924S  supports the read capacity command your fix 
is not appropriate. Please retry with "cdrecord-1.8a36" and tell us if 
it works. If it doesn't you should also send a bug report to the author. 
State-Changed-From-To: feedback->closed 
State-Changed-By: fair 
State-Changed-When: Tue Jun 27 12:52:51 PDT 2000 
State-Changed-Why:  
No response in five months; presume that the problem is resolved. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.