From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 21:24:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA1CB37B401 for ; Sun, 22 Jun 2003 21:24:46 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3C6943FAF for ; Sun, 22 Jun 2003 21:24:45 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h5N4Oj5e050636; Sun, 22 Jun 2003 22:24:45 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h5N4OiIB050635; Sun, 22 Jun 2003 22:24:44 -0600 (MDT) (envelope-from ken) Date: Sun, 22 Jun 2003 22:24:44 -0600 From: "Kenneth D. Merry" To: Guy Middleton Message-ID: <20030622222444.A50593@panzer.kdm.org> References: <20030618020102.GA97491@chaos.obstruction.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030618020102.GA97491@chaos.obstruction.com>; from guy@obstruction.com on Tue, Jun 17, 2003 at 10:01:02PM -0400 cc: current@freebsd.org Subject: Re: SCSI CD mount problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 04:24:47 -0000 On Tue, Jun 17, 2003 at 22:01:02 -0400, Guy Middleton wrote: > I have a Yamaha CRW4416S CD drive as /dev/cd0. When I try to mount a disk, > it says "cd9660: /dev/cd0: Invalid argument", and this in the log file: > > (cd0:ahc0:0:3:0): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0 > (cd0:ahc0:0:3:0): CAM Status: SCSI Status Error > (cd0:ahc0:0:3:0): SCSI Status: Check Condition > (cd0:ahc0:0:3:0): ILLEGAL REQUEST asc:21,0 > (cd0:ahc0:0:3:0): Logical block address out of range > (cd0:ahc0:0:3:0): Unretryable error > (cd0:ahc0:0:3:0): cddone: got error 0x16 back > > > I know the drive works, I can write good disks with it. What's happening > here? This is on 5.1-RELEASE. It's complaining that we're trying to access a logical block address that isn't on the CD. Since it is trying to read block 16 (0x10) from the CD, my guess is that it is a blank CD. Does it do that for every CD, or just that one? What does dmesg say about the CD capacity if you boot? You can also get that CD's capacity like this: camcontrol cmd cd0 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4" The first number is the last LBA on the CD, the second one is the blocksize. Ken -- Kenneth Merry ken@kdm.org