From owner-freebsd-scsi Tue Oct 22 22:31:50 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FA8737B401; Tue, 22 Oct 2002 22:31:49 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A82543E4A; Tue, 22 Oct 2002 22:31:48 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g9N5VgKD042624; Tue, 22 Oct 2002 23:31:42 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g9N5Ve4V042623; Tue, 22 Oct 2002 23:31:40 -0600 (MDT) (envelope-from ken) Date: Tue, 22 Oct 2002 23:31:40 -0600 From: "Kenneth D. Merry" To: Hidetoshi Shimokawa Cc: Dmitry Mottl , freebsd-firewire@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: VAIO Firewire dock station with DVD-ROM Message-ID: <20021022233140.A42587@panzer.kdm.org> References: <20021022154423.X217-100000@localhost> 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 simokawa@sat.t.u-tokyo.ac.jp on Wed, Oct 23, 2002 at 10:50:44AM +0900 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 Wed, Oct 23, 2002 at 10:50:44 +0900, Hidetoshi Shimokawa wrote: > At Tue, 22 Oct 2002 15:54:03 +0400 (MSD), > Dmitry Mottl wrote: > > > > Hello, > > > > I have Sony VAIO laptop and I have successfuly installed firewire driver (/sys/dev/firewire/*) on it and i'm > > using DVD on DockStation without any problems except one -- i can't listen audio CD-ROMs. > > CD-ROM can be mount in usual way and all is going fine, if it has data (not audio) format. > > > > If i try to play audio with /usr/sbin/cdcontrol, following messages appear: > > > > Oct 22 15:42:06 VAIO /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:c orb:000025270 > > Oct 22 15:42:06 VAIO /kernel: sbp0:0:0 Request aborted > > Oct 22 15:42:06 VAIO /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 aa 00 0c 00, flags: 0x40, 6b cmd/28b data/32b sense > > Oct 22 15:42:06 VAIO /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20 qlfr 0 len 7 > > Oct 22 15:42:06 VAIO /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c 0 > > Oct 22 15:42:06 VAIO /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0 > > Oct 22 15:42:06 VAIO /kernel: (cd0:sbp0:0:0:0): Invalid command operation code > > > > Thank you for your advice. > > This seems another 6bytes and 10bytes command problem. > /sys/cam/scsi/scsi_cd.c issues "MODE SENSE(6)" though the DVD drive > doesn't support it. > We need some workaround to use "MODE SENSE(10)". I've got some patches that address this in the cd(4) driver, although they aren't quite ready to test. The right way to fix this is to have 6/10 byte capability defined as part of the protocol information. (This would be part of the CAM_NEW_TRAN_CODE stuff.) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message