From owner-freebsd-firewire Mon Nov 4 22: 1:56 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BEB437B401; Mon, 4 Nov 2002 22:01:50 -0800 (PST) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 953BD43E42; Mon, 4 Nov 2002 22:01:49 -0800 (PST) (envelope-from kleiner@panix.com) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail3.panix.com (Postfix) with ESMTP id 7AC3D98816; Tue, 5 Nov 2002 01:01:43 -0500 (EST) Received: (from kleiner@localhost) by panix5.panix.com (8.11.6/8.8.8/PanixN1.0) id gA561hV25005; Tue, 5 Nov 2002 01:01:43 -0500 (EST) Date: Tue, 5 Nov 2002 01:01:43 -0500 From: David Kleiner To: "Kenneth D. Merry" Cc: Hidetoshi Shimokawa , Dmitry Mottl , freebsd-firewire@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: VAIO Firewire dock station with DVD-ROM Message-ID: <20021105060143.GA24764@panix.com> References: <20021025184837.C227-100000@localhost> <20021104073302.GA27648@panix.com> <20021104210348.A41448@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104210348.A41448@panzer.kdm.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 04, 2002 at 09:03:48PM -0700, Kenneth D. Merry wrote: > On Tue, Nov 05, 2002 at 11:40:01 +0900, Hidetoshi Shimokawa wrote: > > At Mon, 4 Nov 2002 02:33:02 -0500, > > David Kleiner wrote: > > > > > > Hidetoshi-san, > > > > > > I have just rebuilt my RELENG_4 world with just imported > > > firewire support. > > > > > > Here is what I am getting when trying to run cdcontrol: > > .. > > > (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c 0 > > > (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0 > > > (cd0:sbp0:0:0:0): Invalid command operation code > > > > Could you try the CAM patch which Ken posted to the list? > > I've attached a -stable version of the patch. > > Keep in mind that this version has a bit of extra debugging output, so > don't be alarmed if it is a bit more chatty than you expect. > > Ken > -- > Kenneth Merry > ken@kdm.org Ken, I had applied your patch and rebuilt kernel - when I tried cdcontrol/cdplay, I got this streaming messages below (very chatty). CD didn't play, system eventually crashed, unfortunately, I don't have the dump. Thank you, David ======================================================================= error messages after cdcontrol ======================================================================= Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c 0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code Nov 4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:000026084 Nov 4 21:42:50 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:42:50 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 aa 00 0c 00, flags: 0x40, 6b cmd/32b data/32b sense Nov 4 21:42:50 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20 qlfr 0 len 7 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE_SENSE(6)/MODE_SELECT(6) fail ed, increasing minimum CDB size to 10 bytes Nov 4 21:42:50 mal /kernel: CAM Status 0x8c Nov 4 21:42:50 mal /kernel: SCSI Status 0x2 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c 0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code Nov 4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:0000261b8 Nov 4 21:42:50 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:42:50 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 aa 00 0c 00, flags: 0x40, 6b cmd/32b data/32b sense Nov 4 21:42:50 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20 qlfr 0 len 7 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE_SENSE(6)/MODE_SELECT(6) fail ed, increasing minimum CDB size to 10 bytes Nov 4 21:42:50 mal /kernel: CAM Status 0x8c Nov 4 21:42:50 mal /kernel: SCSI Status 0x2 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c 0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code Nov 4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:0000262ec Nov 4 21:42:50 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:42:50 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 aa 00 0c 00, flags: 0x40, 6b cmd/32b data/32b sense Nov 4 21:42:50 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20 qlfr 0 len 7 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE_SENSE(6)/MODE_SELECT(6) fail ed, increasing minimum CDB size to 10 bytes Nov 4 21:42:50 mal /kernel: CAM Status 0x8c Nov 4 21:42:50 mal /kernel: SCSI Status 0x2 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c 0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0 Nov 4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code Nov 4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:000026420 ======================================================================= My boot messages: ======================================================================= Nov 4 21:46:47 mal /kernel: agp0: mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 3 at device 2.0 on pci0 Nov 4 21:46:47 mal /kernel: pcib1: at device 30.0 on pci0 Nov 4 21:46:47 mal /kernel: pci1: on pcib1 Nov 4 21:46:47 mal /kernel: fwohci0: mem 0xf41000 00-0xf4103fff,0xf4105000-0xf41057ff irq 3 at device 0.0 on pci1 Nov 4 21:46:47 mal /kernel: fwohci0: PCI bus latency was changing to 250. Nov 4 21:46:47 mal /kernel: cache size 8. Nov 4 21:46:47 mal /kernel: fwohci0: OHCI version 1.0 (ROM=1) Nov 4 21:46:47 mal /kernel: fwohci0: No. of Isochronous channel is 4. Nov 4 21:46:47 mal /kernel: fwohci0: resetting OHCI...done (0) Nov 4 21:46:47 mal /kernel: fwohci0: BUS_OPT 0xa002 -> 0xf800a002 Nov 4 21:46:47 mal /kernel: fwohci0: Link 1394a available S400, 2 ports, maxrec 2048 bytes. Nov 4 21:46:47 mal /kernel: fwohci0: Enable 1394a Enhancements Nov 4 21:46:47 mal /kernel: fwohci0: EUI64 08:00:46:03:00:c4:89:4d Nov 4 21:46:47 mal /kernel: fwochi_set_intr: 1 Nov 4 21:46:47 mal /kernel: firewire0: on fwohci0 Nov 4 21:46:47 mal /kernel: firewire0: firewire bus attach Nov 4 21:46:47 mal /kernel: sbp_identify Nov 4 21:46:47 mal /kernel: sbp_probe Nov 4 21:46:47 mal /kernel: sbp0: on firewire0 Nov 4 21:46:47 mal /kernel: sbp_attach Nov 4 21:46:47 mal /kernel: pcic0: irq 0 at device 2.0 on pci1 Nov 4 21:46:47 mal /kernel: pcic0: PCI Memory allocated: 0x88000000 Nov 4 21:46:47 mal /kernel: pcic0: Polling mode Nov 4 21:46:47 mal /kernel: pccard0: on pcic0 Nov 4 21:46:47 mal /kernel: fxp0: port 0x3000-0x303f m em 0xf4104000-0xf4104fff irq 9 at device 8.0 on pci1 Nov 4 21:46:47 mal /kernel: fxp0: Ethernet address 08:00:46:18:28:94 Nov 4 21:46:47 mal /kernel: inphy0: on miibus 0 Nov 4 21:46:47 mal /kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX -FDX, auto Nov 4 21:46:47 mal /kernel: isab0: at device 31.0 on pci0 Nov 4 21:46:47 mal /kernel: isa0: on isab0 Nov 4 21:46:47 mal /kernel: atapci0: port 0x1800 -0x180f at device 31.1 on pci0 Nov 4 21:46:47 mal /kernel: ata0: at 0x1f0 irq 14 on atapci0 Nov 4 21:46:47 mal /kernel: ata1: at 0x170 irq 15 on atapci0 Nov 4 21:46:47 mal /kernel: uhci0: 1 (loop=0) Nov 4 21:46:48 mal /kernel: send phy_config root_node=-1 gap_count=1 Nov 4 21:46:48 mal /kernel: start AT DMA status=0 Nov 4 21:46:48 mal /kernel: firewire0:Discover new S400 device ID:0800460300ca6 473 Nov 4 21:46:48 mal /kernel: bus_explore done Nov 4 21:46:48 mal /kernel: Device SBP-II Nov 4 21:46:48 mal /kernel: sbp_post_explore: EUI:0800460300ca6473 spec=1 key=1 . Nov 4 21:46:48 mal /kernel: sbp0:0:0 LOGIN Nov 4 21:46:48 mal /kernel: sbp0:0:0 ordered:1 type:5 EUI:0800460300ca6473 node :0 speed:2 maxrec:10 new! Nov 4 21:46:48 mal /kernel: sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1129' Nov 4 21:46:48 mal /kernel: sbp0:0:0 login: len 12, ID 0, cmd 0000fffff0010100, recon_hold 0 Nov 4 21:46:48 mal /kernel: sbp0:0:0 sbp_busy_timeout Nov 4 21:46:48 mal /kernel: sbp0:0:0 sbp_agent_reset Nov 4 21:46:48 mal /kernel: sbp0:0:0 sbp_do_attach Nov 4 21:46:48 mal /kernel: sbp0:0:0 sbp_cam_scan_lun Nov 4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:0000243a4 Nov 4 21:46:48 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 12 01 80 00 ff 00 00 00 00 00, flags: 0x40, 6b cmd/255b data/18b sense Nov 4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 24 qlfr 0 len 7 Nov 4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:0000244d8 Nov 4 21:46:48 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00 00 00, flags: 0xc0, 6b cmd/0b data/32b sense Nov 4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 6 code 29 qlfr 0 len 7 Nov 4 21:46:48 mal /kernel: ad0: 14403MB [29264/16/63] at a ta0-master UDMA66 Nov 4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:00002460c Nov 4 21:46:48 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00 00 00, flags: 0xc0, 6b cmd/0b data/32b sense Nov 4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 2 code 4 qlfr 1 len 7 Nov 4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:000024740 Nov 4 21:46:48 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00 00 00, flags: 0xc0, 6b cmd/0b data/32b sense Nov 4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 6 code 28 Nov 4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 6 code 28 qlfr 0 len 7 Nov 4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:000024c10 Nov 4 21:46:48 mal /kernel: sbp0:0:0 Request aborted Nov 4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 12 01 80 00 ff 00 00 00 00 00, flags: 0x40, 6b cmd/255b data/18b sense Nov 4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 24 qlfr 0 len 7 Nov 4 21:46:48 mal /kernel: (probe7:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 2 4 0 Nov 4 21:46:48 mal /kernel: (probe7:umass-sim0:0:0:0): NOT READY asc:3a,0 Nov 4 21:46:48 mal /kernel: (probe7:umass-sim0:0:0:0): Medium not present Nov 4 21:46:48 mal /kernel: Mounting root from ufs:/dev/ad0s2a Nov 4 21:46:48 mal /kernel: cd0 at sbp0 bus 0 target 0 lun 0 Nov 4 21:46:48 mal /kernel: cd0: Removable CD-ROM SCSI- 0 device Nov 4 21:46:48 mal /kernel: cd0: 50.000MB/s transfers Nov 4 21:46:48 mal /kernel: cd0: cd present [209755 x 2048 byte records] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message