From owner-freebsd-firewire Tue Nov 5 1: 0:44 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 273B937B401; Tue, 5 Nov 2002 01:00:40 -0800 (PST) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D06743E42; Tue, 5 Nov 2002 01:00:39 -0800 (PST) (envelope-from kleiner@panix.com) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail1.panix.com (Postfix) with ESMTP id 3B02F488CE; Tue, 5 Nov 2002 04:00:33 -0500 (EST) Received: (from kleiner@localhost) by panix5.panix.com (8.11.6/8.8.8/PanixN1.0) id gA590Xi29308; Tue, 5 Nov 2002 04:00:33 -0500 (EST) Date: Tue, 5 Nov 2002 04:00:33 -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: <20021105090033.GA29210@panix.com> References: <20021025184837.C227-100000@localhost> <20021104073302.GA27648@panix.com> <20021104210348.A41448@panzer.kdm.org> <20021105060143.GA24764@panix.com> <20021104231825.A42046@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104231825.A42046@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 11:18:25PM -0700, Kenneth D. Merry wrote: > On Tue, Nov 05, 2002 at 01:01:43 -0500, David Kleiner wrote: > > 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. > > It looks like that's the result of a brain-o. I forgot to change the > opcode. > > I've attached a new patch. It still has extra debugging output, in case > something doesn't work right. > > Ken > -- > Kenneth Merry > ken@kdm.org Ken, Still doesn't :( I re-applied the patch, errors are not streaming to /var/log/messages! What I get when trying to do cdcontrol> status : Nov 5 00:05:37 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 2 code 4 qlfr 1 len 7 Nov 5 00:05:38 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:0000244d8 Nov 5 00:05:38 mal /kernel: sbp0:0:0 Request aborted Nov 5 00:05:38 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 5 00:05:38 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 2 code 4 qlfr 1 len 7 Nov 5 00:05:38 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:00002460c Nov 5 00:05:38 mal /kernel: sbp0:0:0 Request aborted Nov 5 00:05:38 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 5 00:05:38 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 2 code 4 qlfr 1 len 7 Nov 5 00:05:39 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat: c orb:000024740 Nov 5 00:05:39 mal /kernel: sbp0:0:0 Request aborted At some point, the system crashed: panicstr: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x14 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0274ef6 stack pointer = 0x10:0xd3c4bd40 frame pointer = 0x10:0xd3c4bd70 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 202 (xconsole) interrupt mask = tty sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:c orb:0000243a4 sbp0:0:0 Request aborted sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 00 00 18 00, flags: 0x40, 6b cmd/32b data/32b sense sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20 qlfr 0 len 7 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x14 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0274ef6 stack pointer = 0x10:0xd3c4bd40 frame pointer = 0x10:0xd3c4bd70 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 interrupt mask = tty panic: from debugger Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer = 0x8:0xc0268df1 stack pointer = 0x10:0xd3c4bb54 frame pointer = 0x10:0xd3c4bb5c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 202 (xconsole) interrupt mask = tty panic: from debugger Uptime: 18m40s dumping to dev #ad/0x30001, offset 659712 I have the dump (didn't write this out by heart :) - please let me know if I can give more information. Thank you very much, David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message